/* Spin keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton loading pulse animation */
@keyframes ptSkeletonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Upload Product Modal styling */
#buy-sell-upload-modal {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transition: all 0.3s ease !important;
}

.pt-upload-modal-card {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-radius: 20px !important;
    width: 550px !important;
    max-width: 92% !important;
    max-height: 90vh !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.night-mode .pt-upload-modal-card {
    background: #171821 !important;
    color: #f3f4f6 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
}

.pt-upload-modal-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.night-mode .pt-upload-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.pt-upload-modal-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.night-mode .pt-upload-modal-header h3 {
    color: #ffffff !important;
}

.buy-sell-hidden {
    display: none !important;
}

.pt-upload-form {
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: calc(100% - 60px) !important;
}

.pt-upload-form-content {
    padding: 20px 20px 10px 20px !important;
    overflow-y: auto !important;
    flex-grow: 1 !important;
}

.pt-upload-form-footer {
    padding: 15px 20px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    background: #ffffff !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
}

.night-mode .pt-upload-form-footer {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    background: #171821 !important;
}

.pt-upload-field {
    margin-bottom: 14px !important;
}

.pt-upload-field label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 11.5px !important;
    color: #6b7280 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.night-mode .pt-upload-field label {
    color: #9ca3af !important;
}

.pt-upload-input {
    width: 100% !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.pt-upload-input:focus {
    border-color: #04abf2 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(4, 171, 242, 0.1) !important;
}

.night-mode .pt-upload-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.night-mode .pt-upload-input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: #04abf2 !important;
}

.pt-upload-select {
    width: 100% !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.night-mode .pt-upload-select {
    background: #171821 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.pt-upload-image-btn {
    background: #f3f4f6 !important;
    border: 1px dashed #d1d5db !important;
    color: #4b5563 !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.pt-upload-image-btn:hover {
    background: #e5e7eb !important;
}

.night-mode .pt-upload-image-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e5e7eb !important;
}

.night-mode .pt-upload-image-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
}

.pt-upload-cancel-btn {
    background: #f3f4f6 !important;
    border: none !important;
    color: #4b5563 !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.pt-upload-cancel-btn:hover {
    background: #e5e7eb !important;
}

.night-mode .pt-upload-cancel-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e5e7eb !important;
}

.night-mode .pt-upload-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ══ BUY AND SELL SYSTEM UI REDESIGN ══ */

/* Modal Backdrop */
#buy-sell-detail-modal {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    transition: all 0.3s ease !important;
}

/* Premium Product Details Card Container */
.pt-detail-modal-card {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-radius: 24px !important;
    width: 600px !important;
    max-width: 95% !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 85vh !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

.night-mode .pt-detail-modal-card {
    background: #171821 !important;
    color: #f3f4f6 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating Native App Header inside the details page */
.pt-detail-modal-header {
    padding: 14px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    pointer-events: none !important;
}

.pt-detail-modal-header button,
.pt-detail-modal-header div,
.pt-detail-modal-header span {
    pointer-events: auto !important;
}

.pt-detail-back-btn, .pt-detail-heart-btn, .pt-detail-share-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

.night-mode .pt-detail-back-btn, 
.night-mode .pt-detail-heart-btn, 
.night-mode .pt-detail-share-btn {
    background: rgba(30, 30, 40, 0.85) !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.pt-detail-back-btn:hover, .pt-detail-share-btn:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
    transform: scale(1.05) !important;
}
.night-mode .pt-detail-back-btn:hover, .night-mode .pt-detail-share-btn:hover {
    background: #272935 !important;
    color: #ffffff !important;
}

.pt-detail-heart-btn {
    color: #ff4757 !important;
}
.pt-detail-heart-btn:hover {
    transform: scale(1.1) !important;
}

.pt-detail-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.pt-detail-close-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.pt-detail-close-btn:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    transform: scale(1.05) !important;
}

/* Body Scroll & Image styling */
.pt-detail-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding-bottom: 84px !important; /* spacing for sticky bottom footer */
}

/* Beautiful Rounded Image Wrapper */
.pt-detail-image-wrap {
    width: 100% !important;
    aspect-ratio: 16/11 !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.night-mode .pt-detail-image-wrap {
    background: #0f1016 !important;
}

.pt-detail-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.pt-detail-content-wrap {
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.pt-detail-store-badge {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.night-mode .pt-detail-store-badge {
    color: #9ca3af !important;
}

.pt-detail-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    line-height: 1.4 !important;
}
.night-mode .pt-detail-title {
    color: #ffffff !important;
}

.pt-detail-meta-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    margin-top: -2px !important;
}
.night-mode .pt-detail-meta-row {
    color: #9ca3af !important;
}

.pt-detail-star-badge {
    color: #f59e0b !important;
    font-weight: 700 !important;
}

.pt-detail-divider {
    width: 100% !important;
    height: 1px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    margin: 4px 0 !important;
}
.night-mode .pt-detail-divider {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Tabs Bar */
.pt-detail-tab-header {
    display: flex !important;
    gap: 20px !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04) !important;
    margin-top: 8px !important;
}
.night-mode .pt-detail-tab-header {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

.pt-detail-tab-btn {
    background: transparent !important;
    border: none !important;
    color: #9ca3af !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 8px 4px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

.pt-detail-tab-btn.active {
    color: #10b981 !important; /* emerald green indicator */
}
.pt-detail-tab-btn.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: #10b981 !important;
    border-radius: 2px !important;
}

/* Description Text */
.pt-detail-desc {
    font-size: 13px !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    white-space: normal !important; /* innerHTML ব্যবহার করা হচ্ছে, তাই normal white-space */
    margin-top: 8px !important;
    word-break: break-word !important;
}
.night-mode .pt-detail-desc {
    color: #d1d5db !important;
}

/* Metadata Grid Info Panel */
.pt-detail-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    background: #f9fafb !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
}
.night-mode .pt-detail-info-grid {
    background: #1c1d27 !important;
}


.pt-info-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.pt-info-label {
    font-size: 10px !important;
    font-weight: bold !important;
    color: #9ca3af !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.pt-info-val {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
.night-mode .pt-info-val {
    color: #ffffff !important;
}

/* Sticky App Bottom Checkout Bar */
.pt-detail-checkout-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 80px !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 24px !important;
    z-index: 110 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.02) !important;
}

.night-mode .pt-detail-checkout-bar {
    background: #171821 !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15) !important;
}

.pt-detail-price-box {
    display: flex !important;
    flex-direction: column !important;
}

.pt-detail-price-label {
    font-size: 9.5px !important;
    font-weight: bold !important;
    color: #9ca3af !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.pt-detail-checkout-price {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #10b981 !important;
}
#detail-price {
    color: #10b981 !important;
    font-weight: 900 !important;
}

.night-mode .pt-detail-checkout-price,
.night-mode #detail-price {
    color: #34d399 !important;
}

.pt-detail-action-box {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Custom quantity selector */
.pt-detail-qty-box {
    display: flex !important;
    align-items: center !important;
    background: rgba(16, 185, 129, 0.06) !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    height: 38px !important;
    padding: 0 8px !important;
    gap: 10px !important;
}
.night-mode .pt-detail-qty-box {
    background: rgba(52, 211, 153, 0.06) !important;
    border-color: rgba(52, 211, 153, 0.15) !important;
}

.pt-qty-btn {
    border: none !important;
    background: transparent !important;
    color: #10b981 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.night-mode .pt-qty-btn {
    color: #34d399 !important;
}

.pt-qty-num {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #10b981 !important;
    min-width: 14px !important;
    text-align: center !important;
}
.night-mode .pt-qty-num {
    color: #34d399 !important;
}

/* Dynamically loaded Action Buttons */
#detail-footer-actions {
    display: flex !important;
}

.btn-product-order, .btn-product-delete {
    height: 40px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.btn-product-order {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
}
.night-mode .btn-product-order {
    background: #34d399 !important;
    color: #0f1016 !important;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.25) !important;
}

.btn-product-delete {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

.btn-product-order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
    filter: brightness(1.08) !important;
}
.night-mode .btn-product-order:hover {
    box-shadow: 0 6px 18px rgba(52, 211, 153, 0.35) !important;
}

.btn-product-delete:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35) !important;
    filter: brightness(1.08) !important;
}

.btn-product-order:active, .btn-product-delete:active {
    transform: translateY(0) !important;
}

/* Category sidebar lists styling */
.buy-sell-cat-link {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.buy-sell-cat-link:hover {
    background: rgba(255,255,255,0.03) !important;
    color: #ffffff !important;
    padding-left: 18px !important;
}
.buy-sell-cat-link.active-cat {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.12) 0%, rgba(0, 114, 255, 0.12) 100%) !important;
    color: #00C6FF !important;
    border-left: 3px solid #00C6FF !important;
    padding-left: 15px !important;
    font-weight: 700 !important;
}

#buy-sell-search-input:focus {
    background: rgba(255,255,255,0.08) !important;
    border-color: #04abf2 !important;
    box-shadow: 0 0 12px rgba(4, 171, 242, 0.25) !important;
}

/* Premium PC Responsive Enhancements for Product Detail Modal */
@media (min-width: 769px) {
    .pt-detail-modal-card {
        width: 860px !important;
        max-width: 90vw !important;
        height: 580px !important;
        max-height: 85vh !important;
        overflow: hidden !important;
        position: relative !important;
        display: block !important; /* flex reset — body নিজেই height নেবে */
    }
    /* Header absolute — image এর উপরে float করে */
    .pt-detail-modal-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 200 !important;
        background: transparent !important;
        pointer-events: none !important;
    }
    .pt-detail-modal-header button,
    .pt-detail-modal-header div,
    .pt-detail-modal-header span {
        pointer-events: auto !important;
    }
    /* Body: checkout bar (80px) বাদ দিয়ে বাকি height নেবে, flex-row */
    .pt-detail-body {
        height: calc(100% - 80px) !important;
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
        padding: 0 !important;
    }
    /* Image: বাম অর্ধেক, full height */
    .pt-detail-image-wrap {
        width: 50% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
        flex-shrink: 0 !important;
    }
    .night-mode .pt-detail-image-wrap {
        border-right-color: rgba(255, 255, 255, 0.05) !important;
    }
    /* Content: ডান অর্ধেক, scroll করবে */
    .pt-detail-content-wrap {
        width: 50% !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 24px !important;
        box-sizing: border-box !important;
    }
    /* Desktop checkout bar: base CSS এর absolute bottom:0 left:0 right:0 ই সঠিক — override নেই */
    .pt-detail-checkout-bar {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important; /* 100% width — full modal width */
        border-radius: 0 0 24px 24px !important;
    }
    /* Elegant modern thin scrollbar for details content */
    .pt-detail-content-wrap::-webkit-scrollbar {
        width: 6px !important;
    }
    .pt-detail-content-wrap::-webkit-scrollbar-track {
        background: transparent !important;
    }
    .pt-detail-content-wrap::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.08) !important;
        border-radius: 10px !important;
    }
    .night-mode .pt-detail-content-wrap::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.08) !important;
    }
}

/* Custom layout grid */
.buy-sell-grid-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 10px 0 !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .buy-sell-grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (max-width: 900px) {
    .buy-sell-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

/* 📱 Extremely Professional Mobile & Tablet Responsive UI Overhaul */
#buy-sell-overlay {
    background: #f8fafc !important;
    transition: all 0.35s ease !important;
}

.night-mode #buy-sell-overlay {
    background: #0c0d14 !important;
}

.pt-app-container {
    width: 92% !important;
    max-width: 1300px !important;
    height: 90vh !important;
    margin: 5vh auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 24px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    animation: appEntrance 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.night-mode .pt-app-container {
    background: rgba(18, 19, 26, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
}

@keyframes appEntrance {
    from { opacity: 0; transform: translateY(30px) scale(0.97); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.pt-app-top-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 28px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    z-index: 100 !important;
    position: relative !important;
}

.night-mode .pt-app-top-nav {
    background: rgba(23, 24, 33, 0.92) !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.pt-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.pt-nav-back-btn {
    border: none !important;
    background: rgba(0, 0, 0, 0.04) !important;
    color: #1f2937 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.night-mode .pt-nav-back-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.pt-nav-back-btn:hover {
    transform: scale(1.05) !important;
    background: rgba(0, 0, 0, 0.08) !important;
}

.night-mode .pt-nav-back-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.pt-app-logo {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.5px !important;
}

.night-mode .pt-app-logo {
    color: #ffffff !important;
}

/* Dynamic Search Bar */
.pt-app-search-wrap {
    position: relative !important;
    width: 360px !important;
    margin: 0 16px !important;
}

.pt-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9ca3af !important;
    pointer-events: none !important;
}

#buy-sell-search-input {
    width: 100% !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    padding: 10px 16px 10px 42px !important;
    font-size: 13px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: all 0.25s ease !important;
}

.night-mode #buy-sell-search-input {
    background: #1c1d27 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

#buy-sell-search-input:focus {
    background: #ffffff !important;
    border-color: #04abf2 !important;
    box-shadow: 0 0 12px rgba(4, 171, 242, 0.2) !important;
}

.night-mode #buy-sell-search-input:focus {
    background: #12131a !important;
}

.pt-nav-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Upload Button on Desktop */
.pt-app-upload-btn-desktop {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.25) !important;
    transition: all 0.2s ease !important;
}

.pt-app-upload-btn-desktop:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 114, 255, 0.35) !important;
}

.pt-app-upload-btn-desktop:active {
    transform: translateY(0) !important;
}

/* Icon Buttons with badge */
.pt-app-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    color: #4b5563 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.2s ease !important;
}

.night-mode .pt-app-icon-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #d1d5db !important;
}

.pt-app-icon-btn:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #111827 !important;
    transform: scale(1.05) !important;
}

.night-mode .pt-app-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.pt-app-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    min-width: 15px !important;
    height: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    border: 2px solid #ffffff !important;
}

.night-mode .pt-app-badge {
    border-color: #12131a !important;
}

.pt-app-badge-blue {
    background: #3b82f6 !important;
}

.pt-app-body {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding: 24px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.pt-app-body::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}
.pt-app-body::-webkit-scrollbar-track {
    background: transparent !important;
}
.pt-app-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}
.night-mode .pt-app-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}
.pt-app-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.16) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}
.night-mode .pt-app-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
}

.pt-app-banner {
    background: linear-gradient(135deg, #ea4c89 0%, #ff6b6b 40%, #ff8e53 100%) !important;
    border-radius: 20px !important;
    padding: 24px 32px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(234, 76, 137, 0.2) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.pt-app-banner:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 35px rgba(234, 76, 137, 0.3) !important;
}

.pt-banner-text {
    flex: 1 !important;
    z-index: 2 !important;
}

.pt-banner-tag {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(4px) !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.pt-banner-title {
    margin: 8px 0 4px 0 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
}

.pt-banner-desc {
    margin: 0 !important;
    font-size: 12.5px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

.pt-banner-art {
    position: relative !important;
    z-index: 2 !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.pt-banner-art svg {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    flex-shrink: 0 !important;
}

.pt-app-banner:hover .pt-banner-art {
    transform: scale(1.1) rotate(5deg) !important;
}

.pt-art-glow {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80px !important;
    height: 80px !important;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%) !important;
    z-index: -1 !important;
}

.pt-app-categories-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: relative !important;
}

/* Category Navigation Buttons (PC Only) */
.pt-cat-nav-btn {
    position: absolute !important;
    top: 30px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #4b5563 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    z-index: 10 !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.night-mode .pt-cat-nav-btn {
    background: rgba(30, 30, 40, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.pt-app-categories-wrap:hover .pt-cat-nav-btn {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.pt-cat-nav-btn:hover {
    background: #0072FF !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 114, 255, 0.3) !important;
}

.night-mode .pt-cat-nav-btn:hover {
    background: #00C6FF !important;
    color: #0f1016 !important;
    box-shadow: 0 6px 16px rgba(0, 198, 255, 0.3) !important;
}

.pt-cat-nav-left {
    left: -17px !important;
}

.pt-cat-nav-right {
    right: -17px !important;
}

.pt-app-categories-scroll {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 0 10px 0 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.pt-app-categories-scroll::-webkit-scrollbar {
    display: none !important;
}

/* Horizontal Category Filter Chips (Mobile/Tablet Only) */
.pt-app-categories-scroll {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 10px 16px 15px 16px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
}

.pt-app-categories-scroll::-webkit-scrollbar {
    height: 4px !important;
}
.pt-app-categories-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 4px !important;
}
.pt-app-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px !important;
}
body:not(.night-mode) .pt-app-categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08) !important;
}

.pt-market-chip {
    white-space: nowrap !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #64748b !important; /* muted text color for light mode */
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-block !important;
}

.night-mode .pt-market-chip {
    color: #94a3b8 !important; /* muted text color for dark mode */
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pt-market-chip:hover {
    color: #0f172a !important;
    border-color: #0072ff !important;
    transform: translateY(-1px) !important;
}

.night-mode .pt-market-chip:hover {
    color: #ffffff !important;
    border-color: #00c6ff !important;
}

.pt-market-chip.active {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.3) !important;
}

.pt-app-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.pt-section-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.pt-section-title-wrap h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.night-mode .pt-section-title-wrap h3 {
    color: #ffffff !important;
}

#buy-sell-count-badge {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #10b981 !important;
    font-size: 10.5px !important;
    font-weight: bold !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
}

.night-mode #buy-sell-count-badge {
    background: rgba(52, 211, 153, 0.08) !important;
    color: #34d399 !important;
}

.pt-section-action {
    background: transparent !important;
    border: none !important;
    color: #0072FF !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

.night-mode .pt-section-action {
    color: #00C6FF !important;
}

/* Sticky App Bottom Navigation Tab Bar (Floating macOS dock on PC, edge-to-edge sticky on Mobile) */
.pt-app-tab-bar {
    position: absolute !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 500px !important;
    max-width: 90% !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 1000 !important;
    padding: 0 12px !important;
    transition: all 0.3s ease !important;
}

.night-mode .pt-app-tab-bar {
    background: rgba(23, 24, 33, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.pt-tab-item {
    background: transparent !important;
    border: none !important;
    color: #6b7280 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    flex: 1 !important;
    height: 100% !important;
    position: relative !important;
}

.night-mode .pt-tab-item {
    color: #9ca3af !important;
}

.pt-tab-item svg {
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Active Tab Item */
.pt-tab-item.active {
    color: #0072FF !important;
}

.night-mode .pt-tab-item.active {
    color: #00C6FF !important;
}

.pt-tab-item.active svg {
    transform: scale(1.15) translateY(-2px) !important;
}

.pt-tab-item:hover {
    color: #0072FF !important;
    transform: translateY(-4px) scale(1.06) !important;
}

.night-mode .pt-tab-item:hover {
    color: #00C6FF !important;
}

.pt-tab-item:hover svg {
    transform: scale(1.15) !important;
}

/* Active dot indicator under active dock icon */
.pt-tab-item::after {
    content: '' !important;
    position: absolute !important;
    bottom: 5px !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0) !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: #0072FF !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.night-mode .pt-tab-item::after {
    background: #00C6FF !important;
}

.pt-tab-item.active::after {
    transform: translateX(-50%) scale(1) !important;
}

/* Special Upload Action Button inside Tab Bar (Mobile layout action style) */
.pt-tab-item-upload {
    position: relative !important;
    top: -12px !important;
    overflow: visible !important;
}

.pt-tab-upload-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0, 114, 255, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pt-tab-item-upload:hover .pt-tab-upload-btn {
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 114, 255, 0.45) !important;
}

.pt-tab-item-upload span {
    margin-top: 1px !important;
}

/* Media queries for full responsiveness on Mobile & Tablet */
@media (max-width: 768px) {
    #buy-sell-overlay {
        background: #f9fafb !important;
    }
    .night-mode #buy-sell-overlay {
        background: #0f1016 !important;
    }
    .pt-app-container {
        width: 100vw !important;
        max-width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Mobile: main content takes remaining height and enables scroll */
    .pt-app-main-content {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Top nav must not shrink on mobile */
    .pt-app-top-nav {
        flex-shrink: 0 !important;
    }
    
    /* Mobile: scrollable body must grow and scroll within its flex container */
    .pt-app-body {
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }
    
    /* ⚡ Mobile Performance Boost: Disable all heavy backdrop blurs on mobile screens */
    .quickers-create-box,
    .pt-news-ticker,
    .qk-modal-overlay,
    .qk-view-overlay,
    .feed-share-dropdown,
    .feed-toast-notification,
    .pt-app-sidebar,
    .pt-app-top-nav,
    .pt-app-tab-bar,
    #buy-sell-detail-modal,
    #buy-sell-upload-modal,
    .product-favorite-btn {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Optimize glass opacity backgrounds on mobile so they remain beautifully solid */
    .quickers-create-box,
    .pt-news-ticker {
        background: #25252e !important;
    }
    .night-mode .quickers-create-box,
    .night-mode .pt-news-ticker {
        background: #15151c !important;
    }
    .pt-app-top-nav {
        background: #ffffff !important;
    }
    .night-mode .pt-app-top-nav {
        background: #171821 !important;
    }
    .pt-app-top-nav {
        padding: 10px 14px !important;
    }
    
    .pt-app-logo {
        font-size: 17px !important;
    }
    
    .pt-app-search-wrap {
        width: auto !important;
        flex-grow: 1 !important;
        margin: 0 8px !important;
    }
    
    #buy-sell-search-input {
        padding: 8px 12px 8px 34px !important;
        font-size: 12px !important;
    }
    
    .pt-search-icon {
        left: 12px !important;
        width: 13px !important;
        height: 13px !important;
    }
    
    .pt-app-upload-btn-desktop {
        display: none !important; /* hidden on mobile, use tab sell button instead */
    }
    
    .pt-app-body {
        padding: 14px 14px calc(90px + env(safe-area-inset-bottom)) 14px !important;
        gap: 14px !important;
    }
    
    .pt-app-banner {
        padding: 16px 20px !important;
        box-shadow: 0 8px 18px rgba(234, 76, 137, 0.15) !important;
    }
    
    .pt-banner-title {
        font-size: 17px !important;
    }
    
    .pt-banner-desc {
        font-size: 11.5px !important;
    }
    
    .pt-banner-art svg {
        width: 48px !important;
        height: 48px !important;
    }
    
    .pt-app-categories-scroll {
        gap: 14px !important;
    }
    
    .pt-app-circle-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .pt-app-circle-icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .pt-app-tab-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100vw !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        height: calc(64px + env(safe-area-inset-bottom)) !important;
    }
    
    .night-mode .pt-app-tab-bar {
        background: rgba(18, 19, 26, 0.88) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top-color: rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25) !important;
    }
    
    .pt-tab-item-upload {
        top: -18px !important;
        flex: 0 0 72px !important;
        overflow: visible !important;
    }
    
    .pt-tab-upload-btn {
        width: 48px !important;
        height: 48px !important;
        border: 4px solid #ffffff !important;
        box-shadow: 0 8px 20px rgba(0, 114, 255, 0.35) !important;
    }
    
    .night-mode .pt-tab-upload-btn {
        border-color: #12131a !important;
        box-shadow: 0 8px 20px rgba(0, 198, 255, 0.35) !important;
    }
    
    .pt-tab-upload-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .pt-tab-item-upload span {
        margin-top: 4px !important;
        font-size: 9.5px !important;
    }
}

/* Mobile size optimization for vertical cards */
@media (max-width: 600px) {
    .product-card-info {
        padding: 8px 10px 10px 10px !important;
    }
    .product-card-title {
        font-size: 11.5px !important;
        height: 32px !important;
    }
    .product-category-label {
        font-size: 9px !important;
    }
    .product-card-stats-row {
        font-size: 8.5px !important;
        gap: 4px !important;
    }
    .product-card-price {
        font-size: 12.5px !important;
    }
}

/* Fullscreen Detail View on Mobile screen size */
@media (max-width: 768px) {
    .pt-detail-modal-card {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100% !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Mobile: header absolute থাকবে, imageের উপরে float করবে */
    .pt-detail-modal-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 200 !important;
    }
    
    /* Mobile: body সব জায়গা নেবে, flex-column */
    .pt-detail-body {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow-y: auto !important; /* Enable unified scrolling */
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
    }
    
    /* Mobile: Image area — 4:3 ratio, header height সমপরিমাণ padding-top */
    .pt-detail-image-wrap {
        width: 100% !important;
        height: auto !important;
        max-height: 55vh !important; /* Cap vertical image scaling */
        aspect-ratio: 4/3 !important;
        flex-shrink: 0 !important;
        border-radius: 0 !important;
        padding-top: 66px !important; /* Spacing for float header buttons */
        box-sizing: border-box !important;
    }
    
    /* Mobile: Content area — scroll করবে */
    .pt-detail-content-wrap {
        width: 100% !important;
        height: auto !important;
        overflow: visible !important; /* Let container stretch */
        padding: 16px 16px 100px 16px !important; /* Spacing for fixed footer bar */
    }
    
    /* Mobile: Checkout bar fixed at bottom */
    .pt-detail-checkout-bar {
        padding: 12px 16px !important;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 0 !important;
        height: auto !important;
        min-height: 72px !important;
        z-index: 1000055 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-shadow: 0 -6px 24px rgba(0,0,0,0.08) !important;
    }
    
    /* Ensure action buttons in checkout bar are fully visible and properly sized */
    .pt-detail-action-box {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    
    .btn-product-order, .btn-product-delete {
        font-size: 12px !important;
        padding: 0 14px !important;
        height: 38px !important;
        white-space: nowrap !important;
    }
    
    /* Ensure detail modal is above everything, tab bar included */
    #buy-sell-detail-modal {
        z-index: 1000050 !important;
    }
}

/* ==========================================================================
   PREMIUM PC SIDEBAR & LAYOUT CSS OVERRIDES
   ========================================================================== */

/* Ambient Blur Glows for PC Layout Window */
.pt-ambient-glow {
    position: absolute !important;
    width: 450px !important;
    height: 450px !important;
    border-radius: 50% !important;
    /* filter: blur(80px) !important; -- Disabled for DOM Performance (SVG stdDeviation blur used instead) */
    opacity: 0.12 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transition: all 0.5s ease !important;
}

.pt-ambient-glow-1 {
    top: 5% !important;
    left: 10% !important;
    background: url('../img/ambient_glow_1.svg') no-repeat center !important; background-size: contain !important;
    animation: ptFloatGlow1 30s infinite alternate ease-in-out !important;
}

.pt-ambient-glow-2 {
    bottom: 5% !important;
    right: 10% !important;
    background: url('../img/ambient_glow_2.svg') no-repeat center !important; background-size: contain !important;
    animation: ptFloatGlow2 30s infinite alternate ease-in-out !important;
}

.night-mode .pt-ambient-glow {
    opacity: 0.08 !important;
}

@keyframes ptFloatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(90px, 50px) scale(1.25); }
}

@keyframes ptFloatGlow2 {
    0% { transform: translate(0, 0) scale(1.25); }
    100% { transform: translate(-90px, -50px) scale(0.9); }
}

@media (max-width: 768px) {
    .pt-ambient-glow {
        display: none !important;
    }
}

/* Left Sidebar Base */
.pt-app-sidebar {
    width: 280px !important;
    min-width: 280px !important;
    height: 100% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 16px !important;
    z-index: 101 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.night-mode .pt-app-sidebar {
    background: rgba(18, 19, 26, 0.92) !important;
    border-right-color: rgba(255, 255, 255, 0.05) !important;
}

/* Sidebar Brand Header */
.pt-sidebar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 12px 20px 12px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 24px !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pt-sidebar-brand span {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
    transition: all 0.25s ease !important;
}

.night-mode .pt-sidebar-brand span {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.pt-sidebar-brand:hover {
    transform: scale(1.03) !important;
}

.pt-sidebar-brand:hover span {
    filter: brightness(1.1) !important;
}

.pt-sidebar-brand-icon {
    color: #04abf2 !important;
    filter: drop-shadow(0 2px 8px rgba(4, 171, 242, 0.3)) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pt-sidebar-brand:hover .pt-sidebar-brand-icon {
    transform: rotate(15deg) scale(1.1) !important;
}

/* Elegant reflective gloss glare on Promo Banner */
.pt-app-banner {
    position: relative !important;
    overflow: hidden !important;
}

.pt-app-banner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: skewX(-25deg) !important;
    transition: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.pt-app-banner:hover::before {
    animation: ptBannerShine 1.5s ease-in-out !important;
}

@keyframes ptBannerShine {
    100% {
        left: 250% !important;
    }
}


/* Menu Labels and Structure */
.pt-sidebar-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 28px !important;
}

.pt-sidebar-categories {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
    margin-bottom: 0 !important;
}

.pt-sidebar-categories::-webkit-scrollbar {
    width: 4px !important;
}

.pt-sidebar-categories::-webkit-scrollbar-track {
    background: transparent !important;
}

.pt-sidebar-categories::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px !important;
}

.night-mode .pt-sidebar-categories::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05) !important;
}

.pt-menu-label {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #9ca3af !important;
    letter-spacing: 1px !important;
    padding: 0 12px 6px 12px !important;
}

/* Sidebar Menu Items */
.pt-sidebar-item, .pt-sidebar-item span {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    color: #4b5563 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-decoration: none !important;
}

.pt-sidebar-item {
    padding: 10px 16px !important;
    width: 100% !important;
    position: relative !important;
}

.night-mode .pt-sidebar-item, .night-mode .pt-sidebar-item span {
    color: #9ca3af !important;
}

.pt-sidebar-item svg {
    color: #4b5563 !important;
    transition: all 0.25s ease !important;
}

.night-mode .pt-sidebar-item svg {
    color: #9ca3af !important;
}

/* Sidebar Hover Interactions */
.pt-sidebar-item:hover, .pt-sidebar-item:hover span {
    color: #111827 !important;
}

.pt-sidebar-item:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    transform: translateX(4px) !important;
}

.night-mode .pt-sidebar-item:hover, .night-mode .pt-sidebar-item:hover span {
    color: #ffffff !important;
}

.night-mode .pt-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

.pt-sidebar-item:hover svg {
    color: #111827 !important;
    transform: scale(1.05) !important;
}

.night-mode .pt-sidebar-item:hover svg {
    color: #ffffff !important;
}

/* Sidebar Active State (Linear Gradient + Border Glow) */
.pt-sidebar-item.active, 
.pt-sidebar-item.active-cat,
.pt-sidebar-item.active span, 
.pt-sidebar-item.active-cat span {
    color: #0072FF !important;
}

.pt-sidebar-item.active, 
.pt-sidebar-item.active-cat {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.08) 0%, rgba(0, 114, 255, 0.08) 100%) !important;
    border-radius: 4px 12px 12px 4px !important;
    padding-left: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 114, 255, 0.05) !important;
}

.pt-sidebar-item.active::before,
.pt-sidebar-item.active-cat::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 15% !important;
    height: 70% !important;
    width: 3px !important;
    background: #0072FF !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 0 0 8px rgba(0, 114, 255, 0.6) !important;
}

.night-mode .pt-sidebar-item.active, 
.night-mode .pt-sidebar-item.active-cat,
.night-mode .pt-sidebar-item.active span, 
.night-mode .pt-sidebar-item.active-cat span {
    color: #00C6FF !important;
}

.night-mode .pt-sidebar-item.active, 
.night-mode .pt-sidebar-item.active-cat {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.12) 0%, rgba(0, 114, 255, 0.12) 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 198, 255, 0.05) !important;
}

.night-mode .pt-sidebar-item.active::before,
.night-mode .pt-sidebar-item.active-cat::before {
    background: #00C6FF !important;
    box-shadow: 0 0 8px rgba(0, 198, 255, 0.8) !important;
}

.pt-sidebar-item.active svg, 
.pt-sidebar-item.active-cat svg {
    color: #0072FF !important;
}

.night-mode .pt-sidebar-item.active svg, 
.night-mode .pt-sidebar-item.active-cat svg {
    color: #00C6FF !important;
}

/* Category Circle Icon Background within Sidebar list */
.pt-side-cat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s ease !important;
}

.night-mode .pt-side-cat-icon {
    background: rgba(255, 255, 255, 0.03) !important;
}

.pt-sidebar-item.active-cat .pt-side-cat-icon {
    background: rgba(0, 114, 255, 0.1) !important;
}

.night-mode .pt-sidebar-item.active-cat .pt-side-cat-icon {
    background: rgba(0, 198, 255, 0.2) !important;
}

/* Responsive Adaptive PC/Mobile Toggle Rules */
@media (min-width: 769px) {
    .pt-app-container {
        flex-direction: row !important;
    }
    
    .pt-app-sidebar {
        display: flex !important;
    }
    
    .pt-app-main-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
    }
    
    .pt-app-categories-wrap {
        display: none !important; /* hide circles carousel on desktop */
    }
    
    .pt-app-tab-bar {
        display: none !important; /* hide bottom mobile tab bar on desktop */
    }
}

@media (max-width: 768px) {
    .pt-app-sidebar {
        display: none !important; /* completely hide sidebar on mobile/tablet */
    }
    
    .pt-app-categories-wrap {
        display: block !important;
    }
    
    .pt-app-tab-bar {
        display: flex !important;
    }
}

/* Premium Marketplace Features Addon Styles */
.pt-theme-toggle-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pt-theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.1) !important;
    background: rgba(0, 0, 0, 0.05) !important;
}
.night-mode .pt-theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Upload thumbnail preview card */
.upload-preview-card {
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    animation: previewCardEntrance 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.2s ease;
}
.upload-preview-card:hover {
    transform: scale(1.05);
}
.upload-preview-card.drag-over {
    border: 2px dashed #04abf2 !important;
    transform: scale(1.08) !important;
}
@keyframes previewCardEntrance {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Star rating selector design */
.star-rating-selector span {
    font-size: 24px !important;
    cursor: pointer;
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.star-rating-selector span:hover,
.star-rating-selector span.hovered {
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Carousel thumbnails indicators */
.pt-detail-thumb-indicator {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.25s ease;
}
.pt-detail-thumb-indicator:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.pt-detail-thumb-indicator.active {
    border-color: #04abf2 !important;
    opacity: 1 !important;
    box-shadow: 0 0 10px rgba(4, 171, 242, 0.5);
}

/* Night mode specific styles overrides for detail modal */
.night-mode .pt-detail-modal-card {
    background: #12131a !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f3f4f6 !important;
}
.night-mode .pt-detail-modal-header {
    border-bottom-color: rgba(255,255,255,0.05) !important;
}
.night-mode .pt-detail-back-btn,
.night-mode .pt-detail-heart-btn,
.night-mode .pt-detail-share-btn,
.night-mode .pt-detail-close-btn {
    color: #e5e7eb !important;
    background: rgba(255,255,255,0.05) !important;
}
.night-mode .pt-detail-back-btn:hover,
.night-mode .pt-detail-heart-btn:hover,
.night-mode .pt-detail-share-btn:hover,
.night-mode .pt-detail-close-btn:hover {
    background: rgba(255,255,255,0.1) !important;
}
.night-mode .pt-detail-title {
    color: #ffffff !important;
}
.night-mode .pt-detail-meta-row {
    color: #9ca3af !important;
}
.night-mode .pt-detail-desc {
    color: #d1d5db !important;
}
.night-mode .pt-detail-checkout-bar {
    background: #181922 !important;
    border-top-color: rgba(255,255,255,0.05) !important;
}
.night-mode .pt-info-item {
    background: rgba(255,255,255,0.02) !important;
    border-color: rgba(255,255,255,0.04) !important;
}
.night-mode .pt-info-label {
    color: #9ca3af !important;
}
.night-mode .pt-info-val {
    color: #f3f4f6 !important;
}
.night-mode .pt-detail-tab-btn {
    color: #9ca3af !important;
}
.night-mode .pt-detail-tab-btn.active {
    color: #04abf2 !important;
    border-bottom-color: #04abf2 !important;
}
.night-mode .pt-qty-btn {
    background: rgba(255,255,255,0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.08) !important;
}
.night-mode .pt-qty-num {
    color: #ffffff !important;
}
.night-mode #marketplace-review-form {
    background: rgba(255,255,255,0.01) !important;
    border-color: rgba(255,255,255,0.05) !important;
}
.night-mode #marketplace-review-form h4 {
    color: #ffffff !important;
}
.night-mode #review-comment-textarea {
    background: #181922 !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
}

/* Review Summary Block - Light & Night Mode */
.pt-star-bar-num {
    color: #555 !important;
}
.pt-reviews-count-label {
    color: #88899a !important;
}
.night-mode #pt-reviews-summary-block {
    background: rgba(255,255,255,0.04) !important;
}
.night-mode .pt-star-bar-num {
    color: #aaaaaa !important;
}
.night-mode .pt-reviews-count-label {
    color: #9ca3af !important;
}
.night-mode .pt-star-bar-row > div {
    background: rgba(255,255,255,0.06) !important;
}

/* ════════════════════════════════════════════════════════════
   GLOBAL PRODUCT CARD STYLES (PREVIOUSLY DUPLICATED IN DOM)
   ════════════════════════════════════════════════════════════ */
.pt_product_card_vertical {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    cursor: pointer !important;
}

.night-mode .pt_product_card_vertical {
    background: #171821 !important;
    color: #f3f4f6 !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.pt_product_card_vertical:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06) !important;
}

.night-mode .pt_product_card_vertical:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
}

/* Floating Favorite Heart Icon */
.product-favorite-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    color: #a0a0b0 !important;
    transition: all 0.2s ease !important;
}

.night-mode .product-favorite-btn {
    background: rgba(30, 30, 40, 0.8) !important;
    color: #6b7280 !important;
}

.pt_product_card_vertical:hover .product-favorite-btn {
    color: #ff4757 !important;
    transform: scale(1.08) !important;
}

.product-card-image-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    background: #f7f9fc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.night-mode .product-card-image-wrap {
    background: #0f1016 !important;
}

.product-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* contain = পুরো ছবি দেখা যাবে, কাটবে না */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.pt_product_card_vertical:hover .product-card-img {
    transform: scale(1.06) !important;
}

/* Info block styling exactly matching the example */
.product-card-info {
    padding: 10px 12px 12px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    gap: 4px !important;
}

.product-category-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #888899 !important;
    display: inline-block !important;
    margin-bottom: 2px !important;
}

.night-mode .product-category-label {
    color: #6b7280 !important;
}

.product-card-title {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 34px !important;
}

.night-mode .product-card-title {
    color: #f3f4f6 !important;
}

/* Small elegant metadata row under title */
.product-card-stats-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 9.5px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    margin: 2px 0 !important;
}

.night-mode .product-card-stats-row {
    color: #6b7280 !important;
}

.product-card-rating {
    color: #f59e0b !important;
    font-weight: bold !important;
}

.product-card-stats-divider {
    color: rgba(0, 0, 0, 0.08) !important;
}

.night-mode .product-card-stats-divider {
    color: rgba(255, 255, 255, 0.08) !important;
}

/* Clean, bold emerald green pricing tag on bottom */
.product-card-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 4px !important;
}

.product-card-price {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #10b981 !important;
}

.night-mode .product-card-price {
    color: #34d399 !important;
}

/* Related Products Styling */
.related-product-card {
    flex-shrink: 0;
    width: 110px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.03);
}
.related-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.night-mode .related-product-card {
    background: #1c1d27 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.05);
}
.related-product-img-wrap {
    width: 110px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa;
}
.night-mode .related-product-img-wrap {
    background-color: #13141c !important;
}
.related-product-title {
    font-size: 10px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    max-height: 28px;
    overflow: hidden;
}
.night-mode .related-product-title {
    color: #e5e7eb !important;
}

/* Guest Checkout Modal Styles */
#guest-order-modal {
    font-family: 'Outfit', sans-serif !important;
}
#guest-order-modal .guest-order-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #1f2937 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 50px rgba(16, 185, 129, 0.08) !important;
}
#guest-order-modal .guest-order-card h3 {
    color: #111827 !important;
}
#guest-order-modal .guest-order-card h4 {
    color: #1f2937 !important;
}
#guest-order-modal .guest-product-preview-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
#guest-order-modal label {
    color: #4b5563 !important;
}
#guest-order-modal input,
#guest-order-modal textarea {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #1f2937 !important;
}
#guest-order-modal input:focus,
#guest-order-modal textarea:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}
#guest-order-modal .guest-cancel-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #4b5563 !important;
}

/* Night Mode Overrides */
.night-mode #guest-order-modal .guest-order-card {
    background: rgba(20, 26, 40, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 80px rgba(16, 185, 129, 0.15) !important;
}
.night-mode #guest-order-modal .guest-order-card h3 {
    color: #ffffff !important;
}
.night-mode #guest-order-modal .guest-order-card h4 {
    color: #f3f4f6 !important;
}
.night-mode #guest-order-modal .guest-product-preview-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.night-mode #guest-order-modal label {
    color: #9ca3af !important;
}
.night-mode #guest-order-modal input,
.night-mode #guest-order-modal textarea {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}
.night-mode #guest-order-modal input:focus,
.night-mode #guest-order-modal textarea:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}
.night-mode #guest-order-modal .guest-cancel-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}
.night-mode #guest-order-modal .guest-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

@keyframes guestModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shakeErr {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.shake-err {
    animation: shakeErr 0.4s ease-in-out !important;
}