/* ============================================================
   LAMINUR — Main Stylesheet
   Elegant beige & cream palette · Cormorant Garamond + Inter
   ============================================================ */

:root {
  --bg:           #faf6f0;
  --bg-alt:       #f5efe6;
  --bg-card:      #ffffff;
  --beige:        #e8dcc8;
  --beige-dark:   #c9b896;
  --cream:        #f9f3e8;
  --ink:          #3d3324;
  --ink-soft:     #6b5d48;
  --ink-mute:     #9b8b73;
  --line:         #e6dcc9;
  --accent:       #8b6f47;
  --accent-dark:  #6d5635;
  --gold:         #b8945f;
  --error:        #b04848;
  --success:      #5a8a4a;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:     2px;
  --radius-lg:  4px;
  --shadow:     0 4px 30px rgba(61, 51, 36, 0.06);
  --shadow-lg:  0 20px 60px rgba(61, 51, 36, 0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.5px; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }

.container { max-width: 1340px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-msg { text-transform: uppercase; }
.topbar-actions { display: flex; gap: 24px; }

.dropdown { position: relative; }
.dropdown-btn { color: var(--cream); font-size: 12px; letter-spacing: 1px; padding: 4px 0; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  min-width: 140px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; color: var(--ink); font-size: 13px; }
.dropdown-menu a:hover { background: var(--bg-alt); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 40px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--ink);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 38px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: all var(--transition);
  transform: translateX(-50%);
}
.main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background var(--transition);
}
.icon-btn:hover { background: var(--beige); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: var(--transition); }

.search-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  display: none;
  box-shadow: var(--shadow);
}
.search-overlay.active { display: block; }
.search-form { display: flex; gap: 12px; }
.search-form input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 22px;
  font-family: var(--font-serif);
  background: transparent;
  outline: none;
}
.search-form button {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 30px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash {
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.flash-success { background: #e8efe5; color: var(--success); }
.flash-error { background: #f5e5e5; color: var(--error); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 148, 95, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 111, 71, 0.12), transparent 50%);
  animation: drift 20s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.1) rotate(2deg); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  padding-left: 50px;
  animation: fadeUp 1s ease-out;
}
.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 28px;
  color: var(--ink);
  animation: fadeUp 1.1s ease-out 0.2s both;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  margin-bottom: 44px;
  max-width: 540px;
  font-weight: 300;
  animation: fadeUp 1.1s ease-out 0.4s both;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 1px;
  height: 60px;
  background: var(--ink);
  opacity: 0.4;
  overflow: hidden;
}
.hero-scroll span {
  display: block;
  width: 100%;
  height: 30px;
  background: var(--cream);
  animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 17px 42px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 111, 71, 0.3);
}
.btn-primary:disabled {
  background: var(--ink-mute);
  border-color: var(--ink-mute);
  cursor: not-allowed;
  transform: none;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-block { display: block; width: 100%; }
.btn-text {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  text-decoration: underline;
  color: var(--ink-soft);
}
.link-btn {
  text-decoration: underline;
  color: var(--ink-soft);
  font-size: 13px;
}
.link-btn:hover { color: var(--accent); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  margin-bottom: 70px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
}
.cat-0 { background: linear-gradient(135deg, #d4c4a8 0%, #b8945f 100%); }
.cat-1 { background: linear-gradient(135deg, #e8dcc8 0%, #9b8b73 100%); }
.cat-2 { background: linear-gradient(135deg, #f5efe6 0%, #c9b896 100%); }
.cat-3 { background: linear-gradient(135deg, #c9b896 0%, #6b5d48 100%); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,51,36,0.5) 0%, transparent 60%);
  transition: all var(--transition);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(61,51,36,0.7) 0%, rgba(61,51,36,0.2) 100%); }
.cat-text {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  color: var(--cream);
  z-index: 2;
}
.cat-text h3 {
  font-size: 36px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.cat-text span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ============================================================
   PRODUCT GRID & CARD
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}
.product-card {
  position: relative;
  transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-6px); }
.product-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/5;
  margin-bottom: 18px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-sale { background: var(--accent); top: auto; bottom: 14px; }
.product-info { padding: 0 4px; }
.product-info h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  
  letter-spacing: 0.3px;
}
.product-price { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.price-old { text-decoration: line-through; color: var(--ink-mute); font-size: 13px; }
.price-now { color: var(--ink); font-weight: 500; }

/* ============================================================
   BANNER STRIP
   ============================================================ */
.banner-strip { background: var(--ink); color: var(--cream); padding: 70px 0; }
.banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.banner-grid > div { padding: 0 16px; }
.b-icon { display: block; font-size: 32px; margin-bottom: 14px; color: var(--gold); font-family: var(--font-serif); }
.banner-grid h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  
  letter-spacing: 1px;
}
.banner-grid p { font-size: 13px; opacity: 0.7; }

/* ============================================================
   SHOP / FILTERS
   ============================================================ */
.shop-page { padding: 60px 0 100px; }
.shop-head { text-align: center; margin-bottom: 50px; }
.shop-head h1 { margin-bottom: 8px; }
.shop-head p { color: var(--ink-mute); font-size: 13px; letter-spacing: 1px; }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
}

.shop-filters { padding-right: 20px; }
.shop-filters form { position: sticky; top: 130px; }
.filter-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-block h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.filter-block select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 13px;
}
.size-pills, .color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-pills label, .color-pills label { cursor: pointer; }
.size-pills input, .color-pills input { display: none; }
.size-pills span, .color-pills span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.size-pills input:checked + span, .color-pills input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.price-inputs { display: flex; gap: 8px; }
.price-inputs input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 13px;
}
.filter-clear {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  text-decoration: underline;
  color: var(--ink-mute);
}

.empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-mute);
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { padding: 40px 0 100px; }
.breadcrumb {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  margin-bottom: 40px;
}
.breadcrumb a:hover { color: var(--accent); }

.product-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  margin-bottom: 100px;
}
.product-gallery .gallery-main {
  background: var(--bg-alt);
  aspect-ratio: 4/5;
  margin-bottom: 14px;
  overflow: hidden;
}
.product-gallery .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs button {
  background: var(--bg-alt);
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  transition: opacity var(--transition);
}
.gallery-thumbs button:hover { opacity: 0.7; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-detail { padding-top: 20px; }
.product-collection {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.product-detail h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.1;
}
.product-price-large {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-family: var(--font-serif);
  margin-bottom: 24px;
}
.product-price-large .price-old { font-size: 18px; }
.product-price-large .price-now { color: var(--accent); }
.product-meta {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}
.in-stock { color: var(--success); font-weight: 500; }
.out-stock { color: var(--error); }
.product-desc {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}
.product-comp {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.product-form .form-group { margin-bottom: 24px; }
.product-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.size-options, .color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.size-options label, .color-options label { cursor: pointer; }
.size-options input, .color-options input { display: none; }
.size-options span, .color-options span {
  display: inline-block;
  min-width: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  background: var(--bg-card);
  transition: all var(--transition);
}
.size-options input:checked + span, .color-options input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.qty-stepper button {
  width: 42px;
  height: 46px;
  font-size: 18px;
  color: var(--ink-soft);
  transition: background var(--transition);
}
.qty-stepper button:hover { background: var(--bg-alt); }
.qty-stepper input {
  width: 50px;
  height: 46px;
  border: none;
  text-align: center;
  font-size: 14px;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions { margin-top: 28px; }
.product-features {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 60px 0 100px; }
.page-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: clamp(36px, 5vw, 56px);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.cart-items { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item-img { background: var(--bg-alt); aspect-ratio: 4/5; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}
.cart-item-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent);
}
.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-summary {
  background: var(--bg-card);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: sticky;
  top: 130px;
}
.cart-summary h3 {
  font-family: var(--font-serif);
  margin-bottom: 24px;
  font-size: 24px;
}
.coupon-form {
  display: flex;
  margin-bottom: 24px;
  border: 1px solid var(--line);
}
.coupon-form input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
}
.coupon-form button {
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.discount-row { color: var(--success); }
.total-row {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 18px;
  font-size: 20px;
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 500;
}
.cart-summary .btn { margin-top: 24px; }

.empty-state {
  text-align: center;
  padding: 80px 0;
}
.empty-state p {
  font-size: 18px;
  color: var(--ink-mute);
  margin-bottom: 30px;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-page { padding: 60px 0 100px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
}
.checkout-form h3 {
  font-family: var(--font-serif);
  margin: 30px 0 20px;
  font-size: 24px;
}
.checkout-form h3:first-child { margin-top: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group input:disabled { background: var(--bg-alt); color: var(--ink-mute); }

.payment-methods {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.payment-methods label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
}
.payment-methods label:hover { border-color: var(--accent); }
.payment-methods input { accent-color: var(--accent); }
.payment-note { font-size: 12px; color: var(--ink-mute); }

.checkout-summary {
  background: var(--bg-alt);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: sticky;
  top: 130px;
}
.checkout-summary h3 {
  font-family: var(--font-serif);
  margin-bottom: 24px;
  font-size: 24px;
}
.summary-items { margin-bottom: 24px; }
.summary-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
}
.summary-item img { width: 60px; height: 75px; object-fit: cover; }
.summary-item p { margin-bottom: 4px; }
.summary-item small { color: var(--ink-mute); font-size: 11px; }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  text-align: center;
  padding: 80px 32px 100px;
  max-width: 720px;
  margin: 0 auto;
}
.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: pop 0.6s cubic-bezier(0.18, 1.25, 0.4, 1);
}
@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
.success-page h1 { margin-bottom: 16px; }
.order-summary-box {
  background: var(--bg-card);
  padding: 30px;
  margin: 40px 0;
  text-align: left;
  border: 1px solid var(--line);
}
.order-summary-box h3 { margin-bottom: 16px; }
.success-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  padding: 80px 32px;
  display: flex;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  padding: 50px 44px;
  border: 1px solid var(--line);
}
.auth-card h1 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 38px;
}
.auth-sub {
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 30px;
}
.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.auth-alt a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   ACCOUNT PAGES
   ============================================================ */
.account-page { padding: 60px 0 100px; }
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 50px;
}
.account-nav {
  border-right: 1px solid var(--line);
  padding-right: 30px;
}
.account-nav h3 {
  font-family: var(--font-serif);
  margin-bottom: 20px;
  font-size: 22px;
}
.account-nav a {
  display: block;
  padding: 11px 0;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.account-nav a:hover { color: var(--accent); padding-left: 6px; }
.account-nav button {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 0;
}
.account-nav button:hover { color: var(--accent); }

.account-content h1 {
  margin-bottom: 14px;
  font-size: 38px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.stat-card {
  background: var(--bg-card);
  padding: 26px 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}
.data-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.status-pending { background: #fff3e0; color: #b87333; }
.status-processing { background: #e3f2fd; color: #1976d2; }
.status-shipped { background: #e8f5e9; color: #2e7d32; }
.status-delivered { background: #e0f2f1; color: var(--success); }
.status-cancelled { background: #ffebee; color: var(--error); }
.status-active { background: #e8f5e9; color: var(--success); }
.status-inactive { background: #f5f5f5; color: var(--ink-mute); }

.address-card {
  border: 1px solid var(--line);
  padding: 20px 24px;
  margin-bottom: 16px;
  background: var(--bg-card);
}
.address-card h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.address-form, .contact-form { max-width: 600px; margin-top: 24px; }

/* ============================================================
   PAGE HERO (about, contact, etc.)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%);
  padding: 100px 0 80px;
  text-align: center;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--ink-soft); font-size: 15px; letter-spacing: 1px; }

.narrow-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.narrow-content h2 {
  margin: 40px 0 16px;
  color: var(--ink);
}
.narrow-content p { margin-bottom: 18px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-grid h3 { margin-bottom: 16px; }
.contact-grid p { margin-bottom: 12px; color: var(--ink-soft); }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  padding-right: 30px;
  position: relative;
  list-style: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ============================================================
   LOOKBOOK
   ============================================================ */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 16px;
}
.lookbook-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.lookbook-item:hover img { transform: scale(1.08); }
.lookbook-0, .lookbook-3 { grid-row: span 2; }
.lookbook-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(61,51,36,0.7), transparent);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}
.lookbook-item:hover .lookbook-caption { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-alt);
  margin-top: 80px;
}
.newsletter {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter h3 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--cream);
}
.newsletter p { color: rgba(249, 243, 232, 0.7); font-size: 14px; }
.newsletter-form { display: flex; border-bottom: 1px solid var(--cream); }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 0;
  color: var(--cream);
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(249, 243, 232, 0.5); }
.newsletter-form button {
  background: transparent;
  color: var(--cream);
  padding: 16px 24px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-left: 1px solid rgba(249, 243, 232, 0.3);
}

.footer-grid {
  padding: 70px 32px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 6px;
  margin-bottom: 14px;
  color: var(--ink);
}
.footer-tag { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; line-height: 1.7; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 1px;
  transition: all var(--transition);
}
.socials a:hover { background: var(--ink); color: var(--cream); }

.footer-grid h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-grid a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-bottom {
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.5px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 50px; }
  .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
  .checkout-summary, .cart-summary { position: static; }
}

@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .nav-bar { padding: 18px 22px; gap: 20px; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    gap: 18px;
    z-index: 9999;
    visibility: hidden;
    overflow-y: auto;
  }
  .main-nav.open,
  .main-nav.active {
    transform: translateX(0);
    visibility: visible;
  }
  .main-nav a {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .main-nav a:last-child { border-bottom: none; }
  .mobile-toggle { display: flex; z-index: 200; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .brand { font-size: 24px; letter-spacing: 4px; }
  .topbar-msg { display: none; }

  /* Backdrop */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .hero { height: 80vh; }
  .section { padding: 70px 0; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { height: 320px; }
  .banner-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }

  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { padding-right: 0; }
  .shop-filters form { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px 22px 30px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .contact-grid { grid-template-columns: 1fr; }

  .auth-card { padding: 36px 28px; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lookbook-grid { grid-template-columns: 1fr; }
  .banner-grid { grid-template-columns: 1fr; }
  .topbar-actions { gap: 14px; }
  .nav-actions { gap: 8px; }
  .icon-btn { width: 36px; height: 36px; }
}

/* ============================================================
   PHASE 2 — Additions
   ============================================================ */

/* Wishlist heart button on product cards */
.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 3;
  backdrop-filter: blur(4px);
}
.wish-btn:hover {
  background: #fff;
  color: var(--accent);
  transform: scale(1.08);
}
.wish-btn.active {
  color: #c84a4a;
}
.wish-btn.active svg {
  fill: #c84a4a;
}
.wish-btn.popping {
  animation: wish-pop 0.5s ease;
}
@keyframes wish-pop {
  0%,100% { transform: scale(1); }
  40% { transform: scale(1.35); }
}

.wishlist-icon .cart-badge {
  background: #c84a4a;
}

/* Large wishlist button on product page */
.wish-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.wish-btn-lg.active {
  background: #f9e8e8;
  border-color: #c84a4a;
  color: #c84a4a;
}
.wish-btn-lg.active svg {
  fill: #c84a4a;
}

/* Product card needs relative on wrap for heart positioning */
.product-img-wrap { position: relative; }

/* Add-to-cart with tooltip */
.add-wrap {
  position: relative;
}
.add-cart-btn.disabled-soft {
  background: var(--ink-mute);
  border-color: var(--ink-mute);
  cursor: not-allowed;
  pointer-events: none;
}
.add-wrap.show-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(61,51,36,0.2);
  pointer-events: none;
  animation: tooltip-in 0.25s ease;
  z-index: 10;
}
.add-wrap.show-tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border: 6px solid transparent;
  border-top-color: var(--ink);
  z-index: 10;
}
@keyframes tooltip-in {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.req { color: var(--error); }

/* Product short description */
.product-short-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

/* Price percentage tag */
.price-pct {
  display: inline-block;
  background: var(--accent);
  color: var(--cream);
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-left: 8px;
  vertical-align: middle;
}

/* Share buttons */
.product-share {
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.share-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}
.product-share a,
.product-share button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 50%;
  transition: all var(--transition);
  background: var(--bg-card);
  cursor: pointer;
}
.product-share a:hover,
.product-share button:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Product tabs */
.product-tabs {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 50px;
}
.product-tabs .tab-nav {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.product-tabs .tab-btn {
  background: none;
  border: none;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-mute);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.5px;
}
.product-tabs .tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.product-tabs .tab-btn:hover { color: var(--ink); }
.product-tabs .tab-btn.active {
  color: var(--ink);
}
.product-tabs .tab-btn.active::after {
  transform: scaleX(1);
}
.product-tabs .tab-panel {
  display: none;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 15px;
  max-width: 820px;
  animation: fadeUp 0.4s ease;
}
.product-tabs .tab-panel.active { display: block; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 680px;
}
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table th {
  text-align: left;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  width: 40%;
}
.specs-table td {
  padding: 14px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* CMS content styling (from WYSIWYG pages) */
.cms-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  margin: 30px 0 16px;
  color: var(--ink);
}
.cms-content h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 24px 0 12px;
  color: var(--ink);
}
.cms-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.cms-content ul, .cms-content ol {
  margin: 0 0 20px 24px;
  line-height: 1.8;
}
.cms-content ul li, .cms-content ol li { margin-bottom: 8px; }
.cms-content a { color: var(--accent); text-decoration: underline; }
.cms-content strong { color: var(--ink); }
.cms-content img { max-width: 100%; height: auto; margin: 20px 0; }
.cms-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ink-soft);
}

/* Advanced filter toggle */
.filter-advanced-toggle {
  margin: 10px 0;
}
.adv-toggle {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}
.adv-toggle:hover { background: var(--beige); }
.adv-toggle .adv-arrow {
  transition: transform var(--transition);
  font-size: 10px;
}
.adv-toggle.open .adv-arrow { transform: rotate(180deg); }
.filter-advanced {
  animation: slideDown 0.35s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.filter-advanced .check {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.filter-advanced input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 13px;
  font-family: inherit;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(61,51,36,0.18);
  padding: 24px 28px;
  z-index: 9000;
  animation: cookieUp 0.5s cubic-bezier(0.18,1.2,0.4,1);
}
@keyframes cookieUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-popup-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-popup-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cookie-popup-text p {
  
}
.cookie-popup-link {
  font-size: 12px;
  text-decoration: underline;
  color: var(--accent);
}
.cookie-popup-btn {
  padding: 12px 28px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .cookie-popup { left: 10px; right: 10px; padding: 18px 20px; }
  .cookie-popup-inner { flex-direction: column; gap: 14px; align-items: stretch; }
  .product-tabs .tab-nav { gap: 24px; }
  .product-tabs .tab-btn { font-size: 18px; }
  .product-share { flex-wrap: wrap; }
}

/* ============================================================
   Phase 2B — product brand, tags, sale timer, card badges
   ============================================================ */

/* Brand link above title on product page */
.product-brand {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.product-brand:hover { border-bottom-color: var(--accent); }

/* Tag pills above short description on product page */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}
.product-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--bg-card);
}

/* Sale timer */
.sale-timer {
  background: linear-gradient(135deg, #f5e5e5 0%, #fff0f0 100%);
  border: 1px solid #e8c8c8;
  padding: 14px 18px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sale-timer-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b04848;
  font-weight: 500;
}
.sale-timer-counter {
  display: flex;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: #b04848;
}
.sale-timer-counter span {
  display: inline-block;
  background: #fff;
  padding: 4px 10px;
  min-width: 40px;
  text-align: center;
  border: 1px solid #e8c8c8;
  font-weight: 500;
}

/* Card badges (replaces single badge positioning) */
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  align-items: flex-start;
}
.card-badges .badge {
  position: static;
  display: inline-block;
}
.badge-custom {
  background: var(--accent);
  color: var(--cream);
}

/* Category page SEO text at bottom */
.category-seo-text {
  margin-top: 60px;
  padding: 40px 50px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  max-width: none;
  font-size: 14px;
  line-height: 1.8;
}
.category-seo-text h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

/* Shop head description */
.shop-head-desc {
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   Phase 2C — Theme toggle + dark mode
   ============================================================ */
.theme-toggle {
  position: relative; width: 50px; height: 26px;
  background: var(--beige); border-radius: 14px; border: none;
  cursor: pointer; transition: background 0.4s; flex-shrink: 0;
}
.theme-toggle::before {
  content: '🔆'; position: absolute; left: 3px; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; transition: all 0.4s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.theme-toggle.on { background: var(--ink); }
.theme-toggle.on::before {
  content: '☾'; transform: translateX(24px); background: var(--cream);
}

/* Dark mode */
html[data-theme="dark"] {
  --bg: #1a1612; --bg-alt: #221d18; --bg-card: #2a2620; --cream: #f5efe6;
  --ink: #f5efe6; --ink-soft: #d4c4a8; --ink-mute: #9b8b73;
  --line: #3a3328; --beige: #3a3328;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .product-card .product-info h3 a,
html[data-theme="dark"] .price-now { color: var(--ink); }
html[data-theme="dark"] .product-img-wrap,
html[data-theme="dark"] .gallery-main,
html[data-theme="dark"] .cart-item-img { background: var(--bg-alt); }
html[data-theme="dark"] .site-header { background: rgba(26,22,18,0.96); border-bottom-color: var(--line); }
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .cart-summary,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .cookie-popup,
html[data-theme="dark"] .checkout-summary { background: var(--bg-card); border-color: var(--line); }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .site-footer { background: var(--bg-alt); }
html[data-theme="dark"] .footer-grid h4,
html[data-theme="dark"] .footer-brand { color: var(--ink); }

/* ============================================================
   Phase 2D — fixes batch
   ============================================================ */

/* #11: Remove form-group label bottom margin where requested */
.form-group label { margin-bottom: 0 !important; }

/* #1: Theme toggle icons */
.theme-toggle::before { content: '🔆'; top: 0; font-size: 18px; line-height: 22px; }
.theme-toggle.on::before { content: '🌙'; }

/* #2: Topbar, banner-strip, newsletter stay dark in light AND dark mode */
.topbar { background: #2a2620 !important; color: #f5efe6 !important; }
.banner-strip { background: #2a2620 !important; color: #f5efe6 !important; }
.newsletter { background: #2a2620 !important; color: #f5efe6 !important; }

/* #4: Social icons proper centering and sizing */
.socials a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  width: 38px;
  height: 38px;
}
.socials a svg { width: 22px !important; height: 22px !important; display: block; }

/* #7: Dark mode primary button text fix */
html[data-theme="dark"] .btn-primary {
  background: #f5efe6;
  color: #1a1612 !important;
  border-color: #f5efe6;
}
html[data-theme="dark"] .btn-primary:hover {
  background: #d4c4a8;
  border-color: #d4c4a8;
  color: #1a1612 !important;
}

/* FAQ section */
.faq-section { background: var(--bg-alt); padding: 80px 0; }
.faq-section .narrow-content { max-width: 760px; }
html[data-theme="dark"] .faq-section { background: var(--bg-alt); }
html[data-theme="dark"] .faq-item summary { color: var(--ink); }
html[data-theme="dark"] .faq-item p { color: var(--ink-soft); }

/* Hero slide images (light/dark) with parallax */
.hero-img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 90%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s;
  will-change: transform;
}
.hero-img-dark { display: none; }
html[data-theme="dark"] .hero-img-light { display: none; }
html[data-theme="dark"] .hero-img-dark { display: block; }

@media (max-width: 860px) {
  .hero-img { max-width: 70% !important; opacity: 0.5; }
}

/* Hero slider — multiple slides */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: 1px solid rgba(0,0,0,0.1);
  font-size: 28px; line-height: 1; cursor: pointer;
  z-index: 10; transition: all 0.3s; color: var(--ink);
}
.hero-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 30px; }
.hero-next { right: 30px; }
.hero-dots {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer; transition: all 0.3s;
}
.hero-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }
@media (max-width: 700px) { .hero-nav { width: 36px; height: 36px; font-size: 22px; } .hero-prev { left: 10px; } .hero-next { right: 10px; } }

/* Captcha */
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-img { flex-shrink: 0; }
.captcha-img svg { display: block; height: 56px; }
.captcha-row input { flex: 1; }

/* ============================================================
   Phase 2H — Hero slider with full per-element positioning
   ============================================================ */
.hero-pos {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.hero-pos .hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-pos .hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Override ALL legacy hero styles inside positioned slider.
   Each element has its own inline style from DB — CSS just resets defaults. */
.hero-pos .hero-eyebrow,
.hero-pos .hero-title,
.hero-pos .hero-sub,
.hero-pos .hero-cta-btn {
  z-index: 5;
  margin: 0 !important;
  padding: 0;
  animation: none !important;
  max-width: none !important;
  text-align: left;
}
.hero-pos .hero-eyebrow {
  padding-left: 0 !important;
  display: block;
}
.hero-pos .hero-eyebrow::before { display: none !important; }
.hero-pos .hero-title {
  line-height: 0.95;
  color: var(--ink);
}
.hero-pos .hero-sub { color: var(--ink-soft); }
.hero-pos .hero-cta-btn {
  display: inline-block;
  text-decoration: none;
}
.hero-pos .hero-img {
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
  max-width: none !important;
}
.hero-pos .hero-img-dark { display: none; }
html[data-theme="dark"] .hero-pos .hero-img-light { display: none; }
html[data-theme="dark"] .hero-pos .hero-img-dark { display: block; }

@media (max-width: 760px) {
  .hero-pos .hero-title { font-size: clamp(36px, 12vw, 64px) !important; }
  .hero-pos .hero-sub { font-size: 14px !important; }
}

/* ============================================================
   Phase 2J — mobile adaptivity + small fixes
   ============================================================ */

/* Theme toggle and search button in topbar (visible only on mobile) */
.topbar-theme, .topbar-search { display: none; }
.topbar .topbar-theme,
.topbar .topbar-search { background: transparent; border: none; color: inherit; padding: 0 4px; cursor: pointer; }
.topbar .topbar-theme { width: 40px; height: 20px; }
.topbar .topbar-theme::before { font-size: 14px; width: 18px; height: 18px; }

/* Mobile close button in main nav */
.mobile-close {
  display: none;
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  font-size: 28px; line-height: 1;
  color: var(--ink); cursor: pointer;
  z-index: 10;
}

body.nav-open { overflow: hidden; }

@media (max-width: 860px) {
  /* Show theme + search in topbar on mobile */
  .topbar-theme, .topbar-search { display: inline-flex; align-items: center; }
  /* Mobile nav as side drawer */
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 340px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 30px 30px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 999;
    gap: 20px;
  }
  .main-nav.open { right: 0; }
  .main-nav a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .mobile-close { display: block; }
}

/* 404 page responsive */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.page-404 h1 { font-size: clamp(80px, 18vw, 200px); line-height: 1; margin: 0 0 20px; color: var(--accent); }
.page-404 h2 { font-size: clamp(24px, 5vw, 40px); margin: 0 0 20px; }
.page-404 p { font-size: clamp(15px, 2vw, 18px); color: var(--ink-soft); max-width: 500px; margin: 0 0 36px; }
.page-404 .btn { font-size: clamp(13px, 1.5vw, 15px); padding: 14px 36px; }

/* Hero slider - center text elements horizontally when on mobile */
@media (max-width: 760px) {
  .hero-pos .hero-eyebrow,
  .hero-pos .hero-title,
  .hero-pos .hero-sub,
  .hero-pos .hero-cta-btn {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    max-width: 90vw !important;
  }
  .hero-pos .hero-img {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
}

/* Socials under "BİZİ TAKİP EDİN" */
.product-share {
  flex-direction: column;
  align-items: flex-start;
  border: none !important;
}
.product-share .share-label {
  display: block;
  margin-bottom: 12px;
  width: 100%;
}
.product-share a, .product-share button { margin-top: 0; }
.product-share-icons { display: flex; gap: 12px; }

/* Remove underline below share icons */
.product-share::after { display: none !important; }
.product-share { border-bottom: none !important; }

/* Bigger advanced filter toggle arrow on shop */
.advanced-filter-toggle {
  font-size: 15px !important;
  letter-spacing: 2px;
}
.advanced-filter-toggle::after,
.advanced-filter-toggle .toggle-arrow {
  font-size: 22px !important;
  display: inline-block;
  transition: transform 0.3s;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(61,51,36,0.08); }
.contact-icon { font-size: 32px; margin-bottom: 14px; }
.contact-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 400;
}
.contact-content {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.contact-map iframe { display: block; }

html[data-theme="dark"] .contact-map iframe { filter: grayscale(0.5) invert(0.85) hue-rotate(180deg); }

/* ============================================================
   Phase 2L — Contact page layout + other fixes
   ============================================================ */

/* Page hero banner used by contact, about, etc. */
.page-hero {
  background: var(--bg-alt);
  padding: 80px 20px 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -1px;
}
.page-hero p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contact map */
.contact-map-section {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.contact-map-wrap { line-height: 0; }
.contact-map-wrap iframe { display: block; width: 100%; filter: grayscale(0.35); }
html[data-theme="dark"] .contact-map-wrap iframe { filter: grayscale(0.5) invert(0.88) hue-rotate(180deg); }

/* Two-column layout: info left, form right */
.contact-section { padding: 80px 20px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-info-row {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.contact-info-row .contact-icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.contact-info-row h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--ink);
}
.contact-info-row .contact-content {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact-form-col h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  margin: 0 0 24px;
  color: var(--ink);
}
.contact-form .form-group { margin-bottom: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); outline: none; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-section { padding: 50px 20px; }
}

/* Desktop-only buttons in nav-actions */
.desktop-only { display: inline-flex; }
@media (max-width: 860px) {
  .desktop-only { display: none !important; }
}

/* Topbar actions layout on mobile: language+currency left, theme+search right */
@media (max-width: 860px) {
  .topbar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .topbar-msg { display: none; }
  .topbar-actions {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .topbar-actions .topbar-theme { order: 1; }
  .topbar-actions .topbar-search { order: 2; margin-right: auto; }
  .topbar-actions .dropdown { order: 10; }
}

/* Share bar bigger gap icons but no separator line — already fixed */

/* Socials in footer: inline row under BİZİ TAKİP EDİN heading */
.footer-grid .socials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

/* Advanced filter toggle — replace gear with arrow, bigger */
.advanced-filter-toggle { gap: 10px; }
.advanced-filter-toggle::after {
  content: '▾';
  font-size: 20px !important;
  line-height: 1;
  transition: transform 0.3s;
}
.advanced-filter-toggle.open::after { transform: rotate(180deg); }
/* Hide any existing gear icon if present */
.advanced-filter-toggle svg { display: none; }

/* ============================================================
   Phase 2M — final polish fixes
   ============================================================ */

/* #3 Product page socials: heading on top, icons inline below */
.product-share {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}
.product-share-icons,
.product-share .share-icons {
  display: inline-flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

/* #4 Theme toggle adapts to dark mode */
.theme-toggle {
  background: rgba(0,0,0,0.08);
  transition: background 0.3s;
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(255,255,255,0.15);
}
.theme-toggle::before {
  background: var(--cream);
  color: var(--ink);
  transition: background 0.3s, color 0.3s;
}
html[data-theme="dark"] .theme-toggle::before {
  background: var(--ink);
  color: var(--cream);
}
html[data-theme="dark"] .theme-toggle.on::before {
  background: var(--cream);
  color: var(--ink);
}

/* #6 Advanced filter arrow size */
.adv-arrow,
.advanced-filter-toggle::after {
  font-size: 20px !important;
}

/* #7 Badge text color inverts in dark mode */
html[data-theme="dark"] .badge,
html[data-theme="dark"] .badge-new,
html[data-theme="dark"] .badge-sale,
html[data-theme="dark"] .badge-soldout,
html[data-theme="dark"] .product-badge {
  color: var(--ink) !important;
}
html[data-theme="dark"] .badge-new { background: var(--cream); }
html[data-theme="dark"] .badge-sale { background: #f5d4c0; color: #6b2e1a !important; }

/* ============================================================
   Phase 2N — Dark mode: badges, filters, secondary buttons
   In dark mode the original CSS uses var(--cream) for text
   which itself swaps to light → invisible text. Use LITERAL
   dark hex (#1a1612) for forced contrast on light bgs.
   ============================================================ */

/* Badges in dark mode: light bg + LITERAL dark text */
html[data-theme="dark"] .badge,
html[data-theme="dark"] .badge-new,
html[data-theme="dark"] .badge-sale,
html[data-theme="dark"] .badge-soldout,
html[data-theme="dark"] .badge-default,
html[data-theme="dark"] .badge-custom,
html[data-theme="dark"] .product-badge,
html[data-theme="dark"] .card-badges .badge,
html[data-theme="dark"] .tag-badge,
html[data-theme="dark"] .label-badge,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .pill,
html[data-theme="dark"] .tag-pill {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}
html[data-theme="dark"] .badge-sale {
  background: #d4a574 !important;
  color: #1a1612 !important;
}

/* Outline / filter / secondary buttons: light bg + LITERAL dark text */
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .btn-filter,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .btn-block:not(.btn-primary),
html[data-theme="dark"] .filter-advanced-toggle,
html[data-theme="dark"] .filter-advanced-toggle button,
html[data-theme="dark"] .filter-clear {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}
html[data-theme="dark"] .btn-outline:hover,
html[data-theme="dark"] .btn-secondary:hover,
html[data-theme="dark"] .filter-clear:hover {
  background: #d4c4a8 !important;
  color: #1a1612 !important;
}

/* Filter sidebar text labels (NOT buttons) — keep light text on dark page bg */
html[data-theme="dark"] .shop-filters,
html[data-theme="dark"] .filter-block,
html[data-theme="dark"] .filter-block label,
html[data-theme="dark"] .filter-block h4,
html[data-theme="dark"] .filter-block legend {
  color: var(--ink) !important;
}

/* #7 Topbar theme toggle (mobile) — match site theme */
.topbar .topbar-theme {
  position: relative;
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.topbar .topbar-theme::before {
  content: '🔆';
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 50%;
  transition: left 0.3s, background 0.3s, content 0.1s;
}
html[data-theme="dark"] .topbar .topbar-theme {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.35);
}
html[data-theme="dark"] .topbar .topbar-theme::before {
  content: '🌙';
  left: calc(100% - 18px);
  background: var(--ink);
  color: var(--cream);
}
.topbar .topbar-search {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Phase 2P — final mobile/desktop polish
   ============================================================ */

/* #1 Hover effect on mobile nav links */
.main-nav a:hover,
.main-nav a:active {
  color: var(--accent) !important;
  background: var(--bg-alt);
  padding-left: 8px;
  transition: all 0.2s ease;
}

/* #3 Kill horizontal scroll on all devices */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* #4 Filter sidebar buttons — FIXED colors in both modes */
.shop-filters .btn,
.shop-filters .btn-outline,
.shop-filters .btn-block,
.shop-filters button[type="submit"],
.filter-clear,
.filter-advanced-toggle,
.filter-advanced-toggle button {
  background: #3d3324 !important;
  color: #f5efe6 !important;
  border-color: #3d3324 !important;
}
.shop-filters .btn:hover,
.shop-filters .btn-outline:hover,
.shop-filters .btn-block:hover,
.shop-filters button[type="submit"]:hover,
.filter-clear:hover {
  background: #6b5d48 !important;
  color: #f5efe6 !important;
}
/* Override the dark mode overrides for filter buttons specifically */
html[data-theme="dark"] .shop-filters .btn,
html[data-theme="dark"] .shop-filters .btn-outline,
html[data-theme="dark"] .shop-filters .btn-block,
html[data-theme="dark"] .shop-filters button[type="submit"],
html[data-theme="dark"] .filter-clear,
html[data-theme="dark"] .filter-advanced-toggle,
html[data-theme="dark"] .filter-advanced-toggle button {
  background: #3d3324 !important;
  color: #f5efe6 !important;
  border-color: #3d3324 !important;
}

/* ============================================================
   Phase 2Q — final polish
   ============================================================ */

/* #1 Cookie popup fully adapted for mobile (Android + iOS) */
@media (max-width: 680px) {
  .cookie-popup {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .cookie-popup-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .cookie-popup-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  .cookie-popup-btn {
    width: 100% !important;
    padding: 10px !important;
    font-size: 12px !important;
  }
}

/* #2 Force hide desktop topbar search */
.topbar-search { display: none !important; }
@media (max-width: 860px) {
  .topbar-search { display: inline-flex !important; align-items: center; }
}

/* #4 Filter sidebar size/color swatches — text color when selected in dark mode */
html[data-theme="dark"] .shop-filters input[type="radio"]:checked + label,
html[data-theme="dark"] .shop-filters input[type="checkbox"]:checked + label,
html[data-theme="dark"] .shop-filters .size-swatch.active,
html[data-theme="dark"] .shop-filters .size-swatch.selected,
html[data-theme="dark"] .shop-filters .swatch.active,
html[data-theme="dark"] .shop-filters .size-btn.active,
html[data-theme="dark"] .shop-filters .filter-option.active,
html[data-theme="dark"] .shop-filters .filter-value.selected,
html[data-theme="dark"] .shop-filters label.active,
html[data-theme="dark"] .shop-filters label:has(input:checked) {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}

/* Product detail page — size/color pickers in dark mode */
html[data-theme="dark"] .size-picker .size-btn.active,
html[data-theme="dark"] .size-picker button.active,
html[data-theme="dark"] .variant-picker .variant-btn.active,
html[data-theme="dark"] .option-swatch.active,
html[data-theme="dark"] .size-option.active,
html[data-theme="dark"] .size-option.selected,
html[data-theme="dark"] .variant-option.active,
html[data-theme="dark"] .variant-option.selected,
html[data-theme="dark"] .color-swatch.active {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #1a1612 !important;
}

/* #5 Restore underline+color hover for top menu AND nav menu (no bg change) */
.main-nav a:hover,
.main-nav a:active,
.top-menu a:hover,
.topbar-top-menu a:hover {
  background: transparent !important;
  padding-left: inherit !important;
  color: var(--accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  transition: color 0.2s ease !important;
}

/* #6 Shop head spacing on small mobile */
@media (max-width: 680px) {
  .shop-head { margin-top: 30px; margin-bottom: 20px; }
}

/* #7 Tighter line-height in footer grid */
.footer-grid { line-height: 1.8; }
.footer-grid a,
.footer-grid p,
.footer-grid .footer-content,
.footer-grid .footer-content a {
  line-height: 12px;
  display: block;
  padding: 6px 0;
}

/* ============================================================
   Phase 2R — final small fixes
   ============================================================ */

/* #1 Remove underline from top-menu links (keep accent color on hover only) */
.main-nav a,
.main-nav a:link,
.main-nav a:visited,
.top-menu a,
.topbar-top-menu a {
  text-decoration: none !important;
}
.main-nav a:hover,
.main-nav a:active,
.top-menu a:hover,
.topbar-top-menu a:hover {
  text-decoration: none !important;
  background: transparent !important;
  color: var(--accent) !important;
}

/* #2 Filter sidebar checked state — BLACK text (both themes) */
.shop-filters input[type="radio"]:checked + label,
.shop-filters input[type="checkbox"]:checked + label,
.shop-filters label:has(input:checked),
.shop-filters .pill.active,
.shop-filters .pill.selected,
.shop-filters .pill.checked,
.shop-filters .size-option.active,
.shop-filters .size-option.selected,
.shop-filters .size-swatch.active,
.shop-filters .size-swatch.selected,
.shop-filters .size-btn.active,
.shop-filters .size-btn.selected,
.shop-filters .swatch.active,
.shop-filters .swatch.selected,
.shop-filters .collection-btn.active,
.shop-filters .collection-btn.selected,
.shop-filters .filter-option.active,
.shop-filters .filter-option.selected,
.shop-filters .filter-value.active,
.shop-filters .filter-value.selected,
.shop-filters .filter-chip.active,
.shop-filters .filter-chip.selected,
.shop-filters label.active,
.shop-filters label.selected {
  color: #1a1612 !important;
  background: #f5efe6 !important;
  border-color: #1a1612 !important;
}

/* Same overrides in dark mode (to beat earlier dark-mode rules) */
html[data-theme="dark"] .shop-filters input[type="radio"]:checked + label,
html[data-theme="dark"] .shop-filters input[type="checkbox"]:checked + label,
html[data-theme="dark"] .shop-filters label:has(input:checked),
html[data-theme="dark"] .shop-filters .pill.active,
html[data-theme="dark"] .shop-filters .pill.selected,
html[data-theme="dark"] .shop-filters .pill.checked,
html[data-theme="dark"] .shop-filters .size-option.active,
html[data-theme="dark"] .shop-filters .size-option.selected,
html[data-theme="dark"] .shop-filters .size-swatch.active,
html[data-theme="dark"] .shop-filters .size-swatch.selected,
html[data-theme="dark"] .shop-filters .size-btn.active,
html[data-theme="dark"] .shop-filters .size-btn.selected,
html[data-theme="dark"] .shop-filters .swatch.active,
html[data-theme="dark"] .shop-filters .swatch.selected,
html[data-theme="dark"] .shop-filters .collection-btn.active,
html[data-theme="dark"] .shop-filters .collection-btn.selected,
html[data-theme="dark"] .shop-filters .filter-option.active,
html[data-theme="dark"] .shop-filters .filter-option.selected,
html[data-theme="dark"] .shop-filters .filter-value.active,
html[data-theme="dark"] .shop-filters .filter-value.selected,
html[data-theme="dark"] .shop-filters .filter-chip.active,
html[data-theme="dark"] .shop-filters .filter-chip.selected,
html[data-theme="dark"] .shop-filters label.active,
html[data-theme="dark"] .shop-filters label.selected {
  color: #1a1612 !important;
  background: #f5efe6 !important;
  border-color: #f5efe6 !important;
}

/* Inner text of checked labels (if child span) */
.shop-filters input:checked + label *,
.shop-filters label:has(input:checked) *,
.shop-filters .pill.active *,
.shop-filters .size-option.active *,
.shop-filters .swatch.active *,
.shop-filters label.active * {
  color: #1a1612 !important;
}

/* ============================================================
   Phase 2S — unify filter/option/coupon buttons with SEPETE EKLE (btn-primary)
   Same color formula in both themes:
   - Day:   dark bg (var(--ink))   + cream text (var(--cream))
   - Night: light bg (#f5efe6)     + dark text (#1a1612)
   ============================================================ */

/* ---------- NORMAL (inactive) state: subtle — use outline style ---------- */
.shop-filters .pill,
.shop-filters .size-option,
.shop-filters .size-swatch,
.shop-filters .size-btn,
.shop-filters .swatch,
.shop-filters .collection-btn,
.shop-filters .filter-option,
.shop-filters .filter-value,
.shop-filters .filter-chip,
.shop-filters input[type="radio"] + label,
.shop-filters input[type="checkbox"] + label,
.product-single .size-option,
.product-single .size-swatch,
.product-single .size-btn,
.product-single .variant-btn,
.product-single .variant-option,
.product-single .option-swatch,
.product-single .color-swatch,
.product-single .size-picker button,
.product-single .variant-picker button,
.size-picker button,
.variant-picker button,
.cart-coupon-form input[type="text"],
.coupon-form input[type="text"],
.cart-page .coupon-form input[type="text"] {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 1px;
}

/* Hover (inactive) — same as .btn-outline:hover */
.shop-filters .pill:hover,
.shop-filters .size-option:hover,
.shop-filters .size-swatch:hover,
.shop-filters .size-btn:hover,
.shop-filters .swatch:hover,
.shop-filters .collection-btn:hover,
.shop-filters .filter-option:hover,
.shop-filters .filter-value:hover,
.shop-filters .filter-chip:hover,
.shop-filters input[type="radio"]:not(:checked) + label:hover,
.shop-filters input[type="checkbox"]:not(:checked) + label:hover,
.product-single .size-option:hover,
.product-single .size-swatch:hover,
.product-single .size-btn:hover,
.product-single .variant-btn:hover,
.product-single .variant-option:hover,
.product-single .option-swatch:hover,
.product-single .color-swatch:hover,
.size-picker button:hover,
.variant-picker button:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ---------- CHECKED / ACTIVE state: exact clone of .btn-primary ---------- */
/* DAY mode */
.shop-filters input[type="radio"]:checked + label,
.shop-filters input[type="checkbox"]:checked + label,
.shop-filters label:has(input:checked),
.shop-filters .pill.active, .shop-filters .pill.selected, .shop-filters .pill.checked,
.shop-filters .size-option.active, .shop-filters .size-option.selected,
.shop-filters .size-swatch.active, .shop-filters .size-swatch.selected,
.shop-filters .size-btn.active, .shop-filters .size-btn.selected,
.shop-filters .swatch.active, .shop-filters .swatch.selected,
.shop-filters .collection-btn.active, .shop-filters .collection-btn.selected,
.shop-filters .filter-option.active, .shop-filters .filter-option.selected,
.shop-filters .filter-value.active, .shop-filters .filter-value.selected,
.shop-filters .filter-chip.active, .shop-filters .filter-chip.selected,
.shop-filters label.active, .shop-filters label.selected,
.product-single .size-option.active, .product-single .size-option.selected,
.product-single .size-swatch.active, .product-single .size-swatch.selected,
.product-single .size-btn.active, .product-single .size-btn.selected,
.product-single .variant-btn.active, .product-single .variant-btn.selected,
.product-single .variant-option.active, .product-single .variant-option.selected,
.product-single .option-swatch.active, .product-single .option-swatch.selected,
.product-single .color-swatch.active, .product-single .color-swatch.selected,
.size-picker button.active, .size-picker button.selected,
.variant-picker button.active, .variant-picker button.selected {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border-color: var(--ink) !important;
}

/* Ensure nested text also inherits cream color */
.shop-filters input:checked + label *,
.shop-filters label:has(input:checked) *,
.shop-filters .pill.active *, .shop-filters .pill.selected *,
.shop-filters .size-option.active *, .shop-filters .size-option.selected *,
.shop-filters .filter-chip.active *, .shop-filters .filter-chip.selected *,
.shop-filters label.active *, .shop-filters label.selected *,
.product-single .size-option.active *, .product-single .size-option.selected *,
.product-single .size-btn.active *, .product-single .size-btn.selected *,
.product-single .variant-option.active *, .product-single .variant-option.selected * {
  color: var(--cream) !important;
}

/* NIGHT mode — inverted like btn-primary */
html[data-theme="dark"] .shop-filters input[type="radio"]:checked + label,
html[data-theme="dark"] .shop-filters input[type="checkbox"]:checked + label,
html[data-theme="dark"] .shop-filters label:has(input:checked),
html[data-theme="dark"] .shop-filters .pill.active,
html[data-theme="dark"] .shop-filters .pill.selected,
html[data-theme="dark"] .shop-filters .pill.checked,
html[data-theme="dark"] .shop-filters .size-option.active,
html[data-theme="dark"] .shop-filters .size-option.selected,
html[data-theme="dark"] .shop-filters .size-swatch.active,
html[data-theme="dark"] .shop-filters .size-swatch.selected,
html[data-theme="dark"] .shop-filters .size-btn.active,
html[data-theme="dark"] .shop-filters .size-btn.selected,
html[data-theme="dark"] .shop-filters .swatch.active,
html[data-theme="dark"] .shop-filters .swatch.selected,
html[data-theme="dark"] .shop-filters .collection-btn.active,
html[data-theme="dark"] .shop-filters .collection-btn.selected,
html[data-theme="dark"] .shop-filters .filter-option.active,
html[data-theme="dark"] .shop-filters .filter-option.selected,
html[data-theme="dark"] .shop-filters .filter-value.active,
html[data-theme="dark"] .shop-filters .filter-value.selected,
html[data-theme="dark"] .shop-filters .filter-chip.active,
html[data-theme="dark"] .shop-filters .filter-chip.selected,
html[data-theme="dark"] .shop-filters label.active,
html[data-theme="dark"] .shop-filters label.selected,
html[data-theme="dark"] .product-single .size-option.active,
html[data-theme="dark"] .product-single .size-option.selected,
html[data-theme="dark"] .product-single .size-swatch.active,
html[data-theme="dark"] .product-single .size-swatch.selected,
html[data-theme="dark"] .product-single .size-btn.active,
html[data-theme="dark"] .product-single .size-btn.selected,
html[data-theme="dark"] .product-single .variant-btn.active,
html[data-theme="dark"] .product-single .variant-btn.selected,
html[data-theme="dark"] .product-single .variant-option.active,
html[data-theme="dark"] .product-single .variant-option.selected,
html[data-theme="dark"] .product-single .option-swatch.active,
html[data-theme="dark"] .product-single .option-swatch.selected,
html[data-theme="dark"] .product-single .color-swatch.active,
html[data-theme="dark"] .product-single .color-swatch.selected,
html[data-theme="dark"] .size-picker button.active,
html[data-theme="dark"] .size-picker button.selected,
html[data-theme="dark"] .variant-picker button.active,
html[data-theme="dark"] .variant-picker button.selected {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}

html[data-theme="dark"] .shop-filters input:checked + label *,
html[data-theme="dark"] .shop-filters label:has(input:checked) *,
html[data-theme="dark"] .shop-filters .pill.active *,
html[data-theme="dark"] .shop-filters .pill.selected *,
html[data-theme="dark"] .shop-filters label.active *,
html[data-theme="dark"] .shop-filters label.selected *,
html[data-theme="dark"] .product-single .size-option.active *,
html[data-theme="dark"] .product-single .size-option.selected *,
html[data-theme="dark"] .product-single .size-btn.active *,
html[data-theme="dark"] .product-single .variant-option.active *,
html[data-theme="dark"] .product-single .variant-option.selected * {
  color: #1a1612 !important;
}

/* Inactive state in night mode */
html[data-theme="dark"] .shop-filters .pill,
html[data-theme="dark"] .shop-filters .size-option:not(.active):not(.selected),
html[data-theme="dark"] .shop-filters .size-swatch:not(.active):not(.selected),
html[data-theme="dark"] .shop-filters .filter-chip:not(.active):not(.selected),
html[data-theme="dark"] .product-single .size-option:not(.active):not(.selected),
html[data-theme="dark"] .product-single .size-btn:not(.active):not(.selected),
html[data-theme="dark"] .product-single .variant-option:not(.active):not(.selected) {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-soft);
}
html[data-theme="dark"] .shop-filters .pill:hover,
html[data-theme="dark"] .shop-filters .size-option:hover,
html[data-theme="dark"] .shop-filters .size-swatch:hover,
html[data-theme="dark"] .product-single .size-option:hover,
html[data-theme="dark"] .product-single .size-btn:hover,
html[data-theme="dark"] .product-single .variant-option:hover {
  background: #f5efe6;
  color: #1a1612;
  border-color: #f5efe6;
}

/* ---------- Coupon input + apply button (on /cart) ---------- */
.cart-coupon-form,
.coupon-form,
.cart-page .coupon-form {
  display: flex;
  gap: 8px;
}
.cart-coupon-form input[type="text"],
.coupon-form input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
}
.cart-coupon-form button,
.coupon-form button,
.cart-page .coupon-form button {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: 1px solid var(--ink) !important;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cart-coupon-form button:hover,
.coupon-form button:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
html[data-theme="dark"] .cart-coupon-form input[type="text"],
html[data-theme="dark"] .coupon-form input[type="text"] {
  border-color: var(--ink-soft);
  color: var(--ink);
}
html[data-theme="dark"] .cart-coupon-form button,
html[data-theme="dark"] .coupon-form button {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}

/* ============================================================
   Phase 2T — form + socials theme + advanced toggle + filter clear
   ============================================================ */

/* #1a .container.search-form — inherit btn-primary formula */
.container.search-form input[type="text"],
.container.search-form input[type="search"] {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.container.search-form button,
.container.search-form button[type="submit"] {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: 1px solid var(--ink) !important;
}
.container.search-form button:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--cream) !important;
}
html[data-theme="dark"] .container.search-form input[type="text"],
html[data-theme="dark"] .container.search-form input[type="search"] {
  border-color: var(--ink-soft);
  color: var(--ink);
}
html[data-theme="dark"] .container.search-form button,
html[data-theme="dark"] .container.search-form button[type="submit"] {
  background: #f5efe6 !important;
  color: #1a1612 !important;
  border-color: #f5efe6 !important;
}
html[data-theme="dark"] .container.search-form button:hover {
  background: #d4c4a8 !important;
  border-color: #d4c4a8 !important;
  color: #1a1612 !important;
}

/* #1b .socials — icons invert properly in dark mode */
.socials a,
.socials a svg {
  color: var(--ink);
  fill: var(--ink);
  transition: color 0.25s, fill 0.25s, opacity 0.25s;
}
.socials a:hover,
.socials a:hover svg {
  color: var(--accent);
  fill: var(--accent);
  opacity: 1;
}
html[data-theme="dark"] .socials a,
html[data-theme="dark"] .socials a svg,
html[data-theme="dark"] .socials a svg path,
html[data-theme="dark"] .socials a svg circle,
html[data-theme="dark"] .socials a svg rect,
html[data-theme="dark"] .socials a svg polygon {
  color: #f5efe6 !important;
  fill: #f5efe6 !important;
  stroke: #f5efe6 !important;
}
html[data-theme="dark"] .socials a:hover,
html[data-theme="dark"] .socials a:hover svg,
html[data-theme="dark"] .socials a:hover svg path,
html[data-theme="dark"] .socials a:hover svg circle,
html[data-theme="dark"] .socials a:hover svg rect {
  color: var(--accent) !important;
  fill: var(--accent) !important;
  stroke: var(--accent) !important;
}

/* #2 Footer menu links hover */
.footer-grid a,
.footer-grid .footer-content a {
  color: var(--ink-soft);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-grid a:hover,
.footer-grid .footer-content a:hover {
  color: var(--accent) !important;
  padding-left: 6px;
  text-decoration: none;
}
html[data-theme="dark"] .footer-grid a,
html[data-theme="dark"] .footer-grid .footer-content a {
  color: var(--ink-soft);
}
html[data-theme="dark"] .footer-grid a:hover,
html[data-theme="dark"] .footer-grid .footer-content a:hover {
  color: var(--accent) !important;
}

/* #3 GELİŞMİŞ FİLTRE — accent bg (root var), contrasting text, never blends */
.filter-advanced-toggle,
.filter-advanced-toggle button,
button.filter-advanced-toggle,
.advanced-filter-toggle {
  background: var(--beige) !important;
  color: var(--ink) !important;
  border: 1px solid var(--beige) !important;
  font-weight: 500;
}
.filter-advanced-toggle:hover,
.filter-advanced-toggle button:hover,
button.filter-advanced-toggle:hover,
.advanced-filter-toggle:hover {
  background: var(--beige) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}
html[data-theme="dark"] .filter-advanced-toggle,
html[data-theme="dark"] .filter-advanced-toggle button,
html[data-theme="dark"] button.filter-advanced-toggle,
html[data-theme="dark"] .advanced-filter-toggle {
  background: #3a3328 !important;
  color: #f5efe6 !important;
  border-color: #3a3328 !important;
}
html[data-theme="dark"] .filter-advanced-toggle:hover,
html[data-theme="dark"] .filter-advanced-toggle button:hover,
html[data-theme="dark"] button.filter-advanced-toggle:hover,
html[data-theme="dark"] .advanced-filter-toggle:hover {
  background: #3a3328 !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* #4 .filter-clear — only text, no bg, in any state */
.filter-clear,
a.filter-clear,
.shop-filters .filter-clear {
  background: transparent !important;
  border: none !important;
  color: var(--ink) !important;
  padding: 8px 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-size: 12px;
  letter-spacing: 1px;
  display: inline-block;
}
.filter-clear:hover,
a.filter-clear:hover,
.shop-filters .filter-clear:hover {
  background: transparent !important;
  border: none !important;
  color: var(--accent) !important;
  text-decoration: underline !important;
}
html[data-theme="dark"] .filter-clear,
html[data-theme="dark"] a.filter-clear,
html[data-theme="dark"] .shop-filters .filter-clear {
  background: transparent !important;
  border: none !important;
  color: var(--ink) !important;
}
html[data-theme="dark"] .filter-clear:hover,
html[data-theme="dark"] a.filter-clear:hover,
html[data-theme="dark"] .shop-filters .filter-clear:hover {
  background: transparent !important;
  color: var(--accent) !important;
}

/* ============================================================
   Phase 3C — Social icons via CSS mask (theme-aware)
   ============================================================ */
.socials a .social-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: var(--ink);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.25s, transform 0.25s;
}
.socials a:hover .social-icon {
  background-color: var(--accent);
  transform: translateY(-2px);
}
html[data-theme="dark"] .socials a .social-icon {
  background-color: #f5efe6;
}
html[data-theme="dark"] .socials a:hover .social-icon {
  background-color: var(--accent);
}

/* ============================================================
   Newsletter form — captcha + info toggles
   ============================================================ */
.newsletter-form { flex-direction: column; border-bottom: none; gap: 8px; }
.newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--cream);
  padding-bottom: 8px;
}
.newsletter-captcha { display: flex; gap: 6px; align-items: center; }
.newsletter-captcha .captcha-img {
  display: flex; align-items: center; justify-content: center;
  height: 40px; width: 110px;
  padding: 0; background: beige;
  border: 1px solid rgba(249,243,232,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.newsletter-captcha .captcha-img svg {
  height: 100%; width: 100%;
  display: block; background: transparent !important;
  border: none !important;
}
.newsletter-captcha input {
  height: 40px; width: 110px !important;
  padding: 0 8px; font-size: 14px;
  text-align: center; letter-spacing: 2px;
  background: rgba(249,243,232,0.08) !important; color: var(--cream) !important;
  border: 1px solid rgba(249,243,232,0.3) !important;
  border-radius: 2px;
  box-sizing: border-box;
}
.newsletter-info-toggles {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; flex-wrap: wrap;
  font-size: 11px;
}
.newsletter-info-toggles .nl-toggle {
  background: none; border: none; color: rgba(249,243,232,0.7);
  cursor: pointer; padding: 2px 0;
  font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase;
  font-family: inherit;
  transition: color 0.2s;
}
.newsletter-info-toggles .nl-toggle:hover,
.newsletter-info-toggles .nl-toggle.active {
  color: var(--cream); text-decoration: underline;
}
.newsletter-info-toggles .nl-sep { color: rgba(249,243,232,0.3); }
.nl-info-pane {
  font-size: 11px; line-height: 1.6;
  color: rgba(249,243,232,0.7);
  margin-top: 8px; padding: 10px 12px;
  background: rgba(249,243,232,0.05);
  border-left: 2px solid rgba(249,243,232,0.3);
}
/* #6: hover effect on subscribe button */
.newsletter-form button { transition: color 0.25s, background 0.25s, border-color 0.25s; }
.newsletter-form button:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  cursor: pointer;
}

/* #5: mobile-only overrides */
@media (max-width: 640px) {
  .newsletter-row { grid-template-columns: 1fr; }
  .newsletter-captcha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .newsletter-captcha .captcha-img { width: 100%; }
  .newsletter-captcha input { width: 100% !important; }
  .newsletter-form button { border-left: none !important; }
  .newsletter-form input { text-align: center; }
}
