/* ============================================
   SUCCESS COLLECTION ONLINE - MAIN STYLESHEET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0B0A0A;
    color: #F5EFE7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding-top: 120px;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(210, 180, 140, 0.08) 0%, rgba(0,0,0,0.95) 90%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,215,0,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,215,0,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fixed Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: rgba(11, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,215,0,0.2);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #F5E7C8, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #D4AF37;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    background: rgba(255,215,0,0.1);
    padding: 12px 18px;
    border-radius: 40px;
    transition: 0.3s;
    font-size: 1.5rem;
}

.cart-icon:hover {
    background: #D4AF37;
    color: #0B0A0A;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #D4AF37;
    color: #0B0A0A;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 30px;
}

/* Hero Section */
.hero {
    margin: 20px 0 60px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.5);
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 650px;
}

/* Products Grid */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 50px 0 20px;
    border-left: 5px solid #D4AF37;
    padding-left: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.product-card {
    background: #141211;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(212,175,55,0.2);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.6);
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    display: block;
    background: #2a2522;
}

.price-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    color: #D4AF37;
    border: 1px solid rgba(212,175,55,0.5);
}

.product-info {
    padding: 14px 16px 20px;
}

.product-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.add-to-cart {
    background: #D4AF37;
    border: none;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 40px;
    font-weight: 700;
    color: #0B0A0A;
    cursor: pointer;
    transition: 0.2s;
}

.add-to-cart:hover {
    background: #f5cd5e;
    transform: scale(0.97);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #D4AF37;
    color: #0B0A0A;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.5s forwards;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: 0.25s;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    background: #11100F;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-left: 2px solid #D4AF37;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay.active {
    visibility: visible;
    opacity: 1;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    font-size: 1.5rem;
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    margin: 20px 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #2a2522;
    padding-bottom: 12px;
}

.cart-item img {
    width: 60px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-price {
    color: #D4AF37;
}

.remove-item {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
}

.cart-total {
    border-top: 2px solid #D4AF37;
    padding: 15px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.checkout-btn {
    background: #D4AF37;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 12px;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

.qty-btn {
    background: #D4AF37;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.25s;
}

.checkout-modal.active {
    visibility: visible;
    opacity: 1;
}

.checkout-modal-content {
    background: #141211;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border: 1px solid #D4AF37;
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 15px;
}

.close-checkout {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #D4AF37;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #2a2522;
    border: 1px solid #3a3532;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.order-summary {
    background: #1a1614;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #3a3532;
}

.checkout-total {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: right;
    padding-top: 10px;
    border-top: 2px solid #D4AF37;
}

.payment-option {
    display: block;
    padding: 12px;
    margin: 10px 0;
    background: #1a1614;
    border-radius: 8px;
    cursor: pointer;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background: #D4AF37;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}

/* Receipt Modal */
.receipt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.25s;
}

.receipt-modal.active {
    visibility: visible;
    opacity: 1;
}

.receipt-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    color: #0B0A0A;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 15px;
}

.close-receipt {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.receipt-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.download-receipt-btn,
.whatsapp-receipt-btn,
.continue-shopping-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.download-receipt-btn {
    background: #D4AF37;
    color: #0B0A0A;
}

.whatsapp-receipt-btn {
    background: #25D366;
    color: white;
}

.continue-shopping-btn {
    background: #333;
    color: white;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 99;
    text-decoration: none;
}

/* Social Strip */
.social-strip {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin: 30px 0 20px;
}

.social-strip a {
    color: #F5EFE7;
    font-size: 1.7rem;
    transition: 0.2s;
}

.social-strip a:hover {
    color: #D4AF37;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0 40px;
    border-top: 1px solid rgba(212,175,55,0.3);
    margin-top: 30px;
}

/* Image Preview Modal */
.modal-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
}

.modal-preview.active {
    visibility: visible;
    opacity: 1;
}

.modal-preview img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 20px;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 700px) {
    .products-grid {
        gap: 15px;
    }
    .navbar {
        padding: 15px 20px;
    }
    body {
        padding-top: 90px;
    }
    .logo h1 {
        font-size: 1.2rem;
    }
}