/* ==========================================================================
   RiddhishreeAqua - Master Design System & Stylesheet
   Brand Theme: Deep Ocean Blue (#0755A4), Aqua (#12B9E8), Accent Green (#4CAF50)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --primary: #0755A4;
    --primary-dark: #053b75;
    --primary-light: #166dc7;
    --secondary: #12B9E8;
    --secondary-dark: #0ea1cc;
    --secondary-light: #52cef2;
    --accent: #4CAF50;
    --accent-dark: #3b8e3e;
    --navy-950: #040e1c;
    --navy-900: #071b33;
    --navy-850: #0B2A4A;
    --navy-800: #102A43;
    --ink-700: #243b53;
    --ink-500: #486581;
    --ink-400: #627d98;
    --ink-300: #829ab1;
    --line: #d9e8f0;
    --line-light: #edf5f8;
    --bg-light: #F0FAFD;
    --bg-ice: #F5FAFD;
    --white: #FFFFFF;
    --gold: #f59e0b;
    --danger: #e53e3e;
    --danger-light: #fed7d7;
    --success: #38a169;
    --success-light: #c6f6d5;

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

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

    --shadow-sm: 0 2px 8px rgba(7, 85, 164, 0.06);
    --shadow-md: 0 10px 25px rgba(7, 85, 164, 0.09);
    --shadow-lg: 0 20px 45px rgba(7, 85, 164, 0.14);
    --shadow-card: 0 6px 20px rgba(11, 42, 74, 0.06);

    --grad-primary: linear-gradient(135deg, #0755A4 0%, #12B9E8 100%);
    --grad-aqua: linear-gradient(135deg, #12B9E8 0%, #008eb8 100%);
    --grad-hero: linear-gradient(165deg, #071b33 0%, #0B2A4A 45%, #0755A4 100%);
    --grad-surface: linear-gradient(180deg, #FFFFFF 0%, #F0FAFD 100%);

    --container: 1240px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--navy-800);
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy-850);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

@media (max-width: 768px) {
    .container {
        padding-inline: 16px;
    }
}

/* ==========================================================================
   Typography & Utility Classes
   ========================================================================== */
.section {
    padding-block: clamp(56px, 7vw, 96px);
    position: relative;
}

.section-tight {
    padding-block: clamp(40px, 5vw, 68px);
}

.section-tint {
    background: var(--bg-light);
}

.section-ice {
    background: var(--bg-ice);
}

.section-dark {
    background: var(--navy-900);
    color: #ffffff;
}

.section-head {
    max-width: 680px;
    margin-bottom: clamp(32px, 5vw, 54px);
}

.section-head.center {
    text-align: center;
    margin-inline: auto;
}

.section-head h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    margin-top: 10px;
}

.section-head p {
    color: var(--ink-500);
    font-size: clamp(15.5px, 1.3vw, 17.5px);
    margin-top: 14px;
    line-height: 1.7;
}

.section-dark .section-head h2 {
    color: #FFFFFF;
}

.section-dark .section-head p {
    color: #cbd5e1;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.eyebrow.accent::before {
    background: var(--accent);
}

.eyebrow.on-dark {
    color: var(--secondary-light);
}

.eyebrow.on-dark::before {
    background: var(--secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(7, 85, 164, 0.32);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(7, 85, 164, 0.45);
    background: linear-gradient(135deg, #064b91 0%, #10a8d4 100%);
}

.btn-secondary {
    background: var(--secondary);
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(18, 185, 232, 0.35);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    box-shadow: 0 12px 28px rgba(18, 185, 232, 0.45);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(7, 85, 164, 0.25);
}

/* Product Inquiry Buttons */
.btn-product-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0f7ff;
    color: #0755A4 !important;
    border: 1.5px solid #0755A4;
    padding: 12px 14px;
    border-radius: var(--radius-sm, 10px);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(7, 85, 164, 0.08);
    width: 100%;
    text-decoration: none;
}

.btn-product-inquiry svg {
    stroke: #0755A4;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.btn-product-inquiry span {
    color: #0755A4 !important;
    transition: color 0.2s ease;
}

.btn-product-inquiry:hover {
    background: #0755A4;
    border-color: #0755A4;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(7, 85, 164, 0.3);
    transform: translateY(-2px);
}

.btn-product-inquiry:hover svg {
    stroke: #ffffff;
    transform: scale(1.08);
}

.btn-product-inquiry:hover span {
    color: #ffffff !important;
}

.btn-product-inquiry:active {
    transform: translateY(0);
}

.btn-product-inquiry-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid #0755A4;
    background: #f0f7ff;
    color: #0755A4 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-product-inquiry-mobile svg {
    stroke: #0755A4;
    transition: stroke 0.2s ease;
}

.btn-product-inquiry-mobile:hover,
.btn-product-inquiry-mobile:active {
    background: #0755A4;
    color: #ffffff !important;
}

.btn-product-inquiry-mobile:hover svg,
.btn-product-inquiry-mobile:active svg {
    stroke: #ffffff;
}

.btn-cancel {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    border-color: #94a3b8;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13.5px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16.5px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217, 232, 240, 0.7);
}

.header-sticky.scrolled {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(7, 85, 164, 0.08);
    border-bottom-color: var(--line);
}

.nav-container {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand:hover img {
    transform: scale(1.03);
}

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

.nav-brand-title span.title-main {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.nav-brand-title span.title-sub {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy-800);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    transition: all 0.22s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-link.active {
    color: #ffffff;
    background: var(--primary);
}

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

.nav-cart-btn {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-850);
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-cart-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.05);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(18, 185, 232, 0.4);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--navy-850);
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
}

/* Mobile Navigation Drawer */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 51, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    background: #ffffff;
    z-index: 1060;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-shadow: -10px 0 35px rgba(7, 27, 51, 0.2);
}

.mobile-nav-drawer.is-active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}

.mobile-nav-close {
    background: var(--bg-light);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-800);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--navy-800);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--bg-light);
    color: var(--primary);
}

/* ==========================================================================
   Hero Section & Cinematic Video
   ========================================================================== */
.hero-section {
    position: relative;
    background: var(--grad-hero);
    min-height: clamp(580px, 85vh, 800px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    filter: brightness(0.9) contrast(1.15);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 27, 51, 0.92) 0%,
        rgba(11, 42, 74, 0.82) 45%,
        rgba(7, 85, 164, 0.75) 100%
    );
    z-index: 2;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding-block: clamp(60px, 9vw, 110px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 185, 232, 0.16);
    border: 1px solid rgba(18, 185, 232, 0.4);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: var(--secondary-light);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-badge-pill span.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(36px, 5.2vw, 64px);
    color: #ffffff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span.highlight {
    background: linear-gradient(120deg, #12B9E8, #52cef2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(16px, 1.4vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.68;
    max-width: 580px;
    margin-bottom: 34px;
}

@media (max-width: 992px) {
    .hero-desc {
        margin-inline: auto;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
}

.hero-preview-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 60px rgba(4, 14, 28, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease;
    max-width: 520px;
    width: 100%;
}

.hero-preview-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
}

.hero-preview-image {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.hero-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
}

.hero-preview-video-wrap {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    background: #020b18;
}

.hero-showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
    pointer-events: none !important;
    user-select: none !important;
    border: none !important;
    outline: none !important;
}

.hero-preview-badge {
    position: absolute;
    bottom: -12px;
    background: #ffffff;
    color: var(--navy-850);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Water Droplets, Ripples & Animation System
   ========================================================================== */
.water-droplets-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 4;
}

.droplet {
    position: absolute;
    top: -20px;
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(18, 185, 232, 0.6));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    filter: drop-shadow(0 2px 4px rgba(7, 85, 164, 0.2));
    animation: fallDown linear infinite;
}

@keyframes fallDown {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) scaleY(1.4);
        opacity: 0;
    }
}

.bubble {
    position: absolute;
    bottom: -30px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(18, 185, 232, 0.25) 60%, rgba(7, 85, 164, 0.4));
    border-radius: 50%;
    pointer-events: none;
    animation: riseBubble linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@keyframes riseBubble {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50vh) translateX(15px) scale(1);
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(-15px) scale(1.1);
        opacity: 0;
    }
}

.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 48px;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(18, 185, 232, 0.4);
}

.product-media {
    position: relative;
    aspect-ratio: 1;
    background: var(--grad-surface);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-media img {
    max-height: 86%;
    max-width: 86%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 18px rgba(7, 85, 164, 0.08));
}

.product-card:hover .product-media img {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-discount {
    background: #e53e3e;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.badge-featured {
    background: var(--primary);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.badge-stock-out {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fef2f2;
    color: #e53e3e;
    border: 1px solid #fecaca;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.product-quick-view-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-850);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-card:hover .product-quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-850);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-name a:hover {
    color: var(--primary);
}

.product-desc {
    font-size: 13.5px;
    color: var(--ink-500);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 16px;
}

.price-current {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    font-size: 14.5px;
    color: var(--ink-400);
    text-decoration: line-through;
}

.product-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-add-cart {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-buy-now {
    background: var(--grad-primary);
    color: #ffffff !important;
    border: none;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.btn-whatsapp-inquiry {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e8f8ed;
    color: #1a8740;
    border: 1px solid #b7ebc7;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-whatsapp-inquiry:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

/* ==========================================================================
   Features & "Why Choose Us" Cards
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.feature-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-wrap {
    background: var(--grad-primary);
    color: #ffffff;
}

.feature-box h3 {
    font-size: 18.5px;
    margin-bottom: 10px;
    color: var(--navy-850);
}

.feature-box p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.6;
}

/* ==========================================================================
   Slide-out Cart Drawer
   ========================================================================== */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 51, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: #ffffff;
    z-index: 1110;
    box-shadow: -15px 0 45px rgba(7, 27, 51, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.cart-drawer-header h3 {
    font-size: 19px;
    color: var(--navy-850);
}

.cart-drawer-close {
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--navy-800);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-light);
    position: relative;
}

.cart-drawer-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    padding: 4px;
}

.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}

.cart-drawer-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-850);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-drawer-item-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.cart-qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 28px;
}

.cart-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--navy-850);
}

.cart-qty-btn:hover {
    background: var(--bg-light);
}

.cart-qty-val {
    min-width: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: var(--ink-300);
    cursor: pointer;
    padding: 4px;
}

.cart-item-remove-btn:hover {
    color: var(--danger);
}

.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    background: var(--bg-ice);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: var(--ink-500);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 800;
    color: var(--navy-850);
}

.cart-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--ink-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ==========================================================================
   Order Tracking Timeline
   ========================================================================== */
.tracking-search-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-card);
    max-width: 600px;
    margin: 0 auto 36px;
}

.tracking-timeline {
    position: relative;
    padding-left: 32px;
    margin: 28px 0;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 11px;
    width: 2px;
    background: var(--line);
}

.timeline-step {
    position: relative;
    padding-bottom: 24px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-step.completed .timeline-node {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.timeline-step.active .timeline-node {
    background: var(--secondary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(18, 185, 232, 0.25);
}

.timeline-step.cancelled .timeline-node {
    background: var(--danger);
    border-color: var(--danger);
}

.timeline-content h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy-850);
}

.timeline-content p {
    font-size: 13.5px;
    color: var(--ink-500);
    margin-top: 2px;
}

.timeline-content small {
    font-size: 12px;
    color: var(--ink-400);
}

/* ==========================================================================
   Sticky Floating Contact Actions (Phone on top, WhatsApp below)
   ========================================================================== */
.floating-contact-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
}

.floating-action-btn[data-label]::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #0b192c;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-action-btn[data-label]:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.floating-action-btn.floating-phone {
    background: linear-gradient(135deg, #0755A4 0%, #12B9E8 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(7, 85, 164, 0.4);
}

.floating-action-btn.floating-phone:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 28px rgba(7, 85, 164, 0.55);
}

.floating-action-btn.floating-phone::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #12B9E8;
    animation: pulsePhoneWave 2.4s infinite;
}

@keyframes pulsePhoneWave {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

.floating-action-btn.floating-whatsapp,
.floating-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.floating-action-btn.floating-whatsapp:hover,
.floating-whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-action-btn.floating-whatsapp::before,
.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulseWave 2.2s infinite;
}

@keyframes pulseWave {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--navy-950);
    color: #9bb0c4;
    padding-top: clamp(48px, 6vw, 76px);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

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

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

.footer-col h4 {
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--secondary);
    margin-top: 6px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14.5px;
    color: #9bb0c4;
}

.footer-links a:hover {
    color: var(--secondary-light);
    transform: translateX(4px);
    display: inline-block;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
}

.footer-dev-credit a {
    color: var(--secondary-light);
    font-weight: 600;
    text-decoration: underline;
}

.footer-dev-credit a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: auto;
    animation: slideInRight 0.3s ease;
    max-width: 380px;
}

.toast.toast-success {
    border-left: 4px solid var(--accent);
}

.toast.toast-error {
    border-left: 4px solid var(--danger);
}

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

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 51, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.is-active {
    display: flex;
}

.modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(7, 27, 51, 0.3);
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Checkout & Cart Layout with Sticky Summary Sidebar
   ========================================================================== */
.checkout-layout-grid,
.cart-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) 420px;
    gap: 36px;
    align-items: stretch;
}

.checkout-main-col,
.cart-main-col {
    min-width: 0;
}

.checkout-sidebar-col,
.cart-sidebar-col {
    position: relative;
    height: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.checkout-order-review-sticky,
.cart-summary-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    z-index: 30;
    max-height: calc(100vh - var(--nav-height) - 36px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    width: 100%;
    box-sizing: border-box;
}

.checkout-order-review-sticky::-webkit-scrollbar,
.cart-summary-sticky::-webkit-scrollbar {
    width: 6px;
}
.checkout-order-review-sticky::-webkit-scrollbar-thumb,
.cart-summary-sticky::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

@media (max-width: 1080px) and (min-width: 901px) {
    .checkout-layout-grid,
    .cart-layout-grid {
        grid-template-columns: minmax(0, 1.4fr) 380px;
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .checkout-layout-grid,
    .cart-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .checkout-sidebar-col,
    .cart-sidebar-col {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .checkout-order-review-sticky,
    .cart-summary-sticky {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Product Detail Layout with Sticky Media Showcase
   ========================================================================== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
    align-items: stretch;
}

.product-media-col {
    position: relative;
    height: 100%;
}

.product-media-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--nav-height) + 16px);
    z-index: 20;
    max-height: calc(100vh - var(--nav-height) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.product-media-sticky::-webkit-scrollbar {
    width: 6px;
}
.product-media-sticky::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.product-badge-discount {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 25;
    background: #e53e3e;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.35);
    letter-spacing: 0.02em;
    pointer-events: none;
}

.product-info-col {
    min-width: 0;
}

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-media-sticky {
        position: static;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }
}

/* ==========================================================================
   Pagination System (Frontend & Shared)
   ========================================================================== */
.admin-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    width: 100%;
}

.admin-pagination-info {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}

.admin-pagination-info strong {
    color: var(--navy-850);
    font-weight: 700;
}

.admin-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.admin-pagination-list li {
    display: inline-block;
    list-style: none;
}

.admin-pagination-list li .page-link,
.admin-pagination-list li a,
.admin-pagination-list li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: #334e68;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
    user-select: none;
}

.admin-pagination-list li a:hover {
    background: #f0f7ff;
    color: var(--primary);
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.admin-pagination-list li.active .page-link,
.admin-pagination-list li.active span {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(7, 85, 164, 0.28);
    font-weight: 700;
}

.admin-pagination-list li.disabled .page-link,
.admin-pagination-list li.disabled span {
    color: #cbd5e1 !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed;
    opacity: 0.75;
}

@media (max-width: 640px) {
    .admin-pagination-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* ==========================================================================
   MOBILE APP EXPERIENCE DESIGN SYSTEM (Screens <= 768px)
   ========================================================================== */

/* 1. Base Mobile Spacing & Padding */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        font-size: 15px;
    }

    body.has-sticky-product-bar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .container {
        padding-inline: 14px;
    }

    .section {
        padding-block: clamp(36px, 6vw, 56px);
    }

    .section-tight {
        padding-block: 28px;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .section-head h2 {
        font-size: clamp(22px, 5.5vw, 28px);
    }

    .section-head p {
        font-size: 14px;
    }

    /* iOS smooth tap feedback */
    a, button {
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent iOS auto-zoom on form inputs */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* 2. Top Header & Announcement Bar Mobile Refinements */
.btn-desktop-whatsapp {
    display: none;
}
@media (min-width: 992px) {
    .btn-desktop-whatsapp {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    .header-sticky {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-sticky .nav-container {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        padding-inline: 14px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .header-sticky .nav-brand {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
    }

    .header-sticky .nav-brand img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        max-width: 165px !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain !important;
        vertical-align: middle !important;
    }

    .header-sticky .nav-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-cart-btn {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .hamburger-btn {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        background: none !important;
        border: none !important;
        color: var(--navy-850) !important;
    }

    .hamburger-btn svg {
        display: block !important;
        margin: auto !important;
    }
}

/* 3. Native Mobile App Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(7, 85, 164, 0.12);
        box-shadow: 0 -4px 22px rgba(7, 27, 51, 0.08);
        z-index: 1045;
        align-items: center;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        color: #64748b;
        text-decoration: none;
        font-size: 10.5px;
        font-weight: 600;
        gap: 3px;
        transition: color 0.15s ease, transform 0.15s ease;
        position: relative;
    }

    .mobile-bottom-nav-item:active {
        transform: scale(0.92);
    }

    .mobile-bottom-nav-item.is-active {
        color: var(--primary);
        font-weight: 800;
    }

    .mobile-bottom-nav-item.is-active svg {
        stroke: var(--primary);
    }

    .mobile-bottom-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 22px;
        position: relative;
    }

    .mobile-bottom-cart-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: #e53e3e;
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        min-width: 17px;
        height: 17px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 6px rgba(229, 62, 62, 0.4);
    }

    .mobile-bottom-nav-whatsapp {
        color: #1a8740;
    }

    .floating-contact-actions {
        bottom: 74px !important;
        right: 14px !important;
        gap: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        z-index: 1050 !important;
    }

    .floating-action-btn {
        width: 46px !important;
        height: 46px !important;
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .floating-action-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .floating-action-btn.floating-whatsapp svg {
        width: 25px !important;
        height: 25px !important;
    }

    .floating-action-btn::after {
        display: none !important;
    }

    .floating-action-btn::before {
        inset: -4px !important;
    }
}

/* 4. App-Style 2-Column Product Cards (Mobile) */
@media (max-width: 768px) {
    .product-card {
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(7, 85, 164, 0.05);
        border: 1px solid var(--line);
    }

    .product-card:active {
        transform: scale(0.98);
    }

    .product-media {
        padding: 10px;
        aspect-ratio: 1;
        background: #F8FBFF;
    }

    .product-quick-view-btn {
        display: none !important;
    }

    .product-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .badge-discount {
        font-size: 10px;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 6px;
    }

    .badge-featured {
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 6px;
    }

    .badge-stock-out {
        bottom: 6px;
        right: 6px;
        font-size: 9.5px;
        padding: 2px 6px;
        border-radius: 6px;
    }

    .product-body {
        padding: 10px 10px 12px;
    }

    .product-name {
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 4px;
        min-height: 36px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-desc {
        display: none;
    }

    .product-price-row {
        margin-top: auto;
        margin-bottom: 8px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .price-current {
        font-size: 16.5px;
        font-weight: 800;
    }

    .price-old {
        font-size: 12px;
    }

    .product-actions-grid {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 6px;
    }

    .btn-add-cart,
    .btn-buy-now {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 8px;
        height: 36px;
    }

    .btn-whatsapp-inquiry {
        padding: 6px 8px;
        font-size: 11.5px;
        border-radius: 8px;
        height: 32px;
    }
}

/* 5. Mobile Sticky Purchase Bar on Product Details Page */
.mobile-product-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-product-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1050;
        align-items: center;
        gap: 10px;
    }

    .mobile-sticky-price-wrap {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .mobile-sticky-label {
        font-size: 11px;
        color: #64748b;
        font-weight: 600;
        text-transform: uppercase;
    }

    .mobile-sticky-price {
        font-size: 18px;
        font-weight: 800;
        color: var(--primary);
    }

    .mobile-sticky-actions {
        display: flex;
        flex: 1;
        gap: 8px;
        align-items: center;
        justify-content: flex-end;
    }

    /* On pages with the product sticky bar, hide the generic bottom nav so they don't collide */
    body.has-sticky-product-bar .mobile-bottom-nav {
        display: none !important;
    }
}

/* 6. Mobile App Horizontal Category Chip Strip */
.app-categories-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.app-categories-strip::-webkit-scrollbar {
    display: none;
}

.app-category-chip {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F0FAFD;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-850);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.app-category-chip:hover,
.app-category-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(7, 85, 164, 0.25);
}

/* 7. Responsive Form Grid Utility Classes (Replaces invalid inline @media) */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.app-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.app-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.checkout-qr-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .form-grid-2,
    .form-grid-3,
    .app-split-grid,
    .app-sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .checkout-qr-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 14px !important;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .feature-box {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .feature-icon-wrap {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .feature-box h3 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
    }

    .feature-box p {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 440px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 8. Hero Section Mobile Optimization */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding-block: 32px 32px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero-badge-pill {
        font-size: 11.5px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(25px, 6.8vw, 32px);
        margin-bottom: 12px;
        line-height: 1.18;
    }

    .hero-desc {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 15px;
    }

    .hero-stats-mobile {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-top: 24px !important;
        padding-top: 18px !important;
        border-top: 1px solid rgba(255,255,255,0.15) !important;
    }

    .hero-stat-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 10px 4px;
        text-align: center;
    }

    .hero-stat-card strong {
        font-size: 18px !important;
        display: block;
    }

    .hero-stat-card div {
        font-size: 10.5px !important;
    }

    .hero-preview-card {
        transform: none !important;
        padding: 14px;
        max-width: 360px;
        margin: 0 auto;
    }

    .hero-preview-image {
        max-width: 240px;
    }

    .hero-preview-video-wrap {
        height: 250px;
        max-width: 100%;
    }
}

/* 9. Mobile Cart Card Formatting */
@media (max-width: 768px) {
    .cart-main-col {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .cart-item-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-bottom: 14px !important;
    }

    .cart-item-mobile-top {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .cart-item-mobile-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        border-top: 1px dashed #edf5f8;
    }

    .cart-summary-sticky {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }
}

/* 10. Mobile & Desktop App-Grade Checkout Styling */
.checkout-header-banner {
    background: linear-gradient(135deg, #071b33 0%, #0755A4 100%);
    color: #ffffff;
    padding: 26px 0 30px 0;
    text-align: center;
}

.checkout-stepper-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checkout-step-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.checkout-step-item:hover {
    color: #ffffff;
}

.checkout-step-item.step-done {
    color: #4ade80;
}

.checkout-step-item.step-active {
    color: #ffffff;
    font-weight: 700;
}

.checkout-step-item .step-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.checkout-step-item.step-done .step-circle {
    background: #16a34a;
    color: #ffffff;
}

.checkout-step-item.step-active .step-circle {
    background: #00A8CC;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 168, 204, 0.6);
}

.step-line {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

.step-line.active {
    background: #4ade80;
}

.checkout-page-title {
    color: #ffffff;
    font-size: clamp(20px, 3.2vw, 28px);
    font-weight: 800;
    margin: 0 0 4px 0;
}

.checkout-page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
}

/* Mobile Quick Order Summary Accordion */
.mobile-order-summary-accordion {
    display: none;
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.summary-toggle-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background: #F0FAFD;
    user-select: none;
    border: none;
    width: 100%;
}

.summary-collapse-content {
    display: none;
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.summary-collapse-content.open {
    display: block;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.summary-item-card {
    display: flex;
    gap: 10px;
    align-items: center;
}

.summary-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}

.summary-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #102A43;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.summary-item-meta {
    font-size: 11.5px;
    color: #64798c;
}

.summary-totals-box {
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #475569;
}

.summary-row.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    font-weight: 800;
    color: #102A43;
    font-size: 14.5px;
}

/* Card Styling */
.checkout-card {
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: var(--radius-lg, 16px);
    padding: 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--line, #edf5f8);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.checkout-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-850, #102A43);
    margin: 0;
}

.checkout-step-num {
    width: 28px;
    height: 28px;
    background: #0755A4;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.secure-badge {
    font-size: 11.5px;
    color: #16a34a;
    font-weight: 700;
    background: #dcfce7;
    padding: 3px 10px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Form Inputs */
.checkout-field {
    margin-bottom: 16px;
}

.checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #102A43;
    margin-bottom: 6px;
}

.checkout-input,
.checkout-select,
.checkout-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line, #cbd5e1);
    border-radius: 10px;
    font-size: 14.5px;
    outline: none;
    background: #ffffff;
    color: #102A43;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
    border-color: #0755A4;
    box-shadow: 0 0 0 3px rgba(7, 85, 164, 0.15);
}

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

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

/* Payment Tiles - Vertical Stack Layout */
.payment-tiles-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    width: 100%;
    box-sizing: border-box;
}

.pay-tile {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid var(--line, #e2e8f0);
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.pay-tile:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.pay-tile.active {
    border-color: #0755A4 !important;
    background: #F0FAFD !important;
    box-shadow: 0 4px 14px rgba(7, 85, 164, 0.12);
}

.pay-tile input[type="radio"] {
    accent-color: #0755A4;
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.pay-tile-icon {
    font-size: 22px;
    margin: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #F0FAFD;
    border: 1px solid #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pay-tile.active .pay-tile-icon {
    background: #e0f2fe;
    border-color: #bae6fd;
}

.pay-tile-body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.pay-tile-title {
    font-weight: 700;
    font-size: 14.5px;
    color: #102A43;
    line-height: 1.3;
}

.pay-tile.active .pay-tile-title {
    color: #0755A4;
}

.pay-tile-desc {
    font-size: 12px;
    color: #64798c;
    margin-top: 3px;
    line-height: 1.35;
}

.pay-tile-tag {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.pay-tile.active .pay-tile-tag {
    background: #0755A4;
    color: #ffffff;
}

/* UPI Mobile App Enhancements */
.upi-app-box {
    background: #ffffff;
    border: 1.5px solid #93c5fd;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
    text-align: center;
}

.upi-fast-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    background: linear-gradient(135deg, #0755A4 0%, #053b73 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(7, 85, 164, 0.3);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.upi-fast-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(7, 85, 164, 0.4);
}

.upi-copy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px;
    margin: 12px auto 6px auto;
    font-size: 13px;
}

.upi-copy-chip code {
    font-weight: 800;
    color: #0369a1;
}

.btn-chip-copy {
    background: #0755A4;
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-chip-copy:hover {
    background: #053b73;
}

.upi-qr-toggle-btn {
    background: none;
    border: none;
    color: #0755A4;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Sticky Bottom Checkout Bar */
.mobile-checkout-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1.5px solid #e2e8f0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.09);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mobile-sticky-total-info {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
}

.mobile-sticky-total-label {
    font-size: 11px;
    color: #64798c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-sticky-total-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0755A4;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.mobile-sticky-info-pill {
    font-size: 10.5px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 7px;
    border-radius: 4px;
}

.mobile-sticky-submit-btn {
    flex: 1;
    max-width: 220px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(7, 85, 164, 0.35);
    border: none;
    cursor: pointer;
}

/* Mobile Responsive Breakpoints - Strictly Prevent Horizontal Overflow */
@media (max-width: 900px) {
    .checkout-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .checkout-main-col,
    .checkout-sidebar-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .checkout-order-review-sticky {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    /* Prevent page-wide horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .checkout-section {
        padding-top: 14px !important;
        padding-bottom: 80px !important; /* Space above mobile bottom nav */
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .checkout-section .container {
        padding-inline: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    #checkout-form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .checkout-header-banner {
        padding: 16px 0 18px 0 !important;
    }

    .checkout-stepper-wrap {
        padding: 4px 10px !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        max-width: 100% !important;
    }

    .checkout-step-item .step-text {
        font-size: 11px !important;
    }

    .step-line {
        width: 12px !important;
    }

    .checkout-page-title {
        font-size: 20px !important;
    }

    .checkout-page-subtitle {
        font-size: 11.5px !important;
    }

    .mobile-order-summary-accordion {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Cards contained to screen */
    .checkout-card,
    .checkout-order-review-sticky {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .checkout-card-header {
        margin-bottom: 14px !important;
        padding-bottom: 10px !important;
    }

    .checkout-card-title {
        font-size: 15px !important;
    }

    /* Force all form grids to 1 single full-width column */
    .form-grid-2,
    .form-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .checkout-field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin-bottom: 12px !important;
    }

    .checkout-input,
    .checkout-select,
    .checkout-textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        padding: 11px 12px !important;
    }

    /* Payment option tiles on mobile */
    .payment-tiles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pay-tile {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 12px 14px !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pay-tile input[type="radio"] {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .pay-tile-icon {
        font-size: 22px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .pay-tile-body {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .pay-tile-title {
        font-size: 13.5px !important;
    }

    .pay-tile-desc {
        font-size: 11px !important;
    }

    .pay-tile-tag {
        margin-top: 0 !important;
        align-self: center !important;
        font-size: 10.5px !important;
        padding: 2px 7px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .upi-app-box {
        padding: 14px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .upi-fast-pay-btn {
        font-size: 13.5px !important;
        padding: 11px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .upi-copy-chip {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* Hide redundant second floating bar to avoid clashing with native bottom nav */
    .mobile-checkout-sticky-bar {
        display: none !important;
    }
}

/* Order Review Card Elements - Responsive & Guaranteed No Overflow */
.checkout-order-review-card {
    background: #F0FAFD;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    width: 100%;
    max-width: 380px;
    min-width: 0;
}

.checkout-review-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 6px 0;
}

.checkout-review-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--line);
    padding: 2px;
    flex-shrink: 0;
}

.checkout-review-item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.checkout-review-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #102A43;
    line-height: 1.38;
    margin-bottom: 3px;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkout-review-item-qty {
    font-size: 11.5px;
    color: #64798c;
    margin-top: 2px;
}

.checkout-review-item-price {
    font-size: 13.5px;
    font-weight: 800;
    color: #0755A4;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 8px;
    padding-top: 2px;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13.5px;
    color: #486581;
    width: 100%;
    box-sizing: border-box;
}

.checkout-grand-total-row {
    border-top: 2px solid var(--line);
    padding-top: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.grand-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #102A43;
}

.grand-total-val {
    font-size: 20px;
    font-weight: 800;
    color: #0755A4;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .checkout-order-review-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .grand-total-val {
        font-size: 18px !important;
    }
}



