/* =================================================================
   BLOC — Neo-brutalist tech accessories theme (RTL)
   Cream yellow + orange + hard borders + offset shadows
   ================================================================= */
@font-face {
  font-family: 'IRANSans';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/IRANSans-Regular.ttf') format('truetype');
}
:root {
  --bc-accent:    #FF4D00;
  --bc-accent-2:  #2563EB;
  --bc-accent-3:  #059669;
  --bc-yellow:    #FDE047;
  --bc-bg:        #FFFBEA;
  --bc-panel:     #FFFFFF;
  --bc-panel-2:   #F5EFCF;
  --bc-ink:       #0A0A0A;
  --bc-text:      #0A0A0A;
  --bc-muted:     #4B5563;
  --bc-dim:       #9CA3AF;
  --bc-ok:        #059669;
  --bc-shadow:    4px 4px 0 var(--bc-ink);
  --bc-shadow-lg: 6px 6px 0 var(--bc-ink);

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

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bc-bg); color: var(--bc-text);
  font-family: 'IRANSans', system-ui, sans-serif;
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ margin:0; font-weight: 900; line-height: 1.05; color: var(--bc-ink); letter-spacing: -1px; }
button{ font: inherit; cursor: pointer; }
mark{ background: var(--bc-yellow); color: var(--bc-ink); padding: 0 8px; }
.bc-main{ min-height: 60vh; }

/* ---------- Buttons: offset shadow brutalist ---------- */
.bc-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 2.5px solid var(--bc-ink); border-radius: 999px;
  font-weight: 800; font-size: 14px;
  cursor: pointer; transition: transform .1s, box-shadow .1s;
  text-decoration: none;
  box-shadow: var(--bc-shadow);
}
.bc-btn:hover{ transform: translate(-2px, -2px); box-shadow: var(--bc-shadow-lg); }
.bc-btn:active{ transform: translate(2px, 2px); box-shadow: 0 0 0 var(--bc-ink); }
.bc-btn-primary{ background: var(--bc-accent); color: #fff; }
.bc-btn-ghost{ background: var(--bc-panel); color: var(--bc-ink); }
.bc-btn-outline{ background: var(--bc-bg); color: var(--bc-ink); }
.bc-btn-dark{ background: var(--bc-ink); color: var(--bc-yellow); }
.bc-btn-sm{ padding: 9px 18px; font-size: 13px; box-shadow: 3px 3px 0 var(--bc-ink); }
.bc-btn-sm:hover{ box-shadow: 5px 5px 0 var(--bc-ink); }
.bc-btn-lg{ padding: 16px 32px; font-size: 15px; }
.bc-arrow{ font-size: 17px; transition: transform .15s; }
.bc-btn:hover .bc-arrow{ transform: translateX(-4px); }
.bc-btn:focus-visible{ outline: 3px solid var(--bc-accent-2); outline-offset: 4px; }

/* ---------- Tags + eyebrows ---------- */
.bc-tag{ display: inline-block; padding: 6px 14px; border: 2.5px solid var(--bc-ink); font-size: 12px; font-weight: 700; margin-bottom: 20px; box-shadow: var(--bc-shadow); }
.bc-eyebrow{ display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1px; background: var(--bc-ink); color: var(--bc-yellow); padding: 4px 14px; margin-bottom: 14px; }

/* ---------- Header ---------- */
.bc-header{ position: sticky; top: 0; z-index: 100; background: var(--bc-bg); border-bottom: 2.5px solid var(--bc-ink); }
.bc-header-inner{
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 28px; padding: 14px 28px;
}
.bc-brand{ display: inline-flex; align-items: center; gap: 10px; color: var(--bc-ink); font-weight: 900; font-size: 20px; letter-spacing: -.5px; }
.bc-brand img{ height: 32px; width: auto; }
.bc-brand-mark{ display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--bc-accent); }
.bc-brand-mark svg{ width: 32px; height: 32px; }
.bc-nav{ display: flex; gap: 24px; }
.bc-nav a{ color: var(--bc-ink); font-weight: 700; font-size: 14px; padding: 4px 0; border-bottom: 2.5px solid transparent; transition: border-color .15s; }
.bc-nav a:hover{ border-color: var(--bc-accent); }
.bc-head-actions{ display: flex; gap: 10px; align-items: center; }
.bc-burger{ display: none; background: transparent; border: 0; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.bc-burger span{ display: block; width: 24px; height: 2.5px; background: var(--bc-ink); }
@media (max-width: 900px){
  .bc-header-inner{ grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .bc-nav{ display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bc-panel); flex-direction: column; padding: 20px; border-bottom: 2.5px solid var(--bc-ink); gap: 14px; }
  .bc-nav.is-open{ display: flex; }
  .bc-head-actions .bc-btn-ghost{ display: none; }
  .bc-burger{ display: inline-flex; }
}

/* ---------- Announcement ---------- */
.bc-ann{ background: var(--bc-ink); color: var(--bc-yellow); text-align: center; padding: 9px 24px; font-weight: 700; font-size: 13px; }

/* ---------- Hero ---------- */
.bc-hero{ max-width: 1360px; margin: 0 auto; padding: 60px 28px 80px; }
.bc-hero-inner{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 1000px){ .bc-hero-inner{ grid-template-columns: 1fr; gap: 40px; } }
.bc-hero-copy{ max-width: 580px; }
.bc-hero-title{ font-size: clamp(48px, 8vw, 100px); line-height: 1; font-weight: 900; letter-spacing: -3px; margin-bottom: 28px; }
.bc-hero-title mark{ background: var(--bc-accent); color: #fff; padding: 0 12px; display: inline-block; transform: rotate(-2deg); border: 3px solid var(--bc-ink); box-shadow: var(--bc-shadow); }
.bc-hero-sub{ font-size: clamp(16px, 1.4vw, 19px); color: var(--bc-ink); max-width: 480px; margin-bottom: 36px; line-height: 1.7; font-weight: 500; }
.bc-hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; }

.bc-hero-stack{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; position: relative; }
.bc-hero-card{
  aspect-ratio: 3/4;
  border: 3px solid var(--bc-ink);
  box-shadow: var(--bc-shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px;
  transition: transform .25s;
}
.bc-hero-card:hover{ transform: translate(-3px, -3px); }
.bc-hero-card svg{ width: 100%; height: auto; max-height: 180px; margin: auto 0; }
.bc-hc-1{ grid-row: 1 / span 2; }
.bc-hc-2{ grid-row: 1; margin-top: 30px; }
.bc-hc-3{ grid-row: 2; margin-bottom: -20px; }
.bc-hc-label{ color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1px; text-align: center; }

/* ---------- Ticker ---------- */
.bc-ticker{ background: var(--bc-ink); color: var(--bc-yellow); overflow: hidden; padding: 12px 0; white-space: nowrap; border-top: 2.5px solid var(--bc-ink); border-bottom: 2.5px solid var(--bc-ink); }
.bc-ticker-track{ display: inline-flex; gap: 40px; font-size: 14px; font-weight: 700; animation: bc-tick 30s linear infinite; }
@keyframes bc-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .bc-ticker-track{ animation: none; } }

/* ---------- Sections ---------- */
.bc-section{ max-width: 1360px; margin: 0 auto; padding: 80px 28px; scroll-margin-top: 80px; }
.bc-section-head{ margin-bottom: 40px; }
.bc-section-title{ font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -2px; margin-bottom: 8px; line-height: 1; }

/* ---------- Categories ---------- */
.bc-cats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px){ .bc-cats{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-cats{ grid-template-columns: 1fr; } }
.bc-cat{
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow);
  font-weight: 800; font-size: 16px;
  transition: transform .1s, box-shadow .1s;
}
.bc-cat:hover{ transform: translate(-2px, -2px); box-shadow: var(--bc-shadow-lg); }

/* ---------- Products ---------- */
.bc-products{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px){ .bc-products{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px){ .bc-products{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-products{ grid-template-columns: 1fr; } }
.bc-product{
  background: var(--bc-panel);
  border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}
.bc-product:hover{ transform: translate(-3px, -3px); box-shadow: var(--bc-shadow-lg); }
.bc-product-img{
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 2.5px solid var(--bc-ink);
}
.bc-product-img img{ width: 100%; height: 100%; object-fit: cover; }
.bc-product-img svg{ width: 55%; height: auto; }
.bc-product-badge{ position: absolute; top: 14px; right: 14px; padding: 5px 12px; border: 2.5px solid var(--bc-ink); font-size: 11px; font-weight: 800; color: #fff; }
.bc-product-sale{ position: absolute; top: 14px; left: 14px; background: var(--bc-ink); color: var(--bc-yellow); padding: 6px 12px; font-size: 13px; font-weight: 800; border: 2.5px solid var(--bc-ink); box-shadow: 3px 3px 0 var(--bc-accent); direction: ltr; }
.bc-product-body{ padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bc-product-title{ font-size: 16px; font-weight: 800; letter-spacing: -.3px; line-height: 1.35; }
.bc-product-sub{ color: var(--bc-muted); font-size: 12px; margin: 0; line-height: 1.6; }
.bc-product-foot{ margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 14px; border-top: 2px dashed var(--bc-ink); }
.bc-product-price{ display: flex; flex-direction: column; gap: 2px; direction: ltr; }
.bc-product-price s{ color: var(--bc-dim); font-size: 11px; text-decoration: line-through; }
.bc-product-price strong{ font-size: 20px; font-weight: 900; color: var(--bc-ink); letter-spacing: -.3px; }
.bc-product-price span{ color: var(--bc-muted); font-size: 10px; font-weight: 600; margin-right: 2px; }

/* ---------- Features ---------- */
.bc-features{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px){ .bc-features{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-features{ grid-template-columns: 1fr; } }
.bc-feature{ padding: 28px; border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow); display: flex; flex-direction: column; gap: 12px; }
.bc-feature-ico{ width: 48px; height: 48px; background: var(--bc-ink); color: var(--bc-yellow); display: flex; align-items: center; justify-content: center; border: 2.5px solid var(--bc-ink); }
.bc-feature-ico svg{ width: 24px; height: 24px; }
.bc-feature h3{ font-size: 18px; font-weight: 900; letter-spacing: -.3px; }
.bc-feature p{ margin: 0; font-size: 14px; line-height: 1.6; font-weight: 500; }

/* ---------- FAQ ---------- */
.bc-faq{ display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.bc-faq-item{ background: var(--bc-panel); border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow); padding: 18px 22px; transition: transform .1s, box-shadow .1s; }
.bc-faq-item[open]{ transform: translate(-2px, -2px); box-shadow: var(--bc-shadow-lg); }
.bc-faq-item summary{ cursor: pointer; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.bc-faq-item summary::-webkit-details-marker{ display: none; }
.bc-faq-item summary::after{ content: '+'; color: var(--bc-accent); font-size: 26px; font-weight: 900; transition: transform .2s; }
.bc-faq-item[open] summary::after{ transform: rotate(45deg); }
.bc-faq-item p{ margin: 14px 0 0; color: var(--bc-muted); line-height: 1.75; font-size: 14px; }

/* ---------- CTA Band ---------- */
.bc-cta-band{ background: var(--bc-ink); color: var(--bc-yellow); padding: 70px 28px; margin-top: 40px; border-top: 2.5px solid var(--bc-ink); border-bottom: 2.5px solid var(--bc-ink); }
.bc-cta-band-inner{ max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bc-cta-band h2{ color: var(--bc-yellow); font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 0; letter-spacing: -1.5px; }

/* ---------- Footer ---------- */
.bc-footer{ background: var(--bc-bg); border-top: 2.5px solid var(--bc-ink); padding: 60px 28px 30px; }
.bc-footer-grid{ max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px){ .bc-footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .bc-footer-grid{ grid-template-columns: 1fr; } }
.bc-footer-brand .bc-brand{ margin-bottom: 14px; }
.bc-footer-about{ color: var(--bc-muted); font-size: 13px; line-height: 1.8; margin: 0 0 16px; }
.bc-enamad{ margin-top: 10px; }
.bc-enamad img{ height: 100px; width: auto; }
.bc-footer h4{ font-size: 14px; font-weight: 900; margin-bottom: 14px; color: var(--bc-ink); letter-spacing: -.2px; }
.bc-footer a:not(.bc-brand){ display: block; color: var(--bc-muted); font-size: 13px; padding: 5px 0; transition: color .15s; }
.bc-footer a:not(.bc-brand):hover{ color: var(--bc-accent); }
.bc-footer-bot{ max-width: 1360px; margin: 36px auto 0; padding-top: 20px; border-top: 2px dashed var(--bc-ink); text-align: center; color: var(--bc-dim); font-size: 12px; font-weight: 600; }

/* ---------- Generic ---------- */
.card-wrap{ max-width: 820px; margin: 0 auto; }
.page-card{ background: var(--bc-panel); border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow-lg); padding: 32px; }
.page-card h1{ font-size: 32px; margin-bottom: 20px; font-weight: 900; }
.page-card h3{ font-size: 18px; margin: 24px 0 10px; font-weight: 900; }
.bc-order-address{ background: var(--bc-bg); border: 2.5px solid var(--bc-ink); padding: 16px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.bc-order-address div{ color: var(--bc-ink); font-size: 14px; }
.bc-order-address strong{ color: var(--bc-accent); font-weight: 800; margin-left: 6px; }
.df-page{ max-width: 480px; margin: 60px auto; padding: 36px 32px; background: var(--bc-panel); border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow-lg); }
.df-page h1{ text-align: center; font-size: 28px; margin-bottom: 20px; font-weight: 900; }
.df-page h3{ font-size: 18px; margin: 24px 0 10px; font-weight: 800; }
.df-page p{ color: var(--bc-muted); line-height: 1.7; }
.df-page a{ color: var(--bc-accent); font-weight: 800; }
.df-page ul li{ padding: 10px 14px; background: var(--bc-bg); border: 2.5px solid var(--bc-ink); margin-bottom: 8px; }

.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: 12px; font-weight: 800; color: var(--bc-ink); letter-spacing: .2px; }
.df-form input, .df-form textarea{ background: var(--bc-bg); border: 2.5px solid var(--bc-ink); color: var(--bc-ink); padding: 12px 14px; font: inherit; outline: 0; width: 100%; transition: box-shadow .15s; box-shadow: 2px 2px 0 var(--bc-ink); }
.df-form input:focus, .df-form textarea:focus{ box-shadow: 3px 3px 0 var(--bc-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; border: 2.5px solid var(--bc-ink); }
.df-alert.err{ background: #FEE2E2; color: #991B1B; }
.df-alert.ok{ background: #D1FAE5; color: #065F46; }

.section{ padding: 60px 24px; }
.container{ max-width: 1360px; margin: 0 auto; }
.muted{ color: var(--bc-muted); }
.prose{ color: var(--bc-ink); line-height: 1.8; }
.prose a{ color: var(--bc-accent); }
.alert{ padding: 12px 16px; margin: 10px 0; border: 2.5px solid var(--bc-ink); }
.alert.ok{ background: #D1FAE5; color: #065F46; }

/* =================================================================
   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(10,10,10,.7); backdrop-filter: blur(4px); }
.dfmodal-card{ position: relative; width: min(900px, 100%); max-height: 92vh; overflow: auto; background: var(--bc-bg); color: var(--bc-ink); border: 3px solid var(--bc-ink); box-shadow: var(--bc-shadow-lg); }
.dfmodal-close{ position: absolute; top: 14px; left: 16px; z-index: 2; background: var(--bc-accent); border: 2.5px solid var(--bc-ink); color: #fff; width: 40px; height: 40px; font-size: 20px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 3px 3px 0 var(--bc-ink); transition: all .1s; }
.dfmodal-close:hover{ transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--bc-ink); }
.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: 280px 1fr; gap: 24px; padding: 28px; }
@media (max-width: 760px){ .dfmodal-top{ grid-template-columns: 1fr; padding: 20px; } }
.dfmodal-poster{ position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bc-yellow); border: 2.5px solid var(--bc-ink); 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(--bc-ink); font-weight: 900; font-size: 22px; text-align: center; }

.dfmodal-info{ display: flex; flex-direction: column; gap: 14px; }
.dfmodal-title{ margin: 0; font-size: 24px; font-weight: 900; line-height: 1.3; letter-spacing: -.5px; }
.dfmodal-region{ color: var(--bc-muted); font-size: 12px; letter-spacing: .5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.df-dot{ display: inline-block; width: 8px; height: 8px; background: var(--bc-accent); }
.dfmodal-desc{ margin: 4px 0 0; color: var(--bc-ink); font-size: 14px; line-height: 1.7; font-weight: 500; }
.dfmodal-chip{ display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; background: var(--bc-yellow); color: var(--bc-ink); border: 2.5px solid var(--bc-ink); font-size: 11px; font-weight: 800; }
.dfmodal-chip:empty{ display: none; }

.dfmodal-options{ display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.dfmodal-opt-label{ font-size: 11px; color: var(--bc-ink); margin-bottom: 8px; letter-spacing: 1px; font-weight: 800; text-transform: uppercase; }
.dfmodal-opt-values{ display: flex; flex-wrap: wrap; gap: 8px; }
.dfmodal-opt-value{ background: var(--bc-bg); border: 2.5px solid var(--bc-ink); color: var(--bc-ink); padding: 10px 16px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all .1s; box-shadow: 2px 2px 0 var(--bc-ink); }
.dfmodal-opt-value:hover{ transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--bc-ink); }
.dfmodal-opt-value.is-selected{ background: var(--bc-accent); color: #fff; }
.dfmodal-opt-value.is-disabled{ opacity: .35; pointer-events: none; }

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

.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(--bc-panel); border: 2.5px solid var(--bc-ink); }
.dfmodal-qty button{ background: transparent; border: 0; width: 36px; height: 44px; color: var(--bc-ink); font-size: 16px; font-weight: 800; cursor: pointer; }
.dfmodal-qty button:hover{ background: var(--bc-yellow); }
.dfmodal-qty > span{ min-width: 32px; text-align: center; font-weight: 800; }
.dfmodal-total{ display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dfmodal-total small{ color: var(--bc-muted); font-size: 10px; letter-spacing: 1px; font-weight: 700; text-transform: uppercase; }
.dfmodal-total strong{ font-size: 15px; direction: ltr; color: var(--bc-ink); font-weight: 900; }
.dfmodal-buy{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border: 2.5px solid var(--bc-ink); background: var(--bc-accent); color: #fff; font-weight: 900; font-size: 14px; cursor: pointer; text-decoration: none; transition: all .1s; box-shadow: var(--bc-shadow); }
.dfmodal-buy:hover{ transform: translate(-2px, -2px); box-shadow: var(--bc-shadow-lg); }
.dfmodal-arrow{ font-size: 16px; }

.dfmodal-form-head{ padding: 28px 28px 10px; border-bottom: 2px dashed var(--bc-ink); }
.dfmodal-form-head h3{ margin: 0 0 4px; font-size: 22px; font-weight: 900; }
.dfmodal-form-head p{ margin: 0; color: var(--bc-muted); font-size: 13px; font-weight: 500; }
.dfmodal-form{ padding: 16px 28px 28px; 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: 12px; color: var(--bc-ink); font-weight: 800; letter-spacing: .3px; }
.dfmodal-form input, .dfmodal-form textarea{ background: var(--bc-panel); border: 2.5px solid var(--bc-ink); color: var(--bc-ink); padding: 11px 14px; font: inherit; outline: 0; transition: box-shadow .15s; box-shadow: 2px 2px 0 var(--bc-ink); }
.dfmodal-form input:focus, .dfmodal-form textarea:focus{ box-shadow: 3px 3px 0 var(--bc-accent); }
.dfmodal-form-section{ grid-column: 1 / -1; color: #fff; background: var(--bc-ink); font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 6px 12px; margin-top: 10px; display: inline-block; justify-self: start; }
.dfmodal-form-section:first-of-type{ margin-top: 0; }
.dfmodal-err{ grid-column: 1 / -1; min-height: 1em; color: #991B1B; font-size: 13px; font-weight: 700; }
.dfmodal-err:not(:empty){ background: #FEE2E2; border: 2.5px solid #DC2626; 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(--bc-ink); cursor: pointer; font-size: 13px; font-weight: 800; }
.dfmodal-back:hover{ color: var(--bc-accent); }

.dfmodal-success{ padding: 40px 28px 32px; text-align: center; }
.dfmodal-success-mark{ width: 72px; height: 72px; background: var(--bc-ok); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 900; margin: 0 auto 16px; border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow); }
.dfmodal-success h3{ margin: 0 0 8px; font-size: 24px; font-weight: 900; }
.dfmodal-code{ background: var(--bc-yellow); color: var(--bc-ink); padding: 3px 12px; border: 2.5px solid var(--bc-ink); font-family: monospace; font-weight: 800; }
.dfmodal-pwbox{ margin: 20px auto; max-width: 440px; text-align: left; background: var(--bc-bg); border: 2.5px solid var(--bc-accent); padding: 18px; box-shadow: var(--bc-shadow); }
.dfmodal-pwbox-head{ color: var(--bc-accent); font-weight: 900; font-size: 13px; }
.dfmodal-pwbox-sub{ color: var(--bc-muted); font-size: 11px; margin: 4px 0 10px; }
.dfmodal-pwbox-val{ font-family: monospace; font-size: 18px; letter-spacing: 2px; background: var(--bc-ink); color: var(--bc-yellow); padding: 12px; text-align: center; direction: ltr; border: 2.5px solid var(--bc-ink); }
.dfmodal-instructions{ margin: 16px auto; max-width: 500px; color: var(--bc-ink); font-size: 14px; line-height: 1.7; }
.dfmodal-instructions:empty{ display: none; }
.dfmodal-redirect{ color: var(--bc-accent); font-size: 13px; font-weight: 800; }
.dfmodal-success .dfmodal-buy{ display: inline-flex; max-width: 340px; margin: 12px auto 0; }

.bc-pay-now{ display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: var(--bc-accent); color: #fff; font-weight: 900; font-size: 14px; text-decoration: none; margin: 10px 0; border: 2.5px solid var(--bc-ink); box-shadow: var(--bc-shadow); }
.bc-pay-now:hover{ transform: translate(-2px, -2px); box-shadow: var(--bc-shadow-lg); }

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