/* =====================================================
   PRAFUL SWEETS AND NAMKIN — main stylesheet
   ===================================================== */

:root {
    --primary: #E85D04;
    --primary-dark: #C04503;
    --primary-light: #FFB627;
    --secondary: #7B1E3F;
    --accent: #FFD60A;
    --bg: #FFF8F0;
    --bg-alt: #FFFAF3;
    --surface: #FFFFFF;
    --text: #2C1810;
    --text-light: #6B5B53;
    --muted: #9A8B82;
    --border: #F0E5D8;
    --success: #16A34A;
    --danger: #DC2626;
    --shadow-sm: 0 1px 2px rgba(44, 24, 16, 0.06);
    --shadow: 0 4px 14px rgba(44, 24, 16, 0.08);
    --shadow-lg: 0 10px 35px rgba(44, 24, 16, 0.12);
    --radius: 12px;
    --radius-lg: 18px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ TOP BAR ============ */
.topbar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    font-size: 0.82rem;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.3px;
}
.topbar-text { display: inline-block; }

/* ============ HEADER ============ */
.header {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary);
    letter-spacing: 0.5px;
}
.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary); background: var(--bg); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}
.cart-btn:hover { background: var(--primary); color: white; transform: scale(1.05); }

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
}

.menu-toggle { display: none; color: var(--text); }

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, #FFE8D6 0%, #FFF8F0 50%, #FFD9B3 100%);
    padding: 72px 0 90px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(123, 30, 63, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { animation: slideInLeft 0.8s ease-out; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 93, 4, 0.12);
    color: var(--primary-dark);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 22px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--secondary);
}
.hero-title span { color: var(--primary); font-style: italic; }
.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(123, 30, 63, 0.12);
}
.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}
.hero-stat-label { font-size: 0.85rem; color: var(--text-light); }

.hero-visual { position: relative; animation: slideInRight 0.8s ease-out; }
.hero-image {
    aspect-ratio: 1;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(232, 93, 4, 0.25);
    border: 8px solid white;
    position: relative;
}
.hero-floating {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}
.hero-floating-1 { top: 10%; left: -8%; }
.hero-floating-2 { bottom: 15%; right: -8%; animation-delay: 1.5s; }
.hero-floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}
.hero-floating-text strong { display: block; font-size: 0.92rem; color: var(--text); }
.hero-floating-text span { font-size: 0.78rem; color: var(--text-light); }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(232, 93, 4, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(232, 93, 4, 0.4);
}
.btn-outline {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}
.btn-outline:hover { background: var(--secondary); color: white; }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ============ SECTIONS ============ */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
    display: inline-block;
    background: rgba(232, 93, 4, 0.1);
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--secondary);
    margin-bottom: 10px;
}
.section-subtitle { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ============ CATEGORIES ============ */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid var(--border);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 93, 4, 0.25);
}
.category-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--primary-light);
}
.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 18px 0 4px;
}
.category-count { color: var(--text-light); font-size: 0.85rem; }

/* ============ PRODUCT GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 93, 4, 0.2);
}
.product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image { transform: scale(1.06); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
}
.product-badge.bestseller { background: var(--primary); }
.product-badge.trending { background: var(--secondary); }
.product-badge.new { background: var(--success); }
.product-badge.premium { background: linear-gradient(135deg, #b8860b, #ffd700); color: #2C1810; }

.product-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #DC2626;
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}

.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
    font-size: 0.72rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    min-height: 2.6em;
    line-height: 1.3;
}
.product-name a:hover { color: var(--primary); }

.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 0.82rem; }
.stars { color: #F59E0B; letter-spacing: 1px; font-size: 0.95rem; }
.star.empty { color: #E5DCD3; }
.rating-count { color: var(--text-light); }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.price-now { font-size: 1.18rem; font-weight: 700; color: var(--secondary); }
.price-old { font-size: 0.92rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 0.78rem; color: var(--success); font-weight: 600; }

.product-stock { font-size: 0.78rem; color: var(--danger); margin-bottom: 12px; font-weight: 500; }
.product-stock.high { color: var(--success); }

.product-actions { margin-top: auto; }
.product-actions .btn { width: 100%; padding: 11px 16px; font-size: 0.9rem; }

/* ============ PRODUCT DETAIL ============ */
.product-detail { padding: 50px 0; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.product-gallery {}
.product-main-image {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--primary); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info {}
.product-detail-cat {
    text-transform: uppercase;
    color: var(--primary);
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}
.product-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--secondary);
    margin-bottom: 14px;
}
.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
    font-size: 0.92rem;
}
.product-detail-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; flex-wrap: wrap; }
.product-detail-price .price-now { font-size: 2rem; }
.product-detail-price .price-old { font-size: 1.15rem; }
.product-detail-price .price-save {
    background: rgba(22, 163, 74, 0.12);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.urgency-row {
    background: linear-gradient(90deg, #FEF3C7 0%, #FFE8D6 100%);
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0;
}
.urgency-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.urgency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    animation: pulse 1.5s infinite;
}
.urgency-dot.green { background: var(--success); }

.qty-row { display: flex; align-items: center; gap: 16px; margin: 22px 0; }
.qty-label { font-weight: 600; color: var(--text); }
.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.qty-btn {
    width: 42px;
    height: 42px;
    background: var(--bg);
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: white; }
.qty-input {
    width: 56px;
    height: 42px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: white;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-cta-row { display: flex; gap: 12px; margin: 24px 0; }
.product-cta-row .btn { flex: 1; }

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 22px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin: 22px 0;
}
.product-feature { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.product-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.product-feature strong { color: var(--text); display: block; }
.product-feature span { color: var(--text-light); font-size: 0.78rem; }

.product-description {
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 28px;
}
.product-description h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
}
.product-description p { color: var(--text-light); }

/* ============ CART PAGE ============ */
.cart-page { padding: 50px 0; min-height: 60vh; }
.cart-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 30px;
}
.cart-items {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.cart-item-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.cart-item-actions { display: flex; gap: 16px; align-items: center; }
.cart-item-remove {
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 500;
}
.cart-item-remove:hover { text-decoration: underline; }
.cart-item-price { text-align: right; }
.cart-item-price .price-now { font-size: 1.15rem; font-weight: 700; color: var(--secondary); }

.cart-summary {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 90px;
}
.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid var(--border);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}
.cart-summary .btn { margin-top: 22px; }
.summary-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-light);
}

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.4;
}
.empty-state h2 { font-size: 1.6rem; margin-bottom: 10px; color: var(--secondary); }
.empty-state p { color: var(--text-light); margin-bottom: 26px; }

/* ============ CHECKOUT ============ */
.checkout-page { padding: 50px 0; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}
.checkout-form-wrap, .checkout-summary {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 28px;
}
.checkout-form-wrap h2, .checkout-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 7px;
}
.form-label .req { color: var(--danger); }
.form-input, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-alt);
    transition: var(--transition);
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}
.form-textarea { min-height: 88px; resize: vertical; }
.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; }

.payment-box {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE8D6 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 18px;
    margin: 22px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.payment-box-icon {
    font-size: 2.4rem;
    line-height: 1;
}
.payment-box-content strong {
    display: block;
    color: var(--secondary);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.payment-box-content span { color: var(--text-light); font-size: 0.88rem; }

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.summary-line:last-of-type { border-bottom: none; }
.summary-line-name { color: var(--text); }
.summary-line-meta { color: var(--text-light); font-size: 0.78rem; }

/* ============ ORDER SUCCESS ============ */
.success-page {
    padding: 70px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.success-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow);
}
.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #15803d 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 3rem;
    animation: scaleIn 0.5s ease-out;
}
.success-card h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}
.success-card p { color: var(--text-light); margin-bottom: 26px; }
.order-id-box {
    background: var(--bg-alt);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 18px;
    margin: 22px 0;
}
.order-id-box span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 6px;
}
.order-id-box strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary);
    letter-spacing: 2px;
}

.order-detail {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 22px;
    margin: 22px 0;
    text-align: left;
}
.order-detail h3 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ============ FILTERS / LISTING ============ */
.products-page { padding: 40px 0; }
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}
.products-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px;
    height: fit-content;
    position: sticky;
    top: 90px;
}
.filter-group { margin-bottom: 22px; }
.filter-group h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--secondary);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.filter-list { display: flex; flex-direction: column; gap: 8px; }
.filter-list a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-list a:hover, .filter-list a.active {
    background: var(--primary);
    color: white;
}
.filter-list .count { font-size: 0.78rem; opacity: 0.7; }

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.products-count { color: var(--text-light); font-size: 0.92rem; }
.products-sort select {
    padding: 8px 30px 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-alt);
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
}

/* ============ FEATURES STRIP ============ */
.features-strip {
    background: var(--secondary);
    color: white;
    padding: 24px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}
.feature-cell-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-cell strong { display: block; font-size: 0.95rem; }
.feature-cell span { font-size: 0.78rem; opacity: 0.8; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-light);
    line-height: 1;
}
.testimonial-rating { margin-bottom: 12px; }
.testimonial-text {
    color: var(--text);
    margin-bottom: 18px;
    font-style: italic;
    line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-author strong { display: block; color: var(--text); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-light); }

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 215, 0, 0.15), transparent 50%);
}
.cta-banner > .container { position: relative; }
.cta-banner h2 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}
.cta-banner p { opacity: 0.9; margin-bottom: 26px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============ FOOTER ============ */
.footer {
    background: #1A0E08;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col {}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
}
.footer-brand-sub {
    font-size: 0.7rem;
    color: var(--primary-light);
    letter-spacing: 1.5px;
    margin-top: 2px;
}
.footer-about {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
    opacity: 0.75;
}
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
    background: rgba(255, 182, 39, 0.15);
    color: var(--primary-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.footer-heading {
    color: white;
    font-size: 1rem;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.85;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--primary-light); }
.footer-contact-item a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.7;
}
.cod-pill {
    background: rgba(232, 93, 4, 0.2);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ============ RECENT ORDER POPUP ============ */
.recent-order {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--surface);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    z-index: 90;
    animation: slideUp 0.4s ease-out;
    border: 1px solid var(--border);
}
.recent-order-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.recent-order-text { font-size: 0.82rem; line-height: 1.4; flex: 1; }
.recent-order-text strong { color: var(--text); }
.recent-order-meta { color: var(--text-light); font-size: 0.75rem; margin-top: 2px; }
.recent-order-close {
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 4px;
}

/* ============ ABOUT / CONTACT PAGES ============ */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.page-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}
.page-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}
.about-content h2 { color: var(--secondary); margin-bottom: 16px; font-size: 2rem; }
.about-content p { color: var(--text-light); margin-bottom: 16px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.value-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232, 93, 4, 0.2); }
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.8rem;
}
.value-card h3 { color: var(--secondary); font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--text-light); font-size: 0.92rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.contact-info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
}
.contact-info-card h3 { color: var(--secondary); margin-bottom: 22px; font-size: 1.4rem; }
.contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-block strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 1rem;
}
.contact-info-block p, .contact-info-block a { color: var(--text-light); font-size: 0.92rem; line-height: 1.5; }
.contact-info-block a:hover { color: var(--primary); }

/* ============ ALERTS / FLASH MESSAGES ============ */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}
.alert-success { background: rgba(22, 163, 74, 0.1); color: var(--success); border: 1px solid rgba(22, 163, 74, 0.25); }
.alert-error { background: rgba(220, 38, 38, 0.1); color: var(--danger); border: 1px solid rgba(220, 38, 38, 0.25); }

/* ============ ANIMATIONS ============ */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .categories, .products-grid, .features-grid, .testimonials-grid, .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-grid, .about-grid, .product-detail-grid, .cart-grid, .checkout-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-floating-1 { left: 0; }
    .hero-floating-2 { right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .cart-summary { position: static; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 24px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 200;
        overflow-y: auto;
    }
    .nav.open { right: 0; }
    .nav-link { width: 100%; padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
    .menu-toggle { display: flex; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 150;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    .nav-overlay.show { opacity: 1; pointer-events: auto; }

    .hero { padding: 40px 0 60px; }
    .hero-stats { gap: 18px; }
    .hero-stat-num { font-size: 1.4rem; }

    .categories, .products-grid, .features-grid, .testimonials-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }

    .product-detail { padding: 30px 0; }
    .product-cta-row { flex-direction: column; }
    .cart-item { grid-template-columns: 80px 1fr; gap: 14px; }
    .cart-item-img { width: 80px; height: 80px; }
    .cart-item-price { grid-column: 1 / -1; text-align: right; padding-top: 8px; border-top: 1px dashed var(--border); }

    .recent-order { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .topbar-text { font-size: 0.72rem; }
    .header-inner { padding: 12px 14px; }
    .container { padding: 0 14px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 1rem; min-height: auto; }
    .price-now { font-size: 1.05rem; }
    .product-features { grid-template-columns: 1fr; }
    .hero-floating { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}
