/* --- APP CANVAS CONTEXT & MODERN RESETS --- */
#mobile-swiper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: -webkit-fill-available;
    background: #0b0b0c !important;
    z-index: 99999999 !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    user-select: none;
    overflow: hidden;
}

/* --- GLASSMORPHIC FLOATING HEADER ARCHITECTURE --- */
#swiper-persistent-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(11, 11, 12, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#back-to-cats {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.header-right-cart {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.cart-badge-container {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

#swiper-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff3b30;
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

.persistent-checkout-btn {
    background: #ffffff;
    color: #0b0b0c;
    border: none;
    padding: 9px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* --- PREMIUM CATEGORY SCREEN HUB --- */
#swiper-category-screen {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100% - 64px);
    overflow-y: auto;
    padding: 24px 20px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #121214 0%, #0b0b0c 100%);
}

.category-hero-text {
    text-align: left;
    margin-bottom: 28px;
    padding-left: 4px;
}

.category-hero-text h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    background: linear-gradient(90deg, #ffffff, #a1a1a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-hero-text p {
    font-size: 14px;
    color: #8e8e93;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 22px 16px;
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.all-products-accent {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-btn-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.cat-btn-subtitle {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 6px;
}

/* --- REELS ENTERTAINMENT STAGE DISPLAY SYSTEM --- */
#swiper-product-screen, .main-vertical-swiper {
    width: 100%;
    height: 100%;
}

.product-card-view {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #000000;
}

.product-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- VERTICAL FLOATING CONTROLS --- */
.swiper-floating-actions {
    position: absolute;
    right: 16px;
    bottom: 260px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.swiper-whatsapp-share {
    background: rgba(37, 211, 102, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #ffffff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.swiper-whatsapp-share span {
    font-size: 10px;
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.2px;
}

/* --- PRODUCT DETAILS BOTTOM SHADOW OVERLAY --- */
.product-info-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 24px 40px 24px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(11,11,12,1) 0%, rgba(11,11,12,0.85) 45%, rgba(11,11,12,0.4) 70%, transparent 100%);
}

.product-title-heading {
    margin: 0 0 8px 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 40px;
}

.price-display {
    font-size: 18px;
    color: #ffcc00;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- ACTION UTILITY STACK --- */
.actions-stack-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ajax-add-to-cart-swiper {
    width: 100%;
    border: none;
    background: #ffffff;
    color: #0b0b0c;
    padding: 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.ajax-add-to-cart-swiper.success-state {
    background: #34c759 !important;
    color: #ffffff !important;
}

.swiper-whatsapp-order-btn {
    width: 100%;
    border: none;
    background: #25d366;
    color: #ffffff;
    padding: 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

/* --- CORE DESKTOP EMBED STYLES --- */
.desktop-whatsapp-order-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 14px 24px !important;
    margin: 12px 0 0 0 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: filter 0.2s ease;
}

.desktop-whatsapp-order-btn:hover {
    filter: brightness(0.95);
}

.desktop-loop-whatsapp-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    margin-top: 8px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.desktop-loop-whatsapp-btn:hover {
    opacity: 0.9;
}