/* =================================================================
   GOHAR — Dark luxury jewelry theme (RTL)
   Charcoal + champagne gold + blush. Full-bleed photo cards.
   ================================================================= */
@font-face {
  font-family: 'IRANSans';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/IRANSans-Regular.ttf') format('truetype');
}
:root {
  --gh-accent:    #D4AF37;   /* gold */
  --gh-accent-2:  #E8B4BD;   /* blush */
  --gh-accent-3:  #9E7A38;   /* deep gold */
  --gh-bg:        #1A1818;
  --gh-panel:     #241F1D;
  --gh-panel-2:   #302824;
  --gh-line:      #3A322D;
  --gh-line-2:    #4D423B;
  --gh-text:      #F5EFE6;
  --gh-muted:     #A9A097;
  --gh-dim:       #6B625A;
  --gh-ok:        #4A7A5B;
  --gh-radius:    0;         /* editorial sharp */
  --gh-radius-sm: 2px;

  --df-bg: var(--gh-bg); --df-bg-2: var(--gh-panel); --df-panel: var(--gh-panel);
  --df-panel-2: var(--gh-panel-2); --df-line: var(--gh-line); --df-muted: var(--gh-muted);
  --df-dim: var(--gh-dim); --df-brand: var(--gh-accent); --df-cta: var(--gh-accent-2);
  --df-off: var(--gh-ok);
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--gh-bg); color: var(--gh-text);
  font-family: 'IRANSans', system-ui, sans-serif;
  font-size: 15px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ margin:0; font-weight: 700; line-height: 1.15; color: var(--gh-text); }
button{ font: inherit; cursor: pointer; }
.gh-main{ min-height: 60vh; }

/* ---------- Buttons ---------- */
.gh-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border: 1px solid transparent;
  font-weight: 700; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.gh-btn-primary{ background: var(--gh-accent); color: var(--gh-bg); border-color: var(--gh-accent); }
.gh-btn-primary:hover{ background: transparent; color: var(--gh-accent); }
.gh-btn-outline{ background: transparent; color: var(--gh-text); border-color: var(--gh-line-2); }
.gh-btn-outline:hover{ border-color: var(--gh-accent); color: var(--gh-accent); }
.gh-btn-sm{ padding: 10px 20px; font-size: 10px; letter-spacing: 1.5px; }
.gh-arrow{ font-size: 16px; letter-spacing: 0; transition: transform .15s; }
.gh-arrow-s{ font-size: 14px; letter-spacing: 0; opacity: .5; }
.gh-btn:hover .gh-arrow{ transform: translateX(-4px); }
.gh-btn:focus-visible{ outline: 2px solid var(--gh-accent); outline-offset: 3px; }

/* ---------- Eyebrows ---------- */
.gh-eyebrow{ display: inline-block; font-size: 11px; letter-spacing: 4px; color: var(--gh-accent); text-transform: uppercase; margin-bottom: 24px; font-weight: 500; }
.gh-eyebrow-s{ display: inline-block; font-size: 11px; letter-spacing: 4px; color: var(--gh-accent); text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }

/* ---------- Header ---------- */
.gh-marquee{ background: var(--gh-accent); color: var(--gh-bg); overflow: hidden; padding: 8px 0; white-space: nowrap; }
.gh-marquee-track{ display: inline-flex; gap: 48px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; animation: gh-marq 40s linear infinite; }
@keyframes gh-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .gh-marquee-track{ animation: none; } }

.gh-header{ position: sticky; top: 0; z-index: 100; background: var(--gh-bg); border-bottom: 1px solid var(--gh-line); }
.gh-header-inner{
  max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr auto;
  align-items: center; gap: 20px; padding: 22px 40px;
}
.gh-brand{ color: var(--gh-text); font-weight: 400; font-size: 26px; letter-spacing: 8px; text-transform: uppercase; justify-self: center; }
.gh-brand img{ height: 36px; width: auto; }
.gh-brand-text{ font-family: 'IRANSans', sans-serif; font-weight: 300; }
.gh-nav{ display: flex; gap: 32px; }
.gh-nav-start{ justify-content: flex-end; }
.gh-nav-end{ justify-content: flex-start; }
.gh-nav a{ color: var(--gh-text); font-weight: 500; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; position: relative; padding: 4px 0; transition: color .15s; }
.gh-nav a:hover{ color: var(--gh-accent); }
.gh-nav a::after{ content:''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gh-accent); transform: scaleX(0); transition: transform .2s; }
.gh-nav a:hover::after{ transform: scaleX(1); }
.gh-burger{ display: none; background: transparent; border: 0; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.gh-burger span{ display: block; width: 24px; height: 1px; background: var(--gh-text); }
@media (max-width: 900px){
  .gh-header-inner{ grid-template-columns: auto 1fr auto; padding: 16px 20px; }
  .gh-nav{ display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--gh-panel); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--gh-line); gap: 18px; }
  body.gh-menu-open .gh-nav{ display: flex; }
  .gh-brand{ justify-self: flex-start; }
  .gh-burger{ display: inline-flex; }
}

/* ---------- Hero ---------- */
.gh-hero{ max-width: 1480px; margin: 0 auto; padding: 60px 40px 80px; }
.gh-hero-grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 1000px){ .gh-hero-grid{ grid-template-columns: 1fr; gap: 40px; } }
.gh-hero-copy{ max-width: 500px; }
.gh-hero-title{ font-weight: 400; margin-bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.gh-hero-line-1{ font-size: clamp(38px, 5vw, 60px); font-weight: 300; color: var(--gh-text); letter-spacing: -1px; }
.gh-hero-line-2{ font-size: clamp(48px, 6.5vw, 80px); font-weight: 700; color: var(--gh-accent); letter-spacing: -2px; line-height: 1; }
.gh-hero-sub{ font-size: 15px; color: var(--gh-muted); max-width: 440px; margin-bottom: 36px; line-height: 1.9; }
.gh-hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; }

.gh-hero-visual{ display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: stretch; }
.gh-hero-img-main{ position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--gh-line); }
.gh-hero-img-main svg{ width: 100%; height: 100%; display: block; }
.gh-hero-img-sub{ position: relative; aspect-ratio: 3/4; align-self: flex-end; overflow: hidden; border: 1px solid var(--gh-line); }
.gh-hero-img-sub svg{ width: 100%; height: 100%; display: block; }

.gh-trust-bar{ display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 60px; padding: 24px 32px; border: 1px solid var(--gh-line); border-right: 3px solid var(--gh-accent); border-left: 3px solid var(--gh-accent); }
.gh-trust-bar > div:not(.gh-trust-sep){ display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 100px; }
.gh-trust-bar strong{ font-size: 20px; font-weight: 700; color: var(--gh-accent); letter-spacing: 1px; }
.gh-trust-bar span{ font-size: 11px; color: var(--gh-muted); letter-spacing: 2px; text-transform: uppercase; }
.gh-trust-sep{ width: 1px; height: 28px; background: var(--gh-line-2); }
@media (max-width: 760px){ .gh-trust-bar{ flex-wrap: wrap; gap: 20px; padding: 20px; } .gh-trust-sep{ display: none; } }

/* ---------- Sections ---------- */
.gh-section{ max-width: 1480px; margin: 0 auto; padding: 100px 40px; scroll-margin-top: 80px; }
.gh-section-head{ max-width: 720px; margin: 0 auto 64px; text-align: center; }
.gh-section-title{ font-size: clamp(32px, 4vw, 52px); font-weight: 300; letter-spacing: -1px; line-height: 1.15; }

/* ---------- Categories ---------- */
.gh-cats{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); }
@media (max-width: 960px){ .gh-cats{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .gh-cats{ grid-template-columns: 1fr; } }
.gh-cat{
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 14px;
  padding: 28px 24px;
  border-left: 1px solid var(--gh-line);
  color: var(--gh-text);
  transition: background .2s, color .2s;
}
.gh-cat:first-child{ border-right: 1px solid var(--gh-line); }
.gh-cat:hover{ background: var(--gh-panel); color: var(--gh-accent); }
.gh-cat-num{ font-size: 12px; color: var(--gh-accent); letter-spacing: 2px; }
.gh-cat strong{ font-weight: 500; font-size: 16px; letter-spacing: .5px; }

/* ---------- Products — full-bleed photo cards ---------- */
.gh-products{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gh-line); }
@media (max-width: 960px){ .gh-products{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px){ .gh-products{ grid-template-columns: 1fr; } }
.gh-product{ background: var(--gh-panel); overflow: hidden; }
.gh-product-img{
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gh-product-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gh-product:hover .gh-product-img img{ transform: scale(1.05); }
.gh-product-img svg{ width: 75%; height: auto; }
.gh-product-badge{
  position: absolute; top: 20px; right: 20px; z-index: 2;
  padding: 6px 14px; background: var(--gh-accent); color: var(--gh-bg);
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.gh-product-overlay{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(26,24,24,.95) 0%, rgba(26,24,24,.75) 50%, transparent 100%);
  display: flex; flex-direction: column; gap: 6px;
}
.gh-product-cat{ font-size: 10px; color: var(--gh-accent); letter-spacing: 2px; text-transform: uppercase; }
.gh-product-title{ font-weight: 400; font-size: 18px; letter-spacing: .3px; margin: 4px 0 10px; }
.gh-product-foot{ display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(212,175,55,.2); }
.gh-product-price{ display: flex; align-items: baseline; gap: 6px; direction: ltr; }
.gh-product-price s{ color: var(--gh-dim); font-size: 11px; text-decoration: line-through; }
.gh-product-price strong{ font-size: 16px; font-weight: 700; color: var(--gh-accent); letter-spacing: -.3px; }
.gh-product-price span{ color: var(--gh-muted); font-size: 10px; font-weight: 500; }

/* ---------- Features (numbered row) ---------- */
.gh-features{ max-width: 1480px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--gh-line); border-top: 1px solid var(--gh-line); border-bottom: 1px solid var(--gh-line); }
@media (max-width: 960px){ .gh-features{ grid-template-columns: repeat(2, 1fr); padding: 40px 20px; } }
@media (max-width: 500px){ .gh-features{ grid-template-columns: 1fr; } }
.gh-feature{ background: var(--gh-bg); padding: 40px 28px; display: flex; flex-direction: column; gap: 14px; }
.gh-feature-num{ font-size: 32px; font-weight: 300; color: var(--gh-accent); letter-spacing: 2px; }
.gh-feature h3{ font-size: 17px; font-weight: 500; letter-spacing: .3px; }
.gh-feature p{ color: var(--gh-muted); margin: 0; font-size: 13px; line-height: 1.8; }

/* ---------- FAQ ---------- */
.gh-faq{ max-width: 820px; margin: 0 auto; }
.gh-faq-item{ border-bottom: 1px solid var(--gh-line); padding: 24px 0; }
.gh-faq-item:first-child{ border-top: 1px solid var(--gh-line); }
.gh-faq-item summary{ cursor: pointer; font-weight: 400; font-size: 17px; color: var(--gh-text); display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.gh-faq-item summary::-webkit-details-marker{ display: none; }
.gh-faq-item summary::after{ content: '+'; color: var(--gh-accent); font-size: 24px; font-weight: 300; transition: transform .2s; }
.gh-faq-item[open] summary::after{ transform: rotate(45deg); }
.gh-faq-item[open] summary{ color: var(--gh-accent); }
.gh-faq-item p{ margin: 16px 0 0; color: var(--gh-muted); line-height: 1.9; font-size: 14px; }

/* ---------- CTA Band ---------- */
.gh-cta-band{ background: var(--gh-panel); padding: 80px 40px; margin-top: 40px; border-top: 1px solid var(--gh-line); }
.gh-cta-band-inner{ max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.gh-cta-band h2{ color: var(--gh-text); font-size: clamp(26px, 3vw, 36px); font-weight: 300; margin: 0 0 8px; letter-spacing: -.5px; }
.gh-cta-band p{ color: var(--gh-muted); margin: 0; font-size: 14px; max-width: 480px; }

/* ---------- Footer ---------- */
.gh-footer{ background: var(--gh-bg); border-top: 1px solid var(--gh-line); padding: 60px 40px 30px; }
.gh-footer-grid{ max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px){ .gh-footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .gh-footer-grid{ grid-template-columns: 1fr; } }
.gh-footer-brand .gh-brand{ margin-bottom: 14px; font-size: 22px; letter-spacing: 6px; }
.gh-footer-about{ color: var(--gh-muted); font-size: 13px; line-height: 1.9; margin: 0 0 16px; }
.gh-enamad{ margin-top: 10px; }
.gh-enamad img{ height: 100px; width: auto; }
.gh-footer h4{ font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gh-accent); margin-bottom: 18px; }
.gh-footer a:not(.gh-brand){ display: block; color: var(--gh-muted); font-size: 13px; padding: 5px 0; transition: color .15s; }
.gh-footer a:not(.gh-brand):hover{ color: var(--gh-accent); }
.gh-footer-bot{ max-width: 1480px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--gh-line); text-align: center; color: var(--gh-dim); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Generic ---------- */
.card-wrap{ max-width: 820px; margin: 0 auto; }
.page-card{ background: var(--gh-panel); border: 1px solid var(--gh-line); padding: 40px; }
.page-card h1{ font-weight: 300; font-size: 32px; margin-bottom: 20px; letter-spacing: -.5px; }
.page-card h3{ font-size: 16px; margin: 24px 0 10px; font-weight: 500; letter-spacing: 1px; color: var(--gh-accent); text-transform: uppercase; }
.gh-order-address{ background: var(--gh-bg); border: 1px solid var(--gh-line); padding: 16px; margin: 10px 0; }
.gh-order-address div{ color: var(--gh-text); font-size: 14px; padding: 3px 0; }
.gh-order-address strong{ color: var(--gh-accent); font-weight: 500; margin-left: 6px; }
.section{ padding: 60px 24px; }
.container{ max-width: 1480px; margin: 0 auto; }
.muted{ color: var(--gh-muted); }
.prose{ color: var(--gh-text); line-height: 1.9; }
.prose a{ color: var(--gh-accent); }
.alert{ padding: 12px 16px; margin: 10px 0; }
.alert.ok{ background: rgba(74,122,91,.15); border: 1px solid var(--gh-ok); color: #9DC4A5; }

.df-page{ max-width: 480px; margin: 60px auto; padding: 40px 32px; background: var(--gh-panel); border: 1px solid var(--gh-line); }
.df-page h1{ text-align: center; font-weight: 300; font-size: 28px; letter-spacing: -.3px; margin-bottom: 24px; }
.df-page p{ color: var(--gh-muted); }
.df-page a{ color: var(--gh-accent); font-weight: 500; }
.df-form{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.df-form .full, .df-form label.full{ grid-column: 1 / -1; }
.df-form label{ display: flex; flex-direction: column; gap: 6px; }
.df-form label > span{ font-size: 11px; font-weight: 500; color: var(--gh-muted); letter-spacing: 2px; text-transform: uppercase; }
.df-form input, .df-form textarea{ background: var(--gh-bg); border: 1px solid var(--gh-line-2); color: var(--gh-text); padding: 12px 14px; font: inherit; outline: 0; width: 100%; transition: border-color .15s; }
.df-form input:focus, .df-form textarea:focus{ border-color: var(--gh-accent); }
.df-form .dfmodal-buy{ width: 100%; justify-content: center; }
.df-alert{ padding: 12px 16px; margin: 10px 0; font-size: 14px; grid-column: 1 / -1; }
.df-alert.err{ background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.4); color: #FCA5A5; }
.df-alert.ok{ background: rgba(74,122,91,.15); border: 1px solid var(--gh-ok); color: #9DC4A5; }

/* =================================================================
   MODAL
   ================================================================= */
body.shop-modal-open{ overflow: hidden; }
.dfmodal{ display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.dfmodal.is-open{ display: flex; }
.dfmodal-backdrop{ position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); }
.dfmodal-card{ position: relative; width: min(900px, 100%); max-height: 92vh; overflow: auto; background: var(--gh-panel); color: var(--gh-text); border: 1px solid var(--gh-accent); box-shadow: 0 50px 100px rgba(0,0,0,.85); }
.dfmodal-close{ position: absolute; top: 14px; left: 16px; z-index: 2; background: var(--gh-bg); border: 1px solid var(--gh-line-2); color: var(--gh-text); width: 40px; height: 40px; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; }
.dfmodal-close:hover{ background: var(--gh-accent); color: var(--gh-bg); border-color: var(--gh-accent); }
.dfmodal .modal-step{ display: none; }
.dfmodal.step-options .modal-step-options,
.dfmodal.step-form    .modal-step-form,
.dfmodal.step-success .modal-step-success{ display: block; }

.dfmodal-top{ display: grid; grid-template-columns: 320px 1fr; gap: 28px; padding: 32px; }
@media (max-width: 760px){ .dfmodal-top{ grid-template-columns: 1fr; padding: 24px; } }
.dfmodal-poster{ position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--gh-bg); border: 1px solid var(--gh-line); display: flex; align-items: center; justify-content: center; }
.dfmodal-poster-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dfmodal-poster-ph{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dfmodal-sticker{ position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.dfmodal-sticker > .sticker{ width: 60%; height: 60%; }
.dfmodal-poster-name{ position: relative; z-index: 2; color: var(--gh-accent); font-weight: 400; font-size: 22px; text-align: center; letter-spacing: 2px; }

.dfmodal-info{ display: flex; flex-direction: column; gap: 14px; }
.dfmodal-title{ margin: 0; font-weight: 300; font-size: 28px; line-height: 1.3; color: var(--gh-text); letter-spacing: -.5px; }
.dfmodal-region{ color: var(--gh-muted); font-size: 11px; letter-spacing: 2px; font-weight: 500; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.df-dot{ display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gh-accent); }
.dfmodal-desc{ margin: 4px 0 0; color: var(--gh-muted); font-size: 14px; line-height: 1.85; }
.dfmodal-chip{ display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: var(--gh-bg); color: var(--gh-accent); border: 1px solid var(--gh-line-2); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; }
.dfmodal-chip:empty{ display: none; }

.dfmodal-options{ display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.dfmodal-opt-label{ font-size: 10px; color: var(--gh-muted); margin-bottom: 8px; letter-spacing: 2.5px; font-weight: 500; text-transform: uppercase; }
.dfmodal-opt-values{ display: flex; flex-wrap: wrap; gap: 8px; }
.dfmodal-opt-value{ background: var(--gh-bg); border: 1px solid var(--gh-line-2); color: var(--gh-text); padding: 10px 16px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; }
.dfmodal-opt-value:hover{ border-color: var(--gh-accent); }
.dfmodal-opt-value.is-selected{ background: var(--gh-accent); color: var(--gh-bg); border-color: var(--gh-accent); }
.dfmodal-opt-value.is-disabled{ opacity: .35; pointer-events: none; }

.dfmodal-pricebox{ background: var(--gh-bg); border: 1px solid var(--gh-line); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.dfmodal-pricelabel{ color: var(--gh-muted); font-size: 10px; letter-spacing: 2.5px; font-weight: 500; text-transform: uppercase; }
.dfmodal-pricerow{ display: inline-flex; align-items: baseline; gap: 10px; }
.dfmodal-compare{ color: var(--gh-dim); font-size: 14px; text-decoration: line-through; }
.dfmodal-price{ font-size: 28px; font-weight: 700; color: var(--gh-accent); direction: ltr; letter-spacing: -.3px; }
.dfmodal-discount{ background: var(--gh-ok); color: #fff; padding: 4px 10px; font-size: 11px; font-weight: 600; direction: ltr; }

.dfmodal-actions{ display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 6px; }
@media (max-width: 760px){ .dfmodal-actions{ grid-template-columns: 1fr; } }
.dfmodal-qty{ display: inline-flex; align-items: center; background: var(--gh-bg); border: 1px solid var(--gh-line-2); }
.dfmodal-qty button{ background: transparent; border: 0; width: 36px; height: 44px; color: var(--gh-text); font-size: 16px; font-weight: 500; cursor: pointer; }
.dfmodal-qty button:hover{ color: var(--gh-accent); }
.dfmodal-qty > span{ min-width: 32px; text-align: center; font-weight: 500; }
.dfmodal-total{ display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dfmodal-total small{ color: var(--gh-muted); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.dfmodal-total strong{ font-size: 15px; direction: ltr; color: var(--gh-accent); font-weight: 600; }
.dfmodal-buy{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border: 1px solid var(--gh-accent); background: var(--gh-accent); color: var(--gh-bg); font-weight: 700; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: all .15s; }
.dfmodal-buy:hover{ background: transparent; color: var(--gh-accent); }
.dfmodal-arrow{ font-size: 16px; letter-spacing: 0; }

.dfmodal-form-head{ padding: 32px 32px 16px; border-bottom: 1px solid var(--gh-line); }
.dfmodal-form-head h3{ margin: 0 0 6px; font-weight: 300; font-size: 24px; color: var(--gh-text); letter-spacing: -.3px; }
.dfmodal-form-head p{ margin: 0; color: var(--gh-muted); font-size: 13px; }
.dfmodal-form{ padding: 16px 32px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 580px){ .dfmodal-form{ grid-template-columns: 1fr; } }
.dfmodal-form .full, .dfmodal-form label.full{ grid-column: 1 / -1; }
.dfmodal-form label{ display: flex; flex-direction: column; gap: 6px; }
.dfmodal-form label > span{ font-size: 11px; color: var(--gh-muted); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.dfmodal-form input, .dfmodal-form textarea{ background: var(--gh-bg); border: 1px solid var(--gh-line-2); color: var(--gh-text); padding: 12px 14px; font: inherit; outline: 0; transition: border-color .15s; }
.dfmodal-form input:focus, .dfmodal-form textarea:focus{ border-color: var(--gh-accent); }
.dfmodal-form-section{
  grid-column: 1 / -1;
  color: var(--gh-accent); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--gh-line); margin-top: 10px;
}
.dfmodal-form-section:first-of-type{ margin-top: 0; }
.dfmodal-err{ grid-column: 1 / -1; min-height: 1em; color: #FCA5A5; font-size: 13px; }
.dfmodal-err:not(:empty){ background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.3); padding: 10px; }
.dfmodal-form-actions{ grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.dfmodal-back{ background: transparent; border: 0; color: var(--gh-muted); cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.dfmodal-back:hover{ color: var(--gh-accent); }

.dfmodal-success{ padding: 40px 32px 32px; text-align: center; }
.dfmodal-success-mark{ width: 72px; height: 72px; background: var(--gh-accent); color: var(--gh-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 600; margin: 0 auto 16px; }
.dfmodal-success h3{ margin: 0 0 8px; font-weight: 300; font-size: 24px; color: var(--gh-text); }
.dfmodal-code{ background: var(--gh-bg); color: var(--gh-accent); padding: 3px 12px; font-family: monospace; font-weight: 600; }
.dfmodal-pwbox{ margin: 20px auto; max-width: 440px; text-align: left; background: var(--gh-bg); border: 1px solid var(--gh-accent); padding: 18px; }
.dfmodal-pwbox-head{ color: var(--gh-accent); font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.dfmodal-pwbox-sub{ color: var(--gh-muted); font-size: 11px; margin: 4px 0 10px; }
.dfmodal-pwbox-val{ font-family: monospace; font-size: 18px; letter-spacing: 2px; background: #000; color: var(--gh-accent); padding: 12px; text-align: center; direction: ltr; border: 1px dashed var(--gh-accent); }
.dfmodal-instructions{ margin: 16px auto; max-width: 500px; color: var(--gh-text); font-size: 14px; line-height: 1.8; }
.dfmodal-instructions:empty{ display: none; }
.dfmodal-redirect{ color: var(--gh-accent); font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.dfmodal-success .dfmodal-buy{ display: inline-flex; max-width: 340px; margin: 12px auto 0; }

.gh-pay-now{ display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--gh-accent); color: var(--gh-bg); font-weight: 700; font-size: 12px; text-decoration: none; margin: 10px 0; letter-spacing: 2.5px; text-transform: uppercase; border: 1px solid var(--gh-accent); }
.gh-pay-now:hover{ background: transparent; color: var(--gh-accent); }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
