/*
Theme Name: ST Dollar Shop D2C
Theme URI: https://stdollarshop.com/
Author: ST Dollar Shop Engineering Team
Author URI: https://stdollarshop.com/
Description: قالب ووردبريس فائق السرعة والأداء مصمم خصيصاً لمتجر البيع المباشر ST Dollar Shop بتجربة واجهة مستخدم عالمية (D2C / Temu / AliExpress Style).
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: stdollarshop
Tags: ecommerce, mobile-first, fast-loading, rtl-support, d2c
*/

/* --------------------------------------------------
   1. GLOBAL RESET & TYPOGRAPHY
-------------------------------------------------- */
:root {
    --st-primary: #e53e3e;
    --st-primary-dark: #c53030;
    --st-secondary: #f59e0b;
}

/* --------------------------------------------------
   GLOBAL HEADER TOP GAP REMOVAL - ALL PAGES
-------------------------------------------------- */
.stdollarshop-breadcrumbs,
.main-content-area,
.stdollarshop-woocommerce-wrapper-page,
.stdollarshop-woocommerce-container,
main#primary,
.site-main,
.woocommerce-page main,
.st-account-container,
.st-d2c-shop-page {
    margin-top: 0 !important;
}

.stdollarshop-breadcrumbs {
    padding: 10px 0 !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}


*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--st-font-family);
    background-color: #f1f5f9;
    color: var(--st-slate);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.site-d2c-wrapper {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 96% !important;
    max-width: 1720px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

/* --------------------------------------------------
   2. ANNOUNCEMENT & HEADER STYLES
-------------------------------------------------- */
.st-d2c-announcement-bar {
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.st-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: stSeamlessMarquee 24s linear infinite;
    will-change: transform;
}

@keyframes stSeamlessMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(50%, 0, 0);
    }
}

.st-d2c-announcement-bar:hover .st-ticker-track {
    animation-play-state: paused;
}

.st-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0 35px;
    white-space: nowrap;
    flex-shrink: 0;
}

.st-ticker-badge {
    background: var(--st-primary);
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.st-top-wa-link {
    color: #4ade80;
    text-decoration: none;
    font-weight: bold;
}

/* Header Main - Smart Scroll Up Sticky Header */
.st-d2c-header {
    background: #ffffff;
    border-bottom: 1px solid var(--st-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease !important;
}

.st-header-hidden {
    transform: translateY(-100%) !important;
}

.st-header-scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12) !important;
}

.st-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Branding Logo */
.st-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.st-logo-badge {
    background: linear-gradient(135deg, #e53e3e 0%, #b91c1c 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.3);
}

.st-logo-text {
    display: flex;
    flex-direction: column;
}

.st-logo-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--st-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.st-logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--st-primary);
    letter-spacing: 1px;
}

/* Live Search Bar */
.st-header-search-wrap {
    flex: 1;
    max-width: 550px;
}

.st-d2c-search-form {
    display: flex;
    position: relative;
}

.st-d2c-search-input {
    width: 100%;
    height: 44px;
    padding: 0 45px 0 16px;
    border: 2px solid var(--st-primary);
    border-radius: 22px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.st-d2c-search-input:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.15);
}

.st-d2c-search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--st-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Right Actions */
.st-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.st-header-act-btn, .st-header-cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--st-slate);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}
.st-header-act-btn:hover {
    color: var(--st-dark);
}
.st-act-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-dark);
}
.st-act-icon svg {
    display: block;
}


.st-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--st-dark);
}

.st-cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--st-primary);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Bottom Navigation */
.st-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: #ffffff;
    border-top: 1px solid var(--st-border);
    padding: 6px 0;
    z-index: 99999;
    justify-content: space-around;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
}

.st-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    gap: 2px;
    transition: color 0.2s ease;
}

.st-nav-item.active, .st-nav-item:hover {
    color: var(--st-primary);
}

.st-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}
.st-nav-icon svg {
    display: block;
}


/* --------------------------------------------------
   3. HERO BANNER STYLES
-------------------------------------------------- */
.st-d2c-hero-section {
    padding: 24px 0;
}

.st-hero-banner-card {
    background: linear-gradient(135deg, #090d16 0%, #1e1b4b 40%, #2e1065 75%, #831843 100%) !important;
    border-radius: 26px !important;
    padding: 48px 36px !important;
    color: #ffffff !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 0px !important;
}

/* Background Glow Elements */
.st-hero-glow-1 {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.st-hero-glow-2 {
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, rgba(225, 29, 72, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.st-hero-inner-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 5;
    margin-bottom: 36px;
}

.st-hero-text-col {
    display: flex;
    flex-direction: column;
}

.st-hero-badge-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.st-hero-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.st-hero-pill-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000000;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.st-hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 18px 0;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.st-highlight-text {
    color: #f59e0b;
    background: linear-gradient(120deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.st-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.st-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.st-hero-btn-primary {
    background: linear-gradient(135deg, #e53e3e 0%, #b91c1c 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.5);
}

.st-hero-btn-secondary {
    background: #22c55e;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-hero-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Left Column - Visual Badge Card */
.st-hero-visual-col {
    display: flex;
    justify-content: center;
}

.st-visual-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    width: 280px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.st-visual-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e53e3e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.3);
}

.st-visual-icon {
    font-size: 48px;
    margin-top: 10px;
}

.st-visual-price-tag {
    margin: 14px 0;
    display: flex;
    flex-direction: column;
}

.st-visual-price-tag span {
    font-size: 12px;
    color: #94a3b8;
}

.st-visual-price-tag strong {
    font-size: 26px;
    color: #f59e0b;
    font-weight: 900;
}

.st-visual-footer {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 700;
}

/* Features Bar */
.st-hero-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.st-hfeat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.st-hfeat-icon {
    font-size: 24px;
}

.st-hfeat-item strong {
    display: block;
    color: #ffffff;
    font-weight: 800;
}

.st-hfeat-item span {
    color: #94a3b8;
}

/* --------------------------------------------------
   4. PRODUCT CARDS & WOOCOMMERCE STYLES
-------------------------------------------------- */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

li.product {
    background: #ffffff !important;
    border: 1px solid var(--st-border) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

li.product img {
    border-radius: 8px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--st-dark) !important;
    margin: 10px 0 6px 0 !important;
    line-height: 1.4 !important;
    height: 38px;
    overflow: hidden;
}

li.product .price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--st-primary) !important;
    margin-bottom: 10px !important;
}

li.product .button {
    background: var(--st-dark) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

/* Flash Deals Banner Card */
.st-flash-banner-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 45%, #831843 100%) !important;
    border-radius: 24px !important;
    padding: 36px 40px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 7px rgba(30, 27, 75, 0.35) !important;
    border: 0px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
}

/* --------------------------------------------------
   5. FOOTER STYLES
-------------------------------------------------- */
.st-d2c-footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 50px 0 30px 0;
    margin-top: 50px;
}

.st-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 30px;
}

/* --------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
-------------------------------------------------- */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .st-mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

    /* 1. Announcement Bar Mobile */
    .st-d2c-announcement-bar {
        padding: 6px 0 !important;
        font-size: 11px !important;
    }

    .st-announcement-content {
        justify-content: center !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .st-top-wa-link {
        display: none !important;
    }

    .st-ticker-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }

    /* 2. Header Main Flex Layout on Mobile */
    .st-header-flex {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 8px 0 !important;
    }

    /* Row 1: Logo (Right) & Actions (Left) */
    .st-header-branding {
        flex: 1 !important;
    }

    .st-main-logo-img {
        height: 40px !important;
    }

    .st-brand-name {
        font-size: 14px !important;
    }

    .st-brand-slogan {
        display: none !important;
    }

    .st-header-actions {
        gap: 12px !important;
    }

    .st-act-label {
        display: none !important;
    }

    /* Row 2: Search Bar Gets Its OWN Full Width Row! */
    .st-header-search-wrap {
        order: 3 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 4px !important;
    }

    .st-d2c-search-input {
        height: 42px !important;
        font-size: 13px !important;
        padding: 0 16px 0 46px !important;
        border-radius: 22px !important;
        background: #f1f5f9 !important;
    }

    .st-d2c-search-submit {
        left: 6px !important;
        width: 34px !important;
        height: 34px !important;
    }

    .st-hero-title {
        font-size: 24px;
    }

    .st-hero-features-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide Request Quote Button globally for ST Dollar Shop D2C Direct Sales */
.request-quote-btn, .single-product-quote-btn, button[data-product-sku] {
    display: none !important;
}

/* --------------------------------------------------
   PRODUCT CARD D2C STYLING (MATCHED WITH HOMEPAGE GRID)
-------------------------------------------------- */
.woocommerce .site-main ul.products,
.woocommerce-page .site-main ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products,
ul.products[class*="columns-"] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 18px !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.woocommerce .site-main ul.products li.product,
.woocommerce-page .site-main ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
ul.products li.product,
.st-d2c-card-item, 
li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 14px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.st-d2c-card-item:hover, li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.1) !important;
    border-color: #cbd5e1 !important;
}

.st-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.st-card-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.st-badge-dollar {
    background: linear-gradient(135deg, #e53e3e 0%, #b91c1c 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(229, 62, 62, 0.4);
}

.st-badge-discount {
    background: #f59e0b;
    color: #000000;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: auto;
}

.st-card-image-wrap {
    width: 100% !important;
    height: 190px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: transparent !important;
    margin-bottom: 8px !important;
    position: relative !important;
    padding: 0 !important;
}

.st-card-img-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.st-card-img, li.product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
}

.st-d2c-card-item:hover .st-card-img, li.product:hover img {
    transform: scale(1.05) !important;
}

.st-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

/* Product Title Formatting across all WooCommerce Archive & Category pages */
.woocommerce ul.products li.product h3.st-card-title,
.woocommerce-page ul.products li.product h3.st-card-title,
.st-card-title,
h3.st-card-title,
.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 4px 0 8px 0 !important;
    padding: 0 !important;
    min-height: 40px !important;
    max-height: 40px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: break-word !important;
}

.st-card-title a,
.woocommerce-loop-product__title a {
    color: #0f172a !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease !important;
}

.st-card-title a:hover {
    color: #e53e3e !important;
}

.st-card-price-box,
.woocommerce-loop-product__price,
.price {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 4px 0 8px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.st-new-price, .st-main-price {
    font-size: 18px;
    font-weight: 900;
    color: #e53e3e;
    text-decoration: none;
}

.st-old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.st-card-stock-tag {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.st-card-stock-tag .st-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
}

.st-card-actions {
    display: block !important;
    width: 100% !important;
}

/* ── ULTRA-HIGH CONTRAST PRODUCT CARD ADD TO CART BUTTON ── */
.st-btn-cart,
a.st-btn-cart,
.add_to_cart_button,
a.add_to_cart_button,
.ajax_add_to_cart,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.st-d2c-card-item a.button,
.st-card-actions a.button {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

/* Hover & Active States */
.st-btn-cart:hover,
a.st-btn-cart:hover,
.add_to_cart_button:hover,
a.add_to_cart_button:hover,
.ajax_add_to_cart:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.st-d2c-card-item a.button:hover,
.st-card-actions a.button:hover {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35) !important;
}

/* Added / Loading State */
.woocommerce ul.products li.product .button.added,
.add_to_cart_button.added,
.st-btn-cart.added {
    background: #10b981 !important;
    color: #ffffff !important;
}

.st-btn-wa {
    display: none !important;
}

/* --------------------------------------------------
   HERO RESPONSIVE MEDIA QUERIES
-------------------------------------------------- */
@media (max-width: 991px) {
    .st-hero-inner-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .st-hero-badge-wrap, .st-hero-actions {
        justify-content: center;
    }
    .st-hero-title {
        font-size: 28px !important;
    }
    .st-hero-features-bar {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .st-flash-banner-card {
        padding: 28px 20px !important;
        text-align: center;
        justify-content: center !important;
    }
}

/* --------------------------------------------------
   7. ULTRA MOBILE RESPONSIVENESS (PHONES < 640px)
-------------------------------------------------- */
@media (max-width: 640px) {
    /* Container Padding */
    .container {
        padding: 0 10px !important;
    }

    /* Hero Section Mobile Polish */
    .st-d2c-hero-section {
        padding: 12px 0;
    }
    .st-hero-banner-card {
        padding: 24px 16px !important;
        border-radius: 18px !important;
    }
    .st-hero-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
    }
    .st-hero-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
    .st-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .st-hero-btn-primary, .st-hero-btn-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    .st-hero-features-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 14px !important;
        font-size: 11px !important;
    }
    .st-hfeat-item {
        font-size: 11px !important;
    }

    /* Product Grids: Perfect 2-Column Touch Layout on Mobile Phones & Category Pages */
    .woocommerce .site-main ul.products,
    .woocommerce-page .site-main ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    ul.products[class*="columns-"],
    .st-dollar-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 0 24px 0 !important;
    }

    .woocommerce .site-main ul.products li.product,
    .woocommerce-page .site-main ul.products li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    ul.products li.product,
    .st-d2c-card-item, 
    li.product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 8px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .st-card-image-wrap {
        height: 130px !important;
        margin-bottom: 8px !important;
    }

    .woocommerce ul.products li.product h3.st-card-title,
    .woocommerce-page ul.products li.product h3.st-card-title,
    .st-card-title,
    h3.st-card-title,
    .woocommerce-loop-product__title {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 2px 0 6px 0 !important;
        padding: 0 !important;
        min-height: 34px !important;
        max-height: 34px !important;
        -webkit-line-clamp: 2 !important;
    }

    .st-new-price, .st-main-price {
        font-size: 14px !important;
    }

    .st-old-price {
        font-size: 11px !important;
    }

    .st-btn-cart {
        padding: 8px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    .st-badge-dollar, .st-badge-discount {
        font-size: 9px !important;
        padding: 2px 6px !important;
    }

    /* Flash Deals Section Mobile Refinements */
    .st-flash-banner-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .st-flash-banner-card div[style*="align-items: center"] {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    .st-flash-banner-card h3,
    .st-flash-banner-card p {
        text-align: center !important;
    }
    .st-flash-banner-card h3 {
        font-size: 17px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    .st-flash-banner-card p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }
    .st-flash-banner-card span[style*="عروض خاطفة"] {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    #st-flash-countdown {
        justify-content: center !important;
        margin: 0 auto !important;
    }
    #st-flash-countdown > div {
        padding: 4px 6px !important;
        min-width: 36px !important;
        border-radius: 8px !important;
    }
    #st-flash-countdown span[id^="st-cd-"] {
        font-size: 14px !important;
    }
    .st-flash-cta-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 18px !important;
        font-size: 13px !important;
    }

    /* General Mobile Section Titles Optimization & Center Alignment */
    .st-dollar-zone-section .st-section-header {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .st-dollar-zone-section h2 {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .st-dollar-zone-section p {
        text-align: center !important;
        margin: 4px auto 0 auto !important;
    }
    .st-dz-view-all {
        margin: 8px auto 0 auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 260px !important;
    }
    .st-dollar-zone-section h2, 
    .st-product-grids-section h2,
    .st-d2c-features-section h2 {
        font-size: 18px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }
    .st-dollar-zone-section h2 span {
        font-size: 12px !important;
        padding: 2px 8px !important;
    }
    .st-dollar-zone-section p,
    .st-d2c-features-section p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    /* 4. Best Sellers & All Product Grids: 2 Products Per Row on Mobile */
    ul.products, 
    .st-dollar-products-grid,
    .st-product-grids-section div[style*="grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* 5. D2C Features Section: 2 Cards Per Row on Mobile */
    .st-d2c-features-section div[style*="grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .st-d2c-features-section div[style*="background: #ffffff"] {
        padding: 14px 10px !important;
        border-radius: 14px !important;
    }
    .st-d2c-features-section h3 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    .st-d2c-features-section p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    /* Category Icons Scroll Touch */
    .st-category-scroll-container {
        padding-bottom: 8px;
    }

    /* Header Mobile Adjustments */
    .st-header-inner {
        padding: 8px 0;
    }
    .st-logo-img {
        height: 38px !important;
    }
    .st-brand-name {
        font-size: 15px !important;
    }
    .st-brand-slogan {
        font-size: 9px !important;
    }

    /* Mobile Bottom Navigation Touch Bar */
    .st-mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .st-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        width: 20%;
    }

    .st-nav-item.active, .st-nav-item:hover {
        color: #e53e3e;
    }

    .st-nav-icon {
        font-size: 18px;
        margin-bottom: 2px;
    }
}

@media (max-width: 576px) {
    .st-hero-features-bar {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* --------------------------------------------------
   8. ULTRA-PROFESSIONAL SIDEBAR FILTER STYLES v3
-------------------------------------------------- */
.st-shop-main-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Premium Sidebar Container ── */
.st-filter-premium {
    background: #ffffff !important;
    border: 1px solid #e8ecf1 !important;
    border-radius: 18px !important;
    padding: 0 !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04) !important;
    position: sticky;
    top: 80px;
    z-index: 100;
    overflow: hidden;
}

/* ── Filter Header ── */
.st-flt-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 18px 18px 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.st-flt-header-top {
    display: flex;
    gap: 10px;
    align-items: center;
}
.st-flt-header-icon {
    font-size: 22px;
    background: rgba(255,255,255,0.1);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.st-flt-title {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}
.st-flt-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}
.st-flt-reset-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.st-flt-reset-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

/* ── Search Widget ── */
.st-flt-section:first-of-type {
    padding: 14px 16px 0;
}
.st-flt-search-wrap {
    position: relative;
}
.st-flt-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.st-flt-search-input {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    color: #0f172a;
}
.st-flt-search-input:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.st-flt-search-input::placeholder {
    color: #94a3b8;
}

/* ── Collapsible Section ── */
.st-flt-section {
    border-top: 1px solid #f1f5f9;
}
.st-flt-section-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}
.st-flt-section-header:hover {
    background: #f8fafc;
}
.st-flt-section-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.st-flt-section-icon {
    font-size: 15px;
}
.st-flt-chevron {
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.st-flt-chevron.st-flt-rotated {
    transform: rotate(180deg);
}
.st-flt-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
}
.st-flt-section-body.st-flt-open {
    max-height: 600px;
    padding: 0 16px 16px;
}

/* ── Category List ── */
.st-flt-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-height: 210px;
    overflow-y: auto;
}
.st-flt-cat-list::-webkit-scrollbar {
    width: 4px;
}
.st-flt-cat-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.st-flt-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s ease;
    position: relative;
}
.st-flt-cat-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.st-flt-cat-link.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
}
.st-flt-cat-link.active .st-flt-cat-count {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
}
.st-flt-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.st-flt-cat-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-flt-cat-count {
    font-size: 10px;
    font-weight: 800;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ── Toggle Cards (Deals/Stock) ── */
.st-flt-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 6px;
    border: 1.5px solid transparent;
}
.st-flt-toggle-gold {
    background: #fffbeb;
    border-color: #fde68a;
}
.st-flt-toggle-gold.checked {
    background: #fef3c7;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}
.st-flt-toggle-red {
    background: #fef2f2;
    border-color: #fecaca;
}
.st-flt-toggle-red.checked {
    background: #fee2e2;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.st-flt-toggle-green {
    background: #ecfdf5;
    border-color: #a7f3d0;
}
.st-flt-toggle-green.checked {
    background: #d1fae5;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.st-flt-toggle-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-flt-toggle-emoji {
    font-size: 18px;
}
.st-flt-toggle-label {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1.2;
}
.st-flt-toggle-desc {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    display: block;
}

/* ── Custom Toggle Switch ── */
.st-flt-switch {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}
.st-flt-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.st-flt-switch-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 20px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.st-flt-switch-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    right: 2px;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.st-flt-switch input:checked + .st-flt-switch-slider {
    background: #6366f1;
}
.st-flt-switch input:checked + .st-flt-switch-slider::before {
    transform: translateX(-16px);
}

/* ── Price Chips ── */
.st-flt-price-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}
.st-flt-price-chip {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.st-flt-price-chip span {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}
.st-flt-price-chip strong {
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
}
.st-flt-price-chip:hover {
    border-color: #6366f1;
    background: #eef2ff;
}
.st-flt-price-chip.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.st-flt-price-chip.active span,
.st-flt-price-chip.active strong {
    color: #ffffff;
}
.st-flt-price-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 8px;
}
.st-flt-price-value {
    color: #6366f1;
    font-weight: 800;
}

/* ── Top Bar ── */
.st-shop-top-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.st-shop-breadcrumbs {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 4px;
}
.st-shop-breadcrumbs a { color: #94a3b8; text-decoration: none; }
.st-shop-breadcrumbs a:hover { color: #6366f1; }
.st-bc-sep { margin: 0 4px; color: #cbd5e1; }
.st-shop-page-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}
.st-shop-desc {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0;
    font-weight: 600;
}
.st-shop-control-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.st-shop-result-count { font-size: 13px; font-weight: 700; color: #64748b; }
.st-shop-pagination-wrap { margin-top: 30px; text-align: center; }
.st-shop-empty-state {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}
.st-shop-empty-icon { font-size: 48px; margin-bottom: 12px; }
.st-shop-empty-state h3 { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.st-shop-empty-state p { color: #64748b; font-size: 14px; margin-bottom: 20px; }
.st-shop-empty-btn { background: #e53e3e; color: #fff; border: none; padding: 10px 24px; border-radius: 10px; font-weight: bold; cursor: pointer; }

/* ── Mobile Filter Trigger ── */
.st-mobile-filter-trigger {
    display: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.st-mobile-close-btn {
    display: none;
}

/* ── Mobile Responsive ── */
@media (max-width: 991px) {
    .st-shop-main-layout {
        grid-template-columns: 1fr !important;
    }
    .st-mobile-filter-trigger {
        display: inline-flex !important;
    }
    .st-filter-premium {
        position: fixed !important;
        top: 0 !important;
        right: -110% !important;
        width: 300px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        z-index: 999999 !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: -10px 0 50px rgba(0,0,0,0.25) !important;
        border-radius: 0 !important;
    }
    .st-filter-premium.active-mobile {
        right: 0 !important;
    }
    .st-mobile-close-btn {
        display: flex !important;
        width: calc(100% - 32px) !important;
        margin: 16px auto !important;
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        color: #ffffff !important;
        padding: 12px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        border: none !important;
        cursor: pointer !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
    }
    .st-shop-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .st-shop-top-bar-left {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

/* --------------------------------------------------
   9. ULTRA-PROFESSIONAL MY ACCOUNT & AUTH STYLES v3
-------------------------------------------------- */

/* Clean up WooCommerce default myaccount title & padding */
.woocommerce-account .page-title,
.woocommerce-account h1.entry-title {
    display: none !important;
}

/* ── 9.1 AUTHENTICATION (LOGIN / REGISTER) CARD ── */
.st-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px 60px;
    min-height: 70vh;
}

.st-auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.st-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.st-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.st-auth-logo-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.18);
}

.st-auth-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}

.st-auth-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Auth Tabs */
.st-auth-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 24px;
    gap: 4px;
}

.st-auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.st-auth-tab-btn:hover {
    color: #0f172a;
}

.st-auth-tab-btn.active {
    background: #ffffff;
    color: #4338ca;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Auth Forms */
.st-auth-box {
    display: none;
    animation: stFadeIn 0.3s ease;
}

.st-auth-box.active {
    display: block;
}

@keyframes stFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-form-group {
    margin-bottom: 20px;
}

.st-form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.st-form-label {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    display: block;
    margin-bottom: 6px;
}

.st-forgot-link {
    font-size: 12px;
    color: #6366f1;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.st-forgot-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.st-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.st-input-icon {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.st-form-input {
    width: 100% !important;
    padding: 12px 42px 12px 40px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    color: #0f172a !important;
}

.st-form-input:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}

.st-toggle-pwd {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.st-toggle-pwd:hover,
.st-toggle-pwd.showing {
    color: #6366f1;
}

.st-form-actions-row {
    margin-bottom: 20px;
}

.st-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    user-select: none;
}

.st-checkbox-label input[type="checkbox"] {
    accent-color: #6366f1;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.st-btn-primary-gradient {
    width: 100% !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28) !important;
    transition: all 0.25s ease !important;
}

.st-btn-primary-gradient:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.38) !important;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

.st-auth-trust-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 24px;
    gap: 8px;
    flex-wrap: wrap;
}

.st-trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}


/* ── 9.2 USER DASHBOARD LAYOUT & SIDEBAR ── */
.st-account-container {
    padding: 10px 0 60px;
}

.st-account-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 24px;
    align-items: start;
}

/* Navigation Sidebar Card */
.st-account-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 80px;
}

.st-user-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.st-user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.st-user-details {
    overflow: hidden;
}

.st-user-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-user-email {
    font-size: 11px;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.st-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef3c7;
    color: #b45309;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Sidebar Menu */
.st-account-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.st-account-menu-item {
    border-radius: 12px;
    transition: all 0.2s ease;
}

.st-account-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.st-account-menu-link:hover {
    background: #f8fafc;
    color: #0f172a;
}

.st-account-menu-item.active .st-account-menu-link {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.st-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-menu-label {
    flex: 1;
}

.st-menu-arrow {
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.st-account-menu-item.active .st-menu-arrow {
    opacity: 1;
    transform: translateX(-3px);
}

.st-account-menu-item.customer-logout .st-account-menu-link {
    color: #ef4444;
}

.st-account-menu-item.customer-logout .st-account-menu-link:hover {
    background: #fef2f2;
}

/* Support Box in Sidebar */
.st-nav-support-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.st-support-icon { font-size: 24px; margin-bottom: 6px; }

.st-support-info strong { display: block; font-size: 12px; color: #0f172a; }
.st-support-info span { display: block; font-size: 10px; color: #64748b; margin-top: 2px; }

.st-support-btn {
    display: inline-block;
    margin-top: 10px;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.st-support-btn:hover { background: #15803d; }


/* ── 9.3 DASHBOARD CONTENT AREA ── */
.st-account-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* Hero Welcome Banner */
.st-dash-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 28px;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.st-dash-hero-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    filter: blur(40px);
}

.st-dash-greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #c7d2fe;
    margin-bottom: 12px;
}

.st-pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.st-dash-hero-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
}

.st-dash-hero-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px 0;
    max-width: 540px;
    line-height: 1.5;
}

.st-dash-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.st-btn-dash-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.st-btn-dash-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.st-btn-dash-outline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.st-btn-dash-outline:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Stat Cards */
.st-dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.st-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-stat-blue .st-stat-icon-wrap { background: #e0e7ff; color: #4338ca; }
.st-stat-amber .st-stat-icon-wrap { background: #fef3c7; color: #b45309; }
.st-stat-green .st-stat-icon-wrap { background: #d1fae5; color: #047857; }
.st-stat-purple .st-stat-icon-wrap { background: #f3e8ff; color: #6b21a8; }

.st-stat-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.st-stat-number {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
    display: block;
    line-height: 1.2;
}

.st-stat-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

/* Quick Actions Grid */
.st-dash-section {
    margin-bottom: 28px;
}

.st-dash-section-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
}

.st-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.st-quick-action-card {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.st-quick-action-card:hover {
    border-color: #6366f1;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.st-qa-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.st-qa-text {
    flex: 1;
}

.st-qa-text strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    font-weight: 800;
}

.st-qa-text span {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.st-qa-arrow {
    font-size: 16px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.st-quick-action-card:hover .st-qa-arrow {
    color: #6366f1;
    transform: translateX(-4px);
}

/* Orders Table Preview */
.st-dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.st-view-all-link {
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    text-decoration: none;
}

.st-table-responsive-wrap {
    overflow-x: auto;
}

.st-dash-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.st-dash-orders-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.st-dash-orders-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-weight: 600;
}

.st-order-id-link {
    color: #4338ca;
    font-weight: 800;
    text-decoration: none;
}

.st-order-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

.status-completed { background: #d1fae5; color: #047857; }
.status-processing { background: #fef3c7; color: #b45309; }
.status-failed { background: #fee2e2; color: #b91c1c; }
.status-default { background: #f1f5f9; color: #475569; }

.st-btn-view-order {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.st-btn-view-order:hover {
    background: #6366f1;
    color: #ffffff;
}

.st-dash-empty-orders {
    text-align: center;
    padding: 36px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
}

.st-empty-icon { font-size: 36px; margin-bottom: 8px; }
.st-dash-empty-orders h4 { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 6px 0; }
.st-dash-empty-orders p { font-size: 13px; color: #64748b; margin: 0 0 14px 0; }


/* ── 9.4 MOBILE ACCOUNT RESPONSIVE ── */
@media (max-width: 991px) {
    .st-account-layout {
        grid-template-columns: 1fr !important;
    }
    
    .st-account-sidebar {
        position: static !important;
    }
    
    .st-dash-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .st-quick-actions-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Generic WooCommerce Forms inside Dashboard */
.st-account-card-box form.woocommerce-EditAccountForm input.input-text,
.st-account-card-box form.woocommerce-address-fields input.input-text,
.st-account-card-box .woocommerce-Input--text {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    color: #0f172a !important;
}

.st-account-card-box form.woocommerce-EditAccountForm input.input-text:focus,
.st-account-card-box form.woocommerce-address-fields input.input-text:focus,
.st-account-card-box .woocommerce-Input--text:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}

.st-account-card-box button.button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25) !important;
    transition: all 0.25s ease !important;
}

.st-account-card-box button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.35) !important;
}

/* --------------------------------------------------
   10. ULTRA-PROFESSIONAL SINGLE PRODUCT PAGE STYLES v3
-------------------------------------------------- */
.single-product .site-main {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.st-single-product-wrapper {
    padding: 10px 0 60px;
}

.st-sp-breadcrumb-wrap {
    margin-bottom: 18px;
}

/* 2-Column Hero Grid */
.st-sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
}

/* ── 10.1 GALLERY COLUMN ── */
.st-sp-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    position: relative;
}

.st-sp-badges-wrap {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.st-sp-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.st-sp-badge-sale {
    background: #e53e3e;
    color: #ffffff;
}

.st-sp-badge-dollar {
    background: #f59e0b;
    color: #ffffff;
}

.st-sp-badge-shipping {
    background: #0f172a;
    color: #ffffff;
}

.st-sp-main-image-wrap {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.st-sp-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.st-sp-main-image-wrap:hover .st-sp-main-img {
    transform: scale(1.04);
}

.st-sp-thumbs-grid {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.st-sp-thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.st-sp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.st-sp-thumb-item:hover,
.st-sp-thumb-item.active {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}


/* ── 10.2 PRODUCT INFO COLUMN ── */
.st-sp-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.st-sp-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.st-sp-cat-tag {
    background: #eef2ff;
    color: #4338ca;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
}

.st-sp-rating-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.st-sp-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

.st-sp-rating-score {
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
}

.st-sp-rating-count {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.st-sp-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 0 16px 0 !important;
}

/* Price Box */
.st-sp-price-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.st-sp-price-main {
    font-size: 24px;
    font-weight: 900;
    color: #e53e3e;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.st-sp-price-main ins {
    text-decoration: none;
    color: #e53e3e;
}

.st-sp-price-main del {
    font-size: 16px;
    color: #94a3b8;
    font-weight: 600;
}

.st-sp-savings-tag {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
}

.st-sp-short-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

/* Delivery & Stock Card */
.st-sp-delivery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-sp-delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
}

.st-sp-del-icon { font-size: 16px; flex-shrink: 0; }

.st-sp-delivery-item strong { color: #0f172a; font-weight: 800; }
.st-sp-delivery-item span { color: #64748b; font-weight: 600; }
.st-sp-stock-text { color: #059669 !important; font-weight: 800 !important; }

/* Add to Cart Actions */
.st-sp-actions-box {
    margin-bottom: 22px;
}

.st-sp-qty-cart-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.st-sp-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    height: 48px;
    flex-shrink: 0;
}

.st-qty-btn {
    background: none;
    border: none;
    width: 38px;
    height: 100%;
    font-size: 18px;
    font-weight: 800;
    color: #334155;
    cursor: pointer;
    transition: background 0.2s ease;
}

.st-qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.st-qty-input {
    width: 44px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield;
}

.st-qty-input::-webkit-outer-spin-button,
.st-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.st-sp-btn-add-cart {
    flex: 1;
    height: 48px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 18px rgba(229, 62, 62, 0.28) !important;
    transition: all 0.25s ease !important;
}

.st-sp-btn-add-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(229, 62, 62, 0.38) !important;
    background: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%) !important;
}

.st-sp-btn-whatsapp {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
    transition: all 0.2s ease;
}

.st-sp-btn-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.st-out-stock-msg {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
}

/* Guarantees Bar */
.st-sp-guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.st-g-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
}


/* ── 10.3 PRODUCT TABS & REVIEWS ── */
.st-sp-tabs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    display: flex !important;
    gap: 8px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.woocommerce-tabs ul.tabs li {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -2px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: #6366f1 !important;
    border-bottom-color: #6366f1 !important;
}

.woocommerce-Tabs-panel {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

.woocommerce-Tabs-panel h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
}

/* Related Products Grid Alignment */
.related.products {
    margin-top: 40px !important;
}

.related.products h2 {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
}

/* Single Product Mobile Responsive */
@media (max-width: 991px) {
    .st-sp-grid {
        grid-template-columns: 1fr !important;
    }
    
    .st-sp-main-image-wrap {
        height: 320px !important;
    }
}


/* --------------------------------------------------
   11. ULTRA-PROFESSIONAL CART PAGE STYLES v3
-------------------------------------------------- */

/* Global Centering for WooCommerce Cart Container */
.woocommerce-cart .entry-content,
.woocommerce-cart .woocommerce,
.st-cart-page-layout,
.st-cart-empty-wrapper {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Suppress redundant default WooCommerce empty cart text paragraph */
p.cart-empty.woocommerce-info,
.woocommerce-cart p.cart-empty,
p.cart-empty {
    display: none !important;
}

/* ── 11.0 ULTRA-PROFESSIONAL NOTIFICATIONS / TOAST SYSTEM ── */
.woocommerce-notices-wrapper {
    max-width: 1180px !important;
    margin: 0 auto 24px !important;
    width: 100% !important;
    clear: both !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative !important;
    padding: 14px 20px 14px 54px !important;
    border-radius: 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    margin: 0 auto 20px !important;
    max-width: 1180px !important;
    width: 100% !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    border: 1.5px solid transparent !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    text-align: right !important;
    display: block !important;
    overflow: hidden !important;
}

/* Success Notice (.woocommerce-message) */
.woocommerce-message {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
}

.woocommerce-message::before {
    content: '✅' !important;
    font-size: 20px !important;
    position: absolute !important;
    right: 18px !important;
    top: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Info Notice (.woocommerce-info) */
.woocommerce-info {
    background: #eef2ff !important;
    border-color: #a5b4fc !important;
    color: #3730a3 !important;
}

.woocommerce-info::before {
    content: 'ℹ️' !important;
    font-size: 20px !important;
    position: absolute !important;
    right: 18px !important;
    top: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Error Notice (.woocommerce-error) */
.woocommerce-error {
    background: #fff1f2 !important;
    border-color: #fca5a5 !important;
    color: #9f1239 !important;
    list-style: none !important;
}

.woocommerce-error::before,
.woocommerce-error li::before {
    content: '⚠️' !important;
    font-size: 20px !important;
    position: absolute !important;
    right: 18px !important;
    top: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/* Action Button inside Notices (e.g., متابعة التسوق / عرض السلة) */
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-message a.button.wc-forward,
.woocommerce-info a.button.wc-forward {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    float: left !important;
    order: 99 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    line-height: 1.4 !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    transform: translateY(-1px) !important;
}


/* ── 11.1 EMPTY CART STYLES ── */
.st-cart-empty-wrapper {
    padding: 20px 0 60px;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.st-cart-empty-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 48px 32px;
    max-width: 580px;
    margin: 0 auto 48px !important;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.st-cart-empty-icon-wrap {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.st-cart-empty-glow {
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
}

.st-cart-empty-title {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
}

.st-cart-empty-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 28px 0;
    line-height: 1.6;
    font-weight: 500;
}

.st-btn-empty-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.3);
    transition: all 0.25s ease;
}

.st-btn-empty-shop:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.st-empty-features-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: 32px;
    gap: 12px;
    flex-wrap: wrap;
}

.st-ef-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
}

.st-ef-item span { font-size: 16px; }

/* Recommended Section Below Empty Cart */
.st-cart-recommended-section {
    margin-top: 40px;
}

.st-rec-header {
    text-align: center;
    margin-bottom: 24px;
}

.st-rec-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.st-rec-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}


/* ── 11.2 CART WITH PRODUCTS LAYOUT ── */
.st-cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    padding: 10px 0 60px;
    max-width: 1180px !important;
    margin: 0 auto !important;
}


/* Cart Items Container Card */
.st-cart-items-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.st-cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.st-cart-items-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.st-cart-items-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.st-cart-items-count {
    background: #eef2ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
}

.st-cart-continue-link {
    font-size: 12px;
    font-weight: 800;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.st-cart-continue-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Cart Table Styling */
.st-cart-table-wrap {
    overflow-x: auto;
}

.st-cart-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.st-cart-table thead tr th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    padding: 12px 14px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    text-align: right !important;
}

.st-cart-table tbody tr.cart_item {
    background: #ffffff !important;
    transition: background 0.2s ease !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.st-cart-table tbody tr.cart_item:hover {
    background: #f8fafc !important;
}

.st-cart-table tbody tr.cart_item td {
    padding: 16px 14px !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.st-cart-table td::before {
    display: none !important;
    content: "" !important;
}

/* Item Thumbnail */
.st-cart-table th.product-thumbnail,
.st-cart-table td.product-thumbnail {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    padding: 12px 6px 12px 14px !important;
}

.st-cart-table td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    display: block !important;
}

/* Item Title Column - Wide & Clean Flow */
.st-cart-table th.product-name,
.st-cart-table td.product-name {
    text-align: right !important;
    padding: 12px 14px !important;
    min-width: 240px !important;
    width: auto !important;
}

.st-cart-item-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    line-height: 1.6 !important;
    display: inline-block !important;
    word-break: normal !important;
    white-space: normal !important;
    transition: color 0.2s ease !important;
}

.st-cart-item-title:hover {
    color: #6366f1 !important;
}

/* Unit Price */
.st-cart-table th.product-price,
.st-cart-table td.product-price {
    text-align: center !important;
    white-space: nowrap !important;
    width: 100px !important;
    min-width: 100px !important;
}

.st-cart-unit-price {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

/* Subtotal Price */
.st-cart-table th.product-subtotal,
.st-cart-table td.product-subtotal {
    text-align: center !important;
    white-space: nowrap !important;
    width: 110px !important;
    min-width: 110px !important;
}

.st-cart-subtotal-val {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #e53e3e !important;
}

/* Quantity Input inside Cart Table */
.st-cart-table td.product-quantity {
    text-align: center !important;
}

.st-cart-table .quantity input.qty {
    width: 58px !important;
    height: 38px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.st-cart-table .quantity input.qty:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

/* Remove Button (Far Left in RTL) */
.st-cart-table td.product-remove {
    text-align: center !important;
    width: 44px !important;
}

.st-cart-remove-btn,
.st-cart-table td.product-remove a.remove {
    width: 32px !important;
    height: 32px !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

.st-cart-remove-btn:hover,
.st-cart-table td.product-remove a.remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

/* Actions TD (Coupon & Update) */
.st-cart-actions-td {
    border: none !important;
    padding: 20px 0 0 0 !important;
    background: transparent !important;
}

.st-cart-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.st-coupon-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none !important;
}

.st-coupon-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.st-coupon-icon {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 15px !important;
    pointer-events: none !important;
    z-index: 2 !important;
    line-height: 1 !important;
}

.st-coupon-input {
    padding: 10px 44px 10px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    outline: none !important;
    width: 200px !important;
}

.st-coupon-input:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
}

.st-btn-apply-coupon {
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.st-btn-apply-coupon:hover {
    background: #1e293b !important;
}

.st-btn-update-cart {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.st-btn-update-cart:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}


/* ── 11.3 CART TOTALS SIDEBAR ── */
.st-cart-totals-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 80px;
}

.st-totals-header {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.st-totals-title {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.st-totals-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.st-totals-table th,
.st-totals-table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13px !important;
}

.st-totals-table th {
    color: #64748b !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.st-totals-table td {
    color: #0f172a !important;
    font-weight: 800 !important;
    text-align: left !important;
}

.st-order-total-row th,
.st-order-total-row td {
    font-size: 16px !important;
    font-weight: 900 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

.st-order-total-row td {
    color: #e53e3e !important;
}

.st-proceed-checkout-wrap {
    margin-bottom: 16px;
}

.st-btn-checkout-primary {
    width: 100% !important;
    height: 50px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.st-btn-checkout-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.4) !important;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
}

.st-totals-trust-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
}

.st-tt-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}


/* ── 11.4 CART MOBILE RESPONSIVE ── */
@media (max-width: 991px) {
    .st-cart-page-layout {
        grid-template-columns: 1fr !important;
    }
    
    .st-cart-totals-card {
        position: static !important;
    }
}

@media (max-width: 576px) {
    .st-cart-items-card,
    .st-cart-totals-card,
    .st-cart-empty-card {
        padding: 18px !important;
    }
    
    .st-cart-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .st-coupon-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    
    .st-coupon-input {
        width: 100% !important;
    }
    
    .st-btn-update-cart {
        justify-content: center;
    }
}


/* --------------------------------------------------
   12. ULTRA-PROFESSIONAL REVIEW FORM & RATING STARS
-------------------------------------------------- */

/* Star Rating Picker (Interactive Stars) */
p.stars {
    display: inline-flex !important;
    gap: 4px !important;
    margin: 6px 0 18px 0 !important;
}

p.stars span {
    display: flex !important;
    gap: 6px !important;
}

p.stars span a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    font-size: 0 !important;
    color: transparent !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    transition: all 0.2s ease !important;
}

p.stars span a::before {
    content: '★' !important;
    text-indent: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 20px !important;
    line-height: 32px !important;
    color: #94a3b8 !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
}

p.stars span a:hover::before,
p.stars span a:hover ~ a::before,
p.stars span a.active::before,
p.stars span a.active ~ a::before {
    color: #f59e0b !important;
}

p.stars span a:hover,
p.stars span a.active {
    background: #fffbeb !important;
}

/* Star Rating Display (Read-only Stars in Reviews) */
.star-rating {
    overflow: hidden !important;
    position: relative !important;
    height: 1.2em !important;
    line-height: 1.2em !important;
    font-size: 14px !important;
    width: 5.4em !important;
    font-family: Arial, sans-serif !important;
    color: #f59e0b !important;
    letter-spacing: 2px !important;
}

.star-rating::before {
    content: '★★★★★' !important;
    color: #cbd5e1 !important;
    float: left !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
}

.star-rating span {
    overflow: hidden !important;
    float: left !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
    padding-top: 1.5em !important;
}

.star-rating span::before {
    content: '★★★★★' !important;
    top: 0 !important;
    position: absolute !important;
    left: 0 !important;
    color: #f59e0b !important;
}

/* Review Form Layout & Inputs */
#review_form_wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

#review_form #reply-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
    display: block !important;
}

.comment-form-rating label,
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    display: block !important;
    margin-bottom: 8px !important;
}

#commentform textarea#comment {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    color: #0f172a !important;
    min-height: 120px !important;
    resize: vertical !important;
    margin-bottom: 16px !important;
}

#commentform textarea#comment:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}

.comment-form-author,
.comment-form-email {
    margin-bottom: 16px !important;
}

#commentform input#author,
#commentform input#email {
    width: 100% !important;
    max-width: 420px !important;
    padding: 12px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    color: #0f172a !important;
}

#commentform input#author:focus,
#commentform input#email:focus {
    border-color: #6366f1 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12) !important;
}

.comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 20px !important;
}

.comment-form-cookies-consent input[type="checkbox"] {
    accent-color: #6366f1 !important;
    width: 16px !important;
    height: 16px !important;
}

#commentform input#submit {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28) !important;
    transition: all 0.25s ease !important;
}

#commentform input#submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.38) !important;
}







