/* assets/css/style.css - Main Storefront Stylesheet */
:root {
  --primary: #134e3f;
  --primary-dark: #0d382d;
  --primary-light: #2a6958;
  --accent-gold: #c5a059;
  --bg-light: #f7faf8;
  --bg-cream: #faf7f2;
  --bg-sage: #e8f0eb;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;
  --card-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 12.5px;
  padding: 8px 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar-right a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar-right a:hover {
  opacity: 0.85;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.main-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  line-height: 1.1;
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #4a6b5d;
  display: block;
}

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 620px;
  position: relative;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  padding: 2px 4px 2px 18px;
  transition: var(--transition);
}
.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(19, 78, 63, 0.12);
}
.search-input {
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13.5px;
  flex: 1;
  padding: 8px 0;
  color: var(--text-main);
}
.search-category-select {
  border: none;
  border-left: 1px solid #e5e7eb;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-muted);
  outline: none;
  background: transparent;
  cursor: pointer;
}
.search-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  transition: var(--transition);
}
.search-btn:hover {
  background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  cursor: pointer;
}
.action-item:hover {
  color: var(--primary);
}
.action-item i {
  font-size: 18px;
}
.badge-count {
  position: absolute;
  top: -7px;
  right: -10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.secondary-nav {
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  position: relative;
  z-index: 99;
}
.secondary-nav .container {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}

/* Category Quick Dropdown */
.category-dropdown-wrap {
  position: relative;
}
.category-dropdown-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.category-dropdown-btn:hover {
  background: var(--primary-dark);
}
.category-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-radius: 0 0 8px 8px;
  border: 1px solid #e2e8f0;
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  overflow: hidden;
}
.category-dropdown-wrap:hover .category-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cat-drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.2s ease;
}
.cat-drop-link:hover {
  background: #f0fdf4;
  color: var(--primary);
  padding-left: 22px;
}
.cat-arrow {
  font-size: 10px;
  color: #94a3b8;
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--primary);
}
.nav-caret {
  font-size: 10px;
  transition: transform 0.2s ease;
  color: #94a3b8;
}
.nav-menu > li:hover .nav-caret {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-pill-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  background: #fef3c7;
  color: #b45309;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

/* ==========================================================================
   UNIQUE MULTI-COLUMN MEGA MENU
   ========================================================================== */
.has-mega-menu {
  position: static !important;
}
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 12px 12px;
  border: 1px solid #e2e8f0;
  border-top: 2px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}
.has-mega-menu:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr 340px;
  gap: 36px;
  padding: 30px 40px;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
}
.mega-col-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef2f6;
  text-transform: uppercase;
}
.mega-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mega-links-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mega-links-list li a:hover {
  background: #f0fdf4;
  color: var(--primary);
  transform: translateX(4px);
}
.mega-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.mega-tag-hot, .mega-tag-50%-off {
  background: #fee2e2;
  color: #dc2626;
}
.mega-tag-new {
  background: #dbeafe;
  color: #1d4ed8;
}
.mega-tag-bestseller {
  background: #fef3c7;
  color: #b45309;
}
.mega-tag-trending, .mega-tag-premium {
  background: #dcfce7;
  color: #15803d;
}

/* In-Menu Visual Promo Card */
.mega-promo-card {
  background: linear-gradient(135deg, #fdf6ec 0%, #faecd8 100%);
  border-radius: 10px;
  border: 1px solid #fed7aa;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mega-promo-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  background: #c2410c;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  width: fit-content;
}
.mega-promo-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #7c2d12;
  margin-bottom: 6px;
  line-height: 1.1;
}
.mega-promo-sub {
  font-size: 12px;
  color: #9a3412;
  margin-bottom: 16px;
  line-height: 1.4;
}
.btn-mega-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  width: fit-content;
  transition: all 0.2s ease;
}
.btn-mega-promo:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.mega-promo-img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.85;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  pointer-events: none;
}

/* ==========================================================================
   MOBILE OFF-CANVAS NAVIGATION DRAWER
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0,0,0,0.15);
  overflow-y: auto;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}
.mobile-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  font-size: 14px;
}
.mobile-user-card {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.mobile-nav-list {
  padding: 12px 0;
  flex: 1;
}
.mobile-nav-heading {
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  padding: 8px 20px 4px;
  text-transform: uppercase;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}
.mobile-nav-item:hover, .mobile-nav-item:active {
  background: #f0fdf4;
  color: var(--primary);
}
.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #fafafa;
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .secondary-nav {
    display: none;
  }
  .header-search {
    display: none;
  }
}

/* ==========================================================================
   HERO SLIDER BANNER
   ========================================================================== */
.hero-slider-wrap {
  position: relative;
  background: #fafaf9;
  overflow: hidden;
  padding: 30px 0 40px;
}
.hero-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 480px;
}
.hero-model-img {
  width: 320px;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 600px;
}
.hero-script-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 38px;
  color: #2a5a4a;
  margin-bottom: -10px;
  display: block;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  line-height: 1.05;
  margin-bottom: 8px;
}
.hero-sub-title {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 4px;
  color: #4b6358;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.hero-desc {
  font-size: 17px;
  color: #4a5568;
  margin-bottom: 28px;
  font-weight: 400;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 13px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(19, 78, 63, 0.25);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--primary);
  color: #ffffff;
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   CIRCULAR CATEGORY BUBBLES
   ========================================================================== */
.category-bubbles-section {
  padding: 40px 0 20px;
}
.category-bubble-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  text-align: center;
}
.bubble-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.bubble-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0fdf4;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  background: #eef3ef;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.bubble-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bubble-item:hover .bubble-circle {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.bubble-item:hover .bubble-circle img {
  transform: scale(1.08);
}
.bubble-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   4 PROMOTIONAL OFFER CARDS
   ========================================================================== */
.promo-cards-section {
  padding: 30px 0;
}
.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.promo-card {
  border-radius: var(--card-radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.promo-card.card-green {
  background: #e2eee5;
  color: #134e3f;
}
.promo-card.card-pink {
  background: #fbe3e3;
  color: #a82828;
}
.promo-card.card-dark {
  background: #134e3f;
  color: #ffffff;
}
.promo-card.card-cream {
  background: #fcf3e6;
  color: #6b4d1b;
}

.promo-badge-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.promo-main-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.promo-subtext {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.9;
}
.promo-coupon-pill {
  border: 1px dashed currentColor;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  background: transparent !important;
}
.promo-btn {
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.promo-card.card-pink .promo-btn {
  background: #a82828;
}
.promo-card.card-dark .promo-btn {
  background: #0d382d;
  border: 1px solid #1f6b57;
}
.promo-card.card-cream .promo-btn {
  background: var(--primary);
}
.promo-btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ==========================================================================
   SECTION HEADERS & TABS
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-title-wrap {
  position: relative;
}
.section-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-main);
  text-transform: uppercase;
}
.title-flourish {
  color: var(--primary);
  font-size: 14px;
  margin-top: -4px;
  display: block;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tab-btn {
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  color: var(--primary);
  font-weight: 600;
}
.view-all-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}
.view-all-link:hover {
  color: var(--primary);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.product-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f3f4f6;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.06);
}
.wishlist-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.wishlist-heart-btn:hover, .wishlist-heart-btn.active {
  color: #ef4444;
  transform: scale(1.1);
}
.product-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent !important;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 7px;
  border: 1.5px solid var(--primary);
  border-radius: 3px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.card-info {
  padding: 12px 4px 6px;
  text-align: left;
}
.card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}
.card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}
.card-title a:hover {
  color: var(--primary);
}
.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 6px;
}
.current-price {
  font-weight: 800;
  color: #0f172a;
  font-size: 14.5px;
}
.regular-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 12px;
}
.discount-tag {
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  background: transparent !important;
}
.card-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.color-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

/* ==========================================================================
   COLLECTIONS GRID
   ========================================================================== */
.collections-section {
  padding: 40px 0;
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.collection-card {
  position: relative;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.collection-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.collection-card:hover img {
  transform: scale(1.08);
}
.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
}
.collection-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}
.collection-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.collection-subtitle {
  font-size: 18px;
  font-family: var(--font-serif);
  margin-bottom: 14px;
  display: block;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.btn-translucent {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 8px 22px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  display: inline-block;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-translucent:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================================================
   BRAND STORY & MISSION SECTION
   ========================================================================== */
.brand-story-section {
  padding: 40px 0;
}
.story-mission-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.story-card {
  background: #f7faf8;
  border-radius: var(--card-radius);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #edf2ee;
}
.story-text {
  flex: 1;
}
.story-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.story-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 10px;
}
.story-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
}
.story-img {
  width: 140px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Center Crest */
.center-crest-seal {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed var(--primary);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(19, 78, 63, 0.08);
}
.crest-icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 6px;
}
.crest-item {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1.4;
  text-transform: uppercase;
}
.crest-divider {
  color: #a7d3c6;
  font-size: 8px;
  margin: 1px 0;
}

/* ==========================================================================
   STYLE INSPIRATION (INSTAGRAM GRID)
   ========================================================================== */
.insta-section {
  padding: 40px 0;
  text-align: center;
}
.insta-header {
  margin-bottom: 24px;
}
.insta-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.insta-handle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.insta-card {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
}
.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insta-card:hover img {
  transform: scale(1.08);
}
.insta-overlay-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #ffffff;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 10px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   TRUST BADGES BAR
   ========================================================================== */
.trust-badges-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
  background: #ffffff;
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-icon-box {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}
.trust-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-main);
  text-transform: uppercase;
}
.trust-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary);
  color: #ffffff;
  padding: 50px 0 20px;
}
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #ffffff;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: #d1e2da;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-blurb {
  font-size: 13px;
  color: #d1e2da;
  line-height: 1.6;
  margin: 14px 0 18px;
}
.footer-social-links {
  display: flex;
  gap: 12px;
}
.footer-social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
}
.footer-social-links a:hover {
  background: #ffffff;
  color: var(--primary);
}
.newsletter-form {
  margin-top: 14px;
}
.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 4px;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
}
.newsletter-btn {
  background: var(--primary-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  transition: var(--transition);
}
.newsletter-btn:hover {
  background: #06221b;
}
.payment-icons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.payment-badge {
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #1f2937;
}

.footer-bottom-bar {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #a3c4b6;
}

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 99;
  border: 2px solid #ffffff;
  transition: var(--transition);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODERN FORM & CHECKOUT STYLES
   ========================================================================== */
.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}
.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.checkout-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.checkout-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  position: relative;
  width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 0;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-label .req {
  color: #ef4444;
  font-weight: bold;
}
.form-label-hint {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 400;
  margin-left: auto;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-icon-wrap i {
  position: absolute;
  left: 15px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
  transition: var(--transition);
}
.input-icon-wrap .form-control {
  padding-left: 42px;
}
.input-icon-wrap:focus-within i {
  color: var(--primary);
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  outline: none;
}
textarea.form-control {
  height: auto;
  min-height: 84px;
  resize: vertical;
  line-height: 1.5;
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-control:hover {
  border-color: #94a3b8;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(19, 78, 63, 0.12);
  background: #ffffff;
}
.form-control::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

/* Address Type Chips */
.address-type-chips {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.address-type-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s;
}
.address-type-chip input[type="radio"] {
  accent-color: var(--primary);
}
.address-type-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.address-type-chip.active {
  border-color: var(--primary);
  background: #f0fdf4;
  color: var(--primary);
}

/* Payment Method Cards */
.payment-method-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}
.payment-method-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.payment-method-card.selected {
  border-color: var(--primary);
  background: #fdfdfd;
  box-shadow: 0 0 0 1px var(--primary);
}
.payment-method-card input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY NAVIGATION BAR & SHOP LAYOUT
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  align-items: center;
  justify-content: space-around;
}
.mobile-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: color 0.2s;
}
.mobile-nav-tab i {
  font-size: 16px;
}
.mobile-nav-tab.active, .mobile-nav-tab:hover {
  color: var(--primary);
}
.mobile-badge-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1.2;
}

/* Shop Layout Classes */
.shop-main-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  align-items: start;
}
.shop-sidebar {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}
.shop-sidebar-header-mobile {
  display: none;
}
.mobile-shop-filter-bar {
  display: none;
}
.shop-filter-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .category-bubble-grid { grid-template-columns: repeat(4, 1fr); }
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .promo-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .story-mission-grid { grid-template-columns: 1fr; }
  .center-crest-seal { margin: 10px auto; }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 0; }
  .checkout-grid-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile bottom bar */
  }
  .container {
    padding: 0 14px;
  }
  .mobile-bottom-nav {
    display: flex;
  }

  /* Header adjustments */
  .main-header {
    padding: 10px 0;
  }
  .logo-text {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .logo-sub {
    font-size: 8.5px;
    letter-spacing: 2px;
  }
  .top-bar-right {
    display: none;
  }
  .header-actions span {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }

  /* Shop Page Mobile Drawer & Filter Bar */
  .shop-main-layout {
    grid-template-columns: 1fr;
  }
  .mobile-shop-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 10px;
  }
  .btn-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12.5px;
    color: #1e293b;
    cursor: pointer;
  }
  .shop-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 99999;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    overflow-y: auto;
  }
  .shop-sidebar.active {
    display: block;
  }
  .shop-sidebar-header-mobile {
    display: flex;
  }
  .shop-desktop-top-bar {
    display: none !important;
  }

  /* 2-Column Responsive Product Grid */
  .products-grid, .shop-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card {
    border-radius: 8px;
  }
  .card-info {
    padding: 8px 2px 4px;
  }
  .card-title {
    font-size: 12.5px;
    line-height: 1.35;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
    margin-bottom: 4px;
  }
  .card-price-row {
    font-size: 13px;
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: wrap;
  }
  .current-price {
    font-size: 13.5px;
  }
  .regular-price {
    font-size: 11.5px;
  }
  .discount-tag {
    font-size: 10.5px;
  }
  .card-swatches {
    gap: 4px;
  }
  .color-dot {
    width: 9px;
    height: 9px;
  }

  /* Category Bubbles on Mobile (4 Per Row) */
  .category-bubble-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
  .bubble-circle {
    width: 65px !important;
    height: 65px !important;
    margin-bottom: 4px;
  }
  .bubble-title {
    font-size: 10.5px !important;
    line-height: 1.2;
  }

  /* Banner & Promo Layouts */
  .promo-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .collections-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .in-grid-ad-banner {
    grid-column: span 2 !important;
    min-height: 240px !important;
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .category-bubble-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
  .bubble-circle {
    width: 58px !important;
    height: 58px !important;
  }
  .bubble-title {
    font-size: 9.5px !important;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr !important;
  }
}

