/* =============================================================================
   ACHEEL — Men's Fashion E-Commerce
   Responsive Stylesheet
   Breakpoints:
     XL Desktop : >= 1400px
     L Desktop  : >= 1200px
     Desktop    : >= 992px
     Tablet     : >= 768px
     Mobile L   : >= 576px
     Mobile     :  < 576px
   ============================================================================= */

/* =============================================================================
   BASE / RESET HELPERS
   ============================================================================= */

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

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

/* =============================================================================
   CONTAINER
   ============================================================================= */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 12px;
  padding-left: 12px;
}

/* XL Desktop >= 1400px */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Large Desktop >= 1200px */
@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop >= 992px */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

/* Tablet >= 768px */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
}

/* Mobile L >= 576px */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
}

/* Mobile < 576px */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* =============================================================================
   TYPOGRAPHY — RESPONSIVE SCALES
   ============================================================================= */

/* Desktop baseline (already defined in main stylesheet; here for reference) */
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
}

/* Mobile L */
@media (min-width: 576px) and (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

/* Mobile */
@media (max-width: 575px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

/* =============================================================================
   SECTION PADDING
   ============================================================================= */

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* =============================================================================
   TOP BAR — PROMOTIONAL MARQUEE
   ============================================================================= */

.top-bar {
  overflow: hidden;
  white-space: nowrap;
}

.top-bar__marquee {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }

  .top-bar__marquee {
    animation-duration: 20s;
  }
}

@media (max-width: 575px) {
  .top-bar {
    font-size: 10px;
    padding: 5px 0;
  }
}

/* =============================================================================
   HEADER
   ============================================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: height 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Sticky shrink state — applied via JS after 100px scroll */
.header.sticky {
  height: 60px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.header.sticky .header__nav-bar {
  display: none;
}

.header.sticky .header__logo img {
  height: 36px;
}

/* Desktop hamburger hidden */
.header__hamburger {
  display: none;
}

/* Tablet: hide main nav, show hamburger */
@media (max-width: 991px) {
  .header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
  }

  .header__nav-bar {
    display: none;
  }

  .header__actions {
    gap: 8px;
  }

  .header__logo img {
    height: 38px;
  }
}

@media (max-width: 767px) {
  .header__logo img {
    height: 32px;
  }

  .header__actions .header__action-text {
    display: none;
  }

  .header__actions .header__action-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 575px) {
  .header__inner {
    padding: 0 8px;
  }

  .header__logo img {
    height: 28px;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 0;
}

.mobile-nav.is-open {
  left: 0;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px;
}

/* =============================================================================
   SEARCH OVERLAY
   ============================================================================= */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.search-overlay__input {
  width: 100%;
  max-width: 640px;
  font-size: 24px;
  border: none;
  border-bottom: 2px solid #000;
  padding: 12px 0;
  background: transparent;
  outline: none;
}

@media (max-width: 575px) {
  .search-overlay__input {
    font-size: 18px;
    max-width: calc(100% - 48px);
  }
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

.hero__title {
  font-size: 48px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 18px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 16px;
  }
}

/* Mobile L */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    height: 65vh;
    min-height: 380px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .hero {
    height: 60vh;
    min-height: 320px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__cta {
    font-size: 13px;
    padding: 10px 20px;
  }

  h1.hero__title {
    font-size: 28px;
  }
}

/* =============================================================================
   TRUST BAR
   ============================================================================= */

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .trust-bar__item {
    text-align: center;
  }

  .trust-bar__icon {
    margin: 0 auto 8px;
  }
}

@media (max-width: 575px) {
  .trust-bar__grid {
    gap: 12px;
  }

  .trust-bar__label {
    font-size: 12px;
  }
}

/* =============================================================================
   CATEGORY GRID
   ============================================================================= */

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

.category-grid__item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-grid__item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 575px) {
  .category-grid {
    gap: 8px;
  }
}

/* =============================================================================
   PRODUCT GRID
   ============================================================================= */

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

/* Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile L */
@media (min-width: 576px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card__name {
    font-size: 13px;
  }

  .product-card__price {
    font-size: 13px;
  }
}

/* =============================================================================
   PRODUCT CARD
   ============================================================================= */

.product-card__image-wrap {
  overflow: hidden;
  position: relative;
}

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

@media (max-width: 575px) {
  .product-card__actions {
    opacity: 1;
    visibility: visible;
  }
}

/* =============================================================================
   EDITORIAL SECTION (2-col 60/40)
   ============================================================================= */

.editorial {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 40px;
  align-items: center;
}

.editorial--reversed {
  grid-template-columns: 40fr 60fr;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .editorial,
  .editorial--reversed {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .editorial,
  .editorial--reversed {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .editorial--reversed .editorial__text {
    order: -1;
  }
}

/* =============================================================================
   BLOG SECTION (65/35 with sidebar)
   ============================================================================= */

.blog-layout {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 40px;
  align-items: start;
}

.blog-layout__sidebar {
  position: sticky;
  top: 80px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-layout__sidebar {
    display: none;
  }

  .blog-layout__main {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-layout__sidebar {
    display: none;
  }
}

/* =============================================================================
   SIDEBAR (general)
   ============================================================================= */

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .sidebar {
    display: none;
  }

  .sidebar--mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    z-index: 2000;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px 16px;
  }

  .sidebar--mobile-drawer.is-open {
    left: 0;
  }
}

/* =============================================================================
   FOOTER
   ============================================================================= */

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

/* Desktop medium */
@media (min-width: 992px) and (max-width: 1199px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
  }

  .footer__col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

/* =============================================================================
   CATALOG PAGE
   ============================================================================= */

.catalog-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.catalog-layout__sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
}

.catalog-layout__main {
  flex: 1;
  min-width: 0;
}

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

.catalog-filters-toggle {
  display: none;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .catalog-layout {
    flex-direction: column;
    gap: 0;
  }

  .catalog-layout__sidebar {
    display: none;
  }

  .catalog-filters-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile L */
@media (min-width: 576px) and (max-width: 767px) {
  .catalog-layout {
    flex-direction: column;
  }

  .catalog-layout__sidebar {
    display: none;
  }

  .catalog-filters-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    cursor: pointer;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .catalog-layout {
    flex-direction: column;
  }

  .catalog-layout__sidebar {
    display: none;
  }

  .catalog-filters-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 14px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .catalog-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Filter drawer (mobile/tablet) */
.filter-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  z-index: 2000;
  overflow-y: auto;
  padding: 24px 16px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-drawer.is-open {
  left: 0;
}

.filter-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.filter-drawer__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* =============================================================================
   PRODUCT DETAIL PAGE
   ============================================================================= */

.product-detail {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 48px;
  align-items: start;
}

.product-gallery__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-gallery__main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile L */
@media (min-width: 576px) and (max-width: 767px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-gallery__thumbnails {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-gallery__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 80px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-gallery__thumbnails {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 6px;
  }

  .product-gallery__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 70px;
  }

  .product-gallery__main {
    aspect-ratio: 4 / 5;
  }

  .product-info__title {
    font-size: 22px;
  }

  .product-info__price {
    font-size: 20px;
  }

  .product-info__actions {
    flex-direction: column;
    gap: 10px;
  }

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 575px) {
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* =============================================================================
   CART PAGE
   ============================================================================= */

.cart-layout {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 40px;
  align-items: start;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-summary {
    order: -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-summary {
    order: -1;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .cart-item__image {
    width: 80px;
    height: 100px;
  }
}

@media (max-width: 575px) {
  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 10px;
  }

  .cart-item__image {
    width: 70px;
    height: 88px;
  }

  .cart-item__name {
    font-size: 13px;
  }
}

/* =============================================================================
   CHECKOUT PAGE
   ============================================================================= */

.checkout-layout {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: start;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-summary {
    order: -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-summary {
    order: -1;
  }

  .checkout-form__row {
    flex-direction: column;
    gap: 16px;
  }

  .checkout-form__row .form-group {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .checkout-steps {
    gap: 4px;
  }

  .checkout-steps__label {
    font-size: 11px;
  }
}

/* =============================================================================
   BLOG ARTICLE PAGE (65/35)
   ============================================================================= */

.article-layout {
  display: grid;
  grid-template-columns: 65fr 35fr;
  gap: 48px;
  align-items: start;
}

.article-layout__sidebar {
  position: sticky;
  top: 90px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-layout__sidebar {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-layout__sidebar {
    display: none;
  }

  .article__title {
    font-size: 24px;
  }

  .article__body {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .article__title {
    font-size: 22px;
  }

  .article__body {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* =============================================================================
   NEWSLETTER FORM
   ============================================================================= */

.newsletter__form {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid currentColor;
  background: transparent;
  outline: none;
  font-size: 14px;
}

.newsletter__submit {
  flex-shrink: 0;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 14px;
}

/* Mobile: stack vertically */
@media (max-width: 575px) {
  .newsletter__form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter__input {
    width: 100%;
  }

  .newsletter__submit {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .newsletter__form {
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
  }

  .newsletter__submit {
    width: 100%;
  }
}

/* =============================================================================
   PRODUCT SLIDER / CAROUSEL
   ============================================================================= */

.product-slider {
  position: relative;
  overflow: hidden;
}

.product-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-slider__slide {
  flex-shrink: 0;
}

.product-slider__prev,
.product-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.product-slider__prev { left: 8px; }
.product-slider__next { right: 8px; }

.product-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.product-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-slider__dot.is-active {
  background: #000;
  transform: scale(1.3);
}

@media (max-width: 575px) {
  .product-slider__prev,
  .product-slider__next {
    width: 36px;
    height: 36px;
  }
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */

.faq__item {
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
}

.faq__question {
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.faq__item.is-open .faq__answer {
  padding-bottom: 16px;
}

@media (max-width: 575px) {
  .faq__question {
    font-size: 14px;
    padding: 14px 0;
  }
}

/* =============================================================================
   SCROLL REVEAL
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-32px);
}

.reveal--left.revealed {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(32px);
}

.reveal--right.revealed {
  transform: translateX(0);
}

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.revealed > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children.revealed > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children.revealed > *:nth-child(6) { transition-delay: 0.30s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal-children > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================================================
   BACK TO TOP BUTTON
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

@media (max-width: 575px) {
  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* =============================================================================
   COOKIE BANNER
   ============================================================================= */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1;
  font-size: 14px;
}

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

@media (max-width: 767px) {
  .cookie-banner__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* =============================================================================
   MEGA DROPDOWN MENU
   ============================================================================= */

.dropdown-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .dropdown-mega__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hidden on mobile (use drawer instead) */
@media (max-width: 991px) {
  .dropdown-mega {
    display: none;
  }
}

/* =============================================================================
   WISHLIST
   ============================================================================= */

.wishlist-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-btn svg {
  transition: fill 0.25s ease, transform 0.25s ease;
}

.wishlist-btn.is-active svg {
  fill: #e53e3e;
  stroke: #e53e3e;
}

@keyframes wishlistBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.wishlist-btn.bouncing svg {
  animation: wishlistBounce 0.4s ease forwards;
}

/* =============================================================================
   CART COUNTER BADGE
   ============================================================================= */

.cart-counter {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 3px;
}

@keyframes cartBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.85); }
  100% { transform: scale(1); }
}

.cart-counter.bouncing {
  animation: cartBounce 0.4s ease forwards;
}

/* =============================================================================
   PRODUCT TABS
   ============================================================================= */

.product-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-tabs__nav-item {
  flex-shrink: 0;
  padding: 12px 20px;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.product-tabs__nav-item.is-active {
  border-bottom-color: #000;
}

.product-tabs__panel {
  display: none;
  padding: 24px 0;
}

.product-tabs__panel.is-active {
  display: block;
}

@media (max-width: 575px) {
  .product-tabs__nav-item {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* =============================================================================
   CHECKOUT STEPS
   ============================================================================= */

.checkout-steps {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.checkout-steps__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-steps__number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #ccc;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.checkout-steps__item.is-active .checkout-steps__number {
  border-color: #000;
  background: #000;
  color: #fff;
}

.checkout-steps__item.is-done .checkout-steps__number {
  border-color: #000;
  background: #000;
  color: #fff;
}

.checkout-steps__separator {
  flex: 1;
  height: 1px;
  background: #ccc;
}

.checkout-step-panel {
  display: none;
}

.checkout-step-panel.is-active {
  display: block;
}

/* =============================================================================
   FORM ELEMENTS — RESPONSIVE HELPERS
   ============================================================================= */

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: #000;
}

.form-control.is-error {
  border-color: #e53e3e;
}

.form-error-msg {
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
  display: none;
}

.form-error-msg.is-visible {
  display: block;
}

@media (max-width: 575px) {
  .form-control {
    font-size: 16px; /* prevent iOS zoom */
    padding: 10px 12px;
  }
}

/* =============================================================================
   COLOR / SIZE SELECTORS
   ============================================================================= */

.color-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-selector__option {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.color-selector__option.is-active,
.color-selector__option:focus {
  border-color: #000;
  transform: scale(1.15);
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-selector__option {
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  cursor: pointer;
  background: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.size-selector__option.is-active {
  border-color: #000;
  background: #000;
  color: #fff;
}

.size-selector__option.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* =============================================================================
   QUANTITY SELECTOR
   ============================================================================= */

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  width: fit-content;
}

.qty-selector__btn {
  width: 40px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.qty-selector__btn:hover {
  background: #f5f5f5;
}

.qty-selector__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-selector__input {
  width: 48px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  -moz-appearance: textfield;
}

.qty-selector__input::-webkit-inner-spin-button,
.qty-selector__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* =============================================================================
   UTILITY / VISIBILITY HELPERS
   ============================================================================= */

.hidden-mobile {
  display: block;
}

.visible-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }

  .visible-mobile {
    display: block !important;
  }
}

.hidden-tablet {
  display: block;
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-tablet {
    display: none !important;
  }
}

.hidden-desktop {
  display: none;
}

@media (max-width: 991px) {
  .hidden-desktop {
    display: block !important;
  }
}

/* =============================================================================
   PRINT
   ============================================================================= */

@media print {
  .header,
  .footer,
  .cookie-banner,
  .back-to-top,
  .top-bar,
  .mobile-nav,
  .search-overlay {
    display: none !important;
  }

  .container {
    max-width: 100%;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
