/* ==========================================================================
   STOREFRONT CSS — Clone dari CI3 Referensi
   Mendukung Desktop & Mobile (responsive)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Lexend+Deca:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');

/* ---- CSS Variables (overridable from Blade via inline style) ---- */
:root {
    --store-header-color: #4f46e5;
    --store-navbar-color: #ffffff;
    --store-body-color: #f8fafc;
    --store-text-color: #0f172a;
    --store-buy-btn-color: #6366f1;
    --store-banner-text-color: #0f172a;
    --store-btn-banner-color: #6366f1;
    --store-btn-banner-text-color: #ffffff;
    --store-product-box-color: #ffffff;
    --store-product-box-text-color: #0f172a;
    --store-header-menu-text-color: #ffffff;
    --store-sidebar-menu-color: #6366f1;
    --store-sidebar-text-color: #ffffff;
    --store-menu-mobile-color: #4f46e5;
    --store-text-menu-mobile-color: #ffffff;

    /* ---- New Modern Design Tokens ---- */
    --sf-primary: #6366f1;
    --sf-primary-hover: #4f46e5;
    --sf-primary-light: #eef2ff;
    --sf-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --sf-gradient-header: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --sf-gradient-btn: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    --sf-surface: #ffffff;
    --sf-bg: #f8fafc;
    --sf-text: #0f172a;
    --sf-text-secondary: #64748b;
    --sf-text-muted: #94a3b8;
    --sf-border: #e2e8f0;
    --sf-border-hover: #cbd5e1;
    --sf-accent-green: #10b981;
    --sf-accent-green-hover: #059669;
    --sf-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --sf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --sf-shadow-lg: 0 10px 25px -3px rgba(99, 102, 241, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --sf-radius-sm: 8px;
    --sf-radius-md: 12px;
    --sf-radius-lg: 16px;
    --sf-radius-pill: 9999px;
    --sf-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
.sf * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--store-text-color);
}
.sf h1, .sf h2, .sf h3, .sf h4, .sf h5, .sf h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
}
.sf a { text-decoration: none; }
.sf .sf-svg-container {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ---- Container ---- */
.sf .sf-container {
    width: 100%;
    height: max-content;
    overflow: visible;
    background-color: var(--store-navbar-color);
}

/* ---- Header ---- */
.sf .sf-container-header {
    position: fixed;
    width: 100%;
    z-index: 9999;
    box-shadow: none;
}

.sf .sf-header {
    background: var(--sf-gradient-header);
    backdrop-filter: blur(10px);
}

.sf .sf-sub-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 0.65vw 2vw;
    justify-items: end;
    width: 62%;
    margin: 0 auto;
}

.sf .sf-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.sf .sf-logo a {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    transition: var(--sf-transition);
}
.sf .sf-logo a:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.sf .sf-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: block;
    font-size: 1.5vw;
    color: white;
}
.sf .sf-logo img {
    padding: 0;
    width: 1.8vw;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.sf .sf-search_form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.4vw;
    justify-self: center;
}
.sf .sf-search_box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.2vw 1.2vw;
    position: relative;
    flex: 1;
    height: 2vw;
    border-radius: var(--sf-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--sf-transition);
}
.sf .sf-search_box:focus-within {
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0,0,0,0.1);
}
.sf .sf-search_box input {
    width: 100%;
    font-size: 1.1vw;
    outline: none;
    border: none;
    padding: 0.5vw 0;
    background-color: transparent;
    color: #0f172a;
    font-weight: 500;
}
.sf .sf-search_box input::placeholder { 
    font-size: 0.95vw;
    color: #94a3b8; 
    font-weight: 400;
}
.sf .sf-search_box iconify-icon { font-size: 1.5vw; color: #64748b; }

.sf .sf-cari {
    font-size: 0.9vw;
    background: #10b981;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    padding: 0 1.4vw;
    width: max-content;
    height: 2vw;
    border-radius: var(--sf-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    transition: var(--sf-transition);
}
.sf .sf-cari:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.sf .sf-cari2 { display: none; }

.sf .sf-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.sf .sf-hamburger iconify-icon {
    font-size: 6vw;
    color: white;
}

.sf .sf-guide {
    display: block;
    color: white;
    width: max-content;
    background-color: transparent;
    outline: none;
    font-size: 1.1vw;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border: none;
    text-align: end;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--sf-transition);
}
.sf .sf-guide:hover {
    opacity: 0.88;
    transform: scale(1.05);
}

/* ---- Sidebar (Desktop) ---- */
.sf .sf-sidebar { display: none; }
.sf .sf-sidebar .sf-menu { display: none; }

/* ---- Fixed Bottom Menu ---- */
.sf .sf-fixed_menu_wrapper {
    width: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
}
.sf .sf-fixed_menu_grid {
    width: 60%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 70% 30%;
}
.sf .sf-fixed_menu_left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
}
.sf .sf-fixed_menu {
    margin-top: 0.5vw;
    margin-bottom: 0.35vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5vw;
    padding-bottom: 0;
}

.sf .sf-box_fixed_menu iconify-icon { 
    font-size: 1.2vw; 
    color: #64748b;
    transition: var(--sf-transition);
}
.sf .sf-box_fixed_menu .sf-contact-icon { font-size: 1.4vw; }

.sf .sf-box_fixed_menu {
    display: flex;
    align-items: center;
    gap: 0.4vw;
    padding: 0.3vw 0.8vw;
    border-radius: var(--sf-radius-sm);
    transition: var(--sf-transition);
}
.sf .sf-box_fixed_menu:hover {
    background-color: #f8fafc;
}
.sf .sf-box_fixed_menu:hover iconify-icon {
    color: var(--sf-primary);
}
.sf .sf-box_fixed_menu:hover h3 {
    color: var(--sf-primary);
}

.sf .sf-box_fixed_menu h3 {
    color: #475569;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95vw;
    transition: var(--sf-transition);
}

/* ---- Active Menu State (Desktop) ---- */
.sf .sf-active {
    background-color: var(--sf-primary-light);
    border-radius: var(--sf-radius-sm);
}
.sf .sf-active h3 {
    color: var(--sf-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}
.sf .sf-active iconify-icon { color: var(--sf-primary) !important; }

.sf .sf-floating-label {
    display: none;
}

/* ---- Floating Menu Spheres Dock (Desktop Scroll Effect) ---- */
@media (min-width: 769px) {
    .sf .sf-fixed_menu_wrapper.sf-is-floating {
        position: fixed;
        left: calc(20% - 68px);
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        z-index: 99999;
        pointer-events: auto;
        animation: sfFloatDockIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes sfFloatDockIn {
        0% {
            opacity: 0;
            transform: translateY(-50%) translateX(-25px) scale(0.85);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%) translateX(0) scale(1);
        }
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-fixed_menu_grid {
        width: auto;
        display: block;
        grid-template-columns: none;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-fixed_menu_left {
        background: transparent;
        width: auto;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-fixed_menu {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        cursor: pointer;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu h3 {
        display: none;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-studio-wrapper h3.sf-studio-text {
        display: block !important;
        font-size: 10px;
        font-weight: 700;
        color: #475569;
        margin: 0;
        padding: 0;
        line-height: 1;
        text-align: center;
        font-family: 'Inter', sans-serif;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-studio-wrapper iconify-icon {
        display: none !important;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu iconify-icon {
        font-size: 22px;
        color: #475569;
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu:hover {
        transform: scale(1.14);
        background: #ffffff;
        border-color: rgba(99, 102, 241, 0.4);
        box-shadow: 0 14px 28px rgba(99, 102, 241, 0.25);
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu:hover iconify-icon {
        color: var(--sf-primary);
        transform: scale(1.1);
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-studio-wrapper:hover h3.sf-studio-text {
        color: var(--sf-primary);
    }

    /* Active Sphere Floating State */
    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-active {
        background: var(--sf-gradient-btn) !important;
        border-color: transparent !important;
        transform: scale(1.15);
        box-shadow: 0 10px 24px rgba(99, 102, 241, 0.45) !important;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-active iconify-icon {
        color: #ffffff !important;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-studio-wrapper.sf-active h3.sf-studio-text {
        color: #ffffff !important;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-active::before,
    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-active::after {
        display: none !important;
    }

    /* Floating Tooltip Label (Slide-in on Hover) */
    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-floating-label {
        display: block;
        position: absolute;
        left: 58px;
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        opacity: 0;
        pointer-events: none;
        background: #0f172a;
        color: #ffffff;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        font-family: 'Inter', sans-serif;
        white-space: nowrap;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
        z-index: 10;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-floating-label::before {
        content: '';
        position: absolute;
        left: -4px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 8px;
        height: 8px;
        background: #0f172a;
    }

    .sf .sf-fixed_menu_wrapper.sf-is-floating .sf-box_fixed_menu:hover .sf-floating-label {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ---- Desktop Layout ---- */
.sf .sf-layout_dekstop {
    display: grid;
    grid-template-columns: 72% 28%;
    height: max-content;
    gap: 1vw;
}

.sf .sf-layout_content_dekstop {
    background-color: var(--store-body-color);
    margin: 0.3vw 0;
    border-radius: var(--sf-radius-lg);
    overflow-y: auto;
    height: max-content;
}

.sf .sf-layout_content_dekstop::-webkit-scrollbar { width: 0.4vw; }
.sf .sf-layout_content_dekstop::-webkit-scrollbar-thumb {
    border-radius: 1vw;
    background-color: rgba(0,0,0,0.15);
}

.sf .sf-container-gap {
    padding-top: calc(4.8vw + 13px);
    width: 60%;
    margin: 0 auto;
    height: max-content;
    margin-bottom: 0;
}

.sf .sf-layout_dashboard {
    background-color: var(--store-navbar-color);
}

/* ---- Desktop Sidebar ---- */
.sf .sf-layout_sidebar_dekstop {
    width: 100%;
    margin-top: 0.3vw;
    display: block;
    padding-left: 0.5vw;
    position: sticky;
    top: 4vw;
    height: max-content;
    z-index: 100;
}

.sf .sf-space_layout_dekstop {
    display: none;
}

.sf .sf-space_side a { width: 100%; }
.sf .sf-space_side iconify-icon {
    font-size: 1.2vw;
    color: var(--sf-primary);
    transition: var(--sf-transition);
}

.sf .sf-space_side {
    font-size: 0.9vw;
    background: #ffffff;
    width: 100%;
    height: 2.2vw;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5vw;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1vw;
    border-radius: var(--sf-radius-md);
    border: 1px solid var(--sf-border);
    box-shadow: var(--sf-shadow-sm);
    transition: var(--sf-transition);
}
.sf .sf-space_side:hover {
    background: var(--sf-primary-light);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--sf-primary);
    transform: translateX(3px);
    box-shadow: var(--sf-shadow-md);
}

.sf .sf-layout_sidebar_dekstop ul {
    display: flex;
    justify-content: center;
    gap: 1.7vw;
    margin-bottom: 0.3vw;
}
.sf .sf-layout_sidebar_dekstop ul li {
    list-style: none;
    font-size: 0.7vw;
    color: #64748b;
}
.sf .sf-layout_sidebar_dekstop ul li a { color: #64748b; }
.sf .sf-layout_sidebar_dekstop span {
    display: block;
    text-align: center;
    font-size: 0.8vw;
    color: #64748b;
}

/* ---- Banner ---- */
.sf .sf-banner {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    padding: 3.5vw 2.5vw;
    padding-top: 38px;
    text-align: left;
    margin-top: 1.5%;
    margin-bottom: 30px;
    background: transparent;
    border: none;
    box-shadow: none;
}
.sf .sf-image_banner {
    width: 13.5vw;
    display: block;
    margin: auto;
    z-index: 0;
    filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.15));
}
.sf .sf-banner_content { width: 65%; }

.sf .sf-banner h1 {
    margin-top: 0;
    z-index: 1;
    color: #0f172a;
    font-size: 1.6vw;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1.5vw;
    letter-spacing: -0.3px;
}

.sf .sf-banner button {
    font-size: 0.85vw;
    border: none;
    outline: none;
    padding: 0.55vw 1.6vw;
    border-radius: var(--sf-radius-pill);
    background: var(--sf-gradient-btn);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: var(--sf-transition);
}
.sf .sf-banner button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}
.sf .sf-banner button iconify-icon {
    font-size: 1.1vw;
    color: white;
    transition: var(--sf-transition);
}
.sf .sf-banner button:hover iconify-icon {
    transform: translateX(3px);
}

/* ---- Catalog Layout ---- */
.sf .sf-catalog_layout {
    text-align: left;
    padding: 1vw 1.5vw 2vw 1.5vw;
}
.sf .sf-catalog_layout h3 {
    font-size: 1.25vw;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.2vw;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}
.sf .sf-catalog_layout h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.25vw;
    background: var(--sf-gradient);
    border-radius: 4px;
}

.sf .sf-catalog_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.2vw;
}

/* ---- Product Box (Card Style 2) Modern Redesign ---- */
.sf .sf-box_grid.sf-card-style-2 {
    background-color: #ffffff;
    border-radius: var(--sf-radius-lg);
    box-shadow: var(--sf-shadow-sm);
    border: 1px solid var(--sf-border);
    transition: var(--sf-transition);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sf .sf-box_grid.sf-card-style-2:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--sf-shadow-lg);
}

.sf .sf-box_grid.sf-card-style-2 .sf-img_grid {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f1f5f9;
    position: relative;
    border-radius: 0;
    overflow: hidden;
}
.sf .sf-box_grid.sf-card-style-2 .sf-img_grid_inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}
.sf .sf-box_grid.sf-card-style-2:hover .sf-img_grid_inner {
    transform: scale(1.05);
}

.sf .sf-box_grid.sf-card-style-2 .sf-content_grid {
    display: flex;
    flex-direction: column;
    padding: 1vw 1.1vw 0.5vw 1.1vw;
    text-align: left;
    background: none;
    flex-grow: 1;
}
.sf .sf-box_grid.sf-card-style-2 a {
    background: none;
}
.sf .sf-box_grid.sf-card-style-2 .sf-card-action {
    padding: 0.5vw 1.1vw 1.1vw 1.1vw;
    margin-top: auto;
}

.sf .sf-box_grid.sf-card-style-2 .sf-product_type {
    text-align: right;
    color: var(--sf-primary);
    font-size: 0.75vw;
    font-weight: 700;
    margin-bottom: 0.3vw;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf .sf-box_grid.sf-card-style-2 h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95vw;
    text-align: left;
    margin: 0.2vw 0 0.4vw 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7vw;
}

.sf .sf-box_grid.sf-card-style-2 .sf-price_container {
    font-weight: 800;
    font-size: 1.05vw;
    color: var(--sf-primary);
    margin-top: 0.2vw;
    margin-bottom: 0.4vw;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}

.sf .sf-box_grid.sf-card-style-2 .sf-btn-buy {
    background: var(--sf-gradient-btn);
    color: white;
    border: none;
    border-radius: var(--sf-radius-pill);
    height: 2.1vw;
    font-size: 0.85vw;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    width: 100%;
    cursor: pointer;
    transition: var(--sf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.25);
}
.sf .sf-box_grid.sf-card-style-2 .sf-btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.38);
    opacity: 0.98;
}

/* ---- See More Link ---- */
.sf .sf-see_other {
    margin-top: 1.2vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4vw;
    font-size: 0.85vw;
    font-weight: 600;
    color: var(--sf-primary);
    transition: var(--sf-transition);
}
.sf .sf-see_other:hover {
    color: var(--sf-primary-hover);
    transform: translateX(3px);
}
.sf .sf-arrow-color { color: var(--sf-primary); }

/* ---- Product Detail ---- */
.sf .sf-detail_catalog_layout { padding: 1vw 2vw; }
.sf .sf-detail_catalog {
    display: flex;
    gap: 2vw;
    align-items: flex-start;
}

.sf .sf-carousel-container {
    position: relative;
    width: 50%;
    max-width: 60vw;
    margin: 1vw 0;
    overflow: hidden;
    border-radius: var(--sf-radius-lg);
    box-shadow: var(--sf-shadow-md);
    border: 1px solid var(--sf-border);
}
.sf .sf-carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.sf .sf-carousel-image {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
}
.sf .sf-carousel-dots {
    text-align: center;
    padding: 0.5vw;
}
.sf .sf-carousel-dots .sf-dot {
    display: inline-block;
    width: 0.6vw;
    height: 0.6vw;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    margin: 0 0.3vw;
    cursor: pointer;
    transition: background 0.3s;
}
.sf .sf-carousel-dots .sf-dot.active {
    background: var(--sf-primary);
}

.sf .sf-description { flex: 1; padding: 1vw 0; }
.sf .sf-description h3 {
    font-size: 1.5vw;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.8vw;
    line-height: 1.3;
}
.sf .sf-price {
    font-size: 1.6vw;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--sf-primary);
    margin-bottom: 1vw;
}
.sf .sf-mobile-description { display: none; }
.sf .sf-dekstop-description p {
    color: #475569;
    font-size: 0.9vw;
    line-height: 1.6;
}

.sf .sf-buynow {
    cursor: pointer;
    width: 50%;
    margin-top: 1.5vw;
    border-radius: var(--sf-radius-pill);
    height: 2.3vw;
    font-size: 0.9vw;
    font-weight: 600;
    color: white;
    border: none;
    background: var(--sf-gradient-btn);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    transition: var(--sf-transition);
}
.sf .sf-buynow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.42);
}

.sf .sf-arrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1vw;
    transition: var(--sf-transition);
}
.sf .sf-arrow:hover {
    transform: translateX(-3px);
}
.sf .sf-arrow iconify-icon {
    color: var(--store-text-color);
}

/* ---- Modern Footer ---- */
.sf .sf-container-footer { 
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); 
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.sf .sf-footer-two {
    width: 60%;
    margin: 0 auto;
    height: max-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
    padding: 2.5vw 1vw;
}
.sf .sf-footer-two div p {
    font-size: 1.1vw;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding-bottom: 0.5vw;
    color: white;
}
.sf .sf-logo-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}
.sf .sf-footer-two div .sf-cpy {
    text-align: center;
    font-size: 0.75vw;
    color: #94a3b8;
    margin: 8px 0 0 0;
    line-height: 1.5;
}
.sf .sf-logo-footer img {
    margin: 0 auto;
    width: 4.5vw;
    display: block;
}
.sf .sf-footer-two div .sf-subscribe { 
    font-size: 0.85vw; 
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-align: center;
}
.sf .sf-footer-two div input {
    width: 100%;
    height: 1.9vw;
    outline: none;
    margin-top: 0.4vw;
    border-radius: var(--sf-radius-sm);
    padding: 0.6vw 0.8vw;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    font-size: 0.85vw;
    color: white;
    transition: var(--sf-transition);
}
.sf .sf-footer-two div input:focus {
    border-color: var(--sf-primary);
    background: rgba(255,255,255,0.12);
}
.sf .sf-footer-two div input::placeholder { font-size: 0.8vw; color: #94a3b8; }
.sf .sf-footer-two div button {
    background: #10b981;
    width: 100%;
    height: 2vw;
    border: none;
    color: white;
    border-radius: var(--sf-radius-pill);
    margin-top: 0.5vw;
    font-size: 0.85vw;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
    transition: var(--sf-transition);
}
.sf .sf-footer-two div button:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.4);
}
.sf .sf-footer-two ul li {
    color: #cbd5e1;
    list-style: none;
    padding-bottom: 0.4vw;
    font-size: 0.85vw;
}
.sf .sf-footer-two ul li a {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    transition: var(--sf-transition);
}
.sf .sf-footer-two ul li a:hover {
    color: #ffffff;
    transform: translateX(2px);
}
.sf .sf-footer-two ul li a iconify-icon { color: #a78bfa; font-size: 1vw; }

/* ---- Mobile Only Helpers ---- */
.sf .sf-mobile-1 { display: none; }

/* ==============================================================
   MOBILE RESPONSIVE  (< 768px)
   ============================================================== */
@media (max-width: 768px) {
    .sf .sf-container { background-color: var(--store-body-color); }
    .sf .sf-container-gap { width: 100%; }
    .sf .sf-fixed_menu_wrapper { background-color: transparent; }
    .sf .sf-fixed_menu_grid { display: block; width: 100%; }
    .sf .sf-fixed_menu_left { display: block; width: 100%; }
    .sf .sf-layout_content_dekstop {
        height: 100%;
        overflow-y: scroll;
        margin: 0vw;
        margin-top: 52px; /* Ditambah 4px jarak dengan sisi atas */
    }
    .sf .sf-sub-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 16px;
        width: 100%;
        gap: 12px;
    }
    .sf .sf-sub-header .sf-logo {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .sf .sf-sub-header .sf-logo img {
        width: 30px;
        margin: 0;
        padding: 0;
    }
    .sf .sf-sub-header .sf-logo span { display: none; }
    .sf .sf-sub-header .sf-search_form {
        flex: 1;
        width: auto;
        display: flex;
        align-items: center;
    }
    .sf .sf-sub-header .sf-search_box input { flex: 1; width: 0; }
    .sf .sf-sub-header .sf-search_box {
        height: 38px;
        padding: 2px 14px;
    }
    .sf .sf-sub-header .sf-search_box input {
        font-size: 16px;
    }
    .sf .sf-sub-header .sf-search_box input::placeholder { font-size: 14px; }

    .sf .sf-cari { display: none; }
    .sf .sf-cari2 {
        background: none;
        display: block;
        border: none;
    }
    .sf .sf-cari2 iconify-icon {
        font-size: 21px;
        color: #555;
    }

    .sf .sf-hamburger { display: block; }
    .sf .sf-hamburger iconify-icon { font-size: 7.2vw; }
    .sf .sf-guide { display: none; }

    /* Mobile Sidebar */
    .sf .sf-sidebar {
        display: none;
        right: 0;
        z-index: 3;
        background-color: #fff;
        width: 60%;
        position: absolute;
        height: 100vh;
        padding-top: 4px;
        transition: transform 0.3s ease;
    }
    .sf .sf-sidebar.sf-show { display: block; }
    .sf .sf-sidebar .sf-menu {
        width: 90%;
        height: 10vw;
        min-height: 42px;
        display: flex;
        border-radius: 9999px;
        margin: 1.2vw auto;
        align-items: center;
        justify-content: center;
        color: var(--store-sidebar-text-color);
        background-color: var(--store-header-color);
        transition: var(--sf-transition);
    }
    .sf .sf-sidebar .sf-menu a {
        margin: auto;
        width: max-content;
        display: flex;
        align-items: center;
        color: white;
    }
    .sf .sf-sidebar .sf-menu iconify-icon { color: white; }

    /* ---- Box Grid Mobile ---- */
    .sf .sf-box_grid {
        padding: .8vw;
        border-radius: 2.8vw;
    }
    .sf .sf-box_grid.sf-card-style-2 {
        border-radius: 3vw;
        padding: 0;
    }
    .sf .sf-catalog_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2vw;
    }

    .sf .sf-box_grid.sf-card-style-2 h4 {
        font-size: 4vw;
        font-weight: bold;
        margin-bottom: 1.5vw;
        text-align: center;
    }
    .sf .sf-box_grid.sf-card-style-2 .sf-price_container {
        font-size: 3.6vw;
        margin-top: 1vw;
        margin-bottom: 2.5vw;
        text-align: center;
    }
    .sf .sf-box_grid.sf-card-style-2 .sf-price_container span {
        font-size: 3.6vw;
    }
    .sf .sf-box_grid.sf-card-style-2 .sf-price_container small {
        font-size: 2.8vw;
    }
    .sf .sf-box_grid.sf-card-style-2 .sf-btn-buy {
        font-size: 3.5vw;
        padding: 2vw 0;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100vw;
        width: 100%;
    }

    .sf .sf-image_grid { height: 25vw; }
    .sf .sf-image_grid img { border-radius: 2vw; }
    .sf .sf-img_grid {
        border-radius: 2vw;
        overflow: hidden;
    }

    .sf .sf-price_grid span { font-size: 3vw; }

    .sf .sf-see_other {
        margin-top: 4vw;
        gap: 1vw;
        font-size: 4.3vw;
    }

    .sf .sf-banner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5vw 6vw;
        text-align: center;
        margin-bottom: 6vw;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .sf .sf-banner_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .sf .sf-banner h1 {
        margin-top: 0;
        font-size: 6vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    .sf .sf-banner button {
        font-size: 3.7vw;
        padding: 1.9vw 4.5vw;
        gap: 2.2vw;
        margin: 0 auto;
        display: inline-flex;
        align-items: center;
    }
    .sf .sf-banner button iconify-icon {
        font-size: 4.2vw;
    }
    .sf .sf-image_banner {
        width: 35vw;
        display: block;
        margin: 0 auto 3vw auto;
    }

    .sf .sf-catalog_layout h3 {
        font-size: 4.5vw;
        margin-bottom: 4vw;
    }

    /* ---- Layout: Remove Desktop Sidebar ---- */
    .sf .sf-layout_dekstop {
        display: block;
    }
    .sf .sf-layout_sidebar_dekstop { display: none; }

    /* ---- Bottom Nav (Mobile) ---- */
    .sf .sf-fixed_menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background-color: var(--store-menu-mobile-color);
        z-index: 10;
        justify-items: center;
        padding: 0 8vw calc(4.4vw + 5px) 8vw;
        align-items: flex-end;
        transform: translateY(2px);
    }

    .sf .sf-box_fixed_menu h3 {
        color: var(--store-text-menu-mobile-color);
        font-weight: 400;
        font-size: 3vw;
    }
    .sf .sf-studio-wrapper:not(.sf-active) {
        margin-top: 3.5vw !important;
    }
    .sf .sf-studio-text {
        font-size: 3.9vw !important;
    }
    .sf .sf-active .sf-studio-text {
        font-size: 2.4vw !important;
    }
    .sf .sf-box_fixed_menu iconify-icon {
        font-size: 6vw;
        color: white;
    }
    .sf .sf-box_fixed_menu .sf-contact-icon { font-size: 6vw; }

    .sf .sf-box_fixed_menu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: relative;
        gap: 1vw;
        margin-top: 5px;
    }
    .sf .sf-box_fixed_menu:not(.sf-active) {
        transform: translateY(5px);
    }

    /* Active Menu Bubble (Mobile) */
    .sf .sf-active {
        width: 14vw;
        height: 14vw;
        border-radius: 100vw;
        transform: scale(1.3);
        gap: .4vw;
        margin-top: -5vw;
        margin-bottom: 0.5vw;
        z-index: 3;
        position: relative;
    }
    .sf .sf-active h3 {
        font-size: 2.4vw;
        color: var(--store-menu-mobile-color);
        position: relative;
        z-index: 2;
    }
    .sf .sf-active iconify-icon {
        color: var(--store-menu-mobile-color);
        font-size: 4.6vw;
        position: relative;
        z-index: 2;
    }
    .sf .sf-active::before {
        top: -1vw;
        left: -1vw;
        width: 16vw;
        height: 16vw;
        position: absolute;
        background-color: var(--store-menu-mobile-color);
        border-radius: 100vw;
        content: '';
        z-index: -2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .sf .sf-active::after {
        top: 0;
        left: 0;
        width: 14vw;
        height: 14vw;
        position: absolute;
        background-color: var(--store-text-menu-mobile-color);
        border-radius: 100vw;
        content: '';
        z-index: -1;
    }

    /* ---- Mobile Footer ---- */
    .sf .sf-footer-two { display: none; }
    .sf .sf-mobile-1 { display: block; }

    /* ---- Product Detail Mobile ---- */
    .sf .sf-detail_catalog { flex-direction: column; }
    .sf .sf-carousel-container {
        width: 100%;
        margin: 0;
        border-radius: 3vw;
    }
    .sf .sf-carousel-image { height: 50vw; }
    .sf .sf-carousel-dots .sf-dot {
        width: 2vw; height: 2vw; margin: 0 1vw;
    }
    .sf .sf-description {
        padding: 4vw 3vw;
    }
    .sf .sf-description h3 { font-size: 5vw; }
    .sf .sf-price { font-size: 6vw; }
    .sf .sf-mobile-description { display: block; }
    .sf .sf-dekstop-description { display: none; }
    .sf .sf-mobile-description p {
        color: #686868;
        font-size: 14px;
        line-height: 1.5;
    }
    .sf .sf-buynow {
        width: 100%;
        border-radius: 3vw;
        margin-top: 7vw;
        height: 12vw;
        font-size: 4.8vw;
    }

    /* Mobile space reduction */
    .sf .sf-space_layout_dekstop { display: none; }
    .sf .sf-layout_content_dekstop { padding-bottom: 75px; }
}

/* ---- No product state ---- */
.sf .sf-empty-state {
    text-align: center;
    padding: 3vw;
    color: #999;
    font-size: 1vw;
}

@media (max-width: 768px) {
    .sf .sf-empty-state { font-size: 4vw; padding: 8vw; }
}

/* ---- Responsive Helper Utilities ---- */
@media (min-width: 769px) {
    .sf-mobile-only { display: none !important; }
}
@media (max-width: 768px) {
    .sf-desktop-only { display: none !important; }
}

.sf .sf-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .sf .sf-header-cart {
        display: none !important;
    }

    /* Limit catalog grid items on Home to exactly 4 on mobile */
    .sf .sf-home_catalog_grid > *:nth-child(4) {
        display: flex !important; /* using flex since sf-box_grid uses flex */
    }
    .sf .sf-home_catalog_grid > *:nth-child(n+5) {
        display: none !important;
    }
}

/* Limit catalog grid items on Home to exactly 3 on desktop */
.sf .sf-home_catalog_grid > *:nth-child(n+4) {
    display: none;
}

/* Remove tap highlight color (white flash) on mobile bottom nav */
.sf .sf-fixed_menu_wrapper a,
.sf .sf-fixed_menu_wrapper .sf-box_fixed_menu,
.sf .sf-fixed_menu a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
