/* ==========================================================================
   MAKSA — Bespoke Men's Suiting & Executive Formal Wear
   Theme: Midnight Navy Blue Monochromatic (Zanderio-Compliant Architecture)
   Strict Mobile-First Responsive Layout | Normal Uniform Image Sizing
   ========================================================================== */

:root {
  /* Midnight Navy Blue Monochromatic Palette */
  --navy-950: #050d1a;
  --navy-900: #0a192f;
  --navy-800: #112240;
  --navy-700: #1b3358;
  --navy-600: #1e3a8a;
  --navy-500: #254edb;
  --navy-100: #e2e8f0;
  --navy-50: #f1f5f9;

  /* Clean White & Subtle Light Grey Surfaces */
  --surface-white: #ffffff;
  --surface-grey: #f8fafc;
  --surface-subtle: #f1f5f9;

  /* Typography & Borders */
  --text-heading: #0a192f;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows & Transitions */
  --shadow-xs: 0 1px 3px rgba(10, 25, 47, 0.05);
  --shadow-sm: 0 4px 12px rgba(10, 25, 47, 0.06);
  --shadow-md: 0 10px 25px rgba(10, 25, 47, 0.1);
  --shadow-lg: 0 20px 40px rgba(10, 25, 47, 0.16);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Strict Horizontal Overflow Prevention */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--surface-grey);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* ==========================================================================
   1. TOP EXECUTIVE BAR & FLAWLESS MOBILE-FIRST HEADER
   ========================================================================== */
.top-utility-bar {
  background-color: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.utility-tagline {
  font-weight: 500;
  color: #e2e8f0;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.utility-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--surface-white);
  font-weight: 500;
}

.utility-contact a {
  color: var(--surface-white);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
}

.utility-contact a:hover {
  color: #93c5fd;
  border-bottom-color: #93c5fd;
}

/* Main Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navy-900);
  color: var(--surface-white);
  box-shadow: 0 4px 18px rgba(5, 13, 26, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 0.75rem;
}

/* Executive MAKSA Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--surface-white);
  flex-shrink: 0;
}

.logo-crest {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
}

.logo-crest svg {
  width: 22px;
  height: 22px;
  stroke: var(--surface-white);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--surface-white);
}

.logo-subtext {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #94a3b8;
  margin-top: 2px;
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.65rem;
  }
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e2e8f0;
  padding: 0.35rem 0;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--surface-white);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--surface-white);
}

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

/* Header Actions (Email Pill + Cart + Mobile Hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-email-pill {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  background-color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--surface-white);
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-sm);
}

.header-email-pill:hover {
  background-color: var(--navy-700);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 640px) {
  .header-email-pill {
    display: inline-flex;
  }
}

.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--surface-white);
  color: var(--navy-900);
  border: 1px solid var(--surface-white);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
}

.cart-trigger-btn:hover {
  background-color: var(--navy-100);
}

.cart-count-badge {
  background-color: var(--navy-900);
  color: var(--surface-white);
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--surface-white);
  cursor: pointer;
}

@media (min-width: 960px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background-color: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

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

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list a,
.mobile-nav-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.75rem;
  color: var(--surface-white);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-list a:hover,
.mobile-nav-list button:hover {
  background-color: var(--navy-700);
}

.mobile-drawer-email {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.mobile-drawer-email a {
  color: var(--surface-white);
  font-weight: 600;
  word-break: break-all;
}

/* ==========================================================================
   2. INTRO-FIRST SECTION (CLEAN TEXT-BASED INTRO — NO MASSIVE HERO BANNER)
   ========================================================================== */
.intro-section {
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--surface-subtle) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 1.75rem 0 1.35rem;
}

@media (min-width: 768px) {
  .intro-section {
    padding: 2.25rem 0 1.65rem;
  }
}

.intro-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy-600);
  background-color: var(--navy-50);
  border: 1px solid var(--border-medium);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.intro-lead {
  font-size: clamp(0.92rem, 1.5vw, 1.04rem);
  color: var(--text-body);
  max-width: 760px;
  margin: 0 auto 1.15rem;
  line-height: 1.6;
}

/* Filter & Sort Controls directly inside Intro Section */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: 0.5rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  background-color: var(--surface-white);
  color: var(--text-body);
  border: 1px solid var(--border-medium);
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
}

.filter-btn.active {
  background-color: var(--navy-900);
  color: var(--surface-white);
  border-color: var(--navy-900);
}

.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sort-select {
  background-color: var(--surface-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.38rem 0.65rem;
  font-size: 0.8rem;
  color: var(--navy-900);
  font-weight: 500;
  cursor: pointer;
}

/* ==========================================================================
   3. EXCLUSIVE 6-SUIT PRODUCT GRID (NORMAL, CONSISTENT IMAGE SIZES)
   ========================================================================== */
.catalog-section {
  padding: 1.75rem 0 3rem;
}

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

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
  }
}

.product-card {
  background-color: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* Normal, Standard Cropped Product Image Box (No Oversized Scrolling) */
.product-image-wrap {
  position: relative;
  width: 100%;
  height: 245px;
  background-color: #e5e7eb;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .product-image-wrap {
    height: 265px;
  }
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background-color: rgba(10, 25, 47, 0.92);
  color: var(--surface-white);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.55rem;
  border-radius: 3px;
}

.quick-view-trigger {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  border: 1px solid var(--border-medium);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.quick-view-trigger:hover {
  background-color: var(--navy-900);
  color: var(--surface-white);
  border-color: var(--navy-900);
}

.product-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-600);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.product-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.45;
}

/* Suit Size Selector on Card */
.size-selector-group {
  margin-bottom: 0.9rem;
}

.size-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.73rem;
  color: var(--text-body);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.size-guide-inline {
  color: var(--navy-600);
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
}

.size-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.size-pill {
  flex: 1;
  min-width: 42px;
  text-align: center;
  padding: 0.3rem 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  background-color: var(--surface-grey);
  color: var(--text-body);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.size-pill:hover {
  border-color: var(--navy-800);
}

.size-pill.selected {
  background-color: var(--navy-900);
  color: var(--surface-white);
  border-color: var(--navy-900);
}

/* Price & Action Row */
.product-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.stock-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-700);
  background-color: var(--navy-50);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.card-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-primary-navy {
  background-color: var(--navy-900);
  color: var(--surface-white);
  border: 1px solid var(--navy-900);
  padding: 0.58rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-primary-navy:hover {
  background-color: var(--navy-700);
  border-color: var(--navy-700);
}

.btn-outline-navy {
  background-color: var(--surface-white);
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
  padding: 0.58rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-outline-navy:hover {
  background-color: var(--navy-50);
}

/* ==========================================================================
   4. BESPOKE TAILORING STANDARDS & CRAFTSMANSHIP SECTION
   ========================================================================== */
.craftsmanship-section {
  background-color: var(--navy-900);
  color: var(--surface-white);
  padding: 3rem 0;
  border-top: 1px solid var(--navy-800);
  border-bottom: 1px solid var(--navy-800);
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-header-center h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-header-center p {
  font-size: 0.92rem;
  color: #cbd5e1;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.standard-card {
  background-color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.standard-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}

.standard-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--surface-white);
}

.standard-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* ==========================================================================
   5. WORKING BESPOKE INQUIRY & CLIENT CONTACT FORM (EMAIL-ONLY COMPLIANCE)
   ========================================================================== */
.contact-section {
  background-color: var(--surface-white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1.35fr;
    gap: 2.75rem;
  }
}

.contact-info-panel {
  background-color: var(--navy-900);
  color: var(--surface-white);
  padding: 1.85rem;
  border-radius: var(--radius-md);
}

.contact-info-panel h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.contact-info-panel p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.verified-email-box {
  background-color: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
}

.verified-email-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.verified-email-link {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--surface-white);
  word-break: break-all;
}

.contact-assurance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.contact-form-card {
  background-color: var(--surface-grey);
  border: 1px solid var(--border-medium);
  padding: 1.75rem;
  border-radius: var(--radius-md);
}

.contact-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.contact-form-card > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .form-grid-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  background-color: var(--surface-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--navy-900);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.form-status-alert {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--navy-900);
  color: var(--surface-white);
  font-size: 0.85rem;
}

.form-status-alert.visible {
  display: block;
}

/* ==========================================================================
   6. FLAWLESS MOBILE-FIRST FOOTER (EMAIL ONLY • ZERO FORBIDDEN ELEMENTS)
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  border-top: 3px solid var(--navy-700);
}

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

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

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 2.25rem;
  }
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 0.85rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--surface-white);
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links button {
  font-size: 0.84rem;
  color: #cbd5e1;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--surface-white);
  transform: translateX(2px);
}

.footer-email-card {
  background-color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

.footer-email-card span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 0.2rem;
}

.footer-email-card a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--surface-white);
  word-break: break-all;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: 0.78rem;
  color: #94a3b8;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   7. SLIDE-OUT SHOPPING BAG & COMPLETE WORKING CHECKOUT / POLICY MODALS
   ========================================================================== */
.backdrop-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(5, 13, 26, 0.65);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: none;
}

.backdrop-overlay.active {
  display: block;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--surface-white);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  background-color: var(--navy-900);
  color: var(--surface-white);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.close-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface-white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem;
}

.cart-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-item-row {
  display: flex;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0.45rem;
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-medium);
  border-radius: 3px;
}

.qty-btn {
  background: var(--surface-grey);
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: 700;
}

.qty-val {
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.drawer-footer {
  padding: 1.15rem;
  background-color: var(--surface-grey);
  border-top: 1px solid var(--border-medium);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

.summary-line.total {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-900);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  margin-bottom: 0.9rem;
}

/* Modal Dialogs (Checkout, Quick View, Size Guide, Policies) */
.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-wrapper.active {
  display: flex;
}

.modal-box {
  background-color: var(--surface-white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-medium);
}

.modal-header {
  background-color: var(--navy-900);
  color: var(--surface-white);
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.modal-content-scroll {
  padding: 1.4rem;
  overflow-y: auto;
  font-size: 0.9rem;
}

/* Measurement Table */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.82rem;
}

.size-table th,
.size-table td {
  border: 1px solid var(--border-medium);
  padding: 0.55rem 0.65rem;
  text-align: center;
}

.size-table th {
  background-color: var(--navy-900);
  color: var(--surface-white);
}

.size-table tr:nth-child(even) {
  background-color: var(--surface-grey);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background-color: var(--navy-900);
  color: var(--surface-white);
  border-left: 4px solid #60a5fa;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.84rem;
  font-weight: 500;
  z-index: 300;
  transform: translateY(150%);
  transition: transform 0.25s ease;
  max-width: calc(100vw - 2.5rem);
}

.toast-notification.show {
  transform: translateY(0);
}
