/* ==========================================================================
   STORVIA - Premium eCommerce Theme (CaseDZ Inspired)
   Matches https://casedz.shop/ & StorVia Royal Purple Brand Identity
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@600;700;800;900&family=Tajawal:wght@500;700;800;900&display=swap');

:root {
    /* Brand Colors */
    --sv-primary: #0B1426;
    --sv-primary-dark: #070D1A;
    --sv-primary-deep: #050A14;
    --sv-accent: #13254A;
    --sv-accent-light: #26407A;
    --sv-accent-gradient: linear-gradient(135deg, #13254A 0%, #26407A 100%);
    --sv-gold: #F5B800;
    --sv-gold-light: #FFD666;
    --sv-gold-gradient: linear-gradient(135deg, #FFD666 0%, #F5B800 100%);
    --sv-success: #10b981;
    --sv-danger: #ef4444;

    /* Backgrounds & Surfaces */
    --sv-bg: #F6F7FA;
    --sv-card-bg: linear-gradient(180deg, #FBFCFD 0%, #EFF2F7 100%);
    --sv-card-border: rgba(30,52,96, 0.18);
    --sv-card-shadow: 0 10px 24px rgba(30,52,96, 0.08);

    /* Text Colors */
    --sv-text-title: #1A2438;
    --sv-text-body: #3A4660;
    --sv-text-muted: #5E6B82;

    /* Typography */
    --sv-font: 'Almarai', 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Hide legacy top bars, headers, and navigation on home page */
body.index-pro .top,
body.index-pro .header,
body.index-pro .nav,
body.index-pro .footer-bottom,
body.index-pro .home-newsletter {
    display: none !important;
}

body.index-pro {
    background-color: var(--sv-bg);
    color: var(--sv-text-body);
    font-family: var(--sv-font);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.sv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   1. Announcement Marquee Ticker
   ========================================================================== */
.sv-ticker-bar {
    background: #070D1A;
    color: #FFD666;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sv-ticker-track {
    display: inline-flex;
    animation: svTickerScroll 24s linear infinite;
}
.sv-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
}
.sv-ticker-item span.star {
    color: var(--sv-gold);
}
@keyframes svTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ==========================================================================
   2. Modern Fixed Header (Matching Screenshot 1)
   ========================================================================== */
.yc-header {
    background: var(--sv-primary) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.yc-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cart Button on Left (in RTL) */
.yc-cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.yc-cart-btn:hover {
    transform: scale(1.08);
}
.yc-cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--sv-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(19,37,74, 0.4);
}

/* Logo in Exact Center */
.yc-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.yc-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background: radial-gradient(circle at center, #0E1A30 0%, #070D1A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.25s ease;
}
.yc-logo-circle:hover {
    transform: scale(1.05);
}
.yc-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hamburger Menu Toggle on Right */
.yc-menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.yc-menu-btn span {
    display: block;
    width: 26px;
    height: 2.8px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.25s ease;
}
.yc-menu-btn:hover span {
    background: var(--sv-gold-light);
}

/* ==========================================================================
   3. Mobile Navigation Drawer
   ========================================================================== */
.yc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,10,20, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.yc-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}
.yc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    background: #070D1A;
    color: #ffffff;
    z-index: 10002;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    direction: rtl;
}
.yc-drawer.active {
    transform: translateX(0);
}
.yc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--sv-primary);
}
.yc-drawer-header .title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.yc-drawer-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yc-drawer-body {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
}
.yc-drawer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.yc-drawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: #D8DEEA;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}
.yc-drawer-links a:hover,
.yc-drawer-links a.active {
    background: var(--sv-accent);
    color: #ffffff;
    transform: translateX(-4px);
}
.yc-drawer-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}
.yc-drawer-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* ==========================================================================
   4. Hero Banner / Showcase (Matching Screenshot 1)
   ========================================================================== */
.yc-hero-section {
    position: relative;
    background: radial-gradient(circle at 50% 30%, #12213D 0%, #0B1426 60%, #060C18 100%);
    padding: 20px 0 28px;
    overflow: hidden;
}
.yc-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    pointer-events: none;
}
.yc-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}
.yc-hero-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.yc-hero-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 480px;
}
.yc-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 20px 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(6,12,24, 0.92) 100%);
    text-align: center;
    color: #ffffff;
}
.yc-hero-title {
    font-size: 26px;
    font-weight: 900;
    color: #FFD666;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    margin: 0 0 6px;
    line-height: 1.3;
}
.yc-hero-subtitle {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
@media (max-width: 768px) {
    .yc-hero-section {
        padding: 10px 0 18px;
    }
    .yc-hero-banner {
        border-radius: 18px;
    }
    .yc-hero-title {
        font-size: 20px;
    }
    .yc-hero-subtitle {
        font-size: 14px;
    }
}

/* ==========================================================================
   5. Section Heading "المنتجات الأكثر مبيعاً" (Matching Screenshot 1 & 2)
   ========================================================================== */
.yc-section-head {
    text-align: center;
    margin: 32px 0 24px;
    position: relative;
}
.yc-section-star {
    display: block;
    font-size: 24px;
    color: var(--sv-gold);
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(245,184,0, 0.35);
    animation: starPulse 2.5s ease-in-out infinite;
}
@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 1; }
}
.yc-section-title {
    font-size: 32px;
    font-weight: 900;
    color: #0D1830;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}
.yc-section-line {
    display: block;
    width: 110px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245,184,0, 0) 0%, rgba(245,184,0, 0.95) 20%, #233C72 55%, rgba(245,184,0, 0.95) 80%, rgba(245,184,0, 0) 100%);
    box-shadow: 0 4px 14px rgba(19,37,74, 0.22);
}
@media (max-width: 768px) {
    .yc-section-head {
        margin: 22px 0 18px;
    }
    .yc-section-star {
        font-size: 19px;
    }
    .yc-section-title {
        font-size: 26px;
    }
    .yc-section-line {
        width: 86px;
        height: 4px;
    }
}

/* ==========================================================================
   6. Featured Products Box & Grid (Matching Screenshot 2)
   ========================================================================== */
.yc-featured-box {
    background: linear-gradient(180deg, #ffffff 0%, #F4F6FA 100%);
    border-radius: 28px;
    padding: 24px 16px 32px;
    margin-bottom: 35px;
    box-shadow: 0 18px 40px rgba(19,37,74, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(19,37,74, 0.1);
    position: relative;
    overflow: hidden;
}
.yc-featured-box::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -20%;
    width: 140%;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* 2-Columns on Mobile, 4 on Desktop */
.yc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}
@media (max-width: 1024px) {
    .yc-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (max-width: 768px) {
    .yc-featured-box {
        padding: 16px 10px 22px;
        border-radius: 20px;
    }
    .yc-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Product Block / Card */
.product-block {
    background: var(--sv-card-bg) !important;
    border: 2px solid var(--sv-card-border) !important;
    border-radius: 24px !important;
    padding: 12px !important;
    box-shadow: var(--sv-card-shadow) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.product-block:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(30,52,96, 0.35) !important;
    box-shadow: 0 16px 32px rgba(30,52,96, 0.16) !important;
}

/* Product Thumbnail */
.product-thumbnail {
    border-radius: 18px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(30,52,96, 0.1) !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}
.product-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    transition: transform 0.35s ease !important;
}
.product-block:hover .product-thumbnail img {
    transform: scale(1.05) !important;
}

/* Product Title */
.product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 44px !important;
    font-size: 14.5px !important;
    line-height: 1.38 !important;
    font-weight: 800 !important;
    color: var(--sv-text-title) !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    text-decoration: none !important;
}
.product-title:hover {
    color: var(--sv-accent) !important;
}

/* Prices Box */
.prices {
    text-align: center !important;
    margin-bottom: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}
.product-price {
    display: block !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: var(--sv-accent) !important;
    line-height: 1.1 !important;
    text-shadow: 0 2px 8px rgba(19,37,74, 0.1) !important;
}
.compare-at-price {
    display: block !important;
    font-size: 13.5px !important;
    color: var(--sv-text-muted) !important;
    text-decoration: line-through !important;
    font-weight: 700 !important;
}

/* Buy Now Button */
.buy-now-btn {
    display: block !important;
    width: 100% !important;
    padding: 11px 14px !important;
    background: var(--sv-accent-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 8px 18px rgba(19,37,74, 0.25) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
    box-sizing: border-box !important;
    cursor: pointer;
}
.buy-now-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(19,37,74, 0.35) !important;
    color: #ffffff !important;
    filter: brightness(1.05) !important;
}

@media (max-width: 768px) {
    .product-block {
        border-radius: 18px !important;
        padding: 8px !important;
    }
    .product-thumbnail {
        border-radius: 14px !important;
        margin-bottom: 8px !important;
    }
    .product-thumbnail img {
        border-radius: 12px !important;
    }
    .product-title {
        min-height: 40px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }
    .product-price {
        font-size: 19px !important;
    }
    .compare-at-price {
        font-size: 12px !important;
    }
    .buy-now-btn {
        padding: 9px 10px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
    }
}

/* ==========================================================================
   7. Trust Box (Matching CaseDZ Trust Section)
   ========================================================================== */
.case-dz-trust-box {
    border: 2px solid #1E3460;
    background: linear-gradient(180deg, #FAFBFD 0%, #EAEEF5 100%);
    border-radius: 22px;
    padding: 24px 20px;
    margin: 30px auto;
    box-shadow: 0 10px 30px rgba(30,52,96, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    direction: rtl;
    text-align: right;
    position: relative;
    overflow: hidden;
    max-width: 1100px;
}
.case-dz-trust-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(30,52,96, 0.1), transparent 30%),
                radial-gradient(circle at bottom left, rgba(255,201,60, 0.1), transparent 25%);
    pointer-events: none;
}
.case-dz-trust-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.case-dz-trust-star {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sv-gold-gradient);
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(245,184,0, 0.28);
}
.case-dz-trust-title {
    font-size: 22px;
    font-weight: 800;
    color: #16284A;
    margin: 0;
    line-height: 1.2;
}
.case-dz-trust-title span {
    color: var(--sv-accent);
}
.case-dz-trust-subtitle {
    text-align: center;
    font-size: 13px;
    color: #5A677E;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.case-dz-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.case-dz-item {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #D3DAE8;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    box-shadow: 0 4px 10px rgba(30,52,96, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-dz-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30,52,96, 0.1);
}
.case-dz-item-featured {
    border: 1.5px solid #A8B5CE;
    background: linear-gradient(180deg, #ffffff 0%, #F3F5F9 100%);
}
.case-dz-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sv-accent-gradient);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(19,37,74, 0.24);
}
.case-dz-icon svg {
    width: 20px;
    height: 20px;
}
.case-dz-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.case-dz-text strong {
    font-size: 15px;
    color: #222222;
    font-weight: 800;
    line-height: 1.2;
}
.case-dz-text small {
    font-size: 12px;
    color: #5E6B82;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .case-dz-trust-box {
        padding: 16px 14px;
        border-radius: 18px;
        margin: 20px 10px;
    }
    .case-dz-trust-title {
        font-size: 18px;
    }
    .case-dz-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .case-dz-item {
        min-height: 68px;
        padding: 12px;
        border-radius: 14px;
    }
    .case-dz-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
    }
    .case-dz-text strong {
        font-size: 14px;
    }
}

/* ==========================================================================
   8. Accordion Footer (Matching Screenshot 3)
   ========================================================================== */
.yc-footer {
    background: var(--sv-primary) !important;
    border-top: 3px solid var(--sv-accent);
    padding: 28px 16px 20px;
    color: #ffffff;
    direction: rtl;
    text-align: right;
}
.yc-footer-inner {
    max-width: 900px;
    margin: 0 auto;
}
.yc-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 4px;
}
.yc-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 6px 0;
}
.yc-accordion-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}
.yc-accordion-arrow {
    width: 18px;
    height: 18px;
    color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.yc-accordion-item.active .yc-accordion-arrow {
    transform: rotate(180deg);
}
.yc-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 4px;
}
.yc-accordion-item.active .yc-accordion-content {
    max-height: 250px;
    padding-top: 14px;
    padding-bottom: 6px;
}
.yc-accordion-content a,
.yc-accordion-content span {
    color: #C6CFE0;
    text-decoration: none !important;
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.yc-accordion-content a:hover {
    color: #ffffff;
    transform: translateX(-4px);
}
.yc-footer-copy {
    margin-top: 24px;
    padding-top: 16px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 576px) {
    .yc-footer-copy {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   9. Cart Drawer Styles (Refined)
   ========================================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,10,20, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 88%;
    max-width: 380px;
    background: #ffffff;
    color: var(--sv-text-title);
    z-index: 10006;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
    direction: rtl;
}
.cart-drawer.active {
    transform: translateX(0);
}
.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--sv-primary);
    color: #ffffff;
}
.cart-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
}
.cart-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0eafb;
}
.cart-item-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #D3DAE8;
    flex-shrink: 0;
}
.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
}
.cart-item-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--sv-text-title);
    margin-bottom: 4px;
    line-height: 1.3;
}
.cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--sv-accent);
}
.cart-footer {
    padding: 18px;
    background: #F4F6FA;
    border-top: 1px solid #ebdfff;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--sv-text-title);
}
.cart-actions {
    display: flex;
    gap: 10px;
}
.cart-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    border: none;
}
.cart-btn-clear {
    background: #fee2e2;
    color: #ef4444;
}
.cart-btn-checkout {
    background: var(--sv-accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(19,37,74, 0.25);
}

/* ENZO POWER: wide logo on a white pill instead of the small circle */
a.yc-logo-wrap{width:auto;height:auto}
a.yc-logo-wrap .yc-logo-circle{width:auto;height:52px;padding:6px 14px;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}
a.yc-logo-wrap .yc-logo-circle img{width:auto;height:38px;max-width:180px;object-fit:contain}