/* ============= FONT IMPORTS ============= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Fredoka:wght@400;600;700&display=swap');

/* ============= VARIABLES ============= */
:root {
    /* Soft Pink Palette */
    --blush: #F5E6E0;
    --light-pink: #F2D4CC;
    --dusty-rose: #E8C4B8;
    --mauve-pink: #DDB0A3;
    --rose-gold: #D4A8A1;
    --deep-rose: #A67C7C;
    --charcoal: #3E3E3E;
    --cream: #FFFAF8;
    
    /* Semantic Colors */
    --primary-color: #D4A8A1;
    --secondary-color: #E8C4B8;
    --text-color: #3E3E3E;
    --text-light: #8B7C7C;
    --bg-light: #FFFAF8;
    --border-color: #E8C4B8;
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, #F5E6E0 0%, #F2D4CC 100%);
    --gradient-2: linear-gradient(180deg, #F2D4CC 0%, #E8C4B8 100%);
    --gradient-3: linear-gradient(135deg, #FFFAF8 0%, #F5E6E0 100%);
    --gradient-rose: linear-gradient(135deg, #A67C7C 0%, #8B7C7C 100%);
    --gradient-success: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(160, 100, 100, 0.08);
    --shadow-md: 0 8px 20px rgba(160, 100, 100, 0.12);
    --shadow-lg: 0 16px 32px rgba(160, 100, 100, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: 'Viaoda Libre', 'Georgia', serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.8;
    font-size: 16px;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Viaoda Libre', 'Georgia', serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
}

h4 {
    font-size: 1.4rem;
    font-weight: 400;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ============= CONTAINER ============= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= TOP BANNER ============= */
.top-banner {
    background: var(--cream);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--light-pink);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 1;
}

.top-banner.scrolled {
    opacity: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

.top-banner p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--rose-gold);
    font-family: 'Viaoda Libre', serif;
    letter-spacing: 0.05em;
}

/* ============= NAVBAR ============= */
.navbar {
    background: var(--charcoal);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 60px;
    z-index: 900;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    top: 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Center Logo */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo {
    height: 32px;
}

/* Right Cart */
.nav-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.nav-cart:hover {
    opacity: 0.8;
}

/* Right Navigation */
.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-receipt {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.nav-receipt:hover {
    opacity: 0.7;
}

.nav-payment {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.nav-payment:hover {
    opacity: 0.7;
}

/* Side Menu */
.side-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--gradient-1);
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1200;
    padding-top: 0;
    overflow-y: auto;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    transform: translateX(0);
    pointer-events: auto;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal);
    cursor: pointer;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    flex-shrink: 0;
}

.side-menu-items {
    list-style: none;
    padding: 2rem 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-menu-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Viaoda Libre', serif;
    border-bottom: 1px solid rgba(62, 62, 62, 0.1);
    transition: all 0.2s ease;
    pointer-events: auto;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.side-menu-link:active {
    background: rgba(62, 62, 62, 0.1);
    transform: scale(0.98);
}

.side-menu-link:hover {
    background: rgba(212, 168, 161, 0.1);
    padding-left: 2rem;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1100;
}

/* ============= PAGES ============= */
.pages-container {
    min-height: calc(100vh - 200px);
}

.page {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============= BUTTONS ============= */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Viaoda Libre', serif;
}

.btn-primary {
    background: var(--rose-gold);
    color: white;
}

.btn-primary:hover {
    background: var(--deep-rose);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--rose-gold);
    border: 2px solid var(--rose-gold);
}

.btn-secondary:hover {
    background: var(--rose-gold);
    color: white;
}

.btn-success {
    background: var(--dusty-rose);
    color: white;
}

.btn-success:hover {
    background: var(--deep-rose);
    transform: scale(1.02);
}

.btn-danger {
    background: var(--mauve-pink);
    color: white;
}

.btn-danger:hover {
    background: var(--deep-rose);
    transform: scale(1.02);
}

.btn-primary, .btn-success, .btn-danger {
    padding: 1rem 2.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-remove {
    background: #C67C7C;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.btn-remove:hover {
    background: #ff1744;
}

.btn-back {
    background: #f0f0f0;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.btn-back:hover {
    background: #e0e0e0;
}

/* ============= FORMS ============= */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-group label input[type="checkbox"],
.form-group label input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 75, 139, 0.1);
}

#settings-form {
    display: block;
    width: 100%;
    max-width: 600px;
}

@media (min-width: 769px) {
    #settings-form {
        max-width: 100%;
    }
}

#settings-form h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family: 'Viaoda Libre', serif;
}

.error-text {
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ============= NOTIFICATIONS ============= */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.info {
    border-left: 4px solid #2196f3;
}

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

/* ============= CARDS ============= */
/* ============= ARCHED FRAMES ============= */
.arched-frame {
    border-radius: 50% 50% 20% 20%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-lg);
    background: var(--gradient-1);
}

.arched-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============= CARDS ============= */
.item-card {
    background: white;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.item-image {
    width: 100%;
    height: 280px;
    background: var(--gradient-1);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 50% 50% 20% 20%;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-info {
    padding: 1rem;
}

.item-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.item-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.item-price-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.item-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.item-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.discount-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.item-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.item-btn:hover {
    background: #C94175;
}

/* ============= CAROUSEL ============= */
.featured-carousel {
    border-radius: 8px;
    background: white;
    padding: 1rem;
}

.featured-carousel .item-card {
    flex: 0 0 250px;
    min-width: 250px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: #C94175;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* ============= CATEGORY CARDS ============= */
.category-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

.category-card .category-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-card .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(217, 75, 139, 0.2);
    transform: translateY(-4px);
}

.category-card h3 {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-color);
    text-align: center;
}


/* ============= GRID ============= */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

/* ============= SECTIONS ============= */
.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============= HERO ============= */
.hero {
    background: var(--gradient-1);
    color: var(--text-color);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    color: #fdf5f0;
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-family: 'Viaoda Libre', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    position: relative;
    text-align: center;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero h1:hover {
    transform: translateY(-2px);
}

#hero-business-name {
    display: inline-block;
    font-family: 'Viaoda Libre', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fdf5f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #fdf5f0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Viaoda Libre', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-image img {
    max-width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50% 50% 20% 20%;
    box-shadow: var(--shadow-lg);
}

/* ============= ITEM DETAIL ============= */
.item-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.item-detail-image {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.item-detail-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 1rem 0;
}

.item-detail-desc {
    color: #666;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}

.quantity-control input {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 4px;
}

/* ============= CHECKOUT ============= */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.cart-items {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
}

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

.cart-item-details h4 {
    margin-bottom: 0.5rem;
}

.cart-item-total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-size: 1.1rem;
}

.order-summary {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.order-summary-row.total {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* ============= RECEIPT ============= */
.receipt-page {
    background: white;
    padding: 2rem;
}

.receipt-page h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.receipt-page .form-group {
    margin-bottom: 1.5rem;
}

#receipt-orders-list {
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

#receipt-orders-list h3 {
    padding: 1rem 1rem 0 1rem;
    color: var(--primary-color);
}

#receipt-orders-list > div {
    border-radius: 8px;
}

#receipt-orders-list > div > div {
    transition: background-color 0.2s ease;
}

#receipt-orders-list > div > div:hover {
    background-color: #f9f9f9;
}

#download-receipt-btn {
    background: var(--gradient-success);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

#download-receipt-btn:hover {
    opacity: 0.9;
}

/* ============= ADMIN ============= */
.admin-dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.admin-sidebar {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--shadow);
    position: relative;
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-tab {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-family: 'Viaoda Libre', serif;
}

.admin-tab:hover,
.admin-tab.active {
    background: var(--rose-gold);
    color: white;
    border-color: var(--rose-gold);
}

.admin-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    clear: both;
    overflow: hidden;
    min-width: 0;
}

.admin-content h2 {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.2;
}

.admin-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.8rem 0;
    line-height: 1.2;
}

.admin-content h4 {
    font-size: 1rem;
    margin: 0.8rem 0 0.5rem 0;
    line-height: 1.2;
}

.admin-content p {
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.admin-content > div {
    line-height: 1.4;
}

/* ============= ADMIN STAT CARDS ============= */
.stat-card {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(212, 168, 161, 0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rose-gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(245, 230, 224, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(212, 168, 161, 0.25);
}

.stat-card-approved {
    border-top-color: var(--rose-gold);
}

.stat-card-approved::after {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.08;
    color: var(--rose-gold);
}

.stat-card-done {
    border-top-color: var(--dusty-rose);
}

.stat-card-done::after {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.08;
    color: var(--dusty-rose);
}

.stat-card-cancelled {
    border-top-color: var(--mauve-pink);
}

.stat-card-cancelled::after {
    content: '✕';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.08;
    color: var(--mauve-pink);
}

.stat-card-revenue {
    border-top-color: var(--deep-rose);
}

.stat-card-revenue::after {
    content: '₹';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.08;
    color: var(--deep-rose);
}

.stat-label {
    margin: 0;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-family: 'Viaoda Libre', serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.2;
}

.stat-value {
    margin: 0.8rem 0 0 0;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--rose-gold);
    font-family: 'Viaoda Libre', serif;
    line-height: 1.2;
}

/* ============= ORDER CARDS ============= */
.order-card {
    background: white;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(212, 168, 161, 0.15);
    transition: all 0.3s ease;
    border-left: 4px solid var(--rose-gold);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(245, 230, 224, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 168, 161, 0.2);
}

.order-card-pending {
    border-left-color: var(--mauve-pink);
}

.order-card-verify {
    border-left-color: var(--dusty-rose);
}

.order-card-approved {
    border-left-color: var(--rose-gold);
}

.order-card-done {
    border-left-color: var(--dusty-rose);
}

.order-card-cancelled {
    border-left-color: var(--mauve-pink);
    opacity: 0.85;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.order-card-header > div:first-child {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.order-number {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--charcoal);
    font-family: 'Viaoda Libre', serif;
    word-break: break-word;
    line-height: 1.15;
}

.custom-label {
    margin: 0.3rem 0 0 0;
    color: white;
    background: var(--mauve-pink);
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Viaoda Libre', serif;
    line-height: 1.2;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

.order-detail {
    margin: 0.2rem 0 0 0;
    color: var(--charcoal);
    font-family: 'Viaoda Libre', serif;
    font-size: 0.9rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-card-amount {
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.order-price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--rose-gold);
    font-family: 'Viaoda Libre', serif;
    line-height: 1.2;
}

.order-status {
    margin: 0.3rem 0 0 0;
    padding: 0.45rem 0.9rem;
    background: var(--dusty-rose);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    font-family: 'Viaoda Libre', serif;
    text-transform: capitalize;
    line-height: 1.2;
}

.order-status[data-status*="pending"] {
    background: var(--mauve-pink);
}

.order-status[data-status*="verify"] {
    background: var(--dusty-rose);
}

.order-status[data-status*="approved"] {
    background: var(--rose-gold);
}

.order-card-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.order-card-actions .btn {
    flex: 1 1 calc(50% - 0.2rem);
    white-space: nowrap;
    padding: 0.4rem 0.5rem !important;
    font-size: 0.85rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.btn-custom-price {
    background: var(--rose-gold) !important;
}

.order-items-list {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    max-height: 150px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .order-card {
        padding: 1rem;
    }
    
    .order-card-header {
        gap: 0.5rem;
        flex-direction: row;
    }
    
    .order-card-header > div:first-child {
        flex: 1;
        overflow: hidden;
    }
    
    .order-card-amount {
        text-align: right;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .order-card-actions {
        margin-top: 1rem;
    }
    
    .order-card-actions .btn {
        flex: 1 1 calc(50% - 0.2rem);
        padding: 0.4rem 0.5rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============= FOOTER ============= */
.footer {
    background: var(--gradient-rose);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Viaoda Libre', serif;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    font-size: 1.8rem;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .item-detail {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }

    .admin-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .admin-sidebar {
        position: relative;
        padding: 1rem;
    }

    .admin-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .admin-tab {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-content h2 {
        font-size: 1.3rem;
        margin: 1rem 0 0.7rem 0;
        line-height: 1.2;
    }

    .admin-content h3 {
        font-size: 1rem;
        margin: 0.7rem 0 0.5rem 0;
        line-height: 1.2;
    }

    .admin-content p {
        font-size: 0.9rem;
        margin: 0.4rem 0;
        line-height: 1.3;
    }

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

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 0.8rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    /* Mobile-friendly button layout */
    .admin-content button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .admin-content button:not(:last-child) {
        margin-right: 0;
    }

    /* Mobile-friendly filter layout */
    .admin-content > div > div:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-content > div > div:first-of-type > div {
        width: 100%;
    }

    .admin-content > div > div:first-of-type select {
        width: 100%;
    }

    /* Stats grid on mobile */
    .admin-content [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Mobile navbar adjustments */
    .navbar-container {
        gap: 0.5rem;
    }

    .nav-center {
        flex: 0;
        order: 2;
        padding: 0 0.25rem;
    }

    .nav-logo {
        height: 32px !important;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-receipt,
    .nav-payment,
    .nav-cart {
        font-size: 1.1rem;
        padding: 0.3rem;
    }

    .hero {
        padding: 2rem 0;
        min-height: auto;
        background-attachment: scroll;
        background-position: center center;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        text-align: center;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero h2 {
        font-size: 1.2rem;
        margin: 0;
        padding: 0.5rem 1rem;
        display: inline-block;
    }

    .hero h2 img {
        height: 24px !important;
        margin-left: 0.5rem !important;
        vertical-align: middle;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        max-width: 90%;
    }

    .hero-image {
        margin-top: 1.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-image img {
        max-width: 280px;
        height: auto;
        display: block;
    }

    .hero-cta {
        gap: 1rem;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .admin-dashboard {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .admin-tabs {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-content {
        padding: 2rem;
    }
}

@media (min-width: 1025px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .grid-2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .admin-dashboard {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .admin-tabs {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-content {
        padding: 2rem;
    }
}
