/* ===== Dark Forest Green Theme ===== */
:root {
  --bg:         #0d1a0f;
  --surface:    #152b1a;
  --surface2:   #1d3825;
  --primary:    #2d7a50;
  --primary-dk: #236040;
  --gold:       #c8a96e;
  --text:       #e8f2ec;
  --text-muted: #8aaa8e;
  --border:     #2a4a35;
  --red:        #e05252;
  --green-ok:   #52b788;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Lato', sans-serif;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0,0,0,.5);
  --transition: all .25s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.main-content { min-height: 70vh; }

/* ===== Header ===== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 2rem; padding: 1rem 1.5rem; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.logo-sub { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); }
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a { font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text); transition: var(--transition); }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.user-greeting { font-size: .85rem; color: var(--text-muted); }
.cart-icon { font-size: 1.1rem; position: relative; }
.cart-count { background: var(--primary); color: #fff; border-radius: 50%; font-size: .7rem; padding: 0 .4rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
.mobile-nav { display: none; flex-direction: column; background: var(--surface); padding: 1rem; gap: .75rem; border-top: 1px solid var(--border); }
.mobile-nav a { font-size: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); color: var(--text); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: .6rem 1.4rem; border-radius: var(--radius); font-size: .875rem; font-weight: 700; letter-spacing: .05em; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--primary-dk); }
.btn-full { width: 100%; display: block; }
.btn-lg { padding: .8rem 2rem; font-size: 1rem; }
.btn-sm { padding: .35rem .8rem; font-size: .8rem; }
.btn-disabled { background: var(--surface2); border-color: var(--border); color: var(--text-muted); cursor: not-allowed; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: #c04040; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #071209 0%, #0d1a0f 50%, #152b1a 100%); color: #fff; padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d7a50' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.hero-tag { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.1rem; opacity: .85; max-width: 500px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Section Titles ===== */
.section-title { font-family: var(--font-display); font-size: 2rem; color: var(--text); text-align: center; margin-bottom: 2.5rem; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin: .75rem auto 0; }

/* ===== Categories ===== */
.categories-section { background: var(--surface); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.category-card { background: var(--surface2); border: 2px solid transparent; border-radius: var(--radius); padding: 1.5rem; text-align: center; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; transition: var(--transition); color: var(--text); }
.category-card:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.6); border-color: var(--gold); }
.product-img { height: 280px; background-size: cover; background-position: center; background-color: var(--surface2); position: relative; }
.badge-sale, .badge-sold { position: absolute; top: .75rem; left: .75rem; padding: .25rem .6rem; border-radius: 2px; font-size: .75rem; font-weight: 700; }
.badge-sale { background: var(--gold); color: #0a1a0a; }
.badge-sold { background: #222; color: #aaa; }
.product-info { padding: 1rem; }
.product-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .25rem; }
.product-name { font-family: var(--font-display); font-size: 1rem; margin-bottom: .5rem; color: var(--text); }
.product-name a:hover { color: var(--gold); }
.product-price { margin-bottom: .75rem; font-weight: 700; color: var(--text); }
.price-old { text-decoration: line-through; color: var(--text-muted); margin-right: .5rem; font-size: .9rem; }
.price-sale { color: var(--red); }

/* ===== Announcement Bar ===== */
.announcement-bar { background: var(--primary-dk); color: #e8f2ec; text-align: center; padding: .45rem 1rem; font-size: .8rem; letter-spacing: .06em; border-bottom: 1px solid var(--border); }
.announcement-bar strong { color: var(--gold); }

/* ===== Image Overlay / No-image ===== */
.product-img .img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.48); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card:hover .img-overlay { opacity: 1; }
.product-img.no-image { background-image: none !important; }
.product-img.no-image::before { content: '🧥'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); font-size: 2.5rem; opacity: .35; }
.product-img.no-image::after { content: 'Photo Coming Soon'; position: absolute; bottom: 30%; left: 0; right: 0; text-align: center; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* ===== Brand Story ===== */
.brand-section { background: var(--surface); }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.brand-text .hero-tag { margin-bottom: .75rem; display: block; }
.brand-text h2 { font-family: var(--font-display); font-size: 2rem; color: var(--text); line-height: 1.2; margin-bottom: 1.25rem; }
.brand-text p { color: var(--text-muted); line-height: 1.8; }
.brand-visual { display: flex; align-items: center; justify-content: center; }
.brand-badge { width: 220px; height: 220px; border-radius: 50%; border: 3px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--surface2); box-shadow: 0 0 40px rgba(200,169,110,.15); }
.brand-badge-num { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.brand-badge-year { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 1; }
.brand-badge-text { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }

/* ===== Features ===== */
.features-section { background: var(--primary); color: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.feature { text-align: center; }
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .5rem; }
.feature p { opacity: .8; font-size: .9rem; }

/* ===== Shop Page ===== */
.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.shop-header h1 { font-family: var(--font-display); font-size: 2rem; color: var(--text); }
.search-form { display: flex; gap: .5rem; }
.search-form input { padding: .5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); width: 250px; background: var(--surface); color: var(--text); }
.search-form input::placeholder { color: var(--text-muted); }
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; }
.shop-sidebar h3 { font-family: var(--font-display); color: var(--text); margin-bottom: 1rem; }
.cat-list li { margin-bottom: .5rem; }
.cat-list a { font-size: .9rem; color: var(--text); padding: .25rem 0; display: block; transition: var(--transition); }
.cat-list a:hover, .cat-list a.active { color: var(--gold); font-weight: 700; }
.results-count { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.empty-msg { padding: 3rem; text-align: center; color: var(--text-muted); }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; }
.pagination a { padding: .5rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .9rem; color: var(--text); }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a:hover:not(.active) { background: var(--surface2); }

/* ===== Product Detail ===== */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--gold); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.gallery-main { height: 500px; background-size: cover; background-position: center; background-color: var(--surface2); border-radius: var(--radius); border: 1px solid var(--border); }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 70px; background-size: cover; background-position: center; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb:hover { border-color: var(--gold); }
.product-detail-info h1 { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin-bottom: .5rem; }
.product-price-lg { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.product-description { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.stock-info { color: var(--green-ok); font-size: .9rem; margin-bottom: 1rem; }
.stock-out { color: var(--red); font-size: .9rem; margin-bottom: 1rem; }
.qty-group { margin-bottom: 1rem; }
.qty-group label { display: block; font-size: .85rem; margin-bottom: .4rem; font-weight: 700; color: var(--text); }
.qty-input { width: 80px; padding: .5rem; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; background: var(--surface); color: var(--text); }
.back-link { display: inline-block; margin-top: 1.5rem; color: var(--gold); font-size: .9rem; }

/* ===== Cart ===== */
.empty-cart { text-align: center; padding: 4rem; }
.empty-cart p { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item { display: flex; gap: 1rem; padding: 1.25rem; background: var(--surface); border-radius: var(--radius); margin-bottom: 1rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.cart-item-img { width: 90px; height: 90px; min-width: 90px; background-size: cover; background-position: center; border-radius: var(--radius); background-color: var(--surface2); }
.cart-item-details { flex: 1; }
.cart-item-details h3 { font-family: var(--font-display); margin-bottom: .25rem; color: var(--text); }
.cart-item-price { color: var(--text-muted); font-size: .9rem; margin-bottom: .5rem; }
.cart-item-subtotal { text-align: right; color: var(--text); }
.remove-btn { background: none; border: none; color: var(--red); cursor: pointer; font-size: .8rem; margin-top: .5rem; }
.cart-summary { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.cart-summary h3 { font-family: var(--font-display); margin-bottom: 1rem; color: var(--text); }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text); }
.summary-total { font-weight: 700; font-size: 1.1rem; border-bottom: none; padding-top: .75rem; }
.qty-form { display: inline; }

/* ===== Auth ===== */
.auth-section { display: flex; align-items: center; min-height: 70vh; }
.auth-box { max-width: 440px; margin: 0 auto; background: var(--surface); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; border: 1px solid var(--border); }
.auth-box h1 { font-family: var(--font-display); color: var(--text); margin-bottom: .25rem; }
.auth-sub { color: var(--text-muted); margin-bottom: 1.5rem; }
.auth-form .form-group { margin-bottom: 1rem; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 3rem; width: 100%; }
.pw-toggle { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1.05rem; line-height: 1; color: var(--text-muted); padding: .25rem; user-select: none; }
.pw-toggle:hover { color: var(--gold); }
.auth-form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.auth-form input { width: 100%; padding: .65rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .95rem; transition: var(--transition); background: var(--surface2); color: var(--text); }
.auth-form input:focus { outline: none; border-color: var(--gold); }
.auth-switch { margin-top: 1.25rem; text-align: center; font-size: .9rem; color: var(--text-muted); }
.auth-switch a { color: var(--gold); font-weight: 700; }

/* ===== Forms ===== */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .65rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: .95rem; transition: var(--transition); background: var(--surface2); color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }

/* ===== Checkout (upgraded) ===== */
.checkout-section { padding: 2.5rem 0 6rem; }
.checkout-header { text-align: center; margin-bottom: 2rem; }
.checkout-header h1 { font-family: var(--font-display); font-size: 2rem; color: var(--text); margin-bottom: .5rem; }
.checkout-trust { display: inline-flex; gap: .5rem; font-size: .8rem; color: var(--text-muted); flex-wrap: wrap; justify-content: center; }
.checkout-trust span { white-space: nowrap; }

.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.checkout-form-wrap { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.checkout-order { background: var(--surface); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); position: sticky; top: 90px; }
.checkout-order h3 { font-family: var(--font-display); margin-bottom: 1rem; color: var(--text); }

/* Steps */
.cf-step { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem 1.25rem; margin-bottom: 1.25rem; background: rgba(0,0,0,.08); }
.cf-step legend { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; padding: 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.cf-step-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--primary); color: #fff; border-radius: 50%; font-size: .8rem; font-family: var(--font-body); font-weight: 700; }
.req { color: var(--red); }
.hint { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .25rem; }
.check-row { display: flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--text); }
.check-row input { width: 16px; height: 16px; accent-color: var(--primary); }

/* Order summary items */
.order-items { max-height: 320px; overflow-y: auto; padding-right: .25rem; margin-bottom: 1rem; }
.checkout-item { display: flex; gap: .85rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.checkout-item:last-child { border-bottom: none; }
.checkout-item-img { position: relative; width: 56px; height: 56px; min-width: 56px; background-size: cover; background-position: center; border-radius: var(--radius); background-color: var(--surface2); border: 1px solid var(--border); }
.qty-bubble { position: absolute; top: -8px; right: -8px; background: var(--primary); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; border: 2px solid var(--surface); }
.checkout-item-info { flex: 1; font-size: .85rem; color: var(--text); }
.checkout-item-info strong { display: block; line-height: 1.3; }
.checkout-item-info .variant { color: var(--text-muted); font-size: .75rem; margin-top: .15rem; }
.checkout-item-info .low-stock { color: var(--gold); font-size: .72rem; margin-top: .15rem; font-weight: 700; }
.line-total { font-size: .9rem; white-space: nowrap; }

/* Promo */
.promo-row { display: flex; gap: .5rem; margin: 1rem 0 .5rem; }
.promo-row input { flex: 1; padding: .55rem .8rem; background: var(--surface2); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); font-size: .9rem; }
.promo-row input:focus { outline: none; border-color: var(--gold); }
.promo-msg { font-size: .8rem; padding: .4rem .6rem; border-radius: var(--radius); margin-bottom: .5rem; }
.promo-ok  { background: rgba(82,183,136,.15); color: var(--green-ok); }
.promo-err { background: rgba(224,82,82,.15); color: #f08080; }

/* Totals breakdown */
.totals-breakdown { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .9rem; color: var(--text); }
.summary-row small { color: var(--text-muted); font-weight: 400; }
.summary-total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .75rem; font-size: 1.15rem; font-weight: 700; color: var(--gold); }
.ship-hint { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: .75rem; padding: .5rem; background: var(--surface2); border-radius: var(--radius); }
.trust-list { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); list-style: none; }
.trust-list li { font-size: .78rem; color: var(--text-muted); padding: .25rem 0; }
.trust-list a { color: var(--gold); }

/* Card / wallets */
#card-container { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; min-height: 90px; background: var(--surface2); }
.card-err { color: var(--red); font-size: .85rem; margin-top: .5rem; }
.wallet-row { display: flex; gap: .75rem; flex-direction: column; margin-bottom: 1rem; }
.wallet-btn { min-height: 44px; }
#apple-pay-button { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; height: 44px; cursor: pointer; }
.wallet-divider { text-align: center; color: var(--text-muted); font-size: .8rem; margin: .5rem 0 1rem; position: relative; }
.wallet-divider::before, .wallet-divider::after { content: ''; position: absolute; top: 50%; width: 35%; height: 1px; background: var(--border); }
.wallet-divider::before { left: 0; }
.wallet-divider::after  { right: 0; }
.wallet-divider span { background: var(--surface); padding: 0 .75rem; }

.pay-btn-main { margin-top: 1rem; font-size: 1rem; padding: .9rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.lock-ico { font-size: .9em; }
.pay-foot { font-size: .72rem; color: var(--text-muted); text-align: center; margin-top: .5rem; line-height: 1.5; }

/* Mobile sticky pay bar */
.mobile-pay-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: .75rem 1rem; z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.4); align-items: center; justify-content: space-between; gap: 1rem; }
.mobile-pay-bar small { font-size: .7rem; color: var(--text-muted); display: block; }
.mobile-pay-bar strong { font-size: 1.1rem; color: var(--gold); }
.mobile-pay-bar .btn { padding: .75rem 1.5rem; }

/* Express checkout CTA */
.express-cta { display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:1.25rem 1.5rem; margin-bottom:1rem; background:linear-gradient(135deg, var(--surface,#152b1a), var(--surface2,#1d3825)); border:1px solid var(--gold,#c8a96e); border-radius:6px; box-shadow:var(--shadow); }
.express-cta strong { display:block; font-size:1.05rem; color:var(--gold,#c8a96e); margin-bottom:.15rem; }
.express-cta small { color:var(--text-muted,#8aaa8e); font-size:.82rem; display:block; max-width:480px; }
.express-cta .btn { white-space:nowrap; }
.express-divider { text-align:center; color:var(--text-muted,#8aaa8e); font-size:.85rem; margin:1rem 0 1.5rem; position:relative; }
.express-divider::before, .express-divider::after { content:''; position:absolute; top:50%; width:30%; height:1px; background:var(--border,#2a4a35); }
.express-divider::before { left:0; }
.express-divider::after  { right:0; }
.express-divider span { background:var(--bg,#0d1a0f); padding:0 1rem; }

/* ===== Alerts ===== */
.alert { padding: .85rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .9rem; }
.alert-error { background: rgba(224,82,82,.12); color: #f08080; border: 1px solid rgba(224,82,82,.3); }
.alert-success { background: rgba(82,183,136,.12); color: var(--green-ok); border: 1px solid rgba(82,183,136,.3); }

/* ===== Footer ===== */
.site-footer { background: #070f09; color: var(--text-muted); padding: 3rem 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand .logo-main { color: var(--gold); }
.footer-brand .logo-sub { color: #4a6a52; }
.footer-brand p { font-size: .85rem; margin-top: .75rem; line-height: 1.7; }
.footer-links h4 { font-family: var(--font-display); color: var(--text); margin-bottom: 1rem; font-size: 1rem; }
.footer-links ul li { margin-bottom: .5rem; }
.footer-links a { font-size: .85rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1rem 0; text-align: center; font-size: .8rem; color: #4a6a52; }

/* ===== Condition Badge ===== */
.condition-badge { display: inline-block; padding: .2rem .55rem; border-radius: 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .65rem; }
.condition-excellent { background: rgba(82,183,136,.2); color: #52b788; }
.condition-good { background: rgba(200,169,110,.2); color: var(--gold); }
.condition-fair { background: rgba(100,160,220,.2); color: #7ab4e0; }
.condition-poor { background: rgba(224,82,82,.15); color: #e08080; }

/* ===== Order Cards ===== */
.order-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; flex-wrap: wrap; gap: .5rem; }

/* ===== Static Pages (About / Contact / Policy) ===== */
.page-hero { background: var(--surface); padding: 3rem 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-size: 2.5rem; color: var(--text); margin-bottom: .5rem; }
.page-hero p { color: var(--text-muted); font-size: 1rem; }
.page-content { max-width: 780px; margin: 0 auto; }
.page-content h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); margin: 2rem 0 .75rem; }
.page-content p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1rem; }
.page-content ul { color: var(--text-muted); line-height: 2.1; padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.page-content a { color: var(--gold); }

/* ===== Related Products ===== */
.related-section { background: var(--surface); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; margin-left: auto; }
  .mobile-nav.open { display: flex; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-order { position: static; order: -1; }
  .order-items { max-height: 200px; }
  .mobile-pay-bar { display: flex; }
  .pay-btn-main { display: none; }
  body { padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-visual { display: none; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn:not(.btn-sm) { display: none; }
}
