/* ============================================
   Homepage - Body & Shape Store
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-bg-warm: #f8f7f4;
  --color-bg-dark: #1a1a1a;
  --color-text: #1a1a1a;
  --color-text-light: #6b6b6b;
  --color-text-muted: #999999;
  --color-border: #e8e8e8;
  --color-border-light: #f2f2f2;
  --color-accent: #2d3b2d;
  --color-accent-hover: #1f2b1f;
  --color-accent-light: #e8ede8;
  --color-star: #d4a017;
  --color-sale: #c0392b;
  --color-success: #2d7a3a;
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.2s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TOP BAR === */
.topbar {
  background: var(--color-bg-dark);
  color: #fff;
  text-align: center;
  padding: 10px 40px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.topbar__arrow {
  color: #fff;
  font-size: 16px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.topbar__arrow:hover { opacity: 1; }

/* === HEADER === */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 100;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.header__nav-link:hover { color: var(--color-accent); }

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header__logo-text small {
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 1px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__action {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text);
}

.header__action svg {
  width: 20px;
  height: 20px;
}

.header__cart-count {
  font-size: 12px;
  font-weight: 500;
}

/* === HERO === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 60px;
}

.hero__content {
  flex: 1;
  max-width: 560px;
}

.hero__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: 14px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.hero__btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.hero__btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.hero__btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.hero__btn--secondary:hover {
  border-color: var(--color-text);
}

.hero__image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
}

.hero__product-img {
  width: 100%;
  max-width: 380px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === USP BAR === */
.usp-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.usp-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-text);
  border-right: 1px solid var(--color-border-light);
}

.usp-bar__item:last-child { border-right: none; }

.usp-bar__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* === CATEGORIES === */
.categories {
  padding: 72px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.categories__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.categories__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
}

.categories__view-all {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-accent);
  transition: opacity var(--transition);
}

.categories__view-all:hover { opacity: 0.7; }

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-warm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.category-card__image img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__image img {
  transform: scale(1.08);
}

.category-card__info {
  padding: 0 20px 20px;
  text-align: center;
}

.category-card__name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card__count {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* === BESTSELLERS === */
.bestsellers {
  padding: 72px 40px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--color-bg-warm);
  border-radius: 0;
}

.bestsellers__header {
  text-align: center;
  margin-bottom: 40px;
}

.bestsellers__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
}

.bestsellers__subtitle {
  font-size: 14.5px;
  color: var(--color-text-light);
}

.bestsellers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Product Card (shared with category) */
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-card__image {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
}

.product-card__badge--bestseller {
  background: var(--color-accent);
  color: #fff;
}

.product-card__info {
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card__brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.product-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 4px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__stars {
  color: var(--color-star);
  font-size: 12px;
  letter-spacing: 1px;
}

.product-card__reviews {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.product-card__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.product-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.product-card__staffel {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.product-card__add-btn {
  display: block;
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  background: transparent;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.product-card__add-btn:hover {
  background: var(--color-accent);
  color: #fff;
}

/* === PROMO BANNER === */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 80px;
  background: var(--color-accent);
  color: #fff;
  gap: 60px;
}

.promo-banner__content {
  flex: 1;
  max-width: 500px;
}

.promo-banner__tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.promo-banner__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 14px;
  line-height: 1.15;
}

.promo-banner__text {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 28px;
}

.promo-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-accent);
  background: #fff;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.promo-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.promo-banner__visual {
  flex-shrink: 0;
}

.promo-banner__steps {
  display: flex;
  gap: 20px;
}

.promo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}

.promo-step--highlight {
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.promo-step__qty {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.promo-step__discount {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 4px;
}

/* === BRANDS === */
.brands {
  padding: 64px 40px;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.brands__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 36px;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.brand-logo:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.brand-logo__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

/* === REVIEWS SECTION === */
.reviews-section {
  padding: 72px 40px;
  max-width: 1440px;
  margin: 0 auto;
  background: var(--color-bg-warm);
}

.reviews-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-section__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 12px;
}

.reviews-section__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reviews-section__stars {
  color: var(--color-star);
  font-size: 16px;
  letter-spacing: 2px;
}

.reviews-section__score {
  font-size: 14px;
  font-weight: 600;
}

.reviews-section__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.reviews-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border-light);
}

.review-card__stars {
  color: var(--color-star);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__name {
  font-size: 13px;
  font-weight: 600;
}

.review-card__badge {
  font-size: 11px;
  color: var(--color-success);
  font-weight: 500;
}

/* === NEWSLETTER === */
.newsletter {
  padding: 72px 40px;
  text-align: center;
}

.newsletter__content {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 10px;
}

.newsletter__text {
  font-size: 14.5px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 28px;
}

.newsletter__form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  max-width: 440px;
  margin: 0 auto 14px;
}

.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  border: none;
  outline: none;
  background: var(--color-bg);
}

.newsletter__btn {
  padding: 14px 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter__btn:hover {
  background: var(--color-accent-hover);
}

.newsletter__note {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

/* === FOOTER === */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 56px 40px 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer__logo small {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 2px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 240px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #fff;
}

.footer__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__link:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer__payment {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__payment-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.footer__payment-icon {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero { padding: 60px 40px; gap: 40px; }
  .hero__title { font-size: 48px; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .bestsellers__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-section__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 12px 20px; }
  .header__nav { display: none; }
  
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
    gap: 32px;
  }
  
  .hero__content { max-width: 100%; }
  .hero__title { font-size: 40px; }
  .hero__subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__image { max-width: 280px; }
  
  .usp-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .usp-bar__item {
    padding: 14px 12px;
    font-size: 11.5px;
  }
  
  .usp-bar__item:nth-child(2) { border-right: none; }
  
  .categories { padding: 48px 20px; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  
  .bestsellers { padding: 48px 20px; }
  .bestsellers__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bestsellers__title { font-size: 26px; }
  
  .promo-banner {
    flex-direction: column;
    padding: 48px 24px;
    text-align: center;
    gap: 32px;
  }
  
  .promo-banner__title { font-size: 28px; }
  
  .brands { padding: 48px 20px; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  
  .reviews-section { padding: 48px 20px; }
  .reviews-section__grid { grid-template-columns: 1fr; }
  .reviews-section__title { font-size: 26px; }
  
  .newsletter { padding: 48px 20px; }
  .newsletter__title { font-size: 26px; }
  .newsletter__form { flex-direction: column; border: none; }
  .newsletter__input {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
  }
  .newsletter__btn { border-radius: var(--radius-md); padding: 14px; }
  
  .footer { padding: 40px 20px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 34px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__btn { width: 100%; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .bestsellers__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Logo image styling */
.header__logo-img {
  height: 40px;
  width: auto;
}
.footer__logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}
