/*
Theme Name: Stracart
Theme URI: https://stracart.com
Author: Stracart Team
Author URI: https://stracart.com
Description: Stracart - Africa's Multi-Vendor Marketplace Theme. Built for WooCommerce with full multi-vendor support. Requires the Stracart Plugin for full marketplace functionality including vendor management, chat system, affiliate programme, escrow payments and shipping zones.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://stracart.com/license
Text Domain: stracart
Tags: e-commerce, woocommerce, multi-vendor, marketplace, africa
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* ── Brand Colors ─────────────────────────────────────── */
    --sc-yellow:          #F5A623;
    --sc-yellow-dark:     #D4860A;
    --sc-yellow-bright:   #FFD600;
    --sc-yellow-light:    #FFFBF0;
    --sc-yellow-pale:     #FFF3CD;

    /* ── Neutrals ─────────────────────────────────────────── */
    --sc-white:           #FFFFFF;
    --sc-bg:              #F6F6F6;
    --sc-bg-2:            #EFEFEF;
    --sc-card:            #FFFFFF;
    --sc-dark:            #1A1A1A;
    --sc-mid:             #4A4A4A;
    --sc-muted:           #9A9A9A;
    --sc-border:          #E4E4E4;

    /* ── Semantic ─────────────────────────────────────────── */
    --sc-green:           #22863A;
    --sc-red:             #E53935;
    --sc-blue:            #1D4ED8;
    --sc-purple:          #7C3AED;

    /* ── Vendor Dashboard Sidebar ─────────────────────────── */
    --sc-sidebar:         #1A1A2E;

    /* ── Spacing & Radius ─────────────────────────────────── */
    --sc-radius:          10px;
    --sc-radius-sm:       6px;
    --sc-radius-lg:       16px;

    /* ── Shadows ──────────────────────────────────────────── */
    --sc-shadow:          0 1px 4px rgba(0,0,0,0.06);
    --sc-shadow-hover:    0 4px 16px rgba(0,0,0,0.10);
    --sc-shadow-mid:      0 6px 24px rgba(0,0,0,0.09);

    /* ── Typography ───────────────────────────────────────── */
    --sc-font-head:       'Nunito', sans-serif;
    --sc-font-body:       'DM Sans', sans-serif;

    /* ── Layout ───────────────────────────────────────────── */
    --sc-max-width:       1400px;
    --sc-sidebar-w:       240px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sc-font-body);
    background: var(--sc-bg);
    color: var(--sc-dark);
    overflow-x: hidden;
    line-height: 1.5;
    padding-bottom: 72px; /* bottom nav height */
}

body.stracart-checkout-page,
body.page-template-template-vendor-dashboard {
    padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sc-font-head);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.15s;
}

input, select, textarea {
    font-family: var(--sc-font-body);
    font-size: 14px;
}

ul, ol { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.sc-container {
    max-width: var(--sc-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.sc-section {
    padding: 22px 0 16px;
}

.sc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.sc-heading-xl { font-size: 32px; font-weight: 900; }
.sc-heading-lg { font-size: 24px; font-weight: 900; }
.sc-heading-md { font-size: 19px; font-weight: 900; }
.sc-heading-sm { font-size: 15px; font-weight: 900; }
.sc-text-muted  { color: var(--sc-muted); }
.sc-text-mid    { color: var(--sc-mid); }
.sc-text-yellow { color: var(--sc-yellow-dark); }
.sc-text-green  { color: var(--sc-green); }
.sc-text-red    { color: var(--sc-red); }

/* ============================================================
   BUTTONS
   ============================================================ */
.sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sc-font-head);
    font-weight: 800;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.sc-btn-primary {
    background: var(--sc-yellow);
    color: var(--sc-dark);
    box-shadow: 0 2px 8px rgba(245,166,35,0.25);
}
.sc-btn-primary:hover {
    background: var(--sc-yellow-dark);
    color: var(--sc-white);
    transform: translateY(-1px);
}

.sc-btn-dark {
    background: var(--sc-dark);
    color: var(--sc-white);
}
.sc-btn-dark:hover { background: #000; }

.sc-btn-outline {
    background: var(--sc-white);
    color: var(--sc-dark);
    border: 2px solid var(--sc-border);
}
.sc-btn-outline:hover {
    border-color: var(--sc-yellow);
    color: var(--sc-yellow-dark);
}

.sc-btn-outline-yellow {
    background: var(--sc-white);
    color: var(--sc-yellow-dark);
    border: 2px solid var(--sc-yellow);
}
.sc-btn-outline-yellow:hover {
    background: var(--sc-yellow);
    color: var(--sc-dark);
}

.sc-btn-sm { font-size: 12px; padding: 7px 16px; border-radius: 7px; }
.sc-btn-full { width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.sc-card {
    background: var(--sc-card);
    border: 1.5px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
}

.sc-card-hover { transition: all 0.22s; }
.sc-card-hover:hover {
    box-shadow: var(--sc-shadow-mid);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sc-sec-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sc-yellow);
}

.sc-sec-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--sc-yellow-dark);
    margin-bottom: 2px;
}

.sc-sec-title {
    font-size: 19px;
    font-weight: 900;
    color: var(--sc-dark);
}

.sc-sec-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sc-yellow-dark);
    border: 1.5px solid var(--sc-yellow);
    padding: 5px 13px;
    border-radius: 50px;
    transition: all 0.15s;
    white-space: nowrap;
}
.sc-sec-link:hover {
    background: var(--sc-yellow);
    color: var(--sc-dark);
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.sc-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
}
.sc-badge-yellow  { background: var(--sc-yellow-pale); color: var(--sc-yellow-dark); }
.sc-badge-green   { background: #E8F5E9; color: var(--sc-green); }
.sc-badge-red     { background: #FFEBEE; color: var(--sc-red); }
.sc-badge-blue    { background: #E3F2FD; color: var(--sc-blue); }
.sc-badge-grey    { background: var(--sc-bg); color: var(--sc-muted); }
.sc-badge-dark    { background: var(--sc-dark); color: var(--sc-white); }

/* ============================================================
   STARS
   ============================================================ */
.sc-stars { color: #F5A623; }
.sc-rating-count { color: var(--sc-muted); font-size: 11px; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.sc-header {
    background: var(--sc-yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sc-header-inner {
    max-width: var(--sc-max-width);
    margin: 0 auto;
    padding: 10px 16px 11px;
}

.sc-header-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.sc-logo {
    font-family: var(--sc-font-head);
    font-weight: 900;
    font-style: italic;
    font-size: 28px;
    color: var(--sc-white);
    letter-spacing: -0.5px;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.sc-logo-star { color: var(--sc-yellow-bright); font-style: normal; }

.sc-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 7px;
    border-radius: 7px;
    transition: background 0.15s;
    cursor: pointer;
    border: none;
    background: none;
}
.sc-hamburger:hover { background: rgba(255,255,255,0.2); }
.sc-hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--sc-white);
    border-radius: 2px;
}

.sc-search-bar {
    display: flex;
    background: var(--sc-white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.sc-search-bar form { display: flex; width: 100%; }
.sc-search-icon {
    background: none;
    border: none;
    padding: 0 16px;
    font-size: 17px;
    color: var(--sc-muted);
    cursor: pointer;
    flex-shrink: 0;
}
.sc-search-bar input {
    flex: 1;
    border: none;
    padding: 11px 4px;
    font-size: 14px;
    outline: none;
    color: var(--sc-dark);
    font-family: var(--sc-font-body);
    background: transparent;
}
.sc-search-bar input::placeholder { color: #bbb; }
.sc-search-btn {
    background: var(--sc-yellow-dark);
    border: none;
    padding: 0 20px;
    color: var(--sc-white);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--sc-font-head);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}
.sc-search-btn:hover { background: var(--sc-dark); }

/* ============================================================
   OVERLAY + DRAWER
   ============================================================ */
.sc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.25s;
}
.sc-overlay.open { display: block; opacity: 1; }

.sc-drawer {
    position: fixed;
    height: 100%;
    background: var(--sc-white);
    z-index: 2001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sc-drawer-right { top: 0; right: 0; width: 300px; transform: translateX(100%); }
.sc-drawer-right.open { transform: translateX(0); }
.sc-drawer-left  { top: 0; left: 0;  width: 300px; transform: translateX(-100%); }
.sc-drawer-left.open  { transform: translateX(0); }

.sc-drawer-hd {
    background: var(--sc-yellow);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.sc-drawer-title {
    font-family: var(--sc-font-head);
    font-weight: 900;
    font-style: italic;
    font-size: 20px;
    color: var(--sc-white);
    text-decoration: none;
}
.sc-drawer-close {
    background: rgba(255,255,255,0.2);
    color: var(--sc-white);
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.sc-drawer-body { padding: 8px 0; flex: 1; overflow-y: auto; }
.sc-drawer-section {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sc-muted);
    padding: 12px 18px 4px;
}
.sc-drawer-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sc-dark);
    transition: background 0.15s;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--sc-font-body);
    text-decoration: none;
}
.sc-drawer-item:hover { background: var(--sc-yellow-light); color: var(--sc-yellow-dark); }
.sc-drawer-item .di { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.sc-drawer-hr { height: 1px; background: var(--sc-border); margin: 5px 0; }

/* ============================================================
   BOTTOM NAV (site-wide)
   ============================================================ */
.sc-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--sc-white);
    border-top: 1px solid var(--sc-border);
    z-index: 1000;
    padding: 7px 0 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.sc-bnav-row {
    display: flex;
    justify-content: space-around;
    max-width: 500px;
    margin: 0 auto;
}
.sc-bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--sc-muted);
    padding: 3px 12px;
    border-radius: 8px;
    transition: color 0.15s;
    position: relative;
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--sc-font-body);
    text-decoration: none;
}
.sc-bnav-icon { font-size: 21px; }
.sc-bnav-item.active { color: var(--sc-yellow-dark); }
.sc-bnav-item.active .sc-bnav-icon-wrap {
    background: var(--sc-yellow-pale);
    border-radius: 8px;
    padding: 2px 8px;
}
.sc-bnav-badge {
    position: absolute;
    top: -1px; right: 6px;
    background: var(--sc-yellow);
    color: var(--sc-dark);
    font-size: 8px; font-weight: 900;
    width: 14px; height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.sc-breadcrumb-bar {
    background: var(--sc-white);
    border-bottom: 1px solid var(--sc-border);
}
.sc-breadcrumb {
    padding: 10px 16px;
    font-size: 12px;
    color: var(--sc-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.sc-breadcrumb a { color: var(--sc-muted); text-decoration: none; }
.sc-breadcrumb a:hover { color: var(--sc-yellow-dark); }
.sc-breadcrumb .sep { color: var(--sc-border); }
.sc-breadcrumb .current { color: var(--sc-dark); font-weight: 700; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.sc-hero-wrap { max-width: var(--sc-max-width); margin: 0 auto; padding: 14px 16px 0; }
.sc-hero-slider {
    position: relative;
    border-radius: var(--sc-radius);
    overflow: hidden;
    box-shadow: var(--sc-shadow-mid);
}
.sc-slider-vp { overflow: hidden; }
.sc-slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.sc-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 5;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.sc-slide-inner {
    position: relative; z-index: 2;
    padding: 0 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; height: 100%;
}
.sc-slide-text h2 { font-size: 36px; font-weight: 900; line-height: 1.1; margin-bottom: 10px; }
.sc-slide-text p  { font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.sc-slide-visual  { font-size: 100px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18)); flex-shrink: 0; }
.sc-slide-cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sc-font-head); font-weight: 800;
    font-size: 14px; padding: 11px 26px;
    border-radius: 7px; transition: all 0.2s;
    border: none; cursor: pointer; text-decoration: none;
}

.sc-slider-arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%; font-size: 17px;
    color: var(--sc-dark); z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sc-shadow); transition: all 0.15s;
    border: none; cursor: pointer;
}
.sc-slider-arr:hover { background: var(--sc-yellow); }
.sc-slider-prev { left: 10px; }
.sc-slider-next { right: 10px; }

.sc-slider-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 10;
}
.sc-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none; cursor: pointer; transition: all 0.2s;
}
.sc-dot.active { background: var(--sc-white); width: 20px; border-radius: 4px; }

/* ============================================================
   WELCOME CARD
   ============================================================ */
.sc-welcome-wrap { max-width: var(--sc-max-width); margin: 0 auto; padding: 12px 16px 0; }
.sc-welcome-card {
    background: var(--sc-white);
    border-radius: var(--sc-radius);
    border: 1.5px solid var(--sc-border);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sc-welcome-title {
    font-family: var(--sc-font-head);
    font-size: 22px; font-weight: 900;
    color: var(--sc-dark); margin-bottom: 5px;
}
.sc-welcome-sub { font-size: 13.5px; color: var(--sc-mid); line-height: 1.5; }

/*
 * CRITICAL RULE — WELCOME CARD BUTTONS
 * Always horizontal side by side. NEVER stacked.
 * flex-wrap: nowrap enforced at all screen sizes.
 */
.sc-welcome-btns {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap; /* NEVER CHANGE THIS TO WRAP */
}

/* ============================================================
   CATEGORIES GRID (Olex.ng style)
   RULE: Icon in colored box. Text label BELOW the box, never inside.
   ============================================================ */
.sc-cats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.sc-cat-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: inherit;
}
.sc-cat-card:hover .sc-cat-img {
    transform: translateY(-4px);
    box-shadow: var(--sc-shadow-hover);
}
.sc-cat-card:hover .sc-cat-label h4 { color: var(--sc-yellow-dark); }

/* Icon box — colored background, rounded square */
.sc-cat-img {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    border-radius: 14px;
    border: 1.5px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
    margin-bottom: 9px;
    overflow: hidden;
}
.sc-cat-img img { width: 100%; height: 100%; object-fit: cover; }

/* Text label BELOW the box — fully readable, never clipped */
.sc-cat-label {
    padding: 0;
    text-align: center;
    width: 100%;
    background: transparent;
}
.sc-cat-label h4 {
    font-size: 12px;
    font-weight: 800;
    color: var(--sc-dark);
    white-space: normal;       /* text wraps — never truncated */
    overflow: visible;
    text-overflow: unset;
    margin-bottom: 2px;
    line-height: 1.3;
    transition: color 0.15s;
}
.sc-cat-label span { font-size: 10px; color: var(--sc-muted); }

/* Subcategory cards (category page) */
.sc-subcats-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.sc-subcat-card {
    background: var(--sc-bg);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid var(--sc-border);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.sc-subcat-card:hover, .sc-subcat-card.active {
    border-color: var(--sc-yellow);
    background: var(--sc-yellow-light);
    transform: translateY(-2px);
    box-shadow: var(--sc-shadow-hover);
}
.sc-subcat-img {
    width: 100%; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.sc-subcat-label { padding: 6px 4px 8px; text-align: center; width: 100%; }
.sc-subcat-label h5 { font-size: 10.5px; font-weight: 800; color: var(--sc-dark); }
.sc-subcat-label span { font-size: 9.5px; color: var(--sc-muted); }

/* ============================================================
   PRODUCT CARD
   Bold border, shadow, lifts on hover.
   ============================================================ */
.sc-product-card {
    background: var(--sc-card);
    border: 2px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.22s;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sc-product-card:hover {
    box-shadow: var(--sc-shadow-mid);
    transform: translateY(-5px);
    border-color: var(--sc-yellow);
}
.sc-product-card:hover .sc-pc-wishlist { opacity: 1; }

.sc-pc-badge {
    position: absolute; top: 9px; left: 9px;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px; border-radius: 50px; z-index: 2;
}
.sc-pc-badge-sale   { background: #FFF0F0; color: var(--sc-red); }
.sc-pc-badge-new    { background: #EDFFF4; color: var(--sc-green); }
.sc-pc-badge-hot    { background: var(--sc-yellow-pale); color: var(--sc-yellow-dark); }

.sc-pc-wishlist {
    position: absolute; top: 9px; right: 9px;
    width: 28px; height: 28px;
    background: var(--sc-white);
    border: 1px solid var(--sc-border); border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; opacity: 0;
    transition: opacity 0.18s; z-index: 2;
    box-shadow: var(--sc-shadow); cursor: pointer;
    border: 1px solid var(--sc-border);
}

.sc-pc-image {
    aspect-ratio: 1;
    background: var(--sc-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 64px;
    border-bottom: 2px solid var(--sc-border);
    overflow: hidden;
}
.sc-pc-image img { width: 100%; height: 100%; object-fit: cover; }

.sc-pc-body { padding: 13px 13px 15px; display: flex; flex-direction: column; flex: 1; }
.sc-pc-vendor {
    font-size: 11px; color: var(--sc-muted); font-weight: 700;
    margin-bottom: 5px; display: flex; align-items: center; gap: 4px;
}
.sc-pc-vendor-dot {
    width: 6px; height: 6px;
    background: var(--sc-green); border-radius: 50%; flex-shrink: 0;
}
.sc-pc-name {
    font-size: 14px; font-weight: 800;
    color: var(--sc-dark); line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    min-height: 40px; flex: 1;
    text-decoration: none; color: inherit;
}
.sc-pc-rating {
    display: flex; align-items: center; gap: 3px;
    font-size: 11px; color: var(--sc-muted); margin-bottom: 10px;
}
.sc-pc-price-row {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 6px; min-height: 48px;
    margin-top: auto; flex-wrap: wrap;
}
.sc-pc-price-group { display: flex; flex-direction: column; gap: 2px; }
.sc-pc-price {
    font-family: var(--sc-font-head);
    font-size: 19px; font-weight: 900;
    color: var(--sc-dark); line-height: 1;
}
.sc-pc-old-price {
    font-size: 11px; color: var(--sc-muted);
    text-decoration: line-through;
    min-height: 14px; display: block;
}
.sc-pc-cart-btn {
    background: var(--sc-yellow); color: var(--sc-dark);
    font-family: var(--sc-font-head); font-size: 12.5px;
    font-weight: 800; padding: 9px 15px;
    border-radius: 7px; transition: all 0.15s;
    flex-shrink: 0; white-space: nowrap;
    box-shadow: 0 2px 6px rgba(245,166,35,0.25);
    border: none; cursor: pointer;
}
.sc-pc-cart-btn:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }

/* ============================================================
   FAST DEALS BOX
   ============================================================ */
.sc-deals-box {
    background: var(--sc-card);
    border-radius: var(--sc-radius);
    border: 1.5px solid var(--sc-border);
    padding: 18px 16px 16px;
    position: relative; overflow: hidden;
}
.sc-deals-accent {
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--sc-yellow);
}
.sc-deals-hd {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 16px;
    flex-wrap: wrap; gap: 8px;
}
.sc-deals-title {
    font-family: var(--sc-font-head);
    font-size: 18px; font-weight: 900; color: var(--sc-dark);
    display: flex; align-items: center; gap: 10px;
}
.sc-deals-badge {
    background: var(--sc-yellow); color: var(--sc-dark);
    font-size: 10px; font-weight: 900;
    padding: 3px 10px; border-radius: 50px;
    letter-spacing: 0.5px; text-transform: uppercase;
}

/* Carousel */
.sc-carousel-wrap { position: relative; }
.sc-carousel-vp { overflow: hidden; }
.sc-carousel-track {
    display: flex; gap: 12px;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.sc-deal-card {
    flex-shrink: 0;
    width: calc((100% - 24px) / 3);
    background: var(--sc-card);
    border-radius: var(--sc-radius);
    overflow: hidden; transition: all 0.22s;
    position: relative; display: flex;
    flex-direction: column;
    border: 1.5px solid var(--sc-border);
    text-decoration: none; color: inherit;
}
.sc-deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sc-shadow-mid);
    border-color: #d0d0d0;
}
.sc-deal-card:hover .sc-dc-wish { opacity: 1; }

.sc-dc-img {
    aspect-ratio: 1; background: var(--sc-bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 62px; position: relative;
    border-bottom: 1px solid var(--sc-border); overflow: hidden;
}
.sc-dc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-dc-disc {
    position: absolute; top: 10px; left: 10px;
    background: var(--sc-red); color: var(--sc-white);
    font-family: var(--sc-font-head); font-size: 11px; font-weight: 900;
    padding: 3px 9px; border-radius: 50px;
}
.sc-dc-wish {
    position: absolute; top: 10px; right: 10px;
    width: 28px; height: 28px; background: var(--sc-white);
    border: 1px solid var(--sc-border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; opacity: 0; transition: opacity 0.18s;
    box-shadow: var(--sc-shadow); cursor: pointer;
}
.sc-dc-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.sc-dc-vendor { font-size: 10.5px; color: var(--sc-muted); font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.sc-dc-name {
    font-size: 13px; font-weight: 700; color: var(--sc-dark); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 36px; margin-bottom: 7px; flex: 1;
    text-decoration: none; color: inherit;
}
.sc-dc-rating { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--sc-muted); margin-bottom: 8px; }
.sc-dc-price-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px; min-height: 46px; margin-top: auto; flex-wrap: wrap;
}
.sc-dc-price { font-family: var(--sc-font-head); font-size: 17px; font-weight: 900; color: var(--sc-dark); line-height: 1; }
.sc-dc-old { font-size: 10.5px; color: var(--sc-muted); text-decoration: line-through; min-height: 14px; display: block; }
.sc-dc-btn {
    background: var(--sc-yellow); color: var(--sc-dark);
    font-family: var(--sc-font-head); font-size: 12px;
    font-weight: 800; padding: 8px 13px;
    border-radius: 6px; transition: all 0.15s;
    flex-shrink: 0; white-space: nowrap; border: none; cursor: pointer;
}
.sc-dc-btn:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }

.sc-carousel-arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; background: var(--sc-white);
    border-radius: 50%; font-size: 16px; color: var(--sc-dark);
    z-index: 10; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sc-shadow-mid); transition: all 0.15s;
    border: 1px solid var(--sc-border); cursor: pointer;
}
.sc-carousel-arr:hover { background: var(--sc-yellow); color: var(--sc-dark); border-color: var(--sc-yellow); }
.sc-carr-prev { left: -14px; }
.sc-carr-next { right: -14px; }

/* ============================================================
   RECENTLY VIEWED STRIP
   ============================================================ */
.sc-rv-outer { position: relative; overflow: hidden; }
.sc-rv-track { display: flex; gap: 10px; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.sc-rv-card {
    flex-shrink: 0; width: 150px;
    background: var(--sc-card); border-radius: var(--sc-radius);
    overflow: hidden; border: 1.5px solid var(--sc-border);
    cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.sc-rv-card:hover { box-shadow: var(--sc-shadow-hover); transform: translateY(-2px); }
.sc-rv-img {
    width: 100%; aspect-ratio: 1;
    background: var(--sc-bg); display: flex; align-items: center;
    justify-content: center; font-size: 44px; position: relative; overflow: hidden;
}
.sc-rv-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-rv-disc {
    position: absolute; top: 0; left: 0;
    background: var(--sc-red); color: var(--sc-white);
    font-family: var(--sc-font-head); font-size: 11px; font-weight: 900;
    padding: 3px 8px; border-radius: 0 0 8px 0;
}
.sc-rv-body { padding: 8px 8px 10px; }
.sc-rv-name {
    font-size: 12px; font-weight: 600; color: var(--sc-dark); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 32px; margin-bottom: 5px;
}
.sc-rv-price { font-family: var(--sc-font-head); font-size: 14px; font-weight: 900; color: var(--sc-dark); }

.sc-strip-arr {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; background: rgba(255,255,255,0.96);
    border-radius: 50%; font-size: 15px; color: var(--sc-dark); z-index: 10;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sc-shadow-mid); transition: all 0.15s;
    border: 1px solid var(--sc-border); cursor: pointer;
}
.sc-strip-arr:hover { background: var(--sc-yellow); color: var(--sc-dark); border-color: var(--sc-yellow); }
.sc-arr-l { left: -2px; }
.sc-arr-r { right: -2px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.sc-newsletter {
    background: var(--sc-card);
    border: 2px solid var(--sc-yellow);
    border-radius: var(--sc-radius);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.sc-newsletter h3 { font-size: 19px; font-weight: 900; color: var(--sc-dark); margin-bottom: 4px; }
.sc-newsletter p  { font-size: 13px; color: var(--sc-mid); }
.sc-nl-form {
    display: flex; background: var(--sc-bg);
    border: 1.5px solid var(--sc-border);
    border-radius: 7px; overflow: hidden; min-width: 300px;
}
.sc-nl-form input {
    flex: 1; border: none; background: transparent;
    padding: 11px 14px; font-size: 13px;
    font-family: var(--sc-font-body); outline: none;
}
.sc-nl-form button {
    background: var(--sc-yellow); color: var(--sc-dark);
    font-family: var(--sc-font-head); font-weight: 800;
    font-size: 13px; padding: 11px 18px;
    white-space: nowrap; border: none; cursor: pointer; transition: background 0.15s;
}
.sc-nl-form button:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }

/* ============================================================
   APP BANNER
   ============================================================ */
.sc-app-banner {
    background: linear-gradient(110deg, var(--sc-dark) 0%, #2d2d2d 100%);
    border-radius: var(--sc-radius);
    padding: 32px 36px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
}
.sc-app-banner-text { flex: 1; }
.sc-app-banner-text h2 { color: var(--sc-white); margin-bottom: 8px; }
.sc-app-banner-text p  { color: rgba(255,255,255,0.6); font-size: 13.5px; margin-bottom: 18px; }
.sc-app-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-app-store-btn {
    background: var(--sc-yellow); color: var(--sc-dark);
    font-family: var(--sc-font-head); font-weight: 800;
    font-size: 13.5px; padding: 11px 22px; border-radius: 8px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.15s; text-decoration: none;
}
.sc-app-store-btn:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }
.sc-app-soon { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); cursor: default; }
.sc-app-banner-visual { font-size: 90px; flex-shrink: 0; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); }

/* ============================================================
   CATEGORY BLOCK (homepage)
   ============================================================ */
.sc-cat-block-hd {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--sc-yellow); padding: 12px 16px;
    border-radius: var(--sc-radius) var(--sc-radius) 0 0;
    margin-bottom: 12px;
}
.sc-cat-block-name { font-family: var(--sc-font-head); font-size: 16px; font-weight: 900; color: var(--sc-dark); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.sc-footer {
    background: var(--sc-dark);
    color: var(--sc-white);
    padding: 32px 16px 20px;
}
.sc-footer-inner { max-width: var(--sc-max-width); margin: 0 auto; }
.sc-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 18px;
}
.sc-footer-logo {
    font-family: var(--sc-font-head);
    font-weight: 900; font-style: italic;
    font-size: 22px; color: var(--sc-white);
    margin-bottom: 10px; display: block; text-decoration: none;
}
.sc-footer-logo span { color: var(--sc-yellow); }
.sc-footer-about { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 16px; }
.sc-footer-col h5 { font-size: 12.5px; font-weight: 800; color: var(--sc-white); margin-bottom: 12px; }
.sc-footer-col ul { list-style: none; }
.sc-footer-col ul li { margin-bottom: 8px; }
.sc-footer-col ul li a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.15s; text-decoration: none; }
.sc-footer-col ul li a:hover { color: var(--sc-yellow); }

.sc-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sc-footer-bottom-row1 {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 10px; width: 100%;
}
.sc-footer-copy { font-size: 11.5px; color: rgba(255,255,255,0.25); }
.sc-payment-icons { display: flex; gap: 5px; flex-wrap: wrap; }
.sc-pay-ic { background: rgba(255,255,255,0.06); border-radius: 4px; padding: 3px 8px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35); }

/*
 * SOCIAL ICONS
 * RULE: At the very bottom of the footer.
 * Always horizontal, centered, flex-wrap: nowrap.
 * After copyright and payment icons — never above them.
 */
.sc-footer-soc-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap; /* ALWAYS HORIZONTAL */
}
.sc-footer-soc-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    transition: all 0.15s; cursor: pointer; text-decoration: none; flex-shrink: 0;
}
.sc-footer-soc-btn:hover { background: var(--sc-yellow); color: var(--sc-dark); }

/* ============================================================
   VENDOR IDENTITY BAR (replaces footer on vendor stores)
   ============================================================ */
.sc-vendor-identity-bar { background: var(--sc-dark); margin-top: 24px; padding: 32px 0 0; }
.sc-vib-inner { max-width: var(--sc-max-width); margin: 0 auto; padding: 0 16px; }
.sc-vib-top {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px;
}
.sc-vib-identity { display: flex; align-items: center; gap: 16px; }
.sc-vib-logo {
    width: 72px; height: 72px; background: var(--sc-yellow-pale);
    border-radius: 14px; border: 3px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; flex-shrink: 0; overflow: hidden;
}
.sc-vib-logo img { width: 100%; height: 100%; object-fit: cover; }
.sc-vib-name { font-family: var(--sc-font-head); font-size: 22px; font-weight: 900; color: var(--sc-white); }
.sc-vib-verified { background: rgba(29,78,216,0.3); color: #93C5FD; font-size: 10.5px; font-weight: 800; padding: 3px 10px; border-radius: 50px; }
.sc-vib-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.45); margin-top: 7px; }
.sc-vib-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.sc-vib-stat { padding: 16px 12px; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.sc-vib-stat:last-child { border-right: none; }
.sc-vib-stat-num { font-family: var(--sc-font-head); font-size: 20px; font-weight: 900; color: var(--sc-yellow); margin-bottom: 3px; }
.sc-vib-stat-label { font-size: 10.5px; color: rgba(255,255,255,0.4); font-weight: 600; }
.sc-vib-bottom { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.sc-vib-col h5 { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.sc-vib-info-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.sc-powered-by { border-top: 1px solid rgba(255,255,255,0.06); padding: 14px 16px; text-align: center; font-size: 11.5px; color: rgba(255,255,255,0.2); }
.sc-powered-by a { color: rgba(255,255,255,0.3); font-weight: 700; text-decoration: none; }
.sc-powered-by a:hover { color: var(--sc-yellow); }

/* ============================================================
   TOGGLE SWITCH
   ============================================================ */
.sc-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.sc-toggle input { opacity: 0; width: 0; height: 0; }
.sc-toggle-slider { position: absolute; inset: 0; background: var(--sc-border); border-radius: 12px; cursor: pointer; transition: .3s; }
.sc-toggle input:checked + .sc-toggle-slider { background: var(--sc-yellow); }
.sc-toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: var(--sc-white); border-radius: 50%; transition: .3s; box-shadow: var(--sc-shadow); }
.sc-toggle input:checked + .sc-toggle-slider::before { transform: translateX(20px); }

/* ============================================================
   PAGINATION
   ============================================================ */
.sc-pagination { display: flex; justify-content: center; gap: 6px; padding-top: 20px; flex-wrap: wrap; }
.sc-page-btn {
    width: 34px; height: 34px; border: 1.5px solid var(--sc-border); border-radius: 7px;
    background: var(--sc-white); font-size: 13px; font-weight: 700; color: var(--sc-mid);
    display: flex; align-items: center; justify-content: center; transition: all 0.15s;
    cursor: pointer; font-family: var(--sc-font-body); text-decoration: none;
}
.sc-page-btn.active, .sc-page-btn:hover { border-color: var(--sc-yellow); color: var(--sc-yellow-dark); }
.sc-page-btn.active { background: var(--sc-yellow); color: var(--sc-dark); }

/* ============================================================
   DEAL TIMER
   ============================================================ */
.sc-deal-timer {
    background: linear-gradient(110deg, var(--sc-red) 0%, #c62828 100%);
    border-radius: 8px; padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
}
.sc-timer-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.sc-timer-countdown { display: flex; gap: 6px; align-items: center; }
.sc-timer-box {
    background: rgba(255,255,255,0.2); color: var(--sc-white);
    font-family: var(--sc-font-head); font-size: 16px; font-weight: 900;
    padding: 4px 10px; border-radius: 6px; min-width: 38px; text-align: center;
}
.sc-timer-sep { color: rgba(255,255,255,0.7); font-weight: 900; }

/* ============================================================
   SORT BAR
   ============================================================ */
.sc-sort-bar { background: var(--sc-white); border-bottom: 1px solid var(--sc-border); padding: 10px 16px; }
.sc-sort-inner { max-width: var(--sc-max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.sc-sort-result { font-size: 12.5px; color: var(--sc-mid); }
.sc-sort-result strong { color: var(--sc-dark); }
.sc-sort-right { display: flex; align-items: center; gap: 8px; }
.sc-filter-mob-btn { display: none; background: var(--sc-dark); color: var(--sc-white); font-family: var(--sc-font-head); font-weight: 800; font-size: 12.5px; padding: 8px 18px; border-radius: 50px; align-items: center; gap: 7px; border: none; cursor: pointer; }
.sc-sort-select { border: 1.5px solid var(--sc-border); border-radius: 7px; padding: 7px 11px; font-size: 12.5px; font-family: var(--sc-font-body); color: var(--sc-dark); background: var(--sc-white); outline: none; cursor: pointer; }
.sc-sort-select:focus { border-color: var(--sc-yellow); }
.sc-view-btns { display: flex; gap: 4px; }
.sc-view-btn { width: 32px; height: 32px; border: 1.5px solid var(--sc-border); border-radius: 7px; background: var(--sc-white); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; cursor: pointer; }
.sc-view-btn.active { background: var(--sc-yellow); color: var(--sc-dark); border-color: var(--sc-yellow); }
.sc-view-btn:hover:not(.active) { border-color: var(--sc-yellow); }

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.sc-filter-sidebar { background: var(--sc-card); border: 1.5px solid var(--sc-border); border-radius: var(--sc-radius); overflow: hidden; position: sticky; top: 90px; }
.sc-fs-hd { background: var(--sc-white); border-bottom: 2px solid var(--sc-yellow); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
.sc-fs-hd h3 { font-size: 14px; font-weight: 900; color: var(--sc-dark); }
.sc-fs-clear { font-size: 12px; font-weight: 700; color: var(--sc-yellow-dark); cursor: pointer; background: none; border: none; }
.sc-fs-group { padding: 13px 14px; border-bottom: 1px solid var(--sc-border); }
.sc-fs-group:last-child { border-bottom: none; }
.sc-fs-title { font-size: 12.5px; font-weight: 800; color: var(--sc-dark); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.sc-fs-opts { display: flex; flex-direction: column; gap: 7px; }
.sc-fs-opt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--sc-mid); cursor: pointer; }
.sc-fs-opt:hover { color: var(--sc-dark); }
.sc-fs-opt input[type="checkbox"],
.sc-fs-opt input[type="radio"] { accent-color: var(--sc-yellow); width: 14px; height: 14px; flex-shrink: 0; }
.sc-fs-count { font-size: 10.5px; color: var(--sc-muted); margin-left: auto; }
.sc-price-inputs { display: flex; gap: 8px; align-items: center; }
.sc-price-inputs input { width: 88px; border: 1.5px solid var(--sc-border); border-radius: 7px; padding: 7px 9px; font-size: 12px; font-family: var(--sc-font-body); outline: none; color: var(--sc-dark); }
.sc-price-inputs input:focus { border-color: var(--sc-yellow); }
.sc-price-apply { width: 100%; margin-top: 10px; background: var(--sc-yellow); color: var(--sc-dark); font-family: var(--sc-font-head); font-weight: 800; font-size: 12.5px; padding: 8px; border-radius: 7px; transition: background 0.15s; border: none; cursor: pointer; }
.sc-price-apply:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }

/* ============================================================
   CHECKOUT — PROGRESS BAR
   ============================================================ */
.sc-progress-bar { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 28px; overflow-x: auto; padding: 4px 0; }
.sc-prog-step { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.sc-prog-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; border: 2px solid var(--sc-border); background: var(--sc-white); color: var(--sc-muted); transition: all 0.2s; }
.sc-prog-dot.done { background: var(--sc-green); border-color: var(--sc-green); color: var(--sc-white); }
.sc-prog-dot.current { background: var(--sc-yellow); border-color: var(--sc-yellow); color: var(--sc-dark); }
.sc-prog-label { font-size: 12px; font-weight: 700; color: var(--sc-muted); }
.sc-prog-label.done { color: var(--sc-green); }
.sc-prog-label.current { color: var(--sc-yellow-dark); }
.sc-prog-line { width: 40px; height: 2px; background: var(--sc-border); margin: 0 8px; flex-shrink: 0; }
.sc-prog-line.done { background: var(--sc-green); }

/* ============================================================
   CATEGORY BANNER
   ============================================================ */
.sc-cat-banner { height: 180px; background: linear-gradient(110deg,#1A1A1A 0%,#2d2d2d 100%); position: relative; overflow: hidden; display: flex; align-items: center; }
.sc-cat-banner-inner { position: relative; z-index: 2; max-width: var(--sc-max-width); margin: 0 auto; padding: 0 24px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.sc-cat-banner-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sc-yellow); margin-bottom: 7px; display: block; }
.sc-cat-banner-title { font-size: 34px; font-weight: 900; color: var(--sc-white); line-height: 1.1; margin-bottom: 6px; }
.sc-cat-banner-sub { font-size: 13px; color: rgba(255,255,255,0.5); }
.sc-cat-banner-visual { font-size: 80px; flex-shrink: 0; }

/* ============================================================
   TABS BAR (brand/attribute tabs on category page)
   ============================================================ */
.sc-tabs-bar { background: var(--sc-white); border-bottom: 1px solid var(--sc-border); padding: 0 16px; overflow-x: auto; }
.sc-tabs-bar::-webkit-scrollbar { display: none; }
.sc-tabs-inner { max-width: var(--sc-max-width); margin: 0 auto; display: flex; gap: 6px; align-items: center; padding: 10px 0; }
.sc-tab-pill { padding: 6px 16px; border-radius: 50px; font-size: 12.5px; font-weight: 700; color: var(--sc-mid); border: 1.5px solid var(--sc-border); background: var(--sc-white); white-space: nowrap; transition: all 0.15s; flex-shrink: 0; cursor: pointer; font-family: var(--sc-font-body); text-decoration: none; }
.sc-tab-pill:hover { border-color: var(--sc-yellow); color: var(--sc-yellow-dark); }
.sc-tab-pill.active { background: var(--sc-yellow); color: var(--sc-dark); border-color: var(--sc-yellow); }

/* ============================================================
   PRODUCT PROTECTION STRIP
   ============================================================ */
.sc-protect-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.sc-protect-item { background: var(--sc-bg); border-radius: 8px; padding: 10px 8px; text-align: center; }
.sc-protect-item .pi-icon { font-size: 20px; margin-bottom: 4px; display: block; }
.sc-protect-item h5 { font-size: 11px; font-weight: 800; color: var(--sc-dark); }
.sc-protect-item p  { font-size: 10px; color: var(--sc-muted); }

/* ============================================================
   SOLD BY CARD
   ============================================================ */
.sc-sold-by { background: var(--sc-bg); border-radius: var(--sc-radius); padding: 14px; border: 1.5px solid var(--sc-border); }
.sc-sold-by-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--sc-muted); margin-bottom: 10px; }
.sc-vendor-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sc-vendor-logo-sm { width: 50px; height: 50px; background: var(--sc-white); border-radius: 10px; border: 1.5px solid var(--sc-border); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.sc-vendor-logo-sm img { width: 100%; height: 100%; object-fit: cover; }
.sc-vendor-name { font-size: 14px; font-weight: 800; color: var(--sc-dark); }
.sc-vendor-verified { background: #EBF4FF; color: #1D4ED8; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 50px; margin-left: 6px; }
.sc-vendor-meta { font-size: 11.5px; color: var(--sc-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 3px; }
.sc-vendor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-vendor-btn { flex: 1; padding: 8px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 700; font-family: var(--sc-font-body); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; border: none; text-decoration: none; }
.sc-vbtn-chat { background: var(--sc-yellow); color: var(--sc-dark); }
.sc-vbtn-chat:hover { background: var(--sc-yellow-dark); color: var(--sc-white); }
.sc-vbtn-visit { background: var(--sc-white); color: var(--sc-dark); border: 1.5px solid var(--sc-border); }
.sc-vbtn-visit:hover { border-color: var(--sc-yellow); color: var(--sc-yellow-dark); }
.sc-vbtn-follow { background: var(--sc-white); color: var(--sc-dark); border: 1.5px solid var(--sc-border); }
.sc-vbtn-follow:hover { border-color: var(--sc-yellow); color: var(--sc-yellow-dark); }

/* ============================================================
   SHARE ROW
   ============================================================ */
.sc-share-row { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid var(--sc-border); border-bottom: 1px solid var(--sc-border); margin-bottom: 14px; flex-wrap: wrap; }
.sc-share-label { font-size: 12px; font-weight: 700; color: var(--sc-mid); }
.sc-share-btn { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all 0.15s; border: 1.5px solid var(--sc-border); background: var(--sc-white); text-decoration: none; }
.sc-share-btn:hover { transform: scale(1.1); border-color: var(--sc-yellow); }
.sc-copy-link { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--sc-yellow-dark); border: 1.5px solid var(--sc-yellow); padding: 5px 12px; border-radius: 50px; cursor: pointer; transition: all 0.15s; background: var(--sc-white); font-family: var(--sc-font-body); }
.sc-copy-link:hover { background: var(--sc-yellow-light); }
.sc-copy-link.copied { background: var(--sc-green); color: var(--sc-white); border-color: var(--sc-green); }

/* ============================================================
   DELIVERY STRIP
   ============================================================ */
.sc-delivery-strip { background: var(--sc-bg); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.sc-delivery-main { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--sc-dark); margin-bottom: 6px; }
.sc-estimate-btn { font-size: 12px; font-weight: 700; color: var(--sc-yellow-dark); border: none; background: none; cursor: pointer; text-decoration: underline; padding: 0; font-family: var(--sc-font-body); }
.sc-estimate-form { display: none; margin-top: 8px; gap: 8px; flex-wrap: wrap; }
.sc-estimate-form.show { display: flex; }
.sc-shipping-result { font-size: 13px; font-weight: 700; color: var(--sc-dark); margin-top: 6px; }

/* ============================================================
   VENDOR STORE HEADER
   ============================================================ */
.sc-vendor-header { background: var(--sc-white); border-bottom: 1px solid var(--sc-border); position: sticky; top: 0; z-index: 1000; box-shadow: var(--sc-shadow); }
.sc-vendor-header-inner { max-width: var(--sc-max-width); margin: 0 auto; padding: 10px 16px 11px; }
.sc-vendor-logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sc-vendor-logo-img { width: 38px; height: 38px; background: var(--sc-yellow-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 1.5px solid var(--sc-border); flex-shrink: 0; overflow: hidden; }
.sc-vendor-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-vendor-store-name { font-family: var(--sc-font-head); font-weight: 900; font-size: 18px; color: var(--sc-dark); white-space: nowrap; }

/* Store navigation tabs */
.sc-store-nav { background: var(--sc-white); border-bottom: 1px solid var(--sc-border); }
.sc-store-nav-inner { max-width: var(--sc-max-width); margin: 0 auto; padding: 0 16px; display: flex; gap: 0; overflow-x: auto; }
.sc-store-nav-inner::-webkit-scrollbar { display: none; }
.sc-store-nav-btn { padding: 13px 18px; font-size: 13px; font-weight: 700; color: var(--sc-muted); white-space: nowrap; cursor: pointer; border-bottom: 2.5px solid transparent; transition: all 0.15s; flex-shrink: 0; border-top: none; border-left: none; border-right: none; background: none; font-family: var(--sc-font-body); text-decoration: none; }
.sc-store-nav-btn:hover { color: var(--sc-dark); }
.sc-store-nav-btn.active { color: var(--sc-yellow-dark); border-bottom-color: var(--sc-yellow); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.sc-form-group { display: flex; flex-direction: column; gap: 5px; }
.sc-form-label { font-size: 12px; font-weight: 700; color: var(--sc-mid); }
.sc-form-input { border: 1.5px solid var(--sc-border); border-radius: 7px; padding: 10px 13px; font-size: 13.5px; font-family: var(--sc-font-body); outline: none; color: var(--sc-dark); transition: border-color 0.15s; width: 100%; background: var(--sc-white); }
.sc-form-input:focus { border-color: var(--sc-yellow); }
.sc-form-select { border: 1.5px solid var(--sc-border); border-radius: 7px; padding: 10px 13px; font-size: 13.5px; font-family: var(--sc-font-body); outline: none; color: var(--sc-dark); background: var(--sc-white); cursor: pointer; width: 100%; transition: border-color 0.15s; }
.sc-form-select:focus { border-color: var(--sc-yellow); }
.sc-form-textarea { border: 1.5px solid var(--sc-border); border-radius: 7px; padding: 10px 13px; font-size: 13.5px; font-family: var(--sc-font-body); outline: none; color: var(--sc-dark); resize: vertical; min-height: 100px; width: 100%; transition: border-color 0.15s; }
.sc-form-textarea:focus { border-color: var(--sc-yellow); }
.sc-form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sc-mid); cursor: pointer; }
.sc-form-check input[type="checkbox"] { accent-color: var(--sc-yellow); width: 15px; height: 15px; flex-shrink: 0; }

/* ============================================================
   SUCCESS ANIMATION
   ============================================================ */
@keyframes sc-pop-in {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes scSkeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE — Breakpoints
   See assets/css/responsive.css for detailed responsive rules.
   Core breakpoints defined here for reference only.
   ============================================================ */

/* Desktop:   > 1024px — full layout */
/* Tablet:    768–1024px — adjusted grids */
/* Mobile:    < 768px — stacked layout */
/* Small:     < 600px — compact UI */

@media (max-width: 1024px) {
    .sc-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .sc-subcats-grid { grid-template-columns: repeat(6, 1fr); }
    .sc-cats-grid { grid-template-columns: repeat(5, 1fr); }
    .sc-vib-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .sc-cats-grid { grid-template-columns: repeat(4, 1fr); }
    .sc-subcats-grid { grid-template-columns: repeat(4, 1fr); }
    .sc-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .sc-footer-grid { grid-template-columns: 1fr 1fr; }
    .sc-filter-sidebar { display: none; }
    .sc-filter-mob-btn { display: flex; }
    .sc-slide { aspect-ratio: 16 / 7; }
    .sc-slide-inner { padding: 0 20px; }
    .sc-slide-text h2 { font-size: 22px; }
    .sc-slide-text p { display: none; }
    .sc-slide-visual { font-size: 60px; }
    .sc-vib-stats { grid-template-columns: repeat(3, 1fr); }
    .sc-vib-bottom { grid-template-columns: 1fr; }
    .sc-deal-card { width: calc((100% - 12px) / 2); }
    .sc-cat-banner { height: 130px; }
    .sc-cat-banner-title { font-size: 24px; }
    /* Welcome card buttons stay horizontal on mobile — flex-shrink handles sizing */
    .sc-welcome-card { flex-direction: column; align-items: flex-start; }
    .sc-welcome-btns { width: 100%; justify-content: flex-start; }
    .sc-welcome-btns .sc-btn { flex: 1; justify-content: center; font-size: 13px; padding: 10px 14px; }
}

@media (max-width: 600px) {
    .sc-cats-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .sc-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .sc-footer-grid { grid-template-columns: 1fr; }
    .sc-vib-stats { grid-template-columns: repeat(2, 1fr); }
    .sc-deal-card { width: 100%; }
    .sc-protect-strip { grid-template-columns: 1fr 1fr; }
    .sc-nl-form { min-width: unset; width: 100%; }
    .sc-newsletter { flex-direction: column; }
    .sc-hero-wrap { padding: 10px 12px 0; }
    .sc-welcome-card { padding: 16px; }
}

@media (max-width: 400px) {
    .sc-cats-grid { grid-template-columns: repeat(3, 1fr); }
    .sc-protect-strip { grid-template-columns: 1fr; }
}