/* =========================================
   Dale's Foothaven â€” Crafted for Comfort
   Main Stylesheet
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --black:        #211813;
  --dark:         #2f241f;
  --dark-card:    #3a2b24;
  --white:        #ffffff;
  --off-white:    #fbf6ef;
  --light-gray:   #f3eadf;
  --medium-gray:  #888888;
  --light-text:   #bbbbbb;
  --border:       #e0e0e0;
  --border-dark:  #2a2a2a;
  --accent:       #8b5a3c;
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --nav-height:   68px;
  --topbar-height: 38px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.14);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utility --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; transition: var(--transition); cursor: pointer;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #4e342e; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #f0f0f0; }
.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--medium-gray); margin-bottom: 12px;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--dark);
  height: var(--topbar-height);
  display: flex; align-items: center;
  padding: 0 40px;
  position: relative; z-index: 200;
}
.top-bar-inner {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between;
}
.top-bar-social { display: flex; align-items: center; gap: 14px; }
.top-bar-social a {
  color: var(--light-text); transition: color var(--transition);
  display: flex; align-items: center;
}
.top-bar-social a:hover { color: var(--white); }
.top-bar-social svg { width: 15px; height: 15px; fill: currentColor; }
.top-bar-links { display: flex; align-items: center; gap: 24px; }
.top-bar-links a {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--light-text); transition: color var(--transition);
}
.top-bar-links a:hover { color: var(--white); }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
  position: sticky; top: 0; z-index: 150;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  height: var(--nav-height); display: flex;
  align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.nav-logo a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 28px;
  letter-spacing: 0.04em; color: var(--black);
}
.brand-logo-img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 2px var(--light-gray);
}.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--black);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-links > li > a:hover { background: var(--light-gray); }
.nav-links > li.has-dropdown > a svg {
  width: 14px; height: 14px; transition: transform var(--transition);
  stroke: currentColor; fill: none;
}
.nav-links > li.has-dropdown:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  min-width: 200px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); z-index: 100;
}
.nav-links > li.has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; color: var(--black);
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--light-gray); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); position: relative;
}
.nav-icon-btn:hover { background: var(--light-gray); }
.nav-icon-btn svg { width: 20px; height: 20px; stroke: var(--black); fill: none; }
.cart-count {
  position: absolute; top: 5px; right: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-size: 10px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { padding: 20px 40px; background: var(--white); }
.hero-wrapper {
  position: relative; background: var(--dark);
  border-radius: var(--radius-xl); overflow: hidden;
  min-height: 580px; display: flex; align-items: stretch;
}
.hero-slides-container { width: 100%; position: relative; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  background-repeat: no-repeat;
}
.hero-slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.15) 100%
  );
}
.hero-slide-content {
  position: relative; z-index: 3;
  padding: 48px 52px 80px; max-width: 560px;
}
.hero-slide-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.hero-slide-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.95; letter-spacing: 0.02em;
  color: var(--white); margin-bottom: 18px;
}
.hero-slide-sub {
  font-size: 13.5px; font-weight: 400; line-height: 1.65;
  color: rgba(255,255,255,0.65); margin-bottom: 32px;
  max-width: 340px;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: flex-end;
  padding: 0 52px 28px; z-index: 10; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-indicator {
  flex: 1; padding: 16px 12px 0;
  cursor: pointer; position: relative;
  border-top: 2px solid rgba(255,255,255,0.12);
  transition: border-color var(--transition);
}
.hero-indicator::before {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 0; height: 2px; background: var(--white);
  transition: width 0.6s ease;
}
.hero-indicator.active::before { width: 100%; }
.hero-indicator-num {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.35);
  margin-bottom: 4px; transition: color var(--transition);
}
.hero-indicator.active .hero-indicator-num { color: var(--white); }
.hero-indicator-label {
  display: block; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color var(--transition);
}
.hero-indicator.active .hero-indicator-label { color: rgba(255,255,255,0.75); }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header { margin-bottom: 40px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.04em; line-height: 1;
  color: var(--black); margin-bottom: 12px;
}
.section-header p {
  font-size: 14px; color: var(--medium-gray);
  max-width: 480px; line-height: 1.7;
}
.section-header-row {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 40px;
}

/* =========================================
   NEW DROPS / PRODUCT CARDS
   ========================================= */
.new-drops { padding: 80px 0; background: var(--white); }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-image {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--light-gray);
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--black); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 10px; border-radius: 100px;
  text-transform: uppercase; z-index: 2;
}
.product-badge.sale { background: #d95c43; }
.product-badge.hot { background: #8b5a3c; }
.product-card-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition); z-index: 3;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.quick-view-btn {
  background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 12px 22px; border-radius: 100px;
  transform: translateY(8px);
  transition: transform var(--transition), background var(--transition);
}
.product-card:hover .quick-view-btn { transform: translateY(0); }
.quick-view-btn:hover { background: var(--off-white); }
.product-card-info { padding: 20px 20px 22px; }
.product-card-name {
  font-family: var(--font-display); font-size: 22px;
  letter-spacing: 0.04em; color: var(--black); margin-bottom: 6px;
}
.product-card-desc {
  font-size: 12.5px; color: var(--medium-gray);
  line-height: 1.6; margin-bottom: 12px;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 16px; font-weight: 700; color: var(--black); }
.price-original {
  font-size: 13px; font-weight: 400; color: var(--medium-gray);
  text-decoration: line-through;
}
.add-to-cart-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.add-to-cart-btn:hover { background: var(--accent); transform: scale(1.1); }
.add-to-cart-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories { padding: 80px 0; background: var(--off-white); }
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.category-card {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; aspect-ratio: 3/4;
  display: block; width: 100%; text-align: left; color: inherit;
}
.category-card-bg {
  display: block; width: 100%; height: 100%; background-size: cover;
  background-position: center; transition: transform 0.6s ease;
}
.category-card:hover .category-card-bg { transform: scale(1.04); }
.category-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.category-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px; z-index: 2;
}
.category-card-content h3,
.category-card-title {
  display: block; font-family: var(--font-display); font-size: 30px;
  color: var(--white); letter-spacing: 0.05em; margin-bottom: 4px;
}
.category-card-content p,
.category-card-copy {
  display: block; font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 14px;
}
.category-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white);
  transition: gap var(--transition);
}
.category-link:hover { gap: 14px; }
.category-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.category-card.active { box-shadow: 0 0 0 3px var(--accent); }
.category-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* =========================================
   CATALOG FILTERS
   ========================================= */
.catalog-controls {
  display: grid; grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center; gap: 14px; margin-bottom: 24px;
}
.catalog-search {
  height: 52px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 0 16px; background: var(--off-white);
}
.catalog-search svg { width: 18px; height: 18px; stroke: var(--medium-gray); fill: none; flex-shrink: 0; }
.catalog-search input {
  width: 100%; border: 0; outline: 0; background: transparent;
  color: var(--black); font: 600 13px var(--font-body);
}
.catalog-search input::placeholder { color: var(--medium-gray); }
.catalog-filter-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.catalog-chip {
  height: 40px; padding: 0 16px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--white); color: var(--black);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.catalog-chip:hover,
.catalog-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.catalog-result-count {
  grid-column: 1 / -1; color: var(--medium-gray); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.catalog-empty {
  margin-bottom: 24px; padding: 28px; border-radius: var(--radius-md);
  background: var(--off-white); border: 1px solid var(--border); text-align: center;
}
.catalog-empty h3 {
  font-family: var(--font-display); font-size: 32px; letter-spacing: 0.04em; margin-bottom: 6px;
}
.catalog-empty p { color: var(--medium-gray); font-size: 13.5px; margin-bottom: 16px; }
.catalog-reset-btn {
  height: 42px; padding: 0 18px; border-radius: 100px;
  background: var(--black); color: var(--white); font-size: 12px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.catalog-reset-btn:hover { background: var(--accent); }
.product-card-category {
  color: var(--accent); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; margin: -2px 0 12px;
}

/* =========================================
   SHOE DEPARTMENTS
   ========================================= */
.shoe-departments { padding: 80px 0; background: var(--white); }
.department-block + .department-block {
  margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border);
}
.department-block .products-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

/* =========================================
   BEST SELLERS SECTION
   ========================================= */
.best-sellers { padding: 80px 0; background: var(--white); }
.products-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

/* =========================================
   BRAND STORY SECTION
   ========================================= */
.brand-story { padding: 100px 0; background: var(--dark); overflow: hidden; }
.brand-story-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.brand-story-text { }
.brand-story-text .section-tag { color: rgba(255,255,255,0.4); }
.brand-story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 62px);
  color: var(--white); line-height: 0.95;
  letter-spacing: 0.03em; margin-bottom: 24px;
}
.brand-story-text p {
  font-size: 15px; color: rgba(255,255,255,0.6);
  line-height: 1.8; margin-bottom: 36px;
}
.brand-story-stats {
  display: flex; gap: 40px; margin-bottom: 40px;
  padding-top: 32px; border-top: 1px solid var(--border-dark);
}
.stat-item {}
.stat-num {
  font-family: var(--font-display); font-size: 44px;
  color: var(--white); letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; }
.brand-story-image {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5;
}
.brand-story-image img { width: 100%; height: 100%; object-fit: cover; }
.brand-story-image-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 18px 22px; box-shadow: var(--shadow-lg);
}
.brand-story-image-badge .badge-num {
  font-family: var(--font-display); font-size: 36px;
  color: var(--black); line-height: 1;
}
.brand-story-image-badge .badge-text {
  font-size: 11px; color: var(--medium-gray);
  letter-spacing: 0.06em; margin-top: 2px;
}

/* =========================================
   FEATURE STRIP
   ========================================= */
.features-strip { padding: 60px 0; background: var(--light-gray); border-top: 1px solid var(--border); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.feature-item { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--black); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
.feature-text h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.feature-text p { font-size: 12.5px; color: var(--medium-gray); line-height: 1.5; }

/* =========================================
   NEWSLETTER SECTION
   ========================================= */
.newsletter { padding: 90px 0; background: var(--black); }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-inner .section-tag { color: rgba(255,255,255,0.35); }
.newsletter-inner h2 {
  font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px);
  color: var(--white); letter-spacing: 0.03em; margin-bottom: 14px;
}
.newsletter-inner p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 36px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; height: 52px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  padding: 0 22px; font-family: var(--font-body); font-size: 13.5px;
  color: var(--white); outline: none; transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: rgba(255,255,255,0.4); }
.newsletter-btn {
  height: 52px; padding: 0 26px; background: var(--white);
  color: var(--black); font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; border-radius: 100px;
  transition: background var(--transition), transform var(--transition); white-space: nowrap;
}
.newsletter-btn:hover { background: #e8e8e8; transform: translateY(-1px); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--dark); padding: 64px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-dark);
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display); font-size: 28px;
  color: var(--white); letter-spacing: 0.06em; margin-bottom: 14px; display: block;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 240px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); transition: all var(--transition);
}
.footer-social-link:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-social-link svg { width: 16px; height: 16px; fill: currentColor; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid var(--border-dark);
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-payments { display: flex; align-items: center; gap: 8px; }
.payment-badge {
  background: rgba(255,255,255,0.07); border: 1px solid var(--border-dark);
  border-radius: 5px; padding: 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
}

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 300; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; background: var(--white);
  transform: translateX(100%); transition: transform var(--transition);
  z-index: 301; display: flex; flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; }
.cart-close {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--light-gray); transition: background var(--transition);
}
.cart-close:hover { background: var(--border); }
.cart-close svg { width: 18px; height: 18px; stroke: var(--black); fill: none; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty svg { width: 48px; height: 48px; stroke: var(--border); fill: none; margin: 0 auto 16px; }
.cart-empty p { font-size: 14px; color: var(--medium-gray); }
.cart-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 70px; height: 80px; border-radius: var(--radius-sm);
  object-fit: cover; background: var(--light-gray);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--medium-gray); margin-bottom: 10px; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  background: var(--light-gray); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 600;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--border); }
.qty-value { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 14px; font-weight: 700; align-self: flex-start; padding-top: 0; }
.cart-footer {
  padding: 20px 28px; border-top: 1px solid var(--border);
  background: var(--white);
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.cart-subtotal span { font-size: 14px; color: var(--medium-gray); }
.cart-subtotal strong { font-size: 18px; font-weight: 800; }
.cart-checkout-btn {
  width: 100%; height: 52px; background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  border-radius: var(--radius-md); transition: background var(--transition);
}
.cart-checkout-btn:hover { background: var(--accent); }

/* =========================================
   QUICK VIEW MODAL
   ========================================= */
.quick-view-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.52);
  z-index: 320; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.quick-view-overlay.open { opacity: 1; visibility: visible; }
.quick-view-modal {
  position: fixed; top: 50%; left: 50%; z-index: 321;
  width: min(920px, calc(100vw - 40px)); max-height: calc(100vh - 40px);
  background: var(--white); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -46%) scale(0.98);
  transition: all var(--transition);
}
.quick-view-modal.open {
  opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1);
}
.quick-view-close {
  position: absolute; top: 18px; right: 18px; z-index: 4;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.88); display: flex; align-items: center;
  justify-content: center; transition: background var(--transition);
}
.quick-view-close:hover { background: var(--white); }
.quick-view-close svg { width: 18px; height: 18px; stroke: var(--black); fill: none; }
.quick-view-image {
  position: relative; min-height: 520px; background: var(--light-gray);
}
.quick-view-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.quick-view-info {
  padding: 54px 44px 44px; display: flex; flex-direction: column;
  justify-content: center;
}
.quick-view-info h3 {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px);
  line-height: 0.95; letter-spacing: 0.04em; color: var(--black);
  margin-bottom: 16px;
}
.quick-view-info > p:not(.section-tag) {
  font-size: 14px; line-height: 1.8; color: var(--medium-gray);
  margin-bottom: 22px;
}
.quick-view-price {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.quick-view-price .price-current { font-size: 22px; }
.quick-view-sizes {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-bottom: 28px;
}
.quick-view-size {
  height: 44px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--black);
  font-size: 13px; font-weight: 700; transition: all var(--transition);
}
.quick-view-size:hover,
.quick-view-size.active {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.quick-view-cart-btn {
  width: 100%; height: 54px; background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  border-radius: var(--radius-md); transition: background var(--transition), transform var(--transition);
}
.quick-view-cart-btn:hover { background: var(--accent); transform: translateY(-1px); }

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px;
  background: var(--white); transform: translateX(-100%);
  transition: transform var(--transition); z-index: 201;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.mobile-menu-logo {
  font-family: var(--font-display); font-size: 24px; letter-spacing: 0.06em;
}
.mobile-menu-close {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--light-gray); display: flex; align-items: center;
  justify-content: center;
}
.mobile-menu-close svg { width: 18px; height: 18px; stroke: var(--black); fill: none; }
.mobile-nav-links { padding: 16px; flex: 1; }
.mobile-nav-links li a {
  display: block; padding: 13px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--black);
  transition: background var(--transition); border-bottom: 1px solid var(--border);
}
.mobile-nav-links li a:hover { background: var(--light-gray); }
.mobile-menu-footer {
  padding: 20px 24px; border-top: 1px solid var(--border);
}
.mobile-social { display: flex; gap: 12px; }
.mobile-social a {
  color: var(--medium-gray); transition: color var(--transition);
}
.mobile-social a:hover { color: var(--black); }
.mobile-social svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 100;
  width: 44px; height: 44px; background: var(--black); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #333; transform: translateY(-2px); }
.scroll-top svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  :root { --nav-height: 76px; }
  .container { padding: 0 28px; }
  .hero { padding: 18px 28px; }
  .hero-wrapper {
    min-height: 0;
    height: clamp(500px, calc(100vh - var(--nav-height) - 36px), 900px);
  }
  @supports (height: 100svh) {
    .hero-wrapper { height: clamp(500px, calc(100svh - var(--nav-height) - 36px), 900px); }
  }
  .nav { padding: 0 28px; }
  .nav-logo a { font-size: 31px; }
  .brand-logo-img { width: 42px; height: 42px; }
  .nav-icon-btn { width: 44px; height: 44px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .brand-story-inner { grid-template-columns: 1fr; gap: 48px; }
  .brand-story-image { max-width: 480px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; --topbar-height: 0px; }
  .top-bar { display: none; }
  .nav { padding: 0 20px; }
  .nav-logo a { font-size: 30px; gap: 12px; }
  .brand-logo-img { width: 42px; height: 42px; }
  .nav-icon-btn { width: 44px; height: 44px; }
  .nav-icon-btn svg { width: 21px; height: 21px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 14px 16px; }
  .hero-wrapper {
    min-height: 0;
    height: clamp(520px, calc(100vh - var(--nav-height) - 28px), 900px);
    border-radius: var(--radius-lg);
  }
  @supports (height: 100svh) {
    .hero-wrapper { height: clamp(520px, calc(100svh - var(--nav-height) - 28px), 900px); }
  }
  .hero-slide-content { padding: 40px 28px 100px; max-width: 500px; }
  .hero-slide-headline { font-size: 46px; }
  .hero-slide-sub { font-size: 14px; max-width: 360px; }
  .hero-indicators { padding: 0 28px 24px; }
  .hero-indicator-label { display: none; }
  .new-drops { padding: 56px 0 64px; }
  .new-drops .section-header-row { margin-bottom: 28px; }
  .container { padding: 0 20px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .products-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .categories-grid { grid-template-columns: 1fr; }
  .categories-grid .category-card:first-child { grid-column: 1; }
  .department-block .products-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input, .newsletter-btn { width: 100%; height: 50px; border-radius: var(--radius-md); }
  .brand-story-stats { gap: 24px; }
  .cart-sidebar { width: 100%; }
  .quick-view-modal {
    grid-template-columns: 1fr; overflow-y: auto;
  }
  .quick-view-image { min-height: 320px; }
  .quick-view-info { padding: 34px 24px 28px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .catalog-controls { grid-template-columns: 1fr; }
  .catalog-filter-chips { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .nav { padding: 0 16px; }
  .nav-logo a { font-size: 27px; }
  .brand-logo-img { width: 40px; height: 40px; }
  .hero { padding: 12px; }
  .hero-wrapper {
    min-height: 0;
    height: clamp(500px, calc(100vh - var(--nav-height) - 24px), 900px);
  }
  @supports (height: 100svh) {
    .hero-wrapper { height: clamp(500px, calc(100svh - var(--nav-height) - 24px), 900px); }
  }
  .hero-slide-content { padding: 38px 22px 92px; }
  .hero-slide-headline { font-size: 40px; }
  .new-drops { padding: 44px 0 56px; }
  .new-drops .section-header-row { margin-bottom: 24px; }
  .products-grid,
  .products-grid-4,
  .department-block .products-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .features-grid { grid-template-columns: 1fr; }
  .catalog-chip { flex: 1 1 calc(50% - 8px); padding: 0 10px; }
}
/* =========================================
   DALE'S PRODUCT CATALOG REFINEMENTS
   ========================================= */
.top-bar-social a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-card-name {
  line-height: 1;
}

.product-card-desc {
  min-height: 40px;
}

.cart-checkout-btn {
  min-height: 52px;
  padding: 0 16px;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .product-card-info { padding: 13px 12px 14px; }
  .product-card-name { font-size: 18px; line-height: 0.98; }
  .product-card-desc {
    min-height: 34px;
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card-category { font-size: 9px; margin-bottom: 10px; }
  .price-current { font-size: 14px; }
  .add-to-cart-btn { width: 32px; height: 32px; }
  .footer-payments {
    flex-wrap: wrap;
    justify-content: center;
  }
}
