/* ==========================================================================
   Sole and Slippers — Main Stylesheet
   ==========================================================================
   Custom styles for the storefront. Customizer CSS variables are injected
   via inc/customizer.php as --sas-primary and --sas-accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Fallbacks — overridden by Customizer inline styles */
    --sas-primary: #00172E;
    /* Midnight Navy Blue */
    --sas-accent: #D4AF37;
    /* Champagne Gold */
    --sas-bg: #FFFFFF;
    /* Primary background */
    --sas-bg-alt: #F8F9FA;
    /* Subtle light grey background */
    --sas-text: #222222;
    --sas-text-light: #666666;
    --sas-border: #E5E5E5;
    --sas-radius: 4px;
    /* Slightly sharper for premium feel */
    --sas-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --sas-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing & Layout */
    --sas-gutter: 20px;
    --sas-gutter-mobile: 20px;
    --sas-container: 1200px;
    /* Reduced from 1300px for a more focused feel */
    --sas-section-py: 50px;
    /* Reduced from 80px for tighter feel */
    --sas-section-py-mobile: 30px;
    --sas-top-bar-height: 36px;
    --sas-header-height: 90px;
    --sas-header-height-scrolled: 70px;

    /* Typography */
    --sas-font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sas-font-heading: 'Playfair Display', serif;
}

.sas-container {
    max-width: var(--sas-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--sas-gutter);
    padding-right: var(--sas-gutter);
}

@media (max-width: 991px) {
    .sas-container {
        padding-left: var(--sas-gutter-mobile);
        padding-right: var(--sas-gutter-mobile);
    }
}

/* Force Remix Icon Rendering */
[class^="ri-"],
[class*=" ri-"] {
    font-family: "remixicon" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--sas-font-body);
    color: var(--sas-text);
    background-color: var(--sas-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--sas-font-heading);
    color: var(--sas-primary);
    line-height: 1.2;
}


a {
    color: var(--sas-accent);
    text-decoration: none;
    transition: color var(--sas-transition);
}

a:hover,
a:focus {
    color: var(--sas-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.sas-btn,
.button,
button[type="submit"] {
    display: inline-block;
    width: auto;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--sas-radius);
    cursor: pointer;
    transition: all var(--sas-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sas-btn--primary,
.woocommerce a.button,
.woocommerce button.button {
    background-color: var(--sas-accent);
    color: #fff;
}

.sas-btn--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: var(--sas-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--sas-shadow);
}

/* --------------------------------------------------------------------------
   WooCommerce Overrides
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Top Bar & Marquee
   -------------------------------------------------------------------------- */
.sas-top-bar {
    background: var(--sas-primary);
    color: var(--sas-accent);
    height: 36px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.sas-marquee {
    display: flex;
    white-space: nowrap;
    animation: sasMarquee 60s linear infinite;
    width: max-content;
}

.sas-marquee span {
    padding: 0 15px;
    /* Reduced spacing */
    color: #FFFFFF;
    /* High contrast white to avoid "faded" look */
}

.marquee-star {
    font-size: 8px;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

@keyframes sasMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   Hero Slider / Shop Hero Shared
   -------------------------------------------------------------------------- */
.sas-hero-slider,
.sas-shop-hero,
.sas-single-product-hero {
    position: relative;
    color: #fff;
}

/* Global Breadcrumbs */
.woocommerce-breadcrumb,
.sas-breadcrumbs,
.sas-breadcrumbs a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-breadcrumb a,
.sas-breadcrumbs a {
    color: var(--sas-accent) !important;
}

.woocommerce-breadcrumb a:hover,
.sas-breadcrumbs a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Hero Slider
   -------------------------------------------------------------------------- */
.sas-hero-slider {
    height: calc(100vh - var(--sas-top-bar-height));
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 23, 46, 0.7) 0%, rgba(0, 23, 46, 0.1) 100%);
    z-index: 1;
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    font-family: var(--sas-font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--sas-accent);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--sas-font-heading);
    font-size: clamp(32px, 5vw, 68px);
    line-height: 1.08;
    margin: 0 0 22px;
    color: #fff;
}

.hero-text {
    font-family: var(--sas-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
}

.hero-actions .sas-btn {
    width: auto;
}

/* Ghost button */
.sas-btn--ghost {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
    border-radius: var(--sas-radius);
    transition: all var(--sas-transition);
    cursor: pointer;
}

.sas-btn--ghost:hover {
    background: #fff;
    color: var(--sas-primary);
    border-color: #fff;
}

/* Outline button (compatibility) */
.sas-btn--outline {
    background: transparent;
    border: 2px solid var(--sas-primary);
    color: var(--sas-primary);
}

.sas-btn--outline:hover {
    background: var(--sas-primary);
    color: #fff;
}

/* ---- Swiper Pagination ---- */
.sas-hero-slider .swiper-pagination {
    bottom: 28px;
}

.sas-hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.sas-hero-slider .swiper-pagination-bullet-active {
    background: var(--sas-accent);
    width: 24px;
    border-radius: 4px;
}

/* ---- Swiper Nav Buttons ---- */
.sas-hero-slider .swiper-button-next,
.sas-hero-slider .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(6px);
}

.sas-hero-slider .swiper-button-next:after,
.sas-hero-slider .swiper-button-prev:after {
    display: none !important;
}

.sas-hero-slider .swiper-button-next i,
.sas-hero-slider .swiper-button-prev i {
    font-size: 22px;
    display: flex;
}

.sas-hero-slider .swiper-button-next:hover,
.sas-hero-slider .swiper-button-prev:hover {
    background: var(--sas-accent) !important;
    border-color: var(--sas-accent) !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 26px;
    }

    .sas-hero-slider .swiper-button-next,
    .sas-hero-slider .swiper-button-prev {
        display: none !important;
    }

    .sas-hero-slider {
        height: 60vh;
        /* Compact height on mobile */
    }

    .hero-slide {
        height: 60vh;
    }
}


/* Marquee (kept from original) */
.sas-marquee span {
    padding: 0 15px;
    color: #FFFFFF;
}

.marquee-star {
    font-size: 8px;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

@keyframes sasMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --------------------------------------------------------------------------
   Category Features
   -------------------------------------------------------------------------- */
.sas-category-features {
    padding: 60px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


.category-card {
    position: relative;
    height: 400px;
    /* Increased height for 50/50 layout */
    border-radius: var(--sas-radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    text-decoration: none;
    transition: all var(--sas-transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 23, 46, 0.8) 0%, rgba(0, 23, 46, 0) 60%);
    z-index: 1;
}

.category-card-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.category-card-title {
    font-family: var(--sas-font-heading);
    font-size: 24px;
    margin: 0 0 5px;
    color: #fff;
}

.category-card-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--sas-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 250px;
    }
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.sas-mobile-close,
.mobile-menu-actions {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--sas-header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sas-border);
}

.site-header.is-scrolled {
    height: var(--sas-header-height-scrolled);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /* No manual padding here, handled by .sas-container */
}

@media (max-width: 991px) {
    .site-header {
        height: 70px;
    }
}

.sas-logo img {
    height: 50px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-scrolled .sas-logo img {
    height: 38px;
}

/* Nav Menu */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.main-navigation li a {
    font-family: var(--sas-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--sas-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.main-navigation li a:hover {
    color: var(--sas-accent);
}

/* Underline Animation */
.main-navigation li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sas-accent);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-navigation li a:hover::after,
.main-navigation li.current-menu-item a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

@media (max-width: 991px) {
    .header-actions {
        display: none;
        /* Hide on mobile to simplify header */
    }
}

.header-action-btn {
    font-size: 18px;
    color: var(--sas-primary);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action-btn:hover {
    color: var(--sas-accent);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--sas-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   Search Popup
   -------------------------------------------------------------------------- */
.sas-search-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 23, 46, 0.98);
    backdrop-filter: blur(15px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sas-search-popup.is-active {
    opacity: 1;
    visibility: visible;
}

.sas-search-inner {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sas-search-popup.is-active .sas-search-inner {
    transform: translateY(0);
}

.sas-search-close {
    position: absolute;
    top: -100px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sas-search-close:hover {
    transform: rotate(90deg);
    color: var(--sas-accent);
}

.sas-search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.sas-search-field {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--sas-font-heading);
    font-size: 42px;
    width: 100%;
    outline: none;
}

.sas-search-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.sas-search-submit {
    background: none;
    border: none;
    color: var(--sas-accent);
    font-size: 28px;
    cursor: pointer;
}

@keyframes sasPop {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger-box {
    width: 24px;
    height: 18px;
    display: block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--sas-primary);
    position: absolute;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -8px;
}

.hamburger-inner::after {
    content: "";
    bottom: -8px;
}

.menu-toggle.is-active .hamburger-inner {
    background-color: transparent;
}

.menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        padding: 50px 30px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1001;
    }

    .nav-menu-wrapper.is-open {
        right: 0;
    }

    .sas-mobile-close {
        display: block;
        /* Show on mobile */
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--sas-primary);
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        transition: color 0.3s ease;
    }

    .sas-mobile-close:hover {
        color: var(--sas-accent);
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation li a {
        font-size: 18px;
    }

    /* Mobile Menu Icons */
    .mobile-menu-actions {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid var(--sas-border);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        gap: 15px;
        color: var(--sas-primary);
        font-family: var(--sas-font-body);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .mobile-action-btn i {
        font-size: 20px;
        color: var(--sas-accent);
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--sas-primary);
    color: #fff;
    padding: 50px 0 0;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: var(--sas-section-py-mobile) 0 30px;
        margin-top: var(--sas-section-py-mobile);
    }
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    /* Reduced from 60px */
}

.footer-logo img {
    filter: brightness(0) invert(1);
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-heading {
    font-family: var(--sas-font-heading);
    color: var(--sas-accent);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--sas-accent);
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    margin-right: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    background: var(--sas-accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.payment-methods i {
    transition: all 0.3s ease;
    filter: grayscale(1);
    opacity: 0.5;
}

.payment-methods i:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--sas-accent);
    transform: scale(1.2);
}

.footer-bottom {
    padding: 20px 0;
    /* Reduced from 30px top and added explicit bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-attribution a {
    color: var(--sas-accent);
}

@media (max-width: 991px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Section Styling & Typography
   -------------------------------------------------------------------------- */
.sas-section-padding {
    padding: var(--sas-section-py) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--sas-font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sas-accent);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--sas-text-light);
    font-size: 16px;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* --------------------------------------------------------------------------
   Product Grid & Cards
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sas-product-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card-inner {
    position: relative;
    background: #fff;
    border-radius: var(--sas-radius);
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sas-product-card:hover .product-main-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sas-primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    z-index: 2;
}

.product-card-actions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sas-product-card:hover .product-card-actions {
    transform: translateY(0);
    opacity: 1;
}

.sas-btn--quick-add {
    width: 100%;
    background: #fff;
    color: var(--sas-primary);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sas-btn--quick-add:hover {
    background: var(--sas-primary);
    color: #fff;
}

.product-info {
    padding: 18px 4px 8px;
}

.product-category {
    display: block;
    font-size: 11px;
    color: var(--sas-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.product-category a {
    color: inherit;
}

.product-title {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-title a {
    color: var(--sas-primary);
}

.product-title a:hover {
    color: var(--sas-accent);
}

.product-price {
    font-family: var(--sas-font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--sas-accent);
}

.product-price del {
    color: var(--sas-text-light);
    font-weight: 400;
    font-size: 13px;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
}

/* FAQ Section (Restored to Centered) */
.sas-faq-section .sas-container {
    display: block;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:first-child {
    border-top: 1px solid #eee;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sas-font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--sas-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--sas-accent);
}

.faq-question i {
    font-size: 20px;
    transition: transform 0.4s ease;
    color: var(--sas-accent);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--sas-text-light);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .sas-faq-section .sas-container {
        display: block;
    }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sas-product-card .sas-btn,
    .related.products .button {
        white-space: nowrap !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
        min-width: 100%;
        display: flex;
        justify-content: center;
    }

    .sas-section-padding {
        padding: var(--sas-section-py-mobile) 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .product-card-actions {
        display: none;
        /* Simplify for mobile */
    }

    .product-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 14px;
    }
}


/* ==========================================================================
   Product Cards — Quick View Overlay
   ========================================================================== */
.sas-product-grid .product {
    position: relative;
    border-radius: var(--sas-radius);
    overflow: hidden;
    background: #fff;
    transition: transform var(--sas-transition), box-shadow var(--sas-transition);
    border: 1px solid var(--sas-border);
}

.sas-product-grid .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.sas-product-grid .product .attachment-woocommerce_thumbnail {
    transition: transform 0.5s ease;
}

.sas-product-grid .product:hover .attachment-woocommerce_thumbnail {
    transform: scale(1.06);
}

/* Quick-view trigger button injected by JS */
.sas-quick-view-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    background: var(--sas-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--sas-transition);
    z-index: 5;
    white-space: nowrap;
}

.sas-product-grid .product:hover .sas-quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sas-quick-view-btn:hover {
    background: var(--sas-accent);
}

/* Quick-view modal overlay */
.sas-quick-view-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sas-quick-view-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.sas-quick-view-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: sasSlideUp 0.35s ease;
}

@keyframes sasSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sas-qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--sas-transition);
    z-index: 2;
}

.sas-qv-close:hover {
    background: #f5f5f5;
    color: var(--sas-primary);
}

.sas-qv-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.sas-qv-image img {
    width: 100%;
    border-radius: 12px;
}

.sas-qv-title {
    font-family: var(--sas-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--sas-primary);
    margin: 0 0 10px;
}

.sas-qv-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--sas-accent);
    margin-bottom: 10px;
}

.sas-qv-rating {
    color: #FFC107;
    font-size: 14px;
    margin-bottom: 12px;
}

.sas-qv-excerpt {
    color: var(--sas-text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sas-qv-add-to-cart {
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

.sas-qv-view-full {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--sas-text-light);
}

.sas-qv-view-full:hover {
    color: var(--sas-accent);
}

@media (max-width: 768px) {
    .sas-qv-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}

/* ==========================================================================
   Product Badges (Single Product)
   ========================================================================== */
.sas-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.sas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background: #f8f8f8;
    color: var(--sas-text-light);
    border: 1px solid #eee;
}

.sas-badge i {
    color: var(--sas-accent);
    font-size: 13px;
}

/* ==========================================================================
   Sticky Add to Cart Bar
   ========================================================================== */
.sas-sticky-add-to-cart {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 998;
    transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sas-sticky-add-to-cart.is-visible {
    bottom: 0;
}

/* ==========================================================================
   Progress Steps (Cart / Checkout)
   ========================================================================== */
.sas-progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

.sas-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    transition: color var(--sas-transition);
}

.sas-step--active {
    color: var(--sas-accent);
    font-weight: 600;
}

.sas-step--done {
    color: #2ecc71;
}

.sas-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    font-size: 12px;
    font-weight: 700;
    color: #999;
}

.sas-step--active .sas-step-num {
    background: var(--sas-accent);
    color: #fff;
}

.sas-step--done .sas-step-num {
    background: #2ecc71;
    color: #fff;
}

.sas-step-line {
    width: 60px;
    height: 2px;
    background: #eee;
    margin: 0 12px;
}

.sas-step-line--done {
    background: #2ecc71;
}

@media (max-width: 480px) {
    .sas-step span:not(.sas-step-num) {
        display: none;
    }

    .sas-step-line {
        width: 30px;
    }
}

/* ==========================================================================
   Account Dashboard Cards
   ========================================================================== */
.sas-account-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sas-account-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--sas-transition);
    text-decoration: none;
}

.sas-account-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--sas-accent);
}

.sas-account-card i {
    font-size: 28px;
    color: var(--sas-accent);
    margin-bottom: 12px;
}

.sas-account-card h4 {
    font-family: var(--sas-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--sas-primary);
    margin: 0 0 6px;
}

.sas-account-card p {
    font-size: 13px;
    color: var(--sas-text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .sas-account-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sas-account-cards {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Checkout Trust Badges
   ========================================================================== */
.sas-checkout-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    background: var(--sas-bg-alt);
    border-radius: var(--sas-radius);
    border: 1px solid var(--sas-border);
}

.sas-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sas-trust-item i {
    font-size: 22px;
    color: var(--sas-accent);
    margin-top: 2px;
}

.sas-trust-item strong {
    display: block;
    font-size: 14px;
    color: var(--sas-primary);
    margin-bottom: 2px;
}

.sas-trust-item span {
    font-size: 12px;
    color: var(--sas-text-light);
}

@media (max-width: 768px) {
    .sas-checkout-trust {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sas-checkout-trust {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Payment Icons
   ========================================================================== */
.sas-payment-icons,
.sas-checkout-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sas-payment-icons span,
.sas-checkout-payments span {
    font-size: 13px;
    color: var(--sas-text-light);
    font-weight: 500;
}

.sas-payment-icons i,
.sas-checkout-payments i {
    font-size: 28px;
    color: #bbb;
    transition: color var(--sas-transition);
}

.sas-payment-icons i:hover,
.sas-checkout-payments i:hover {
    color: var(--sas-primary);
}

.sas-checkout-payments {
    justify-content: center;
}

/* ==========================================================================
   Cart Table Enhancements
   ========================================================================== */
.sas-cart-table .woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #f5f5f5;
}

.sas-cart-table .product-thumbnail img {
    border-radius: 8px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.sas-order-summary-card {
    background: var(--sas-bg-alt);
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    padding: 25px;
}

.sas-order-summary-card h3 {
    font-family: var(--sas-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--sas-primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* ==========================================================================
   My Account WooCommerce Overrides
   ========================================================================== */
.sas-my-account .woocommerce-MyAccount-navigation {
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.sas-my-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sas-my-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 15px;
    color: var(--sas-text);
    font-size: 14px;
    border-radius: 8px;
    transition: all var(--sas-transition);
}

.sas-my-account .woocommerce-MyAccount-navigation li.is-active a,
.sas-my-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--sas-accent);
    color: #fff;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.sas-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sas-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Smooth Scroll reveal extension
   ========================================================================== */
[data-sas-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-sas-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.sas-hidden {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Side Cart Slider
   -------------------------------------------------------------------------- */
.sas-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 23, 46, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sas-cart-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.sas-side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.sas-side-cart.is-open {
    transform: translateX(0);
}

.side-cart-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--sas-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-cart-header h3 {
    font-size: 20px;
    margin: 0;
}

.sas-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--sas-primary);
    transition: color 0.3s ease;
}

.sas-cart-close:hover {
    color: var(--sas-accent);
}

.side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

/* Custom Mini Cart Styling */
.widget_shopping_cart_content .woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 15px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    grid-row: span 2;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove) {
    grid-column: 2;
    font-family: var(--sas-font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--sas-primary);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove):hover {
    color: var(--sas-accent);
}

.widget_shopping_cart_content .woocommerce-mini-cart-item .quantity {
    grid-column: 2;
    font-size: 14px;
    color: var(--sas-text-light);
    margin-top: 4px;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item .remove {
    grid-column: 3;
    grid-row: span 2;
    align-self: flex-start;
    color: #ff4d4f !important;
    background: #fff0f0;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.widget_shopping_cart_content .woocommerce-mini-cart-item .remove:hover {
    background: #ff4d4f;
    color: #fff !important;
}

.widget_shopping_cart_content .woocommerce-mini-cart__total {
    padding: 20px 0;
    border-top: 2px solid #f5f5f5;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    display: grid;
    gap: 10px;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button {
    width: 100%;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout {
    background: var(--sas-primary);
    color: #fff;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: #f5f5f5;
    color: var(--sas-primary);
}

@media (max-width: 480px) {
    .sas-side-cart {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Category Features
   -------------------------------------------------------------------------- */
.sas-category-features {
    padding: var(--sas-section-py) 0;
}

.sas-section-padding {
    padding: var(--sas-section-py) 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 350px;
    border-radius: var(--sas-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease;
}

.category-card:hover .category-card-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.category-card-title {
    font-family: var(--sas-font-heading);
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.category-card-count {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--sas-accent);
    color: var(--sas-primary);
    padding: 6px 15px;
    border-radius: 30px;
}

@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 280px;
    }
}

/* --------------------------------------------------------------------------
   Section Modifiers
   -------------------------------------------------------------------------- */
.bg-alt {
    background-color: #fcfcfc;
}

.badge-popular {
    background: var(--sas-accent) !important;
    color: var(--sas-primary) !important;
}

/* --------------------------------------------------------------------------
   Promo Banner
   -------------------------------------------------------------------------- */
.sas-promo-banner {
    padding: 60px 0;
    margin: 40px 0;
}

.promo-inner {
    background: var(--sas-primary);
    border-radius: 10px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 300px;
    /* Ensures a compact, professional height */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.promo-content {
    flex: 1;
    max-width: 600px;
}

.promo-tag {
    display: inline-block;
    color: var(--sas-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    margin-bottom: 15px;
}

.promo-title {
    font-family: var(--sas-font-heading);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.promo-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.sas-btn--white {
    background: #fff;
    color: var(--sas-primary);
}

.sas-btn--white:hover {
    background: var(--sas-accent);
    color: var(--sas-primary);
}

.promo-image {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.floating-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.floating-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: sasSimpleFloat 4s ease-in-out infinite;
    /* mix-blend-mode removal as it was causing weird effects on dark bg */
}

@keyframes sasSimpleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991px) {
    .promo-inner {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }

    .promo-image {
        flex: 0 0 auto;
        width: 100%;
        order: -1;
        margin-bottom: 30px;
    }

    .promo-content {
        max-width: 100%;
    }

    .floating-img {
        max-width: 250px;
    }
}

/* --------------------------------------------------------------------------
   Shop & Page Hero Section
   -------------------------------------------------------------------------- */
.sas-shop-hero,
.sas-page-hero {
    position: relative;
    height: 300px;
    /* Compact height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) blur(2px);
    transform: scale(1.1);
}

.shop-hero-content {
    position: relative;
    z-index: 2;
}

.shop-title {
    font-family: var(--sas-font-heading);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sas-breadcrumbs {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    /* White breadcrumb text/separators */
    font-weight: 600;
}

.sas-breadcrumbs a {
    color: var(--sas-accent);
    /* Accent color for links */
    text-decoration: none;
    transition: all 0.3s ease;
}

.sas-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.shop-main-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
    align-items: flex-start;
    /* Required for sticky sidebar */
}

.shop-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: calc(var(--sas-header-height-scrolled) + 40px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
    /* Space for scrollbar if needed */
}

/* Custom scrollbar for sticky sidebar */
.shop-sidebar::-webkit-scrollbar {
    width: 4px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

.shop-products-wrap {
    flex: 1;
}

.shop-filter-group {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sas-border);
}

.shop-filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sas-primary);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--sas-text-light);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.filter-list a:hover {
    color: var(--sas-primary);
    padding-left: 5px;
}

.filter-list .count {
    font-size: 12px;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    color: #999;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.woocommerce-result-count {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.woocommerce-ordering {
    margin: 0;
}

.woocommerce-ordering select {
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--sas-primary);
    background: #fff;
    cursor: pointer;
}

@media (max-width: 991px) {
    .shop-main-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        flex: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        order: -1;
    }

    .shop-filter-group {
        border-bottom: none;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .shop-sidebar {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Cart Page (Shopify-Style)
   -------------------------------------------------------------------------- */
.sas-cart-container {
    padding: 60px 0 100px;
}

.sas-cart-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sas-cart-items-column {
    flex: 1;
}

.sas-cart-summary-column {
    flex: 0 0 420px;
    max-width: 100%;
}

.cart-column-title,
.summary-title {
    font-family: var(--sas-font-heading);
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--sas-primary);
}

.sas-cart-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--sas-border);
}

.sas-cart-item:first-child {
    border-top: 1px solid var(--sas-border);
}

.cart-item-image {
    width: 120px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-title a {
    color: var(--sas-primary);
    text-decoration: none;
}

.cart-item-price {
    color: var(--sas-text-light);
    font-size: 15px;
    margin-bottom: 15px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-actions .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.cart-item-actions .quantity input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.remove-cart-item {
    color: #ff4d4f;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.remove-cart-item:hover {
    opacity: 0.7;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: 18px;
    color: var(--sas-primary);
    min-width: 100px;
    text-align: right;
}

.sas-cart-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

.sas-cart-form-actions .coupon {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.sas-cart-form-actions .coupon input {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 5px;
    flex: 1;
}

.btn-apply-coupon,
.btn-update-cart {
    background: #f5f5f5;
    color: var(--sas-primary);
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
}

.btn-update-cart {
    display: none !important;
}

/* Loading Overlay for Cart */
.sas-cart-container.is-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Order Summary Card */
.cart-summary-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: calc(var(--sas-header-height-scrolled) + 40px);
    width: 100%;
    /* Force full width within column */
    box-sizing: border-box;
}

/* Hide Redundant WC Titles */
.cart-summary-card .cart_totals h2,
.cart-summary-card .woocommerce-shipping-destination {
    display: none !important;
}

.cart-summary-card .cart_totals,
.cart-summary-card .shop_table {
    width: 100% !important;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-summary-card tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.cart-summary-card tr:last-of-type {
    border-bottom: none;
}

.cart-summary-card tr th,
.cart-summary-card tr td {
    padding: 0 !important;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
}

.cart-summary-card tr th {
    font-weight: 500;
    color: var(--sas-text-light);
    flex: 1;
}

.cart-summary-card tr td {
    text-align: right !important;
    font-weight: 700;
    color: var(--sas-primary);
    flex: 1;
}

.cart-summary-card .order-total {
    padding-top: 20px;
    margin-top: 5px;
    border-top: 2px solid var(--sas-primary);
}

.cart-summary-card .order-total th,
.cart-summary-card .order-total td {
    font-size: 20px !important;
}

/* Shipping calculator fixes */
.woocommerce-shipping-calculator {
    margin-top: 10px;
}

.shipping-calculator-button {
    color: var(--sas-accent) !important;
    font-weight: 600;
    text-decoration: none;
}

.cart-summary-card .wc-proceed-to-checkout {
    padding-top: 10px;
}

.cart-summary-card .checkout-button {
    width: 100%;
    display: block;
    text-align: center;
    background: var(--sas-accent) !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
    border: none !important;
}

.cart-summary-card .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: var(--sas-primary) !important;
}

.cart-trust-badges {
    margin-top: 30px;
    border-top: 1px solid var(--sas-border);
    padding-top: 25px;
    display: grid;
    gap: 15px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--sas-text-light);
}

.trust-badge i {
    font-size: 20px;
    color: var(--sas-accent);
}

@media (max-width: 1200px) {
    .sas-cart-layout {
        gap: 40px;
    }

    .sas-cart-summary-column {
        flex: 0 0 350px;
    }
}

@media (max-width: 991px) {
    .sas-cart-layout {
        flex-direction: column;
    }

    .sas-cart-summary-column {
        flex: none;
        width: 100%;
    }

    .cart-summary-card {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .sas-cart-item {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cart-item-image {
        width: 80px;
    }

    .cart-item-image img {
        height: 80px;
    }

    .cart-item-subtotal {
        width: 100%;
        text-align: left;
        border-top: 1px dashed #eee;
        padding-top: 15px;
    }

    .sas-cart-form-actions {
        flex-direction: column;
        gap: 20px;
    }

    .sas-cart-form-actions .coupon {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   My Account Dashboard
   -------------------------------------------------------------------------- */
.sas-account-layout {
    display: flex;
    gap: 50px;
    padding: 60px 0 100px;
    align-items: flex-start;
}

.sas-account-sidebar {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 0;
    position: sticky;
    top: calc(var(--sas-header-height-scrolled) + 30px);
}

.sas-account-content {
    flex: 1;
}

/* Account Navigation */
.account-nav-header {
    padding: 0 30px 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--sas-accent);
}

.user-greet {
    display: block;
    font-size: 13px;
    color: var(--sas-text-light);
}

.user-display-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--sas-primary);
}

.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    color: var(--sas-text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.account-nav-list li i {
    font-size: 20px;
}

.account-nav-list li.is-active a {
    color: var(--sas-primary);
    background: #fdfaf3;
    border-left-color: var(--sas-accent);
}

.account-nav-list li a:hover {
    color: var(--sas-primary);
    background: #f9f9f9;
}

/* Dashboard Content */
.welcome-title {
    font-family: var(--sas-font-heading);
    font-size: 32px;
    margin-bottom: 10px;
}

.welcome-text {
    color: var(--sas-text-light);
    margin-bottom: 40px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(8, 137, 200, 0.1);
    color: var(--sas-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--sas-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--sas-primary);
}

.dashboard-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.quick-link-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.quick-link-card i {
    font-size: 40px;
    color: var(--sas-accent);
    margin-bottom: 20px;
    display: inline-block;
}

.quick-link-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--sas-primary);
}

.quick-link-card p {
    font-size: 14px;
    color: var(--sas-text-light);
    line-height: 1.6;
    margin: 0;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--sas-accent);
}

/* Auth Pages (Login/Register) */
.sas-auth-container {
    padding: 100px 0;
    background: #fdfdfd;
}

.sas-auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.auth-tab-btn {
    padding-bottom: 15px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--sas-text-light);
    cursor: pointer;
    position: relative;
}

.auth-tab-btn.active {
    color: var(--sas-primary);
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sas-accent);
}

.auth-form-pane {
    display: none;
}

.auth-form-pane.active {
    display: block;
    animation: sasFadeUp 0.5s ease;
}

.auth-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--sas-text-light);
    margin-bottom: 30px;
}

.sas-auth-box .form-row {
    margin-bottom: 20px;
}

.sas-auth-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.sas-auth-box input[type="text"],
.sas-auth-box input[type="email"],
.sas-auth-box input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.form-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.lost-password {
    color: var(--sas-accent);
    text-decoration: none;
}

.sas-btn--primary {
    width: 100%;
    padding: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 991px) {
    .sas-account-layout {
        flex-direction: column;
    }

    .sas-account-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .dashboard-stats-grid,
    .dashboard-links-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Global Fixes (Overflow & Misc)
   -------------------------------------------------------------------------- */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

#page {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 991px) {

    /* Ensure no horizontal scroll caused by header or off-canvas elements */
    .nav-menu-wrapper {
        max-width: 85vw;
        /* Prevent menu from being too large on small devices */
    }
}

/* --------------------------------------------------------------------------
   Premium Single Product Pages
   -------------------------------------------------------------------------- */
.sas-single-product-hero {
    height: 350px !important;
    /* Increased for impact */
    margin-bottom: 0 !important;
}

.sas-single-product-hero .shop-title {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.sas-single-product-layout {
    display: flex;
    gap: 40px;
    /* Reduced from 80px */
    padding: 40px 0;
    /* Reduced from 80px */
    align-items: flex-start;
}

/* Gallery Column */
.sas-product-gallery-column {
    flex: 0 0 58%;
    max-width: 58%;
}

.gallery-sticky-wrap {
    position: sticky;
    top: calc(var(--sas-header-height-scrolled) + 40px);
}

.sas-product-gallery-main {
    border-radius: 20px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
    height: 650px;
    position: relative;
}

.sas-product-gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.sas-product-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sas-product-gallery-main:hover img {
    transform: scale(1.05);
}

/* Gallery Nav */
.sas-product-gallery-main .swiper-nav-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.sas-product-gallery-main .swiper-button-next::after,
.sas-product-gallery-main .swiper-button-prev::after {
    display: none !important;
}

.sas-product-gallery-main .swiper-button-next,
.sas-product-gallery-main .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--sas-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.sas-product-gallery-main .swiper-button-next:hover,
.sas-product-gallery-main .swiper-button-prev:hover {
    background: var(--sas-accent);
    color: #fff;
}

.sas-product-gallery-thumbs {
    height: 120px;
    padding: 10px 0;
}

.sas-product-gallery-thumbs .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.sas-product-gallery-thumbs .swiper-slide-thumb-active {
    border-color: var(--sas-accent);
    opacity: 1;
    transform: translateY(-5px);
}

.sas-product-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Column */
.sas-product-summary-column {
    flex: 1;
}

.sas-product-summary-column .product_title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}


.sas-product-summary-column .price {
    font-family: var(--sas-font-body);
    font-size: 32px;
    font-weight: 700;
    color: var(--sas-primary);
    margin-bottom: 30px;
    display: block;
}

.sas-product-summary-column .woocommerce-product-details__short-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--sas-text-light);
    margin-bottom: 40px;
}

/* Custom Variations & Quantity */
.sas-product-summary-column .variations {
    width: 100%;
    margin-bottom: 30px;
}

.sas-product-summary-column .variations td {
    padding: 10px 0;
    display: block;
}

.sas-product-summary-column .variations label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.sas-product-summary-column select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: 1px solid #eee;
    background: #f9f9f9;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

/* Buy Box Styling */
.sas-product-summary-column form.cart {
    display: flex;
    flex-direction: column;
    /* Stack variations and add-to-cart section */
    gap: 15px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}

/* Container for Qty + Button for Simple and Variable Products */
.sas-product-summary-column .woocommerce-variation-add-to-cart,
.sas-product-summary-column form.cart:not(.variations_form) {
    display: flex !important;
    align-items: stretch;
    /* Forces same height */
    gap: 15px;
    flex-wrap: nowrap;
}



.sas-product-summary-column .quantity {
    flex: 0 0 140px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    border-radius: 40px;
    padding: 0 15px;
    /* Use height to control vertical size */
    height: 54px;
    border: 1px solid #eee;
}


.sas-product-summary-column .quantity input {
    width: 50px;
    background: transparent;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--sas-primary);
}

.sas-product-summary-column .quantity .qty-btn {
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--sas-primary);
    transition: color 0.3s ease;
}

.sas-product-summary-column .quantity .qty-btn:hover {
    color: var(--sas-accent);
}

.sas-product-summary-column .quantity .qty-btn i {
    font-size: 18px;
}

.sas-product-summary-column .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    background: var(--sas-primary) !important;
    color: #fff !important;
    padding: 0 40px !important;
    /* Vertical padding 0, height controlled by parent flex or explicit */
    height: 54px;
    border-radius: 40px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.sas-product-summary-column .single_add_to_cart_button:hover {
    background: var(--sas-accent) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Trust Badges Refined */
.sas-product-trust-badges {
    margin: 30px 0;
    /* Reduced from 50px */
    padding: 25px;
    /* Reduced from 30px */
    background: #fdfaf3;
    border-radius: 20px;
    display: grid;
    gap: 20px;
    /* Reduced from 25px */
}

.sas-product-trust-badges .trust-badge {
    display: flex;
    gap: 20px;
}

.sas-product-trust-badges i {
    font-size: 28px;
    color: var(--sas-accent);
    margin-top: -2px;
}

.badge-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.badge-text span {
    font-size: 13px;
    color: var(--sas-text-light);
}

/* Related & Tabs */
.sas-product-tabs-wrapper {
    margin-top: 60px;
    /* Reduced from 100px */
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* Reduced gap */
    padding: 30px 0;
    /* Reduced padding */
    margin-bottom: 0;
    list-style: none;
    border-bottom: 1px solid #eee;
}

.woocommerce-tabs ul.tabs li a {
    font-size: 16px;
    /* Slightly smaller */
    font-weight: 700;
    color: #bbb;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--sas-primary);
    position: relative;
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sas-accent);
}

.woocommerce-Tabs-panel {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--sas-text-light);
}

.related.products,
.upsells.products {
    padding-top: 80px;
    border-top: 1px solid #eee;
}

@media (max-width: 1200px) {
    .sas-single-product-layout {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .sas-single-product-layout {
        flex-direction: column;
    }

    .sas-product-gallery-column {
        max-width: 100%;
        flex: none;
    }

    .sas-product-gallery-main {
        height: 500px;
    }

    .sas-summary-inner {
        position: static;
    }

    .sas-product-summary-column .product_title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .sas-product-gallery-main {
        height: 350px;
    }

    .sas-product-summary-column .cart {
        display: flex !important;
        flex-direction: column !important;
        /* Stack sizes vs buttons */
        gap: 20px !important;
    }

    .sas-product-summary-column .woocommerce-variation-add-to-cart,
    .sas-product-summary-column form.cart:not(.variations_form) {
        display: flex !important;
        flex-direction: row !important;
        /* Row for qty + button */
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sas-product-summary-column .quantity {
        margin-bottom: 0 !important;
        flex: 0 0 120px !important;
        height: 48px !important;
        /* Compact on mobile */
    }

    .sas-product-summary-column .single_add_to_cart_button {
        width: auto !important;
        flex: 1 !important;
        padding: 0 15px !important;
        height: 48px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        min-width: 0 !important;
    }




    .woocommerce-tabs ul.tabs {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        /* Changed from center to prevent left-side cut-off */
        gap: 20px;
        padding-bottom: 15px;
        padding-left: var(--sas-gutter-mobile);
        padding-right: var(--sas-gutter-mobile);
        scrollbar-width: none;
        /* Hide scrollbar for cleaner look */
    }

    .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome/Safari */
    }

    .woocommerce-Tabs-panel {
        padding: 40px 15px !important;
        /* Ensure content doesn't touch edges */
        font-size: 15px !important;
    }


    .woocommerce-tabs ul.tabs li a {
        font-size: 14px;
        white-space: nowrap;
    }
}

/* --------------------------------------------------------------------------
   Variation Boxed Selection
   -------------------------------------------------------------------------- */
.variations {
    width: 100%;
    margin-bottom: 25px;
}

.variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
}

.variations .label {
    display: none !important;
    /* Hidden, handled by JS boxes */
}

.variations select {
    display: none !important;
    /* Hidden, handled by JS boxes */
}

.sas-variation-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.sas-size-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 10px;
    border: 1px solid var(--sas-border);
    border-radius: var(--sas-radius);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--sas-primary);
    cursor: pointer;
    transition: all var(--sas-transition);
}

.sas-size-box:hover {
    border-color: var(--sas-accent);
    color: var(--sas-accent);
}

.sas-size-box.is-active {
    background: var(--sas-primary);
    border-color: var(--sas-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 23, 46, 0.15);
}

.sas-size-box.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   Breadcrumbs Enhancement
   -------------------------------------------------------------------------- */
.sas-single-product-hero .sas-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.sas-single-product-hero .sas-breadcrumbs a {
    color: #fff;
    opacity: 0.8;
}

.sas-single-product-hero .sas-breadcrumbs .breadcrumb-separator {
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Size Selector Header & Popup
   -------------------------------------------------------------------------- */
.sas-size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sas-size-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sas-primary);
    margin: 0;
}

.sas-size-guide-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--sas-text-light);
    text-decoration: underline;
    cursor: pointer;
    transition: color var(--sas-transition);
}

.sas-size-guide-link:hover {
    color: var(--sas-accent);
}

.sas-variation-boxes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.sas-variation-boxes::-webkit-scrollbar {
    height: 3px;
}

.sas-variation-boxes::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Product Highlights Grid
   -------------------------------------------------------------------------- */
.sas-product-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid var(--sas-border);
}

.highlight-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.highlight-item i {
    font-size: 20px;
    color: var(--sas-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-content strong {
    display: block;
    font-size: 13px;
    color: var(--sas-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.highlight-content p {
    font-size: 12px;
    color: var(--sas-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Size Guide Modal
   -------------------------------------------------------------------------- */
.sas-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 23, 46, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sas-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.sas-modal-container {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.sas-modal-overlay.is-active .sas-modal-container {
    transform: translateY(0);
}

.sas-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sas-text-light);
}

.sas-size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.sas-size-table th,
.sas-size-table td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: center;
    font-size: 14px;
}

.sas-size-table th {
    background: #fafafa;
    font-weight: 700;
}

@media (max-width: 576px) {
    .sas-product-highlights {
        grid-template-columns: 1fr;
    }
}

.reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sas-text-light);
    text-decoration: underline;
}

.reset_variations:hover {
    color: var(--sas-accent);
}