/** Shopify CDN: Minification failed

Line 1788:0 Unexpected "}"

**/
/* ============================================================
   ÉLAN — Luxury Fashion Theme | elan.pk inspired
   ============================================================
   TABLE OF CONTENTS
   1.  CSS Variables
   2.  Reset & Base
   3.  Typography
   4.  Layout / Grid
   5.  Announcement Bar
   6.  Header
   7.  Mega Menu
   8.  Mobile Header
   9.  Search Overlay
   10. Slideshow / Hero
   11. Product Card
   12. Collection Card
   13. Buttons
   14. Forms
   15. Footer
   16. Product Page
   17. Collection Page
   18. Cart Page
   19. Blog / Article
   20. Modal / Lightbox
   21. Loading Spinner
   22. Animations
   23. Utility Classes
   24. Responsive Breakpoints
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables
   ------------------------------------------------------------ */
:root {
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;
  --color-heading: #000000;
  --color-accent: #C9A96E;
  --color-accent-light: #E8D5B7;
  --color-button-bg: #000000;
  --color-button-text: #FFFFFF;
  --color-border: #E5E5E5;
  --color-footer-bg: #1A1A1A;
  --color-footer-text: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1440px;
  --grid-gap: 20px;
  --header-height: 120px;
  --header-top-height: 60px;
  --announcement-height: 36px;
  --transition-base: 0.3s ease;
  --transition-fast: 0.2s ease;
  --z-header: 100;
  --z-mega-menu: 99;
  --z-mobile-menu: 200;
  --z-search-overlay: 300;
  --z-modal: 400;
  --z-loading: 500;
}

/* ------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-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.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* ------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

small, .text-small { font-size: 0.8125rem; }

.caption {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ------------------------------------------------------------
   4. Layout / Grid
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 800px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--grid-gap) / -2);
}

[class*="col-"] {
  padding: 0 calc(var(--grid-gap) / 2);
  width: 100%;
}

.col-12 { width: 100%; }
.col-8 { width: 66.6667%; }
.col-6 { width: 50%; }
.col-4 { width: 33.3333%; }
.col-3 { width: 25%; }

@media (min-width: 769px) {
  .col-md-12 { width: 100%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-3 { width: 25%; }
}

@media (max-width: 768px) {
  .col-sm-12 { width: 100%; }
  .col-sm-6 { width: 50%; }
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.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: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

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

.section {
  padding: 4rem 0;
}

.section--small {
  padding: 2rem 0;
}

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

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-title p {
  color: #666;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------
   5. Announcement Bar
   ------------------------------------------------------------ */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--announcement-height);
  background-color: var(--color-heading);
  color: var(--color-bg);
  z-index: calc(var(--z-header) + 1);
  overflow: hidden;
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.announcement-bar__text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  animation: announcementSlide 20s linear infinite;
}

.announcement-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-bg);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

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

@keyframes announcementSlide {
  0% { transform: translateX(100%); }
  10% { transform: translateX(0); }
  90% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

body.has-announcement {
  padding-top: calc(var(--header-height) + var(--announcement-height));
}

body.has-announcement .site-header {
  top: var(--announcement-height);
}

/* ------------------------------------------------------------
   6. Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  z-index: var(--z-header);
  border-bottom: 1px solid #e8e8e8;
  font-family: var(--font-body);
}

/* Announcement Bar */
.announcement-bar {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}
.announcement-bar__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.6;
  line-height: 1;
}
.announcement-bar__close:hover { opacity: 1; }

/* Desktop Header */
.header-desktop { display: none; }

.header-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
}

.site-logo { text-decoration: none; }
.site-logo img { max-height: 60px; width: auto; }
.site-logo__text {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #1a1a1a;
}

.header-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px 14px;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  transition: opacity 0.2s;
}

.nav-link:hover { opacity: 0.6; }

.nav-link__chevron {
  font-size: 8px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Dropdowns */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
  min-width: 220px;
}

.dropdown--mega {
  padding: 32px;
}

.nav-item:hover > .dropdown { display: block !important; }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  min-width: 680px;
}

.mega-col__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.mega-col__link {
  display: block;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  padding: 4px 0;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.mega-col__link:hover { color: #1a1a1a; }

.dropdown__link {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.dropdown__link:hover { background: #f5f5f5; }

.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.header-icons a,
.header-icons button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.cart-icon { position: relative; }

.cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #1a1a1a;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Header */
.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.hamburger {
  width: 22px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #1a1a1a;
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.mobile-logo { text-decoration: none; }
.mobile-logo img { max-height: 36px; width: auto; }
.mobile-logo__text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1a1a1a;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-header-actions a,
.mobile-header-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.mobile-login-link {
  display: flex;
  align-items: center;
  padding: 6px;
  color: #1a1a1a;
}

.cart-count-badge--mobile {
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  font-size: 8px;
}

/* Mobile Scrollable Nav */
.mobile-nav-scroll {
  display: none;
  padding: 8px 16px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #e8e8e8;
}

.mobile-nav-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.mobile-nav-track::-webkit-scrollbar { display: none; }

.mobile-nav-chip {
  flex-shrink: 0;
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.mobile-nav-chip:hover {
  border-color: #1a1a1a;
}

.mobile-nav-prev,
.mobile-nav-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  align-items: center;
  justify-content: center;
  color: #333;
}

/* Search Overlay */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 40px;
  z-index: 300;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.search-overlay.is-open { display: block; }

.search-overlay__inner {
  max-width: 600px;
  margin: 0 auto;
}

.search-overlay__inner form {
  display: flex;
  border-bottom: 1px solid #1a1a1a;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 0;
  letter-spacing: 0.5px;
  background: transparent;
}

.search-overlay__close {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 499;
}

.mobile-menu-overlay.is-open { display: block; }

.mobile-menu-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 500;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.1);
}

.mobile-menu-drawer.is-open { display: block; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
}

.mobile-menu-header span {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #1a1a1a;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 24px;
  color: #1a1a1a;
  line-height: 1;
}

.mobile-nav-list {
  padding: 8px 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link {
  flex: 1;
  display: block;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1a1a;
}

.mobile-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 10px;
  color: #1a1a1a;
  transition: transform 0.2s;
}

.mobile-nav-toggle.is-open { transform: rotate(180deg); }

.mobile-subnav {
  display: none;
  background: #f9f9f9;
  padding: 4px 0;
}

.mobile-subnav.is-open { display: block; }

.mobile-subnav-link {
  display: block;
  padding: 10px 20px 10px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #555;
}

.mobile-subnav-link--grandchild {
  padding: 8px 20px 8px 48px;
  font-size: 12px;
  color: #777;
  letter-spacing: 0.5px;
  text-transform: none;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid #e8e8e8;
}

.mobile-menu-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a1a;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

body.menu-open { overflow: hidden; }

/* Responsive Header */
@media (min-width: 1025px) {
  .header-mobile { display: none !important; }
  .header-desktop { display: block !important; }
  .mobile-nav-scroll { display: none !important; }
}

@media (max-width: 1024px) {
  .header-desktop { display: none !important; }
  .header-mobile { display: flex !important; }
  .mobile-nav-scroll { display: flex !important; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .header-mobile { display: flex !important; }
  .mobile-nav-scroll { display: flex !important; }
}

/* ------------------------------------------------------------
   7. Mega Menu
   ------------------------------------------------------------ */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: var(--z-mega-menu);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  pointer-events: none;
}

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

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.mega-menu__column h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--color-heading);
}

.mega-menu__link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: #555;
  transition: color var(--transition-fast);
}

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

.mega-menu__featured img {
  margin-bottom: 0.75rem;
}

.mega-menu__featured span {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Dropdown Menu (single-level) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  min-width: 220px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu__link {
  display: block;
  padding: 0.4rem 1.5rem;
  font-size: 0.8125rem;
  color: #555;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.dropdown-menu__link:hover {
  color: var(--color-accent);
  background: #FAFAFA;
}

/* ------------------------------------------------------------
   8. Mobile Header
   ------------------------------------------------------------ */
.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: relative;
  }

  .visible-desktop {
    display: none !important;
  }
}

.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: calc(var(--z-mobile-menu) + 1);
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition-base);
  left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.is-open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-mobile-menu) - 1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: var(--color-bg);
  z-index: var(--z-mobile-menu);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-header span {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-menu-close {
  font-size: 1.25rem;
  color: var(--color-heading);
  line-height: 1;
}

.mobile-nav-list {
  padding: 0;
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--color-heading);
}

.mobile-nav-toggle {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
  color: #999;
}

.mobile-nav-toggle.is-open {
  transform: rotate(180deg);
}

.mobile-subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #FAFAFA;
}

.mobile-subnav.is-open {
  max-height: 600px;
}

.mobile-subnav-link {
  display: block;
  padding: 10px 24px;
  font-size: 0.8125rem;
  color: #555;
}

.mobile-subnav-link:first-child {
  padding-top: 14px;
}

.mobile-subnav-link:last-child {
  padding-bottom: 14px;
}

.mobile-menu-footer {
  padding: 20px 16px;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}

.mobile-menu-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
  padding: 8px 0;
}

/* ------------------------------------------------------------
   9. Search Overlay
   ------------------------------------------------------------ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.98);
  z-index: var(--z-search-overlay);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.search-overlay__inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  text-align: center;
}

.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--color-heading);
  transition: opacity var(--transition-fast);
  line-height: 1;
}

.search-overlay__close:hover {
  opacity: 0.6;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--color-border);
  padding: 12px 0;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-heading);
  background: transparent;
  outline: none;
  transition: border-color var(--transition-base);
}

.search-input::placeholder {
  color: #ccc;
}

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

.search-overlay__hints {
  color: #999;
  font-size: 0.875rem;
}

.search-overlay__hints kbd {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: inherit;
  margin: 0 2px;
}

/* ------------------------------------------------------------
   10. Slideshow / Hero
   ------------------------------------------------------------ */
.slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #F5F5F5;
}

.slideshow--fullscreen {
  height: 90vh;
  min-height: 500px;
}

.slideshow--adapt {
  aspect-ratio: 21 / 9;
}

.slideshow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-bg);
  z-index: 3;
  width: 80%;
  max-width: 600px;
  animation: slideContentIn 0.8s ease 0.4s both;
}

.slide-content--left {
  left: 8%;
  transform: translateY(-50%);
  text-align: left;
}

.slide-content--right {
  left: auto;
  right: 8%;
  transform: translateY(-50%);
  text-align: right;
}

.slide-content h1,
.slide-content h2 {
  color: var(--color-bg);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  margin-bottom: 1.5rem;
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.15);
  z-index: 2;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 30px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.slide-content--left {
  animation-name: slideContentInLeft;
}

@keyframes slideContentInLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.slideshow-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 4;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
}

.slideshow-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
  color: var(--color-heading);
  font-size: 1.125rem;
}

.slideshow-arrow:hover {
  background: var(--color-bg);
  transform: scale(1.05);
}

.slideshow-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slideshow-dot.active {
  background: var(--color-bg);
  border-color: var(--color-bg);
  transform: scale(1.2);
}

.slideshow-dot:hover {
  background: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .slideshow--fullscreen {
    height: 60vh;
    min-height: 350px;
  }

  .slideshow-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .slideshow-arrows {
    padding: 0 12px;
  }

  .slide-content {
    width: 90%;
  }
}



/* ------------------------------------------------------------
   13. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--color-button-bg);
  color: var(--color-button-text);
  border-color: var(--color-button-bg);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-heading);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-heading);
  color: var(--color-bg);
}

.btn-link {
  padding: 0;
  background: none;
  border: none;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8125rem;
  font-weight: 500;
}

.btn-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
  margin-top: 2px;
}

.btn-link:hover::after {
  width: 100%;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

/* ------------------------------------------------------------
   14. Forms
   ------------------------------------------------------------ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

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

.form-input::placeholder {
  color: #bbb;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group {
  margin-bottom: 1rem;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.input-group {
  display: flex;
}

.input-group .form-input {
  flex: 1;
  border-right: none;
}

.input-group .btn {
  flex-shrink: 0;
}

.checkbox-wrapper,
.radio-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
}

.checkbox-wrapper input[type="checkbox"],
.radio-wrapper input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------ */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-footer-text);
  margin-bottom: 1.25rem;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--color-footer-text);
  transition: all var(--transition-fast);
  font-size: 0.875rem;
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201,169,110,0.1);
}

.footer-social .icon {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.footer-newsletter .input-group {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  display: flex;
}

.footer-newsletter .input-group .form-input {
  background: transparent;
  border: none;
  color: var(--color-footer-text);
  padding: 10px 0;
  font-size: 0.875rem;
}

.footer-newsletter .input-group .form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer-newsletter .input-group .btn {
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-payment-icons svg {
  width: 32px;
  height: auto;
  fill: rgba(255,255,255,0.4);
}

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

  @media (max-width: 768px) {
    .footer-links {
      grid-template-columns: repeat(2,1fr) !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      gap: 24px !important;
    }
    .footer-bottom > div {
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
    }
    .footer-contact {
      text-align: center !important;
    }
    .footer-newsletter {
      padding-left: 24px !important;
      padding-right: 24px !important;
    }
    .footer-bottom {
      padding: 20px 24px !important;
    }
  }

  @media (max-width: 480px) {
    .footer-links {
      grid-template-columns: 1fr 1fr !important;
      gap: 16px !important;
    }
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   16. Product Page
   ------------------------------------------------------------ */
.product-page {
  padding: 0;
}

.product-gallery {
  width: 100%;
}

.product-gallery__main {
  position: relative;
  width: 100%;
  background: #f8f8f8;
}

.product-gallery__slide {
  display: none;
  width: 100%;
}

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

.product-gallery__image {
  width: 100%;
  height: auto;
  display: block;
}

.product-gallery__thumbs {
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.product-gallery__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 75px;
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  opacity: 1;
  border-color: #1a1a1a;
}

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

.product-info {
  padding: 16px;
}

.product-info__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.product-info__price {
  margin-bottom: 24px;
}

.product-info__price--regular {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
}

.product-info__price--original {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
  font-size: 16px;
}

.product-info__price--sale {
  color: #d32f2f;
  font-size: 18px;
  font-weight: 500;
}

/* Product Form */
.product-form {
  margin-bottom: 24px;
}

.product-form__option {
  margin-bottom: 16px;
}

.product-form__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.product-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  font-family: var(--font-body);
  background: #fff;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.product-form__quantity {
  margin-bottom: 16px;
}

.product-form__qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  max-width: 120px;
}

.product-form__qty-btn {
  width: 36px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
  transition: background 0.2s;
}

.product-form__qty-btn:hover {
  background: #f5f5f5;
}

.product-form__qty-input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  font-size: 14px;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  outline: none;
}

.product-form__qty-input::-webkit-outer-spin-button,
.product-form__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-form__submit {
  width: 100%;
  padding: 14px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.product-form__submit:hover {
  background: #333;
}

.product-form__submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Accordions */
.product-accordions {
  border-top: 1px solid #e0e0e0;
  margin-top: 24px;
}

.accordion {
  border-bottom: 1px solid #e0e0e0;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #1a1a1a;
  background: none;
  border: none;
  cursor: pointer;
}

.accordion__icon {
  font-size: 10px;
  transition: transform 0.2s;
}

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

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

.accordion__content[aria-hidden="false"] {
  max-height: 500px;
}

.accordion__content-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* Related Products */
.related-products {
  padding: 24px 16px;
}

.related-products__divider hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 24px;
}

.related-products__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: 1.5px;
  color: #1a1a1a;
}

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

@media (min-width: 769px) {
  .product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  .product-gallery__thumbs {
    flex-direction: column;
    padding: 0;
    gap: 8px;
  }

  .product-gallery__thumb {
    width: 80px;
    height: 100px;
  }

  .product-info {
    padding: 0;
  }

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

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

/* ------------------------------------------------------------
   11. Product Card
   ------------------------------------------------------------ */
.product-card {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

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

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.product-card__image--primary {
  z-index: 1;
}

.product-card__image--secondary {
  z-index: 2;
  opacity: 0;
}

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

.product-card__actions {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
}

.product-card__quick-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card__quick-add:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-card__info {
  padding: 8px 0 16px;
  text-align: left;
}

.product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 4px;
  line-height: 1.3;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-card__price {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
}

.product-card__price--original {
  text-decoration: line-through;
  color: #999;
  margin-right: 6px;
  font-weight: 400;
}

.product-card__price--sale {
  color: #d32f2f;
}

.product-card__oos {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  font-style: italic;
}

/* ------------------------------------------------------------
   12. Collection Page
   ------------------------------------------------------------ */
.collection-banner {
  width: 100%;
}

.collection-banner__image {
  width: 100%;
  height: auto;
  display: block;
}

.collection-page {
  padding: 16px;
}

.collection-page__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin: 16px 0 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
}

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

.product-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: #999;
  font-size: 14px;
}

.pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 0;
}

.pagination__prev,
.pagination__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 18px;
  transition: border-color 0.2s;
}

.pagination__prev:hover,
.pagination__next:hover {
  border-color: #1a1a1a;
}

.pagination__current {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.5px;
}

.collection-back {
  display: block;
  text-align: center;
  padding: 16px 0 40px;
  color: #999;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .collection-page {
    padding: 24px 0;
  }
}

@media (min-width: 1025px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   18. Cart Page
   ------------------------------------------------------------ */
.cart-page {
  padding: 2rem 0;
}

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

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 1rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-bottom: 2px solid var(--color-heading);
}

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

.cart-item td {
  padding: 1.5rem 0;
  vertical-align: middle;
}

.cart-item__image {
  width: 100px;
}

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

.cart-item__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.cart-item__variant {
  font-size: 0.8125rem;
  color: #999;
}

.cart-item__price {
  font-size: 0.9375rem;
}

.cart-item__total {
  font-size: 0.9375rem;
  font-weight: 500;
}

.cart-item__remove {
  font-size: 0.75rem;
  color: #999;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cart-item__remove:hover {
  color: #D32F2F;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.cart-summary {
  background: #FAFAFA;
  padding: 2rem;
  margin-top: 2rem;
}

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

.cart-summary__row--total {
  font-size: 1.125rem;
  font-weight: 600;
  border-top: 2px solid var(--color-heading);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.cart-summary .btn {
  margin-top: 1.5rem;
}

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

.cart-empty h2 {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 1rem 0;
  }

  .cart-item td {
    padding: 0;
  }

  .cart-item__image {
    width: 80px;
  }

  .cart-item__details {
    flex: 1;
  }

  .cart-item__price,
  .cart-item__total {
    display: none;
  }

  .cart-item__mobile-price {
    display: block;
    font-size: 0.875rem;
    margin-top: 4px;
  }

  .cart-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* ------------------------------------------------------------
   19. Blog / Article
   ------------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

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

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  overflow: hidden;
}

.article-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1rem;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.article-card__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.article-card__excerpt {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.article-page {
  padding: 2rem 0;
}

.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-header__meta {
  font-size: 0.8125rem;
  color: #999;
  margin-bottom: 0.5rem;
}

.article-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content img {
  margin: 1.5rem 0;
}

.article-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.article-share span {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}

.article-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--transition-fast);
  color: var(--color-text);
}

.article-share a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ------------------------------------------------------------
   20. Modal / Lightbox
   ------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

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

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-bg);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  background: none;
  border: none;
  line-height: 1;
}

.modal-close:hover {
  opacity: 1;
}

.modal--product .modal-content {
  background: var(--color-bg);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  border-radius: 0;
}

/* ------------------------------------------------------------
   21. Loading Spinner
   ------------------------------------------------------------ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  z-index: var(--z-loading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner--small {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Inline loading for buttons */
.btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--color-bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-secondary.is-loading::after {
  border-color: rgba(0,0,0,0.15);
  border-top-color: var(--color-heading);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-heading);
  color: var(--color-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: calc(var(--z-header) - 20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

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

.back-to-top:hover {
  background: var(--color-accent);
}

/* ------------------------------------------------------------
   22. Animations
   ------------------------------------------------------------ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.anim-fadeIn {
  transform: none;
}

.animate-on-scroll.anim-slideLeft {
  transform: translateX(-40px);
}

.animate-on-scroll.anim-slideRight {
  transform: translateX(40px);
}

.animate-on-scroll.anim-slideLeft.is-visible,
.animate-on-scroll.anim-slideRight.is-visible {
  transform: translateX(0);
}

/* ------------------------------------------------------------
   23. Utility Classes
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.hidden { display: none !important; }

.visible-desktop { display: block; }
.visible-mobile { display: none; }

@media (max-width: 768px) {
  .visible-desktop { display: none !important; }
  .visible-mobile { display: block !important; }
}

.sr-only,
.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;
}

.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.object-cover { object-fit: cover; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ------------------------------------------------------------
   24. Responsive Breakpoints
   ------------------------------------------------------------ */

/* Mobile: max 768px */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 2.5rem 0;
  }
}

/* Tablet: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

/* Desktop: 1025px+ */
@media (min-width: 1025px) {
  .container {
    padding: 0 32px;
  }
}

/* Large: 1440px+ */
@media (min-width: 1441px) {
  .container {
    padding: 0 40px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
