/*
Theme Name: Wjhtek Telecom
Theme URI: https://wjhtektelecome.com
Author: Wjhtek Telecom
Description: قالب وجهتك الأولى للاتصالات - متكامل مع ووردبرس و WooCommerce بالنسخة العربية RTL.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: wjhtek-telecom
Tags: e-commerce, rtl-language-support, woocommerce, custom-logo, custom-menu
*/

/* === Salla Cart & Checkout Exact Styling === */
.salla-flow-wrap { max-width: 1220px; margin: 0 auto; padding: 8px 0 40px; font-family: 'Cairo', system-ui, sans-serif; }
.salla-steps-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; padding: 14px 20px; background: #f9fafb; border: 1px solid #eef0f3; border-radius: 14px; }
.salla-step { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: #6b7280; }
.salla-step.is-active { color: #111827; font-weight: 700; }
.salla-step.is-done { color: #10b981; }
.salla-step-num { width: 26px; height: 26px; border-radius: 50%; background: #e5e7eb; color: #4b5563; font-size: 0.82rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.salla-step.is-active .salla-step-num { background: #eb4660; color: #fff; }
.salla-step.is-done .salla-step-num { background: #10b981; color: #fff; }
.salla-step-sep { width: 48px; height: 2px; background: #e5e7eb; border-radius: 2px; }
.salla-step-sep.is-done { background: #10b981; }

.salla-cart-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 992px) {
  .salla-cart-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.salla-card { background: #fff; border: 1px solid #eef0f3; border-radius: 16px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.03); }
.salla-summary-sticky { position: sticky; top: 96px; }
.salla-card-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #f3f4f6; }
.salla-card-head h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #111827; }
.salla-section-badge { width: 28px; height: 28px; border-radius: 50%; background: #eb4660; color: #fff; font-size: 0.85rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.salla-cart-list { display: flex; flex-direction: column; gap: 16px; }
.salla-cart-item { position: relative; display: flex; gap: 16px; padding: 14px; border: 1px solid #eef0f3; border-radius: 12px; background: #fff; align-items: center; }
.salla-cart-item-img { width: 88px; height: 88px; flex-shrink: 0; background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 10px; padding: 6px; display: flex; align-items: center; justify-content: center; }
.salla-cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.salla-cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-left: 28px; }
.salla-cart-item-title { font-size: 0.95rem; font-weight: 700; color: #111827; text-decoration: none; line-height: 1.4; }
.salla-cart-item-title:hover { color: #eb4660; }
.salla-cart-item-unit { font-size: 0.82rem; color: #6b7280; }
.salla-cart-item-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.salla-qty-stepper { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #f9fafb; }
.salla-qty-btn { width: 32px; height: 32px; border: none; background: transparent; color: #374151; font-size: 1rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.salla-qty-btn:hover { background: #eb4660; color: #fff; }
.salla-qty-input { width: 42px; height: 32px; border: none; background: #fff; text-align: center; font-weight: 700; font-size: 0.9rem; color: #111827; -moz-appearance: textfield; }
.salla-qty-input::-webkit-inner-spin-button, .salla-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.salla-cart-item-subtotal { font-size: 1rem; font-weight: 800; color: #eb4660; }
.salla-remove-item { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%; background: #fef2f2; color: #ef4444; text-decoration: none; font-size: 1.1rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.salla-remove-item:hover { background: #ef4444; color: #fff; }
.salla-cart-update-row { margin-top: 16px; display: flex; justify-content: flex-end; }
.salla-outline-btn { background: #fff !important; border: 1px solid #d1d5db !important; color: #374151 !important; border-radius: 10px !important; padding: 8px 16px !important; font-weight: 600 !important; cursor: pointer; }
.salla-outline-btn:hover { border-color: #eb4660 !important; color: #eb4660 !important; }

.salla-coupon-box { margin-bottom: 18px; }
.salla-coupon-box label { display: block; font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 8px; }
.salla-coupon-row { display: flex; gap: 8px; }
.salla-coupon-row input { flex: 1; border: 1px solid #d1d5db; border-radius: 10px; padding: 9px 12px; font-size: 0.9rem; outline: none; }
.salla-coupon-row input:focus { border-color: #eb4660; }
.salla-coupon-btn { background: #111827 !important; color: #fff !important; border: none !important; border-radius: 10px !important; padding: 9px 16px !important; font-weight: 600 !important; cursor: pointer; }
.salla-coupon-btn:hover { background: #eb4660 !important; }

.salla-summary-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.salla-summary-line { display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; color: #4b5563; }
.salla-summary-line strong { color: #111827; font-weight: 700; }
.salla-discount-line strong { color: #10b981; }
.salla-summary-divider { height: 1px; background: #eef0f3; margin: 4px 0; }
.salla-summary-total { font-size: 1.08rem; font-weight: 800; color: #111827; }
.salla-summary-total strong { color: #eb4660; font-size: 1.18rem; }

.salla-primary-btn, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
  display: block !important; width: 100% !important; text-align: center !important;
  background: #eb4660 !important; color: #fff !important; border: none !important;
  border-radius: 12px !important; padding: 13px 20px !important; font-size: 1rem !important;
  font-weight: 700 !important; text-decoration: none !important; cursor: pointer !important;
  transition: opacity 0.15s, transform 0.15s !important;
}
.salla-primary-btn:hover, .woocommerce #payment #place_order:hover { opacity: 0.92; }

.salla-empty-cart { text-align: center; padding: 56px 20px; background: #fff; border: 1px solid #eef0f3; border-radius: 16px; }
.salla-empty-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: #fef2f2; color: #eb4660; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.salla-empty-cart h2 { font-size: 1.3rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.salla-empty-cart p { color: #6b7280; margin-bottom: 20px; }

/* Checkout fields & payment */
.salla-checkout-fields .form-row { margin-bottom: 14px !important; }
.salla-checkout-fields label { display: block; font-size: 0.88rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.salla-checkout-fields input.input-text, .salla-checkout-fields select, .salla-checkout-fields textarea {
  width: 100% !important; border: 1px solid #d1d5db !important; border-radius: 10px !important;
  padding: 10px 12px !important; font-size: 0.92rem !important; background: #fff !important; color: #111827 !important;
}
.salla-checkout-fields input.input-text:focus, .salla-checkout-fields select:focus, .salla-checkout-fields textarea:focus {
  border-color: #eb4660 !important; outline: none !important; box-shadow: 0 0 0 3px rgba(235, 70, 96, 0.12) !important;
}
.woocommerce-checkout #payment { background: #f9fafb !important; border: 1px solid #eef0f3 !important; border-radius: 12px !important; padding: 14px !important; margin-top: 14px; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid #e5e7eb !important; padding: 0 0 12px !important; margin: 0 0 14px !important; list-style: none !important; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 10px 12px; background: #fff; border: 1px solid #eef0f3; border-radius: 10px; margin-bottom: 8px; }

.salla-mini-items { display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.salla-mini-item { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6; }
.salla-mini-item img { width: 52px; height: 52px; object-fit: contain; background: #f9fafb; border-radius: 8px; border: 1px solid #eef0f3; padding: 4px; flex-shrink: 0; }
.salla-mini-item-meta { flex: 1; min-width: 0; }
.salla-mini-item-name { font-size: 0.85rem; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.salla-mini-item-qty { font-size: 0.78rem; color: #6b7280; }
.salla-mini-item-price { font-size: 0.88rem; font-weight: 700; color: #eb4660; flex-shrink: 0; }

/* === Salla Checkout Polish (Hide duplicate headings/table, 2-col fields) === */
body.woocommerce-cart article > h1:first-child,
body.woocommerce-checkout article > h1:first-child,
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
  display: none !important;
}
@media (min-width: 640px) {
  .salla-checkout-fields .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }
  .salla-checkout-fields #billing_address_1_field,
  .salla-checkout-fields #billing_country_field {
    grid-column: span 2;
  }
}
.salla-checkout-fields .form-row { width: 100% !important; float: none !important; margin: 0 0 14px !important; padding: 0 !important; }
.woocommerce-checkout #payment { background: transparent !important; border: none !important; padding: 0 !important; margin-top: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 700; color: #111827; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.woocommerce-checkout #payment div.payment_box { background: #f9fafb !important; color: #4b5563 !important; border-radius: 8px !important; margin-top: 8px !important; font-size: 0.85rem !important; }

/* Fix sticky sidebar (overflow-x: clip instead of hidden) & force hide duplicate checkout H1/table */
html, body.overflow-x-hidden { overflow-x: clip !important; }
body.woocommerce-cart .container-fluid > article > h1,
body.woocommerce-checkout .container-fluid > article > h1 {
  display: none !important;
}

/* === Salla RTL Slide-out Drawer Menu === */
.salla-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.salla-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.salla-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
  background: #fff; z-index: 9999; box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(105%); transition: transform 0.28s ease;
  display: flex; flex-direction: column; font-family: 'Cairo', system-ui, sans-serif;
}
.salla-drawer.is-open { transform: translateX(0); }
.salla-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid #eef0f3; font-weight: 700; font-size: 1.05rem; color: #111827;
}
.salla-drawer-close {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: #f3f4f6;
  color: #374151; font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.salla-drawer-close:hover { background: #eb4660; color: #fff; }
.salla-drawer-nav { flex: 1; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; }
.salla-drawer-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; color: #1f2937; text-decoration: none; font-size: 0.95rem; font-weight: 600;
  border-bottom: 1px solid #f9fafb; transition: background 0.15s, color 0.15s;
}
.salla-drawer-nav a:hover { background: #fef2f2; color: #eb4660; }
.salla-drawer-divider {
  padding: 14px 18px 6px; font-size: 0.8rem; font-weight: 700; color: #9ca3af; text-transform: uppercase;
}
.salla-drawer-count { font-size: 0.8rem; color: #9ca3af; font-weight: 400; }

/* === Salla Drawer Icons & Logo Polish === */
.salla-drawer-logo { height: 36px; width: auto; object-fit: contain; }
.salla-drawer-item-r { display: inline-flex; align-items: center; gap: 10px; }
.salla-drawer-ico {
  width: 32px; height: 32px; border-radius: 8px; background: #f3f4f6; color: #374151;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.salla-drawer-nav a:hover .salla-drawer-ico { background: #eb4660; color: #fff; }
.salla-drawer-arrow { font-size: 14px; color: #9ca3af; }
.salla-drawer-nav a:hover .salla-drawer-arrow { color: #eb4660; }
.salla-drawer-count {
  background: #f3f4f6; color: #6b7280; font-size: 0.75rem; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
}

/* === Exact Salla #mobile-menu Drawer Match === */
.salla-drawer { width: 440px !important; max-width: 90vw !important; }
.salla-drawer-head {
  background: #eb4660 !important; color: #fff !important;
  height: 52px; padding: 0 20px !important; border-bottom: none !important;
}
.salla-drawer-title { font-size: 1rem; font-weight: 700; color: #fff; }
.salla-drawer-close {
  background: transparent !important; color: #fff !important; width: 40px !important; height: 40px !important;
  border-radius: 0 !important; font-size: 18px !important; margin-left: -10px;
}
.salla-drawer-close:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }
.salla-drawer-nav { padding: 0 !important; }
.salla-drawer-nav a {
  padding: 14px 20px !important; font-size: 0.95rem !important; font-weight: 500 !important;
  color: #1f2937 !important; border-bottom: 1px solid #f3f4f6 !important;
}
.salla-drawer-nav a:hover { background: #fafafa !important; color: #eb4660 !important; }
.salla-drawer-nav a.is-highlight { color: #eb4660 !important; font-weight: 700 !important; }
.salla-drawer-chevron { color: #9ca3af; font-size: 1.25rem; line-height: 1; font-weight: 400; }

/* === Salla PingARLT Font === */
@font-face {
  font-family: 'PingARLT';
  src: url('assets/cdn.salla.network/fonts/lib/pingarlt/PingARLT-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PingARLT';
  src: url('assets/cdn.salla.network/fonts/lib/pingarlt/PingARLT-Medium.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-main: 'PingARLT', 'Cairo', sans-serif !important;
}
html, body, button, input, select, textarea, .salla-flow-wrap, .salla-drawer {
  font-family: 'PingARLT', 'Cairo', system-ui, -apple-system, sans-serif !important;
}

/* === Salla Shop & Category Archive Layout === */
.salla-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.85rem; color: #6b7280; margin-bottom: 16px;
}
.salla-breadcrumb a { color: #6b7280; text-decoration: none; }
.salla-breadcrumb a:hover { color: #eb4660; }
.salla-bc-sep { color: #d1d5db; }
.salla-bc-current { color: #111827; font-weight: 700; }

.salla-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: 14px 18px; margin-bottom: 20px;
  background: #fff; border: 1px solid #eef0f3; border-radius: 14px;
}
.salla-shop-title-wrap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.salla-result-count .woocommerce-result-count { margin: 0 !important; font-size: 0.85rem; color: #6b7280; float: none !important; }
.salla-sort-wrap { display: flex; align-items: center; gap: 8px; }
.salla-sort-label { font-size: 0.85rem; font-weight: 600; color: #4b5563; white-space: nowrap; }
.salla-sort-wrap .woocommerce-ordering { margin: 0 !important; float: none !important; }
.salla-sort-wrap select.orderby {
  border: 1px solid #e5e7eb !important; border-radius: 10px !important;
  padding: 8px 14px !important; font-size: 0.88rem !important; font-weight: 600;
  color: #111827 !important; background-color: #f9fafb !important; cursor: pointer;
}
.salla-sort-wrap select.orderby:focus { border-color: #eb4660 !important; outline: none !important; }

.salla-shop-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 992px) {
  .salla-shop-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .salla-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1200px) {
  .salla-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

.salla-filter-card {
  background: #fff; border: 1px solid #eef0f3; border-radius: 14px; padding: 16px;
}
.salla-filter-title {
  font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 12px;
  padding-bottom: 10px; border-bottom: 1px solid #f3f4f6;
}
.salla-filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; max-height: 460px; overflow-y: auto; }
.salla-filter-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; color: #374151; text-decoration: none;
  font-size: 0.88rem; font-weight: 600; transition: background 0.15s, color 0.15s;
}
.salla-filter-list a:hover, .salla-filter-list a.is-active { background: #fef2f2; color: #eb4660; }
.salla-filter-count { font-size: 0.78rem; color: #9ca3af; background: #f3f4f6; padding: 1px 7px; border-radius: 999px; }
.salla-filter-list a.is-active .salla-filter-count { background: #eb4660; color: #fff; }

/* Salla-styled rounded pagination */
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers {
  display: flex; justify-content: center; gap: 6px; border: none !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li {
  border: none !important; margin: 0 !important; float: none !important;
}
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px !important;
  border: 1px solid #eef0f3 !important; background: #fff !important; color: #374151 !important;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
}
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li a:hover {
  background: #eb4660 !important; border-color: #eb4660 !important; color: #fff !important;
}

/* === Salla Single Product Page === */
.salla-single-card { padding: 24px !important; margin-bottom: 22px; }
.salla-single-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 992px) {
  .salla-single-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.salla-single-main-img {
  position: relative; background: #f9fafb; border: 1px solid #eef0f3; border-radius: 16px;
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 18px;
}
.salla-single-main-img img { width: 100%; height: 100%; object-fit: contain; }
.salla-single-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.salla-thumb-btn {
  width: 68px; height: 68px; border: 2px solid #eef0f3; border-radius: 10px;
  background: #fff; padding: 4px; cursor: pointer; overflow: hidden;
}
.salla-thumb-btn.is-active { border-color: #eb4660; }
.salla-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }

.salla-single-info { display: flex; flex-direction: column; gap: 16px; }
.salla-single-meta-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.salla-cat-pill {
  background: #fef2f2; color: #eb4660; font-size: 0.82rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; text-decoration: none;
}
.salla-sku-pill { font-size: 0.8rem; color: #6b7280; background: #f3f4f6; padding: 4px 10px; border-radius: 999px; }
.salla-single-title { font-size: 1.5rem; font-weight: 800; color: #111827; line-height: 1.45; margin: 0; }
.salla-single-price-box { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.salla-single-price-now { font-size: 1.65rem; font-weight: 800; color: #eb4660; }
.salla-single-price-old { font-size: 1.05rem; color: #9ca3af; text-decoration: line-through; }
.salla-single-save-pill { background: #ecfdf5; color: #059669; font-size: 0.82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.salla-stock-badge { display: inline-flex; align-items: center; font-size: 0.85rem; font-weight: 700; padding: 5px 12px; border-radius: 8px; }
.salla-stock-badge.is-in { background: #ecfdf5; color: #059669; }
.salla-stock-badge.is-out { background: #fef2f2; color: #dc2626; }

.salla-single-buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.salla-single-qty { height: 48px; }
.salla-single-qty .salla-qty-btn { width: 42px; height: 48px; font-size: 1.15rem; }
.salla-single-qty .salla-qty-input { width: 52px; height: 48px; font-size: 1rem; }
.salla-single-add-btn {
  width: auto !important;
  flex: 1 1 200px !important;
  min-width: 180px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 48px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.salla-trust-box {
  background: #f9fafb; border: 1px solid #eef0f3; border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
}
.salla-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #374151; font-weight: 600; }
.salla-trust-item i { color: #eb4660; font-size: 18px; }
.salla-single-desc-card { padding: 22px 24px !important; }
.salla-single-desc-body { font-size: 0.96rem; line-height: 1.85; color: #374151; }

/* === Homepage Auto-Carousels (Products, Categories, Brands, Testimonials) === */
.s-block--categories salla-slider[type="carousel"] .swiper-slide,
.s-block--testimonials salla-slider[type="carousel"] .swiper-slide,
.brand-sec salla-slider[type="carousel"] .swiper-slide {
  display: block !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.s-block--categories salla-slider [slot="items"],
.s-block--testimonials salla-slider [slot="items"],
.brand-sec salla-slider [slot="items"] {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
}
.s-block--categories salla-slider [slot="items"]::-webkit-scrollbar,
.s-block--testimonials salla-slider [slot="items"]::-webkit-scrollbar,
.brand-sec salla-slider [slot="items"]::-webkit-scrollbar { display: none; }

.s-block--categories .slide-catg {
  flex: 0 0 calc((100% - 80px) / 6) !important;
  min-width: 130px;
}
@media (max-width: 1023px) {
  .s-block--categories .slide-catg { flex: 0 0 calc((100% - 32px) / 3) !important; }
}
@media (max-width: 639px) {
  .s-block--categories .slide-catg { flex: 0 0 calc((100% - 12px) / 2.2) !important; }
}
.s-block--categories .slide-catg img { width: 100%; height: auto; border-radius: 12px; display: block; }

.s-block--testimonials .swiper-slide.view-three {
  flex: 0 0 calc((100% - 32px) / 3) !important;
}
@media (max-width: 767px) {
  .s-block--testimonials .swiper-slide.view-three { flex: 0 0 85% !important; }
}

/* Homepage product sliders = horizontal auto-playing carousel */
.static-slider-block { position: relative; }
.static-slider-block .static-products-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  gap: 16px !important;
  scrollbar-width: none !important;
  padding-bottom: 4px;
}
.static-slider-block .static-products-grid::-webkit-scrollbar { display: none; }
.static-slider-block .static-product-card {
  flex: 0 0 calc((100% - 48px) / 4) !important;
  min-width: 0;
}
@media (max-width: 1023px) {
  .static-slider-block .static-product-card { flex: 0 0 calc((100% - 32px) / 3) !important; }
}
@media (max-width: 639px) {
  .static-slider-block .static-product-card { flex: 0 0 calc((100% - 10px) / 2) !important; }
}
.static-carousel-arrow {
  position: absolute; top: 54%; transform: translateY(-50%); z-index: 8;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #eef0f3;
  background: rgba(255,255,255,0.95); color: #111827; font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: background 0.15s, color 0.15s;
}
.static-carousel-arrow:hover { background: #eb4660; color: #fff; border-color: #eb4660; }
.static-carousel-prev { right: -6px; }
.static-carousel-next { left: -6px; }

/* Higher specificity override for multi-item carousels over inline banner slider style */
body .s-block--categories salla-slider#main-links-4 [slot="items"],
body .s-block--testimonials salla-slider#testimonials-37-slider [slot="items"],
body .brand-sec salla-slider[type="carousel"] [slot="items"] {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
}
body .s-block--categories salla-slider#main-links-4 .swiper-slide.slide-catg {
  display: block !important;
  flex: 0 0 calc((100% - 80px) / 6) !important;
  width: calc((100% - 80px) / 6) !important;
  min-width: 140px !important;
}
@media (max-width: 1023px) {
  body .s-block--categories salla-slider#main-links-4 .swiper-slide.slide-catg {
    flex: 0 0 calc((100% - 32px) / 3) !important;
    width: calc((100% - 32px) / 3) !important;
  }
}
@media (max-width: 639px) {
  body .s-block--categories salla-slider#main-links-4 .swiper-slide.slide-catg {
    flex: 0 0 calc((100% - 12px) / 2.2) !important;
    width: calc((100% - 12px) / 2.2) !important;
  }
}

/* === Polish Categories Carousel (controls-outer & non-distorted images) === */
.s-block--categories .container-fluid { position: relative; }
.s-block--categories .slide-catg .catg-ref { display: block !important; width: 100% !important; }
.s-block--categories .slide-catg .catg-ref img {
  width: 100% !important; height: auto !important; object-fit: contain !important; display: block !important;
}
.s-block--categories salla-slider#main-links-4 { position: static !important; }
.s-block--categories .static-carousel-arrow {
  top: 0 !important; transform: none !important;
  width: 32px; height: 32px; font-size: 14px;
}
.s-block--categories .static-carousel-prev { left: 56px !important; right: auto !important; }
.s-block--categories .static-carousel-next { left: 16px !important; right: auto !important; }

/* === Exact Salla Match for .s-block--categories (Desktop 5.6 + Pink Header Arrows, Mobile 3-col No Arrows) === */
body .s-block--categories {
  padding-top: 12px;
  padding-bottom: 12px;
}
body .s-block--categories .static-slider-header {
  margin-bottom: 16px;
}
body .s-block--categories .static-slider-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
}
@media (max-width: 767px) {
  body .s-block--categories .static-slider-title { font-size: 1.125rem; }
  body .s-block--categories .static-carousel-arrow { display: none !important; }
  body .s-block--categories salla-slider#main-links-4 [slot="items"] { gap: 10px !important; }
  body .s-block--categories salla-slider#main-links-4 .swiper-slide.slide-catg {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    width: calc((100% - 20px) / 3) !important;
    min-width: 0 !important;
  }
}
@media (min-width: 768px) {
  body .s-block--categories salla-slider#main-links-4 [slot="items"] { gap: 18px !important; }
  body .s-block--categories salla-slider#main-links-4 .swiper-slide.slide-catg {
    flex: 0 0 212px !important;
    width: 212px !important;
    min-width: 212px !important;
  }
  body .s-block--categories .static-carousel-arrow {
    top: 12px !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    background: #eb4660 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }
  body .s-block--categories .static-carousel-arrow:hover { opacity: 0.88; }
  body .s-block--categories .static-carousel-prev { left: 74px !important; right: auto !important; }
  body .s-block--categories .static-carousel-next { left: 30px !important; right: auto !important; }
}

/* === Salla Solid Pink Add-to-Cart Button with Shopping Bag Icon === */
.static-product-card .static-add-btn {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
.static-product-card .static-add-btn:not(.static-add-btn--out) {
  border: 1px solid #eb4660 !important;
  background: #eb4660 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: opacity 0.15s ease, background 0.15s ease !important;
}
.static-product-card .static-add-btn:not(.static-add-btn--out):hover {
  background: #d63852 !important;
  border-color: #d63852 !important;
  color: #ffffff !important;
}
.static-product-card .static-add-btn.loading {
  opacity: 0.65 !important;
  padding: 0 12px !important;
}
.static-product-card .static-add-btn.loading::after,
.static-product-card .static-add-btn.added::after {
  display: none !important;
  content: none !important;
}
.static-product-card .static-add-btn i {
  font-size: 15px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.static-product-card a.added_to_cart.wc-forward {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #eb4660 !important;
  padding: 4px 0 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}
@media (max-width: 639px) {
  .static-product-card .static-add-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 8px !important;
    font-size: 0.8rem !important;
    gap: 5px !important;
    border-radius: 8px !important;
  }
  .static-product-card .static-add-btn i {
    font-size: 14px !important;
  }
}

/* === Remove Empty/Broken Homepage Gaps === */
#best-offers-11-slider,
#featured-products-style2-20,
#featured-products-style2-27,
#featured-products-style2-29,
#featured-products-style2-30,
.s-block--video:has(source[src*="k.top4top.io"]),
.s-block--best-offers:has(.static-products-grid:empty) {
  display: none !important;
}

/* === Salla My Account (Login / Register / Dashboard) === */
.salla-auth-wrap {
  max-width: 480px;
  margin: 24px auto 48px;
}
.salla-auth-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.05);
}
.salla-auth-head {
  text-align: center;
  margin-bottom: 24px;
}
.salla-auth-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff1f3;
  color: #eb4660;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.salla-auth-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.salla-auth-sub {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}
.salla-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
}
.salla-auth-tab {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}
.salla-auth-tab.is-active {
  background: #ffffff;
  color: #eb4660;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.salla-auth-panel {
  display: none;
}
.salla-auth-panel.is-active {
  display: block;
}
.salla-auth-form .salla-field {
  margin-bottom: 16px;
}
.salla-auth-form .salla-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.salla-auth-form .salla-field .required {
  color: #eb4660;
}
.salla-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #111827;
  background: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.salla-input:focus {
  outline: none;
  border-color: #eb4660;
  box-shadow: 0 0 0 3px rgba(235, 70, 96, 0.12);
}
.salla-pass-wrap {
  position: relative;
}
.salla-pass-toggle {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
}
html[dir="ltr"] .salla-pass-toggle {
  left: auto;
  right: 12px;
}
.salla-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 20px;
  font-size: 0.88rem;
}
.salla-remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  cursor: pointer;
}
.salla-forgot-link {
  color: #eb4660;
  text-decoration: none;
  font-weight: 600;
}
.salla-auth-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #eb4660;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.salla-auth-submit:hover {
  background: #c5203a;
}

/* Logged-in My Account Dashboard */
.salla-account-wrap {
  max-width: 1220px;
  margin: 12px auto 48px;
}
.salla-account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .salla-account-grid {
    grid-template-columns: 1fr;
  }
}
.salla-account-nav {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  width: 100% !important;
  float: none !important;
}
.salla-account-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #fff5f7;
  border-bottom: 1px solid #fce7eb;
}
.salla-account-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eb4660;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.salla-account-user {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.salla-account-user strong {
  font-size: 0.95rem;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salla-account-user span {
  font-size: 0.8rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salla-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.salla-account-nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.15s ease;
}
.salla-account-nav ul li a:hover,
.salla-account-nav ul li.is-active a {
  background: #fff1f3;
  color: #eb4660;
}
.salla-account-content-card {
  padding: 24px !important;
  width: 100% !important;
  float: none !important;
}
.salla-dash-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.salla-dash-head p {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0 0 22px;
}
.salla-dash-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 767px) {
  .salla-dash-cards {
    grid-template-columns: 1fr;
  }
}
.salla-dash-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  text-decoration: none;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.salla-dash-card:hover {
  border-color: #eb4660;
  box-shadow: 0 6px 18px rgba(235, 70, 96, 0.08);
}
.salla-dash-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff1f3;
  color: #eb4660;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.salla-dash-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.salla-dash-card__text strong {
  font-size: 0.95rem;
  color: #111827;
}
.salla-dash-card__text span {
  font-size: 0.8rem;
  color: #6b7280;
}

/* === Salla Inner Account Pages (Orders, Addresses, Forms, Notices) === */
.salla-account-content-card .woocommerce-info,
.salla-account-content-card .woocommerce-message,
.salla-account-content-card .woocommerce-error {
  background: #fff5f7 !important;
  border: 1px solid #fce7eb !important;
  border-top: 1px solid #fce7eb !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  color: #374151 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 20px !important;
  list-style: none !important;
}
.salla-account-content-card .woocommerce-info::before,
.salla-account-content-card .woocommerce-message::before,
.salla-account-content-card .woocommerce-error::before {
  display: none !important;
}
.salla-account-content-card .woocommerce-info .button,
.salla-account-content-card .woocommerce-message .button,
.salla-account-content-card .woocommerce-orders-table .button,
.salla-account-content-card button.woocommerce-Button,
.salla-account-content-card a.edit {
  background: #eb4660 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 9px 18px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  float: none !important;
}
.salla-account-content-card .woocommerce-info .button:hover,
.salla-account-content-card .woocommerce-message .button:hover,
.salla-account-content-card .woocommerce-orders-table .button:hover,
.salla-account-content-card button.woocommerce-Button:hover,
.salla-account-content-card a.edit:hover {
  background: #c5203a !important;
}
.salla-account-content-card .woocommerce-orders-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #eef0f3 !important;
  border-radius: 12px !important;
  overflow: hidden;
}
.salla-account-content-card .woocommerce-orders-table thead th {
  background: #f9fafb;
  color: #374151;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 16px;
  border-bottom: 1px solid #eef0f3;
}
.salla-account-content-card .woocommerce-orders-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.92rem;
  color: #111827;
  vertical-align: middle;
}
.salla-account-content-card .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 16px;
}
.salla-account-content-card .woocommerce-Addresses::before,
.salla-account-content-card .woocommerce-Addresses::after {
  display: none !important;
}
@media (max-width: 767px) {
  .salla-account-content-card .woocommerce-Addresses {
    grid-template-columns: 1fr !important;
  }
}
.salla-account-content-card .woocommerce-Addresses .u-column1,
.salla-account-content-card .woocommerce-Addresses .u-column2 {
  width: 100% !important;
  float: none !important;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 20px;
}
.salla-account-content-card .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.salla-account-content-card .woocommerce-Address-title h2,
.salla-account-content-card .woocommerce-Address-title h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.salla-account-content-card .woocommerce-Address address {
  font-style: normal;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
.salla-account-content-card form .form-row {
  margin-bottom: 16px !important;
  padding: 0 !important;
}
.salla-account-content-card form .form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.salla-account-content-card form .input-text,
.salla-account-content-card form select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.94rem;
  color: #111827;
  background: #ffffff;
  box-sizing: border-box;
}
.salla-account-content-card form .input-text:focus,
.salla-account-content-card form select:focus {
  outline: none;
  border-color: #eb4660;
  box-shadow: 0 0 0 3px rgba(235, 70, 96, 0.12);
}
.salla-account-content-card fieldset {
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  background: #f9fafb;
}
.salla-account-content-card fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  padding: 0 8px;
}

/* === Product SEO Guide Block === */
.sh-seo-guide {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eef0f3;
}
.sh-seo-guide h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 16px 0 8px;
}
.sh-seo-guide p {
  margin: 0 0 10px;
  color: #374151;
  line-height: 1.8;
}
.sh-seo-guide ul {
  margin: 8px 0 14px;
  padding-inline-start: 20px;
  color: #374151;
}
.sh-seo-guide li {
  margin-bottom: 6px;
}
.sh-seo-guide a {
  color: #eb4660;
  font-weight: 600;
  text-decoration: none;
}
.sh-seo-guide a:hover {
  text-decoration: underline;
}

/* === FAQ Accordion Open State === */
.accordion-box .item-box .header-accordion {
  user-select: none;
}
.accordion-box .item-box .header-accordion.active + .body-accordion {
  display: block !important;
}

/* === Complete Dark Mode Support (body.theme-dark) === */
body {
  background: #ffffff;
}
body.theme-dark,
body.theme-dark .app-inner,
body.theme-dark #main-content,
body.theme-dark .bg-home {
  background: #0f091e !important;
  color: #ededed !important;
}
body.theme-dark .ps-header .ps-header__middle {
  background: #14142a !important;
  color: #ededed !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.theme-dark .ps-header .ps-logo img {
  background: rgba(255, 255, 255, 0.94);
  padding: 3px 10px;
  border-radius: 10px;
}
body.theme-dark .ps-header .menu-btn,
body.theme-dark .ps-header .menu-btn i,
body.theme-dark .ps-header .search-btn-mobile,
body.theme-dark .ps-header .search-btn-mobile span,
body.theme-dark .ps-header .ps-language-currency .btn--rounded-gray,
body.theme-dark .ps-header .ps-language-currency .btn--rounded-gray i,
body.theme-dark .ps-header .ps-language-currency .language-currency b,
body.theme-dark .ps-header .ps-language-currency .language-currency p,
body.theme-dark .ps-header .ps-header__icons li a,
body.theme-dark .ps-header .ps-header__icons li a .header-btn__icon {
  color: #ededed !important;
  border-color: rgba(255,255,255,0.18) !important;
}
body.theme-dark .static-slider-title,
body.theme-dark .s-block__title h2,
body.theme-dark .s-slider-block__title h2,
body.theme-dark .salla-single-title,
body.theme-dark .salla-card-head h2,
body.theme-dark .salla-filter-title,
body.theme-dark .salla-auth-title,
body.theme-dark .salla-dash-head h2,
body.theme-dark .salla-dash-card__text strong,
body.theme-dark .salla-account-user strong,
body.theme-dark .salla-bc-current,
body.theme-dark .salla-step.is-active,
body.theme-dark .sh-seo-guide h2,
body.theme-dark .static-product-title,
body.theme-dark .salla-cart-item-title,
body.theme-dark .salla-mini-item-name {
  color: #f3f4f6 !important;
}
body.theme-dark .static-product-card,
body.theme-dark .salla-card,
body.theme-dark .salla-shop-toolbar,
body.theme-dark .salla-filter-card,
body.theme-dark .salla-auth-card,
body.theme-dark .salla-account-nav,
body.theme-dark .salla-dash-card,
body.theme-dark .salla-cart-item,
body.theme-dark .salla-empty-cart,
body.theme-dark .salla-steps-bar,
body.theme-dark .salla-trust-box,
body.theme-dark .accordion-box .item-box,
body.theme-dark .testimonials-box,
body.theme-dark .salla-drawer,
body.theme-dark .system-setting-sidebar,
body.theme-dark .salla-account-content-card .woocommerce-Addresses .u-column1,
body.theme-dark .salla-account-content-card .woocommerce-Addresses .u-column2,
body.theme-dark .salla-account-content-card fieldset,
body.theme-dark .woocommerce-checkout #payment ul.payment_methods li {
  background: #191a30 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ededed !important;
}
body.theme-dark .static-product-img-wrap,
body.theme-dark .salla-single-main-img,
body.theme-dark .salla-cart-item-img,
body.theme-dark .salla-mini-item img,
body.theme-dark .salla-thumb-btn {
  background: #14142a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.theme-dark .salla-drawer-nav a,
body.theme-dark .salla-filter-list a,
body.theme-dark .salla-account-nav ul li a,
body.theme-dark .accordion-box .item-box .header-accordion,
body.theme-dark .accordion-box .item-box .body-accordion,
body.theme-dark .salla-single-desc-body,
body.theme-dark .sh-seo-guide p,
body.theme-dark .sh-seo-guide li,
body.theme-dark .salla-trust-item,
body.theme-dark .salla-summary-line,
body.theme-dark .salla-summary-line strong,
body.theme-dark .salla-account-content-card label,
body.theme-dark .salla-checkout-fields label,
body.theme-dark .salla-auth-form .salla-field label,
body.theme-dark .system-setting-sidebar h3,
body.theme-dark .system-setting-sidebar h4,
body.theme-dark .system-setting-sidebar .p,
body.theme-dark .system-setting-sidebar label,
body.theme-dark .system-setting-sidebar .size-box {
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.theme-dark .salla-account-profile,
body.theme-dark .salla-auth-tabs,
body.theme-dark .salla-qty-stepper,
body.theme-dark .salla-sku-pill,
body.theme-dark .salla-filter-count,
body.theme-dark .salla-account-content-card .woocommerce-orders-table thead th,
body.theme-dark .woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li a,
body.theme-dark .woocommerce-pagination-wrap nav.woocommerce-pagination ul.page-numbers li span {
  background: #14142a !important;
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.theme-dark .salla-input,
body.theme-dark .salla-qty-input,
body.theme-dark .salla-coupon-row input,
body.theme-dark .salla-sort-wrap select.orderby,
body.theme-dark .salla-checkout-fields input.input-text,
body.theme-dark .salla-checkout-fields select,
body.theme-dark .salla-checkout-fields textarea,
body.theme-dark .salla-account-content-card form .input-text,
body.theme-dark .salla-account-content-card form select {
  background: #0f091e !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
body.theme-dark .accordion-box .item-box .header-accordion span {
  background: #14142a !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #ededed !important;
}
body.theme-dark .salla-card-head,
body.theme-dark .salla-filter-title,
body.theme-dark .salla-summary-divider,
body.theme-dark .sh-seo-guide,
body.theme-dark .salla-mini-item {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.theme-dark .salla-auth-tab.is-active {
  background: #eb4660 !important;
  color: #ffffff !important;
}
body.theme-dark .salla-account-nav ul li a:hover,
body.theme-dark .salla-account-nav ul li.is-active a,
body.theme-dark .salla-filter-list a:hover,
body.theme-dark .salla-filter-list a.is-active,
body.theme-dark .salla-drawer-nav a:hover {
  background: rgba(235, 70, 96, 0.16) !important;
  color: #ff6c86 !important;
}

/* === Live OTO Shipping Companies Cards (Checkout & Cart) === */
.salla-shipping-section {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.salla-shipping-section__head,
.salla-cart-shipping-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #111827;
}
.salla-shipping-section__head i,
.salla-cart-shipping-head i {
  color: #eb4660;
  font-size: 19px;
}
.salla-shipping-section__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: inherit;
}
.salla-shipping-auto-badge {
  margin-inline-start: auto;
  font-size: 0.72rem;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  padding: 3px 10px;
  border-radius: 999px;
}
.salla-shipping-card-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.salla-shipping-card-list--compact {
  max-height: 280px;
  overflow-y: auto;
  gap: 8px;
  margin-top: 10px !important;
}
.salla-shipping-option {
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.salla-shipping-option:hover {
  border-color: #f4a3b1;
}
.salla-shipping-option.is-selected {
  border-color: #eb4660;
  background: #fff5f7;
  box-shadow: 0 3px 12px rgba(235, 70, 96, 0.1);
}
.salla-shipping-option__label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 13px !important;
  cursor: pointer;
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
}
.salla-shipping-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.salla-shipping-radio-ui {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color 0.15s ease;
}
.salla-shipping-option.is-selected .salla-shipping-radio-ui {
  border-color: #eb4660;
}
.salla-shipping-option.is-selected .salla-shipping-radio-ui::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #eb4660;
}
.salla-shipping-logo-wrap {
  width: 58px;
  height: 36px;
  min-width: 58px;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.salla-shipping-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.salla-shipping-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.salla-shipping-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.salla-shipping-eta {
  font-size: 0.76rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.salla-shipping-price {
  font-size: 0.94rem;
  font-weight: 800;
  color: #eb4660;
  white-space: nowrap;
  flex-shrink: 0;
}
.salla-cart-shipping-box {
  background: #f9fafb;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 12px;
  margin: 6px 0;
}
.salla-cart-country-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
}
.salla-cart-country-select,
.salla-cart-city-input {
  width: 100%;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 0.82rem;
  background: #ffffff;
  color: #111827;
  box-sizing: border-box;
}
.salla-cart-calc-btn {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.salla-cart-calc-btn:hover {
  background: #eb4660;
}
@media (max-width: 639px) {
  .salla-shipping-logo-wrap { width: 48px; min-width: 48px; height: 32px; }
  .salla-shipping-name { font-size: 0.82rem; }
  .salla-cart-country-row { grid-template-columns: 1fr; }
}
body.theme-dark .salla-shipping-section__head,
body.theme-dark .salla-cart-shipping-head,
body.theme-dark .salla-shipping-name {
  color: #f3f4f6 !important;
}
body.theme-dark .salla-shipping-option,
body.theme-dark .salla-cart-shipping-box {
  background: #14142a !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
body.theme-dark .salla-shipping-option.is-selected {
  background: rgba(235, 70, 96, 0.14) !important;
  border-color: #eb4660 !important;
}
body.theme-dark .salla-cart-country-select,
body.theme-dark .salla-cart-city-input {
  background: #0f091e !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
