/* ============================================
   NAYLA ABAYA THEME — Premium Saudi Abaya Store
   Shopify 2.0 Custom Theme
   RTL-First | Mobile-First | Arabic-First
   ============================================ */

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

html {
  font-size: var(--font-body-size, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  direction: rtl;
}

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-to-content:focus {
  top: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: calc(2rem * var(--font-heading-scale, 1)); }
h2 { font-size: calc(1.625rem * var(--font-heading-scale, 1)); }
h3 { font-size: calc(1.25rem * var(--font-heading-scale, 1)); }
h4 { font-size: calc(1.125rem * var(--font-heading-scale, 1)); }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: var(--section-spacing, 60px) 0;
}

.section--compact {
  padding: calc(var(--section-spacing) * 0.5) 0;
}

.section--flush {
  padding: 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  margin-bottom: 0.5rem;
}

.section__subtitle {
  color: var(--color-text-light);
  font-size: 1rem;
  font-weight: 400;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  transition: gap 0.2s ease;
}

.section__link:hover {
  gap: 0.625rem;
}

.section__link svg {
  width: 18px;
  height: 18px;
  transform: scaleX(-1); /* RTL flip arrow */
}

/* Grids */
.grid {
  display: grid;
  gap: 1rem;
}

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

@media (max-width: 767px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid {
    gap: 1.5rem;
  }
}

/* Scroll row for mobile */
.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.scroll-row > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.25rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 48px;
  text-align: center;
  width: auto;
}

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

.btn--primary:hover {
  background-color: #1a1a1a;
}

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

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

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

.btn--accent:hover {
  background-color: #b8943e;
}

.btn--full {
  width: 100%;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  min-height: 36px;
}

.btn--whatsapp {
  background-color: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  background-color: #1da851;
}

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.announcement-bar a {
  color: var(--color-accent);
  text-decoration: underline;
}

.announcement-bar__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

/* === HEADER === */
.header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header__inner {
    padding: 1rem 2rem;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__logo img,
.header__logo svg {
  height: 36px;
  width: auto;
}

@media (min-width: 768px) {
  .header__logo img,
  .header__logo svg {
    height: 44px;
  }
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

/* Desktop Nav */
.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

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

/* Header Icons */
.header__icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.header__icon:hover {
  color: var(--color-secondary);
}

.header__icon svg {
  width: 22px;
  height: 22px;
}

.header__cart-count {
  position: absolute;
  top: 2px;
  left: 2px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 8px 0;
}

@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}

.header__hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.25s ease;
  z-index: 99;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 280px;
  gap: 2rem;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.mega-menu__column-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.mega-menu__link {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: color 0.2s, padding-right 0.2s;
}

.mega-menu__link:hover {
  color: var(--color-accent);
  padding-right: 0.25rem;
}

.mega-menu__image {
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.mega-menu__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-surface);
  z-index: 200;
  overflow-y: auto;
  transition: right 0.35s ease;
  padding: 1.5rem;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.mobile-menu__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu__accordion-content.open {
  max-height: 500px;
}

.mobile-menu__sub-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

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

/* Search Bar */
.search-overlay {
  position: fixed;
  top: 0;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay--open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  background: var(--color-surface);
  width: 90%;
  max-width: 640px;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay--open .search-overlay__inner {
  transform: translateY(0);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
}

.search-form:focus-within {
  border-color: var(--color-accent);
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

.search-form button {
  display: flex;
  color: var(--color-text-light);
}

.search-form svg {
  width: 22px;
  height: 22px;
}

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

.hero__slide {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .hero__slide {
    min-height: 70vh;
  }
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.45), rgba(0,0,0,0.1));
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 550px;
  padding: 2rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 3rem;
  }
}

.hero__title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__actions .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

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

.hero__actions .btn--secondary {
  border-color: #fff;
  color: #fff;
}

.hero__actions .btn--secondary:hover {
  background: #fff;
  color: var(--color-primary);
}

/* Hero dots */
.hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  transition: all 0.3s;
}

.hero__dot--active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* === CATEGORY TILES === */
.category-tiles {
  padding: 2.5rem 0;
}

.category-tiles__grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 1rem;
}

.category-tiles__grid::-webkit-scrollbar { display: none; }

.category-tile {
  scroll-snap-align: start;
  flex-shrink: 0;
  text-align: center;
  width: 90px;
}

@media (min-width: 768px) {
  .category-tiles__grid {
    justify-content: center;
    overflow: visible;
    padding: 0;
  }
  .category-tile {
    width: 100px;
  }
}

.category-tile__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  border: 2px solid var(--color-border);
  transition: border-color 0.2s, transform 0.2s;
}

.category-tile:hover .category-tile__image {
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.category-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tile__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

/* === PRODUCT CARD === */
.product-card {
  position: relative;
  background: var(--color-surface);
  border-radius: 0.375rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f5f3ef;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.product-card__image--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card__image--primary {
  opacity: 0;
}

.product-card:hover .product-card__image--secondary {
  opacity: 1;
}

.product-card__badges {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  z-index: 2;
}

.product-card__badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 0.125rem;
  line-height: 1.3;
}

.product-card__badge--new {
  background: var(--color-primary);
  color: #fff;
}

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

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

.product-card__badge--low-stock {
  background: #f5e6d0;
  color: #8B6914;
}

.product-card__wishlist {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.product-card:hover .product-card__wishlist,
.product-card__wishlist--active {
  opacity: 1;
}

@media (max-width: 767px) {
  .product-card__wishlist {
    opacity: 1;
  }
}

.product-card__wishlist svg {
  width: 18px;
  height: 18px;
  color: var(--color-text);
  transition: color 0.2s;
}

.product-card__wishlist--active svg {
  color: var(--color-sale);
  fill: var(--color-sale);
}

.product-card__info {
  padding: 0.875rem;
}

@media (min-width: 768px) {
  .product-card__info {
    padding: 1rem;
  }
}

.product-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title a {
  color: var(--color-text);
}

.product-card__title a:hover {
  color: var(--color-secondary);
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.product-card__price-current {
  font-weight: 600;
  color: var(--color-text);
}

.product-card__price-compare {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 0.8125rem;
}

.product-card__price-sale {
  font-weight: 600;
  color: var(--color-sale);
}

.product-card__colors {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.product-card__color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
}

.product-card__color-more {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
}

/* Quick Add (optional) */
.product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__quick-add {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .product-card__quick-add {
    display: none;
  }
}

/* === CAMPAIGN BANNER === */
.campaign-banner {
  position: relative;
  overflow: hidden;
}

.campaign-banner__image {
  aspect-ratio: 21/9;
  overflow: hidden;
}

@media (max-width: 767px) {
  .campaign-banner__image {
    aspect-ratio: 4/3;
  }
}

.campaign-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.5), transparent 70%);
  display: flex;
  align-items: center;
}

.campaign-banner__content {
  color: #fff;
  padding: 2rem;
  max-width: 480px;
}

@media (min-width: 768px) {
  .campaign-banner__content {
    padding: 3rem;
  }
}

.campaign-banner__title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  color: #fff;
}

.campaign-banner__text {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  color: #fff;
}

/* === WHY CHOOSE US === */
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .value-props__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .value-props__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.value-prop {
  text-align: center;
  padding: 1.5rem 1rem;
}

.value-prop__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}

.value-prop__icon svg {
  width: 100%;
  height: 100%;
}

.value-prop__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.value-prop__text {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* === TESTIMONIALS === */
.testimonials__slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem;
}

.testimonials__slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 300px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-card {
    width: 360px;
  }
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.testimonial-card__author {
  font-size: 0.8125rem;
  font-weight: 600;
}

.testimonial-card__verified {
  font-size: 0.75rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* === TRUST STRIP === */
.trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .trust-strip__inner {
    gap: 1rem;
    justify-content: space-around;
  }
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.trust-strip__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-strip__payment-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-strip__payment-logos img {
  height: 24px;
  width: auto;
  opacity: 0.7;
}

/* === NEWSLETTER === */
.newsletter {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.newsletter__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.newsletter__text {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  color: #fff;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .newsletter__form {
    flex-direction: column;
  }
}

.newsletter__input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0.25rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.9375rem;
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter__submit {
  padding: 0.875rem 2rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter__submit:hover {
  background: #b8943e;
}

/* === FOOTER === */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer__column-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__about-text {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer__link {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  opacity: 0.75;
  transition: opacity 0.2s, padding-right 0.2s;
}

.footer__link:hover {
  opacity: 1;
  padding-right: 0.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer__social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  opacity: 0.6;
}

.footer__payment {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__payment img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

/* === COLLECTION PAGE === */
.collection-header {
  text-align: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.collection-header__title {
  margin-bottom: 0.5rem;
}

.collection-header__count {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.collection-header__description {
  max-width: 640px;
  margin: 0.75rem auto 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.collection-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .collection-layout {
    grid-template-columns: 240px 1fr;
  }
}

/* Filters Sidebar */
.filters-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .filters-sidebar {
    display: block;
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.filter-group__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-group__title svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.filter-group--collapsed .filter-group__title svg {
  transform: rotate(-90deg);
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 3px;
  accent-color: var(--color-accent);
}

.filter-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.2s;
}

.filter-color-swatch:hover,
.filter-color-swatch--active {
  transform: scale(1.15);
  border-color: var(--color-accent);
}

/* Price range slider */
.filter-price-range {
  padding: 0.5rem 0;
}

.filter-price-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-price-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Sort and filter toolbar */
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.collection-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.collection-toolbar__sort select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  background: var(--color-surface);
  font-size: 0.875rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.active-filter {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  font-size: 0.8125rem;
}

.active-filter__remove {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.active-filter__remove svg {
  width: 12px;
  height: 12px;
}

.clear-filters {
  font-size: 0.8125rem;
  color: var(--color-sale);
  cursor: pointer;
}

/* Mobile filter button */
.mobile-filter-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
  position: sticky;
  top: 56px;
  background: var(--color-bg);
  z-index: 10;
}

@media (min-width: 1024px) {
  .mobile-filter-bar {
    display: none;
  }
}

.mobile-filter-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--color-surface);
}

.mobile-filter-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile filter bottom sheet */
.filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  z-index: 250;
  border-radius: 1rem 1rem 0 0;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  padding: 1.5rem;
}

.filter-sheet--open {
  transform: translateY(0);
}

.filter-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.filter-sheet__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.filter-sheet__close {
  padding: 0.5rem;
}

.filter-sheet__apply {
  position: sticky;
  bottom: 0;
  background: var(--color-surface);
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}

/* Collection products grid */
.collection-products {
  display: grid;
  grid-template-columns: repeat(var(--products-per-row-mobile, 2), 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .collection-products {
    gap: 1.25rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .collection-products {
    grid-template-columns: repeat(var(--products-per-row, 4), 1fr);
  }
}

/* Load More */
.load-more {
  text-align: center;
  padding: 2rem 0;
}

/* Collection SEO text */
.collection-seo-text {
  max-width: 800px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* === PRODUCT PAGE === */
.product-main {
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .product-main {
    padding: 2.5rem 0;
  }
}

.product-main__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .product-main__layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Product Gallery */
.product-gallery {
  position: relative;
}

@media (min-width: 1024px) {
  .product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.product-gallery__main {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
  cursor: zoom-in;
  background: #f5f3ef;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar { display: none; }

.product-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 96px;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-gallery__thumb--active {
  border-color: var(--color-accent);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Gallery Swiper */
@media (max-width: 1023px) {
  .product-gallery__main {
    border-radius: 0;
    margin: 0 -1rem 0.75rem;
    width: calc(100% + 2rem);
  }

  .product-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
  }

  .product-gallery__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
  }

  .product-gallery__dot--active {
    background: var(--color-accent);
    width: 18px;
    border-radius: 3px;
  }
}

/* Product Info */
.product-info {
  padding: 0;
}

.product-info__breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.product-info__breadcrumb a:hover {
  color: var(--color-accent);
}

.product-info__breadcrumb span {
  opacity: 0.5;
}

.product-info__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-info__sku {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-info__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--color-accent);
}

.product-info__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.product-info__rating-count {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.product-info__price-wrapper {
  margin-bottom: 0.375rem;
}

.product-info__price {
  font-size: 1.5rem;
  font-weight: 700;
}

.product-info__price--compare {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 1.125rem;
  font-weight: 400;
  margin-right: 0.5rem;
}

.product-info__price--sale {
  color: var(--color-sale);
}

.product-info__tax {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.product-info__installment {
  font-size: 0.8125rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.product-info__installment img {
  height: 18px;
  width: auto;
}

.product-info__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0;
}

/* Variant selectors */
.product-option {
  margin-bottom: 1.25rem;
}

.product-option__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-option__label-link {
  font-weight: 400;
  color: var(--color-secondary);
  font-size: 0.8125rem;
  text-decoration: underline;
}

.product-option__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-option__value {
  min-width: 44px;
  height: 44px;
  padding: 0 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.product-option__value:hover {
  border-color: var(--color-text);
}

.product-option__value--selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.product-option__value--unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Color swatches */
.product-option__color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.product-option__color-swatch:hover {
  transform: scale(1.1);
}

.product-option__color-swatch--selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-primary);
}

/* Quantity */
.product-quantity {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: 0.25rem;
  width: fit-content;
}

.product-quantity__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text);
  transition: background 0.2s;
}

.product-quantity__btn:hover {
  background: var(--color-bg);
}

.product-quantity__input {
  width: 50px;
  text-align: center;
  border: none;
  border-right: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  font-size: 0.9375rem;
  font-weight: 600;
  height: 44px;
}

.product-quantity__input::-webkit-inner-spin-button,
.product-quantity__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Notes field */
.product-notes {
  margin-bottom: 1.25rem;
}

.product-notes__input {
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.2s;
}

.product-notes__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Product actions */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-actions .btn {
  width: 100%;
}

.product-actions__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #25D366;
  font-weight: 500;
}

.product-actions__whatsapp svg {
  width: 20px;
  height: 20px;
}

/* Stock status */
.product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

.product-stock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-stock__dot--in-stock {
  background: var(--color-success);
}

.product-stock__dot--low-stock {
  background: #E8A317;
}

.product-stock__dot--out {
  background: var(--color-sale);
}

/* Trust mini-strip on product page */
.product-trust {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 0.375rem;
  margin-top: 1.5rem;
}

.product-trust__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
}

.product-trust__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Product accordions */
.product-accordion {
  border-top: 1px solid var(--color-border);
}

.product-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
}

.product-accordion__trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.product-accordion__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.product-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.product-accordion__content-inner {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.product-accordion__content-inner ul {
  padding-right: 1rem;
}

.product-accordion__content-inner li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-right: 1rem;
}

.product-accordion__content-inner li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--color-accent);
}

/* Sticky mobile CTA */
.product-sticky-cta {
  position: fixed;
  bottom: 60px; /* above mobile nav */
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-sticky-cta--visible {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .product-sticky-cta {
    display: none;
  }
}

.product-sticky-cta__price {
  font-size: 1.125rem;
  font-weight: 700;
  white-space: nowrap;
}

.product-sticky-cta .btn {
  flex: 1;
  max-width: 200px;
}

/* === CART PAGE === */
.cart-page {
  padding: 2rem 0;
}

.cart-page__title {
  margin-bottom: 2rem;
}

.cart-page__empty {
  text-align: center;
  padding: 4rem 0;
}

.cart-page__empty-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr 380px;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item__image {
  width: 100px;
  aspect-ratio: 3/4;
  border-radius: 0.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cart-item__image {
    width: 120px;
  }
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item__variant {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.cart-item__price {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-item__remove {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-decoration: underline;
}

.cart-item__remove:hover {
  color: var(--color-sale);
}

/* Cart summary */
.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary__title {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  margin-top: 0.5rem;
  border-top: 2px solid var(--color-border);
  font-size: 1.125rem;
  font-weight: 700;
}

.cart-summary__installment {
  font-size: 0.8125rem;
  color: var(--color-secondary);
  text-align: center;
  margin: 0.75rem 0;
}

.cart-summary__coupon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.cart-summary__coupon input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.cart-summary__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.cart-summary__trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.cart-summary__trust-item svg {
  width: 16px;
  height: 16px;
}

.cart-summary__payment-logos {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cart-summary__payment-logos img {
  height: 24px;
  opacity: 0.6;
}

/* Free shipping progress */
.free-shipping-bar {
  margin-bottom: 1.25rem;
  padding: 0.875rem;
  background: var(--color-bg);
  border-radius: 0.375rem;
  text-align: center;
}

.free-shipping-bar__text {
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.free-shipping-bar__progress {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.free-shipping-bar__fill {
  height: 100%;
  background: var(--color-success);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* === CART DRAWER === */
.cart-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 90%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-surface);
  z-index: 250;
  display: flex;
  flex-direction: column;
  transition: left 0.35s ease;
}

.cart-drawer--open {
  left: 0;
}

.cart-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 249;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}

.cart-drawer__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-drawer__footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem;
}

/* === PAGE TEMPLATES === */
.page-header {
  text-align: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.page-header__title {
  margin-bottom: 0.5rem;
}

.page-header__subtitle {
  color: var(--color-text-light);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  list-style: disc;
}

.page-content ol li {
  list-style: decimal;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: right;
  color: var(--color-text);
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item__question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Size guide */
.size-guide__table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.size-guide__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.size-guide__table th {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.size-guide__table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.size-guide__table tr:hover td {
  background: var(--color-bg);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  margin-bottom: 1.25rem;
}

.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info__item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--color-accent);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.breadcrumb__separator {
  opacity: 0.4;
}

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

.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

/* === PAGINATION === */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 2rem 0;
}

.pagination__item {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

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

.pagination__item--active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pagination__item--disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* === MOBILE BOTTOM NAVIGATION === */
.mobile-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  z-index: 90;
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
}

@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  color: var(--color-text-light);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav__item--active {
  color: var(--color-primary);
}

.mobile-bottom-nav__item svg {
  width: 22px;
  height: 22px;
}

.mobile-bottom-nav__badge {
  position: absolute;
  top: 0;
  right: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  left: 1rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 80;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

@media (min-width: 1024px) {
  .whatsapp-float {
    bottom: 2rem;
    left: 2rem;
  }
}

/* === SEARCH RESULTS === */
.search-results {
  padding: 2rem 0;
}

.search-results__title {
  margin-bottom: 0.5rem;
}

.search-results__count {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* === CUSTOMER ACCOUNTS === */
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .account-layout {
    grid-template-columns: 200px 1fr;
  }
}

.account-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border-radius: 0.25rem;
  transition: background 0.2s;
}

.account-nav__link:hover,
.account-nav__link--active {
  background: var(--color-bg);
  font-weight: 600;
}

/* Login/Register */
.auth-page {
  max-width: 460px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.auth-page__title {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-page__field {
  margin-bottom: 1.25rem;
}

.auth-page__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.auth-page__input {
  width: 100%;
  padding: 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: 0.25rem;
  font-size: 0.9375rem;
}

.auth-page__input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.auth-page__link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-secondary);
}

/* === IMAGE WITH TEXT SECTION === */
.image-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .image-text {
    grid-template-columns: 1fr 1fr;
  }

  .image-text--reversed {
    direction: ltr;
  }

  .image-text--reversed > * {
    direction: rtl;
  }
}

.image-text__image {
  aspect-ratio: 4/5;
  border-radius: 0.5rem;
  overflow: hidden;
}

.image-text__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text__content {
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .image-text__content {
    padding: 2rem;
  }
}

/* === RICH TEXT === */
.rich-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.rich-text__title {
  margin-bottom: 1rem;
}

.rich-text__content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* === 404 === */
.page-404 {
  text-align: center;
  padding: 5rem 1rem;
}

.page-404__title {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.page-404__text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

/* === UTILITIES === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }
}

.mobile-only {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--color-bg) 25%, #f0ede8 50%, var(--color-bg) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.25rem;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Ensure body has bottom padding for mobile nav */
@media (max-width: 1023px) {
  body {
    padding-bottom: 60px;
  }
}

/* Smooth transitions for interactive elements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
