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

:root {
    color-scheme: only light;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f5f7;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #111114, #29231a);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #f4d35e;
    font-size: 1.35rem;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 0.4px;
    text-decoration: none;
}

.logo img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 1px solid #d5b544;
    border-radius: 8px;
}

.logo small {
    display: block;
    color: #fff2bd;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.2px;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-btn:hover {
    background: white;
    color: #e91e63;
}

.badge {
    background: white;
    color: #e91e63;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Navigation */
nav {
    background: white;
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-btn.active, .nav-btn:hover {
    background: #fce4ec;
    color: #e91e63;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233,30,99,0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #fce4ec;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.product-price {
    font-size: 1.2rem;
    color: #e91e63;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-stock {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.8rem;
}

.product-stock.out {
    color: #f44336;
}

.heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.heart-btn:hover {
    transform: scale(1.1);
}

.heart-btn.active {
    color: #e91e63;
}

.add-btn {
    width: 100%;
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.add-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(233,30,99,0.3);
}

.add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #e91e63;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.close-btn:hover {
    color: #e91e63;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e91e63;
}

.btn {
    background: linear-gradient(135deg, #e91e63, #f06292);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(233,30,99,0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background: #eee;
    box-shadow: none;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

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

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: #e91e63;
    font-weight: bold;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-weight: bold;
    color: #e91e63;
}

.qty-btn:hover {
    background: #fce4ec;
}

.remove-btn {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 0;
    color: #333;
}

.cart-total span:last-child {
    color: #e91e63;
}

/* Payment Options */
.payment-options {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.payment-option.selected {
    border-color: #e91e63;
    background: #fce4ec;
}

.payment-option input {
    display: none;
}

/* Admin Panel */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.6rem 1.2rem;
    border: 2px solid #e91e63;
    background: white;
    color: #e91e63;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.admin-tab.active {
    background: #e91e63;
    color: white;
}

/* Orders */
.order-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #e91e63;
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-id {
    font-weight: bold;
    color: #e91e63;
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff3e0;
    color: #f57c00;
}
.order-status[data-status="Accepted"] { background: #e8f5e9; color: #2e7d32; }
.order-status[data-status="Delivered"] { background: #e8f5e9; color: #2e7d32; }
.order-status[data-status="Cancelled"] { background: #ffebee; color: #c62828; }
.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}
.admin-page .order-actions .btn {
    width: auto;
    border-radius: 22px;
    padding: 0.55rem 1.1rem;
}
.admin-page .order-accept-button { background: #789477; }
.admin-page .order-cancel-button { color: #a34f56; }
.admin-page .order-actions .btn:disabled { cursor: wait; opacity: 0.6; }

.order-details {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

.order-items {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.order-item-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    z-index: 2000;
    transform: translateY(200%);
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    background: #4caf50;
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 2rem 0;
}

.success-screen .check {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .modal {
        padding: 1.5rem;
    }
    
    .header-content {
        justify-content: center;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo small {
        font-size: 0.62rem;
    }
}

.hidden {
    display: none !important;
}
/* Boutique storefront refresh */
:root {
    --ink: #242120;
    --muted: #77716f;
    --rose: #d98791;
    --rose-light: #f8e8e7;
    --gold: #c5a554;
    --serif: Georgia, 'Times New Roman', serif;
}

body {
    background: #fffdfc;
    color: var(--ink);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.announcement-bar {
    min-height: 30px;
    padding: 5px 1rem;
    background: #f4dddd;
    color: #4a4140;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

header {
    position: relative;
    background: #fff;
    color: var(--ink);
    padding: 0.6rem 2rem;
    box-shadow: 0 1px 0 #eee8e6;
}

.header-content { min-height: 64px; }
.header-actions #adminPanelLink[hidden] { display: none; }
.logo { color: #211d1c; font-family: var(--serif); font-size: 1.2rem; }
.logo small { color: #5b5552; font-family: 'Segoe UI', sans-serif; }
.header-actions { gap: 0.55rem; }
.header-btn {
    background: transparent;
    border: 1px solid #e8e1df;
    color: #393432;
    padding: 0.45rem 0.75rem;
    border-radius: 24px;
}
.header-btn:hover { background: var(--rose-light); color: #6a343b; }
.badge { background: var(--rose); color: white; }

#customerNav {
    padding: 0.15rem 1.5rem;
    box-shadow: 0 1px 0 #eee8e6;
}
#customerNav .nav-content { justify-content: center; gap: clamp(0.4rem, 2.3vw, 2rem); }
#customerNav .nav-btn {
    position: relative;
    padding: 0.75rem 0.35rem;
    border-radius: 0;
    color: #292524;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}
#customerNav .nav-btn.active, #customerNav .nav-btn:hover { background: transparent; color: #9f5b64; }
#customerNav .nav-btn.active::after {
    position: absolute;
    right: 0.35rem;
    bottom: 0.25rem;
    left: 0.35rem;
    height: 1px;
    background: var(--rose);
    content: '';
}

.container { max-width: none; margin: 0; padding: 0; }
#adminView { max-width: 1200px; min-height: 65vh; margin: auto; padding: 2rem; }
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(360px, 43vw, 540px);
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    background: #f8e9e7;
}
.hero-copy {
    position: relative;
    z-index: 1;
    width: 48%;
    padding: clamp(2rem, 7vw, 6.5rem);
}
.eyebrow { color: #b7737a; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; }
.hero h1 {
    margin: 0.9rem 0 1rem;
    color: #282221;
    font: 400 clamp(2.7rem, 5.4vw, 5.1rem)/0.99 var(--serif);
    letter-spacing: -0.02em;
}
.hero-copy p { max-width: 360px; color: #514a48; font-size: 0.98rem; line-height: 1.8; }
.hero-button {
    display: inline-flex;
    gap: 1.7rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.9rem 1.25rem;
    border: 0;
    border-radius: 28px;
    background: var(--rose);
    color: white;
    cursor: pointer;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.hero-button:hover { background: #bd6d78; }
.hero-button span { font-size: 1rem; }
.hero-image {
    position: absolute;
    inset: 0 0 0 42%;
    background: linear-gradient(90deg, #f8e9e7 0%, rgba(248,233,231,0.1) 28%), url('https://images.unsplash.com/photo-1611930022073-b7a4ba5fcccd?w=1600&h=1000&fit=crop') center 45%/cover;
}
.hero-note {
    position: absolute;
    right: 1.4rem;
    bottom: 1.2rem;
    color: white;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-shadow: 0 1px 4px #333;
}
.service-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid #f0e9e7;
}
.service-strip > div { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.2rem 0.7rem; }
.service-icon { color: #827c78; font-size: 1.35rem; }
.service-strip strong, .service-strip small { display: block; }
.service-strip strong { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; }
.service-strip small { margin-top: 0.1rem; color: var(--muted); font-size: 0.66rem; }
.category-section, .best-sellers-section { max-width: 1280px; margin: 0 auto; padding: 3.4rem 2rem 1rem; }
.section-heading { margin-bottom: 1.6rem; text-align: center; }
.section-heading h2 { margin-top: 0.15rem; font: 400 clamp(1.8rem, 3vw, 2.4rem) var(--serif); }
.heading-line { display: block; width: 44px; height: 2px; margin: 0.65rem auto 0; background: var(--rose); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.category-card { overflow: hidden; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-align: center; }
.category-card img { display: block; width: 100%; aspect-ratio: 1.08; object-fit: cover; border-radius: 12px; transition: transform 0.35s; }
.category-card:hover img { transform: scale(1.035); }
.category-card span { display: block; margin-top: 0.75rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; }
.category-card small { display: block; margin-top: 0.15rem; color: #756b68; font-size: 0.62rem; }
.best-sellers-section { margin-top: 1rem; padding-top: 2.5rem; padding-bottom: 4rem; background: #fdf8f7; max-width: none; }
.best-sellers-section .section-heading, .best-sellers-section .products-grid { max-width: 1240px; margin-right: auto; margin-left: auto; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 1.1rem; padding: 0 2rem; }
.product-card { border-radius: 8px; box-shadow: none; background: #fff; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(64,42,39,0.1); }
.product-image { height: 245px; background: #f6eeee; }
.product-info { padding: 0.9rem 1rem 1.1rem; }
.product-name { font-size: 0.88rem; }
.product-price { color: #282221; font-size: 1rem; }
.add-btn { background: #fff; color: #754a4e; border: 1px solid #dfc5c4; border-radius: 24px; font-size: 0.8rem; }
.add-btn:hover:not(:disabled) { background: var(--rose); color: white; box-shadow: none; }

@media (max-width: 720px) {
    header { padding: 0.55rem 0.8rem; }
    .header-content { justify-content: space-between; gap: 0.5rem; }
    .logo { gap: 0.45rem; font-size: 0.95rem; }
    .logo img { width: 44px; height: 44px; }
    .logo small { font-size: 0.56rem; }
    .header-actions { gap: 0.3rem; }
    .header-btn { padding: 0.35rem 0.5rem; font-size: 0.75rem; }
    #customerNav { padding: 0 0.5rem; }
    #customerNav .nav-content { justify-content: flex-start; flex-wrap: nowrap; gap: 1rem; overflow-x: auto; }
    #customerNav .nav-btn { flex: 0 0 auto; font-size: 0.68rem; }
    .hero { min-height: clamp(320px, 92vw, 430px); align-items: center; }
    .hero-copy { width: 58%; padding: 1.5rem 0.75rem 1.5rem 1.25rem; }
    .hero h1 { max-width: 360px; font-size: clamp(2rem, 8.5vw, 3.2rem); letter-spacing: 0; }
    .hero-copy p { max-width: 270px; font-size: 0.8rem; line-height: 1.6; }
    .hero-button { gap: 0.7rem; margin-top: 1rem; padding: 0.75rem 0.85rem; font-size: 0.6rem; }
    .hero-image { inset: 0 0 0 38%; background-image: linear-gradient(90deg, #f8e9e7 0%, rgba(248,233,231,0.08) 45%), url('https://images.unsplash.com/photo-1611930022073-b7a4ba5fcccd?w=1000&h=900&fit=crop'); background-position: center 45%; }
    .hero-note { right: 0.6rem; bottom: 0.65rem; font-size: 0.48rem; }
    .service-strip { grid-template-columns: 1fr; gap: 0.7rem; padding: 1rem; }
    .service-strip > div { justify-content: flex-start; max-width: 280px; width: 100%; margin: auto; }
    .category-section, .best-sellers-section { padding: 2.4rem 1rem 0.8rem; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0.8rem; }
    .category-card img { border-radius: 9px; }
    .best-sellers-section { padding-top: 2rem; padding-bottom: 3rem; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 0; }
    .product-image { height: auto; aspect-ratio: 0.92; }
    .product-info { padding: 0.7rem; }
}

.category-page {
    min-height: 68vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 2rem;
}
.back-to-shop {
    display: block;
    margin: 0 0 2.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: #756b68;
    cursor: pointer;
    font: inherit;
}
.back-to-shop:hover { color: #9f5b64; }
.category-page h1 { margin-top: 0.35rem; font: 400 clamp(2.5rem, 5vw, 4rem) var(--serif); }
.category-page-intro { margin: 0.4rem 0 2rem; color: var(--muted); }
.category-products-grid { padding: 0; }
@media (max-width: 720px) {
    .category-page { padding: 2rem 1rem; }
    .back-to-shop { margin-bottom: 1.7rem; }
}
.favorites-page {
    min-height: 70vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 2rem 5rem;
}
.favorites-page h1 { margin-top: 0.35rem; font: 400 clamp(2.5rem, 5vw, 4rem) var(--serif); }
.favorites-grid { padding: 0; margin-top: 2rem; }
.favorite-card { overflow: hidden; border: 1px solid #f0e8e6; }
.favorite-card .heart-btn { color: #c46f79; }
.favorites-empty { grid-column: 1 / -1; padding: 4rem 1rem; border-radius: 14px; background: #fbf4f2; }
.favorites-empty-icon { color: #cf8790; font-size: 3rem; line-height: 1; }
.favorites-empty h2 { margin: 0.8rem 0 0.35rem; color: var(--ink); font: 400 1.6rem var(--serif); }
.favorites-empty p { margin-bottom: 1rem; color: var(--muted); }
.favorites-empty .hero-button { width: auto; }
@media (max-width: 720px) {
    .favorites-page { padding: 2rem 1rem 3rem; }
    .favorites-grid { gap: 0.75rem; }
    .favorites-empty { padding: 3rem 1rem; }
}
#customerNav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}
.admin-page { min-height: 100vh; background: #f7f3f1; }
.admin-shell { width: min(1100px, 100%); min-height: calc(100vh - 80px); margin: auto; padding: clamp(1rem, 4vw, 3rem); }
.admin-login-card { width: min(420px, 100%); margin: 6vh auto; padding: 2.2rem; border: 1px solid #eee5e1; border-radius: 16px; background: #fff; box-shadow: 0 12px 36px rgba(55, 38, 32, .08); }
.admin-login-card h1, .admin-page-heading h1 { margin: .4rem 0; font: 400 2rem var(--serif); }
.admin-login-card > p, .admin-panel-description, .admin-panel-heading p { color: var(--muted); font-size: .9rem; }
.admin-login-card form { margin-top: 1.5rem; }
.admin-login-card label { display: block; margin-bottom: .4rem; font-weight: 600; }
.admin-login-card input { width: 100%; padding: .8rem; margin-bottom: 1rem; border: 1px solid #ddd2cf; border-radius: 8px; font: inherit; }
.admin-login-error { min-height: 1.2rem; margin-top: .65rem; color: #a32738; font-size: .85rem; }
.admin-page-heading, .admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-logout { width: auto; }
.admin-page-nav { display: flex; gap: 1.5rem; margin: 2rem 0 1rem; border-bottom: 1px solid #e8dfdc; }
.admin-page-nav .nav-btn { border-radius: 0; }
.admin-panel-card { padding: 1.5rem; border: 1px solid #eee5e1; border-radius: 14px; background: #fff; }
.admin-panel-card h2 { font: 400 1.5rem var(--serif); }
.admin-panel-heading { margin-bottom: 1.3rem; }
.admin-add-button { width: auto; }
.admin-page .cart-item { box-shadow: none !important; border: 1px solid #eee9e7; }
@media (max-width: 600px) {
    .admin-panel-heading { align-items: flex-start; flex-direction: column; }
    .admin-add-button { width: 100%; }
    .admin-login-card { padding: 1.5rem; }
}

/* Admin dashboard finish */
.admin-page {
    background: radial-gradient(ellipse at 12% 0%, #f5e5e2 0, transparent 36%), #f7f5f2;
}
.admin-page > header {
    border-bottom: 1px solid #eee8e4;
    box-shadow: 0 4px 18px rgba(42, 31, 25, .035);
}
.admin-page .header-content { max-width: 1320px; }
.admin-page .header-btn {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: .65rem 1rem;
    border: 1px solid #dfd2c5;
    border-radius: 24px;
    color: #51443a;
    font-size: .8rem;
    text-decoration: none;
}
.admin-shell { width: min(1180px, 100%); padding: clamp(1.2rem, 4.5vw, 3.5rem); }
.admin-page-heading { align-items: flex-end; margin-bottom: 2rem; }
.admin-page-heading h1 { margin: .35rem 0; font-size: clamp(2.3rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.admin-page-heading > div > p { color: #7b716b; }
.admin-logout-form { margin: 0; }
.admin-logout { min-width: 108px; padding: .7rem 1rem; border: 1px solid #dfd2c5; border-radius: 24px; }
.admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.admin-summary article {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #eee5de;
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 7px 24px rgba(55,38,32,.035);
}
.summary-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #f7e9e6; color: #a56b67; font: 400 1rem var(--serif); }
.admin-summary small, .admin-summary strong, .admin-summary article div > span { display: block; }
.admin-summary small { color: #9b8178; font-size: .62rem; font-weight: 700; letter-spacing: .13em; }
.admin-summary strong { margin: .05rem 0; color: #302824; font: 400 1.8rem var(--serif); }
.admin-summary article div > span { color: #817872; font-size: .72rem; }
.admin-notification-settings {
    margin: -1rem 0 1.5rem;
    color: #7b716b;
    font-size: .85rem;
}
.admin-notification-settings summary { width: fit-content; cursor: pointer; }
.admin-notification-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .8rem 0 0;
}
.admin-notification-controls .btn {
    width: auto;
    padding: .5rem .9rem;
    border: 1px solid #dfd2c5;
    border-radius: 22px;
    font-size: .8rem;
}
.admin-notification-controls [role="status"] { font-size: .8rem; }
.admin-page-nav { gap: 1.7rem; margin: 0 0 1rem; border-bottom-color: #e7ded8; }
.admin-page-nav .nav-btn { padding: .85rem .2rem; color: #776d67; font-size: .83rem; }
.admin-page-nav .nav-btn.active, .admin-page-nav .nav-btn:hover { position: relative; background: transparent; color: #9f5b64; }
.admin-page-nav .nav-btn.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #c98186; content: ''; }
.admin-panel-card { min-height: 300px; padding: clamp(1rem, 3vw, 2rem); border-color: #eee5de; border-radius: 16px; box-shadow: 0 8px 28px rgba(55,38,32,.035); }
.admin-panel-heading { align-items: center; }
.admin-panel-heading h2, .admin-panel-card > h2 { color: #302824; font-size: 1.8rem; }
.admin-panel-heading p, .admin-panel-description { margin-top: .25rem; }
.admin-add-button { width: auto; padding: .75rem 1.2rem; border-radius: 24px; background: #c98186; font-size: .85rem; }
.admin-add-button:hover { background: #ae6a72; box-shadow: 0 5px 16px #c9818633; }
.admin-page #adminProductsList > div { gap: .8rem !important; }
.admin-page #adminProductsList .cart-item {
    display: grid;
    grid-template-columns: 88px minmax(0,1fr) auto;
    gap: 1.1rem;
    align-items: center;
    padding: 1rem !important;
    border: 1px solid #f0e8e3;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.admin-page #adminProductsList .cart-item img { width: 88px; height: 88px; border-radius: 9px; }
.admin-page #adminProductsList .cart-item-name { color: #332b27; font-size: .98rem; }
.admin-page #adminProductsList .cart-item-price { color: #9d6366; }
.admin-page #adminProductsList .cart-item > div:last-child { flex-direction: row !important; }
.admin-page #adminProductsList .btn { width: auto !important; border-radius: 22px; }
.admin-page #adminProductsList .btn:not(.btn-secondary) { background: #c98186; }
.admin-page .order-card { border: 1px solid #eee5de; border-left: 3px solid #c98186; border-radius: 12px; box-shadow: none; }
.admin-page .order-id { color: #8d5e60; }
.admin-page .modal { border-radius: 16px; }
.admin-page .modal-title { color: #302824; font-family: var(--serif); font-weight: 400; }
.admin-page .form-group input:focus, .admin-page .form-group textarea:focus, .admin-page .form-group select:focus { border-color: #c98186; }
.admin-page .btn[type="submit"] { background: #c98186; }
@media (max-width: 650px) {
    .admin-page-heading { align-items: flex-start; }
    .admin-page-heading h1 { font-size: 2.2rem; }
    .admin-summary { grid-template-columns: 1fr; gap: .65rem; }
    .admin-summary article { min-height: 85px; padding: .8rem 1rem; }
    .admin-page #adminProductsList .cart-item { grid-template-columns: 62px minmax(0,1fr); gap: .8rem; }
    .admin-page #adminProductsList .cart-item img { width: 62px; height: 62px; }
    .admin-page #adminProductsList .cart-item > div:last-child { grid-column: 1 / -1; justify-content: flex-end; }
}

.cart-page {
    min-height: 70vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 2rem 5rem;
}
.cart-page h1 { margin-top: .35rem; font: 400 clamp(2.5rem, 5vw, 4rem) var(--serif); }
.cart-page-content { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); align-items: start; gap: 1.2rem; margin-top: 2rem; }
.cart-page-items, .cart-summary { border: 1px solid #f0e8e5; border-radius: 14px; background: #fff; }
.cart-page-items { padding: 0 1.2rem; }
.cart-page-items .cart-item { padding: 1.2rem 0; }
.cart-page-items .cart-item img { width: 96px; height: 104px; border-radius: 9px; }
.cart-page-items .cart-item-name { font: 500 1rem var(--serif); }
.cart-page-items .cart-item-price { color: #98636a; }
.cart-page-items .qty-btn { width: 32px; height: 32px; color: #795256; }
.cart-page-items .qty-btn:hover { background: #f8e8e7; }
.cart-page-items .remove-btn { padding: .35rem; color: #9b7775; }
.cart-summary { position: sticky; top: 72px; padding: 1.4rem; }
.cart-summary .cart-total { margin: .6rem 0; padding: 1rem 0; border-top: 1px solid #f0e8e5; border-bottom: 1px solid #f0e8e5; font-size: 1rem; }
.cart-summary .cart-total span:last-child { color: #302824; }
.cart-summary > p { margin-bottom: 1.2rem; color: #817872; font-size: .82rem; line-height: 1.6; }
.cart-summary .btn { border-radius: 26px; background: #c98186; font-size: .88rem; }
.cart-empty { grid-column: 1 / -1; padding: 4rem 1rem; border-radius: 14px; background: #fbf4f2; text-align: center; }
.cart-empty-icon { color: #b98282; font-size: 3rem; }
.cart-empty h2 { margin: .8rem 0 .35rem; font: 400 1.7rem var(--serif); }
.cart-empty p { margin-bottom: 1rem; color: var(--muted); }
.cart-empty .hero-button { width: auto; }
@media (max-width: 760px) {
    .cart-page { padding: 2rem 1rem 3rem; }
    .cart-page-content { grid-template-columns: 1fr; gap: .9rem; margin-top: 1.4rem; }
    .cart-page-items { padding: 0 .8rem; }
    .cart-page-items .cart-item { gap: .7rem; }
    .cart-page-items .cart-item img { width: 70px; height: 78px; }
    .cart-summary { position: static; }
    .cart-empty { padding: 3rem 1rem; }
}
.product-card .product-image {
    object-fit: contain;
    padding: 12px;
    background: #f8f0ee;
}
.product-details-image { object-fit: contain !important; background: #f8f0ee; }
.admin-page #adminProductsList .cart-item img { object-fit: contain; padding: 4px; background: #f8f0ee; }
