/* ============================================
   PAWAN NOVELTY - Main Stylesheet
   ============================================ */

/* Google Fonts already loaded via PHP header */

:root {
    --primary: #F59E0B;
    --primary-dark: #D97706;
    --secondary: #EC4899;
    --secondary-dark: #DB2777;
    --accent: #3B82F6;
    --accent-dark: #2563EB;
    --teal: #10B981;
    --orange: #F97316;
    --purple: #8B5CF6;
    --bg: #FEFCE8;
    --card-bg: #FFFFFF;
    --text: #1F2937;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

ul { list-style: none; }

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

/* ====== LOADER ====== */
.loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #FEF3C7, #FCE7F3, #DBEAFE);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner { text-align: center; }

.loader-gift {
    font-size: 60px;
    animation: bounce 0.8s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

.loader-inner p {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

/* ====== TOAST ====== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--text);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-hover);
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.toast.success { background: var(--teal); }
.toast.error { background: #EF4444; }
.toast.info { background: var(--accent); }

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

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 2px 20px rgba(245,158,11,0.15);
    transition: box-shadow var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon { font-size: 28px; }

.logo-text {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.main-nav a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: translateY(-1px);
}

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

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.cart-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(245,158,11,0.5); }

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all var(--transition);
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: #fff;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,0.5); }

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(236,72,153,0.4);
}

.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(236,72,153,0.5); }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    color: #fff;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59,130,246,0.5); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

.btn-full { width: 100%; }

/* ====== SECTION TITLE ====== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ====== PRODUCT CARD ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.product-card .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--secondary), var(--purple));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .img-wrap img { transform: scale(1.08); }

.product-card .card-body {
    padding: 16px;
}

.product-card .card-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-card .card-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text);
}

.product-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card .price {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-dark);
}

.add-to-cart {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.add-to-cart:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(245,158,11,0.4); }

/* ====== HERO SLIDER ====== */
.hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active { opacity: 1; }

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

.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.slide-content {
    max-width: 680px;
}

.slide-tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.slide-content h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 16px;
    line-height: 1.1;
}

.slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider-btn:hover { background: rgba(255,255,255,0.45); transform: translateY(-50%) scale(1.1); }

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dots span.active {
    background: #fff;
    width: 28px;
    border-radius: 10px;
}

/* ====== CATEGORIES SECTION ====== */
.categories-section {
    padding: 64px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.cat-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-hover); }

.cat-card .cat-icon { font-size: 36px; }

.cat-card.c1 { background: linear-gradient(135deg, var(--primary), var(--orange)); }
.cat-card.c2 { background: linear-gradient(135deg, var(--secondary), var(--purple)); }
.cat-card.c3 { background: linear-gradient(135deg, var(--accent), #6366F1); }
.cat-card.c4 { background: linear-gradient(135deg, var(--teal), #059669); }
.cat-card.c5 { background: linear-gradient(135deg, var(--orange), #DC2626); }

/* ====== HOME SECTIONS ====== */
.home-section { padding: 64px 0; }
.home-section.alt-bg { background: linear-gradient(135deg, #FFF7ED, #FDF2F8); }

/* Festival Section */
.festival-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #1F2937, #111827);
    color: #fff;
}

.festival-section .section-title h2 { color: #fff; }
.festival-section .section-title p { color: rgba(255,255,255,0.7); }

.festival-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.festival-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    transition: transform var(--transition);
}

.festival-card:hover { transform: scale(1.03); }

.festival-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.festival-card-body h3 { font-size: 18px; font-weight: 800; }
.festival-card-body p { font-size: 13px; opacity: 0.85; }

/* ====== SHOP PAGE ====== */
.shop-hero {
    background: linear-gradient(135deg, #FFF7ED, #FDF2F8, #EFF6FF);
    padding: 48px 0 32px;
    text-align: center;
}

.shop-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin-bottom: 12px; }
.shop-hero p { color: var(--text-muted); font-size: 17px; max-width: 500px; margin: 0 auto; }

.shop-controls {
    background: #fff;
    border-bottom: 2px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 76px;
    z-index: 100;
}

.shop-controls-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition);
    background: var(--bg);
}

.search-box input:focus { border-color: var(--primary); }

.category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
}

.shop-main { padding: 48px 0; }

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results .icon { font-size: 60px; margin-bottom: 16px; }
.no-results h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }

/* ====== PRODUCT DETAIL ====== */
.product-detail {
    padding: 64px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--primary); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.product-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 1;
}

.product-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info .cat-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--purple));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h1 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-info .price-big {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.product-info .description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.product-actions { display: flex; flex-direction: column; gap: 12px; }

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    width: fit-content;
}

.qty-control button {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-weight: 800;
    transition: background var(--transition);
}

.qty-control button:hover { background: var(--primary); color: #fff; }

.qty-control input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    background: #fff;
    outline: none;
}

.trust-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-badge .icon { font-size: 20px; }

/* ====== CART PAGE ====== */
.cart-section { padding: 64px 0; }
.cart-section h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 40px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: border-color var(--transition);
}

.cart-item:hover { border-color: var(--primary); }

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.cart-item-info .cat { font-size: 12px; color: var(--secondary); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.cart-item-info .unit-price { font-size: 13px; color: var(--text-muted); }

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.cart-item-price { font-size: 20px; font-weight: 900; color: var(--primary-dark); }

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.cart-qty button {
    width: 32px;
    height: 32px;
    background: var(--bg);
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: 800;
}

.cart-qty button:hover { background: var(--primary); color: #fff; }
.cart-qty span { width: 36px; text-align: center; font-weight: 800; font-size: 15px; }

.remove-btn {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-size: 22px;
    transition: transform var(--transition);
}

.remove-btn:hover { transform: scale(1.2); }

/* Cart Summary */
.cart-summary {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: sticky;
    top: 100px;
}

.cart-summary h2 { font-size: 20px; font-weight: 900; margin-bottom: 20px; }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-of-type { border-bottom: 2px solid var(--primary); }
.summary-row.total { font-size: 18px; font-weight: 900; color: var(--primary-dark); padding-top: 14px; border-bottom: none; }

.free-badge {
    background: var(--teal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 50px;
}

.cart-empty {
    text-align: center;
    padding: 100px 20px;
}

.cart-empty .icon { font-size: 80px; margin-bottom: 20px; }
.cart-empty h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 28px; font-size: 16px; }

/* ====== CHECKOUT ====== */
.checkout-section { padding: 64px 0; }
.checkout-section h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 40px; }

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.checkout-form-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.checkout-form-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-method {
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 15px;
}

.payment-method .icon { font-size: 24px; }

/* Order Summary Sidebar */
.order-summary {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: sticky;
    top: 100px;
}

.order-summary h2 { font-size: 20px; font-weight: 900; margin-bottom: 20px; }

.order-items { max-height: 320px; overflow-y: auto; margin-bottom: 20px; }

.order-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.order-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.order-item-info { flex: 1; }
.order-item-info span { font-size: 13px; font-weight: 700; display: block; line-height: 1.3; }
.order-item-info small { color: var(--text-muted); font-size: 12px; }
.order-item-price { font-weight: 800; font-size: 15px; color: var(--primary-dark); }

/* ====== SUCCESS POPUP ====== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.popup-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transform: scale(0.8);
    transition: transform var(--transition);
}

.popup-overlay.active .popup-card { transform: scale(1); }

.popup-icon { font-size: 70px; margin-bottom: 16px; }
.popup-card h2 { font-size: 28px; font-weight: 900; margin-bottom: 10px; color: var(--teal); }
.popup-card p { color: var(--text-muted); margin-bottom: 8px; font-size: 15px; }
.order-id-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 8px 24px;
    border-radius: 50px;
    margin: 12px 0 24px;
    letter-spacing: 1px;
}

/* ====== ABOUT PAGE ====== */
.about-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; margin-bottom: 16px; }
.about-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

.about-section { padding: 64px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 4/3;
}

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

.about-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.about-content p { color: var(--text-muted); font-size: 16px; line-height: 1.9; margin-bottom: 16px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 48px 0;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 28px 16px;
    border-radius: var(--radius);
    transition: transform var(--transition);
}

.stat-item:hover { transform: translateY(-4px); }
.stat-item h3 { font-size: 36px; font-weight: 900; }
.stat-item p { font-size: 14px; opacity: 0.9; font-weight: 700; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 48px 0;
}

.value-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.value-card:hover { transform: translateY(-6px); }
.value-card .icon { font-size: 42px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ====== CONTACT PAGE ====== */
.contact-hero {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; margin-bottom: 16px; }
.contact-hero p { font-size: 18px; opacity: 0.9; }

.contact-section { padding: 64px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 { font-size: 28px; font-weight: 900; margin-bottom: 24px; }

.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-left: 4px solid var(--primary);
    transition: transform var(--transition);
}

.contact-card:hover { transform: translateX(6px); }
.contact-card .icon { font-size: 32px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.contact-card a:hover { color: var(--primary); }

.map-placeholder {
    background: linear-gradient(135deg, #FFF7ED, #FDF2F8);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed var(--primary);
    gap: 16px;
}

.map-placeholder .icon { font-size: 60px; }
.map-placeholder h3 { font-size: 20px; font-weight: 800; color: var(--text); }
.map-placeholder p { color: var(--text-muted); max-width: 300px; line-height: 1.6; }

/* ====== FOOTER ====== */
.site-footer {
    background: linear-gradient(135deg, #1F2937, #111827);
    color: #fff;
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer h4 {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 16px;
}

.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color var(--transition); }
.site-footer ul a:hover { color: var(--primary); }

.footer-contact address { font-style: normal; }
.footer-contact p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.footer-contact a { color: var(--primary); }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 14px; }

/* ====== PAGE HERO (General) ====== */
.page-hero {
    padding: 56px 0;
    text-align: center;
    background: linear-gradient(135deg, #FFF7ED, #FDF2F8, #EFF6FF);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 12px;
}

.page-hero p { color: var(--text-muted); font-size: 17px; max-width: 500px; margin: 0 auto; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .festival-grid { grid-template-columns: 1fr 1fr; }
    .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        flex-direction: column;
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .main-nav.open { display: flex; }
    .header-inner { position: relative; flex-wrap: wrap; }
    .header-actions { order: 3; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .festival-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-slider { height: 380px; }
    .slide-content h1 { font-size: 32px; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card .card-body { padding: 12px; }
    .product-card .card-title { font-size: 13px; }
    .product-card .price { font-size: 16px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item-actions { flex-direction: row; align-items: center; grid-column: 1/-1; }
}
