/* ==========================================
   SILKEN ROOTS - FINAL STYLESHEET v50
   ========================================== */

:root {
    --bg: #F5EFE6;
    --bg-card: #FFFFFF;
    --bg-cream: #EFE5D9;
    --maroon: #3D1420;
    --maroon-dark: #2A0B15;
    --maroon-light: #5A1E30;
    --sage: #6E8059;
    --sage-dark: #556B44;
    --text: #2A0B15;
    --text-body: #4A2530;
    --text-light: #7A5560;
    --border: #D9C9B8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: #F5EFE6;
    color: #2A0B15;
    line-height: 1.7;
    font-weight: 500;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-weight: 600;
    letter-spacing: 0.5px;
}

p, li, td, label { color: #4A2530; }

/* ANNOUNCEMENT BAR */
.announcement-bar {
    background: #3D1420;
    color: #F5EFE6;
    text-align: center;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.announcement-bar .promo { color: #E5C8C4; }
.announcement-bar .promo strong { color: #F5EFE6; letter-spacing: 3px; }

/* HEADER — COMPACT */
.main-header {
    background: #FFFFFF;
    box-shadow: 0 1px 15px rgba(61,20,32,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #D9C9B8;
}
.header-top {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #2A0B15;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.search-form {
    flex: 1;
    max-width: 380px;
    display: flex;
    border: 1px solid #D9C9B8;
    border-radius: 30px;
    overflow: hidden;
    background: #F5EFE6;
}
.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: 13px;
    outline: none;
    margin: 0;
    color: #2A0B15;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.search-form input::placeholder { color: #7A5560; }
.search-form button {
    background: #3D1420;
    color: #F5EFE6;
    border: none;
    padding: 0 22px;
    cursor: pointer;
    font-size: 14px;
    margin: 0;
    width: auto;
    border-radius: 0;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
}
.icon-link {
    color: #2A0B15;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.icon-link:hover { color: #6E8059; }
.register-btn {
    background: #3D1420;
    color: #F5EFE6 !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
}
.register-btn:hover { background: #6E8059; color: #FFFFFF !important; }
.cart-badge {
    background: #3D1420;
    color: #F5EFE6;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
}

/* NAV — BETTER DESIGN */
.main-nav {
    border-top: 1px solid #EFE5D9;
    background: linear-gradient(180deg, #FFFFFF, #FAF6F0);
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    flex-wrap: wrap;
}
.main-nav a {
    text-decoration: none;
    color: #2A0B15;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 18px;
    position: relative;
    transition: 0.3s;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #6E8059;
    transition: width 0.3s;
}
.main-nav a:hover {
    color: #6E8059;
}
.main-nav a:hover::after { width: 60%; }
.main-nav .sale-link { color: #C0392B; font-weight: 700; }
.main-nav .sale-link::after { background: #C0392B; }

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0 60px;
    height: 520px;
    box-shadow: 0 20px 60px rgba(61,20,32,0.1);
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide-content { text-align: center; max-width: 750px; }
.slide-tag {
    display: inline-block;
    color: #556B44;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.slide h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: #2A0B15;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
}
.slide p {
    font-size: 16px;
    color: #4A2530;
    margin-bottom: 30px;
    font-weight: 500;
}
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}
.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(42,11,21,0.3);
    border-radius: 50%;
    transition: 0.3s;
}
.slider-dots .dot.active {
    background: #2A0B15;
    width: 30px;
    border-radius: 5px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: #3D1420;
    color: #F5EFE6;
    padding: 14px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #6E8059; color: #FFFFFF; }
.btn-light { background: #F5EFE6; color: #2A0B15; }
.btn-light:hover { background: #E5C8C4; color: #2A0B15; }
.btn-small {
    display: inline-block;
    padding: 9px 20px;
    background: transparent;
    color: #2A0B15;
    border: 1.5px solid #3D1420;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}
.btn-small:hover { background: #3D1420; color: #F5EFE6; }

/* SECTION */
.section-sub {
    text-align: center;
    color: #556B44;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* CATEGORIES */
.categories { text-align: center; margin: 70px 0; }
.categories h2, .featured-products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #2A0B15;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-card {
    background: #EFE5D9;
    padding: 38px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: #2A0B15;
    transition: 0.4s;
    border: 1px solid transparent;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: #3D1420;
    background: #FFFFFF;
    box-shadow: 0 15px 35px rgba(61,20,32,0.1);
}
.cat-icon { font-size: 36px; margin-bottom: 15px; }
.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #2A0B15;
    margin-bottom: 6px;
    font-weight: 600;
}
.category-card p { color: #556B44; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }

/* CATEGORY HERO (Jewellery, Bags) */
.category-hero {
    height: 380px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 25px 0 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(61,20,32,0.12);
}
.category-hero-content { position: relative; z-index: 2; max-width: 700px; padding: 0 30px; }
.category-hero .hero-tag {
    display: inline-block;
    color: #F5EFE6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: rgba(255,255,255,0.15);
    padding: 7px 20px;
    border-radius: 30px;
}
.category-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: #F5EFE6;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}
.category-hero p {
    color: #F5EFE6;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}
.jewellery-hero { background: linear-gradient(135deg, #3D1420 0%, #5A1E30 50%, #8B6F47 100%); }
.jewellery-hero::before {
    content: '💎';
    position: absolute;
    right: 50px;
    bottom: 30px;
    font-size: 150px;
    opacity: 0.08;
}
.bags-hero { background: linear-gradient(135deg, #2A0B15 0%, #3D1420 50%, #6E8059 100%); }
.bags-hero::before {
    content: '👛';
    position: absolute;
    right: 50px;
    bottom: 30px;
    font-size: 150px;
    opacity: 0.08;
}

/* PRODUCTS — IMAGES FIXED */
.featured-products { margin: 70px 0; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}
.product-card {
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    border: 1px solid #D9C9B8;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(61,20,32,0.12);
    border-color: #3D1420;
}
.product-image-wrap {
    position: relative;
    overflow: hidden;
    background: #EFE5D9;
    width: 100%;
    padding-top: 130%;
}
.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s ease;
    display: block;
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}
.badge-sale { background: #3D1420; color: #F5EFE6; }
.badge-new { background: #6E8059; color: #FFFFFF; }
.product-info {
    padding: 16px 14px 18px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: #2A0B15;
    font-weight: 600;
    margin-bottom: 8px;
    min-height: 42px;
    line-height: 1.3;
}
.product-info .price { color: #2A0B15; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.old-price { color: #7A5560; text-decoration: line-through; font-size: 12px; margin-right: 6px; font-weight: 500; }
.new-price { color: #6E8059; font-weight: 700; }

/* WHY US */
.why-us {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 80px 0;
    padding: 50px 35px;
    background: #EFE5D9;
    border-radius: 8px;
}
.why-item { text-align: center; }
.why-icon { font-size: 34px; margin-bottom: 12px; }
.why-item h3 { font-family: 'Playfair Display', serif; color: #2A0B15; font-size: 16px; margin-bottom: 6px; font-weight: 600; }
.why-item p { color: #556B44; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

/* NEWSLETTER */
.newsletter { background: #3D1420; padding: 60px 30px; margin-top: 80px; border-radius: 8px; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: #F5EFE6; margin-bottom: 10px; font-weight: 600; }
.newsletter p { color: #E5C8C4; margin-bottom: 25px; font-weight: 500; font-size: 13px; }
.newsletter-form { display: flex; background: #FFFFFF; border-radius: 4px; overflow: hidden; }
.newsletter-form input {
    flex: 1;
    padding: 14px 22px;
    border: none;
    outline: none;
    font-size: 13px;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: #2A0B15;
    font-weight: 500;
}
.newsletter-form button {
    background: #6E8059;
    color: #FFFFFF;
    border: none;
    padding: 0 32px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    border-radius: 0;
    width: auto;
}

/* POPUP */
.promo-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42,11,21,0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.promo-popup.show { display: flex; }
.popup-content {
    background: #FFFFFF;
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border: 1px solid #E5C8C4;
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    cursor: pointer;
    color: #7A5560;
    line-height: 1;
    font-weight: 600;
}
.popup-close:hover { color: #3D1420; }
.popup-icon { font-size: 46px; margin-bottom: 18px; }
.popup-content h2 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}
.popup-content p { color: #4A2530; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.promo-code {
    background: #EFE5D9;
    color: #2A0B15;
    padding: 16px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 10px;
    border: 2px dashed #3D1420;
}
.popup-small { font-size: 11px; color: #7A5560; margin-bottom: 20px; font-weight: 500; }

/* FOOTER */
footer {
    background: #3D1420;
    color: #E5C8C4;
    margin-top: 80px;
    padding: 60px 35px 25px;
}
.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(229,200,196,0.15);
}
.footer-col h3 { font-family: 'Playfair Display', serif; color: #F5EFE6; font-size: 18px; margin-bottom: 18px; font-weight: 600; }
.footer-col p { color: #C9A9A6; font-size: 12px; margin-bottom: 8px; line-height: 1.7; font-weight: 500; }
.footer-col a {
    display: block;
    color: #C9A9A6;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 8px;
    transition: 0.3s;
    font-weight: 500;
}
.footer-col a:hover { color: #F5EFE6; padding-left: 4px; }
.social-links { margin-top: 15px; display: flex; gap: 10px; }
.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(245,239,230,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #F5EFE6;
    transition: 0.3s;
}
.social-links a:hover { background: #6E8059; transform: translateY(-3px); padding-left: 0; }
.footer-bottom {
    max-width: 1300px;
    margin: 25px auto 0;
    text-align: center;
    color: #A88C79;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 500;
}

/* FLOATING SOCIAL */
.social-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 500;
}
.social-float a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: 0.3s;
}
.social-float a:hover { transform: scale(1.12); }
.float-whatsapp { background: #25D366; }
.float-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.float-tiktok { background: #000; }

/* FORMS & TABLES */
input, select, textarea, button {
    padding: 12px 15px;
    margin: 6px 0;
    border: 1px solid #D9C9B8;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    background: #FFFFFF;
    color: #2A0B15;
    font-weight: 500;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3D1420;
    box-shadow: 0 0 0 3px rgba(61,20,32,0.08);
}
button, .btn-submit {
    background: #3D1420;
    color: #F5EFE6;
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    border-radius: 4px;
}
button:hover { background: #6E8059; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #D9C9B8;
}
table th, table td { padding: 12px; text-align: left; border-bottom: 1px solid #D9C9B8; color: #2A0B15; font-weight: 500; }
table th { background: #EFE5D9; color: #2A0B15; font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

/* SHOP HEADER */
.shop-header { text-align: center; padding: 45px 20px 20px; }
.shop-header h1 { font-family: 'Playfair Display', serif; font-size: 38px; color: #2A0B15; margin-bottom: 8px; font-weight: 600; }
.filter-bar { text-align: center; margin: 20px 0 35px; }
.filter-bar a {
    display: inline-block;
    padding: 8px 20px;
    margin: 4px;
    border: 1.5px solid #3D1420;
    color: #2A0B15;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.filter-bar a:hover, .filter-bar a.active { background: #3D1420; color: #F5EFE6; }

/* PRODUCT DETAIL */
.product-detail-page { max-width: 1150px; margin: 0 auto; padding: 0 15px; }
.breadcrumb { padding: 20px 0; font-size: 12px; color: #7A5560; font-weight: 500; }
.breadcrumb a { color: #7A5560; text-decoration: none; transition: 0.3s; }
.breadcrumb a:hover { color: #3D1420; }
.breadcrumb span { margin: 0 8px; color: #D9C9B8; }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #FFFFFF;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #D9C9B8;
    margin-bottom: 50px;
    align-items: start;
}
.product-image { position: relative; border-radius: 8px; overflow: hidden; background: #EFE5D9; }
.product-image img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; border-radius: 8px; }
.detail-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3D1420;
    color: #F5EFE6;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}
.product-type-tag {
    display: inline-block;
    color: #6E8059;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.product-info h1 { font-family: 'Playfair Display', serif; font-size: 30px; color: #2A0B15; margin-bottom: 15px; font-weight: 600; line-height: 1.2; }
.product-price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #EFE5D9;
}
.detail-old-price { color: #7A5560; text-decoration: line-through; font-size: 15px; font-weight: 500; }
.detail-new-price { color: #2A0B15; font-size: 26px; font-weight: 700; font-family: 'Playfair Display', serif; }
.detail-save { background: #E0E8D5; color: #4A5C35; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.product-desc { color: #4A2530; line-height: 1.7; margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.product-meta { padding: 14px 0; border-top: 1px solid #EFE5D9; border-bottom: 1px solid #EFE5D9; margin-bottom: 20px; font-size: 13px; color: #4A2530; }
.in-stock { color: #16a34a; font-weight: 600; }
.out-stock { color: #dc2626; font-weight: 600; }
.add-cart-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 22px; }
.qty-selector { display: flex; flex-direction: column; }
.qty-selector label { font-size: 11px; font-weight: 600; color: #7A5560; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.qty-input { width: 90px !important; text-align: center; padding: 12px !important; margin: 0 !important; font-weight: 600; }
.btn-add-cart {
    background: #3D1420;
    color: #F5EFE6;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}
.btn-add-cart:hover { background: #6E8059; }
.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 18px; border-top: 1px solid #EFE5D9; }
.trust-item { text-align: center; font-size: 11px; color: #4A2530; font-weight: 500; padding: 8px 5px; background: #F5EFE6; border-radius: 6px; }

/* AUTH */
.auth-box {
    max-width: 420px;
    margin: 60px auto;
    background: #FFFFFF;
    padding: 45px 38px;
    border-radius: 8px;
    border: 1px solid #D9C9B8;
    box-shadow: 0 20px 60px rgba(61,20,32,0.08);
}
.auth-box h2 { font-family: 'Playfair Display', serif; color: #2A0B15; text-align: center; margin-bottom: 25px; font-size: 26px; font-weight: 600; }
.auth-box input { width: 100%; margin-bottom: 14px; padding: 13px 16px; }
.auth-box button { width: 100%; padding: 13px; font-size: 12px; }
.auth-msg { padding: 12px; border-radius: 4px; text-align: center; margin-bottom: 16px; font-size: 13px; font-weight: 500; }
.auth-msg.error { background: #F5E0E0; color: #8B1E3F; }
.auth-msg.success { background: #E0E8D5; color: #4A5C35; }
.auth-link { text-align: center; margin-top: 18px; color: #556B44; font-size: 13px; font-weight: 500; }
.auth-link a { color: #2A0B15; font-weight: 600; text-decoration: none; border-bottom: 1px solid #2A0B15; }

/* CHECKOUT */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 25px; margin: 30px 0 60px; align-items: start; }
.checkout-form-box { background: #FFFFFF; padding: 30px; border-radius: 10px; border: 1px solid #D9C9B8; }
.checkout-form-box h3 { font-family: 'Playfair Display', serif; color: #2A0B15; font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #EFE5D9; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 0; }
.form-group label { font-size: 11px; font-weight: 600; color: #7A5560; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.form-group input, .form-group textarea { padding: 12px 14px; border: 1px solid #D9C9B8; border-radius: 6px; font-size: 14px; font-family: 'Poppins', sans-serif; background: #FFFFFF; color: #2A0B15; font-weight: 500; margin: 0; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #3D1420; box-shadow: 0 0 0 3px rgba(61,20,32,0.08); }
.form-group textarea { resize: vertical; min-height: 70px; }

.payment-options { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.payment-option { display: flex; align-items: center; gap: 15px; padding: 14px; border: 2px solid #EFE5D9; border-radius: 8px; cursor: pointer; transition: 0.3s; background: #FFFFFF; }
.payment-option:hover { border-color: #3D1420; background: #F5EFE6; }
.payment-option input[type="radio"] { width: 18px; height: 18px; accent-color: #3D1420; margin: 0; cursor: pointer; flex-shrink: 0; }
.payment-content { display: flex; align-items: center; gap: 12px; flex: 1; }
.payment-icon { font-size: 26px; }
.payment-content strong { display: block; color: #2A0B15; font-size: 14px; margin-bottom: 2px; }
.payment-content p { color: #7A5560; font-size: 12px; margin: 0; }

.btn-place-order {
    width: 100%;
    background: #3D1420;
    color: #F5EFE6;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 22px;
    transition: 0.3s;
}
.btn-place-order:hover { background: #6E8059; }

.checkout-summary { background: #FFFFFF; padding: 25px; border-radius: 10px; border: 1px solid #D9C9B8; position: sticky; top: 100px; }
.checkout-summary h3 { font-family: 'Playfair Display', serif; color: #2A0B15; font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #EFE5D9; }
.summary-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #EFE5D9; }
.summary-item img { width: 55px; height: 55px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.summary-info { flex: 1; min-width: 0; }
.summary-name { font-size: 13px; font-weight: 600; color: #2A0B15; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-qty { font-size: 11px; color: #7A5560; margin: 3px 0 0 0; }
.summary-price { font-size: 13px; font-weight: 600; color: #2A0B15; white-space: nowrap; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: #4A2530; font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; padding: 15px 0; font-weight: 700; color: #2A0B15; font-size: 18px; border-top: 2px solid #3D1420; margin-top: 10px; font-family: 'Playfair Display', serif; }

/* SUCCESS */
.success-box { text-align: center; padding: 80px 30px; background: #FFFFFF; border-radius: 8px; margin: 60px auto; max-width: 600px; border: 1px solid #D9C9B8; }
.success-icon { width: 80px; height: 80px; background: #E0E8D5; color: #4A5C35; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 25px; font-weight: 600; }
.success-box h1 { font-family: 'Playfair Display', serif; color: #2A0B15; margin-bottom: 12px; font-weight: 600; }
.order-num { margin: 20px 0; font-size: 16px; color: #556B44; font-weight: 600; }

/* ORDERS (user side) */
.order-box { background: #FFFFFF; padding: 25px; border-radius: 8px; border: 1px solid #D9C9B8; margin-bottom: 20px; }
.order-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 8px; color: #2A0B15; }
.status-pending { background: #F5E0E0; color: #8B1E3F; padding: 5px 14px; border-radius: 4px; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.status-processing { background: #E0E8F0; color: #1E40AF; padding: 5px 14px; border-radius: 4px; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.status-delivered { background: #E0E8D5; color: #4A5C35; padding: 5px 14px; border-radius: 4px; font-size: 11px; text-transform: uppercase; font-weight: 600; }

.empty-msg { grid-column: 1 / -1; text-align: center; color: #556B44; padding: 55px; background: #EFE5D9; border-radius: 6px; font-size: 13px; font-weight: 500; }
.empty-cart { text-align: center; padding: 80px 20px; background: #EFE5D9; border-radius: 8px; margin: 40px 0; }
.empty-cart h2 { font-family: 'Playfair Display', serif; color: #2A0B15; margin-bottom: 10px; font-weight: 600; }
.empty-cart p { color: #556B44; margin-bottom: 25px; font-weight: 500; }
.cart-actions { display: flex; justify-content: space-between; margin: 30px 0 60px; flex-wrap: wrap; gap: 15px; }
.btn-outline {
    display: inline-block;
    padding: 13px 28px;
    border: 1.5px solid #3D1420;
    color: #2A0B15;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.btn-outline:hover { background: #3D1420; color: #F5EFE6; }

/* ADMIN ORDERS — CUSTOMER DETAILS */
.customer-details-box {
    background: #F5EFE6;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 15px 0;
    border-left: 4px solid #6E8059;
}
.customer-details-box h4 {
    font-family: 'Playfair Display', serif;
    color: #3D1420;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}
.cust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.cust-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.cust-full { grid-column: 1 / -1; }
.cust-label {
    font-size: 10px;
    font-weight: 600;
    color: #7A5560;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cust-value {
    font-size: 13px;
    font-weight: 600;
    color: #2A0B15;
    word-break: break-word;
}
.payment-cod { color: #16a34a; }
.payment-card { color: #2563eb; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .slide h1 { font-size: 38px; }
    .hero-slider { height: 440px; }
    .search-form { order: 3; flex-basis: 100%; max-width: 100%; }
    .main-nav { gap: 0; }
    .main-nav a { padding: 12px 12px; font-size: 11px; letter-spacing: 1px; }
    .category-hero h1 { font-size: 40px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
}
@media (max-width: 600px) {
    .slide h1 { font-size: 26px; }
    .slide p { font-size: 13px; }
    .hero-slider { height: 380px; margin: 15px 0 40px; }
    .slide { padding: 25px 20px; }
    .categories h2, .featured-products h2, .newsletter h2 { font-size: 26px; }
    .announcement-bar { font-size: 9px; flex-direction: column; gap: 3px; padding: 8px 10px; }
    .header-top { padding: 12px 15px; gap: 10px; }
    .logo a { font-size: 20px; letter-spacing: 2px; }
    .header-icons { gap: 10px; }
    .icon-link { font-size: 12px; }
    .register-btn { padding: 6px 12px; font-size: 11px; }
    .main-nav { overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; padding: 0 10px; }
    .main-nav a { padding: 12px 10px; font-size: 10px; }
    main { padding: 0 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-info h3 { font-size: 12px; min-height: 34px; }
    .product-info .price { font-size: 13px; }
    .btn-small { font-size: 9px; padding: 7px 12px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card { padding: 22px 10px; }
    .cat-icon { font-size: 26px; }
    .category-card h3 { font-size: 14px; }
    .category-card p { font-size: 9px; letter-spacing: 1.5px; }
    .category-hero { height: 300px; }
    .category-hero h1 { font-size: 28px; }
    .category-hero p { font-size: 12px; }
    .product-detail { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
    .product-info h1 { font-size: 22px; }
    .detail-new-price { font-size: 22px; }
    .add-cart-form { flex-direction: column; align-items: stretch; }
    .qty-input { width: 100% !important; }
    .btn-add-cart { width: 100%; }
    .trust-badges { grid-template-columns: 1fr; }
    .trust-item { text-align: left; padding: 8px 12px; }
    .checkout-row { grid-template-columns: 1fr; gap: 12px; }
    .checkout-form-box { padding: 20px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .popup-content { padding: 35px 22px; }
    .social-float { right: 12px; bottom: 12px; gap: 8px; }
    .social-float a { width: 44px; height: 44px; }
    .social-float a svg { width: 22px; height: 22px; }
    table th, table td { padding: 8px 6px; font-size: 11px; }
}/* BANNER SLIDER with IMAGE BACKGROUND */
.slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(61,20,32,0.55) 0%, rgba(61,20,32,0.2) 60%, rgba(61,20,32,0.1) 100%);
    z-index: 1;
}

.slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.slide h1 {
    color: #FFFFFF;
    text-shadow: 0 3px 15px rgba(0,0,0,0.4);
}

.slide p {
    color: #F5EFE6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-tag {
    color: #F5EFE6;
    background: rgba(61,20,32,0.5);
    padding: 7px 20px;
    border-radius: 30px;
}

.slide .btn {
    background: #FFFFFF;
    color: #2A0B15;
}

.slide .btn:hover {
    background: #6E8059;
    color: #FFFFFF;
}
/* PAYMENT DETAILS BOX */
#paymentDetails {
    margin-top: 20px;
}
.payment-info-box {
    background: #F5EFE6;
    border: 2px dashed #3D1420;
    border-radius: 10px;
    padding: 20px;
    margin-top: 10px;
}
.payment-info-box h4 {
    font-family: 'Playfair Display', serif;
    color: #3D1420;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D9C9B8;
}
.pay-info { margin-bottom: 12px; }
.pay-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #D9C9B8;
    font-size: 13px;
}
.pay-row:last-child { border-bottom: none; }
.pay-row span { color: #7A5560; font-weight: 500; }
.pay-row strong { color: #2A0B15; font-weight: 600; }

.amount-highlight {
    background: #3D1420;
    color: #FFFFFF;
    padding: 15px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.amount-highlight span {
    color: #E5C8C4;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.amount-highlight strong {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
}

.pay-instructions {
    background: #FFF8E5;
    padding: 14px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #D97706;
}
.pay-instructions strong {
    color: #92400e;
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}
.pay-instructions p {
    color: #92400e;
    font-size: 12px;
    margin: 0 0 12px 0;
    line-height: 1.6;
}
.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: #FFFFFF;
    padding: 11px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}
.whatsapp-btn:hover {
    background: #1EA855;
    transform: translateY(-2px);
}

.payment-easypaisa { color: #16a34a; }
.payment-jazzcash { color: #dc2626; }
.payment-bank { color: #2563eb; }
.payment-cod { color: #16a34a; }

@media (max-width: 600px) {
    .amount-highlight {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .pay-row { font-size: 12px; }
    .payment-info-box { padding: 15px; }
}
/* PAYMENT ICON BOXES */
.payment-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #F5EFE6;
    color: #3D1420;
}
.easypaisa-box {
    background: #E8F5E9;
}
.jazzcash-box {
    background: #FEE9E9;
}
.bank-box {
    background: #E8EEF7;
    color: #2563eb;
}
.cod-box {
    background: #F5EFE6;
    color: #3D1420;
}

/* Original logo style (image version) */
.payment-icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
/* ==========================================
   BANNER FIX — AUTO HEIGHT (NO CROP)
   Ye purane banner CSS ko override karega
   ========================================== */

.hero-slider {
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 25px 0 60px !important;
    background: #EFE5D9 !important;
    box-shadow: 0 20px 60px rgba(61,20,32,0.12) !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.slide {
    position: relative !important;
    display: none !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    padding: 0 !important;
    background-image: none !important;
    background: transparent !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

.slide.active {
    display: block !important;
}

.slide-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-height: 720px !important;
    object-fit: contain !important;
    background: #EFE5D9 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.slide-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(90deg, rgba(61,20,32,0.6) 0%, rgba(61,20,32,0.3) 50%, rgba(61,20,32,0.15) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    inset: auto !important;
}

.slide-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 750px !important;
    padding: 30px !important;
    z-index: 2 !important;
}

.slide-tag {
    display: inline-block !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
    margin-bottom: 22px !important;
    background: rgba(61,20,32,0.55) !important;
    padding: 8px 22px !important;
    border-radius: 30px !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
}

.slide h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 56px !important;
    color: #FFFFFF !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

.slide p {
    font-size: 17px !important;
    color: #F5EFE6 !important;
    margin-bottom: 30px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}

.slide .btn {
    background: #FFFFFF !important;
    color: #2A0B15 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25) !important;
}

.slide .btn:hover {
    background: #6E8059 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
}

.slider-dots {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 10px !important;
    z-index: 5 !important;
}

.slider-dots .dot {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 50% !important;
    transition: 0.3s !important;
    cursor: pointer !important;
}

.slider-dots .dot.active {
    background: #FFFFFF !important;
    width: 32px !important;
    border-radius: 5px !important;
}

/* MOBILE BANNER */
@media (max-width: 768px) {
    .hero-slider {
        border-radius: 8px !important;
        margin: 15px 0 40px !important;
    }
    .slide-img {
        max-height: 500px !important;
    }
    .slide-content {
        padding: 20px !important;
    }
    .slide-tag {
        font-size: 9px !important;
        letter-spacing: 3px !important;
        padding: 6px 16px !important;
        margin-bottom: 15px !important;
    }
    .slide h1 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }
    .slide p {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }
    .slide .btn {
        padding: 11px 28px !important;
        font-size: 11px !important;
    }
    .slider-dots {
        bottom: 15px !important;
    }
    .slider-dots .dot {
        width: 8px !important;
        height: 8px !important;
    }
}

@media (max-width: 480px) {
    .slide-img {
        max-height: 400px !important;
    }
    .slide h1 {
        font-size: 22px !important;
    }
    .slide p {
        font-size: 12px !important;
    }
    .slide-tag {
        font-size: 8px !important;
    }
}
/* ==========================================
   PROFESSIONAL CART PAGE
   ========================================== */
.cart-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 25px 60px;
}
.cart-header {
    text-align: center;
    margin-bottom: 35px;
}
.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #2A0B15;
    margin-bottom: 6px;
    font-weight: 600;
}
.cart-header p {
    color: #7A5560;
    font-size: 14px;
    font-weight: 500;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-items-panel {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5D5C5;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(61,20,32,0.04);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 130px 130px 40px;
    gap: 15px;
    padding: 20px 22px;
    border-bottom: 1px solid #F5EFE6;
    align-items: center;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: #EFE5D9;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: #2A0B15;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    transition: 0.3s;
}
.cart-item-name:hover { color: #6E8059; }

.cart-item-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cart-item-type {
    font-size: 10px;
    background: #F5EFE6;
    color: #7A5560;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.cart-item-size {
    font-size: 11px;
    color: #7A5560;
    font-weight: 500;
}
.cart-item-size strong {
    color: #2A0B15;
    background: #F5EFE6;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 4px;
}

.cart-item-price-mobile {
    display: none;
    font-size: 14px;
    color: #6E8059;
    font-weight: 700;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5EFE6;
    border-radius: 25px;
    padding: 4px;
    width: fit-content;
}
.qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #2A0B15;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: 0.25s;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.qty-btn:hover {
    background: #3D1420;
    color: #FFFFFF;
    transform: scale(1.08);
}
.qty-value {
    min-width: 34px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #2A0B15;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.price-each {
    font-size: 11px;
    color: #7A5560;
    font-weight: 500;
}
.price-total {
    font-size: 16px;
    color: #2A0B15;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.cart-item-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #F5E0E0;
    border-radius: 50%;
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s;
}
.cart-item-remove a:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.cart-actions-bottom {
    padding: 20px 22px;
    border-top: 1px solid #F5EFE6;
}
.btn-continue {
    display: inline-block;
    color: #3D1420;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}
.btn-continue:hover { color: #6E8059; padding-left: 5px; }

.cart-summary-panel {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5D5C5;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(61,20,32,0.04);
    position: sticky;
    top: 100px;
}
.cart-summary-panel h3 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 22px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F5EFE6;
    font-weight: 600;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #4A2530;
    font-weight: 500;
}
.summary-item-row.discount { color: #16a34a; font-weight: 600; }
.summary-item-row.shipping { color: #7A5560; font-size: 12px; }

.summary-total-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    margin-top: 12px;
    border-top: 2px solid #3D1420;
    font-size: 20px;
    font-weight: 700;
    color: #2A0B15;
    font-family: 'Playfair Display', serif;
}

.coupon-box {
    margin-top: 22px;
    padding: 18px;
    background: #F5EFE6;
    border-radius: 10px;
    border: 1px dashed #D9C9B8;
}
.coupon-box label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #7A5560;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.coupon-input-row { display: flex; gap: 8px; }
.coupon-input-row input {
    flex: 1;
    padding: 11px 14px !important;
    font-size: 13px !important;
    border: 1.5px solid #D9C9B8 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    margin: 0 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}
.coupon-input-row button {
    padding: 11px 22px !important;
    background: #3D1420 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    white-space: nowrap;
    width: auto !important;
    margin: 0 !important;
}
.coupon-input-row button:hover { background: #6E8059 !important; }

.coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.coupon-tag {
    display: inline-block;
    background: #E0E8D5;
    color: #4A5C35;
    padding: 5px 14px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}
.coupon-applied p {
    font-size: 11px;
    color: #4A5C35;
    margin-top: 4px;
    font-weight: 600;
}
.coupon-remove {
    background: #dc2626;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.coupon-error {
    background: #FEE2E2;
    color: #B91C1C;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    color: #FFFFFF;
    text-align: center;
    padding: 17px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 22px;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(61,20,32,0.25);
}
.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(61,20,32,0.35);
    background: linear-gradient(135deg, #6E8059, #556B44);
}

.trust-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #F5EFE6;
    font-size: 10px;
    color: #7A5560;
    font-weight: 600;
    text-transform: uppercase;
}

.empty-cart-box {
    text-align: center;
    padding: 100px 30px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5D5C5;
    max-width: 500px;
    margin: 40px auto;
}
.empty-icon { font-size: 70px; margin-bottom: 20px; opacity: 0.6; }
.empty-cart-box h2 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    margin-bottom: 10px;
    font-size: 26px;
}
.empty-cart-box p { color: #7A5560; margin-bottom: 28px; font-size: 14px; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; gap: 20px; }
    .cart-summary-panel { position: static; }
}
@media (max-width: 600px) {
    .cart-page { padding: 25px 15px 40px; }
    .cart-header h1 { font-size: 28px; }
    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
        padding: 16px;
        position: relative;
    }
    .cart-item-img { grid-row: 1 / 3; }
    .cart-item-img img { width: 80px; height: 100px; }
    .cart-item-info { grid-column: 2; }
    .cart-item-name { font-size: 14px; }
    .cart-item-price-mobile { display: block; }
    .cart-item-qty { grid-column: 1 / 2; margin-top: 8px; }
    .cart-item-price { grid-column: 2; align-items: flex-start; margin-top: 8px; }
    .price-each { display: none; }
    .price-total { font-size: 15px; }
    .cart-item-remove { position: absolute; top: 12px; right: 12px; }
    .cart-item-remove a { width: 30px; height: 30px; font-size: 13px; }
    .qty-btn { width: 30px; height: 30px; font-size: 16px; }
    .qty-value { min-width: 30px; font-size: 14px; }
    .cart-summary-panel { padding: 22px; }
}
/* ==========================================
   PROFESSIONAL CHECKOUT PAGE
   ========================================== */
.checkout-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 25px 80px;
}
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}
.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #2A0B15;
    margin-bottom: 6px;
    font-weight: 600;
}
.checkout-header p {
    color: #7A5560;
    font-size: 14px;
    font-weight: 500;
}

.checkout-error {
    max-width: 900px;
    margin: 0 auto 25px;
    background: #FEE2E2;
    color: #B91C1C;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    border-left: 4px solid #B91C1C;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

/* STEPS */
.checkout-step {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5D5C5;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(61,20,32,0.04);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #FAF6F0;
    border-bottom: 1px solid #F5EFE6;
}
.step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
}
.step-header h3 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.step-body {
    padding: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }
.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #7A5560;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid #E5D5C5;
    border-radius: 9px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
    color: #2A0B15;
    font-weight: 500;
    margin: 0;
    width: 100%;
    transition: 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3D1420;
    box-shadow: 0 0 0 3px rgba(61,20,32,0.08);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.delivery-estimate {
    padding: 13px 16px;
    background: #F5EFE6;
    border-radius: 9px;
    color: #7A5560;
    font-size: 13px;
    font-weight: 600;
    min-height: 47px;
    display: flex;
    align-items: center;
}
.delivery-estimate.active {
    background: #E0E8D5;
    color: #4A5C35;
}

/* PAYMENT */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.pay-option {
    cursor: pointer;
    position: relative;
    display: block;
}
.pay-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pay-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid #E5D5C5;
    border-radius: 10px;
    transition: 0.25s;
    background: #FFFFFF;
    min-height: 80px;
    flex-wrap: wrap;
}
.pay-option input[type="radio"]:checked + .pay-content {
    border-color: #3D1420;
    background: #FAF6F0;
    box-shadow: 0 4px 15px rgba(61,20,32,0.12);
}
.pay-option:hover .pay-content {
    border-color: #D9C9B8;
    background: #FAF6F0;
}
.pay-option-wide {
    grid-column: 1 / -1;
}

.pay-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5EFE6;
    color: #3D1420;
    flex-shrink: 0;
}
.pay-icon-box.easypaisa { background: #E8F5E9; }
.pay-icon-box.jazzcash { background: #FEE9E9; }
.pay-icon-box.bank { background: #E8EEF7; color: #2563eb; }
.pay-icon-box.card { background: #F0E8FF; color: #7C3AED; }

.pay-content strong {
    display: block;
    color: #2A0B15;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}
.pay-content p {
    color: #7A5560;
    font-size: 11px;
    margin: 0;
    font-weight: 500;
}

.card-logos {
    display: flex;
    gap: 5px;
    margin-left: auto;
}
.card-logo {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.card-logo.visa { background: #1A1F71; color: #FFFFFF; }
.card-logo.mc { background: linear-gradient(90deg, #EB001B 50%, #F79E1B 50%); width: 30px; }
.card-logo.union { background: linear-gradient(90deg, #E21836, #00447C); color: #FFFFFF; }

/* PAYMENT DETAILS BOX */
.payment-details-box {
    margin-top: 18px;
    background: #F5EFE6;
    border: 2px dashed #3D1420;
    border-radius: 10px;
    padding: 20px;
}
.pd-content h4 {
    font-family: 'Playfair Display', serif;
    color: #3D1420;
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D9C9B8;
    font-weight: 600;
}
.pd-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #D9C9B8;
    font-size: 13px;
}
.pd-row:last-of-type { border-bottom: none; }
.pd-row span { color: #7A5560; font-weight: 500; }
.pd-row strong { color: #2A0B15; font-weight: 700; }

.pd-note {
    margin-top: 14px;
    padding: 12px;
    background: #FFF8E5;
    border-left: 4px solid #D97706;
    border-radius: 6px;
    font-size: 12px;
    color: #92400e;
    font-weight: 500;
    line-height: 1.5;
}

/* SUMMARY */
.checkout-summary-area {
    position: sticky;
    top: 100px;
}
.order-summary-box {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5D5C5;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(61,20,32,0.06);
}
.order-summary-box h3 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F5EFE6;
    font-weight: 600;
}

.summary-items {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 5px;
}
.summary-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F5EFE6;
    align-items: center;
}
.summary-item:last-child { border-bottom: none; }
.si-img {
    position: relative;
}
.si-img img {
    width: 60px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #EFE5D9;
}
.si-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #3D1420;
    color: #FFFFFF;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #FFFFFF;
}
.si-info { min-width: 0; }
.si-name {
    font-size: 13px;
    color: #2A0B15;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.si-meta {
    font-size: 11px;
    color: #7A5560;
    font-weight: 500;
}
.si-price {
    font-size: 13px;
    font-weight: 700;
    color: #2A0B15;
    white-space: nowrap;
}

.summary-totals {
    padding-top: 18px;
    border-top: 1px solid #F5EFE6;
}
.st-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #4A2530;
    font-weight: 500;
}
.st-row.discount { color: #16a34a; font-weight: 600; }
.st-total {
    display: flex;
    justify-content: space-between;
    padding: 18px 0 0;
    margin-top: 12px;
    border-top: 2px solid #3D1420;
    font-size: 20px;
    font-weight: 700;
    color: #2A0B15;
    font-family: 'Playfair Display', serif;
}

.coupon-mini {
    padding: 14px 0;
    border-top: 1px solid #F5EFE6;
    text-align: center;
    font-size: 12px;
}
.coupon-mini a {
    color: #6E8059;
    font-weight: 600;
    text-decoration: none;
}
.coupon-applied-mini {
    background: #E0E8D5;
    color: #4A5C35;
    padding: 5px 14px;
    border-radius: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 11px;
}

.btn-place-order-desktop {
    width: 100%;
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    color: #FFFFFF;
    border: none;
    padding: 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(61,20,32,0.25);
}
.btn-place-order-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(61,20,32,0.35);
    background: linear-gradient(135deg, #6E8059, #556B44);
}

.checkout-trust {
    display: flex;
    justify-content: space-around;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #F5EFE6;
    font-size: 10px;
    color: #7A5560;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-place-order { display: none; }
.btn-place-order {
    width: 100%;
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    color: #FFFFFF;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(61,20,32,0.25);
}

/* MOBILE */
@media (max-width: 950px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary-area { position: static; order: -1; }
    .mobile-place-order { display: block; }
    .btn-place-order-desktop { display: none; }
    .payment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .checkout-page { padding: 25px 15px 60px; }
    .checkout-header h1 { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .step-body { padding: 20px; }
    .step-header { padding: 15px 20px; }
    .summary-items { max-height: 250px; }
}
/* SHIPPING BANNER */
.shipping-banner {
    max-width: 900px;
    margin: 0 auto 25px;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.shipping-banner.free {
    background: linear-gradient(135deg, #E0E8D5, #D4DFC4);
    color: #4A5C35;
    border: 2px solid #6E8059;
    font-size: 15px;
}
.shipping-banner.free strong {
    color: #3D5A1F;
    font-weight: 700;
}
.shipping-banner.progress {
    background: linear-gradient(135deg, #FFF8E5, #FEF3C7);
    color: #92400e;
    border: 2px solid #D97706;
}
.shipping-banner.progress strong {
    color: #3D1420;
    font-weight: 700;
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(217,119,6,0.2);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #D97706, #3D1420);
    border-radius: 3px;
    transition: width 0.5s ease;
}

@media (max-width: 600px) {
    .shipping-banner {
        font-size: 12px;
        padding: 12px 16px;
        margin: 0 15px 20px;
    }
    .shipping-banner.free { font-size: 13px; }
}
/* ==========================================
   ORDER SUCCESS PAGE
   ========================================== */
.success-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 25px;
}
.success-container {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5D5C5;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(61,20,32,0.08);
    text-align: center;
}
.success-check {
    display: inline-block;
    margin-bottom: 25px;
    animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.success-container h1 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 600;
}
.success-sub {
    color: #7A5560;
    font-size: 14px;
    margin-bottom: 30px;
    font-weight: 500;
}

.order-id-box {
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    color: #FFFFFF;
    padding: 18px 30px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 35px;
}
.order-id-box span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 4px;
}
.order-id-box strong {
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.success-details {
    text-align: left;
    margin-bottom: 30px;
}

.success-section {
    background: #FAF6F0;
    border-radius: 12px;
    padding: 22px 25px;
    margin-bottom: 18px;
    border: 1px solid #F5EFE6;
}
.success-section h3 {
    font-family: 'Playfair Display', serif;
    color: #2A0B15;
    font-size: 17px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5D5C5;
    font-weight: 600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    font-size: 13px;
    border-bottom: 1px dashed #E5D5C5;
}
.info-row:last-child { border-bottom: none; }
.info-row.full { flex-direction: column; gap: 4px; }
.info-row span { color: #7A5560; font-weight: 500; }
.info-row strong { color: #2A0B15; font-weight: 600; }
.info-row.full strong { text-align: left; line-height: 1.6; }

/* PAYMENT HIGHLIGHT */
.payment-highlight {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.payment-highlight.cod { background: #E0E8D5; }
.payment-highlight.easypaisa { background: #E8F5E9; }
.payment-highlight.jazzcash { background: #FEE9E9; }
.payment-highlight.bank { background: #E8EEF7; }
.payment-highlight.card { background: #F0E8FF; }
.pay-hl-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.payment-highlight strong {
    display: block;
    color: #2A0B15;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}
.payment-highlight p {
    color: #4A2530;
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.payment-account {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #E5D5C5;
}

.amount-box {
    background: #3D1420;
    color: #FFFFFF;
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}
.amount-box span {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}
.amount-box strong {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
}

.whatsapp-share {
    display: block;
    background: #25D366;
    color: #FFFFFF;
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    margin-top: 15px;
    transition: 0.3s;
}
.whatsapp-share:hover {
    background: #1EA855;
    transform: translateY(-2px);
}

/* ITEMS */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.success-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #E5D5C5;
}
.success-item:last-child { border-bottom: none; }
.success-item img {
    width: 60px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #EFE5D9;
}
.sitem-info { min-width: 0; }
.sitem-name {
    font-size: 13px;
    color: #2A0B15;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}
.sitem-meta {
    font-size: 11px;
    color: #7A5560;
    font-weight: 500;
}
.sitem-price {
    font-size: 14px;
    color: #2A0B15;
    font-weight: 700;
    white-space: nowrap;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.btn-continue-shop, .btn-view-orders {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-continue-shop {
    background: #3D1420;
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(61,20,32,0.25);
}
.btn-continue-shop:hover {
    background: #6E8059;
    transform: translateY(-2px);
}
.btn-view-orders {
    background: transparent;
    color: #3D1420;
    border: 2px solid #3D1420;
}
.btn-view-orders:hover {
    background: #3D1420;
    color: #FFFFFF;
}

.success-note {
    color: #7A5560;
    font-size: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #F5EFE6;
}

/* SIZE SELECTOR */
.size-selector {
    margin-bottom: 15px;
}
.size-selector > label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #7A5560;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}
.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.size-option {
    cursor: pointer;
    position: relative;
    display: inline-block;
}
.size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 42px;
    padding: 0 12px;
    border: 1.5px solid #D9C9B8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2A0B15;
    background: #FFFFFF;
    transition: 0.25s;
    letter-spacing: 0.5px;
}
.size-option:hover span {
    border-color: #3D1420;
    background: #FAF6F0;
}
.size-option input[type="radio"]:checked + span {
    background: #3D1420;
    color: #FFFFFF;
    border-color: #3D1420;
    box-shadow: 0 4px 15px rgba(61,20,32,0.25);
}

/* QTY WRAPPER with buttons */
.qty-wrapper {
    display: flex;
    align-items: center;
    background: #F5EFE6;
    border-radius: 25px;
    padding: 4px;
    width: fit-content;
}
.qty-wrapper .qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #2A0B15;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
    padding: 0;
    margin: 0;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    width: 34px;
}
.qty-wrapper .qty-btn:hover {
    background: #3D1420;
    color: #FFFFFF;
}
.qty-wrapper .qty-input {
    width: 50px !important;
    text-align: center;
    background: transparent !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2A0B15 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 600px) {
    .success-container { padding: 35px 22px; }
    .success-container h1 { font-size: 24px; }
    .order-id-box strong { font-size: 22px; }
    .success-actions { flex-direction: column; }
    .success-actions a { width: 100%; text-align: center; }
    .success-item { grid-template-columns: 50px 1fr; }
    .sitem-price { grid-column: 2; text-align: right; margin-top: -5px; }
}
/* ==========================================
   ADMIN DASHBOARD
   ========================================== */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}
.dash-stat {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
    border-left: 4px solid #3D1420;
    transition: 0.3s;
}
.dash-stat:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(61,20,32,0.1); }
.ds-icon {
    width: 55px; height: 55px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.ds-icon.pink { background: #FCE7F3; }
.ds-icon.green { background: #DCFCE7; }
.ds-icon.gold { background: #FEF3C7; }
.ds-icon.blue { background: #DBEAFE; }
.ds-icon.purple { background: #F3E8FF; }
.ds-info { flex: 1; min-width: 0; }
.ds-label { display: block; font-size: 10px; color: #7A5560; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; margin-bottom: 4px; }
.ds-info h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: #2A0B15; line-height: 1.1; margin: 0 0 4px 0; font-weight: 700; }
.ds-change { font-size: 11px; color: #7A5560; font-weight: 600; }
.ds-change.up { color: #16a34a; }
.ds-change.down { color: #dc2626; }

.month-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    background: linear-gradient(135deg, #3D1420, #5A1E30);
    border-radius: 14px;
    padding: 22px 25px;
    margin-bottom: 25px;
}
.ms-item { text-align: center; }
.ms-item span { display: block; font-size: 10px; color: #E5C8C4; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 6px; }
.ms-item strong { font-family: 'Playfair Display', serif; font-size: 22px; color: #FFFFFF; font-weight: 700; }
.ms-item strong.warn { color: #FCD34D; }

.alert-banner {
    display: flex; justify-content: space-between; align-items: center; gap: 15px;
    background: #FEF3C7; border: 1px solid #FCD34D; border-left: 4px solid #D97706;
    border-radius: 12px; padding: 14px 20px; margin-bottom: 25px; flex-wrap: wrap;
}
.ab-content { display: flex; align-items: center; gap: 12px; color: #92400e; font-size: 13px; font-weight: 500; }
.ab-icon { font-size: 22px; }
.alert-banner a { color: #92400e; text-decoration: none; font-weight: 700; font-size: 12px; }
.alert-banner a:hover { text-decoration: underline; }

.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.dash-box { background: #FFFFFF; border-radius: 14px; padding: 25px; box-shadow: 0 3px 15px rgba(0,0,0,0.04); margin-bottom: 25px; }
.box-title { font-family: 'Playfair Display', serif; color: #2A0B15; font-size: 18px; font-weight: 700; margin: 0 0 20px 0; padding-bottom: 12px; border-bottom: 2px solid #F5EFE6; }
.box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.box-link { color: #6E8059; text-decoration: none; font-weight: 600; font-size: 12px; }
.box-link:hover { color: #3D1420; }

.simple-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 220px; gap: 10px; padding: 10px 0; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.chart-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.chart-bar { width: 100%; max-width: 50px; background: linear-gradient(180deg, #6E8059, #3D1420); border-radius: 8px 8px 0 0; position: relative; transition: 0.4s; min-height: 5px; cursor: pointer; }
.chart-bar:hover { background: linear-gradient(180deg, #8FA878, #5A1E30); }
.chart-value { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: #3D1420; white-space: nowrap; opacity: 0; transition: 0.3s; }
.chart-bar:hover .chart-value { opacity: 1; }
.chart-day { font-size: 11px; color: #7A5560; font-weight: 700; text-transform: uppercase; }

.top-products { display: flex; flex-direction: column; gap: 12px; }
.top-product { display: grid; grid-template-columns: 32px 50px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #F5EFE6; }
.top-product:last-child { border-bottom: none; }
.tp-rank { width: 32px; height: 32px; background: linear-gradient(135deg, #3D1420, #5A1E30); color: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: 'Playfair Display', serif; }
.top-product img { width: 50px; height: 55px; object-fit: cover; border-radius: 8px; background: #EFE5D9; }
.tp-info { min-width: 0; }
.tp-name { font-size: 13px; color: #2A0B15; font-weight: 600; margin: 0 0 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-meta { font-size: 11px; color: #7A5560; font-weight: 500; margin: 0; }

.stock-list { display: flex; flex-direction: column; gap: 10px; }
.stock-item { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: #FAF6F0; border-radius: 10px; }
.stock-item img { width: 50px; height: 55px; object-fit: cover; border-radius: 6px; }
.st-info { min-width: 0; }
.st-name { font-size: 13px; color: #2A0B15; font-weight: 600; margin: 0 0 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-qty { font-size: 11px; font-weight: 700; margin: 0; }
.st-qty.low { color: #D97706; }
.st-qty.out { color: #DC2626; }
.st-btn { background: #3D1420; color: #FFFFFF; padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 11px; font-weight: 700; white-space: nowrap; transition: 0.3s; }
.st-btn:hover { background: #6E8059; }

.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.qa-item { background: #FAF6F0; padding: 20px 15px; border-radius: 10px; text-decoration: none; color: #2A0B15; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: 0.3s; border: 1.5px solid transparent; font-size: 12px; font-weight: 600; text-align: center; }
.qa-item:hover { background: #3D1420; color: #FFFFFF; border-color: #3D1420; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(61,20,32,0.2); }
.qa-icon { font-size: 26px; }

.empty-mini { text-align: center; padding: 40px 20px; color: #7A5560; }
.em-icon { font-size: 40px; opacity: 0.4; margin-bottom: 10px; }
.empty-mini p { font-size: 13px; font-weight: 500; margin: 0; }

@media (max-width: 900px) {
    .dash-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .dash-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dash-stat { padding: 15px 12px; gap: 10px; border-radius: 10px; }
    .ds-icon { width: 42px; height: 42px; font-size: 18px; }
    .ds-info h3 { font-size: 17px; }
    .ds-label { font-size: 9px; }
    .month-summary { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; }
    .ms-item strong { font-size: 18px; }
    .dash-box { padding: 18px; }
    .box-title { font-size: 16px; }
    .simple-chart { height: 180px; }
    .chart-day { font-size: 10px; }
    .chart-bar { max-width: 30px; }
    .quick-actions { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .qa-item { padding: 15px 8px; font-size: 10px; }
    .qa-icon { font-size: 20px; }
}