/* ============================================================
   DAS GROUP INTERNATIONAL — E-Commerce Extension Styles
   ============================================================ */

/* ---------- FLOATING CART ---------- */
.cart-floating {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cart-floating:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.5);
}

.cart-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--navy);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
}

/* Pop animation for when item added */
@keyframes cartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.cart-floating.pop {
    animation: cartPop 0.4s ease-out;
}

/* ---------- TOAST NOTIFICATION ---------- */
.toast-notification {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--navy);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.2);
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    background: var(--emerald);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ---------- SINGLE PRODUCT PAGE ---------- */
.product-single-section {
    padding: 140px 0 80px;
    background: var(--white);
    min-height: 80vh;
}

.product-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.product-gallery {
    background: linear-gradient(145deg, var(--silk) 0%, var(--silk-dark) 100%);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    border: 1px solid var(--border);
}

.product-main-img {
    max-width: 80%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(10, 22, 40, 0.15));
}

.product-info-col h1 {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.product-price-large {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 24px;
}

.product-description-long {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.qty-to-cart-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--silk-dark);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--silk-dark);
    border-radius: 50px;
    height: 54px;
    background: var(--white);
}

.qty-btn {
    width: 44px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--navy);
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn:hover {
    color: var(--gold);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    background: transparent;
}

.qty-input:focus {
    outline: none;
}

.btn-add-massive {
    height: 54px;
    padding: 0 40px;
    font-size: 14px;
    flex: 1;
}

.product-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.product-meta p {
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.product-meta strong {
    color: var(--navy);
    font-weight: 600;
    min-width: 80px;
}

/* Details Tabs */
.product-tabs {
    margin-top: 60px;
}

.tab-headers {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--silk-dark);
    margin-bottom: 32px;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding-bottom: 16px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn.active {
    color: var(--navy);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-pane {
    display: none;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    animation: fadeTab 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- CART SUMMARY PAGE ---------- */
.cart-section {
    padding: 140px 0 80px;
    background: var(--silk);
    min-height: 80vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.cart-items-box,
.cart-summary-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.cart-items-box h2,
.cart-summary-box h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--silk-dark);
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--silk-dark);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    background: var(--silk);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cart-item-img img {
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

.cart-remove-btn {
    background: transparent;
    border: none;
    color: #ff4d4d;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: 0.2s;
}

.cart-remove-btn:hover {
    transform: scale(1.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.summary-total {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--silk-dark);
    display: flex;
    justify-content: space-between;
}

.summary-checkout-actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-whatsapp {
    background: #2ECC71;
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #2ECC71;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

/* ---------- CHECKOUT COMPONENT ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--silk-dark);
    border-radius: var(--radius-sm);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: 0.3s;
    background: var(--silk);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

/* ---------- RESPONSIVE ---------- */
@media(max-width: 900px) {
    .product-single-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item-row {
        flex-wrap: wrap;
    }
}/* ---------- WHATSAPP BUTTON PULSE ---------- */
@keyframes pulseWa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn-whatsapp {
    background: #2ECC71;
    color: white;
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
    animation: pulseWa 2s infinite;
}
.btn-whatsapp:hover {
    background: #2ECC71;
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

/* ---------- ORDER MODAL ---------- */
.order-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 14, 27, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.order-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.order-modal {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}
.order-modal-overlay.active .order-modal {
    transform: translateY(0) scale(1);
}
.order-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
}
.order-modal h3 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.4rem;
}
.order-modal p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}
.order-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- PAYMENT SIMULATOR ---------- */
.payment-loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.payment-loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.spinner {
    width: 50px; height: 50px;
    border: 4px solid var(--silk-dark);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.payment-loader-overlay h3 {
    color: var(--navy);
    font-size: 1.2rem;
}

/* ---------- RELATED PRODUCTS ---------- */
.related-section {
    padding: 80px 0;
    background: var(--silk);
    border-top: 1px solid var(--silk-dark);
}
.related-section h2 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 48px;
    font-size: 2rem;
}

.product-footer-flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.product-footer-flex .price-row {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
}
.product-footer-flex .btn-row {
    display: flex;
    gap: 8px;
}
.product-footer-flex .btn-row button {
    flex: 1;
    padding: 10px 0;
    font-size: 13px;
    justify-content: center;
}

/* ============================================================
   CLINICAL-LUXE REDESIGN (SINGLE PRODUCT)
   ============================================================ */

/* ─── Gallery Enhancement ─── */
.product-gallery {
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--silk) 100%);
    border: 1px solid rgba(135, 110, 85, 0.08);
    box-shadow: inset 0 0 100px rgba(255,255,255,0.8), 0 20px 60px rgba(0,0,0,0.03);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery:hover {
    box-shadow: inset 0 0 120px rgba(255,255,255,1), 0 32px 80px rgba(0,0,0,0.06);
}

.product-main-img {
    filter: drop-shadow(0 30px 50px rgba(10, 22, 40, 0.12));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery:hover .product-main-img {
    transform: translateY(-10px) scale(1.02);
}

/* ─── Glassmorphism Badges ─── */
.product-badge {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 9px !important;
    font-weight: 700;
    padding: 6px 14px;
    color: var(--navy) !important;
}

.badge-best { border-left: 3px solid var(--gold); }
.badge-new { border-left: 3px solid var(--emerald); }

/* ─── Typography & Header ─── */
.product-info-col h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.product-price-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--silk);
    border-radius: 50%;
    color: var(--emerald);
}

/* ─── Action Widgets ─── */
.qty-selector {
    border: 1px solid var(--silk-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.btn-add-massive {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    background: var(--navy);
    border: none;
    color: white !important;
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.2);
    transition: all 0.4s;
}

.btn-add-massive:hover {
    background: #0d1b2a;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(10, 22, 40, 0.3);
    color: white !important;
}

/* ─── Quick WhatsApp Button ─── */
.btn-quick-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 54px;
    background: #0F8241;
    color: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    margin-top: 16px;
    transition: all 0.4s;
    box-shadow: 0 8px 24px rgba(15, 130, 65, 0.2);
}

.btn-quick-wa:hover {
    background: #0c6b35;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 130, 65, 0.3);
}

.btn-whatsapp-master {
    background: #0F8241;
    color: white;
    width: 100%;
    padding: 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    box-shadow: 0 12px 32px rgba(15, 130, 65, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-whatsapp-master:hover {
    background: #0c6b35;
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(15, 130, 65, 0.4);
}

/* ─── Tabs Refinement ─── */
.tab-headers {
    border-bottom: 1px solid var(--silk-dark);
}

.tab-btn {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-bottom: 20px;
}

.tab-btn.active {
    color: var(--emerald);
}

.tab-btn.active::after {
    background: var(--emerald);
    height: 3px;
}

/* ─── Responsive Sticky Bar ─── */
.mobile-sticky-order {
    display: none;
}

@media (max-width: 600px) {
    .mobile-sticky-order {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 16px 20px;
        z-index: 1000;
        display: flex;
        gap: 12px;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
        border-top: 1px solid rgba(255,255,255,0.5);
    }
    
    .mobile-sticky-order .btn-quick-wa, 
    .mobile-sticky-order .btn-add-massive {
        margin: 0;
        font-size: 11px;
        height: 48px;
    }
    
    body { padding-bottom: 80px; }
}
