/* ── RESET & BASE ── */
:root {
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --color-text: #111111;
  --color-text-light: #808282; /* Lotts Grey */
  --color-bg: #ffffff;
  --color-accent: #1b4487; /* Lotts Deep Blue */
  --color-border: #e5e5e5;
}

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

html, body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

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

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

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* ── BUTTONS ── */
/* ── BUTTONS (unified system) ── */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Primary — dark fill, white text (default for all CTAs) */
.btn-primary {
  background-color: #142442;
  color: #fff;
  border-color: #142442;
}
.btn-primary:hover {
  background-color: #1e3560;
  border-color: #1e3560;
}

/* Outline — transparent bg, dark border (secondary on light bg) */
.btn-outline {
  background-color: transparent;
  color: #142442;
  border-color: #142442;
}
.btn-outline:hover {
  background-color: #142442;
  color: #fff;
}

/* Light — white fill, dark text (on dark/photo backgrounds) */
.btn-light {
  background-color: #fff;
  color: #142442;
  border-color: #fff;
}
.btn-light:hover {
  background-color: transparent;
  color: #fff;
}

/* Light-outline — white border, white text (secondary on dark bg) */
.btn-light-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-light-outline:hover {
  background-color: #fff;
  color: #142442;
}

/* btn-submit = same as btn-primary (used in product cards & forms) */
.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  text-align: center;
  cursor: pointer;
  background-color: #142442;
  color: #fff;
  border: 2px solid #142442;
}
.btn-submit:hover {
  background-color: #1e3560;
  border-color: #1e3560;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background-color: var(--color-text);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── HEADER ── */
.announcement-bar {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 10px 40px;
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav-center, .header-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-nav-center {
  justify-content: center;
}

.header-nav-right {
  justify-content: flex-end;
}

.header-nav-center a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.3s ease;
  padding: 10px 0;
}

.header-nav-center a:hover {
  opacity: 0.6;
}

/* Dropdown Menus */
.nav-item {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg);
  min-width: 180px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 8px;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  top: 100%;
}
.dropdown a {
  display: block;
  font-size: 12px;
  padding: 8px 16px;
}

.header-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.header-logo img {
  height: 100px;
  width: auto;
}

.icon-btn {
  display: flex;
  align-items: center;
  position: relative;
  transition: opacity 0.3s ease;
}

.icon-btn:hover {
  opacity: 0.6;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero-subhead {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1.1;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ── CATEGORIES ── */
.categories-section {
  padding: 100px 0;
}

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

.category-card {
  display: block;
  group: category;
}

.category-image {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #f5f5f5;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.category-desc { font-family: var(--font-sans); font-size: 14px; color: var(--color-text-light); margin-top: 8px; line-height: 1.5; }

.category-link {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

/* ── PROMO SPLIT ── */
.promo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.promo-image {
  background-size: cover;
  background-position: center top;
  min-height: 400px;
}

.promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10%;
  background-color: #f9f9f9;
}

.promo-title {
  font-size: 40px;
  margin-bottom: 24px;
}

.promo-text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 400px;
}

/* ── NEW ARRIVALS (PRODUCTS) ── */
.products-section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 32px;
}

.brand-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.search-wrapper input {
  padding: 12px 20px;
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
}

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

.prod-card {
  cursor: pointer;
}

.prod-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #f5f5f5;
  margin-bottom: 16px;
  position: relative;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prod-card:hover .prod-img-wrap img {
  transform: scale(1.05);
}

.prod-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.prod-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.prod-price {
  font-size: 14px;
}

.prod-price s {
  color: var(--color-text-light);
  margin-right: 8px;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* ── FOOTER ── */
.site-footer {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.footer-logo {
  height: 24px;
  margin-bottom: 24px;
  filter: grayscale(100%) contrast(200%);
}

.brand-info p {
  font-size: 13px;
  color: var(--color-text-light);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  font-size: 12px;
  color: var(--color-text-light);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  letter-spacing: 1px;
}

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid var(--color-border);
}

.contact-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-hero p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto;
}

.contact-section {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-weight: 500;
}

.contact-info p {
  margin-bottom: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 16px;
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ── CART PAGE ── */
.cart-page { padding: 60px 0 100px; }
.cart-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.cart-header h1 { font-size: 36px; margin: 0; }
.continue-shopping { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-light); text-decoration: underline; }
.cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.cart-item-img { background: #f5f5f5; width: 120px; aspect-ratio: 3/4; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-light); margin-bottom: 4px; }
.cart-item-name { font-size: 16px; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 500; }
.cart-item-color, .cart-item-size { font-size: 13px; color: var(--color-text-light); margin-bottom: 4px; }
.cart-item-actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.quantity-selector { display: flex; border: 1px solid var(--color-border); width: max-content; }
.quantity-selector button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #fff; }
.quantity-selector input { width: 40px; text-align: center; border: none; font-size: 14px; font-family: var(--font-sans); }
.remove-btn { font-size: 12px; color: var(--color-text-light); text-decoration: underline; }
.cart-item-price { font-size: 16px; font-weight: 500; }

.order-summary { background: #f9f9f9; padding: 32px; height: max-content; }
.order-summary h3 { font-family: var(--font-sans); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; font-weight: 600; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 14px; color: var(--color-text-light); }
.summary-row.total { font-weight: 600; color: var(--color-text); font-size: 16px; margin-top: 16px; margin-bottom: 24px; }
.order-summary hr { border: none; border-top: 1px solid var(--color-border); margin: 24px 0; }
.btn-block { display: block; width: 100%; }
.payment-methods { margin-top: 24px; text-align: center; font-size: 12px; color: var(--color-text-light); }

/* ── CHECKOUT PAGE ── */
.checkout-body { background: #fff; }
.checkout-header { border-bottom: 1px solid var(--color-border); }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; padding: 40px 20px; }
.checkout-step { margin-bottom: 40px; }
.checkout-step h2 { font-size: 20px; margin-bottom: 24px; font-family: var(--font-sans); font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row .form-group { margin-bottom: 16px; }
.checkout-step .form-group { margin-bottom: 16px; }
.checkout-step input { width: 100%; padding: 14px; border: 1px solid var(--color-border); font-family: var(--font-sans); font-size: 14px; border-radius: 4px; }
.checkbox-group { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.checkbox-group input { width: auto; margin: 0; }
.checkbox-group label { font-size: 14px; color: var(--color-text-light); }
.secure-note { font-size: 12px; color: var(--color-text-light); margin-bottom: 16px; }
.payment-box { border: 1px solid var(--color-border); padding: 24px; border-radius: 4px; margin-bottom: 24px; background: #fafafa; }

/* Payment Selector Accordion */
.payment-selector-container {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fafafa;
}

.payment-method-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.payment-method-row:hover {
  background: #fdfdfd;
}

.payment-method-row.active {
  background: #f8fafc;
  border-left: 3px solid var(--color-accent, #1e3a8a);
  padding-left: 17px;
}

.payment-method-row:last-of-type {
  border-bottom: none;
}

.payment-method-row.active:last-of-type {
  border-bottom: none;
}

.method-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.method-info input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer;
  accent-color: var(--color-accent, #1e3a8a);
}

.method-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  font-family: var(--font-sans);
}

.method-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-logos img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.method-logos svg {
  height: 16px;
  width: auto;
  fill: currentColor;
}

.payment-details-panel {
  display: none;
  padding: 24px 20px;
  background: #fafafa;
  border-bottom: 1px solid var(--color-border);
}

.payment-details-panel:last-of-type {
  border-bottom: none;
}

.payment-details-panel.active {
  display: block;
  animation: slideDown 0.2s ease-out;
}

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

.payment-instructions {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Mock payment buttons styling */
.mock-button-wrapper {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.apple-pay-mock-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  justify-content: center;
  transition: opacity 0.2s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.apple-pay-mock-btn:hover {
  opacity: 0.9;
}

.google-pay-mock-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  height: 48px;
  transition: opacity 0.2s;
}

.google-pay-mock-btn:hover {
  opacity: 0.9;
}

.google-pay-mock-btn img {
  height: 20px;
  filter: brightness(0) invert(1);
}

.paypal-mock-btn {
  background: #ffc439;
  color: #111;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  height: 48px;
  transition: filter 0.2s;
}

.paypal-mock-btn:hover {
  filter: brightness(0.95);
}

.paypal-mock-btn img {
  height: 18px;
}

.billing-address h3 { font-family: var(--font-sans); font-size: 14px; margin-bottom: 16px; font-weight: 500; }
.btn-large { padding: 20px; font-size: 14px; border-radius: 4px; }

.checkout-sidebar { padding-left: 40px; border-left: 1px solid var(--color-border); }
.summary-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.summary-item { display: flex; align-items: center; gap: 16px; }
.si-img { width: 64px; height: 64px; background: #f5f5f5; border-radius: 8px; position: relative; border: 1px solid var(--color-border); }
.si-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.si-qty { position: absolute; top: -8px; right: -8px; background: rgba(100,100,100,0.9); color: #fff; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.si-details { flex: 1; }
.si-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.si-meta { font-size: 12px; color: var(--color-text-light); }
.si-price { font-size: 14px; font-weight: 500; }
.discount-code { display: flex; gap: 16px; margin: 24px 0; }
.discount-code input { flex: 1; padding: 14px; border: 1px solid var(--color-border); border-radius: 4px; font-family: var(--font-sans); font-size: 14px; }
.checkout-sidebar hr { border: none; border-top: 1px solid var(--color-border); margin: 24px 0; }

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE NAV DRAWER
   ──────────────────────────────────────────────────────────────────────── */

/* Hamburger button — hidden on desktop */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay behind the drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.visible { opacity: 1; }

/* The actual drawer panel */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  overscroll-behavior: contain;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-drawer-header img { height: 48px; width: auto; }
.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
  padding: 4px 8px;
}

.mobile-nav-links {
  flex: 1;
  padding: 24px 0;
}
.mobile-nav-links a,
.mobile-nav-section-title {
  display: block;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text);
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s;
}
.mobile-nav-links a:hover { background: #f8f8f8; }
.mobile-nav-section-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-top: 20px;
  padding-bottom: 8px;
  border-bottom: none;
  font-weight: 600;
}
.mobile-nav-sub a {
  padding-left: 40px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
}

.mobile-drawer-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 20px;
}
.mobile-drawer-footer a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ─────────────────────────────────────────────────────────────────────────
   TABLET  (≤ 1024px)
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .brand-info { grid-column: 1 / -1; margin-bottom: 40px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sidebar { padding-left: 0; border-left: none; border-top: 1px solid var(--color-border); padding-top: 40px; margin-top: 40px; }
  /* Collection grid: comfortably 2–3 cols on tablet */
  .collection-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 24px !important; }
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE  (≤ 768px)
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  .site-header { padding: 12px 16px; }
  .header-nav-center { display: none; }
  .hamburger-btn { display: flex; }
  .mobile-nav-overlay { display: block; }
  .header-logo img { height: 60px; }

  /* Shrink right-side icons so they don't crowd the logo */
  .header-nav-right { gap: 10px; }
  .header-nav-right .icon-btn svg { width: 18px; height: 18px; }

  /* Hero */
  .hero { height: 70vh; min-height: 460px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Category grid: single column on small screens */
  .category-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Promo */
  .promo-section { grid-template-columns: 1fr; }
  .promo-image { height: 55vw; min-height: 220px; }
  .promo-content { padding: 40px 24px; }
  .promo-title { font-size: 28px; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Collection pages grid */
  .collection-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 0 12px !important;
  }

  /* Filter pills — horizontal scroll instead of wrapping */
  .collection-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .collection-filters::-webkit-scrollbar { display: none; }
  .collection-filters .filter-btn { flex-shrink: 0; }

  /* Brand filters on homepage */
  .brand-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 16px 8px; scrollbar-width: none; }
  .brand-filters::-webkit-scrollbar { display: none; }
  .brand-filters .filter-btn { flex-shrink: 0; }

  /* Product card button */
  .btn-submit { padding: 10px 16px; font-size: 11px; letter-spacing: 1px; width: 100%; }

  /* Product cards — tighter on phone */
  .product-title { font-size: 12px; }
  .product-price { font-size: 12px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .social-links { justify-content: center; }

  /* Container */
  .container { padding: 0 16px; }

  /* Sections */
  .categories-section { padding: 60px 0; }
  .products-section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 24px; }

  /* Contact */
  .contact-section { grid-template-columns: 1fr; gap: 40px; padding: 48px 16px; }
  .contact-hero h1 { font-size: 32px; }

  /* Cart */
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-item-img { width: 72px; }
  .cart-item-price { grid-column: 1 / -1; text-align: right; }
  .cart-layout { gap: 32px; }

  /* Checkout */
  .form-row { grid-template-columns: 1fr; }
  .checkout-layout { padding: 24px 16px; }

  /* Search modal */
  .search-modal input { font-size: 18px; width: 92%; }
  .search-results { width: 92%; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   SMALL PHONES  (≤ 390px)
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 390px) {
  .header-logo img { height: 48px; }
  .hero-title { font-size: 1.9rem; }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 8px !important;
  }
  .product-grid { gap: 10px; }
  .footer-top { grid-template-columns: 1fr; }
}


/* Search Modal Overlay */
.search-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-modal.active {
  opacity: 1; visibility: visible;
}
.search-modal-close {
  position: absolute;
  top: 30px; right: 40px;
  background: none; border: none; font-size: 40px; cursor: pointer; color: var(--color-text);
}
.search-modal input {
  width: 80%; max-width: 600px;
  border: none; border-bottom: 2px solid var(--color-text);
  font-size: 24px; padding: 10px 0; background: transparent; outline: none;
  font-family: var(--font-sans);
}
.search-results {
  margin-top: 40px; width: 80%; max-width: 800px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px;
  max-height: 60vh; overflow-y: auto;
}
.search-result-item {
  text-align: center; text-decoration: none; color: inherit;
}
.search-result-item img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; margin-bottom: 12px;
}
.search-result-item h4 {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500; margin-bottom: 4px;
}
.search-result-item p {
  font-size: 12px; color: var(--color-text-light);
}

/* ─── SIMULATED PAYMENT OVERLAYS & MODALS ─── */
.payment-overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-overlay-backdrop.active {
  display: flex;
  opacity: 1;
}

/* iOS Apple Pay Sheet */
.apple-pay-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 460px;
  background: #f4f4f6;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  transition: transform 0.35s cubic-bezier(0.1, 0.8, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 16px 20px 30px;
  box-sizing: border-box;
}

.apple-pay-sheet.active {
  transform: translate(-50%, 0);
}

.ap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e2e4;
}

.ap-cancel-btn {
  background: none;
  border: none;
  color: #007af5;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.ap-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ap-details-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8ea;
}

.ap-details-row:last-of-type {
  border-bottom: none;
}

.ap-label {
  color: #8e8e93;
  width: 90px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ap-val {
  color: #000;
  text-align: right;
  flex: 1;
}

.ap-val strong {
  font-weight: 600;
}

.ap-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #dcdce0;
  border-bottom: 1px solid #dcdce0;
  margin-bottom: 24px;
}

.ap-total-label {
  font-size: 15px;
  font-weight: 600;
  color: #000;
}

.ap-total-val {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.ap-biometric-section {
  text-align: center;
}

.ap-bio-instruction {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
}

.ap-bio-button {
  background: #000;
  border: 1px solid #333;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  transition: transform 0.15s ease, background 0.2s;
}

.ap-bio-button:active {
  transform: scale(0.95);
}

.ap-bio-button.authenticating {
  background: #222;
}

.ap-bio-button svg {
  fill: #fff;
  height: 32px;
  width: 32px;
}

.ap-bio-button.success {
  background: #10b981;
}

/* Spinner for bio button */
.ap-bio-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #007af5;
  animation: ap-spin 1s linear infinite;
  display: none;
  box-sizing: border-box;
}

.ap-bio-button.authenticating .ap-bio-spinner {
  display: block;
}

@keyframes ap-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Google Pay Selector Modal */
.gpay-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 440px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  font-family: "Google Sans", "Product Sans", Roboto, Arial, sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

.gpay-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.gp-header {
  background: #f1f3f4;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dadce0;
}

.gp-body {
  padding: 24px;
}

.gp-selector-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f4;
}

.gp-selector-row:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.gp-icon-circle {
  width: 36px;
  height: 36px;
  background: #f1f3f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-info {
  flex: 1;
  text-align: left;
}

.gp-info h5 {
  font-size: 13px;
  margin: 0 0 4px 0;
  color: #3c4043;
  font-weight: 500;
}

.gp-info p {
  font-size: 14px;
  margin: 0;
  color: #202124;
}

.gp-pay-btn {
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.15s;
}

.gp-pay-btn:hover {
  background: #1557b0;
}

/* PayPal simulated popup window */
.paypal-sim-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 480px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.paypal-sim-popup.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.pp-sim-browser-bar {
  background: #e9ecf0;
  border-bottom: 1px solid #d5d9de;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pp-sim-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccd0d5;
}

.pp-sim-address-field {
  background: #fff;
  border: 1px solid #ccd0d5;
  border-radius: 4px;
  flex: 1;
  padding: 4px 10px;
  font-size: 11px;
  color: #575e65;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pp-sim-address-field svg {
  fill: #0079C1;
  height: 10px;
  width: auto;
}

.pp-sim-body {
  padding: 40px 32px;
  text-align: center;
}

.pp-sim-logo-wrapper {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.pp-sim-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
}

.pp-sim-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #a6a6a6;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.pp-sim-input:focus {
  border-color: #0079C1;
  outline: none;
}

.pp-sim-btn-next {
  background: #0079C1;
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.pp-sim-btn-next:hover {
  background: #005ea6;
}

/* Spinner Overlay for general actions */
.processing-payment-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-family: var(--font-sans);
}

.payment-loading-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}
.payment-loading-ring:after {
  content: " ";
  display: block;
  width: 48px;
  height: 48px;
  margin: 8px;
  border-radius: 50%;
  border: 4px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: payment-loading-ring 1.2s linear infinite;
}
@keyframes payment-loading-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

