/*
Theme Name: COSA NOSTRA
Theme URI: https://cosanostra.in
Author: COSA NOSTRA
Description: Premium Men's Fashion – Clean Minimal Design
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: cosanostra
*/

/* ─────────────────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────────────────── */
:root {
  --black:      #111111;
  --white:      #ffffff;
  --gray-100:   #f5f5f5;
  --gray-200:   #e8e8e8;
  --gray-400:   #bbbbbb;
  --gray-600:   #767676;
  --gray-800:   #444444;
  --red:        #CC0000;
  --border:     #e0e0e0;

  --font:        'Helvetica Neue', Arial, sans-serif;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --fast:        0.15s;
  --med:         0.25s;
  --slow:        0.4s;

  --max:         1400px;
  --pad:         clamp(16px, 3vw, 40px);
  --header-h:    64px;
}

/* ─────────────────────────────────────────────────────────
   RESET
───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 14px; line-height: 1.6; color: var(--black); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ─────────────────────────────────────────────────────────
   LOADING SCREEN
───────────────────────────────────────────────────────── */
.loading-screen {
  position: fixed; inset: 0; background: var(--white); z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity var(--slow) var(--ease), visibility var(--slow);
}
.loading-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo { font-size: 18px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.loading-logo-img { max-height: 48px; width: auto; object-fit: contain; }
.loading-bar-wrap { width: 80px; height: 1px; background: var(--gray-200); overflow: hidden; }
.loading-bar { height: 100%; background: var(--black); animation: load 1.2s var(--ease) forwards; }
@keyframes load { from { width: 0 } to { width: 100% } }

/* ─────────────────────────────────────────────────────────
   ANNOUNCEMENT BAR
───────────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--black); color: var(--white);
  text-align: center; padding: 10px var(--pad);
  font-size: 12px; letter-spacing: .06em; font-weight: 500; line-height: 1.4;
}
.announcement-bar a { color: inherit; text-decoration: underline; }

/* ─────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; width: 100%; background: var(--white);
  border-bottom: 1px solid var(--border); z-index: 900;
  transition: box-shadow var(--med) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h); display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
}

/* Logo */
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-main { font-size: 20px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--black); line-height: 1; }
.cn-header-logo-img { height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; }

/* Primary nav - centered */
.primary-nav-wrap { display: flex; justify-content: center; overflow: hidden; }
.primary-nav { display: flex; align-items: center; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: block; padding: 0 14px; height: var(--header-h); line-height: var(--header-h);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--black); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--fast), border-color var(--fast);
}
.primary-nav > li > a:hover { color: var(--black); border-bottom-color: var(--black); }
.primary-nav > li > a.is-sale { color: var(--red); }
.primary-nav > li > a.is-sale:hover { border-bottom-color: var(--red); }

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + 1px); left: 50%;
  background: var(--white); border-top: 2px solid var(--black); border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  display: grid; grid-template-columns: repeat(4,160px); gap: 32px; padding: 32px;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease), visibility var(--med);
  pointer-events: none; z-index: 100; min-width: 680px;
}
.primary-nav > li:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-menu-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.mega-menu-col ul li { margin-bottom: 8px; }
.mega-menu-col ul li a { font-size: 13px; color: var(--gray-800); transition: color var(--fast); }
.mega-menu-col ul li a:hover { color: var(--black); text-decoration: underline; }

/* Header actions */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0; flex-shrink: 0; }
.header-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: none; border-radius: 50%;
  color: var(--black); position: relative; transition: background var(--fast);
}
.header-icon-btn:hover { background: var(--gray-100); }
.header-icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; pointer-events: none; }
.badge {
  position: absolute; top: 6px; right: 6px; width: 16px; height: 16px;
  background: var(--black); color: var(--white); border-radius: 50%;
  font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--black); transition: transform var(--med), opacity var(--med); border-radius: 1px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1998; opacity: 0; visibility: hidden; transition: opacity var(--slow), visibility var(--slow); }
.mobile-nav-overlay.is-visible { opacity: 1; visibility: visible; }
.mobile-nav-drawer { position: fixed; top: 0; left: -100%; width: min(320px,90vw); height: 100%; background: var(--white); z-index: 1999; display: flex; flex-direction: column; overflow-y: auto; transition: left var(--slow) var(--ease); }
.mobile-nav-drawer.is-open { left: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mobile-nav-header .logo-main { font-size: 16px; }
.mobile-nav-header .cn-header-logo-img { height: 28px; }
.mobile-nav-close { font-size: 20px; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-body { flex: 1; padding: 8px 0; }
.mobile-nav-body a { display: block; padding: 13px 20px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--gray-100); color: var(--black); transition: background var(--fast); }
.mobile-nav-body a:hover { background: var(--gray-100); }
.mobile-nav-body .sub-link { font-size: 13px; font-weight: 400; text-transform: none; padding-left: 36px; color: var(--gray-800); }
.mobile-nav-body .sale-link { color: var(--red); }

/* Search */
.search-overlay { position: fixed; top: 0; left: 0; right: 0; background: var(--white); z-index: 1100; padding: 20px var(--pad); transform: translateY(-100%); transition: transform var(--med) var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.search-overlay.is-open { transform: translateY(0); }
.search-form-wrap { max-width: 680px; margin: 0 auto; position: relative; }
.search-input { width: 100%; border: none; border-bottom: 2px solid var(--black); padding: 10px 48px 10px 0; font-size: 18px; color: var(--black); background: transparent; outline: none; }
.search-input::placeholder { color: var(--gray-400); }
.search-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--gray-600); }
.search-tags { display: flex; gap: 8px; margin: 14px auto 0; max-width: 680px; flex-wrap: wrap; }
.search-tag { padding: 5px 14px; border: 1px solid var(--border); font-size: 12px; cursor: pointer; transition: all var(--fast); }
.search-tag:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.search-results { max-width: 680px; margin: 12px auto 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 10px; }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1998; opacity: 0; visibility: hidden; transition: opacity var(--slow), visibility var(--slow); }
.cart-overlay.is-visible { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -440px; width: min(440px,100vw); height: 100%; background: var(--white); z-index: 1999; display: flex; flex-direction: column; transition: right var(--slow) var(--ease); box-shadow: -4px 0 40px rgba(0,0,0,.08); }
.cart-drawer.is-open { right: 0; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.cart-drawer-header h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cart-close { font-size: 18px; color: var(--black); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.cart-free-shipping-bar { padding: 10px 24px; background: var(--gray-100); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.cn-free-shipping-msg { font-size: 12px; color: var(--gray-800); margin-bottom: 6px; }
.cn-free-shipping-track { height: 2px; background: var(--gray-200); overflow: hidden; }
.cn-free-shipping-progress { height: 100%; background: var(--black); transition: width .5s var(--ease); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { text-align: center; padding: 48px 24px; }
.cart-empty svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--gray-400); }
.cart-empty p { font-size: 13px; color: var(--gray-600); margin-bottom: 20px; }
.cart-item-row { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.cart-item-img { aspect-ratio: 3/4; object-fit: cover; width: 80px; background: var(--gray-100); }
.cart-item-info { min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item-variant { font-size: 12px; color: var(--gray-600); margin-bottom: 8px; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--border); height: 30px; }
.qty-box button { width: 28px; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.qty-box input { width: 32px; height: 100%; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 12px; }
.cart-item-price { font-size: 13px; font-weight: 700; }
.cart-item-remove { font-size: 11px; color: var(--gray-600); text-decoration: underline; margin-top: 6px; cursor: pointer; background: none; border: none; display: block; }
.cart-loading { text-align: center; padding: 40px; font-size: 13px; color: var(--gray-600); }
.cart-drawer-footer { padding: 18px 24px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; }
.cart-subtotal-row strong { font-size: 16px; font-weight: 700; }

/* ─────────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 24px; height: 46px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: 1.5px solid transparent;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
  white-space: nowrap; font-family: var(--font);
}
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: #aa0000; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 11px; }
.btn-lg { height: 52px; padding: 0 36px; font-size: 14px; }
.btn-full { width: 100%; }

/* ─────────────────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section      { padding: 80px 0; }
.section--sm  { padding: 56px 0; }
.section--xs  { padding: 32px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--gray { background: var(--gray-100); }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.section-header { margin-bottom: 32px; }
.section-header.centered { text-align: center; }
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 8px; display: block; }
.section-title { font-size: clamp(22px,3vw,36px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.05; }
.section-subtitle { font-size: 15px; color: var(--gray-600); margin-top: 8px; max-width: 520px; line-height: 1.6; }
.section-header.centered .section-subtitle { margin-inline: auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────── */
.hero { position: relative; height: clamp(400px, calc(100vh - 100px), 820px); overflow: hidden; background: var(--gray-100); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.hero-slide.active { opacity: 1; }
.hero-slide-bg { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e8e8e8, #d0d0d0); }
.hero-placeholder-text { font-size: clamp(60px,15vw,160px); font-weight: 900; color: rgba(255,255,255,.5); letter-spacing: -.04em; text-transform: uppercase; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 55%, transparent 100%); }
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); max-width: var(--max); margin-inline: auto; left: 0; right: 0; gap: 16px;
}
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-headline { font-size: clamp(32px,6vw,80px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; color: var(--white); max-width: 640px; }
.hero-sub { font-size: clamp(14px,1.5vw,17px); color: rgba(255,255,255,.8); max-width: 400px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-controls { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 24px; height: 2px; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all var(--fast); padding: 0; }
.hero-dot.active { background: var(--white); width: 40px; }
.hero-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; z-index: 2; transition: background var(--fast); }
.hero-nav-btn:hover { background: var(--white); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* ─────────────────────────────────────────────────────────
   TICKER
───────────────────────────────────────────────────────── */
.ticker { background: var(--black); color: var(--white); overflow: hidden; padding: 11px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 30s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ticker-item .dot { width: 3px; height: 3px; background: rgba(255,255,255,.4); border-radius: 50%; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ─────────────────────────────────────────────────────────
   COLLECTIONS GRID
───────────────────────────────────────────────────────── */
.collections-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.collection-card { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--gray-100); display: block; }
.collection-card:first-child { grid-column: span 2; aspect-ratio: 1; }
.collection-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(32px,7vw,80px); font-weight: 900; color: var(--gray-200); }
.collection-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.collection-card:hover .collection-card-img { transform: scale(1.04); }
.collection-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%); }
.collection-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.collection-card-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 5px; }
.collection-card-title { font-size: clamp(15px,2vw,22px); font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 10px; line-height: 1.15; }
.collection-card-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 1px; transition: border-color var(--fast); }
.collection-card-cta svg { width: 12px; height: 12px; }
.collection-card:hover .collection-card-cta { border-color: var(--white); }

/* ─────────────────────────────────────────────────────────
   PRODUCT CARDS & GRIDS
───────────────────────────────────────────────────────── */
.products-grid { display: grid; gap: 2px; }
.products-grid--4 { grid-template-columns: repeat(4,1fr); }
.products-grid--3 { grid-template-columns: repeat(3,1fr); }
.products-grid--2 { grid-template-columns: repeat(2,1fr); }

.cn-product-card, li.product { list-style: none; position: relative; background: var(--gray-100); }
.cn-product-card__inner { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.cn-product-card__img-wrap { display: block; width: 100%; height: 100%; overflow: hidden; position: relative; }
.cn-product-card__img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease), opacity .4s; }
.cn-product-card__img-hover { opacity: 0; }
.cn-product-card:hover .cn-product-card__img-hover { opacity: 1; }
.cn-product-card:hover .cn-product-card__img-wrap img:first-child:not(.cn-product-card__img-hover) { transform: scale(1.04); }
.cn-product-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: var(--gray-200); }
.cn-product-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 3px; }
.cn-badge { padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cn-badge--sale { background: var(--red); color: var(--white); }
.cn-badge--new { background: var(--black); color: var(--white); }
.cn-badge--bestseller { background: var(--gray-800); color: var(--white); }
.cn-product-card__wishlist { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.88); border: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity var(--med), color var(--fast); color: var(--black); }
.cn-product-card:hover .cn-product-card__wishlist, .cn-product-card__wishlist.is-wishlisted { opacity: 1; }
.cn-product-card__wishlist svg { width: 16px; height: 16px; stroke-width: 1.5; }
.cn-product-card__wishlist.is-wishlisted { color: var(--red); }
.cn-product-card__quick-add { position: absolute; bottom: 0; left: 0; right: 0; transform: translateY(100%); transition: transform .28s var(--ease); z-index: 3; }
.cn-product-card:hover .cn-product-card__quick-add { transform: translateY(0); }
.cn-quick-add-btn { display: block; width: 100%; padding: 13px; background: var(--black); color: var(--white); border: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-align: center; text-decoration: none; transition: background var(--fast); }
.cn-quick-add-btn:hover { background: #333; }
.cn-product-card__info { padding: 10px 2px 2px; background: var(--white); }
.cn-product-card__name { display: block; font-size: 13px; font-weight: 600; color: var(--black); text-decoration: none; margin-bottom: 4px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-product-card__name:hover { text-decoration: underline; }
.cn-product-card__price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.cn-product-card__price { font-size: 14px; font-weight: 700; color: var(--black); }
.cn-product-card__price--sale { color: var(--red); }
.cn-product-card__price--regular { font-size: 12px; color: var(--gray-600); text-decoration: line-through; font-weight: 400; }
.cn-product-card__colors { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.cn-product-card__color-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); }

/* ─────────────────────────────────────────────────────────
   LIFESTYLE BANNERS
───────────────────────────────────────────────────────── */
.lifestyle-banner { position: relative; overflow: hidden; min-height: 440px; display: flex; align-items: center; background: var(--gray-100); }
.lifestyle-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lifestyle-banner-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#ddd,#c0c0c0); font-size: clamp(40px,8vw,100px); font-weight: 900; color: rgba(255,255,255,.5); letter-spacing: -.04em; text-transform: uppercase; }
.lifestyle-banner-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.lifestyle-banner-content { position: relative; z-index: 2; padding: 60px var(--pad); width: 100%; max-width: var(--max); margin-inline: auto; }
.lifestyle-banner-content .section-eyebrow { color: rgba(255,255,255,.65); }
.lifestyle-banner-content .section-title { color: var(--white); font-size: clamp(24px,4vw,52px); }
.lifestyle-banner-sub { color: rgba(255,255,255,.8); font-size: 15px; margin: 12px 0 24px; max-width: 460px; line-height: 1.6; }
.lifestyle-banner--right .lifestyle-banner-content { text-align: right; }
.lifestyle-banner--right .lifestyle-banner-sub { margin-inline-start: auto; }
.lifestyle-banner--right .hero-cta, .lifestyle-banner--right .banner-cta { justify-content: flex-end; }
.banner-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────────────────────── */
.newsletter { background: var(--black); color: var(--white); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter-heading { font-size: clamp(20px,3vw,32px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-top: 8px; line-height: 1.1; }
.newsletter-desc { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 10px; line-height: 1.6; }
.newsletter-form { display: flex; height: 48px; }
.newsletter-input { flex: 1; background: transparent; border: 1px solid rgba(255,255,255,.3); border-right: none; padding: 0 16px; color: var(--white); font-size: 14px; outline: none; min-width: 0; transition: border-color var(--fast); }
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: rgba(255,255,255,.7); }
.newsletter-form .btn { height: 48px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   FEATURES STRIP
───────────────────────────────────────────────────────── */
.features-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--black); }
.feature-icon svg { width: 100%; height: 100%; stroke-width: 1.5; }
.feature-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.feature-desc { font-size: 12px; color: var(--gray-600); line-height: 1.5; }

/* ─────────────────────────────────────────────────────────
   INSTAGRAM GRID
───────────────────────────────────────────────────────── */
.insta-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 2px; }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray-100); display: block; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta-item:hover img { transform: scale(1.07); }
.insta-item-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity var(--med); }
.insta-item:hover .insta-item-overlay { opacity: 1; }
.insta-item-overlay svg { width: 24px; height: 24px; color: var(--white); }
.insta-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--gray-200); font-size: 24px; }

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 64px var(--pad); max-width: var(--max); margin: 0 auto; }
.footer-logo-img { height: 32px; width: auto; object-fit: contain; max-width: 160px; margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: var(--gray-600); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--black); transition: all var(--fast); }
.footer-social a svg { width: 14px; height: 14px; stroke-width: 1.5; }
.footer-social a:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: var(--gray-600); transition: color var(--fast); }
.footer-col ul li a:hover { color: var(--black); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; max-width: var(--max); margin: 0 auto; }
.footer-copyright { font-size: 12px; color: var(--gray-600); }
.footer-payments { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-icon { padding: 4px 8px; border: 1px solid var(--border); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--gray-800); }

/* ─────────────────────────────────────────────────────────
   PAGE COMPONENTS
───────────────────────────────────────────────────────── */
.cn-page-title-bar { background: var(--gray-100); padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.cn-page-title-bar__title { font-size: clamp(24px,4vw,40px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.cn-breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--gray-600); margin-bottom: 10px; flex-wrap: wrap; }
.cn-breadcrumb a { color: var(--gray-600); }
.cn-breadcrumb a:hover { color: var(--black); text-decoration: underline; }
.cn-archive-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-600); display: block; margin-bottom: 8px; }
.cn-archive-desc { color: var(--gray-600); margin-top: 6px; font-size: 14px; }

/* ─────────────────────────────────────────────────────────
   SHOP / ARCHIVE
───────────────────────────────────────────────────────── */
.cn-shop-layout { padding: 36px 0 80px; }
.cn-shop-layout__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.cn-shop-sidebar { position: sticky; top: calc(var(--header-h) + 16px); height: fit-content; }
.cn-sidebar-close { display: none; }
.cn-shop-sidebar__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.cn-shop-sidebar__header h3 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cn-filter-group { border-bottom: 1px solid var(--border); }
.cn-filter-group__toggle { width: 100%; background: none; border: none; padding: 13px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cn-arrow { font-size: 10px; transition: transform var(--med); }
.cn-arrow.is-open { transform: rotate(180deg); }
.cn-filter-group__body { padding-bottom: 14px; overflow: hidden; transition: max-height .3s var(--ease); max-height: 300px; }
.cn-filter-group__body.is-closed { max-height: 0; padding-bottom: 0; }
.cn-size-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cn-size-chip { padding: 5px 10px; border: 1px solid var(--border); font-size: 11px; font-weight: 600; cursor: pointer; transition: all var(--fast); }
.cn-size-chip:hover, .cn-size-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.cn-color-swatches--filter { display: flex; flex-wrap: wrap; gap: 6px; }
.cn-color-swatch--filter { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; outline: 1px solid rgba(0,0,0,.15); transition: border-color var(--fast); }
.cn-color-swatch--filter.active { border-color: var(--black); outline-offset: 2px; }
.cn-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.cn-shop-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cn-filter-toggle { display: none; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--black); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.woocommerce-result-count { font-size: 12px; color: var(--gray-600); margin: 0 auto 0 0 !important; }
ul.products { display: grid !important; grid-template-columns: repeat(3,1fr) !important; gap: 2px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }

/* ─────────────────────────────────────────────────────────
   SINGLE PRODUCT
───────────────────────────────────────────────────────── */
.cn-product-page { padding: 40px 0 80px; }
.cn-product-page__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cn-product-gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.cn-product-gallery__thumbs { display: flex; flex-direction: column; gap: 5px; }
.cn-gallery-thumb { border: 2px solid transparent; padding: 0; background: none; cursor: pointer; transition: border-color var(--fast); }
.cn-gallery-thumb.is-active, .cn-gallery-thumb:hover { border-color: var(--black); }
.cn-gallery-thumb img { width: 68px; height: 90px; object-fit: cover; display: block; }
.cn-product-gallery__main { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--gray-100); }
.cn-gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.cn-gallery-slide.is-active { opacity: 1; position: relative; }
.cn-gallery-slide__img { width: 100%; height: 100%; object-fit: cover; }
.cn-product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.cn-product-badge--sale { background: var(--red); color: var(--white); }
.cn-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.85); border: none; width: 38px; height: 38px; font-size: 16px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
.cn-gallery-nav--prev { left: 8px; }
.cn-gallery-nav--next { right: 8px; }
.cn-product-info__eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 8px; }
.cn-product-info__title { font-size: clamp(20px,2.5vw,28px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
.cn-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cn-stars { display: flex; gap: 1px; }
.cn-star { color: var(--gray-200); font-size: 14px; }
.cn-star--filled { color: var(--black); }
.cn-product-rating__count { font-size: 12px; color: var(--gray-600); text-decoration: underline; cursor: pointer; }
.cn-product-price { margin-bottom: 20px; }
.cn-product-price__current, .cn-product-price__sale { font-size: 22px; font-weight: 900; }
.cn-product-price__sale { color: var(--red); }
.cn-product-price__regular { font-size: 15px; color: var(--gray-600); text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.cn-product-price__tax { display: block; font-size: 11px; color: var(--gray-600); margin-top: 4px; }
.cn-product-usps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; padding: 16px; background: var(--gray-100); }
.cn-product-usp { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--gray-800); }
.cn-product-usp svg { width: 14px; height: 14px; flex-shrink: 0; }
.cn-product-tabs { margin-top: 24px; }
.cn-product-tabs__nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; gap: 0; }
.cn-product-tab-btn { background: none; border: none; padding: 11px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; color: var(--gray-600); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color var(--fast), border-color var(--fast); }
.cn-product-tab-btn.is-active { color: var(--black); border-bottom-color: var(--black); }
.cn-product-tab-panel { display: none; font-size: 13px; line-height: 1.8; color: var(--gray-800); }
.cn-product-tab-panel.is-active { display: block; }
.cn-details-table { width: 100%; border-collapse: collapse; }
.cn-details-table td { padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.cn-details-table td:first-child { color: var(--gray-600); width: 110px; font-size: 12px; }
.cn-size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cn-size-table th, .cn-size-table td { padding: 9px 12px; border: 1px solid var(--border); text-align: center; }
.cn-size-table th { background: var(--black); color: var(--white); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.cn-size-table tr:nth-child(even) td { background: var(--gray-100); }

/* ─────────────────────────────────────────────────────────
   CART PAGE
───────────────────────────────────────────────────────── */
.cn-cart-page { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding: 48px 0 80px; align-items: start; }
.cn-cart-items__header { display: grid; grid-template-columns: 80px 1fr 120px 140px 90px 28px; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--black); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-600); }
.cn-cart-item { display: grid; grid-template-columns: 80px 1fr 120px 140px 90px 28px; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cn-cart-item__img img { width: 80px; height: 107px; object-fit: cover; display: block; background: var(--gray-100); }
.cn-cart-item__name { font-size: 13px; font-weight: 600; color: var(--black); text-decoration: none; display: block; margin-bottom: 4px; line-height: 1.3; }
.cn-cart-item__name:hover { text-decoration: underline; }
.cn-cart-item__variation { font-size: 12px; color: var(--gray-600); }
.cn-cart-item__price, .cn-cart-item__subtotal { font-size: 13px; font-weight: 700; }
.cn-qty-control { display: flex; align-items: center; border: 1px solid var(--border); width: fit-content; }
.cn-qty-btn { background: none; border: none; width: 30px; height: 34px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cn-qty-input { width: 40px; height: 34px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 13px; }
.cn-cart-item__remove { background: none; border: none; font-size: 16px; color: var(--gray-400); cursor: pointer; transition: color var(--fast); }
.cn-cart-item__remove:hover { color: var(--black); }
.cn-cart-actions { display: flex; align-items: center; gap: 10px; padding: 18px 0; flex-wrap: wrap; }
.cn-coupon { display: flex; }
.cn-coupon .cn-input { padding: 9px 14px; border: 1px solid var(--border); border-right: none; font-size: 13px; min-width: 0; }
.cn-cart-totals { border: 1px solid var(--border); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.cn-cart-totals h3 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.cn-total-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13px; border-bottom: 1px solid var(--gray-100); }
.cn-total-row--grand { font-weight: 700; font-size: 15px; border-bottom: none; padding-top: 14px; }
/* WooCommerce cart totals override */
.cart_totals h2 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table tr td, .cart_totals table tr th { padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.cart_totals table tr th { color: var(--gray-600); font-weight: 400; }
.cart_totals .order-total td, .cart_totals .order-total th { font-weight: 700; font-size: 15px; border-bottom: none; padding-top: 14px; }
.wc-proceed-to-checkout .checkout-button { display: block; width: 100%; background: var(--black); color: var(--white); text-align: center; padding: 15px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; margin-top: 14px; transition: background var(--fast); }
.wc-proceed-to-checkout .checkout-button:hover { background: #333; }

/* ─────────────────────────────────────────────────────────
   MY ACCOUNT
───────────────────────────────────────────────────────── */
.cn-account-page { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 48px 0 80px; align-items: start; }
.cn-account-nav { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--border); overflow: hidden; }
.cn-account-nav__user { padding: 18px 20px; background: var(--black); color: var(--white); }
.cn-account-nav__avatar { width: 36px; height: 36px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; margin-bottom: 8px; }
.cn-account-nav__name { display: block; font-weight: 700; font-size: 14px; }
.cn-account-nav__email { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.cn-account-nav__link { display: flex; align-items: center; gap: 8px; padding: 12px 20px; text-decoration: none; color: var(--gray-800); font-size: 13px; font-weight: 500; border-bottom: 1px solid var(--gray-100); transition: background var(--fast), color var(--fast); }
.cn-account-nav__link:hover, .cn-account-nav__link.is-active { background: var(--gray-100); color: var(--black); font-weight: 600; }

/* ─────────────────────────────────────────────────────────
   CHECKOUT
───────────────────────────────────────────────────────── */
.cn-checkout-page { display: grid; grid-template-columns: 1fr 400px; gap: 60px; padding: 48px 0 80px; align-items: start; }
.cn-checkout-section-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 28px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.cn-checkout-section-title:first-child { margin-top: 0; }
.cn-checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cn-field { grid-column: 1 / -1; }
.cn-field--half { grid-column: span 1; }
.woocommerce-form-row label, .cn-form-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 5px; }
.woocommerce-input-wrapper input, .woocommerce-input-wrapper select, .woocommerce-input-wrapper textarea, .cn-input { width: 100%; padding: 11px 14px; border: 1px solid var(--border); font-size: 13px; background: var(--white); outline: none; transition: border-color var(--fast); }
.woocommerce-input-wrapper input:focus, .woocommerce-input-wrapper select:focus, .cn-input:focus { border-color: var(--black); }
.cn-shipping-option, .cn-payment-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); margin-bottom: 8px; cursor: pointer; transition: border-color var(--fast); }
.cn-shipping-option:hover, .cn-payment-option:hover { border-color: var(--black); }
.cn-shipping-option input, .cn-payment-option input { accent-color: var(--black); }
.cn-shipping-option__name, .cn-payment-option__name { flex: 1; font-size: 13px; }
.cn-shipping-option__price { font-weight: 700; font-size: 13px; }
.cn-checkout-submit .btn { font-size: 14px; padding: 0 32px; height: 52px; margin-top: 4px; }
.cn-checkout-secure { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; font-size: 11px; color: var(--gray-600); letter-spacing: .04em; }
.cn-checkout-summary { background: var(--gray-100); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.cn-checkout-summary__title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.cn-checkout-summary-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cn-checkout-summary-item__img { position: relative; flex-shrink: 0; }
.cn-checkout-summary-item__img img { width: 56px; height: 74px; object-fit: cover; background: var(--white); }
.cn-checkout-summary-item__qty { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; background: var(--black); color: var(--white); border-radius: 50%; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.cn-checkout-summary-item__info { flex: 1; min-width: 0; }
.cn-checkout-summary-item__name { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.cn-checkout-summary-item__var { font-size: 11px; color: var(--gray-600); }
.cn-checkout-summary-item__price { font-weight: 700; font-size: 13px; white-space: nowrap; }
.cn-checkout-summary__totals { margin-top: 18px; }
.cn-checkout-total-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; }
.cn-checkout-total-row--total { font-weight: 700; font-size: 15px; border-top: 2px solid var(--black); margin-top: 8px; padding-top: 14px; }
.cn-checkout-terms { margin-bottom: 14px; font-size: 12px; }
.cn-checkout-terms a { text-decoration: underline; }
.cn-checkout-login-prompt { background: var(--gray-100); padding: 12px 14px; font-size: 12px; margin-bottom: 20px; border-left: 3px solid var(--black); }

/* ─────────────────────────────────────────────────────────
   WOOCOMMERCE GLOBAL
───────────────────────────────────────────────────────── */
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-top: 3px solid var(--black) !important; background: var(--gray-100) !important; padding: 14px 18px !important; margin-bottom: 20px !important; font-size: 13px !important; list-style: none !important; border-radius: 0 !important; }
.woocommerce-error { border-top-color: var(--red) !important; }
.woocommerce-pagination ul { display: flex; gap: 4px; justify-content: center; margin-top: 48px; list-style: none; padding: 0; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); font-size: 13px; text-decoration: none; color: var(--black); transition: all var(--fast); }
.woocommerce-pagination ul li a:hover, .woocommerce-pagination ul li span.current { background: var(--black); color: var(--white); border-color: var(--black); }
.single_add_to_cart_button, button.single_add_to_cart_button { background: var(--black) !important; color: var(--white) !important; border: none !important; padding: 0 32px !important; height: 52px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .06em !important; text-transform: uppercase !important; cursor: pointer !important; border-radius: 0 !important; transition: background var(--fast) !important; width: 100% !important; }
.single_add_to_cart_button:hover { background: #333 !important; }
.variations select { padding: 10px 14px; border: 1px solid var(--border); font-size: 13px; background: var(--white); width: 100%; margin-bottom: 14px; }
.variations_form .variations tr { display: block; margin-bottom: 14px; }
.variations .label label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); display: block; margin-bottom: 6px; }
.cn-sticky-atc { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 12px; z-index: 500; transform: translateY(100%); transition: transform .3s var(--ease); box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
.cn-sticky-atc.is-visible { transform: translateY(0); }
.cn-sticky-atc__name { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cn-sticky-atc__btn { height: 40px; padding: 0 20px; font-size: 12px; }

/* ─────────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────────── */
.cn-toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.cn-toast { background: var(--black); color: var(--white); padding: 13px 18px; font-size: 13px; pointer-events: all; transform: translateX(120%); opacity: 0; transition: transform .35s var(--ease), opacity .35s; max-width: 300px; display: flex; align-items: center; gap: 10px; }
.cn-toast.is-visible { transform: translateX(0); opacity: 1; }
.cn-toast--error { border-left: 3px solid var(--red); }
.cn-toast__close { background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer; font-size: 14px; margin-left: auto; padding: 0; }

/* ─────────────────────────────────────────────────────────
   ARCHIVE / BLOG
───────────────────────────────────────────────────────── */
.cn-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.cn-archive-card__thumb { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--gray-100); }
.cn-archive-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cn-archive-card:hover .cn-archive-card__thumb img { transform: scale(1.04); }
.cn-archive-card__body { padding: 18px 0; }
.cn-archive-card__meta { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 10px; }
.cn-archive-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.cn-archive-card__title a { color: var(--black); }
.cn-archive-card__title a:hover { text-decoration: underline; }
.cn-archive-card__excerpt { color: var(--gray-600); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.cn-archive-card__link { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--black); text-decoration: none; border-bottom: 1px solid var(--black); padding-bottom: 1px; }

/* ─────────────────────────────────────────────────────────
   404
───────────────────────────────────────────────────────── */
.cn-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px var(--pad); background: var(--black); }
.cn-404__number { font-size: clamp(80px,20vw,200px); font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); line-height: 1; margin-bottom: -20px; }
.cn-404__title { font-size: clamp(20px,4vw,40px); color: var(--white); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 16px; }
.cn-404__desc { color: rgba(255,255,255,.5); margin-bottom: 36px; font-size: 14px; line-height: 1.7; }
.cn-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────
   PAGE TITLE BAR (dark breadcrumb bg)
───────────────────────────────────────────────────────── */
.cn-breadcrumb--light { color: rgba(255,255,255,.6); }
.cn-breadcrumb--light a { color: rgba(255,255,255,.6); }
.cn-breadcrumb--light a:hover { color: var(--white); }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 1200px
───────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid--4 { grid-template-columns: repeat(3,1fr); }
  .collections-grid { grid-template-columns: repeat(3,1fr); }
  .collection-card:first-child { grid-column: 1 / -1; aspect-ratio: 21/9; min-height: auto; }
  .insta-grid { grid-template-columns: repeat(4,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 1024px (tablets)
───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .primary-nav-wrap { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .cn-shop-layout__inner { grid-template-columns: 1fr; }
  .cn-shop-sidebar {
    position: fixed; top: 0; left: -300px; width: 280px; height: 100vh;
    background: var(--white); z-index: 9999; overflow-y: auto; padding: 24px;
    box-shadow: 4px 0 20px rgba(0,0,0,.12); transition: left var(--slow);
    border: none;
  }
  .cn-shop-sidebar.is-open { left: 0; }
  .cn-sidebar-close { display: flex; }
  .cn-filter-toggle { display: flex; }
  ul.products { grid-template-columns: repeat(2,1fr) !important; }
  .cn-product-page__inner { grid-template-columns: 1fr; }
  .cn-product-gallery { position: static; }
  .cn-cart-page { grid-template-columns: 1fr; }
  .cn-account-page { grid-template-columns: 1fr; }
  .cn-account-nav { position: static; }
  .cn-checkout-page { grid-template-columns: 1fr; }
  .cn-checkout-summary { position: static; }
  .features-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 768px (mobile)
───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .products-grid--4, .products-grid--3 { grid-template-columns: repeat(2,1fr); }
  .collections-grid { grid-template-columns: repeat(2,1fr); }
  .collection-card:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .insta-grid { grid-template-columns: repeat(3,1fr); }
  .lifestyle-banner { min-height: 320px; }
  .hero { height: clamp(340px, 80vw, 560px); }
  .hero-nav-btn { display: none; }
  .cn-cart-items__header { display: none; }
  .cn-cart-item { grid-template-columns: 70px 1fr; gap: 10px; }
  .cn-cart-item__price,
  .cn-cart-item__qty,
  .cn-cart-item__subtotal,
  .cn-cart-item__remove { grid-column: 2; }
  .cn-archive-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .cn-checkout-fields { grid-template-columns: 1fr; }
  .cn-field--half { grid-column: 1 / -1; }
  ul.products { grid-template-columns: repeat(2,1fr) !important; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top > .footer-brand { grid-column: 1 / -1; }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — 480px (small phones)
───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .hero-headline { font-size: clamp(28px, 9vw, 44px); }
  .products-grid--4, .products-grid--3 { grid-template-columns: repeat(2,1fr); gap: 1px; }
  ul.products { gap: 1px !important; }
  .insta-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .cn-archive-grid { grid-template-columns: 1fr; }
  .lifestyle-banner-content { padding: 40px var(--pad); }
  .collection-card-content { padding: 14px; }
  .collection-card-title { font-size: 14px; }
  .section { padding: 48px 0; }
  .section--sm { padding: 36px 0; }
  .footer-top { padding: 40px var(--pad); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; max-width: 280px; }
}

/* ─────────────────────────────────────────────────────────
   AUTH MODAL
───────────────────────────────────────────────────────── */
.auth-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 9998; opacity: 0; visibility: hidden;
  transition: opacity var(--slow), visibility var(--slow);
  backdrop-filter: blur(3px);
}
.auth-overlay.is-visible { opacity: 1; visibility: visible; }

.auth-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  background: var(--white); z-index: 9999;
  overflow-y: auto; padding: 36px 40px 32px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--med) var(--ease), transform var(--med) var(--ease), visibility var(--med);
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
}
.auth-modal.is-open {
  opacity: 1; visibility: visible;
  transform: translate(-50%, -50%);
}
@media (max-width: 520px) {
  .auth-modal {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    width: 100%; transform: translateY(100%);
    border-radius: 16px 16px 0 0; max-height: 92vh;
    padding: 28px 24px 32px;
  }
  .auth-modal.is-open { transform: translateY(0); }
}

.auth-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); border: none; border-radius: 50%;
  font-size: 14px; color: var(--gray-600); cursor: pointer;
  transition: background var(--fast), color var(--fast);
}
.auth-modal__close:hover { background: var(--gray-200); color: var(--black); }

.auth-modal__logo { text-align: center; margin-bottom: 24px; }
.auth-modal__logo img { height: 32px; width: auto; margin: 0 auto; object-fit: contain; max-width: 160px; }
.auth-modal__logo .logo-main { font-size: 18px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

/* Tabs */
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.auth-tab {
  padding: 12px 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--gray-600); cursor: pointer; margin-bottom: -1px;
  transition: color var(--fast), border-color var(--fast);
}
.auth-tab.active { color: var(--black); border-bottom-color: var(--black); }
.auth-tab:hover:not(.active) { color: var(--black); }

/* Panels */
.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-welcome { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px; }

/* Messages */
.auth-msg { padding: 10px 14px; font-size: 13px; margin-bottom: 16px; border-radius: 2px; display: none; }
.auth-msg.is-error { background: #fff5f5; border-left: 3px solid var(--red); color: #c00; display: block; }
.auth-msg.is-success { background: #f0fff4; border-left: 3px solid #22c55e; color: #166534; display: block; }

/* Fields */
.auth-field { margin-bottom: 16px; }
.auth-field label:not(.auth-checkbox) { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 5px; }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  font-size: 14px; color: var(--black); background: var(--white);
  outline: none; transition: border-color var(--fast);
  -webkit-appearance: none;
}
.auth-field input:focus { border-color: var(--black); }
.auth-field input.is-invalid { border-color: var(--red); }
.auth-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 400px) { .auth-fields-row { grid-template-columns: 1fr; } }

/* Password toggle */
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 44px; }
.auth-password-toggle { position: absolute; right: 0; top: 0; width: 44px; height: 100%; background: none; border: none; cursor: pointer; color: var(--gray-400); display: flex; align-items: center; justify-content: center; }
.auth-password-toggle svg { width: 17px; height: 17px; }
.auth-password-toggle:hover { color: var(--black); }

/* Password strength */
.auth-password-strength { height: 3px; margin-top: 6px; background: var(--gray-200); overflow: hidden; border-radius: 2px; }
.auth-password-strength::after { content: ''; display: block; height: 100%; width: 0; transition: width .4s var(--ease), background .4s; }
.auth-password-strength[data-strength="1"]::after { width: 25%; background: var(--red); }
.auth-password-strength[data-strength="2"]::after { width: 50%; background: #f59e0b; }
.auth-password-strength[data-strength="3"]::after { width: 75%; background: #3b82f6; }
.auth-password-strength[data-strength="4"]::after { width: 100%; background: #22c55e; }

/* Row / checkbox */
.auth-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.auth-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-800); cursor: pointer; }
.auth-checkbox input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--black); flex-shrink: 0; }
.auth-forgot { font-size: 12px; color: var(--gray-600); text-decoration: underline; }
.auth-forgot:hover { color: var(--black); }

/* Submit button */
.auth-submit { position: relative; }
.auth-submit__loader {
  display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.auth-submit.is-loading .auth-submit__text { opacity: 0; }
.auth-submit.is-loading .auth-submit__loader { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Switch */
.auth-switch { text-align: center; font-size: 13px; color: var(--gray-600); margin-top: 20px; }
.auth-switch-btn { background: none; border: none; color: var(--black); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* Divider */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 11px; color: var(--gray-600); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* Social */
.auth-social { display: flex; gap: 10px; }
.auth-social-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 16px; border: 1px solid var(--border); font-size: 13px; font-weight: 600;
  color: var(--black); text-decoration: none; transition: border-color var(--fast), background var(--fast);
}
.auth-social-btn:hover { border-color: var(--black); background: var(--gray-100); }

/* Account dropdown */
.account-dropdown-wrap { position: relative; }
.account-dot {
  position: absolute; bottom: 8px; right: 8px;
  width: 7px; height: 7px; background: #22c55e; border-radius: 50%;
  border: 1.5px solid var(--white);
}
.account-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 240px; background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.1); z-index: 500;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--med), transform var(--med), visibility var(--med);
}
.account-dropdown-wrap:hover .account-dropdown,
.account-dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown__header { display: flex; gap: 12px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); background: var(--gray-100); }
.account-dropdown__avatar { width: 36px; height: 36px; background: var(--black); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; flex-shrink: 0; }
.account-dropdown__name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.account-dropdown__email { font-size: 11px; color: var(--gray-600); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.account-dropdown__nav { padding: 8px 0; }
.account-dropdown__nav a { display: block; padding: 10px 16px; font-size: 13px; color: var(--gray-800); transition: background var(--fast), color var(--fast); }
.account-dropdown__nav a:hover { background: var(--gray-100); color: var(--black); }
.account-dropdown__logout { color: var(--red) !important; border-top: 1px solid var(--border); margin-top: 4px; }
.account-dropdown__logout:hover { background: #fff5f5 !important; }

/* ─── "Continue as guest" prompt on checkout ─────────── */
.cn-guest-prompt { background: var(--gray-100); border: 1px solid var(--border); padding: 20px; margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cn-guest-prompt p { font-size: 13px; color: var(--gray-800); line-height: 1.5; }
.cn-guest-prompt strong { display: block; font-size: 14px; color: var(--black); margin-bottom: 4px; }
