/* ═══════════════════════════════════════════════════════ 
   Golden Touch Craps — The Gambler's Outpost
   Dark Luxury Store Stylesheet
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dim:    #7A5C20;
  --ink:         #0b1e0e;
  --ink-2:       #112516;
  --ink-3:       #162e1b;
  --ink-4:       #1d3822;
  --felt:        #082010;
  --red:         #B83025;
  --text:        #F0EBE0;
  --text-muted:  #9A8A78;
  --text-dim:    #5E5040;
  --border:      rgba(201,168,76,0.22);
  --border-hover:rgba(201,168,76,0.55);
}

*  { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(201,168,76,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--text);
  min-height: 100vh;
}
a    { text-decoration: none; color: inherit; }
img  { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ── TOPBAR ────────────────────────────────────────────── */
.topbar { background: #061009; border-bottom: 1px solid var(--border); padding: 5px 40px; font-size: 11px; letter-spacing: .06em; color: var(--gold); }
.topbar a { color: var(--gold-light); }
.topbar-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner > span { flex: 1; text-align: center; }

/* Google Translate widget overrides */
.gtranslate-widget { flex-shrink: 0; }
.gtranslate-widget .goog-te-gadget { font-size: 0 !important; }
.gtranslate-widget .goog-te-gadget select { font-size: 10px; background: transparent; border: 1px solid rgba(201,168,76,.35); color: var(--gold); border-radius: 4px; padding: 2px 4px; cursor: pointer; }
.gtranslate-widget .goog-te-gadget select:focus { outline: none; }
.gtranslate-widget .goog-te-gadget a { display: none !important; }
/* Hide the "Powered by Google" banner that injects at top */
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Mobile translate bar — only shown on small screens */
.mobile-translate-bar { display: none; background: #061009; border-bottom: 1px solid var(--border); padding: 6px 20px; text-align: right; }
.mobile-translate-bar .goog-te-gadget { font-size: 0 !important; }
.mobile-translate-bar .goog-te-gadget select { font-size: 11px; background: transparent; border: 1px solid rgba(201,168,76,.35); color: var(--gold); border-radius: 4px; padding: 3px 6px; cursor: pointer; }
.mobile-translate-bar .goog-te-gadget a { display: none !important; }


/* ── HEADER ────────────────────────────────────────────── */
header { background: var(--ink-2); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.hdr { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-mark { width: 40px; height: 40px; background: var(--gold); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.logo-sub  { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.hdr-right { display: flex; align-items: center; gap: 18px; }
.hdr-links { display: flex; align-items: center; gap: 4px; }
.hdr-link  { font-size: 11px; color: var(--text-muted); padding: 6px 10px; border-radius: 4px; transition: color .15s; }
.hdr-link:hover { color: var(--gold); }
.phone-block { text-align: right; }
.phone-lbl { font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); }
.phone-num { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--gold); }
.cart-btn  { background: var(--gold); color: var(--ink); border: none; padding: 8px 16px; border-radius: 5px; font-size: 11px; font-weight: 500; letter-spacing: .08em; cursor: pointer; display: flex; align-items: center; gap: 7px; text-transform: uppercase; transition: background .2s; white-space: nowrap; }
.cart-btn:hover { background: var(--gold-light); }
.cart-ct   { background: var(--red); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 9px; display: flex; align-items: center; justify-content: center; }

/* ── SEARCH BAR ─────────────────────────────────────────── */
.search-form { display: flex; align-items: center; background: var(--ink-3); border: 1px solid var(--border); border-radius: 5px; overflow: hidden; }
.search-input { background: transparent; border: none; color: var(--text); padding: 7px 12px; font-size: 12px; width: 180px; outline: none; }
.search-input::placeholder { color: var(--text-dim); }
.search-btn { background: transparent; border: none; color: var(--text-muted); padding: 7px 10px; cursor: pointer; font-size: 13px; transition: color .15s; }
.search-btn:hover { color: var(--gold); }

/* ── NAV ───────────────────────────────────────────────── */
nav { background: var(--ink-3); border-bottom: 1px solid var(--border); }
.nav { max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; }
.nav-a { padding: 12px 14px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid transparent; transition: all .15s; font-weight: 500; }
.nav-a:hover, .nav-a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-badge { background: var(--red); color: #fff; border-radius: 3px; font-size: 8px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
.nav-right { font-size: 10px; color: var(--text-dim); letter-spacing: .05em; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-gold  { background: var(--gold); color: var(--ink); border: none; padding: 11px 22px; border-radius: 5px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid rgba(201,168,76,.28); padding: 11px 22px; border-radius: 5px; font-size: 11px; letter-spacing: .08em; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm    { padding: 7px 14px; font-size: 10px; }
.btn-red   { background: var(--red); color: #fff; border: none; padding: 8px 16px; border-radius: 5px; font-size: 11px; cursor: pointer; transition: opacity .2s; }
.btn-red:hover { opacity: .85; }
.add-btn   { background: transparent; border: 1px solid var(--gold-dim); color: var(--gold); padding: 5px 10px; border-radius: 4px; font-size: 10px; font-weight: 500; cursor: pointer; letter-spacing: .06em; text-transform: uppercase; transition: all .18s; white-space: nowrap; }
.add-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ── RIGS HERO IMAGE ───────────────────────────────────── */
.rigs-hero-band { background: var(--ink); }
.rigs-hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.rigs-hero-inner img { display: block; width: 100%; height: auto; }

/* ── HERO ──────────────────────────────────────────────── */
.hero { background: linear-gradient(145deg,#061510 0%,#0b1e0e 55%,#0e1c08 100%); overflow: hidden; }
.hero-wrap { max-width: 1240px; margin: 0 auto; padding: 38px 40px 0; display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: end; }
.hero-copy { padding-bottom: 38px; }
.hero-eyebrow { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero-h1 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; line-height: 1.08; margin-bottom: 14px; }
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-p  { font-size: 13px; color: var(--text-muted); line-height: 1.78; margin-bottom: 22px; max-width: 390px; }
.hero-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.htile { background: var(--ink-2); padding: 16px 18px 18px; cursor: pointer; transition: background .18s; display: flex; flex-direction: column; }
.htile:hover { background: var(--ink-4); }
.htile-eye  { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 7px; }
.htile-img  { width: 100%; height: 116px; object-fit: contain; object-position: center; margin-bottom: 10px; border-radius: 2px; background: var(--ink-3); }
.htile-imgbox { width: 100%; height: 116px; background: var(--ink-3); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 38px; margin-bottom: 10px; }
.htile-name  { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.htile-price { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--gold); }

/* ── PAGE WRAPPER ──────────────────────────────────────── */
.page { max-width: 1240px; margin: 0 auto; padding: 44px 40px 60px; }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb-wrap { background: var(--ink-3); border-bottom: 1px solid var(--border); }
.breadcrumb { max-width: 1240px; margin: 0 auto; padding: 10px 40px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-dim); font-size: 10px; }

/* ── SEMINAR BANNER ────────────────────────────────────── */
.sem-banner { background: linear-gradient(108deg,var(--felt) 0%,#0C1C0C 100%); border: 1px solid rgba(201,168,76,.2); border-radius: 8px; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 46px; }
.sem-left .eyebrow { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.sem-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.sem-desc  { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; max-width: 540px; }
.sem-cta   { background: var(--gold); color: var(--ink); border: none; padding: 11px 22px; border-radius: 5px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; flex-shrink: 0; transition: background .2s; white-space: nowrap; }
.sem-cta:hover { background: var(--gold-light); }

/* ── BOOK FEATURE ──────────────────────────────────────── */
.book-feat { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 230px 1fr; margin-bottom: 46px; }
.bf-img    { background: var(--ink-3); display: flex; align-items: center; justify-content: center; padding: 24px; border-right: 1px solid var(--border); }
.bf-img img { max-height: 230px; max-width: 100%; object-fit: contain; border-radius: 3px; box-shadow: 0 6px 28px rgba(0,0,0,.55); }
.bf-body   { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.bf-eye    { font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.bf-title  { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; line-height: 1.12; margin-bottom: 6px; }
.bf-author { font-size: 12px; color: var(--text-muted); font-style: italic; margin-bottom: 14px; }
.bf-desc   { font-size: 12.5px; color: var(--text-muted); line-height: 1.72; margin-bottom: 18px; }
.bf-pr-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.bf-price  { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); }
.bf-old    { font-size: 12px; color: var(--text-dim); text-decoration: line-through; }
.bf-acts   { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FEATURED 3-UP ─────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feat-card { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color .18s,transform .18s; display: flex; flex-direction: column; }
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.feat-img  { width: 100%; height: 199px; background: var(--ink-3); overflow: hidden; position: relative; flex-shrink: 0; border-bottom: 1px solid var(--border); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-img .e { font-size: 52px; display: flex; align-items: center; justify-content: center; height: 100%; }
.feat-badge { position: absolute; top: 8px; left: 8px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 3px 7px; border-radius: 3px; }
.feat-badge.red   { background: var(--red); color: #fff; }
.feat-badge.green { background: #1a6b2e; color: #a0e0b0; }
.feat-body  { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.feat-name  { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--text); line-height: 1.3; flex: 1; margin-bottom: 4px; }
.feat-author { font-size: 11px; color: var(--text-dim); font-style: italic; margin-bottom: 10px; }
.feat-foot  { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.feat-price { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); }

/* ── SECTION ───────────────────────────────────────────── */
.sec { margin-bottom: 46px; }
.sec-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sec-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; }
.sec-more  { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); cursor: pointer; }
.sec-more:hover { color: var(--gold-light); }

/* ── RIG CARDS ─────────────────────────────────────────── */
.grid-rigs { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.rig-card  { background: var(--ink-2); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; transition: border-color .18s,transform .18s; display: flex; flex-direction: column; }
.rig-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.rc-img    { height: 195px; background: var(--ink-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; flex-shrink: 0; }
.rc-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.rc-img .e { font-size: 48px; }
.rc-badge  { position: absolute; top: 8px; right: 8px; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 7px; border-radius: 3px; }
.rc-badge.gold { background: var(--gold); color: var(--ink); }
.rc-body   { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.rc-name   { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--text); margin-bottom: 5px; line-height: 1.3; flex: 1; }
.rc-ship   { font-size: 10.5px; color: var(--text-dim); margin-bottom: 10px; }
.rc-foot   { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-price  { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); }
.rc-old    { font-size: 10px; color: var(--text-dim); text-decoration: line-through; }

/* ── PRODUCT CARDS ─────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.pc     { background: var(--ink-2); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; transition: border-color .18s,transform .18s; display: flex; flex-direction: column; }
.pc:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.pc-img { height: 150px; background: var(--ink-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; flex-shrink: 0; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.pc-img .e  { font-size: 42px; }
.pc-badge   { position: absolute; top: 7px; left: 7px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 2px 6px; border-radius: 2px; }
.pc-badge.red   { background: var(--red); color: #fff; }
.pc-badge.green { background: #1a6b2e; color: #a0e0b0; }
.pc-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.pc-name { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--text); margin-bottom: 8px; line-height: 1.35; flex: 1; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.pc-price { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--gold); }
.pc-old   { font-size: 9.5px; color: var(--text-dim); text-decoration: line-through; display: block; }

/* ── PRODUCT DETAIL ────────────────────────────────────── */
.product-page { max-width: 1240px; margin: 0 auto; padding: 40px 40px 60px; }
.product-wrap { display: grid; grid-template-columns: 1fr 480px; gap: 52px; align-items: start; margin-bottom: 60px; }
.gallery-main { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 20px; }
.gallery-main img { max-height: 360px; max-width: 100%; object-fit: contain; border-radius: 4px; }
.gallery-main .bigem { font-size: 110px; opacity: .6; }
.gallery-detail { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.gallery-detail img { width: 100%; max-height: 400px; object-fit: cover; display: block; }
.gallery-thumb-row { display: flex; gap: 8px; margin-bottom: 10px; }
.gallery-thumb { height: 80px; width: auto; max-width: 130px; object-fit: contain; border-radius: 5px; border: 1px solid var(--border); background: var(--ink-2); padding: 4px; cursor: pointer; transition: border-color .15s; }
.gallery-thumb:hover { border-color: var(--gold); }
.product-info {font-size: 12px;}
.pi-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.pi-badge { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; font-weight: 500; }
.pi-badge.gold  { background: var(--gold); color: var(--ink); }
.pi-badge.red   { background: var(--red); color: #fff; }
.pi-badge.green { background: #1a6b2e; color: #8fdfb0; }
.pi-badge.outline { background: transparent; border: 1px solid var(--gold-dim); color: var(--gold); }
.pi-cat    { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pi-title  { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.pi-subtitle { font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; color: var(--text-muted); margin-bottom: 10px; }
.pi-author { font-size: 12px; color: var(--text-dim); margin-bottom: 18px; }
.price-block { background: var(--ink-3); border: 1px solid var(--border); border-radius: 7px; padding: 18px 20px; margin-bottom: 18px; }
.price-row   { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.price-main  { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--gold); }
.price-old   { font-size: 14px; color: var(--text-dim); text-decoration: line-through; }
.price-save  { font-size: 12px; color: #6dba8a; font-weight: 500; }
.shipping-line { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.delivery-note { font-size: 11px; color: var(--text-dim); margin-top: 4px; font-style: italic; }
.options-block { margin-bottom: 18px; }
.opt-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.opt-select { background: var(--ink-3); border: 1px solid var(--border); color: var(--text); padding: 10px 14px; border-radius: 5px; font-size: 13px; width: 100%; cursor: pointer; transition: border-color .15s; }
.opt-select:focus { outline: none; border-color: var(--gold); }
.buy-block { margin-bottom: 18px; }
.qty-row   { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.qty-lbl   { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); width: 54px; }
.qty-ctrl  { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 5px; overflow: hidden; }
.qty-btn   { width: 36px; height: 36px; background: var(--ink-3); border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; transition: color .15s; }
.qty-btn:hover { color: var(--gold); }
.qty-num   { width: 44px; text-align: center; font-family: 'Playfair Display', serif; font-size: 17px; color: var(--text); border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 36px; user-select: none; }
.add-cart-btn { width: 100%; background: var(--gold); color: var(--ink); border: none; padding: 15px; border-radius: 6px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.add-cart-btn:hover { background: var(--gold-light); }
.paypal-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11px; color: var(--text-dim); margin-bottom: 4px; }
.call-order { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 4px; }
.call-order a { color: var(--gold); }
.trust-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tp { background: var(--ink-3); border: 1px solid var(--border); border-radius: 20px; padding: 6px 12px; font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.desc-section { margin-bottom: 60px; }
.desc-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.desc-tab  { padding: 12px 20px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all .15s; font-weight: 500; }
.desc-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.desc-panel { display: none; }
.desc-panel.active { display: block; }
.desc-body  { font-size: 14px; color: var(--text-muted); line-height: 1.8; white-space: pre-line; }
.desc-short { font-family: 'Playfair Display', serif; font-style: italic; font-size: 17px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.ship-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ship-table th { text-align: left; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 8px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.ship-table td { padding: 10px 0; border-bottom: 1px solid rgba(201,168,76,.08); color: var(--text-muted); vertical-align: top; }
.ship-table td:first-child { color: var(--text); width: 50%; }
.rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.rel-hdr  { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.rel-card { background: var(--ink-2); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; transition: border-color .18s,transform .18s; display: flex; flex-direction: column; }
.rel-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.rel-img  { height: 150px; background: var(--ink-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.rel-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.rel-img .e { font-size: 42px; }
.rel-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.rel-name { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--text); margin-bottom: 8px; line-height: 1.35; flex: 1; }
.rel-foot { display: flex; align-items: center; justify-content: space-between; }
.rel-price { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--gold); }

/* ── CART ──────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding: 10px 0; border-bottom: 1px solid var(--border); }
.cart-table td { padding: 16px 0; border-bottom: 1px solid rgba(201,168,76,.08); vertical-align: middle; }
.cart-item-img { width: 60px; height: 60px; background: var(--ink-3); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-qty { width: 50px; background: var(--ink-3); border: 1px solid var(--border); color: var(--text); padding: 5px 8px; border-radius: 4px; font-size: 13px; text-align: center; }
.cart-summary { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.cart-sum-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.cart-sum-total { display: flex; justify-content: space-between; font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 6px; }

/* ── CHECKOUT ──────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.checkout-form { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; padding: 28px; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 8px; }
.form-input { width: 100%; background: var(--ink-3); border: 1px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: 5px; font-size: 13px; transition: border-color .15s; }
.form-input:focus { outline: none; border-color: var(--gold); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── AUTH FORMS ────────────────────────────────────────── */
.auth-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box  { background: var(--ink-2); border: 1px solid var(--border); border-radius: 10px; padding: 40px; width: 100%; max-width: 440px; }
.auth-title { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 6px; }
.auth-sub   { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.auth-link  { color: var(--gold); font-size: 12px; }
.alert      { padding: 12px 16px; border-radius: 5px; font-size: 13px; margin-bottom: 18px; }
.alert-error   { background: rgba(184,48,37,.15); border: 1px solid rgba(184,48,37,.35); color: #ff9f9f; }
.alert-success { background: rgba(29,110,45,.15); border: 1px solid rgba(29,110,45,.35); color: #8fdfb0; }

/* ── ACCOUNT ───────────────────────────────────────────── */
.account-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.account-nav  { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); transition: all .15s; }
.account-nav a:last-child { border-bottom: none; }
.account-nav a:hover, .account-nav a.active { color: var(--gold); background: rgba(201,168,76,.05); }
.account-card { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; padding: 28px; margin-bottom: 20px; }
.account-card-title { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dl-item { background: var(--ink-3); border: 1px solid var(--border); border-radius: 6px; padding: 16px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dl-info  { flex: 1; }
.dl-name  { font-family: 'Playfair Display', serif; font-size: 15px; margin-bottom: 4px; }
.dl-meta  { font-size: 11px; color: var(--text-muted); }
.dl-badge { font-size: 10px; padding: 3px 8px; border-radius: 3px; background: #1a6b2e; color: #8fdfb0; white-space: nowrap; }
.dl-badge.exhausted { background: #4a2020; color: #e09090; }
.dl-badge.revoked   { background: #333; color: #777; }
.dl-btn   { background: var(--gold); color: var(--ink); border: none; padding: 8px 16px; border-radius: 4px; font-size: 11px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .2s; }
.dl-btn:hover { background: var(--gold-light); }
.order-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,.08); font-size: 13px; align-items: center; }
.order-row:last-child { border-bottom: none; }
.status-badge { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; display: inline-block; }
.status-badge.paid, .status-badge.complete { background: #1a3d26; color: #6dba8a; }
.status-badge.pending { background: #3d3a1a; color: #c9a84c; }
.status-badge.shipped { background: #1a2d3d; color: #6aaada; }
.status-badge.cancelled, .status-badge.refunded { background: #3d1a1a; color: #e08080; }

/* ── TOAST ─────────────────────────────────────────────── */
.toast { position: fixed; bottom: 22px; right: 22px; background: var(--felt); border: 1px solid rgba(201,168,76,.35); color: var(--text); padding: 11px 16px; border-radius: 6px; font-size: 12px; display: none; align-items: center; gap: 9px; z-index: 500; max-width: 320px; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.toast.show { display: flex; }
.toast-check { color: var(--gold); }

/* ── FOOTER ────────────────────────────────────────────── */
footer { background: var(--ink-2); border-top: 1px solid var(--border); padding: 40px 40px 18px; }
.ft { max-width: 1240px; margin: 0 auto; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.ft-brand-name { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--gold); margin-bottom: 9px; }
.ft-brand-desc { font-size: 11px; color: var(--text-muted); line-height: 1.68; }
.ft-col h4 { font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 11px; }
.ft-col a  { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 7px; transition: color .15s; }
.ft-col a:hover { color: var(--text); }
.ft-bottom { border-top: 1px solid var(--border); padding-top: 14px; display: flex; justify-content: space-between; font-size: 10px; color: var(--text-dim); flex-wrap: wrap; gap: 8px; }

/* ── CATEGORY PAGE ─────────────────────────────────────── */
.hidden { display: none !important; }
.cat-page-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.cat-h1  { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 400; }
.cat-count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.cat-view-toggle { display: flex; gap: 4px; }
.cvt-btn { background: var(--ink-3); border: 1px solid var(--border); color: var(--text-muted); padding: 7px 13px; border-radius: 5px; font-size: 10.5px; letter-spacing: .06em; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all .15s; }
.cvt-btn:hover { color: var(--gold); border-color: var(--gold-dim); }
.cvt-btn.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
/* list row */
.cl-row { display: flex; gap: 22px; align-items: flex-start; background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; padding: 18px; margin-bottom: 10px; transition: border-color .18s; }
.cl-row:hover { border-color: var(--border-hover); }
.cl-img-wrap { flex-shrink: 0; width: 150px; height: 150px; background: var(--ink-3); border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.cl-img { width: 150px; height: 150px; object-fit: cover; display: block; cursor: zoom-in; transition: transform .22s; }
.cl-img-wrap:hover .cl-img { transform: scale(1.05); }
.cl-img-ph { font-size: 48px; }
.cl-badge { position: absolute; top: 6px; left: 6px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; background: var(--gold); color: var(--ink); }
.cl-badge.red   { background: var(--red); color: #fff; }
.cl-badge.green { background: #1a6b2e; color: #a0e0b0; }
.cl-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.cl-cat-tag { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim); }
.cl-delivery { font-size: 10px; color: var(--text-dim); font-style: italic; }
.cl-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 3px; line-height: 1.2; display: block; transition: color .15s; }
.cl-name:hover { color: var(--gold); }
.cl-subtitle { font-family: 'Playfair Display', serif; font-style: italic; font-size: 13px; color: var(--text-muted); margin-bottom: 3px; }
.cl-author { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }
.cl-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cl-price-row { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 6px; flex-wrap: wrap; }
.cl-price-block { display: flex; flex-direction: column; }
.cl-price-label { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1px; }
.cl-price { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.cl-old-block { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 3px; }
.cl-old { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--text-dim); display: inline-block; position: relative; }
.cl-old::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: var(--red); transform: rotate(-12deg); border-radius: 1px; }
.cl-save { font-size: 10.5px; color: #6dba8a; font-weight: 500; margin-top: 2px; }
.cl-ship { font-size: 11px; color: var(--text-dim); margin-bottom: 12px; }
/* golden add-to-cart button */
.btn-cat-add { background: var(--gold); color: var(--ink); border: none; padding: 10px 22px; border-radius: 5px; font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: background .18s; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; }
.btn-cat-add:hover { background: var(--gold-light); }
.btn-cat-add.sm { padding: 7px 14px; font-size: 10px; gap: 5px; margin-top: 0; }
/* grid view */
.cat-grid-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.cat-gc { background: var(--ink-2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color .18s,transform .18s; display: flex; flex-direction: column; }
.cat-gc:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.cat-gc-img { height: 180px; background: var(--ink-3); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; flex-shrink: 0; }
.cat-gc-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; cursor: zoom-in; }
.cat-gc-img .e { font-size: 48px; }
.cat-gc-badge { position: absolute; top: 7px; left: 7px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 2px 6px; border-radius: 2px; }
.cat-gc-badge.red   { background: var(--red); color: #fff; }
.cat-gc-badge.green { background: #1a6b2e; color: #a0e0b0; }
.cat-gc-body { padding: 13px; flex: 1; display: flex; flex-direction: column; }
.cat-gc-name { font-family: 'Playfair Display', serif; font-size: 13.5px; color: var(--text); margin-bottom: 3px; line-height: 1.3; flex: 1; }
.cat-gc-author { font-size: 10px; color: var(--text-dim); font-style: italic; margin-bottom: 10px; }
.cat-gc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.cat-gc-lbl { font-size: 7.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1px; }
.cat-gc-price { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); line-height: 1; }
.cat-gc-old { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--text-dim); display: inline-block; position: relative; }
.cat-gc-old::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 1.5px; background: var(--red); transform: rotate(-12deg); border-radius: 1px; }
/* hover image popup */
.img-popup { position: fixed; z-index: 900; pointer-events: none; background: var(--ink-2); border: 1px solid var(--border-hover); border-radius: 8px; padding: 8px; box-shadow: 0 20px 70px rgba(0,0,0,.75); display: none; width: 310px; height: 310px; }
.img-popup.show { display: block; }
.img-popup img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; display: block; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar { padding: 5px 20px; }
  .topbar-inner > span { font-size: 10px; letter-spacing: .02em; }
  .gtranslate-widget { display: none; }       /* hide desktop translator */
  .mobile-translate-bar { display: block; }   /* show mobile bar */
  .hdr { padding: 0 20px; height: 58px; }
  .hdr-links, .search-form, .phone-block { display: none; }
  .nav .nav-links { overflow-x: auto; }
  .nav-a { padding: 10px 10px; font-size: 9.5px; }
  .hero-wrap { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-tiles { display: none; }
  .hero-h1 { font-size: 30px; }
  .page { padding: 28px 20px 44px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-rigs { grid-template-columns: repeat(2,1fr); }
  .book-feat { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .bf-img { border-right: none; border-bottom: 1px solid var(--border); }
  .product-wrap { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: repeat(2,1fr); }
  .sem-banner { flex-direction: column; align-items: flex-start; }
  .breadcrumb { padding: 10px 20px; }
  .product-page { padding: 24px 20px 40px; }
  .cat-grid-inner { grid-template-columns: repeat(2,1fr); }
  .cl-img-wrap, .cl-img { width: 120px; height: 120px; }
  .cl-price { font-size: 24px; }
}
@media (max-width: 600px) {
  .cl-row { flex-direction: column; }
  .cl-img-wrap { width: 100% !important; height: 220px !important; border-radius: 6px 6px 0 0; }
  .cl-img { width: 100% !important; height: 220px !important; }
}
@media (max-width: 500px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-rigs { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 26px; }
  .ft-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .cat-grid-inner { grid-template-columns: 1fr 1fr; }
}
