/* ============================================================
   SHREEJICART - MAIN STYLESHEET v1.0.0
   Bootstrap 5 + Custom Design System
   ============================================================ */

/* ---------------------------------------------------------------
   1. CSS VARIABLES (defaults - overridden dynamically by PHP)
--------------------------------------------------------------- */
:root {
    --sc-primary: #2563eb;
    --sc-secondary: #1e40af;
    --sc-accent: #f59e0b;
    --sc-text: #1f2937;
    --sc-text-muted: #6b7280;
    --sc-body-bg: #ffffff;
    --sc-header-bg: #ffffff;
    --sc-footer-bg: #111827;
    --sc-border: #e5e7eb;
    --sc-light-bg: #f9fafb;
    --sc-font-size: 16px;
    --sc-font-family: 'Poppins', sans-serif;
    --sc-radius: 10px;
    --sc-radius-lg: 18px;
    --sc-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --sc-shadow-hover: 0 8px 40px rgba(37, 99, 235, 0.18);
    --sc-transition: all 0.3s ease;
    --sc-hero-min-h: 80vh;
}

/* ---------------------------------------------------------------
   2. BASE RESET & GLOBAL
--------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sc-font-family);
    font-size: var(--sc-font-size);
    color: var(--sc-text);
    background-color: var(--sc-body-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.has-preloader {
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--sc-primary);
    text-decoration: none;
    transition: var(--sc-transition);
}

a:hover {
    color: var(--sc-secondary);
}

::selection {
    background: var(--sc-primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--sc-primary);
    border-radius: 4px;
}

/* ---------------------------------------------------------------
   3. PRELOADER
--------------------------------------------------------------- */
#sc-preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#sc-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sc-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--sc-primary);
    border-radius: 50%;
    animation: sc-spin 0.8s linear infinite;
}

@keyframes sc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
--------------------------------------------------------------- */
.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.text-primary {
    color: var(--sc-primary) !important;
}

.sc-section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: var(--sc-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.sc-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--sc-text);
    line-height: 1.2;
}

.sc-section-title-lg {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--sc-text);
    line-height: 1.15;
}

.sc-section-text {
    font-size: 1rem;
    color: var(--sc-text-muted);
    line-height: 1.7;
    max-width: 520px;
}

.sc-section-header {
    position: relative;
}

/* ---------------------------------------------------------------
   5. BUTTONS
--------------------------------------------------------------- */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--sc-transition);
}

.btn-primary {
    background-color: var(--sc-primary) !important;
    border-color: var(--sc-primary) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--sc-secondary) !important;
    border-color: var(--sc-secondary) !important;
    transform: translateY(-2px);
    box-shadow: var(--sc-shadow-hover);
}

.btn-outline-primary {
    color: var(--sc-primary) !important;
    border-color: var(--sc-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--sc-primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.sc-btn,
.sc-btn-hero {
    padding: 0.7rem 2rem;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------------
   6. TOPBAR
--------------------------------------------------------------- */
.sc-topbar {
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
}

.sc-topbar-social a {
    color: inherit;
    opacity: 0.8;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.sc-topbar-social a:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .sc-topbar {
        font-size: 0.69rem;
    }
}

@media (max-width: 450.98px) {
    .sc-topbar {
        font-size: 0.625rem;
    }
}

/* ---------------------------------------------------------------
   7. HEADER
--------------------------------------------------------------- */
.sc-header {
    background: var(--sc-header-bg);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.sc-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.sc-header-main {
    padding: 0;
}

.sc-navbar {
    padding: 0;
    min-height: 70px;
}

/* Logo */
.sc-logo-wrap {
    padding: 12px 0;
}

.sc-logo {
    transition: var(--sc-transition);
}

.sc-logo:hover {
    opacity: 0.85;
}

.sc-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sc-primary);
    letter-spacing: -0.5px;
}

/* Nav links */
.sc-main-nav .nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sc-text) !important;
    padding: 8px 14px !important;
    position: relative;
    letter-spacing: 0.2px;
}

.sc-main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--sc-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sc-main-nav .nav-link:hover::after,
.sc-main-nav .nav-item.active>.nav-link::after {
    transform: scaleX(1);
}

.sc-main-nav .nav-link:hover {
    color: var(--sc-primary) !important;
}

.sc-main-nav .nav-item.active>.nav-link {
    color: var(--sc-primary) !important;
}

/* Dropdown */
.sc-main-nav .dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: var(--sc-radius);
    padding: 8px;
    min-width: 200px;
    animation: sc-dropdown 0.2s ease;
}

@keyframes sc-dropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.sc-main-nav .dropdown-item {
    border-radius: 6px;
    font-size: 0.87rem;
    font-weight: 500;
    padding: 8px 14px;
    color: var(--sc-text);
}

.sc-main-nav .dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--sc-primary);
}

/* Header icons */
.sc-header-actions {
    gap: 4px;
}

.sc-icon-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-text);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--sc-transition);
    text-decoration: none;
    position: relative;
}

.sc-icon-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--sc-primary);
}

/* Cart button */
.sc-cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--sc-text);
    font-size: 1rem;
    transition: var(--sc-transition);
    text-decoration: none;
}

.sc-cart-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--sc-primary);
}

.sc-cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--sc-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--sc-transition);
    pointer-events: none;
}

.sc-cart-count.has-items {
    opacity: 1;
}

/* Mini cart */
.sc-cart-wrap {
    position: relative;
}

.sc-mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: var(--sc-radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--sc-transition);
}

.sc-cart-wrap:hover .sc-mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Hamburger */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.sc-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sc-text);
    border-radius: 2px;
    transition: var(--sc-transition);
}

/* Search Overlay */
.sc-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--sc-transition);
}

.sc-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sc-search-box {
    position: relative;
    padding: 0 15px;
}

.sc-search-form {
    display: flex;
    align-items: center;
}

.sc-search-input {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--sc-radius-lg);
    padding: 16px 60px 16px 24px;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    font-family: var(--sc-font-family);
}

.sc-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sc-search-submit {
    position: absolute;
    right: 70px;
    background: var(--sc-primary);
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.sc-search-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--sc-transition);
}

.sc-search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Page Banner */
.sc-page-banner {
    background: linear-gradient(135deg, var(--sc-light-bg) 0%, #e8f0fe 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--sc-border);
}

.sc-page-banner-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--sc-text);
    margin-bottom: 8px;
}

.sc-page-banner .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.sc-page-banner .breadcrumb-item a {
    color: var(--sc-primary);
}

/* ---------------------------------------------------------------
   8. HERO SECTION
--------------------------------------------------------------- */
.sc-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    min-height: var(--sc-hero-min-h);
    display: flex;
    align-items: center;
}

.sc-hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.sc-title-dark {
    color: var(--sc-text);
}

.sc-title-blue {
    color: var(--sc-primary);
}

.sc-hero-subtitle {
    font-size: 1.05rem;
    color: var(--sc-text-muted);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.sc-badge-primary {
    background: var(--sc-primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

.sc-hero-price-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    padding: 10px 20px;
    margin-top: 24px;
    box-shadow: var(--sc-shadow);
}

.sc-price-label {
    font-size: 0.78rem;
    color: var(--sc-text-muted);
    display: block;
}

.sc-price-val ins {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sc-primary);
    text-decoration: none;
}

.sc-price-val del {
    font-size: 0.9rem;
    color: var(--sc-text-muted);
    margin-right: 8px;
}

/* Product image container */
.sc-hero-img-container {
    position: relative;
    display: inline-block;
    max-width: 540px;
}

.sc-hero-bg-shape {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.sc-hero-product-img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    animation: sc-float 4s ease-in-out infinite;
}

@keyframes sc-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Decorative dots */
.sc-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.sc-dot-1 {
    width: 16px;
    height: 16px;
    background: var(--sc-primary);
    opacity: 0.6;
    top: 10%;
    right: 8%;
    animation: sc-bounce 2s infinite;
}

.sc-dot-2 {
    width: 10px;
    height: 10px;
    background: var(--sc-accent);
    opacity: 0.7;
    bottom: 20%;
    left: 5%;
    animation: sc-bounce 2.5s infinite 0.5s;
}

.sc-dot-3 {
    width: 22px;
    height: 22px;
    background: rgba(37, 99, 235, 0.15);
    top: 30%;
    left: -10px;
}

.sc-dash {
    position: absolute;
    height: 5px;
    border-radius: 5px;
    z-index: 0;
}

.sc-dash-1 {
    width: 48px;
    background: var(--sc-primary);
    opacity: 0.5;
    top: 15%;
    left: 10%;
    transform: rotate(-45deg);
}

.sc-dash-2 {
    width: 32px;
    background: var(--sc-accent);
    opacity: 0.6;
    bottom: 25%;
    right: 5%;
    transform: rotate(30deg);
}

@keyframes sc-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Hero wave */
.sc-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.sc-hero-wave svg {
    width: 100%;
}

/* ---------------------------------------------------------------
   9. PROMO PRODUCT SECTION
--------------------------------------------------------------- */
.sc-promo-section {
    background: #fff;
}

.sc-promo-img-wrap {
    position: relative;
    display: inline-block;
}

.sc-promo-img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.10));
    max-width: 460px;
}

.sc-promo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sc-promo-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sc-primary);
}

.sc-promo-price ins {
    text-decoration: none;
}

.sc-promo-price del {
    font-size: 1rem;
    color: var(--sc-text-muted);
    margin-right: 8px;
}

/* ---------------------------------------------------------------
   10. VIDEO SECTION
--------------------------------------------------------------- */
.sc-video-section {
    position: relative;
    height: 500px;
    background: #0a0a0a;
    overflow: hidden;
}

.sc-video-bg {
    position: absolute;
    inset: -50px;
    pointer-events: none;
}

.sc-video-bg iframe {
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
    opacity: 0.65;
    transform: scale(1.1);
}

.sc-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.sc-video-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.sc-play-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-play-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    padding-left: 5px;
    transition: var(--sc-transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.sc-play-btn:hover .sc-play-icon {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
    transform: scale(1.1);
}

.sc-play-ripple {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: sc-ripple 2s infinite;
}

@keyframes sc-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ---------------------------------------------------------------
   11. STATS SECTION
--------------------------------------------------------------- */
.sc-stats-section {
    background: var(--sc-light-bg);
}

.sc-stats-grid {}

.sc-stat-card {
    background: #fff;
    border-radius: var(--sc-radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--sc-shadow);
    border: 1px solid var(--sc-border);
    transition: var(--sc-transition);
}

.sc-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sc-shadow-hover);
    border-color: var(--sc-primary);
}

.sc-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--sc-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.sc-count-suffix {
    font-size: 1.6rem;
}

.sc-stat-label {
    font-size: 0.85rem;
    color: var(--sc-text-muted);
    font-weight: 500;
}

/* ---------------------------------------------------------------
   12. FEATURES SECTION
--------------------------------------------------------------- */
.sc-features-section {
    background: #fff;
}

.sc-features-img-wrap {
    position: relative;
    display: inline-block;
}

.sc-features-img {
    position: relative;
    z-index: 1;
    max-width: 420px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.sc-features-bg-circle {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sc-features-list {
    margin-bottom: 0;
}

.sc-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--sc-border);
    font-size: 0.97rem;
    font-weight: 500;
    transition: var(--sc-transition);
}

.sc-feature-item:last-child {
    border-bottom: none;
}

.sc-feature-item:hover {
    color: var(--sc-primary);
    padding-left: 6px;
}

.sc-feature-check {
    width: 28px;
    height: 28px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--sc-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: var(--sc-transition);
}

.sc-feature-item:hover .sc-feature-check {
    background: var(--sc-primary);
    color: #fff;
}

.sc-features-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sc-primary);
}

.sc-features-price ins {
    text-decoration: none;
}

.sc-features-price del {
    color: var(--sc-text-muted);
    font-size: 1rem;
    margin-right: 8px;
}

/* ---------------------------------------------------------------
   13. TESTIMONIALS SECTION
--------------------------------------------------------------- */
.sc-testimonials-section {
    background: var(--sc-light-bg);
}

.sc-testimonials-slider {
    padding: 0 8px;
}

.sc-testimonial-slide {
    padding: 0 12px;
}

.sc-testimonial-inner {
    background: #fff;
    border-radius: var(--sc-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--sc-shadow);
    border: 1px solid var(--sc-border);
    position: relative;
    transition: var(--sc-transition);
}

.sc-testimonial-inner:hover {
    box-shadow: var(--sc-shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

.sc-quote-icon {
    color: var(--sc-primary);
    font-size: 2rem;
    opacity: 0.15;
    margin-bottom: 16px;
}

.sc-testimonial-text {
    color: var(--sc-text);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.sc-rating {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.sc-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sc-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sc-border);
}

.sc-author-placeholder {
    background: var(--sc-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-text-muted);
    flex-shrink: 0;
}

.sc-author-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sc-text);
}

.sc-author-role {
    font-size: 0.78rem;
    color: var(--sc-text-muted);
    display: block;
}

/* Slick overrides for testimonials */
.sc-testimonials-slider .slick-dots {
    bottom: -36px;
}

.sc-testimonials-slider .slick-dots li button::before {
    color: var(--sc-primary);
    font-size: 8px;
}

.sc-testimonials-slider .slick-dots li.slick-active button::before {
    color: var(--sc-primary);
}

/* ---------------------------------------------------------------
   14. BRANDS SECTION
--------------------------------------------------------------- */
.sc-brands-section {
    background: #fff;
    border-top: 1px solid var(--sc-border);
}

.sc-brands-label {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.sc-brands-ticker {
    overflow: hidden;
    position: relative;
}

.sc-brands-ticker::before,
.sc-brands-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.sc-brands-ticker::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.sc-brands-ticker::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.sc-brands-track {
    display: flex;
    align-items: center;
    animation: sc-ticker 20s linear infinite;
    width: max-content;
}

.sc-brands-ticker:hover .sc-brands-track {
    animation-play-state: paused;
}

.sc-brand-item {
    flex-shrink: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.sc-brand-item img {
    height: 36px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--sc-transition);
}

.sc-brand-item:hover img {
    filter: none;
    opacity: 1;
}

.sc-brand-name-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sc-text-muted);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: var(--sc-transition);
}

.sc-brand-item:hover .sc-brand-name-text {
    color: var(--sc-primary);
}

@keyframes sc-ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------------------------------------------------------------
   15. FOOTER
--------------------------------------------------------------- */
.sc-footer-main {}

.sc-footer-logo {
    max-height: 40px;
    filter: brightness(0) invert(1);
}

.sc-footer-about {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.8;
}

.sc-footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: block;
}

@media (max-width: 767px) {
    .sc-footer-heading {
        margin-bottom: 0;
        padding: 15px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sc-footer-heading::after {
        content: '\f107';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        opacity: 0.6;
    }

    .sc-footer-heading.active {
        border-bottom-color: transparent;
    }

    .sc-footer-heading.active::after {
        content: '\f106';
        opacity: 1;
    }

    .sc-footer-collapse {
        display: none;
        padding-bottom: 20px;
    }
}

.sc-footer-links {
    list-style: none;
    padding: 0;
}

.sc-footer-links li {
    margin-bottom: 10px;
}

.sc-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--sc-transition);
}

.sc-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Social links */
.sc-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sc-social-links a,
.sc-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--sc-transition);
    text-decoration: none;
}

.sc-social-links a:hover,
.sc-footer-social a:hover {
    background: var(--sc-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Newsletter */
.sc-newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-family: var(--sc-font-family);
}

.sc-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sc-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--sc-primary);
    box-shadow: none;
    color: #fff;
}

.sc-newsletter-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
}

.sc-newsletter-msg {
    font-size: 0.82rem;
}

.sc-newsletter-msg.success {
    color: #4ade80;
}

.sc-newsletter-msg.error {
    color: #f87171;
}

/* Payment icons */
.sc-pay-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    transition: var(--sc-transition);
}

.sc-pay-icon:hover {
    color: #fff;
}

/* Footer bottom */
.sc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.sc-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.sc-footer-bottom-nav {
    list-style: none;
    padding: 0;
}

.sc-footer-bottom-nav .list-inline-item+.list-inline-item {
    margin-left: 12px;
}

.sc-footer-bottom-nav a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.sc-footer-bottom-nav a:hover {
    color: #fff;
}

/* ---------------------------------------------------------------
   16. WOOCOMMERCE - SHOP
--------------------------------------------------------------- */
.sc-shop-wrapper {}

/* ── Single Product: Full Width Layout with contained padding ── */
.sc-single-product-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Force ALL Elementor containers/sections/widgets full width on single product */
.single-product .sc-single-product-wrapper .e-con,
.single-product .sc-single-product-wrapper .elementor-section,
.single-product .sc-single-product-wrapper .elementor-container,
.single-product .sc-single-product-wrapper .elementor-widget-wrap,
.single-product .sc-single-product-wrapper .elementor-widget,
.single-product .sc-single-product-wrapper .elementor-widget-container {
    max-width: 100% !important;
    width: 100% !important;
    --padding-left: 0px !important;
    --padding-right: 0px !important;
    --margin-left: 0px !important;
    --margin-right: 0px !important;
}

/* Override Bootstrap container max-width on single product */
.single-product .sc-single-product-wrapper>.container,
.single-product .sc-single-product-wrapper .woocommerce {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* scsp widget: add shop-page-matching left/right padding, no top padding */
.single-product .scsp-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-left: max(15px, calc((100vw - 1200px) / 2)) !important;
    padding-right: max(15px, calc((100vw - 1200px) / 2)) !important;
}

/* Remove any top padding/margin on Elementor containers that wrap scsp widget */
body.single-product #sc-main .e-con,
body.single-product #sc-main .e-con.e-parent,
body.single-product #sc-main .elementor-section,
body.single-product #sc-main .elementor-widget-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ── CRITICAL: Override Elementor container max-width on single product ── */
/* Confirmed from page source: .e-con-full.e-con.e-parent wraps the widget */
body.single-product .e-con.e-parent,
body.single-product .e-con-full,
body.single-product .e-con {
    --container-max-width: 100% !important;
    --container-widget-max-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.single-product .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove Elementor container padding on single product */
body.single-product #sc-main .e-con {
    --container-max-width: 100%;
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Product card */
.sc-product-card {
    background: #fff;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    transition: var(--sc-transition);
    position: relative;
    height: 100%;
}

.sc-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sc-shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

/* WooCommerce product loop overrides */
.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    transition: var(--sc-transition);
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

.woocommerce ul.products li.product a img {
    margin-bottom: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 600;
    padding: 14px 16px 4px !important;
    color: var(--sc-text);
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.woocommerce ul.products li.product .price {
    padding: 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sc-primary) !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--sc-text-muted) !important;
    font-size: 0.85rem;
    margin-right: 4px;
}

.woocommerce ul.products li.product .button {
    margin: 12px 16px 16px;
    width: calc(100% - 32px);
    background: var(--sc-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 10px !important;
    border: none !important;
    transition: var(--sc-transition) !important;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--sc-secondary) !important;
    transform: translateY(-2px);
}

/* Sale badge */
.sc-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 2;
}

.woocommerce span.onsale {
    background: #ef4444 !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
}

/* Cart / Checkout / My Account */
.woocommerce .cart_totals,
.woocommerce-page .cart_totals {
    border-radius: var(--sc-radius-lg);
    border: 1px solid var(--sc-border);
    padding: 24px;
}

.woocommerce .woocommerce-checkout #payment {
    border-radius: var(--sc-radius-lg);
    background: var(--sc-light-bg);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border-radius: 8px;
    border: 1px solid var(--sc-border);
    padding: 12px 16px;
    font-family: var(--sc-font-family);
    transition: var(--sc-transition);
}

.woocommerce form .form-row input.input-text:focus {
    border-color: var(--sc-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ---------------------------------------------------------------
   17. PAGINATION
--------------------------------------------------------------- */
.sc-pagination .nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sc-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--sc-border);
    border-radius: 8px;
    color: var(--sc-text);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--sc-transition);
    padding: 0 8px;
}

.sc-pagination .page-numbers:hover,
.sc-pagination .page-numbers.current {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
    color: #fff;
}

/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    border: 1px solid var(--sc-border) !important;
    border-radius: 8px !important;
    margin: 0 3px;
    font-weight: 600;
    color: var(--sc-text) !important;
    transition: var(--sc-transition) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--sc-primary) !important;
    border-color: var(--sc-primary) !important;
    color: #fff !important;
}

/* ---------------------------------------------------------------
   18. SIDEBAR & WIDGETS
--------------------------------------------------------------- */
.sc-sidebar .widget {
    margin-bottom: 32px;
}

.sc-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sc-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sc-primary);
    margin-bottom: 20px;
}

.widget_product_search .woocommerce-product-search {
    display: flex;
    border: 1px solid var(--sc-border);
    border-radius: 8px;
    overflow: hidden;
}

.widget_product_search .woocommerce-product-search input[type="search"] {
    border: none;
    padding: 10px 14px;
    flex: 1;
    font-family: var(--sc-font-family);
    outline: none;
}

.widget_product_search .woocommerce-product-search button {
    background: var(--sc-primary);
    border: none;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   19. BLOG
--------------------------------------------------------------- */
.sc-post-card {
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-lg);
    overflow: hidden;
    transition: var(--sc-transition);
}

.sc-post-card:hover {
    box-shadow: var(--sc-shadow);
}

.sc-post-thumb img {
    width: 100%;
    transition: transform 0.4s ease;
}

.sc-post-card:hover .sc-post-thumb img {
    transform: scale(1.04);
}

.sc-post-title a {
    color: var(--sc-text);
    font-weight: 700;
}

.sc-post-title a:hover {
    color: var(--sc-primary);
}

.sc-author-box {
    background: var(--sc-light-bg);
}

/* ---------------------------------------------------------------
   20. BACK TO TOP
--------------------------------------------------------------- */
.sc-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--sc-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--sc-transition);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.sc-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.sc-back-to-top:hover {
    background: var(--sc-secondary);
    transform: translateY(-3px);
}

/* ---------------------------------------------------------------
   21. UTILITY CLASSES
--------------------------------------------------------------- */
.py-lg-7 {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.min-vh-80 {
    min-height: 80vh;
}

.sc-content-area h1,
.sc-content-area h2,
.sc-content-area h3 {
    color: var(--sc-text);
    font-weight: 700;
}

.sc-content-area p {
    line-height: 1.75;
}

/* ---------------------------------------------------------------
   22. ADMIN BAR ADJUSTMENT
--------------------------------------------------------------- */
.admin-bar .sc-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .sc-header {
        top: 46px;
    }
}

/* ---------------------------------------------------------------
   23. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .sc-hero {
        min-height: auto;
        padding: 60px 0 70px;
    }

    .sc-hero-title {
        font-size: 2.6rem;
    }

    .sc-navbar {
        min-height: 60px;
    }

    #scNavbar {
        background: #fff;
        border-top: 1px solid var(--sc-border);
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--sc-radius) var(--sc-radius);
    }

    .sc-main-nav .nav-link::after {
        display: none;
    }

    .sc-main-nav .nav-link {
        padding: 10px 8px !important;
        font-size: 0.95rem;
    }

    .sc-nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sc-header-actions {
        border-top: 1px solid var(--sc-border);
        padding-top: 12px;
        width: 100%;
    }

    .sc-mini-cart-dropdown {
        right: -20px;
        width: 280px;
    }

    .sc-video-section {
        height: 360px;
    }
}

@media (max-width: 767.98px) {
    .sc-hero {
        padding: 50px 0;
    }

    .sc-hero-title {
        font-size: 2rem;
    }

    .sc-hero-image-wrap {
        margin-top: 40px;
    }

    .sc-hero-product-img {
        max-width: 300px;
    }

    .sc-hero-bg-shape {
        width: 280px;
        height: 280px;
    }

    .sc-promo-img {
        max-width: 300px;
    }

    .sc-features-img {
        max-width: 280px;
    }

    .sc-features-bg-circle {
        width: 260px;
        height: 260px;
    }

    .sc-stat-number {
        font-size: 1.8rem;
    }

    .sc-video-section {
        height: 280px;
    }

    .sc-play-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .sc-testimonial-inner {
        padding: 24px 20px;
    }

    .sc-footer-bottom .col-md-6 {
        text-align: center !important;
    }

    .py-lg-7 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .sc-topbar-right .d-none {
        display: none !important;
    }

    .sc-back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .sc-hero-title {
        font-size: 1.8rem;
    }

    .sc-hero-subtitle {
        font-size: 0.9rem;
    }

    .sc-section-title-lg {
        font-size: 1.6rem;
    }

    .sc-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .sc-stats-grid .col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .sc-page-banner {
        padding: 24px 0;
    }

    .sc-page-banner-title {
        font-size: 1.2rem;
    }

    .sc-newsletter-form .input-group {
        flex-wrap: nowrap;
    }
}



/* ---------------------------------------------------------------
   24. AOS ANIMATIONS CUSTOM
--------------------------------------------------------------- */
[data-aos] {
    transition-property: transform, opacity;
}

/* ---------------------------------------------------------------
   25. WOOCOMMERCE RESPONSIVE COLUMNS
--------------------------------------------------------------- */
.woocommerce ul.products.columns-3 li.product {
    width: 30.75% !important;
}

body.woocommerce-account .woocommerce ul.products.columns-3 li.product {
    width: 45% !important;
    margin-right: 5% !important;
}

.woocommerce ul.products.columns-4 li.product {
    width: 22.05% !important;
}

@media (max-width: 991px) {
    .woocommerce ul.products.columns-3 li.product {
        width: 48% !important;
        margin-right: 4% !important;
    }

    .woocommerce ul.products.columns-3 li.product:nth-child(2n) {
        margin-right: 0 !important;
    }

    .woocommerce ul.products.columns-3 li.product:nth-child(2n+1) {
        clear: both !important;
    }
}

@media (max-width: 768px) {

    .woocommerce ul.products.columns-3 li.product,
    .woocommerce ul.products.columns-4 li.product {
        width: 48% !important;
        margin-right: 4% !important;
    }

    .woocommerce ul.products.columns-3 li.product:nth-child(2n),
    .woocommerce ul.products.columns-4 li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {

    .woocommerce ul.products.columns-3 li.product,
    .woocommerce ul.products.columns-2 li.product,
    .woocommerce ul.products.columns-4 li.product {
        width: 100% !important;
        margin-right: 0 !important;
        clear: both !important;
    }
}

/* ---------------------------------------------------------------
   26. PRINT STYLES
--------------------------------------------------------------- */
@media print {

    .sc-header,
    .sc-footer,
    .sc-back-to-top,
    .sc-topbar {
        display: none !important;
    }

    .sc-main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ---------------------------------------------------------------
   27. GLOBAL OVERFLOW & TOPBAR RESPONSIVE FIX
--------------------------------------------------------------- */

/* Fix horizontal scroll on all screens */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Fix search overlay overflow */
.sc-search-overlay {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden;
}

/* Fix video section overflow */
.sc-video-section {
    overflow: hidden !important;
}

/* Fix slick slider overflow */
.slick-list {
    overflow: hidden !important;
}

/* Fix brands ticker overflow */
.sc-brands-ticker {
    overflow: hidden !important;
    max-width: 100% !important;
}

/* Topbar container full width */
.sc-topbar .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Topbar inner never wraps */
.sc-topbar-inner {
    flex-wrap: nowrap !important;
    gap: 6px !important;
}

/* Topbar message auto scales */
.sc-topbar-message {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(0.5rem, 2vw, 0.8rem) !important;
}

/* Topbar right icons always visible */
.sc-topbar-right {
    flex: 0 0 auto !important;
}

.sc-topbar-social a {
    font-size: clamp(0.5rem, 2vw, 0.85rem) !important;
}

/* Remove Elementor container default padding on homepage */
.home .e-con {
    --padding-top: 0px !important;
    --padding-right: 0px !important;
    --padding-bottom: 0px !important;
    --padding-left: 0px !important;
    padding: 0 !important;
}

/* ── Elementor Cart Widget Styles ── */
.sc-cart-page table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.sc-cart-page table.shop_table thead th {
    background-color: #f8fafc !important;
    padding: 14px 16px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.sc-cart-page table.shop_table td {
    padding: 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    vertical-align: middle !important;
}

.sc-cart-page .cart_totals {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 24px !important;
    background: #fff !important;
}

.sc-cart-page .wc-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    padding: 14px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.sc-cart-page a.remove {
    color: #ef4444 !important;
    font-weight: 700 !important;
}

.sc-cart-page .quantity input.qty {
    width: 70px !important;
    padding: 8px 10px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    text-align: center !important;
}

/* Force WooCommerce pages to full width */
.woocommerce-checkout .col-lg-8,
.woocommerce-cart .col-lg-8,
.woocommerce-account .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.woocommerce-checkout .sc-page-content,
.woocommerce-cart .sc-page-content,
.woocommerce-account .sc-page-content {
    padding: 0 !important;
}

/* Cart totals coupon fix */
.sc-totals-coupon-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    width: 100% !important;
}

.sc-totals-coupon-input {
    flex: 1 !important;
    padding: 9px 12px !important;
    border: 1px solid #e5e7eb !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    font-size: 0.85rem !important;
    outline: none !important;
    background: #fff !important;
    width: auto !important;
}

.sc-totals-coupon-btn {
    padding: 9px 14px !important;
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border: 1px solid var(--sc-primary, #2563eb) !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    width: auto !important;
}

/* Cart totals coupon sizing fix */
.sc-totals-coupon-form {
    display: flex !important;
    align-items: stretch !important;
}

.sc-totals-coupon-input {
    flex: 1 !important;
    min-width: 0 !important;
    width: 0 !important;
    padding: 8px 10px !important;
    font-size: 0.8rem !important;
}

.sc-totals-coupon-btn {
    flex-shrink: 0 !important;
    padding: 8px 12px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
}


/* ── Shop Page Fixes ── */

/* Sale badge - force theme blue */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale,
body.woocommerce span.onsale,
body.woocommerce-page span.onsale {
    background-color: var(--sc-primary, #2563eb) !important;
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    margin: 0 !important;
}

/* Sorting dropdown */
body.woocommerce .woocommerce-ordering select,
body.woocommerce-page .woocommerce-ordering select {
    padding: 8px 32px 8px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    color: var(--sc-text, #1f2937) !important;
    background-color: #fff !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    outline: none !important;
    height: auto !important;
}

/* Result count */
.woocommerce-result-count {
    font-size: 0.88rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
}

/* Product image consistent height */
.woocommerce ul.products li.product a img {
    height: 220px !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* Hide View cart link in shop loop */
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* Sorting dropdown */
.woocommerce-ordering select {
    padding: 8px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    color: #1f2937 !important;
    background: #fff !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-appearance: none !important;
    min-width: 160px !important;
}

/* ── WooCommerce Cart Notice - Attractive Style ── */
.woocommerce-message {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: none !important;
    border-left: 4px solid #16a34a !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: #166534 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.1) !important;
    position: relative !important;
}

/* Green check icon before message */
.woocommerce-message::before {
    content: '\f058' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    color: #16a34a !important;
    flex-shrink: 0 !important;
}

/* View cart link inside notice */
.woocommerce-message .button.wc-forward,
.woocommerce-message a.button {
    background: #16a34a !important;
    color: #fff !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    margin-left: auto !important;
    white-space: nowrap !important;
    transition: opacity 0.2s !important;
    float: none !important;
}

.woocommerce-message .button.wc-forward:hover,
.woocommerce-message a.button:hover {
    opacity: 0.9 !important;
    background: #16a34a !important;
    color: #fff !important;
}

/* Error notice */
.woocommerce-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border: none !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    color: #991b1b !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1) !important;
    list-style: none !important;
}

/* Info notice */
.woocommerce-info {
    background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 100%) !important;
    border: none !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    color: #1e40af !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1) !important;
}

/* Hide default WC add-to-cart notices - using toast instead */
.woocommerce-message[role="alert"],
.wc-block-components-notice-banner {
    display: none !important;
}


/* Hide View cart link that appears after add to cart on homepage */
.sc-hero .added_to_cart,
.sc-promo-section .added_to_cart,
.sc-features-section .added_to_cart {
    display: none !important;
}


/* Add to cart button - small, no lift */
.woocommerce ul.products li.product .sc-product-actions {
    padding: 8px 16px 16px !important;
    text-align: left !important;
}

.woocommerce ul.products li.product .sc-product-actions .button {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 8px 20px !important;
    border: none !important;
    transition: background 0.2s ease !important;
    letter-spacing: 0.02em !important;
}

.woocommerce ul.products li.product .sc-product-actions .button:hover {
    background: var(--sc-secondary, #1e40af) !important;
    transform: none !important;
    box-shadow: none !important;
}

.woocommerce ul.products li.product .button.loading {
    opacity: 0.7 !important;
}

.woocommerce ul.products li.product .button.added {
    background: #16a34a !important;
}

@media (max-width: 575px) {
    .woocommerce ul.products li.product .sc-product-actions .button {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        height: 48px !important;
    }
    .woocommerce ul.products li.product .sc-product-actions {
        padding: 4px 16px 20px !important;
    }
}

/* ================================================================
   SINGLE PRODUCT PAGE
================================================================ */

/* Page Banner */
.woocommerce-page .sc-page-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    padding: 16px 0;
    margin-bottom: 0;
}

/* ── Product Layout ── */
body.single-product .product {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    align-items: start !important;
}

@media (max-width: 991px) {
    body.single-product .product {
        grid-template-columns: 1fr !important;
        padding: 0 15px !important;
    }
}

/* ── Images ── */
body.single-product .product div.images {
    width: 100% !important;
    float: none !important;
    position: sticky !important;
    top: 90px !important;
}

body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
}

body.single-product .woocommerce-product-gallery__image {
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 12px !important;
}

body.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 380px !important;
    object-fit: contain !important;
    padding: 20px !important;
    background: #f8fafc !important;
}

body.single-product .flex-control-nav {
    display: flex !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

body.single-product .flex-control-nav li {
    width: 72px !important;
    height: 72px !important;
}

body.single-product .flex-control-nav li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 2px solid #e5e7eb !important;
    cursor: pointer !important;
    padding: 6px !important;
    background: #f8fafc !important;
    transition: border-color 0.2s !important;
}

body.single-product .flex-control-nav li img.flex-active {
    border-color: var(--sc-primary, #2563eb) !important;
}

/* ── Summary ── */
body.single-product .product div.summary {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Sale badge */
body.single-product span.onsale {
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.6 !important;
    top: 16px !important;
    left: 16px !important;
}

/* Title */
body.single-product .product_title {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    color: var(--sc-text, #1f2937) !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
}

/* Price */
body.single-product .product>div.summary p.price,
body.single-product .product>div.summary span.price {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--sc-primary, #2563eb) !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

body.single-product .product>div.summary p.price del,
body.single-product .product>div.summary span.price del {
    color: #9ca3af !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}

body.single-product .product>div.summary p.price ins,
body.single-product .product>div.summary span.price ins {
    text-decoration: none !important;
}

/* Short description */
body.single-product .woocommerce-product-details__short-description {
    font-size: 0.92rem !important;
    color: #4b5563 !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

/* Stock */
body.single-product .stock.in-stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 50px !important;
    margin-bottom: 20px !important;
}

body.single-product .stock.out-of-stock {
    display: inline-flex !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 50px !important;
    margin-bottom: 20px !important;
}

/* Qty + Add to cart */
body.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
    flex-wrap: wrap !important;
}

body.single-product form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
}

body.single-product form.cart .qty {
    width: 56px !important;
    border: none !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    height: 46px !important;
    padding: 0 !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

body.single-product form.cart .qty::-webkit-outer-spin-button,
body.single-product form.cart .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

body.single-product form.cart .single_add_to_cart_button {
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 13px 28px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.single-product form.cart .single_add_to_cart_button::before {
    content: '\f07a' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 0.9rem !important;
}

body.single-product form.cart .single_add_to_cart_button:hover {
    opacity: 0.9 !important;
}

/* Meta */
body.single-product .product_meta {
    font-size: 0.85rem !important;
    color: #6b7280 !important;
    padding-top: 16px !important;
    border-top: 1px solid #f3f4f6 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

body.single-product .product_meta a {
    color: var(--sc-primary, #2563eb) !important;
}

/* ── Tabs ── */
body.single-product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    clear: both !important;
    margin-top: 40px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
}

body.single-product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 2px solid #e5e7eb !important;
    display: flex !important;
    list-style: none !important;
    background: none !important;
}

body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

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

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    padding: 14px 20px !important;
    display: block !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.2s !important;
    background: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--sc-primary, #2563eb) !important;
    border-bottom-color: var(--sc-primary, #2563eb) !important;
    background: none !important;
}

body.single-product .woocommerce-tabs .panel {
    padding: 28px 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    color: #4b5563 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

body.single-product .woocommerce-tabs .panel h2 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--sc-text, #1f2937) !important;
    margin-bottom: 16px !important;
}

/* ── Related Products ── */
body.single-product .related,
body.single-product .upsells {
    grid-column: 1 / -1 !important;
    clear: both !important;
    margin-top: 40px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 32px 20px 0 !important;
    border-top: 1px solid #e5e7eb !important;
    display: block !important;
    width: 100% !important;
}

body.single-product .related>h2,
body.single-product .upsells>h2 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--sc-text, #1f2937) !important;
    margin-bottom: 20px !important;
}

/* Related product images - no crop */
body.single-product .related ul.products li.product a img,
body.single-product .upsells ul.products li.product a img {
    height: 180px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
    padding: 12px !important;
}

/* WooCommerce notices - fixed position */
body.single-product .woocommerce-notices-wrapper {
    position: fixed !important;
    top: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    width: auto !important;
    min-width: 300px !important;
    max-width: 500px !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message {
    margin: 0 !important;
    border-radius: 10px !important;
}

/* Fix tab panel content alignment */
body.single-product .woocommerce-tabs .panel {
    text-align: left !important;
}

body.single-product .woocommerce-tabs .panel * {
    text-align: left !important;
}

body.single-product .woocommerce-tabs .panel table {
    text-align: left !important;
    width: 100% !important;
}

body.single-product .woocommerce-tabs .panel table th,
body.single-product .woocommerce-tabs .panel table td {
    text-align: left !important;
    padding: 10px 16px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    font-size: 0.9rem !important;
}

/* Reviews form alignment */
body.single-product #review_form,
body.single-product .woocommerce-Reviews {
    text-align: left !important;
}

/* ── Fix Related Products Card Width ── */
body.single-product .related ul.products,
body.single-product .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 767px) {

    body.single-product .related ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

body.single-product .related ul.products li.product,
body.single-product .upsells ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* ── Fix Tab Content Left Align ── */
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel p,
body.single-product .woocommerce-tabs .panel table,
body.single-product .woocommerce-tabs .panel th,
body.single-product .woocommerce-tabs .panel td {
    text-align: left !important;
}

/* ── Reduce gap between product and tabs ── */
body.single-product .woocommerce-tabs {
    margin-top: 20px !important;
}

body.single-product .related,
body.single-product .upsells {
    margin-top: 20px !important;
}

/* ══════════════════════════════════════════════════════════════
   SHREEJICART — PRODUCT PAGE UPGRADE (tabs + cards + reviews)
   ══════════════════════════════════════════════════════════════ */

/* ── 1. Tabs: clean pill-style navigation ── */
body.single-product .woocommerce-tabs {
    background: #fff !important;
    border-radius: 16px !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    margin-top: 40px !important;
    padding: 0 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}

body.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #f9fafb !important;
    border-bottom: 1px solid #e5e7eb !important;
    gap: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    flex: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 15px 28px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.07em !important;
    color: #6b7280 !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -1px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: none !important;
    white-space: nowrap !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--sc-primary, #2563eb) !important;
    border-bottom-color: var(--sc-primary, #2563eb) !important;
    background: #fff !important;
}

/* ── 2. Tab panel content ── */
body.single-product .woocommerce-tabs .panel {
    display: none;
    padding: 32px 36px !important;
    margin: 0 !important;
    border: none !important;
    background: #fff !important;
    text-align: left !important;
}

body.single-product .woocommerce-tabs .panel.active,
body.single-product .woocommerce-tabs #tab-description,
body.single-product .woocommerce-tabs #tab-additional_information,
body.single-product .woocommerce-tabs #tab-reviews {
    padding: 32px 36px !important;
    text-align: left !important;
    background: #fff !important;
}

body.single-product .woocommerce-tabs .panel h2 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 20px !important;
    text-align: left !important;
    display: none;
    /* WooCommerce adds redundant h2 inside panel */
}

/* ── 3. Additional Information table — styled like a data grid ── */
body.single-product .woocommerce-tabs .woocommerce-product-attributes,
body.single-product .shop_attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    margin: 0 !important;
    text-align: left !important;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes tr,
body.single-product .shop_attributes tr {
    display: table-row !important;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes tr:last-child th,
body.single-product .woocommerce-tabs .woocommerce-product-attributes tr:last-child td,
body.single-product .shop_attributes tr:last-child th,
body.single-product .shop_attributes tr:last-child td {
    border-bottom: none !important;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes th,
body.single-product .shop_attributes th {
    background: #f9fafb !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #e5e7eb !important;
    width: 200px !important;
    text-align: left !important;
    vertical-align: middle !important;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes td,
body.single-product .shop_attributes td {
    padding: 14px 20px !important;
    font-size: 0.9rem !important;
    color: #4b5563 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    text-align: left !important;
    vertical-align: middle !important;
    background: #fff !important;
}

body.single-product .woocommerce-tabs .woocommerce-product-attributes td p,
body.single-product .shop_attributes td p {
    margin: 0 !important;
    text-align: left !important;
}

/* ── 4. Reviews tab — clean & readable ── */
body.single-product .woocommerce-Reviews {
    text-align: left !important;
}

body.single-product .woocommerce-Reviews-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating {
    text-align: left !important;
}

body.single-product .woocommerce-Reviews .comment-text {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-top: 0 !important;
}

body.single-product .woocommerce-Reviews ol.commentlist li {
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
}

body.single-product .woocommerce-Reviews ol.commentlist li img.avatar {
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    border: 2px solid #e5e7eb !important;
}

body.single-product .woocommerce-Reviews .star-rating {
    font-size: 0.85rem !important;
    color: #f59e0b !important;
}

/* ── Write a Review form — attractive redesign ── */
body.single-product .woocommerce-Reviews .review_form_wrapper {
    margin-top: 40px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

body.single-product .woocommerce-Reviews #review_form_wrapper {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%) !important;
    border: 1.5px solid #dbe4ff !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    position: relative !important;
    overflow: hidden !important;
}

body.single-product .woocommerce-Reviews #review_form_wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: -50px !important;
    right: -50px !important;
    width: 160px !important;
    height: 160px !important;
    background: radial-gradient(circle, rgba(37, 99, 235, .07) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

body.single-product .woocommerce-Reviews #review_form_wrapper #reply-title {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
    margin: 0 0 28px !important;
    padding-bottom: 22px !important;
    border-bottom: 1.5px solid #dbe4ff !important;
    text-align: left !important;
}

body.single-product .woocommerce-Reviews #review_form_wrapper #reply-title::before {
    content: '\f303' !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: linear-gradient(135deg, var(--sc-primary, #2563eb), #7c3aed) !important;
    color: #fff !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25) !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating {
    margin-bottom: 20px !important;
    text-align: left !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating label {
    display: block !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 10px !important;
    letter-spacing: .01em !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating .stars a {
    font-size: 1.7rem !important;
    color: #d1d5db !important;
    transition: color .15s, transform .15s !important;
    display: inline-block !important;
    margin-right: 3px !important;
    text-decoration: none !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating .stars:hover a,
body.single-product .woocommerce-Reviews .comment-form-rating .stars a:hover,
body.single-product .woocommerce-Reviews .comment-form-rating .stars.selected a.active,
body.single-product .woocommerce-Reviews .comment-form-rating .stars.selected a {
    color: #f59e0b !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating .stars a:hover {
    transform: scale(1.2) !important;
}

body.single-product .woocommerce-Reviews #commentform {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
}

body.single-product .woocommerce-Reviews #commentform .comment-form-author {
    grid-column: 1 !important;
}

body.single-product .woocommerce-Reviews #commentform .comment-form-email {
    grid-column: 2 !important;
}

body.single-product .woocommerce-Reviews #commentform .comment-form-rating,
body.single-product .woocommerce-Reviews #commentform .comment-form-comment,
body.single-product .woocommerce-Reviews #commentform .form-submit {
    grid-column: 1 / -1 !important;
}

@media (max-width: 600px) {
    body.single-product .woocommerce-Reviews #review_form_wrapper {
        padding: 22px 18px !important;
    }

    body.single-product .woocommerce-Reviews #commentform {
        grid-template-columns: 1fr !important;
    }

    body.single-product .woocommerce-Reviews #commentform .comment-form-author,
    body.single-product .woocommerce-Reviews #commentform .comment-form-email {
        grid-column: 1 !important;
    }
}

body.single-product .woocommerce-Reviews #commentform label {
    display: block !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 7px !important;
    letter-spacing: .01em !important;
}

body.single-product .woocommerce-Reviews #commentform input[type="text"],
body.single-product .woocommerce-Reviews #commentform input[type="email"] {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-size: .9rem !important;
    color: #1f2937 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
    font-family: inherit !important;
}

body.single-product .woocommerce-Reviews #commentform input[type="text"]:focus,
body.single-product .woocommerce-Reviews #commentform input[type="email"]:focus {
    border-color: var(--sc-primary, #2563eb) !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .12) !important;
}

body.single-product .woocommerce-Reviews #review_form .comment-form-comment textarea {
    width: 100% !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    font-size: .9rem !important;
    resize: vertical !important;
    outline: none !important;
    min-height: 130px !important;
    line-height: 1.7 !important;
    color: #1f2937 !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
    transition: border-color .2s, box-shadow .2s !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
}

body.single-product .woocommerce-Reviews #review_form .comment-form-comment textarea:focus {
    border-color: var(--sc-primary, #2563eb) !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .12) !important;
}

body.single-product .woocommerce-Reviews #review_form .comment-form-comment textarea::placeholder {
    color: #b0b8c8 !important;
    font-style: italic !important;
}

body.single-product .woocommerce-Reviews #review_form input[type="submit"] {
    background: linear-gradient(135deg, var(--sc-primary, #2563eb), #1d4ed8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 13px 36px !important;
    font-weight: 700 !important;
    font-size: .9rem !important;
    cursor: pointer !important;
    transition: transform .25s, box-shadow .25s, filter .25s !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3) !important;
    letter-spacing: .02em !important;
}

body.single-product .woocommerce-Reviews #review_form input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .4) !important;
    filter: brightness(1.08) !important;
}

/* ── 5. Related Products — fixed card layout ── */
body.single-product .related,
body.single-product .upsells {
    grid-column: 1 / -1 !important;
    clear: both !important;
    margin-top: 48px !important;
    padding: 40px 0 0 !important;
    border-top: 1px solid #e5e7eb !important;
    width: 100% !important;
    display: block !important;
}

body.single-product .related>h2,
body.single-product .upsells>h2 {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #6b7280 !important;
    margin-bottom: 24px !important;
}

body.single-product .related ul.products,
body.single-product .upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
}

@media (max-width: 991px) {

    body.single-product .related ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {

    body.single-product .related ul.products,
    body.single-product .upsells ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

body.single-product .related ul.products li.product,
body.single-product .upsells ul.products li.product {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    position: relative !important;
}

body.single-product .related ul.products li.product:hover,
body.single-product .upsells ul.products li.product:hover {
    border-color: rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1) !important;
}

body.single-product .related ul.products li.product a.woocommerce-loop-product__link,
body.single-product .upsells ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    text-decoration: none !important;
}

body.single-product .related ul.products li.product a img,
body.single-product .upsells ul.products li.product a img {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    background: #f8fafc !important;
    padding: 16px !important;
    display: block !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

body.single-product .related ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    padding: 12px 14px 4px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important;
}

body.single-product .related ul.products li.product .price,
body.single-product .upsells ul.products li.product .price {
    padding: 4px 14px 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--sc-primary, #2563eb) !important;
    display: block !important;
}

body.single-product .related ul.products li.product .price del,
body.single-product .upsells ul.products li.product .price del {
    color: #9ca3af !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    margin-right: 4px !important;
}

body.single-product .related ul.products li.product .button,
body.single-product .upsells ul.products li.product .button {
    display: block !important;
    margin: 12px 14px 14px !important;
    width: calc(100% - 28px) !important;
    padding: 10px !important;
    background: var(--sc-primary, #2563eb) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

body.single-product .related ul.products li.product .button:hover,
body.single-product .upsells ul.products li.product .button:hover {
    background: #1d4ed8 !important;
}

/* ── 6. Related products section title ── */
body.single-product .related>h2 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.single-product .related>h2::after {
    content: '' !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e5e7eb !important;
    display: block !important;
}

/* ── Full width for single product (no sidebar) ── */
body.sc-full-width .sc-page-wrapper .row,
body.woocommerce-single-product .sc-page-wrapper .row {
    display: block;
}

body.sc-full-width aside.sc-sidebar,
body.woocommerce-single-product aside.sc-sidebar,
body.sc-full-width .col-lg-4.col-md-3,
body.woocommerce-single-product .col-lg-4.col-md-3 {
    display: none !important;
}

body.sc-full-width .col-lg-8,
body.woocommerce-single-product .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Elementor template full width */
body.sc-full-width .elementor,
body.sc-full-width .elementor-section-wrap {
    max-width: 100% !important;
}

/* ══════════════════════════════════════════════════════════════
   SCSP — Write a Review Form — Full Redesign
   Uses body prefix for higher specificity over widget inline CSS
   ══════════════════════════════════════════════════════════════ */

/* ── Form card ── */
body .scsp-review-form-wrap {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%) !important;
    border: 1.5px solid #c7d7fe !important;
    border-radius: 20px !important;
    padding: 32px 36px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 16px !important;
    box-shadow: 0 4px 24px rgba(37, 99, 235, .07) !important;
}

/* Soft radial glow accent top-right */
body .scsp-review-form-wrap::before {
    content: '' !important;
    position: absolute !important;
    top: -60px !important;
    right: -60px !important;
    width: 200px !important;
    height: 200px !important;
    background: radial-gradient(circle, rgba(37, 99, 235, .09) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Second glow accent bottom-left */
body .scsp-review-form-wrap::after {
    content: '' !important;
    position: absolute !important;
    bottom: -40px !important;
    left: -40px !important;
    width: 160px !important;
    height: 160px !important;
    background: radial-gradient(circle, rgba(124, 58, 237, .05) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ── Header: gradient icon badge + bold title + divider ── */
body .scsp-review-form-title {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
    margin: 0 0 4px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Gradient pen icon badge removed - icon is in the HTML (.scsp-review-form-icon) */
body .scsp-review-form-title::before {
    display: none !important;
}

/* ── Star rating (WooCommerce .stars) — hidden inside custom wrap, we use scsp-star-picker instead ── */
body .scsp-review-form-wrap .comment-form-rating {
    display: none !important;
}

body .scsp-review-form-wrap .comment-form-rating label {
    font-size: .82rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 10px !important;
    display: block !important;
    letter-spacing: .01em !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars {
    display: flex !important;
    gap: 4px !important;
    flex-direction: row !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars a {
    font-size: 1.8rem !important;
    color: #d1d5db !important;
    text-decoration: none !important;
    transition: color .15s ease, transform .15s ease !important;
    display: inline-block !important;
    line-height: 1 !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars:hover a,
body .scsp-review-form-wrap .comment-form-rating .stars a:hover,
body .scsp-review-form-wrap .comment-form-rating .stars a:hover~a {
    color: #f59e0b !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars a:hover {
    transform: scale(1.25) !important;
    color: #f59e0b !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars.selected a,
body .scsp-review-form-wrap .comment-form-rating .stars.selected a.active {
    color: #f59e0b !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars.selected a.active~a {
    color: #d1d5db !important;
}

/* ── Form: everything inside is above the glow pseudo-elements ── */
body .scsp-review-form-wrap .comment-form,
body .scsp-review-form-wrap #commentform {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
    margin: 0 !important;
}

body .scsp-review-form-wrap .comment-form-author {
    grid-column: 1 !important;
}

body .scsp-review-form-wrap .comment-form-email {
    grid-column: 2 !important;
}

body .scsp-review-form-wrap .comment-form-rating,
body .scsp-review-form-wrap .scsp-form-row,
body .scsp-review-form-wrap .comment-form-comment,
body .scsp-review-form-wrap .logged-in-as,
body .scsp-review-form-wrap .form-submit {
    grid-column: 1 / -1 !important;
}

/* logged-in-as note */
body .scsp-review-form-wrap .logged-in-as {
    font-size: .8rem !important;
    color: #6b7280 !important;
    background: #f0f4ff !important;
    border: 1px solid #dbe4ff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin: 0 !important;
}

body .scsp-review-form-wrap .logged-in-as a {
    color: var(--sc-primary, #2563eb) !important;
}

/* ── Labels ── */
body .scsp-review-form-wrap label {
    display: block !important;
    font-size: .82rem !important;
    font-weight: 700 !important;
    color: #374151 !important;
    margin-bottom: 7px !important;
    letter-spacing: .01em !important;
}

/* ── Text & email inputs ── */
body .scsp-review-form-wrap input[type="text"],
body .scsp-review-form-wrap input[type="email"] {
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: .9rem !important;
    color: #1f2937 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
    font-family: inherit !important;
}

body .scsp-review-form-wrap input[type="text"]:focus,
body .scsp-review-form-wrap input[type="email"]:focus {
    border-color: var(--sc-primary, #2563eb) !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .13) !important;
}

/* ── Textarea ── */
body .scsp-review-form-wrap .scsp-review-textarea,
body .scsp-review-form-wrap textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: .9rem !important;
    color: #1f2937 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
    font-family: inherit !important;
    resize: vertical !important;
    min-height: 130px !important;
    line-height: 1.75 !important;
}

body .scsp-review-form-wrap .scsp-review-textarea:focus,
body .scsp-review-form-wrap textarea:focus {
    border-color: var(--sc-primary, #2563eb) !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .13) !important;
}

body .scsp-review-form-wrap .scsp-review-textarea::placeholder,
body .scsp-review-form-wrap textarea::placeholder {
    color: #a8b4c8 !important;
    font-style: italic !important;
}

/* ── Submit button ── */
body .scsp-submit-review-btn,
body .scsp-review-form-wrap input[type="submit"],
body .scsp-review-form-wrap .form-submit input {
    background: linear-gradient(135deg, var(--sc-primary, #2563eb) 0%, #1d4ed8 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 13px 38px !important;
    font-weight: 700 !important;
    font-size: .92rem !important;
    cursor: pointer !important;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .32) !important;
    letter-spacing: .03em !important;
    display: inline-block !important;
    line-height: 1 !important;
}

body .scsp-submit-review-btn:hover,
body .scsp-review-form-wrap input[type="submit"]:hover,
body .scsp-review-form-wrap .form-submit input:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .42) !important;
    filter: brightness(1.08) !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    body .scsp-review-form-wrap {
        padding: 22px 18px !important;
    }

    body .scsp-review-form-wrap .comment-form,
    body .scsp-review-form-wrap #commentform {
        grid-template-columns: 1fr !important;
    }

    body .scsp-review-form-wrap .comment-form-author,
    body .scsp-review-form-wrap .comment-form-email {
        grid-column: 1 !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   SCSP — Review Display Fix + Star Rating Fix
   ══════════════════════════════════════════════════════════════ */

/* Fix review body text overflow */
body .scsp-review-body {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: hidden !important;
    font-size: .9rem !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
}

/* Fix review card overflow clipping */
body .scsp-review-card {
    overflow: hidden !important;
    word-break: break-word !important;
}

/* Fix scsp-review-form-wrap overflow:hidden blocking star clicks */
body .scsp-review-form-wrap {
    overflow: visible !important;
}

/* Ensure WooCommerce star rating .stars links are fully clickable */
body .scsp-review-form-wrap .comment-form-rating .stars {
    display: flex !important;
    gap: 2px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

body .scsp-review-form-wrap .comment-form-rating .stars a,
body .scsp-review-form-wrap .comment-form-rating .stars a:before,
body .scsp-review-form-wrap .comment-form-rating .stars a:after {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Keep the glow pseudo-elements from blocking interaction */
body .scsp-review-form-wrap::before,
body .scsp-review-form-wrap::after {
    pointer-events: none !important;
    z-index: 0 !important;
}

/* ---------------------------------------------------------------
   GLOBAL FLOATING TOAST FEEDBACK (PILL STYLE)
--------------------------------------------------------------- */
.sc-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e2433;
    /* Dark slate from screenshot */
    border-radius: 50px;
    /* Pill shape */
    padding: 16px 32px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    pointer-events: none;
    letter-spacing: 0.2px;
}

.sc-toast.sc-toast-success {
    /* Success specific overrides, if any. The standard wrapper already handles the dark background. */
}

.sc-toast.sc-toast-error {
    background-color: #7f1d1d;
}

.sc-toast.sc-toast-info {
    background-color: #000000;
    color: #ffffff;
}

.sc-toast.sc-toast-info i {
    color: #ffffff !important;
}

.sc-toast.show {
    bottom: 50px;
    opacity: 1;
    visibility: visible;
}

.sc-toast i {
    font-size: 1.4rem;
    color: #34d399 !important;
    /* Vibrant green from the screenshot */
}

@media (max-width: 768px) {
    .sc-toast {
        width: max-content;
        max-width: 90%;
        bottom: -150px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .sc-toast.show {
        bottom: 30px;
    }
}

/* ---------------------------------------------------------------
   PREMIUM MINI CART / DROPDOWN AESTHETICS
--------------------------------------------------------------- */
/* Mini Cart Dropdown Wrapper */
.sc-mini-cart-dropdown {
    width: 360px !important;
    /* Slightly wider for a premium feel */
    border: 1px solid #e5e7eb;
}

/* Precise 2-Column Lock for Wishlist (Float-Based) */
.sc-wishlist-loop ul.products.columns-3 {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    list-style: none !important;
    overflow: hidden !important;
}

.sc-wishlist-loop ul.products.columns-3 li.product {
    width: 45% !important;
    /* Slightly narrower per user request */
    float: left !important;
    margin-right: 5% !important;
    margin-bottom: 30px !important;
    display: block !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    clear: none !important;
}

/* Clear even item logic */
.sc-wishlist-loop ul.products.columns-3 li.product:nth-child(2n+1) {
    clear: both !important;
}

.sc-wishlist-loop ul.products.columns-3 li.product:nth-child(2n) {
    margin-right: 0 !important;
}

/* Simple consistent titles */
.sc-wishlist-loop ul.products.columns-3 li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    padding: 15px 15px 5px 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.sc-wishlist-loop ul.products li.product .price {
    padding: 0 15px 15px 15px !important;
}

/* Forged Symmetrical Buttons for Wishlist */
.sc-wishlist-loop .sc-atc-loop-btn,
.sc-wishlist-loop .sc-wishlist-toggle {
    flex: 1 1 0% !important;
    width: 48.5% !important;
    box-sizing: border-box !important;
    height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    font-size: 0.68rem !important;
}

/* --- High-Performance Responsiveness Overhaul --- */

/* Stack the Sidebar on Tablets and Below */
@media (max-width: 991px) {

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
        margin-bottom: 25px !important;
        display: block !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    .sc-wishlist-loop ul.products.columns-3 li.product {
        width: 100% !important;
        /* Single column on mobile for clarity */
        float: none !important;
        margin-right: 0 !important;
        padding-bottom: 5px !important;
    }

    /* Allow more horizontal room for buttons on mobile since it's now single column */
    .sc-wishlist-loop .sc-atc-loop-btn,
    .sc-wishlist-loop .sc-wishlist-toggle {
        font-size: 0.82rem !important;
        /* Larger text for mobile touch */
        height: 54px !important;
        /* Slightly taller for thumb-friendly interaction */
        letter-spacing: 0.2px;
        flex: 1 1 0% !important;
        width: 50% !important;
    }

    .sc-wishlist-loop ul.products.columns-3 li.product .woocommerce-loop-product__title {
        white-space: normal !important;
        /* Allow multi-line names on mobile */
        overflow: visible !important;
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {

    /* Optimization for very small screens */
    .sc-wishlist-loop .sc-atc-loop-btn span,
    .sc-wishlist-loop .sc-wishlist-toggle span {
        font-size: 0.75rem !important;
    }

    .sc-wishlist-loop .sc-atc-loop-btn i,
    .sc-wishlist-loop .sc-wishlist-toggle i {
        font-size: 0.8rem !important;
    }
}

/* Empty Cart State */
.sc-mini-cart-dropdown p.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 30px 10px;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.sc-mini-cart-dropdown p.woocommerce-mini-cart__empty-message::before {
    content: '\f290';
    /* FontAwesome shopping bag */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: block;
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* Products List */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart.cart_list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 380px;
    /* Scrollable if there are many items */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px !important;
    /* Space for scrollbar */
}

/* Scrollbar styling for mini cart */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart::-webkit-scrollbar {
    width: 6px;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Individual Cart Item */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item {
    display: flex !important;
    align-items: center !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    position: relative;
    gap: 16px;
    margin-bottom: 0 !important;
}

/* Remove button */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item a.remove {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b !important;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    transition: all 0.2s ease-in-out;
    padding-bottom: 2px;
    /* Visual vertical balance for exact '×' entity */
    z-index: 10;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item a.remove:hover {
    background: #ef4444;
    color: #ffffff !important;
}

/* Product Image */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item>a:not(.remove) {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    width: calc(100% - 34px);
    /* Leave room for absolute remove btn */
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Product Info Container (Using custom structure fallback or native) */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item .product-info,
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item {
    text-align: left;
}

/* Ensure the link container acts as a flex wrapper for native woocommerce output */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item>a:not(.remove) {
    flex-wrap: wrap;
    /* In case WC dumps title as text node inside the a immediately following img */
}

/* Product Title/Quantity */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item .quantity {
    display: block !important;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item .quantity .amount {
    font-weight: 700;
    color: var(--sc-primary);
    /* Use theme blue */
    font-size: 0.95rem;
}

/* If WooCommerce injects native raw text for title inside the A tag, we style the A tag, but image has negative impact. Let's fix text node natively. */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item>a:not(.remove) {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item>a:not(.remove):hover {
    color: var(--sc-primary);
}

/* Native item variants */
.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item dl.variation {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 4px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Mini Cart Totals */
.sc-mini-cart-dropdown p.woocommerce-mini-cart__total {
    border-top: 1px dashed #cbd5e1 !important;
    margin: 16px 0 16px 0 !important;
    padding-top: 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #64748b;
}

.sc-mini-cart-dropdown p.woocommerce-mini-cart__total .amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0;
}

/* Action Buttons */
.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 0 !important;
    padding-bottom: 4px;
}

.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons .button {
    flex: 1;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize !important;
    margin: 0 !important;
}

/* View Cart Button Outline */
.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: transparent !important;
    border: 2px solid #e2e8f0 !important;
    color: #475569 !important;
}

.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons .button:not(.checkout):hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
}

/* Checkout Button Premium Look */
.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons .button.checkout {
    background: var(--sc-primary) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

.sc-mini-cart-dropdown p.woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #1d4ed8 !important;
    /* Darker blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
}

/* Mini Cart AJAX Loading Overlay Fix */
.sc-mini-cart-dropdown .blockUI.blockOverlay {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(2px) !important;
    opacity: 1 !important;
    border-radius: 8px !important;
    z-index: 9999 !important;
}

.sc-mini-cart-dropdown .blockUI.blockOverlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--sc-primary);
    border-radius: 50%;
    animation: sc-minispinner 0.8s linear infinite;
    background: none !important;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item.remove_loading {
    pointer-events: none;
}

@keyframes sc-minispinner {
    100% {
        transform: rotate(360deg);
    }
}

/* ---------------------------------------------------------------
   MINI CART CUSTOM QUANTITY STEPPER (SCREENSHOT MIRROR)
--------------------------------------------------------------- */
.sc-mini-qty-wrapper {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    height: 32px !important;
    width: 96px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.sc-mini-qty-wrapper button {
    width: 30px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #1e293b !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.sc-mini-qty-wrapper button:hover {
    background: #f1f5f9 !important;
}

.sc-mini-qty-wrapper button.minus {
    border-right: 1px solid #cbd5e1 !important;
}

.sc-mini-qty-wrapper button.plus {
    border-left: 1px solid #cbd5e1 !important;
}

.sc-mini-qty-wrapper input.qty {
    width: 36px !important;
    height: 100% !important;
    border: none !important;
    text-align: center !important;
    font-size: 1rem !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

.sc-mini-qty-wrapper input.qty::-webkit-outer-spin-button,
.sc-mini-qty-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.sc-mini-cart-dropdown ul.woocommerce-mini-cart li.mini_cart_item .quantity {
    display: inline-flex !important;
    margin-top: 2px !important;
}

/* Remove default WC "Added to Cart" checkmark and View Cart link after AJAX success */
.sc-atc-loop-btn+a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart {
    display: none !important;
}

.sc-atc-loop-btn.added:after,
.woocommerce ul.products li.product a.added_to_cart:after,
.woocommerce ul.products li.product .button.added_to_cart_button.added::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
}

/* ---------------------------------------------------------------
   27. AJAX SEARCH RESULTS
--------------------------------------------------------------- */
.sc-search-box {
    position: relative;
    max-width: 800px;
}

.sc-ajax-search-results {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    max-height: 480px;
    overflow-y: auto;
    margin-top: 5px;
    display: none;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.sc-ajax-search-results.active {
    display: block;
}

.sc-ajax-search-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 12px 12px;
}

.sc-ajax-search-item {
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.2s ease;
}

.sc-ajax-search-item:last-child {
    border-bottom: none;
}

.sc-ajax-search-item:hover {
    background: #f0f7ff;
}

.sc-ajax-search-item a {
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
}

.sc-ajax-search-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.sc-ajax-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-ajax-search-info {
    flex-grow: 1;
    min-width: 0;
}

.sc-ajax-search-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--sc-text, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sc-ajax-search-price {
    font-size: 0.9rem;
    color: var(--sc-primary, #2563eb);
    font-weight: 500;
}

.sc-ajax-search-price .woocommerce-Price-amount {
    color: var(--sc-primary, #2563eb);
}

.sc-ajax-search-footer {
    padding: 12px 20px;
    background: #f8fafc;
    text-align: center;
    border-top: 1px solid #eee;
}

.sc-view-all-results {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sc-text);
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sc-view-all-results:hover {
    color: var(--sc-primary);
}

.sc-ajax-no-results p {
    color: #64748b;
    font-weight: 500;
}

/* Custom Scrollbar for results */
.sc-ajax-search-results::-webkit-scrollbar {
    width: 6px;
}
.sc-ajax-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.sc-ajax-search-results::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.sc-ajax-search-results::-webkit-scrollbar-thumb:hover {
    background: #999;
}

@media (max-width: 768px) {
    .sc-ajax-search-results {
        max-height: 400px;
    }
}