/* ═══ cart-dark.css — جداشده از main.css (خطوط 8889-9103 نسخهٔ v1.1.267) بدون هیچ تغییری در محتوا/ترتیب.
   دارک‌مود سبد v67
   ترتیب لود (زنجیرهٔ dependency در functions.php) = ترتیب قبلی داخل main.css. ═══ */
/* ═══════════════════════════════════════
   FIX v67 — Cart dark mode
   هدف: سبد خرید در دارک‌مود با تم گرافیتی سایت یکدست شود.
   فقط رنگ/بوردر/سایه تغییر می‌کند؛ چیدمان سبد دست نمی‌خورد.
═══════════════════════════════════════ */

html[data-hg-theme="dark"] body.woocommerce-cart{
    background:var(--hg-u-page,#0f131a)!important;
    color:#edf2f7!important;
}

html[data-hg-theme="dark"] body.woocommerce-cart .hcart-title-row h1,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-cart-title{
    color:#edf2f7!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-title-row p,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-cart-subtitle{
    color:#a3adba!important;
}

/* New custom cart */
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-item,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-empty{
    background:linear-gradient(145deg,rgba(29,39,51,.92),rgba(23,31,42,.92))!important;
    border-color:rgba(255,255,255,.105)!important;
    box-shadow:0 18px 48px rgba(0,0,0,.30)!important;
    color:#edf2f7!important;
}

html[data-hg-theme="dark"] body.woocommerce-cart .hcart-thumb,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-img{
    background:linear-gradient(145deg,#202b38,#18212d)!important;
    border-color:rgba(255,255,255,.075)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-thumb img,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-img img{
    filter:brightness(.92) contrast(1.04)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-thumb svg,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-img svg{
    color:#a3adba!important;
    stroke:currentColor!important;
}

html[data-hg-theme="dark"] body.woocommerce-cart .hcart-name,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-title,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary-head h2,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary-line strong,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-line-total,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-line-total .amount,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-price,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-price .woocommerce-Price-amount{
    color:#edf2f7!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-unit-price,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-unit-price ins,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-unit-price .amount,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-total-box strong,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-discount strong,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-trust,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-discount,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-trust{
    color:#54e28a!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-unit-price del,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary-line,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-total-box span,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-empty p,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-meta,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-meta dt,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-item-sub,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-meta-pill span,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-summary .cart_totals table th{
    color:#a3adba!important;
}

html[data-hg-theme="dark"] body.woocommerce-cart .hcart-chip,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-meta .variation > *,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary-head span,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-chip,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-meta-pill{
    background:rgba(255,255,255,.055)!important;
    border-color:rgba(255,255,255,.075)!important;
    color:#a3adba!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-chip-green,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-chip-green{
    background:rgba(84,226,138,.12)!important;
    border-color:rgba(84,226,138,.18)!important;
    color:#73ee9f!important;
}

html[data-hg-theme="dark"] body.woocommerce-cart .hcart-remove,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-remove{
    background:rgba(251,113,133,.12)!important;
    border-color:rgba(251,113,133,.18)!important;
    color:#fb7185!important;
}

/* quantity controls */
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-qty-control,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .quantity{
    background:#18212d!important;
    border-color:rgba(255,255,255,.09)!important;
    box-shadow:0 6px 18px rgba(0,0,0,.18)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-qty-btn,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .qty-plus,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .qty-minus{
    background:#1d2733!important;
    color:#edf2f7!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-qty-btn:hover,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .qty-plus:hover,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .qty-minus:hover{
    background:#253140!important;
    color:#54e28a!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-qty-input,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-qty .qty{
    background:#151d28!important;
    color:#edf2f7!important;
    border-color:rgba(255,255,255,.075)!important;
}

/* coupon / buttons */
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-coupon input,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-coupon-input{
    background:#151d28!important;
    border-color:rgba(255,255,255,.09)!important;
    color:#edf2f7!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-coupon input::placeholder,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-coupon-input::placeholder{
    color:#728094!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-coupon button,
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-update,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-coupon-btn,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-update-btn{
    background:rgba(84,226,138,.12)!important;
    border-color:rgba(84,226,138,.18)!important;
    color:#73ee9f!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-back-shop{
    background:rgba(255,255,255,.055)!important;
    border-color:rgba(255,255,255,.075)!important;
    color:#edf2f7!important;
}

/* totals */
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-total-box,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-total-box{
    background:linear-gradient(145deg,rgba(84,226,138,.12),rgba(255,255,255,.035))!important;
    border-color:rgba(84,226,138,.18)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-summary-line,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-totals-row,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-summary .cart_totals table tr{
    border-top-color:rgba(255,255,255,.075)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .hcart-checkout,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-checkout-btn,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-summary .cart_totals .checkout-button,
html[data-hg-theme="dark"] body.woocommerce-cart .woocommerce-cart .return-to-shop a{
    background:linear-gradient(145deg,#2c3949,#222d3b)!important;
    color:#f4f7fb!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 14px 30px rgba(0,0,0,.25)!important;
}

/* old hg-cart wrappers too */
html[data-hg-theme="dark"] body.woocommerce-cart .hg-cart-item,
html[data-hg-theme="dark"] body.woocommerce-cart .hg-summary{
    background:linear-gradient(145deg,rgba(29,39,51,.92),rgba(23,31,42,.92))!important;
    border-color:rgba(255,255,255,.105)!important;
    box-shadow:0 18px 48px rgba(0,0,0,.30)!important;
    color:#edf2f7!important;
}

/* notices */
html[data-hg-theme="dark"] body.woocommerce-cart .woocommerce-message,
html[data-hg-theme="dark"] body.woocommerce-cart .woocommerce-info,
html[data-hg-theme="dark"] body.woocommerce-cart .hastigem-cart-page .woocommerce-message,
html[data-hg-theme="dark"] body.woocommerce-cart .hastigem-cart-page .woocommerce-info{
    background:rgba(84,226,138,.12)!important;
    border-color:rgba(84,226,138,.18)!important;
    color:#73ee9f!important;
    box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
}
html[data-hg-theme="dark"] body.woocommerce-cart .woocommerce-error,
html[data-hg-theme="dark"] body.woocommerce-cart .hastigem-cart-page .woocommerce-error{
    background:rgba(251,113,133,.12)!important;
    border-color:rgba(251,113,133,.18)!important;
    color:#fb7185!important;
}


/* v67 account dark fallback */
