/* ==========================================================================
   CNVAST DIGITAL SERVICES & ACTIVATION STORE DESIGN SYSTEM
   Aligned with CNVAST Royal Purple & Clean Canvas
   Optimized for Digital Services (Google AI Pro, Cloud Bots, SIMRS, HRIS)
   ========================================================================== */

:root {
    /* Brand Palette - Royal Purple / Violet (CNVAST Signature) */
    --sp-brand: #7c3aed;
    --sp-brand-hover: #6d28d9;
    --sp-brand-active: #5b21b6;
    --sp-brand-subtle: rgba(124, 58, 237, 0.08);
    --sp-brand-border: rgba(124, 58, 237, 0.25);
    --sp-brand-glow: rgba(124, 58, 237, 0.2);

    /* Secondary Accent - Emerald (Instant Activation / Verified) */
    --sp-accent: #10b981;
    --sp-accent-hover: #059669;
    --sp-accent-subtle: rgba(16, 185, 129, 0.1);
    --sp-accent-border: rgba(16, 185, 129, 0.25);

    /* Surfaces & Backgrounds - Clean High-End Light Canvas (Default) */
    --sp-bg: #f8fafc;
    --sp-bg-subtle: #f1f5f9;
    --sp-surface-1: #ffffff;
    --sp-surface-2: #f8fafc;
    --sp-surface-solid: #ffffff;
    --sp-surface-hover: #f1f5f9;
    --sp-panel: #ffffff;
    --sp-dock-bg: #ffffff;
    --sp-header-bg: rgba(255, 255, 255, 0.92);

    /* Typography */
    --sp-text: #0f172a;
    --sp-text-muted: #64748b;
    --sp-text-subtle: #94a3b8;
    --sp-text-inverse: #ffffff;

    /* Borders */
    --sp-border-subtle: rgba(0, 0, 0, 0.05);
    --sp-border: #e2e8f0;
    --sp-border-hover: rgba(124, 58, 237, 0.35);
    --sp-border-focus: #7c3aed;

    /* Statuses */
    --sp-success: #10b981;
    --sp-success-subtle: rgba(16, 185, 129, 0.1);
    --sp-success-border: rgba(16, 185, 129, 0.25);
    --sp-warning: #f59e0b;
    --sp-warning-subtle: rgba(245, 158, 11, 0.1);
    --sp-warning-border: rgba(245, 158, 11, 0.25);
    --sp-danger: #ef4444;
    --sp-danger-subtle: rgba(239, 68, 68, 0.1);
    --sp-danger-border: rgba(239, 68, 68, 0.25);

    /* Radii & Shadows */
    --sp-radius-sm: 8px;
    --sp-radius-md: 12px;
    --sp-radius-lg: 16px;
    --sp-radius-xl: 20px;
    --sp-radius-full: 9999px;

    --sp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --sp-shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
    --sp-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
    --sp-shadow-hover: 0 12px 28px -4px rgba(124, 58, 237, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Dark Slate Theme Overrides (if activated by user toggle) */
html:not([data-theme="light"]) {
    --sp-bg: #030712;
    --sp-bg-subtle: #090e1a;
    --sp-surface-1: #111827;
    --sp-surface-2: #1f2937;
    --sp-surface-solid: #111827;
    --sp-surface-hover: #1f2937;
    --sp-panel: #111827;
    --sp-dock-bg: #070b14;
    --sp-header-bg: rgba(3, 7, 18, 0.9);

    --sp-text: #f9fafb;
    --sp-text-muted: #94a3b8;
    --sp-text-subtle: #64748b;
    --sp-text-inverse: #0f172a;

    --sp-border-subtle: rgba(255, 255, 255, 0.08);
    --sp-border: #1f2937;
    --sp-border-hover: rgba(139, 92, 246, 0.45);
    --sp-border-focus: #8b5cf6;

    --sp-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --sp-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --sp-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
    --sp-shadow-hover: 0 16px 35px -5px rgba(0, 0, 0, 0.5), 0 0 25px -5px var(--sp-brand-glow);
}

/* Explicit Light Mode Override when [data-theme="light"] */
[data-theme="light"] {
    --sp-bg: #f8fafc;
    --sp-bg-subtle: #f1f5f9;
    --sp-surface-1: #ffffff;
    --sp-surface-2: #f8fafc;
    --sp-surface-solid: #ffffff;
    --sp-surface-hover: #f1f5f9;
    --sp-panel: #ffffff;
    --sp-dock-bg: #ffffff;
    --sp-header-bg: rgba(255, 255, 255, 0.92);

    --sp-text: #0f172a;
    --sp-text-muted: #64748b;
    --sp-text-subtle: #94a3b8;
    --sp-text-inverse: #ffffff;

    --sp-border-subtle: rgba(0, 0, 0, 0.05);
    --sp-border: #e2e8f0;
    --sp-border-hover: rgba(124, 58, 237, 0.35);
    --sp-border-focus: #7c3aed;

    --sp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --sp-shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
    --sp-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.03);
    --sp-shadow-hover: 0 12px 28px -4px rgba(124, 58, 237, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   RESET & SCOPED TYPOGRAPHY
   ========================================================================== */
.shop-wrapper {
    min-height: 100vh;
    background-color: var(--sp-bg);
    color: var(--sp-text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

/* CRITICAL: Eliminate default browser blue hyperlinks and underlines */
.shop-wrapper a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.shop-wrapper a:hover {
    text-decoration: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRIDS
   ========================================================================== */
.shop-container,
.shop-content-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .shop-container,
    .shop-content-container {
        padding: 1rem;
    }
}

.shop-app-layout {
    display: flex;
    flex: 1;
    min-height: 100vh;
    position: relative;
}

.shop-main-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   SLIM VERTICAL DOCK (Desktop Dashboard - Ref Image 1)
   ========================================================================== */
.shop-dock {
    width: 68px;
    background: var(--sp-dock-bg);
    border-right: 1px solid var(--sp-border);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 105;
}

@media (min-width: 1024px) {
    .shop-dock {
        display: flex;
    }
}

.shop-dock__brand {
    width: 44px;
    height: 44px;
    border-radius: var(--sp-radius-md);
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.shop-dock__brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.shop-dock__action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--sp-radius-md);
    background: var(--sp-brand);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px var(--sp-brand-glow);
    transition: transform 0.2s ease, background 0.2s ease;
}

.shop-dock__action-btn:hover {
    background: var(--sp-brand-hover);
    transform: scale(1.05);
}

.shop-dock__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    flex: 1;
}

.shop-dock__item {
    width: 40px;
    height: 40px;
    border-radius: var(--sp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-text-muted);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.shop-dock__item:hover {
    color: var(--sp-brand);
    background: var(--sp-surface-hover);
}

.shop-dock__item.active {
    color: var(--sp-brand);
    background: var(--sp-brand-subtle);
    border: 1px solid var(--sp-brand-border);
}

.shop-dock__footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

.shop-dock__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sp-brand-subtle);
    border: 1px solid var(--sp-brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-brand);
    font-size: 0.85rem;
}

/* ==========================================================================
   TOPBAR HEADER (Breadcrumb, Search, Actions - Ref Image 1)
   ========================================================================== */
.shop-topbar {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--sp-header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--sp-border);
    padding: 0.75rem 1.5rem;
}

.shop-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1440px;
    margin: 0 auto;
}

.shop-topbar__crumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--sp-text-muted);
    white-space: nowrap;
}

.shop-topbar__crumb a {
    color: var(--sp-text-muted);
    font-weight: 600;
}

.shop-topbar__crumb a:hover {
    color: var(--sp-brand);
}

.shop-topbar__crumb-current {
    color: var(--sp-text);
    font-weight: 800;
}

.shop-topbar__search {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .shop-topbar__search {
        display: block;
    }
}

.shop-topbar__mobile-search {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    position: relative;
}

@media (min-width: 768px) {
    .shop-topbar__mobile-search {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .shop-topbar {
        padding: 0.65rem 1rem 0.65rem;
    }
    .shop-topbar__crumb {
        font-size: 0.8rem;
    }
}

.shop-topbar__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sp-text-subtle);
    font-size: 0.85rem;
}

.shop-topbar__search-input {
    width: 100%;
    padding: 0.55rem 3.5rem 0.55rem 36px;
    border-radius: var(--sp-radius-full);
    background: var(--sp-surface-solid);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.shop-topbar__search-input:focus {
    outline: none;
    border-color: var(--sp-brand);
    box-shadow: 0 0 0 3px var(--sp-brand-glow);
}

.shop-topbar__search-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--sp-text-subtle);
    background: var(--sp-bg-subtle);
    border: 1px solid var(--sp-border);
    padding: 2px 6px;
    border-radius: 4px;
}

.shop-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.shop-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--sp-radius-md);
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-icon-btn:hover {
    border-color: var(--sp-brand);
    color: var(--sp-brand);
}

.shop-topbar__cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
    padding: 0.45rem 0.85rem;
    border-radius: var(--sp-radius-md);
    font-size: 0.8125rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.shop-topbar__cart-btn:hover {
    border-color: var(--sp-brand);
    color: var(--sp-brand);
    box-shadow: 0 0 14px var(--sp-brand-glow);
}

.shop-topbar__counter {
    background: var(--sp-brand);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--sp-radius-full);
}

/* ==========================================================================
   SLEEK COMPACT HERO (3-Second Rule)
   ========================================================================== */
.shop-hero-compact {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 1.35rem 1.75rem;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .shop-hero-compact {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18) 0%, rgba(99, 102, 241, 0.08) 100%);
    border-color: rgba(124, 58, 237, 0.25);
}

.shop-hero-compact__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.shop-hero-compact__content {
    max-width: 620px;
}

.shop-hero-compact__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--sp-brand);
    background: var(--sp-brand-subtle);
    padding: 0.2rem 0.65rem;
    border-radius: var(--sp-radius-full);
    margin-bottom: 0.45rem;
}

.shop-hero-compact__title {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--sp-text);
    margin: 0 0 0.3rem 0;
}

.shop-hero-compact__subtitle {
    font-size: 0.825rem;
    color: var(--sp-text-muted);
    line-height: 1.45;
    margin: 0;
}

.shop-hero-compact__cta {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .shop-hero-compact {
        padding: 1rem 1.15rem;
        margin-bottom: 1rem;
    }
    .shop-hero-compact__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
    .shop-hero-compact__title {
        font-size: 1.1rem;
    }
    .shop-hero-compact__subtitle {
        font-size: 0.785rem;
    }
    .shop-hero-compact__cta {
        width: 100%;
    }
    .shop-hero-compact__cta .shop-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   CATEGORY PILLS (Horizontal Scroll - Ref Image 2)
   ========================================================================== */
.shop-category-pills {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shop-category-pills::-webkit-scrollbar {
    display: none;
}

.shop-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--sp-radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--sp-shadow-sm);
}

.shop-pill:hover {
    border-color: var(--sp-brand);
    color: var(--sp-brand);
    background: var(--sp-surface-hover);
    transform: translateY(-1px);
}

.shop-pill.active {
    background: var(--sp-brand) !important;
    border-color: var(--sp-brand) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px var(--sp-brand-glow);
}

.shop-pill.active span {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   SPLIT CATALOG LAYOUT (Filters Left + Grid Right - Ref Image 1)
   ========================================================================== */
.shop-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .shop-split-layout {
        grid-template-columns: 260px 1fr;
        gap: 2rem;
    }
}

.shop-mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--sp-radius-md);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .shop-mobile-filter-toggle {
        display: none !important;
    }
}

.shop-filter-badge {
    background: var(--sp-brand);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    line-height: 1.2;
}

.shop-filter-panel {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 1.25rem;
    position: sticky;
    top: 86px;
    display: none;
    box-shadow: var(--sp-shadow-card);
    transition: all 0.25s ease;
}

@media (max-width: 1023.98px) {
    .shop-filter-panel.is-open {
        display: block !important;
        margin-bottom: 1.25rem;
        animation: spFadeDown 0.25s ease-out;
    }
}

@media (min-width: 1024px) {
    .shop-filter-panel {
        display: block;
    }
}

@keyframes spFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-filter-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--sp-border);
}

.shop-filter-panel__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sp-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-filter-panel__clear {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--sp-brand);
    cursor: pointer;
}

.shop-filter-group {
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--sp-border-subtle);
}

.shop-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-filter-group__title,
.shop-filter-title {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--sp-text);
    margin: 0 0 0.65rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shop-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.shop-filter-item,
.shop-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.825rem;
    color: var(--sp-text-muted);
    cursor: pointer;
    text-decoration: none !important;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.shop-filter-item:hover,
.shop-filter-checkbox:hover {
    color: var(--sp-brand);
}

.shop-filter-item.active {
    color: var(--sp-brand) !important;
    font-weight: 700;
}

.shop-checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--sp-border);
    background: var(--sp-surface-solid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.shop-filter-item.active .shop-checkbox-custom,
.shop-filter-checkbox input:checked + .shop-checkbox-custom {
    background: var(--sp-brand);
    border-color: var(--sp-brand);
    color: #ffffff;
}

.shop-filter-count {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sp-text-subtle);
    background: var(--sp-bg-subtle);
    padding: 1px 7px;
    border-radius: 9999px;
    line-height: 1.3;
}

.shop-filter-item.active .shop-filter-count {
    color: var(--sp-brand);
    background: var(--sp-brand-glow);
}

.shop-stock-quick-filter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--sp-surface-1);
    padding: 3px;
    border-radius: var(--sp-radius-md);
    border: 1px solid var(--sp-border);
}

.shop-stock-quick-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    color: var(--sp-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.shop-stock-quick-btn:hover {
    color: var(--sp-text);
    background: var(--sp-surface-hover);
}

.shop-stock-quick-btn.active {
    background: var(--sp-brand) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px var(--sp-brand-glow);
}

.shop-stock-quick-btn.active.active--available {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.shop-stock-quick-btn.active.active--out {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   PRODUCT & SERVICE CARDS GRID (Ref Image 1: 3-4 Columns Layout)
   ========================================================================== */
.shop-service-grid,
.shop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.25rem;
}

@media (min-width: 1400px) {
    .shop-service-grid,
    .shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1023px) {
    .shop-service-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .shop-service-grid,
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem;
    }
}

.shop-card-service {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--sp-shadow-card);
    position: relative;
}

.shop-card-service:hover {
    border-color: var(--sp-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-hover);
}

/* Visual Header (Clean, Light Background) */
.shop-card-service__visual {
    height: 120px;
    background: var(--sp-bg-subtle);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--sp-border-subtle);
}

@media (max-width: 640px) {
    .shop-card-service__visual {
        height: 95px;
    }
}

.shop-card-service__visual-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.shop-card-service__icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: var(--sp-radius-md);
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sp-shadow-sm);
    transition: transform 0.2s ease;
}

.shop-card-service__icon-wrap i {
    font-size: 1.65rem;
}

@media (max-width: 640px) {
    .shop-card-service__icon-wrap {
        width: 40px;
        height: 40px;
    }
    .shop-card-service__icon-wrap i {
        font-size: 1.3rem;
    }
}

.shop-card-service:hover .shop-card-service__icon-wrap {
    transform: scale(1.06);
}

/* Discount Badge & Wishlist */
.shop-card-service__badge-top {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--sp-radius-full);
    z-index: 2;
    letter-spacing: 0.02em;
}

.shop-card-service__wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    color: var(--sp-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.725rem;
    z-index: 2;
    transition: all 0.2s ease;
}

.shop-card-service__wishlist:hover,
.shop-card-service__wishlist.active {
    color: var(--sp-danger);
    border-color: var(--sp-danger-border);
    background: var(--sp-danger-subtle);
}

/* Card Body */
.shop-card-service__body {
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 640px) {
    .shop-card-service__body {
        padding: 0.65rem 0.75rem;
    }
}

.shop-card-service__title {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 0.4rem 0;
    color: var(--sp-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3em;
}

.shop-card-service__title a {
    color: var(--sp-text) !important;
    text-decoration: none !important;
}

.shop-card-service__title a:hover {
    color: var(--sp-brand) !important;
}

@media (max-width: 640px) {
    .shop-card-service__title {
        font-size: 0.775rem;
        min-height: 2.1em;
        margin-bottom: 0.3rem;
    }
}

/* 1-Line Subtle Meta: Rating & Speed */
.shop-card-service__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.725rem;
    color: var(--sp-text-muted);
    margin-bottom: 0.65rem;
}

.shop-card-service__rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--sp-text);
}

.shop-card-service__rating i {
    color: #f59e0b;
    font-size: 0.7rem;
}

.shop-card-service__dot {
    color: var(--sp-text-subtle);
    font-size: 0.7rem;
}

.shop-card-service__speed {
    color: var(--sp-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.shop-card-service__speed i {
    font-size: 0.65rem;
}

/* Bottom Row: Price Left, Button Right */
.shop-card-service__bottom {
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid var(--sp-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.shop-card-service__pricing {
    display: flex;
    flex-direction: column;
}

.shop-card-service__price {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--sp-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (max-width: 640px) {
    .shop-card-service__price {
        font-size: 0.85rem;
    }
}

.shop-card-service__old-price {
    font-size: 0.675rem;
    color: var(--sp-text-subtle);
    text-decoration: line-through;
    margin-top: 1px;
}

.shop-card-service__action {
    margin: 0;
}

.shop-card-service__btn {
    background: var(--sp-brand);
    color: #ffffff !important;
    border: none;
    border-radius: var(--sp-radius-full);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px var(--sp-brand-glow);
    white-space: nowrap;
}

.shop-card-service__btn:hover {
    background: var(--sp-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--sp-brand-glow);
}

@media (max-width: 640px) {
    .shop-card-service__btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

.shop-card-service.is-out-of-stock .shop-card-service__visual img,
.shop-card-service.is-out-of-stock .shop-card-service__icon-wrap {
    filter: grayscale(0.65);
    opacity: 0.85;
}

.shop-card-service__badge-top--soldout {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.shop-badge-soldout {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 0.35rem 0.65rem;
    border-radius: var(--sp-radius-full);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .shop-badge-soldout {
        padding: 0.3rem 0.55rem;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   BUTTONS SYSTEM (.shop-btn)
   ========================================================================== */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    font-family: inherit;
    padding: 0.6rem 1.25rem;
    border-radius: var(--sp-radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.shop-btn--primary {
    background: var(--sp-brand);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--sp-brand-glow);
}

.shop-btn--primary:hover {
    background: var(--sp-brand-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--sp-brand-glow);
}

.shop-btn--secondary {
    background: var(--sp-surface-1);
    color: var(--sp-text) !important;
    border-color: var(--sp-border);
    box-shadow: var(--sp-shadow-sm);
}

.shop-btn--secondary:hover {
    border-color: var(--sp-brand);
    color: var(--sp-brand) !important;
    background: var(--sp-surface-hover);
}

.shop-btn--ghost {
    background: transparent;
    color: var(--sp-text-muted) !important;
}

.shop-btn--ghost:hover {
    color: var(--sp-text) !important;
    background: var(--sp-surface-hover);
}

.shop-btn--sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.775rem;
    border-radius: var(--sp-radius-sm);
}

.shop-btn--lg {
    padding: 0.85rem 1.65rem;
    font-size: 1rem;
    border-radius: var(--sp-radius-lg);
}

.shop-btn--block {
    width: 100%;
}

/* ==========================================================================
   PANELS & FORMS (.shop-panel, .shop-input)
   ========================================================================== */
.shop-panel {
    background: var(--sp-panel);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-card);
    padding: 1.5rem;
}

.shop-form-group {
    margin-bottom: 1.15rem;
}

.shop-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 800;
    color: var(--sp-text);
    margin-bottom: 0.4rem;
}

.shop-input,
.shop-textarea,
.shop-select {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border-radius: var(--sp-radius-md);
    background: var(--sp-surface-solid);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
    font-family: inherit;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.shop-input:focus,
.shop-textarea:focus,
.shop-select:focus {
    outline: none;
    border-color: var(--sp-brand);
    box-shadow: 0 0 0 3px var(--sp-brand-glow);
}

.shop-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-md);
    overflow: hidden;
}

.shop-stepper__btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--sp-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.shop-stepper__btn:hover {
    background: var(--sp-surface-hover);
    color: var(--sp-brand);
}

.shop-stepper__val {
    min-width: 36px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--sp-text);
}

/* ==========================================================================
   CHECKOUT & CART ROW STYLES
   ========================================================================== */
.shop-checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .shop-checkout-layout {
        grid-template-columns: 1fr 380px;
    }
}

.shop-order-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--sp-border-subtle);
}

.shop-order-item-row:last-child {
    border-bottom: none;
}

.shop-order-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--sp-radius-md);
    background: var(--sp-bg-subtle);
    border: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.shop-order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--sp-text-muted);
    margin-bottom: 0.75rem;
}

.shop-summary-line--total {
    border-top: 1px solid var(--sp-border);
    padding-top: 0.85rem;
    margin-top: 0.85rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--sp-text);
}

/* ==========================================================================
   ALERTS, EMPTY STATES & MOBILE BAR
   ========================================================================== */
.shop-alert {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.15rem;
    border-radius: var(--sp-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.shop-alert--success {
    background: var(--sp-success-subtle);
    border: 1px solid var(--sp-success-border);
    color: var(--sp-success);
}

.shop-alert--error {
    background: var(--sp-danger-subtle);
    border: 1px solid var(--sp-danger-border);
    color: var(--sp-danger);
}

.shop-empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-card);
}

.shop-empty-state__icon {
    font-size: 3rem;
    color: var(--sp-text-subtle);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.shop-empty-state__title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--sp-text);
    margin: 0 0 0.4rem 0;
}

.shop-empty-state__desc {
    font-size: 0.875rem;
    color: var(--sp-text-muted);
    margin: 0 auto 1.5rem auto;
    max-width: 420px;
}

.shop-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--sp-header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0.75rem 0.65rem;
    z-index: 1000;
}

@media (min-width: 1024px) {
    .shop-mobile-bottom-bar {
        display: none;
    }
}

.shop-mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--sp-text-muted);
    font-size: 0.675rem;
    font-weight: 700;
    padding: 4px 8px;
    transition: color 0.15s ease;
    position: relative;
}

.shop-mobile-tab i {
    font-size: 1.15rem;
}

.shop-mobile-tab.active {
    color: var(--sp-brand);
}

.shop-mobile-tab__badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--sp-brand);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: var(--sp-radius-full);
}

/* ==========================================================================
   CUSTOM SHOP PAGINATION & SVG SHIELD
   Modern, Clean, Responsive with Hover Micro-Animations
   ========================================================================== */
.shop-pagination-wrap {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sp-border);
    width: 100%;
}

.shop-pagination-wrap svg,
.sp-pagination svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block;
    vertical-align: middle;
}

.sp-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .sp-pagination {
        flex-direction: row;
        justify-content: space-between;
    }
}

.sp-pagination__info {
    font-size: 0.8125rem;
    color: var(--sp-text-muted);
}

.sp-pagination__info strong {
    color: var(--sp-text);
    font-weight: 700;
}

.sp-pagination__list {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-md);
    padding: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sp-pagination__item {
    margin: 0;
}

.sp-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    border-radius: var(--sp-radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--sp-text);
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    user-select: none;
}

.sp-pagination__link i {
    font-size: 0.75rem;
}

.sp-pagination__item:not(.is-active):not(.is-disabled):not(.is-dots) a.sp-pagination__link:hover {
    background: var(--sp-bg-subtle);
    color: var(--sp-brand);
}

.sp-pagination__item.is-active .sp-pagination__link {
    background: var(--sp-brand);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--sp-brand-glow);
}

.sp-pagination__item.is-disabled .sp-pagination__link {
    color: var(--sp-text-subtle);
    opacity: 0.4;
    cursor: not-allowed;
}

.sp-pagination__item.is-dots .sp-pagination__link {
    color: var(--sp-text-subtle);
    cursor: default;
    min-width: 24px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - ULTRA PREMIUM 2-COLUMN LAYOUT
   ========================================================================== */
.shop-pdp-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 5rem;
}

.shop-pdp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
    .shop-pdp-layout {
        grid-template-columns: 460px minmax(0, 1fr);
        gap: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .shop-pdp-layout {
        grid-template-columns: 480px minmax(0, 1fr);
        gap: 4rem;
    }
}

/* Left Column: Visual Showcase Card */
.shop-pdp-visual-card {
    position: relative;
    border-radius: 24px;
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-pdp-visual-card:hover {
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.12);
}

.shop-pdp-visual-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.18) 0%, rgba(15, 23, 42, 0.05) 75%), var(--sp-surface-solid);
}

.shop-pdp-visual-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 92, 246, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.shop-pdp-icon-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: var(--sp-surface-solid);
    border: 1.5px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--sp-brand);
    margin-bottom: 1.25rem;
    box-shadow: 0 15px 35px var(--sp-brand-glow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.shop-pdp-visual-card:hover .shop-pdp-icon-wrapper {
    transform: scale(1.06) translateY(-4px);
}

.shop-pdp-visual-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--sp-surface-subtle);
    border: 1px solid var(--sp-border);
    color: var(--sp-text);
}

.shop-pdp-visual-tag {
    position: absolute;
    top: 1rem;
    z-index: 3;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.shop-pdp-visual-tag--discount {
    left: 1rem;
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.shop-pdp-visual-tag--delivery {
    right: 1rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(8px);
}

/* Tokopedia-Style Showcase Gallery */
.shop-pdp-visual-hero--image {
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    background: #ffffff !important;
    cursor: zoom-in;
}

[data-theme="dark"] .shop-pdp-visual-hero--image {
    background: #0f172a !important;
}

.shop-pdp-zoom-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
}

.shop-pdp-main-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.18s cubic-bezier(0.2, 0, 0.2, 1);
    transform: scale(var(--zoom-scale, 1));
    transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
    user-select: none;
    pointer-events: none;
}

.shop-pdp-zoom-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.shop-pdp-zoom-badge:hover {
    background: var(--sp-brand);
    border-color: var(--sp-brand);
    transform: scale(1.05);
}

/* Thumbnail Carousel Strip */
.shop-pdp-thumbs-strip {
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    overflow-x: auto;
    border-top: 1px solid var(--sp-border);
    background: var(--sp-surface-1);
    scrollbar-width: thin;
}

.shop-pdp-thumb-btn {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 2px solid var(--sp-border);
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

[data-theme="dark"] .shop-pdp-thumb-btn {
    background: #0f172a;
}

.shop-pdp-thumb-btn:hover {
    border-color: var(--sp-brand);
    transform: translateY(-2px);
}

.shop-pdp-thumb-btn.active {
    border-color: var(--sp-brand);
    box-shadow: 0 0 0 2px var(--sp-brand-glow);
}

.shop-pdp-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Fullscreen Tokopedia-Style Lightbox Modal */
.shop-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 1.5rem;
}

.shop-pdp-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-pdp-lightbox-dialog {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.shop-pdp-lightbox-close {
    position: absolute;
    top: -3.25rem;
    right: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-pdp-lightbox-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.1);
}

.shop-pdp-lightbox-body {
    max-width: 85vw;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-pdp-lightbox-body img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.shop-pdp-lightbox-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
    color: #ffffff;
}

.shop-pdp-lightbox-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-pdp-lightbox-nav-btn:hover {
    background: var(--sp-brand);
    border-color: var(--sp-brand);
    transform: scale(1.1);
}

.shop-pdp-lightbox-counter {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.shop-pdp-lightbox-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    max-width: 90vw;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.shop-pdp-lightbox-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.shop-pdp-lightbox-thumb.active,
.shop-pdp-lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--sp-brand);
    transform: translateY(-2px);
}

.shop-pdp-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* Trust Badges Grid (Left Column) */
.shop-pdp-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.shop-pdp-trust-item {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.shop-pdp-trust-item:hover {
    border-color: var(--sp-brand-border);
    transform: translateY(-2px);
}

.shop-pdp-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--sp-brand-subtle);
    color: var(--sp-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.shop-pdp-trust-text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--sp-text);
    margin-bottom: 0.15rem;
}

.shop-pdp-trust-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    line-height: 1.35;
}

/* Feature Checklist Card */
.shop-pdp-features-box {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    margin-top: 1.25rem;
}

.shop-pdp-features-box h4 {
    font-size: 0.825rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sp-text-muted);
    margin: 0 0 0.85rem 0;
}

.shop-pdp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.shop-pdp-feature-list li {
    font-size: 0.825rem;
    color: var(--sp-text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.4;
}

.shop-pdp-feature-list li i {
    color: #10b981;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Right Column: PDP Info & Actions */
.shop-pdp-info {
    display: flex;
    flex-direction: column;
}

.shop-pdp-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.shop-pdp-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 800;
    color: var(--sp-brand);
    background: var(--sp-brand-subtle);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-decoration: none !important;
    transition: opacity 0.15s ease;
}

.shop-pdp-cat-pill:hover {
    opacity: 0.85;
}

.shop-pdp-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.shop-pdp-stock-pill--out {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.shop-pdp-order-card--out {
    background: rgba(239, 68, 68, 0.03) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    border-radius: var(--sp-radius-lg);
    padding: 1.5rem;
}

.shop-pdp-out-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--sp-radius-md);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.shop-pdp-out-alert__icon {
    font-size: 1.6rem;
    color: #ef4444;
    line-height: 1;
    margin-top: 2px;
}

.shop-pdp-out-alert__title {
    font-size: 1rem;
    font-weight: 800;
    color: #dc2626;
    margin: 0 0 0.35rem 0;
}

.shop-pdp-out-alert__desc {
    font-size: 0.85rem;
    color: var(--sp-text-muted);
    line-height: 1.5;
    margin: 0;
}

.shop-pdp-title {
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    font-weight: 900;
    color: var(--sp-text);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 0.85rem 0;
}

.shop-pdp-rating-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.shop-pdp-stars {
    color: #fbbf24;
    display: inline-flex;
    gap: 2px;
}

.shop-pdp-rating-val {
    font-weight: 800;
    color: var(--sp-text);
}

.shop-pdp-reviews-count {
    color: var(--sp-text-muted);
}

.shop-pdp-satisfaction {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

/* Pricing Card Hero */
.shop-pdp-price-hero {
    background: linear-gradient(135deg, var(--sp-surface-1) 0%, var(--sp-surface-subtle) 100%);
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.shop-pdp-price-main {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.shop-pdp-price-curr {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 950;
    color: var(--sp-text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.shop-pdp-price-old {
    font-size: 1.15rem;
    color: var(--sp-text-subtle);
    text-decoration: line-through;
    font-weight: 600;
}

.shop-pdp-price-save-badge {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

/* Quick Jump Link to Full Description */
.shop-pdp-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sp-brand, #6366f1);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    transition: all 0.2s ease;
}

.shop-pdp-jump-link:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #4f46e5;
    transform: translateY(1px);
}

/* Full Description Card in Right Column (Legacy / Optional) */
.shop-pdp-full-desc-card {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.shop-pdp-full-desc-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--sp-text);
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--sp-border-subtle);
}

.shop-pdp-full-desc-card__header i {
    color: var(--sp-brand);
}

.shop-pdp-full-desc-card__body {
    font-size: 0.925rem;
    color: var(--sp-text-muted);
    line-height: 1.75;
}

.shop-pdp-full-desc-card__body p {
    margin: 0 0 0.75rem 0;
    line-height: 1.75;
}

.shop-pdp-full-desc-card__body p:last-child {
    margin-bottom: 0;
}

.shop-pdp-full-desc-card__body strong,
.shop-pdp-full-desc-card__body b {
    color: var(--sp-text);
    font-weight: 700;
}

.shop-pdp-full-desc-card__body ul,
.shop-pdp-full-desc-card__body ol {
    padding-left: 1.25rem;
    margin: 0 0 0.75rem 0;
}

.shop-pdp-full-desc-card__body li {
    margin-bottom: 0.35rem;
}

/* Legacy summary text fallback */
.shop-pdp-summary-text {
    font-size: 0.95rem;
    color: var(--sp-text-muted);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

/* Order Action Box */
.shop-pdp-order-card {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.shop-pdp-stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--sp-border-subtle);
}

.shop-pdp-stepper-label {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--sp-text);
}

.shop-pdp-stepper-label span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sp-text-muted);
    margin-top: 2px;
}

.shop-pdp-action-btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 500px) {
    .shop-pdp-action-btns {
        grid-template-columns: 1.35fr 1fr;
    }
}

.shop-pdp-btn-buy {
    background: linear-gradient(135deg, var(--sp-brand) 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    padding: 0.9rem 1.25rem !important;
    border-radius: 14px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 8px 20px var(--sp-brand-glow) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.shop-pdp-btn-buy:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px var(--sp-brand-glow) !important;
}

.shop-pdp-btn-cart {
    background: var(--sp-surface-solid) !important;
    color: var(--sp-text) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0.9rem 1.15rem !important;
    border-radius: 14px !important;
    border: 1.5px solid var(--sp-border) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.shop-pdp-btn-cart:hover {
    border-color: var(--sp-brand) !important;
    color: var(--sp-brand) !important;
    background: var(--sp-surface-hover) !important;
}

.shop-pdp-secure-note {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.775rem;
    color: var(--sp-text-muted);
}

.shop-pdp-secure-note i {
    color: #10b981;
}

/* Tabs & Specs Card */
.shop-pdp-tabs-card {
    background: var(--sp-surface-1);
    border: 1px solid var(--sp-border);
    border-radius: 24px;
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 4rem;
}

@media (max-width: 640px) {
    .shop-pdp-tabs-card {
        padding: 1.5rem 1.25rem;
    }
}

.shop-pdp-tab-header {
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid var(--sp-border-subtle);
    margin-bottom: 1.75rem;
}

.shop-pdp-tab-btn {
    padding-bottom: 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sp-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.shop-pdp-tab-btn.active {
    color: var(--sp-brand);
}

.shop-pdp-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sp-brand);
    border-radius: 3px;
}

.shop-pdp-content-body {
    color: var(--sp-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.shop-pdp-content-body p {
    margin: 0 0 0.85rem 0;
    line-height: 1.8;
}

.shop-pdp-content-body strong,
.shop-pdp-content-body b {
    color: var(--sp-text);
    font-weight: 700;
}

.shop-pdp-content-body h3, .shop-pdp-content-body h4 {
    color: var(--sp-text);
    font-weight: 800;
    margin: 1.5rem 0 0.75rem;
}

.shop-pdp-content-body ul, .shop-pdp-content-body ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.shop-pdp-content-body li {
    margin-bottom: 0.45rem;
}

/* ==========================================================================
   Shop Floating WhatsApp Widget
   ========================================================================== */
.shop-wa-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
}

.shop-wa-floating:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px -4px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.shop-wa-floating:active {
    transform: translateY(-1px) scale(0.99);
}

.shop-wa-floating__icon {
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-wa-floating__label {
    white-space: nowrap;
    line-height: 1;
}

.shop-wa-floating__dot {
    width: 8px;
    height: 8px;
    background-color: #a7f3d0;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(18, 140, 126, 0.6);
}

.shop-wa-floating__pulse {
    position: absolute;
    inset: -3px;
    border-radius: 9999px;
    border: 2px solid #25D366;
    opacity: 0.7;
    animation: shopWaRipple 2.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
    pointer-events: none;
}

@keyframes shopWaRipple {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.15, 1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.2, 1.3);
        opacity: 0;
    }
}

@media (max-width: 1023px) {
    .shop-wa-floating {
        bottom: 4.85rem;
        right: 1.25rem;
        padding: 0.7rem 1rem;
        font-size: 0.825rem;
    }
}

@media (max-width: 480px) {
    .shop-wa-floating {
        bottom: 4.75rem;
        right: 1rem;
        padding: 0.65rem 0.95rem;
        font-size: 0.8rem;
        gap: 0.45rem;
    }
}
