/*
Theme Name: ShopCo
Theme URI: https://shop.co
Author: Nel404 Labs
Author URI: https://nel404labs.co.za
Description: Pixel-faithful reproduction of the SHOP.CO ecommerce homepage design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shopco
Tags: ecommerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-black:       #000000;
  --color-white:       #FFFFFF;
  --color-star-gold:   #FFC633;
  --color-bg-light:    #F0EEED;
  --color-bg-section:  #F0F0F0;
  --color-discount-red:#FF3333;
  --color-muted:       rgba(0, 0, 0, 0.6);
  --color-hero-bg:     #F2F0F1;
  --color-search-bg:   #F0F0F0;
  --color-border:      rgba(0, 0, 0, 0.1);
  --color-card-border: rgba(0, 0, 0, 0.1);

  --font-body:         'Satoshi', sans-serif;
  --font-heading:      'Archivo', sans-serif;

  --container-max:     1240px;
  --container-pad:     clamp(16px, 4vw, 64px);

  --radius-sm:         8px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-xl:         40px;
  --radius-pill:       999px;

  --transition:        0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input {
  font-family: inherit;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-black);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-header .section-title {
  text-align: left;
}

.btn-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-outlined:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 54px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--transition);
  border: none;
}

.btn-black:hover {
  opacity: 0.85;
}

/* ============================================================
   STAR RATINGS
   ============================================================ */
.stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.stars .star {
  color: var(--color-star-gold);
  font-size: 16px;
}

.stars .star-empty {
  color: #e0e0e0;
  font-size: 16px;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-group .rating-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
}

/* ============================================================
   DECORATIVE 4-POINT STARS
   ============================================================ */
.deco-star {
  display: inline-block;
  line-height: 0;
}

/* ============================================================
   1. PROMO BAR
   ============================================================ */
.promo-bar {
  background: var(--color-black);
  color: var(--color-white);
  min-height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8px 48px;
}

.promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.promo-bar__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  flex: 1;
}

.promo-bar__text a {
  font-weight: 700;
  text-decoration: underline;
  color: var(--color-white);
  margin-left: 6px;
}

.promo-bar__text a:hover {
  text-decoration: none;
}

.promo-bar__close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.promo-bar__close:hover {
  opacity: 1;
}

/* ============================================================
   2. HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding-block: 16px;
}

/* Logo */
.site-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Main nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.site-nav a,
.site-nav button {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav button:hover {
  opacity: 0.6;
}

.site-nav .caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Search bar */
.header-search {
  flex: 1;
  min-width: 0;
  max-width: 600px;
  position: relative;
}

.header-search__input {
  width: 100%;
  height: 48px;
  background: var(--color-search-bg);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 20px 0 52px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  outline: none;
  transition: box-shadow var(--transition);
}

.header-search__input::placeholder {
  color: var(--color-muted);
}

.header-search__input:focus {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

.header-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
  display: flex;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-black);
  transition: background var(--transition);
  position: relative;
}

.header-action-btn:hover {
  background: var(--color-bg-section);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   3. HERO
   ============================================================ */
.hero {
  background: var(--color-hero-bg);
  overflow: hidden;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 663px;
  gap: 0;
  padding-top: 52px;
  padding-bottom: 0;
  position: relative;
}

/* Hero left */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
  padding-right: 40px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 64px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-black);
  margin-bottom: 24px;
}

.hero__description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-muted);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero__cta {
  margin-bottom: 48px;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.hero__stat {
  padding-right: 32px;
  padding-left: 32px;
  border-left: 1px solid rgba(0,0,0,0.15);
  flex: 1;
  min-width: 120px;
}

.hero__stat:first-child {
  border-left: none;
  padding-left: 0;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1;
  color: var(--color-black);
  display: block;
  margin-bottom: 8px;
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.4;
  display: block;
}

/* Hero right: image */
.hero__image-wrap {
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 550px;
}

.hero__image {
  width: 100%;
  max-width: 520px;
  height: 663px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Decorative 4-point stars on hero */
.hero__deco-star--large {
  position: absolute;
  top: 48px;
  right: -20px;
  z-index: 3;
}

.hero__deco-star--small {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* ============================================================
   4. BRAND STRIP
   ============================================================ */
.brand-strip {
  background: var(--color-black);
  padding: 36px 0;
  overflow: hidden;
}

.brand-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-strip__item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 32px);
  color: var(--color-white);
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 1;
  transition: opacity var(--transition);
}

.brand-strip__item:hover {
  opacity: 1;
}

.brand-strip__divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ============================================================
   5 & 6. PRODUCT SECTIONS (NEW ARRIVALS + TOP SELLING)
   ============================================================ */
.products-section {
  padding: 72px 0 64px;
}

.products-section .section-title {
  margin-bottom: 48px;
}

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

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__img-wrap {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 295 / 298;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 12px 12px 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.35s ease;
  display: block;
}

.product-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-black);
  margin-bottom: 6px;
  line-height: 1.3;
}

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

.product-card__rating .stars .star,
.product-card__rating .stars .star-empty {
  font-size: 14px;
}

.product-card__rating-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
}

.product-card__pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.product-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-black);
}

.product-card__old-price {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-card__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: rgba(255, 51, 51, 0.1);
  color: var(--color-discount-red);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}

/* View all button */
.products-section__viewall {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* Section divider */
.section-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 0;
}

/* ============================================================
   7. BROWSE BY DRESS STYLE
   ============================================================ */
.dress-style {
  padding: 72px 0;
}

.dress-style__inner {
  background: var(--color-bg-light);
  border-radius: 40px;
  padding: 64px 56px;
}

.dress-style .section-title {
  margin-bottom: 40px;
}

.dress-style__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dress-style__row {
  display: flex;
  gap: 16px;
  height: 289px;
}

/* Tile */
.style-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--color-bg-light);
  display: block;
}

.style-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.style-tile:hover .style-tile__img {
  transform: scale(1.04);
}

.style-tile__label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--color-black);
  letter-spacing: -0.02em;
  line-height: 1;
  z-index: 2;
}

/* Row 1: Casual narrow (~35%), Formal wide (~63%) */
.style-tile--casual {
  flex: 0 0 36%;
  background: var(--color-white);
}

.style-tile--formal {
  flex: 1;
  background: var(--color-white);
}

/* Row 2: Party wide (~63%), Gym narrow (~35%) */
.style-tile--party {
  flex: 1;
  background: var(--color-white);
}

.style-tile--gym {
  flex: 0 0 36%;
  background: var(--color-white);
}

/* ============================================================
   8. TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 72px 0;
}

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

.testimonials__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-black);
}

.testimonials__arrows {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.testimonials__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-black);
  transition: background var(--transition), color var(--transition);
}

.testimonials__arrow:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

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

.testimonial-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__stars {
  margin-bottom: 4px;
}

.testimonial-card__stars .star {
  font-size: 18px;
  color: var(--color-star-gold);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-black);
}

.testimonial-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #01AB31;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-card__check svg {
  display: block;
}

.testimonial-card__quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-muted);
  flex: 1;
}

/* ============================================================
   9. NEWSLETTER CTA
   ============================================================ */
.newsletter {
  padding: 64px 0;
}

.newsletter__inner {
  background: var(--color-black);
  border-radius: 40px;
  padding: 52px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 480px;
  flex: 1;
}

/* Newsletter overlaps footer top slightly */
.newsletter {
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
  padding-bottom: 0;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 320px;
  flex-shrink: 0;
}

.newsletter__input-wrap {
  position: relative;
}

.newsletter__input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.newsletter__input {
  width: 100%;
  height: 52px;
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0 20px 0 48px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-black);
  outline: none;
  transition: box-shadow var(--transition);
}

.newsletter__input::placeholder {
  color: var(--color-muted);
  font-size: 15px;
}

.newsletter__input:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter__btn {
  width: 100%;
  height: 52px;
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition);
}

.newsletter__btn:hover {
  opacity: 0.9;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-section);
  padding-top: 96px;
  padding-bottom: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  align-items: start;
}

/* Footer brand col */
.footer-brand__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--color-black);
  display: block;
  margin-bottom: 16px;
}

.footer-brand__blurb {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 230px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  cursor: pointer;
  background: var(--color-white);
  transition: background var(--transition), color var(--transition);
}

.footer-social-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Footer columns */
.footer-col__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-black);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-black);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: 14px;
  color: var(--color-muted);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-icon {
  height: 28px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--color-white);
  padding: 3px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid .testimonial-card:last-child {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
  }

  .footer-brand__blurb {
    max-width: 400px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 40px;
  }

  .newsletter__form {
    width: 100%;
    min-width: unset;
  }
}

/* ============================================================
   HAMBURGER (mobile only — hidden on desktop)
   ============================================================ */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
  }

  /* Show hamburger, hide nav */
  .nav-hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  .site-header .container {
    gap: 12px;
    min-height: 72px;
  }

  .header-search {
    flex: 1;
  }

  /* Hero stacks */
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 40px;
    min-height: unset;
  }

  .hero__content {
    padding-right: 0;
    order: 1;
  }

  .hero__image-wrap {
    order: 2;
    min-height: 300px;
    align-self: auto;
  }

  .hero__image {
    height: 340px;
    max-width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero__stat {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding: 16px 0 0;
    padding-left: 0;
  }

  .hero__stat:first-child {
    border-top: none;
    padding-top: 0;
  }

  /* Brand strip scroll */
  .brand-strip .container {
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .brand-strip__divider {
    display: none;
  }

  /* Products 1 col on mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Style tiles stack */
  .dress-style__inner {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .dress-style__row {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .style-tile--casual,
  .style-tile--formal,
  .style-tile--party,
  .style-tile--gym {
    flex: unset;
    height: 180px;
    width: 100%;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid .testimonial-card:last-child {
    display: flex;
  }

  /* Newsletter */
  .newsletter__inner {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .newsletter__title {
    font-size: clamp(24px, 5vw, 32px);
  }

  .newsletter__form {
    min-width: unset;
    width: 100%;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  /* Keep 2-col grid on mobile per reference */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  /* Brand strip: scrollable on small screens */
  .brand-strip .container {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0;
  }
  .brand-strip .container::-webkit-scrollbar { display: none; }
  .brand-strip__divider { display: none; }
  .brand-strip__item { font-size: 20px; }
}

/* === Breadcrumb === */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color var(--transition);
}
.page-breadcrumb a:hover { color: var(--color-black); }
.page-breadcrumb span[aria-current] { color: var(--color-black); font-weight: 500; }

/* === Product Detail Page === */
.product-detail-layout {
  display: grid;
  grid-template-columns: 444px 1fr;
  gap: 50px;
  margin-bottom: 56px;
}
.product-images {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 16px;
}
.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-thumbnail {
  width: 152px;
  height: 167px;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--color-bg-light);
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.product-thumbnail.active {
  border-color: var(--color-black);
}
.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-main-img-wrap {
  background: var(--color-bg-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-main-img {
  width: 100%;
  max-height: 530px;
  object-fit: contain;
  display: block;
}
.product-info {
  padding-top: 16px;
}
.product-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.product-rating-label {
  font-size: 14px;
  color: #666;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.price-current {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-black);
}
.price-old {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  color: #999;
  text-decoration: line-through;
}
.price-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(255,51,51,0.1);
  color: var(--color-discount-red);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
}
.product-description {
  font-family: var(--font-body);
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-divider {
  border: none;
  border-top: 1px solid #F0F0F0;
  margin: 20px 0;
}
.product-option-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin-bottom: 12px;
}
.color-swatches {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition), outline var(--transition);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.color-swatch.active {
  border-color: var(--color-black);
  outline: 2px solid var(--color-black);
}
.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.size-pill {
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: var(--color-bg-section);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #666;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.size-pill.active,
.size-pill:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.qty-cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.qty-stepper {
  background: var(--color-bg-section);
  border-radius: 62px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 20px;
  height: 52px;
}
.qty-stepper button {
  background: none;
  border: none;
  font-size: 20px;
  font-family: inherit;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  color: var(--color-black);
}
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 62px;
  padding: 14px 54px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--transition);
  text-decoration: none;
  border: none;
}
.btn-add-cart:hover { opacity: 0.85; }

/* Product tabs */
.product-tabs {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 32px;
}
.product-tab {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: #666;
  padding-bottom: 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), font-weight var(--transition);
}
.product-tab.active {
  color: var(--color-black);
  font-weight: 500;
  border-bottom-color: var(--color-black);
}

/* Reviews */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review-card {
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card__stars { margin-bottom: 2px; }
.reviewer-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
}
.reviewer-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #01AB31;
  flex-shrink: 0;
}
.review-quote {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #666;
  flex: 1;
}
.review-date {
  font-size: 13px;
  color: #999;
}

/* You might also like */
.you-might-like .section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* === Category Page === */
.category-layout {
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 20px;
  align-items: start;
}
.filter-sidebar {
  border: 1px solid #F0F0F0;
  border-radius: 20px;
  padding: 24px;
  position: sticky;
  top: 110px;
}
.filter-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-black);
}
.filter-section {
  border-top: 1px solid #F0F0F0;
  padding-top: 20px;
  margin-bottom: 20px;
}
.filter-section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-black);
}
.filter-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-color-swatch {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), outline var(--transition);
  outline: 2px solid transparent;
  outline-offset: 2px;
  flex-shrink: 0;
}
.filter-color-swatch.active {
  border-color: var(--color-black);
  outline-color: var(--color-black);
}
.filter-apply {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  margin-top: 8px;
  transition: opacity var(--transition);
}
.filter-apply:hover { opacity: 0.85; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Pagination */
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.page-num {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #666;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-num.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.page-num:hover:not(.active) {
  background: var(--color-bg-section);
  border-color: #ddd;
}
.pagination-btn {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.pagination-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* === Cart Page === */
.cart-page-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}
.cart-items-list {
  border: 1px solid #F0F0F0;
  border-radius: 20px;
  overflow: hidden;
}
.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #F0F0F0;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-light);
}
.cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cart-item__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.cart-item__meta {
  font-size: 14px;
  color: #666;
}
.cart-item__meta span { color: var(--color-black); }
.cart-item__trash {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-discount-red);
  flex-shrink: 0;
  padding: 4px;
  line-height: 0;
}
.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-item__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
}
.order-summary {
  border: 1px solid #F0F0F0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}
.order-summary__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 4px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 16px;
  color: #666;
}
.promo-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.promo-input {
  flex: 1;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  padding: 0 20px 0 42px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.promo-input:focus { border-color: var(--color-black); }
.promo-apply-btn {
  padding: 12px 24px;
  background: var(--color-bg-section);
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.promo-apply-btn:hover { background: #e0e0e0; }
.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition);
}
.checkout-btn:hover { opacity: 0.85; }

/* === Responsive — New Pages === */
@media (max-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-images {
    grid-template-columns: 120px 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .product-images { grid-template-columns: 80px 1fr; gap: 10px; }
  .product-thumbnail { width: 80px; height: 90px; }
  .category-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .you-might-like .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-tabs { gap: 20px; overflow-x: auto; }
  .product-tab { font-size: 15px; white-space: nowrap; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-images { grid-template-columns: 64px 1fr; }
  .product-thumbnail { width: 64px; height: 72px; }
}
