/* ==========================================================================
   FESTIVE CRACKER E-COMMERCE DESIGN SYSTEM
   Theme: Vibrant Festival Fireworks & Night Sparkles
   ========================================================================== */

:root {
    --bg-main: #0a0614;
    --bg-secondary: #120b22;
    --bg-card: rgba(26, 16, 46, 0.85);
    --bg-card-hover: rgba(36, 22, 64, 0.95);
    --border-color: rgba(255, 193, 7, 0.18);
    --border-glow: rgba(255, 153, 0, 0.4);

    --primary-gold: #ffb703;
    --primary-amber: #fb8500;
    --accent-crimson: #d90429;
    --accent-red: #ef233c;
    --accent-purple: #8338ec;
    --accent-cyan: #06d6a0;
    --text-main: #f8f9fa;
    --text-muted: #b8b2cb;
    --text-gold: #ffe066;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 0 25px rgba(251, 133, 0, 0.35);
    --shadow-gold-glow: 0 0 20px rgba(255, 183, 3, 0.4);
}

/* Base & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(131, 56, 236, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(251, 133, 0, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 70%, rgba(217, 4, 41, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Fireworks Background Canvas */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
}

.site-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Top Announcement Marquee */
.festive-ticker {
    background: linear-gradient(90deg, #9d0208, #d90429, #fb8500, #d90429, #9d0208);
    background-size: 200% auto;
    animation: gradientShift 6s linear infinite;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    text-align: center;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(217, 4, 41, 0.4);
}

.festive-ticker .badge-pulse {
    background: #ffe066;
    color: #000;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Main Navbar */
.site-header {
    background: rgba(18, 11, 34, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-amber), var(--accent-crimson));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(251, 133, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.1;
    background: linear-gradient(120deg, #fff 20%, var(--primary-gold) 60%, var(--primary-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-gold);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Nav Search */
.nav-search {
    flex: 1;
    max-width: 460px;
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 0.4rem 1rem;
    transition: all 0.3s ease;
}

.search-input-wrap:focus-within {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.25);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    width: 100%;
    margin-left: 0.6rem;
}

.search-input::placeholder {
    color: #8c85a2;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Nav Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.cart-nav-btn {
    background: linear-gradient(135deg, var(--accent-crimson), var(--primary-amber));
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.35);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.5);
}

.cart-count-badge {
    background: #fff;
    color: var(--accent-crimson);
    font-size: 0.75rem;
    font-weight: 900;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 999px;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-count-badge.bump {
    transform: scale(1.35);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 3rem 0 2.5rem;
    background: linear-gradient(180deg, rgba(18, 11, 34, 0.7) 0%, rgba(10, 6, 20, 0.95) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 183, 3, 0.3);
    box-shadow: var(--shadow-card), 0 0 35px rgba(251, 133, 0, 0.2);
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.72) saturate(1.15);
    transition: transform 10s ease;
}

.hero-banner-card:hover .hero-banner-bg {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 6, 20, 0.92) 0%, rgba(10, 6, 20, 0.7) 50%, rgba(10, 6, 20, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
    padding: 2.5rem 3rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

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

.hero-desc {
    font-size: 1.05rem;
    color: #d1c7e6;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-amber), var(--accent-crimson));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(251, 133, 0, 0.4);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Trust Badges Bar */
.trust-badges-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-badge-item {
    background: rgba(26, 16, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    backdrop-filter: blur(8px);
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 183, 3, 0.15);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-title {
    font-weight: 700;
    font-size: 0.88rem;
    color: #fff;
    line-height: 1.2;
}

.trust-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Category Filter Tabs / Pills */
.category-filter-section {
    padding: 1.5rem 0 0.5rem;
}

.category-scroll-container {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-amber) rgba(255, 255, 255, 0.05);
}

.category-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-amber);
    border-radius: 99px;
}

.category-pill {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(26, 16, 46, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.category-pill:hover {
    border-color: var(--primary-gold);
    background: rgba(45, 28, 77, 0.9);
    transform: translateY(-2px);
}

.category-pill.active {
    background: linear-gradient(135deg, var(--primary-amber), var(--accent-crimson));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4);
}

.category-pill .badge-count {
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    padding: 1px 7px;
    border-radius: 999px;
    font-weight: 700;
}

/* Section Header & Filters Toolbar */
.section-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-select {
    background: rgba(26, 16, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.sort-select:focus {
    border-color: var(--primary-gold);
}

.sort-select option {
    background: var(--bg-secondary);
    color: #fff;
}

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

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), var(--shadow-gold-glow);
    background: var(--bg-card-hover);
}

.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.badge-overlay-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 3;
}

.discount-tag {
    background: linear-gradient(135deg, var(--accent-crimson), var(--accent-red));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(217, 4, 41, 0.5);
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: linear-gradient(135deg, #ffd166, #f77f00);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.product-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.meta-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tag-green {
    background: rgba(6, 214, 160, 0.15);
    color: #06d6a0;
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.tag-sound {
    background: rgba(131, 56, 236, 0.18);
    color: #c77dff;
    border: 1px solid rgba(131, 56, 236, 0.3);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.product-pack-info {
    font-size: 0.78rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
}

.original-price {
    font-size: 0.92rem;
    color: #8c85a2;
    text-decoration: line-through;
}

.save-amount {
    font-size: 0.78rem;
    color: #06d6a0;
    font-weight: 700;
    margin-left: auto;
}

/* Card Add To Cart Action Form */
.card-action-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-control {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 38px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 30px;
    height: 100%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-gold);
}

.qty-input {
    background: transparent;
    border: none;
    color: #fff;
    width: 32px;
    text-align: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-cart {
    flex: 1;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-amber), var(--accent-crimson));
    border: none;
    border-radius: var(--radius-full);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 3px 12px rgba(251, 133, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #ff9e00, #d90429);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(251, 133, 0, 0.5);
}

.btn-add-cart:active {
    transform: scale(0.97);
}

/* ==========================================================================
   CART PAGE STYLING
   ========================================================================== */
.cart-page-header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info .item-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.cart-item-info .item-meta {
    font-size: 0.78rem;
    color: var(--text-gold);
    display: flex;
    gap: 0.75rem;
}

.cart-item-info .item-price {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-total {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-align: right;
    min-width: 90px;
}

.btn-remove-item {
    background: transparent;
    border: none;
    color: #ef233c;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.btn-remove-item:hover {
    background: rgba(239, 35, 60, 0.15);
}

/* Empty Cart State */
.empty-cart-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

/* Free Delivery Meter */
.free-shipping-meter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.meter-text {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.meter-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), #06d6a0);
    border-radius: 999px;
    transition: width 0.5s ease;
}

/* Cart Order Summary Sidebar */
.cart-summary-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 5rem;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    color: #d1c7e6;
}

.summary-line.discount {
    color: #06d6a0;
    font-weight: 700;
}

.summary-line.total {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: #fff;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.coupon-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.coupon-form {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 0.55rem 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    text-transform: uppercase;
    outline: none;
}

.coupon-input:focus {
    border-color: var(--primary-gold);
}

.btn-apply-coupon {
    background: rgba(255, 183, 3, 0.2);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 700;
    padding: 0 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-apply-coupon:hover {
    background: var(--primary-gold);
    color: #000;
}

.active-coupon-badge {
    margin-top: 0.75rem;
    background: rgba(6, 214, 160, 0.15);
    border: 1px dashed #06d6a0;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #06d6a0;
}

/* Customer Checkout Form Card */
.checkout-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

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

.form-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #e2d9f3;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.09);
}

.form-input.is-invalid {
    border-color: #ef233c !important;
    background: rgba(239, 35, 60, 0.08) !important;
    box-shadow: 0 0 10px rgba(239, 35, 60, 0.3) !important;
}

.form-input.is-valid {
    border-color: #06d6a0 !important;
    background: rgba(6, 214, 160, 0.06) !important;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.25) !important;
}

.field-error-text {
    color: #ff6b6b;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.field-feedback-msg {
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.field-feedback-msg.error {
    color: #ff6b6b;
}

.field-feedback-msg.success {
    color: #06d6a0;
}

.field-hint-text {
    font-size: 0.72rem;
    color: #8c85a2;
    margin-top: 0.3rem;
    display: block;
}

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

.btn-checkout-submit {
    width: 100%;
    background: linear-gradient(135deg, #06d6a0, #048a66);
    color: #032b20;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.35);
    transition: all 0.25s ease;
    margin-top: 1.25rem;
}

.btn-checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.5);
    background: linear-gradient(135deg, #2ae7b5, #06d6a0);
    color: #000;
}

/* ==========================================================================
   ORDER CONFIRMATION / SUCCESS PAGE
   ========================================================================== */
.order-success-section {
    padding: 3.5rem 0;
    display: flex;
    justify-content: center;
}

.order-success-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-gold-glow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-badge-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #06d6a0, #00b4d8);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 25px rgba(6, 214, 160, 0.5);
}

.order-number-pill {
    display: inline-block;
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 0.35rem 1.2rem;
    border-radius: 999px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin: 1rem 0 1.5rem;
}

.order-items-table {
    width: 100%;
    text-align: left;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.order-items-table th {
    font-size: 0.82rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.order-items-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: rgba(18, 11, 34, 0.95);
    border: 1px solid var(--primary-gold);
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 183, 3, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    animation: slideInRight 0.3s ease, fadeOut 0.4s ease 3.6s forwards;
    backdrop-filter: blur(10px);
}

.toast.toast-success {
    border-color: #06d6a0;
}

.toast.toast-error {
    border-color: #ef233c;
}

/* Footer */
.site-footer {
    background: #06030c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 0 2rem;
    margin-top: auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
}

.safety-guideline-box {
    background: rgba(255, 183, 3, 0.08);
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-size: 0.8rem;
    color: #ffe066;
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

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

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* ==========================================================================
   EXCLUSIVE UPI CHECKOUT & SCREENSHOT UPLOAD
   ========================================================================== */
.upi-checkout-section {
    background: rgba(14, 8, 28, 0.85);
    border: 1px solid rgba(255, 183, 3, 0.35);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(255, 183, 3, 0.05);
}

.upi-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.upi-badge-exclusive {
    background: linear-gradient(135deg, #06d6a0, #00b4d8);
    color: #05141b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.upi-qr-card {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .upi-qr-card {
        flex-direction: column;
        text-align: center;
    }
}

.upi-qr-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 0.6rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-gold);
    flex-shrink: 0;
}

.upi-qr-image {
    width: 135px;
    height: 135px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.upi-qr-caption {
    font-size: 0.7rem;
    color: #333;
    font-weight: 700;
    margin-top: 0.35rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.upi-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.upi-amount-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 183, 3, 0.12);
    border: 1px solid rgba(255, 183, 3, 0.3);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #fff;
}

.upi-amount-pill strong {
    font-size: 1.15rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
}

.upi-id-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.upi-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upi-copy-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
}

.upi-vpa-text {
    font-family: monospace;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffe066;
    letter-spacing: 0.5px;
    word-break: break-all;
    flex: 1;
}

.btn-copy-upi {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-amber));
    color: #110926;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-copy-upi:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}

.upi-apps-accepted {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.upi-apps-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.upi-apps-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    color: #d1c7e6;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Screenshot Upload Styles */
.upi-screenshot-group {
    margin-top: 1rem;
}

.required-proof-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
}

.required-proof-label span {
    color: #ff6b6b;
    font-weight: 800;
}

.screenshot-dropzone {
    border: 2px dashed rgba(255, 183, 3, 0.45);
    background: rgba(255, 183, 3, 0.04);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-dropzone:hover {
    border-color: var(--primary-gold);
    background: rgba(255, 183, 3, 0.08);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.2);
}

.dropzone-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.4rem;
}

.dropzone-text strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.dropzone-text span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.dropzone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
}

#dropzonePreview {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
}

#screenshotPreviewImg {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #06d6a0;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.preview-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #06d6a0;
}

.preview-filename {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-filesize {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-change-file {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #d1c7e6;
    border-radius: 4px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-change-file:hover {
    color: #fff;
    border-color: #fff;
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: #ffe066;
    margin-top: 0.4rem;
}

/* ==========================================================================
   RESPONSIVE BASE CLASSES & HELPERS
   ========================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.25fr);
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    margin-bottom: 3.5rem;
}

.pondicherry-seo-banner {
    background: linear-gradient(135deg, rgba(30, 20, 50, 0.95), rgba(20, 10, 35, 0.98));
    border: 1px solid rgba(255, 183, 3, 0.25);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seo-faqs-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 183, 3, 0.15);
}

.seo-faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* Prevent horizontal overflow on entire document */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
}

#fireworksCanvas {
    max-width: 100vw;
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- Tablet Landscape & Small Desktops (<= 992px) --- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .cart-page-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .cart-summary-sidebar {
        position: static;
        width: 100%;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 2rem !important;
    }

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

/* --- Standard Mobile & Tablets Portrait (<= 768px) --- */
@media (max-width: 768px) {
    /* Festive Ticker */
    .festive-ticker {
        font-size: 0.74rem;
        padding: 0.35rem 0.6rem;
        gap: 0.35rem 0.6rem;
        flex-wrap: wrap;
        line-height: 1.35;
    }

    .festive-ticker .d-none-sm {
        display: none !important;
    }

    /* Navbar */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem 0.4rem;
        padding: 0.45rem 0;
    }

    .brand-logo {
        order: 1;
        gap: 0.5rem;
    }

    .brand-logo img {
        width: 36px !important;
        height: 36px !important;
        border-radius: 9px !important;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .nav-actions {
        order: 2;
        margin-left: auto;
        gap: 0.4rem;
    }

    .nav-link-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .cart-nav-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
        gap: 0.4rem;
    }

    .cart-count-badge {
        font-size: 0.7rem;
        min-width: 20px;
        height: 20px;
        line-height: 20px;
    }

    .nav-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: 0.15rem;
    }

    .search-input-wrap {
        padding: 0.35rem 0.85rem;
    }

    .search-input {
        font-size: 0.88rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 1rem 0 0.85rem;
    }

    .hero-banner-card {
        min-height: 300px;
        border-radius: var(--radius-md);
    }

    .hero-content {
        padding: 1.35rem 1rem;
    }

    .hero-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.65rem;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
        margin-bottom: 0.65rem;
    }

    .hero-desc {
        font-size: 0.86rem;
        line-height: 1.45;
        margin-bottom: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Trust Badges Bar */
    .trust-badges-bar {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        margin-top: 0.85rem;
    }

    .trust-badge-item {
        padding: 0.6rem 0.7rem;
        gap: 0.5rem;
        border-radius: var(--radius-sm);
    }

    .trust-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .trust-title {
        font-size: 0.78rem;
    }

    .trust-sub {
        font-size: 0.68rem;
    }

    /* Category Filter */
    .category-filter-section {
        padding: 0.75rem 0 0.25rem;
    }

    .category-scroll-container {
        gap: 0.45rem;
        padding: 0.2rem 0 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .category-pill {
        padding: 0.38rem 0.85rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    /* Section Toolbar */
    .section-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        margin: 0.85rem 0;
        padding-bottom: 0.65rem;
    }

    .section-heading {
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

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

    .toolbar-controls {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .toolbar-controls form {
        flex: 1;
    }

    .sort-select {
        width: 100%;
        padding: 0.45rem 0.8rem;
        font-size: 0.84rem;
    }

    /* 2-Column Responsive Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        margin-bottom: 2.25rem;
    }

    .product-card {
        border-radius: var(--radius-sm);
    }

    .badge-overlay-top {
        top: 0.35rem;
        left: 0.35rem;
        right: 0.35rem;
    }

    .discount-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .badge-bestseller {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .product-details {
        padding: 0.65rem 0.55rem;
    }

    .product-meta-tags {
        gap: 0.2rem;
        margin-bottom: 0.3rem;
    }

    .meta-tag {
        font-size: 0.6rem;
        padding: 0.1rem 0.35rem;
        gap: 0.2rem;
    }

    .product-title {
        font-size: 0.86rem;
        line-height: 1.25;
        margin-bottom: 0.2rem;
        min-height: 2.2em;
    }

    .product-pack-info {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .product-description {
        display: none; /* Hide long paragraph on mobile cards for clean uniform height */
    }

    .product-price-row {
        gap: 0.35rem;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1.15rem;
    }

    .original-price {
        font-size: 0.76rem;
    }

    .save-amount {
        font-size: 0.66rem;
        width: 100%;
        margin-left: 0;
    }

    .card-action-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .card-action-row .qty-control {
        width: 100%;
        height: 32px;
        justify-content: space-between;
    }

    .card-action-row .qty-btn {
        width: 32px;
        font-size: 0.95rem;
    }

    .card-action-row .qty-input {
        width: 30px;
        font-size: 0.85rem;
    }

    .card-action-row .btn-add-cart {
        width: 100%;
        height: 34px;
        font-size: 0.78rem;
        gap: 0.3rem;
    }

    /* Pondicherry SEO Section */
    .pondicherry-seo-banner {
        padding: 1.35rem 1rem !important;
    }

    .seo-features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .seo-faqs-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* Cart Page Mobile Adjustments */
    .cart-page-header {
        padding: 1.1rem 0 0.85rem;
        margin-bottom: 1.1rem;
    }

    .cart-page-header h1 {
        font-size: 1.35rem !important;
    }

    .cart-items-panel {
        padding: 0.85rem 0.65rem;
    }

    .cart-item-row {
        grid-template-columns: 65px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0.65rem 0.65rem !important;
        padding: 0.85rem 0 !important;
    }

    .cart-item-thumb {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 65px !important;
        height: 65px !important;
    }

    .cart-item-info {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .cart-item-info .item-name {
        font-size: 0.92rem !important;
    }

    .cart-item-qty {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .cart-item-row > div:last-child {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .cart-item-total {
        font-size: 1.05rem !important;
        min-width: auto !important;
    }

    /* Mobile iOS input auto-zoom fix: inputs must be at least 16px */
    .form-input, .form-textarea, .form-select {
        font-size: 16px !important;
    }

    .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .checkout-form-card, .summary-card {
        padding: 1.25rem 0.95rem !important;
    }

    /* Product Detail Page */
    .product-showcase-grid {
        padding: 1.25rem 0.85rem !important;
    }

    .product-info-side h1 {
        font-size: 1.45rem !important;
    }

    /* Order Success Page */
    .order-success-card {
        padding: 1.35rem 0.95rem !important;
    }

    .order-success-card h1 {
        font-size: 1.4rem !important;
    }

    /* Footer */
    .site-footer {
        padding: 2.25rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* --- Compact Phones (<= 480px) --- */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .nav-link-btn span {
        display: none; /* Icon only on extra small phones */
    }

    .nav-link-btn {
        padding: 0.4rem 0.55rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-content {
        padding: 1.15rem 0.75rem;
    }

    .trust-badges-bar {
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }

    .trust-badge-item {
        padding: 0.45rem 0.5rem;
    }

    .trust-title {
        font-size: 0.72rem;
    }

    .trust-sub {
        font-size: 0.62rem;
    }

    .products-grid {
        gap: 0.5rem;
    }

    .product-details {
        padding: 0.55rem 0.45rem;
    }

    .product-title {
        font-size: 0.82rem;
    }

    .current-price {
        font-size: 1.05rem;
    }

    .order-items-table th, .order-items-table td {
        padding: 0.4rem 0.25rem;
        font-size: 0.78rem;
    }

    .order-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    .order-summary-grid > div[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }

    .cart-recommended-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
}

/* --- Ultra-Narrow Screens (<= 340px) --- */
@media (max-width: 340px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges-bar {
        grid-template-columns: 1fr;
    }

    .cart-recommended-grid {
        grid-template-columns: 1fr !important;
    }
}
