/* =====================================================================
   Senfox storefront theme. Loaded on every page from includes/header.php.
   1) colour overrides: template red -> Senfox maroon
   2) global theme   3) product page, listing cards, filters
   ===================================================================== */

/* ---------- 1) Colour overrides (generated from styles.css) ---------- */
.sub-menu>li:hover>a,.toolbar-dropdown>li:hover>a{color:#8e1b1f}
.sub-menu>li.active>a,.toolbar-dropdown>li.active>a{color:#8e1b1f}
.offcanvas-menu ul li a:hover{color:#8e1b1f}
.offcanvas-menu ul li.active>a{color:#8e1b1f}
.offcanvas-menu ul li.has-children.active>span>a{color:#8e1b1f}
a{color:#8e1b1f}
a:hover{color:#8e1b1f}
.navi-link:hover,.navi-link-light:hover{color:#8e1b1f}
.text-primary{color:#8e1b1f !important}
.bg-primary{background-color:#8e1b1f !important}
.border-primary{border-color:#8e1b1f !important}
.form-control:focus{border-color:#8e1b1f}
.custom-control .custom-control-input:checked ~ .custom-control-indicator{background-color:#8e1b1f}
.input-group .form-control:focus ~ .input-group-addon{color:#8e1b1f}
.input-group .input-group-btn button:hover{color:#8e1b1f}
.input-light.form-control:focus,.input-light .form-control:focus{border-color:#8e1b1f}
.btn-primary{background-color:#8e1b1f}
.btn-outline-primary{border-color:#8e1b1f;color:#8e1b1f}
.btn-outline-primary:hover{background-color:#8e1b1f}
.btn-link-primary{color:#8e1b1f}
.sb-email:hover,.sb-email:focus{color:#8e1b1f !important}
.nav-tabs .nav-link:hover{color:#8e1b1f}
.nav-pills .nav-item.show .nav-link,.nav-pills .nav-link.active{background-color:#8e1b1f !important}
.pagination .pages>li.active>a{border-color:#8e1b1f;background-color:#8e1b1f}
.comment .reply-link:hover{color:#8e1b1f}
.dropdown-menu .dropdown-item:hover{color:#8e1b1f}
.dropdown-menu .dropdown-item.active{color:#8e1b1f}
.badge.badge-primary{background-color:#8e1b1f}
.list-group-item.active{border-color:#8e1b1f;background-color:#8e1b1f}
.alert-primary{background-color:rgba(142,27,31,0.12);color:#8e1b1f}
.alert-primary::before{border-color:rgba(142,27,31,0.25)}
.alert-primary>*:not(.text-white),.alert-primary>*:not(.text-light),.alert-primary h1:not(.text-white),.alert-primary h1:not(.text-light),.alert-primary h2:not(.text-white),.alert-primary h2:not(.text-light),.alert-primary h3:not(.text-white),.alert-primary h3:not(.text-light),.alert-primary h4:not(.text-white),.alert-primary h4:not(.text-light),.alert-primary h5:not(.text-white),.alert-primary h5:not(.text-light),.alert-primary h6:not(.text-white),.alert-primary h6:not(.text-light),.alert-primary p:not(.text-white),.alert-primary p:not(.text-light),.alert-primary ul:not(.text-white),.alert-primary ul:not(.text-light),.alert-primary ol:not(.text-white),.alert-primary ol:not(.text-light),.alert-primary a:not(.text-white),.alert-primary a:not(.text-light){color:#8e1b1f}
.alert-primary .alert-close{color:#8e1b1f}
.progress-bar{background-color:#8e1b1f}
.widget-categories ul>li>a:hover,.widget-links ul>li>a:hover{color:#8e1b1f}
.widget-categories ul>li.active>a,.widget-links ul>li.active>a{color:#8e1b1f}
.widget-featured-posts>.entry .entry-title>a:hover,.widget-featured-products>.entry .entry-title>a:hover{color:#8e1b1f}
.tag.active{border-color:#8e1b1f;background-color:#8e1b1f}
.widget-light-skin.widget-categories ul>li>a:hover,.widget-light-skin.widget-links ul>li>a:hover{color:#8e1b1f}
.widget-light-skin.widget-categories ul>li.active>a,.widget-light-skin.widget-links ul>li.active>a{color:#8e1b1f}
.widget-light-skin.widget-featured-posts>.entry .entry-title>a:hover,.widget-light-skin.widget-featured-products>.entry .entry-title>a:hover{color:#8e1b1f}
.widget-light-skin .tag.active{border-color:#8e1b1f;background-color:#8e1b1f}
.steps .step.completed .step-icon-wrap::before,.steps .step.completed .step-icon-wrap::after{background-color:#8e1b1f}
.steps .step.completed .step-icon{border-color:#8e1b1f;background-color:#8e1b1f}
.topbar .topbar-column a:not(.social-button):hover{color:#8e1b1f}
.topbar.topbar-ghost .topbar-column a:not(.social-button):not(.dropdown-item):hover{color:#8e1b1f}
.lang-currency-switcher-wrap .lang-currency-switcher:hover>.language,.lang-currency-switcher-wrap .lang-currency-switcher:hover>.currency,.lang-currency-switcher-wrap .lang-currency-switcher:hover::after{color:#8e1b1f}
.lang-currency-switcher-wrap.show>.lang-currency-switcher .currency,.lang-currency-switcher-wrap.show>.lang-currency-switcher::after{color:#8e1b1f}
.offcanvas-toggle:hover{color:#8e1b1f}
.site-menu ul>li:hover>a{color:#8e1b1f}
.site-menu ul>li.active>a{color:#8e1b1f}
.site-menu>ul>li.active>a{border-top-color:#8e1b1f}
.dropdown-product-item .dropdown-product-title:hover{color:#8e1b1f}
.navbar-ghost:not(.navbar-stuck) .offcanvas-toggle:hover{color:#8e1b1f}
.navbar-ghost:not(.navbar-stuck) .site-menu>ul>li:hover>a{color:#8e1b1f}
.navbar-ghost:not(.navbar-stuck) .site-menu>ul>li.active>a{color:#8e1b1f}
.breadcrumbs>li>a:hover{color:#8e1b1f}
.footer-copyright>a:hover{color:#8e1b1f}
.footer-light .footer-copyright>a:hover{color:#8e1b1f}
.user-info-wrapper .user-cover{background-color:#8e1b1f}
.product-card .product-title>a:hover{color:#8e1b1f}
.shop-view>a.active{border-color:#8e1b1f;background-color:#8e1b1f}
.shopping-cart .product-item .product-title>a:hover,.wishlist-table .product-item .product-title>a:hover,.order-table .product-item .product-title>a:hover{color:#8e1b1f}
.checkout-steps>a:hover{color:#8e1b1f}
.checkout-steps>a.active{background-color:#8e1b1f}
.checkout-steps>a.active>.angle::after{border-left-color:#8e1b1f}
.checkout-steps>a.active+a>.angle{background-color:#8e1b1f}
.product-gallery .product-thumbnails>li.active>a{border-color:#8e1b1f}
.post-meta>li>a:hover{color:#8e1b1f}
.post-title>a:hover{color:#8e1b1f}
.single-post-meta .meta-link>a:hover{color:#8e1b1f}
.single-post-footer .sp-tag:hover{color:#8e1b1f}

/* ============================ GLOBAL THEME ============================
   Restyles the Unishop template site-wide: black buttons, maroon accents,
   softer corners. Loaded after styles.css from includes/header.php.
   ===================================================================== */
:root {
    --sf-ink: #151515;
    --sf-muted: #6b6b6b;
    --sf-line: #e6e6e6;
    --sf-soft: #f6f5f3;
    --sf-accent: #8e1b1f;
    --sf-ok: #1f7a4d;
    --sf-radius: 6px;
}

/* ---------- Rupee sign ----------
   Maven Pro draws the rupee sign without its horizontal stroke. This tiny font
   (Roboto, rupee sign only, Apache 2.0 licence) is used for U+20B9 alone;
   every other character still uses Maven Pro. */
@font-face { font-family: 'Senfox Rupee'; font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+20B9; src: url(data:font/woff2;base64,d09GMgABAAAAAALcAA4AAAAABYQAAAKFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGyAcNgZgP1NUQVReADQRDAp0gQgBNgIkAwgLBgAEIAWEIAcgG50EAI7CtuUTA0LEwYV5Qswpgqexb/N291SiSbokmlW7GWQuNcRDvoYmQhFNJBoRKv//1lh/EFFf0eHNDmbVJFmoZo2ER+tUv8vIHzef25x13sMWaMpZFE3AcCwrDGwZdJ53HkjexvYHlm9bMhxiUT4wOLFXgXpdPKD5grI6MFKg8gdAoN6YOHo1TS4nI0QGvwvCSM7c7aZqVheivRQFLaui6nHVOIheT+SPwCbgpaSCkaWtykLI6ju31Vf7z3nNRoKAMle1hz66QqiV0UkXo3Ru+iiP/MHNBU9REHRFu2UUQ0e1dj4QUgTqA7KQIiyWSW+RJSmCAAIkENT403r6kOIN+l5V/kTyqwgQDCSpVVv5YwkSKMjoB2YAKIBcnMtYnVXjyGCD6dz3ZzTz7cnErPH8N18fYfrhwUSAsX2Lxsz19fDtl+HbfXplVgKM/RVnC/JHyuqzp+eLiFHEs587Lzy+Whxtu3hQjl5TzUwf98K3/4RvA4Gcn/87DI52Wqb9q3WtBfjwZR0B+L1Qpfs9+/O/1rrmEkCdBIKau79moPbe9+yfVmtdCwCAlOedFl+hEJIDBk4YCgCQBRrdhyyKMXALGEKjW0iavYdszD0UXX6hyki4sNW6IouD/JlEGwQyCxYJIogeBkNDMbkxT0IurN8IQsDhUV5iRIkWzUsdHsNLDawHRmFeqhCYiNGL8pJtAMXDCI2XIDyK6qdJESkSR0DxBvSI0AtT5NcYxpExWJiK0kQiiMfD9ZJ102gEvYLncddgcAaqHCJWxPT746UqVKlSoVTNCe9K5+W8pA0YhEYoqrwQlD3Vj5FA3RsJ+lC8Chih6CZrxOzbLkbjlwl66QIVUZ8LAAAA) format('woff2'); }
@font-face { font-family: 'Senfox Rupee'; font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+20B9; src: url(data:font/woff2;base64,d09GMgABAAAAAALQAA4AAAAABXwAAAJ8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGyAcNgZgP1NUQVRaADQRDAp0gQkBNgIkAwgLBgAEIAWEGgcgG5QEERWciwB+JmRziuu0BaJpQ6XvYuyvlnGoRPSOHA9PY8z37w6VJKrZIiGad1LyEml0mEldX4irw/9ay95kQygRQS1BL3Wq508INLgo1JETecguKA/cKaQJgER4hPbpb3Kbs857BKmPBRhg2rYfFXgGS+NAAsmnt0EDhHSb+HRtlFbTwkEFanXpEZs9Q1MIVeBdA0Cg1oIlRVOVcLQkvMg6E3YPpWsz+bOyKN2lLElfEUTFU1Al0ctU/g1HAl5AHMZ2dkd70dZ3A5sOxn+cVu0HAAFlo0IF9MlCqJbRLmNKurGRS8rm5sxFUp64ILNXqpBUatUjkCLXMQhBTMdXQJakyAMBEtWdiMWijyr+oO9F08b4XvdBAiGpVv2uIQYkUJDRj3VAAeQSX1amYmeX3DMR29fX0tbVVXjk7IxfXmLz4mKKQRCLnm2r6i1TT5yZEv+E72PY+6Bf7GgUvcO1ylK7Lbj646fvGb1obfruPTqOepUWFf5ELVf/lakABHK+fvTu55kxpumfxGrA68e4EvzdHdP9pX+ftVQ9BdRIIKi6/h8J1bd/SWNaqgEASHkHtlJsQiDZE+xIiAAAWaDeHXSihIFnYI/Q4RlJo2/I5vzJFx0qjES4XKkjygJSttoYMOSqjykqjzNRrGLOS1VMabGTzy0J5nRRWkVZeXnalMueNsEtnHjamOBuu5XS2hVycSGn5bmI5uSG0lInQ5tiKbFy383bnDu9dgf3k1wqXtyv2Oo1yzKz5v/n68N2G1N8E3an4jWLypKy8urG3tHR3sYKymJqxhMyQzGNal/KVtRY/1lmI9cIFz6zd9beXTLD7SfNYcyqAwDNbVsA) format('woff2'); }
@font-face { font-family: 'Senfox Rupee'; font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+20B9; src: url(data:font/woff2;base64,d09GMgABAAAAAALQAA4AAAAABWgAAAJ6AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGyAcNgZgP1NUQVRaADQRDAp0gQkBNgIkAwgLBgAEIAWECAcgG4IECI7RY0cGHEPiwZUDI1cE0Vg6e3dBVAQq7BJNMkJSAT2wUWhMwBWIJZGv7f/fWvtzKg38TFHRnbPh7Q7m0TMhWiOqZMtksWw+/U2urVnnPWy5Z0unaNt+VsAZLM07jxdmXdhFKqk3F4W6SurlMpe3qkC9HhHQQlFFA0gUqPwDEKg3K4HgrC9k1yTrA9M+dtDL8uFeGqhTUuZLWU4Hqqi6VBUPop8r+bW9CegFxKKwvFJdDLqBy+XWIvjP3pqtBAgo81VbGMAXQq2MTnyM4x0ZoAwygyP7GIps0AHa60NxeKq1i4CQwmoACEFMpWvIkhQ2gAAJgB2jJDBAlWQwcPn/P5o+lQCCkyS1aiv/1CCBgoxBYA6AAsgluJxo0DRPeprkKx+f0OKHR5miuVbfP8DZ+/sGDFvFnP38uNPN+Ns94ZLPabZf6nB2/OH8omgvzmgRpP19vP/hHb/bnKs+3JtaC9qWqaQPW/G3muJvAYGcn+qCvr3oVmf8qw2tBfc+tVGAH2s1/J/e3+/aAfGdUCeBoObwnwLUbmbxv6dd8rMN86rdJZEdQrJKZBexAABZoNE5yKJIgR0wQ2i0g6TWDWTjrlB0+0aVsahVqnXHpAqZyaIAVoqoomxcmx8N82tRHEUMQT5ixCQWNoxB6cSJESuWTgPGIJ06RB+CInRqsAiPQf0onVyjKAbB4ujYMChqBCdNtGjDMIoxqk+UfoRftGEEMcxn0BAigOJEY6Hv3fr59OJwsH52S1N5CJ8B8aKsP0+Urli1asXSk+fWkKKgi5sMPmFjO03dZcuZLnGSaHkzbADFqEKw/Hr5NBv0Ni5Fpc+wfnyg4jGgAQAA) format('woff2'); }
body, .form-control, .btn, .tooltip, .popover, input, select, textarea, button {
    font-family: "Senfox Rupee", "Maven Pro", Helvetica, Arial, sans-serif;
}
body { color: #2b2b2b; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--sf-ink); }
.text-muted { color: var(--sf-muted) !important; }
::selection { background: var(--sf-ink); color: #fff; }

/* Nested .offcanvas-wrapper (header + page view both open one) pushed the footer
   a whole screen down on short pages. Only the outer wrapper needs the min-height. */
.offcanvas-wrapper .offcanvas-wrapper { min-height: 0; }

/* ---------- Topbar ---------- */
.topbar { background-color: var(--sf-ink); border-bottom: 0; height: 36px; }
.topbar .topbar-column a,
.topbar .topbar-column a:not(.social-button) { color: rgba(255, 255, 255, .8); font-size: 12.5px; }
.topbar .topbar-column a:hover { color: #fff; }
.topbar-promo { color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
@media (max-width: 991px) {
    .topbar { display: block; width: 100%; height: auto; padding: 7px 12px; text-align: center; }
    .topbar .topbar-column { display: block; width: 100%; text-align: center; white-space: normal; }
    .topbar .topbar-column:first-child { display: none; }
    .topbar-promo { font-size: 11px; letter-spacing: .06em; }
}

/* ---------- Navbar ---------- */
.navbar { border-bottom: 1px solid var(--sf-line); box-shadow: none; }
.navbar-stuck { box-shadow: 0 3px 18px rgba(0, 0, 0, .06); }
.site-logo img { max-height: 54px; width: auto; }
.site-menu ul > li > a { color: var(--sf-ink); font-weight: 500; letter-spacing: .12em; }
.site-menu ul > li:hover > a, .site-menu ul > li.active > a { color: var(--sf-accent); }
.site-menu ul > li > a > span::after { background-color: var(--sf-accent); }
.sub-menu, .toolbar-dropdown { border-color: var(--sf-line); border-radius: 8px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .18); }
.sub-menu > li > a, .toolbar-dropdown > li > a { color: #3a3a3a; }
.toolbar .search, .toolbar .account, .toolbar .cart { border-color: var(--sf-line); color: var(--sf-ink); }
.toolbar .cart > .count {
    min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px;
    background: var(--sf-ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 20px; text-align: center;
}
.toolbar .cart > .subtotal { color: var(--sf-ink); font-weight: 500; border-left-color: var(--sf-line); }
.offcanvas-toggle { color: var(--sf-ink); border-right-color: var(--sf-line); }
.dropdown-product-item .dropdown-product-thumb > img { border-radius: 6px; object-fit: cover; }
.dropdown-product-title { color: var(--sf-ink) !important; }

/* Mobile menu panel */
.offcanvas-container { background-color: #1c1c1c; }
.account-link { background-color: #111; }
.offcanvas-menu ul li a { color: rgba(255, 255, 255, .85); }
.offcanvas-menu ul li a:hover, .offcanvas-menu ul li.active > a { color: #fff; }

/* ---------- Page title band ---------- */
.page-title { padding: 26px 0; border-bottom: 0; background-color: var(--sf-soft); margin-bottom: 36px; }
.page-title h1 { color: var(--sf-ink); font-size: 24px; font-weight: 600; }
.page-title .breadcrumbs > li > a { color: var(--sf-muted); }
.page-title .breadcrumbs > li > a:hover { color: var(--sf-ink); }
.page-title .breadcrumbs > li:last-child { color: var(--sf-ink); }
@media (max-width: 767px) {
    .page-title { padding: 16px 0; margin-bottom: 22px; }
    .page-title h1 { font-size: 20px; }
}

/* ---------- Buttons ---------- */
.btn { border-radius: var(--sf-radius); font-weight: 600; letter-spacing: .06em; }
.btn-sm { border-radius: 5px; }
.btn-primary, .btn-success, .btn-info, .btn-dark {
    background-color: var(--sf-ink); border-color: var(--sf-ink); color: #fff;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-dark:hover,
.btn-primary:focus, .btn-success:focus, .btn-info:focus {
    background-color: #000; border-color: #000; color: #fff; box-shadow: none;
}
.btn-primary:disabled, .btn-primary.disabled { background-color: #bdbdbd; border-color: #bdbdbd; }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-info {
    border-color: #cfcfcf; background: #fff; color: var(--sf-ink);
}
.btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-outline-info:hover {
    border-color: var(--sf-ink); background-color: var(--sf-ink); color: #fff;
}
.btn-outline-danger { border-color: #e0b4b5; color: var(--sf-accent); }
.btn-outline-danger:hover { border-color: var(--sf-accent); background-color: var(--sf-accent); color: #fff; }
.btn-link-primary { color: var(--sf-ink); }
.btn-link-primary:hover { color: var(--sf-accent); }
.scroll-to-top-btn { background-color: var(--sf-ink); border-radius: 50%; }

/* ---------- Forms ---------- */
.form-control, .custom-select, select.form-control {
    height: 46px; border-color: #cfcfcf; border-radius: var(--sf-radius); color: var(--sf-ink);
}
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--sf-ink); box-shadow: 0 0 0 3px rgba(21, 21, 21, .08); }
.form-control:disabled, .form-control[readonly] { background-color: var(--sf-soft); color: #555; }
.form-control-sm { height: 36px; }
label { color: #333; font-weight: 500; }
.input-group .input-group-addon { color: var(--sf-muted); }
.has-error .form-control { border-color: #c0392b; }
.help-block-error, .has-error .help-block { display: block; margin-top: 6px; color: #c0392b; font-size: 13px; }
.custom-control .custom-control-input:checked ~ .custom-control-indicator { background-color: var(--sf-ink); }

/* ---------- Alerts ---------- */
.alert { border-radius: 8px; }
.sf-flash { padding-top: 16px; }
.sf-flash .alert { margin-bottom: 0; }

/* ---------- Cards, tables, lists ---------- */
.card { border-color: var(--sf-line); border-radius: 10px; }
.card-header { border-color: var(--sf-line); background-color: var(--sf-soft); font-weight: 600; }
.card-header:first-child { border-radius: 10px 10px 0 0; }
.table thead th { color: var(--sf-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-bottom-color: var(--sf-line); }
.table td { border-top-color: var(--sf-line); vertical-align: middle; }
.badge-primary { background-color: var(--sf-accent); }
.pagination .pages > li.active > a { border-color: var(--sf-ink); background-color: var(--sf-ink); }
.list-group-item { border-color: var(--sf-line); color: #333; }
.list-group-item i { color: var(--sf-muted); }
a.list-group-item:hover { background-color: var(--sf-soft); color: var(--sf-ink); }
.list-group-item.active, a.list-group-item.active {
    border-color: var(--sf-line); background-color: var(--sf-soft); color: var(--sf-ink);
    box-shadow: inset 3px 0 0 var(--sf-accent); font-weight: 600;
}
.list-group-item.active i { color: var(--sf-accent); }
.list-group-item:first-child { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.list-group-item:last-child { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }

/* Account sidebar profile card */
.user-info-wrapper { border-color: var(--sf-line); border-radius: 10px; overflow: hidden; }
.user-info-wrapper .user-cover { background: linear-gradient(135deg, #151515 0%, #3a1012 100%) !important; }
.user-info-wrapper .info-label { border-radius: 14px; color: var(--sf-ink); }
.user-info-wrapper .info-label > i { color: var(--sf-accent); }

/* Section headings inside content (h4 + hr pattern used across account pages) */
.sf-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--sf-line); }
.sf-section-title h4, .sf-section-title h3 { margin: 0; font-weight: 600; }

/* Empty states */
.sf-empty { padding: 56px 20px; text-align: center; border: 1px dashed #d8d8d8; border-radius: 12px; background: #fcfcfb; }
.sf-empty i { display: block; margin-bottom: 14px; color: #b5b5b5; font-size: 44px; }
.sf-empty h4 { margin-bottom: 6px; }
.sf-empty p { margin-bottom: 20px; color: var(--sf-muted); }

/* Status pills */
.sf-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; background: #eee; color: #444; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sf-pill.ok { background: #e6f3ec; color: var(--sf-ok); }
.sf-pill.warn { background: #fdf3e1; color: #9a6400; }
.sf-pill.bad { background: #f8e8e8; color: var(--sf-accent); }

/* ============================ CART & CHECKOUT ============================ */
.sf-steps { display: flex; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: sfstep; }
.sf-steps li {
    flex: 1; position: relative; padding-top: 34px; color: #9a9a9a; font-size: 13px; font-weight: 500; text-align: center;
    counter-increment: sfstep;
}
.sf-steps li::before {
    content: counter(sfstep); position: absolute; top: 0; left: 50%; z-index: 1; transform: translateX(-50%);
    width: 26px; height: 26px; border: 1px solid #cfcfcf; border-radius: 50%; background: #fff; color: #9a9a9a;
    font-size: 12px; line-height: 24px;
}
.sf-steps li::after { content: ''; position: absolute; top: 13px; left: 0; right: 0; height: 1px; background: var(--sf-line); }
.sf-steps li:first-child::after { left: 50%; }
.sf-steps li:last-child::after { right: 50%; }
.sf-steps li.done, .sf-steps li.active { color: var(--sf-ink); }
.sf-steps li.done::before { content: '\2713'; border-color: var(--sf-ink); background: var(--sf-ink); color: #fff; }
.sf-steps li.active::before { border-color: var(--sf-ink); background: #fff; color: var(--sf-ink); font-weight: 700; box-shadow: 0 0 0 3px rgba(21,21,21,.1); }
.sf-steps li.done::after { background: var(--sf-ink); }

.sf-cart-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--sf-line); }
.sf-cart-item:first-child { padding-top: 0; }
.sf-cart-thumb { flex: 0 0 96px; height: 112px; border-radius: 8px; overflow: hidden; background: var(--sf-soft); }
.sf-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-cart-info { flex: 1; min-width: 0; }
.sf-cart-title { margin: 0 0 4px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.sf-cart-title a { color: var(--sf-ink); text-decoration: none; }
.sf-cart-meta { color: var(--sf-muted); font-size: 13px; }
.sf-cart-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.sf-cart-price { text-align: right; }
.sf-cart-price .sf-now { display: block; font-size: 16px; }
.sf-cart-price small { color: var(--sf-muted); }
.sf-cart-remove { color: var(--sf-muted); font-size: 13px; text-decoration: underline; }
.sf-cart-remove:hover { color: var(--sf-accent); }
.sf-stepper { display: inline-flex; border: 1px solid #cfcfcf; border-radius: 6px; overflow: hidden; height: 38px; }
.sf-stepper button { width: 34px; border: 0; background: #fff; font-size: 16px; cursor: pointer; }
.sf-stepper button:hover { background: var(--sf-soft); }
.sf-stepper input { width: 40px; border: 0; text-align: center; font-size: 15px; }

.sf-summary { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; }
.sf-summary h3 { margin-bottom: 16px; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sf-summary-row { display: flex; justify-content: space-between; padding: 6px 0; color: #444; font-size: 15px; }
.sf-summary-total { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--sf-line); color: var(--sf-ink); font-size: 18px; font-weight: 700; }
.sf-summary .btn { width: 100%; height: 50px; margin: 18px 0 0; line-height: 48px; padding-top: 0; padding-bottom: 0; }
.sf-summary .sf-secure { margin: 12px 0 0; color: var(--sf-muted); font-size: 12.5px; text-align: center; }
.sf-free { color: var(--sf-ok); font-weight: 600; }

.sf-address { padding: 18px; border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-soft); }
.sf-address h5 { margin-bottom: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sf-address p { margin: 0; color: #333; line-height: 1.6; }
.sf-form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--sf-line); }
.sf-form-actions .btn { margin: 0; }

.sf-result { max-width: 640px; margin: 10px auto 0; padding: 40px 30px; border: 1px solid var(--sf-line); border-radius: 14px; text-align: center; }
.sf-result-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; font-size: 32px; }
.sf-result-icon.ok { background: #e6f3ec; color: var(--sf-ok); }
.sf-result-icon.wait { background: #fdf3e1; color: #9a6400; }
.sf-result-icon.bad { background: #f8e8e8; color: var(--sf-accent); }
.sf-result h2 { margin-bottom: 10px; font-size: 26px; font-weight: 600; }
.sf-result p { color: #444; }
.sf-order-no { display: inline-block; margin: 6px 0 14px; padding: 8px 16px; border-radius: 8px; background: var(--sf-soft); font-size: 15px; }
.sf-order-no b { letter-spacing: .04em; }
.sf-result .btn { margin: 6px 4px 0; }

@media (max-width: 991px) {
    .sf-summary { position: static; margin-top: 30px; }
}
@media (max-width: 575px) {
    .sf-cart-thumb { flex-basis: 78px; height: 92px; }
    .sf-steps li { font-size: 11.5px; }
    .sf-form-actions { flex-direction: column-reverse; align-items: stretch; }
    .sf-form-actions .btn { width: 100%; }
}

/* ============================ ACCOUNT & AUTH ============================ */
.sf-auth-card { padding: 30px; border: 1px solid var(--sf-line); border-radius: 12px; background: #fff; height: 100%; }
.sf-auth-card h3 { margin-bottom: 6px; font-size: 22px; font-weight: 600; }
.sf-auth-card > p { color: var(--sf-muted); margin-bottom: 22px; }
.sf-auth-card .btn-block { height: 48px; margin-top: 6px; }
.sf-auth-card.soft { background: var(--sf-soft); border-color: transparent; }
.sf-auth-links { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 16px; font-size: 14px; }
.sf-auth-links a { color: var(--sf-ink); text-decoration: underline; }

.sf-balance { padding: 28px; border-radius: 12px; background: linear-gradient(135deg, #151515 0%, #3a1012 100%); color: #fff; }
.sf-balance small { color: rgba(255, 255, 255, .7); letter-spacing: .08em; text-transform: uppercase; }
.sf-balance .amount { display: block; margin-top: 6px; color: #fff; font-size: 36px; font-weight: 700; }
.sf-balance .membership { margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 14px; }

.sf-wish-grid .sf-card { height: calc(100% - 30px); }
.sf-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.sf-card-actions .btn { flex: 1; margin: 0; }
.sf-stock { font-size: 12.5px; font-weight: 600; }
.sf-stock.in { color: var(--sf-ok); }
.sf-stock.out { color: var(--sf-accent); }

/* Order history as cards on small screens */
@media (max-width: 767px) {
    .sf-orders thead { display: none; }
    .sf-orders tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--sf-line); }
    .sf-orders td { display: flex; justify-content: space-between; padding: 4px 0; border: 0; }
    .sf-orders td::before { content: attr(data-label); color: var(--sf-muted); font-size: 13px; }
}

/* ============================ HOME HERO ============================ */
.sf-hero { position: relative; overflow: hidden; background: var(--sf-soft); }
.sf-hero .item { min-height: 520px; }
.sf-hero-text .eyebrow { display: inline-block; margin-bottom: 14px; color: var(--sf-accent); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.sf-hero-text h2 { margin-bottom: 14px; font-size: 42px; font-weight: 700; line-height: 1.1; }
.sf-hero-text p { margin-bottom: 26px; color: #444; font-size: 18px; }
.sf-hero-img { display: block; max-height: 460px; margin: 0 auto; }
@media (max-width: 767px) {
    .sf-hero .item { min-height: 0; }
    .sf-hero-text h2 { font-size: 30px; }
}

/* ============================ FOOTER ============================ */
.sf-services { padding: 46px 0 16px; border-top: 1px solid var(--sf-line); background: #fff; }
.sf-service { margin-bottom: 30px; text-align: center; }
.sf-service i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 12px; border-radius: 50%; background: var(--sf-soft); color: var(--sf-ink); font-size: 22px; }
.sf-service h6 { margin-bottom: 4px; font-weight: 600; }
.sf-service p { margin: 0; color: var(--sf-muted); font-size: 13.5px; }
.sf-footer { padding-top: 56px; background-color: #111; }
.sf-footer .widget-title { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sf-footer .widget-title::after { display: none; }
.sf-footer-logo { width: 140px; margin-bottom: 16px; filter: invert(1); }
.sf-footer-text { color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.7; }
.sf-footer .widget-links ul > li > a { color: rgba(255, 255, 255, .7); }
.sf-footer .widget-links ul > li > a:hover, .sf-footer .navi-link-light:hover { color: #fff; }
.sf-footer .navi-link-light { color: rgba(255, 255, 255, .85); }
.sf-footer .hr-light { margin: 10px 0 0; border-color: rgba(255, 255, 255, .12); }
.sf-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 0 24px; }
.sf-footer-bottom .footer-copyright { margin: 0; padding: 0; color: rgba(255, 255, 255, .5); }
.sf-footer-bottom .sf-payments { margin: 0; color: rgba(255, 255, 255, .5); font-size: 13px; }

/* ============================ INFO PAGES ============================ */
.sf-prose { max-width: 820px; }
.sf-prose h2 { margin: 28px 0 12px; font-size: 22px; font-weight: 600; }
.sf-prose p, .sf-prose li { color: #333; font-size: 15.5px; line-height: 1.75; }
.sf-prose ol, .sf-prose ul { padding-left: 20px; }
.sf-prose li { margin-bottom: 10px; }
.sf-contact-card { padding: 30px; border: 1px solid var(--sf-line); border-radius: 12px; }
.sf-contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.sf-contact-item i { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--sf-soft); color: var(--sf-ink); font-size: 18px; line-height: 44px; text-align: center; }
.sf-contact-item b { display: block; color: var(--sf-ink); }
.sf-contact-item span, .sf-contact-item a { color: #444; }


/* ---------- Small fixes ---------- */
.sf-card-thumb, .sf-card-thumb:hover { text-decoration: none; }
.sf-auth-card .login-box { padding: 0; border: 0; box-shadow: none; background: none; }
.sf-hero .owl-dots, .sf-hero.hero-slider > .owl-carousel.dots-inside .owl-dots { background: transparent; box-shadow: none; }
.sf-hero .owl-dots .owl-dot { background-color: rgba(21, 21, 21, .25); }
.sf-hero .owl-dots .owl-dot.active { background-color: var(--sf-ink); }
.sf-hero .owl-prev, .sf-hero .owl-next { background-color: #fff; color: var(--sf-ink); }

/* Icons inside links: no underline. The theme underlines links, and the underline was drawn
   under icon glyphs (e.g. the wishlist heart). Inline-block stops the parent's underline. */
a [class^="icon-"], a [class*=" icon-"], a [class^="socicon-"], a [class*=" socicon-"] { display: inline-block; text-decoration: none; }
.sf-wish, .sf-wish:hover, .sf-wish:focus,
.sf-card-wish, .sf-card-wish:hover, .sf-card-wish:focus,
.btn-wishlist, .btn-wishlist:hover { text-decoration: none; }
/* ---------- 3) Product page, listing cards, filters ---------- */
/* ---------- Shared bits ---------- */
.sf-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--sf-accent); color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 3px;
}
.sf-now { font-weight: 700; color: var(--sf-ink); }
.sf-off { font-weight: 600; color: var(--sf-ok); }

/* =========================== PRODUCT DETAILS =========================== */
.sf-pdp { padding-top: 10px; }

/* Gallery */
.sf-gallery { display: flex; gap: 14px; position: sticky; top: 90px; }
.sf-thumbs { display: flex; flex-direction: column; gap: 10px; flex: 0 0 76px; }
.sf-thumb {
    padding: 0; border: 1.5px solid transparent; border-radius: 6px; overflow: hidden;
    background: var(--sf-soft); aspect-ratio: 1 / 1.1; cursor: pointer;
}
.sf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-thumb.active { border-color: var(--sf-ink); }
.sf-main {
    position: relative; flex: 1; overflow: hidden; border-radius: 10px;
    background: var(--sf-soft); aspect-ratio: 1 / 1.1; cursor: zoom-in;
}
.sf-main img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease, opacity .2s; }
.sf-main.zoom { cursor: zoom-out; }
.sf-main.zoom img { transform: scale(1.9); }
.sf-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sf-nav.prev { left: 12px; }
.sf-nav.next { right: 12px; }

/* Info */
.sf-brand { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 4px; }
.sf-title { font-size: 28px; font-weight: 600; line-height: 1.25; margin: 0 0 14px; }
.sf-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
    padding-bottom: 16px; border-bottom: 1px solid var(--sf-line);
}
.sf-price .sf-now { font-size: 28px; }
.sf-mrp { font-size: 16px; color: var(--sf-muted); }
.sf-price .sf-off { font-size: 15px; }
.sf-tax { width: 100%; font-size: 12px; color: var(--sf-muted); }
.sf-pdp .product-stock-message { margin-top: 14px; font-size: 14px; font-weight: 500; }

.sf-label {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    margin: 20px 0 10px;
}
.sf-link { background: none; border: 0; padding: 0; color: var(--sf-ink); font-size: 13px; text-decoration: underline; text-transform: none; letter-spacing: 0; cursor: pointer; }

.sf-sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-size { margin: 0; cursor: pointer; }
.sf-size input { position: absolute; opacity: 0; pointer-events: none; }
.sf-size span {
    display: flex; align-items: center; justify-content: center;
    min-width: 54px; height: 46px; padding: 0 12px;
    border: 1px solid #cfcfcf; border-radius: 6px; background: #fff;
    font-size: 15px; font-weight: 500; transition: all .15s;
}
.sf-size:hover span { border-color: var(--sf-ink); }
.sf-size input:checked + span { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }
.sf-size input:focus-visible + span { outline: 2px solid var(--sf-accent); outline-offset: 2px; }
.sf-size.disabled { cursor: not-allowed; }
.sf-size.disabled span {
    color: #b5b5b5; border-color: #e3e3e3;
    background: linear-gradient(to top left, #fff calc(50% - 1px), #d9d9d9 50%, #fff calc(50% + 1px));
}

.sf-buy { display: flex; gap: 12px; margin-top: 24px; align-items: stretch; }
.sf-qty { display: flex; border: 1px solid #cfcfcf; border-radius: 6px; overflow: hidden; height: 52px; }
.sf-qty-btn { width: 40px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.sf-qty input {
    width: 46px; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield;
}
.sf-qty input::-webkit-outer-spin-button,
.sf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sf-btn {
    flex: 1; height: 52px; margin: 0; border-radius: 6px; cursor: pointer;
    font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.sf-btn-dark { background: var(--sf-ink); color: #fff; border: 1px solid var(--sf-ink); }
.sf-btn-dark:hover { background: #000; }
.sf-btn:disabled { background: #bdbdbd; border-color: #bdbdbd; cursor: not-allowed; }
.sf-wish {
    flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #cfcfcf; border-radius: 6px; color: var(--sf-ink); font-size: 20px;
}
.sf-wish:hover { color: var(--sf-accent); border-color: var(--sf-accent); text-decoration: none; }

.sf-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.sf-perk { background: var(--sf-soft); border-radius: 8px; padding: 12px 8px; text-align: center; font-size: 12.5px; color: #333; }
.sf-perk i { display: block; font-size: 20px; margin-bottom: 4px; }

.sf-acc { margin-top: 24px; border-top: 1px solid var(--sf-line); }
.sf-acc details { border-bottom: 1px solid var(--sf-line); }
.sf-acc summary {
    list-style: none; padding: 15px 0; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between;
}
.sf-acc summary::-webkit-details-marker { display: none; }
.sf-acc summary::after { content: '+'; font-size: 20px; font-weight: 400; line-height: 1; }
.sf-acc details[open] summary::after { content: '\2013'; }
.sf-acc-body { padding-bottom: 16px; color: #3d3d3d; font-size: 15px; }
.sf-acc-body ul { padding-left: 18px; margin: 0; }
.sf-sku { margin-top: 14px; font-size: 13px; color: var(--sf-muted); }

.sf-sticky { display: none; }

@media (max-width: 767px) {
    .sf-gallery { flex-direction: column-reverse; position: static; margin-bottom: 18px; }
    .sf-thumbs { flex-direction: row; flex-basis: auto; }
    .sf-thumb { width: 64px; }
    .sf-title { font-size: 22px; }
    .sf-perks { grid-template-columns: 1fr 1fr 1fr; }
    .sf-sticky {
        display: flex; align-items: center; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
        background: #fff; border-top: 1px solid var(--sf-line); padding: 10px 14px;
    }
    .sf-sticky-price { flex: 1; font-size: 18px; font-weight: 700; }
    .sf-sticky-price del { font-size: 13px; font-weight: 400; color: var(--sf-muted); margin-left: 4px; }
    .sf-sticky .sf-btn { flex: 0 0 55%; height: 46px; }
    .sf-pdp { padding-bottom: 80px; }
}

/* ============================ LISTING CARDS ============================ */
.sf-list-head { display: flex; justify-content: space-between; align-items: center; }
.sf-card { position: relative; }
.sf-card-thumb {
    position: relative; display: block; overflow: hidden; border-radius: 10px;
    background: var(--sf-soft); aspect-ratio: 1 / 1.15;
}
.sf-card-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.sf-card:hover .sf-card-thumb img { transform: scale(1.05); }
.sf-card-wish {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: var(--sf-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.sf-card-wish:hover { color: var(--sf-accent); text-decoration: none; }
.sf-card-body { padding: 12px 2px 0; }
.sf-card-brand { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--sf-muted); margin: 0 0 2px; }
.sf-card-title { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 0 0 6px; }
.sf-card-title a {
    color: var(--sf-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sf-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 14px; }
.sf-card-price .sf-now { font-size: 16px; }
.sf-card-price del { color: var(--sf-muted); }

/* ============================ FILTER SIDEBAR =========================== */
.sf-filter { border-radius: 10px; }
.sf-filter-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.sf-filter-clear { display: block; margin-top: 10px; font-size: 13px; color: var(--sf-muted); text-decoration: underline; }
