@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --bg-color: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d4b;
    --accent-blue: #0b1a30;
    --card-bg: #ffffff;
    --card-border: #e0e0e0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 96px;
}

/* Fixed Navbar (الترويسة الثابتة المعتمدة) */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0.85rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Company Logo (+35% enlargement as requested) */
.cmp-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cmp-logo:hover {
    transform: scale(1.04);
}

.company-text-wrap {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1.2;
}

.company-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
}

.vision-wrapper {
    display: flex;
    align-items: center;
}

.vision-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vision-logo:hover {
    transform: scale(1.05);
}

/* Enhanced Hero Section (رؤية 2030 ومنتجات A.M.U الذكية) */
.hero {
    position: relative;
    padding: 6.5rem 2rem 5.5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, #0d284f 0%, #07172e 60%, #040e1d 100%);
    color: white;
    overflow: hidden;
}

/* Dynamic Animated Ambient Light Orbs */
.hero-aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    mix-blend-mode: screen;
}

.orb-gold {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.45) 0%, rgba(197, 160, 89, 0) 70%);
    top: -80px;
    right: 12%;
    opacity: 0.65;
    animation: floatOrbGold 14s ease-in-out infinite alternate;
}

.orb-green {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.42) 0%, rgba(5, 150, 105, 0) 70%);
    bottom: -100px;
    left: 8%;
    opacity: 0.55;
    animation: floatOrbGreen 18s ease-in-out infinite alternate;
}

.orb-blue {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.48) 0%, rgba(2, 132, 199, 0) 70%);
    top: 25%;
    left: 45%;
    opacity: 0.6;
    animation: floatOrbBlue 12s ease-in-out infinite alternate;
}

.orb-indigo {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.38) 0%, rgba(79, 70, 229, 0) 70%);
    bottom: 5%;
    right: 5%;
    opacity: 0.45;
    animation: floatOrbIndigo 16s ease-in-out infinite alternate;
}

@keyframes floatOrbGold {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-50px, 45px) scale(1.18); }
    100% { transform: translate(40px, -35px) scale(0.92); }
}

@keyframes floatOrbGreen {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(65px, -45px) scale(1.22); }
    100% { transform: translate(-35px, 35px) scale(0.88); }
}

@keyframes floatOrbBlue {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-55px, -35px) scale(1.2); }
    100% { transform: translate(45px, 45px) scale(0.9); }
}

@keyframes floatOrbIndigo {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-45px, 40px) scale(1.15); }
    100% { transform: translate(55px, -30px) scale(0.85); }
}

/* Cyber Tech Matrix Grid Overlay */
.hero-tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 2;
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0%   { opacity: 0.35; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
}

/* Enhanced Vision 2030 Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.45rem 1.4rem 0.45rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35), 0 0 50px rgba(5, 150, 105, 0.22);
    animation: badgeBreathing 4s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

@keyframes badgeBreathing {
    0% {
        box-shadow: 0 0 20px rgba(197, 160, 89, 0.25), 0 0 40px rgba(5, 150, 105, 0.15);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 0 35px rgba(197, 160, 89, 0.55), 0 0 65px rgba(5, 150, 105, 0.38);
        transform: translateY(-3px);
    }
}

.hero-vision-badge-img {
    height: 30px;
    width: auto;
    background: #ffffff;
    padding: 3px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Metallic Gold Shimmer on A.M.U */
.accent-text {
    background: linear-gradient(90deg, #c5a059 0%, #fef08a 40%, #c5a059 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 4s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(197, 160, 89, 0.4));
}

@keyframes goldShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f5f9;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
    text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}

/* Catalog Container */
.catalog-container {
    max-width: 1200px;
    margin: -3rem auto 0 auto;
    padding: 2rem;
    flex: 1;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--accent-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Product Card */
.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 16px 35px rgba(197, 160, 89, 0.16), 0 4px 15px rgba(0,0,0,0.06);
}

.product-image-wrap {
    width: 100%;
    height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-header {
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b1a30;
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.product-model {
    font-size: 0.82rem;
    font-weight: 700;
    color: #b45309;
    background: #fefce8;
    border: 1px solid #fef08a;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0.4rem 0 0.75rem 0;
}

.price-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #047857;
}

.price-currency {
    font-size: 0.95rem;
    font-weight: 700;
    color: #059669;
}

.vat-badge {
    font-size: 0.74rem;
    color: #0284c7;
    background: #e0f2fe;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid #bae6fd;
}

.product-specs {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0.5rem 0 0.85rem 0;
}

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.p-tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #334155;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.card-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid #f1f5f9;
}

.btn-add-cart,
.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-add-cart {
    background: linear-gradient(135deg, #0b1a30 0%, #1e3a5f 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 26, 48, 0.2);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #c5a059 0%, #d4af37 100%);
    color: #0b1a30;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

.btn-details {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.btn-details:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--accent-blue);
    padding: 3.5rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 3px solid var(--accent-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-logo-card {
    background: #ffffff;
    padding: 0.6rem 1.4rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.footer-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.35);
}

.footer-cmp-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-vision-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.footer-logo-divider {
    width: 2px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-tagline {
    color: var(--accent-gold);
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-container {
        margin-top: 0;
    }
}

/* Product Tags */
.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.p-tag {
    background: #f1f5f9;
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Details Button */
.btn-details {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-details:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.35);
}

/* ============================================================
   Product Specs & Details Modal (Zero Scroll & Multi-Column)
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 48, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0.85rem;
    overflow-x: hidden;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: #ffffff;
    border-radius: 18px;
    max-width: 960px;
    width: 100%;
    max-height: 94vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 0.85rem 1.15rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.96) translateY(10px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    direction: rtl;
    text-align: right;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.modal-overlay.active .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* Modal Body Container & Top Bar */
.modal-body-container {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-x: hidden;
}

.modal-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f1f5f9;
    padding-left: 2.2rem;
}

.modal-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.modal-code-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.modal-code-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.12rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.modal-model-badge {
    background: rgba(212, 175, 55, 0.15);
    color: #b45309;
    border: 1px solid rgba(212, 175, 55, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.12rem 0.5rem;
    border-radius: 6px;
}

.modal-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.modal-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.modal-tag-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
}

/* 2-Column Main Grid on Desktop */
.modal-main-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0.75rem;
    align-items: start;
}

/* Left Column: Visual, Price, Actions & Commercial Box */
.modal-col-left {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.modal-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.modal-main-img-box {
    width: 100%;
    height: 105px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
}

.modal-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.modal-thumbnails-strip {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.modal-thumb {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    border: 1.5px solid #cbd5e1;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    padding: 1px;
    transition: var(--transition);
}

.modal-thumb:hover, .modal-thumb.active {
    border-color: var(--accent-gold);
    transform: scale(1.08);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price Box */
.modal-price-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    padding: 0.35rem 0.6rem;
    text-align: center;
}

.modal-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
}

.modal-price-main {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.modal-price-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
}

.modal-price-curr {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.modal-vat-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
}

.modal-price-breakdown {
    font-size: 0.68rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.2rem;
}

.modal-price-breakdown .sep {
    color: #cbd5e1;
}

/* Action Buttons */
.modal-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.btn-modal-add-cart {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid #334155;
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.btn-modal-add-cart:hover {
    background: var(--accent-gold);
    color: #0f172a;
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-modal-add-cart.added {
    background: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
}

.modal-btn-sub-row {
    display: flex;
    gap: 0.35rem;
}

.btn-modal-wa-buy {
    flex: 1.2;
    padding: 0.45rem 0.6rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
    white-space: nowrap;
}

.btn-modal-wa-buy:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.btn-modal-bank-letter {
    flex: 1;
    padding: 0.45rem 0.6rem;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-modal-bank-letter:hover {
    background: #f1f5f9;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Commercial Terms Box: Payments, Shipping, Warranty & Tax */
.modal-commercial-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.4rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-comm-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-comm-grid {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.comm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 0.35rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.comm-card-title {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

.comm-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.pay-badge {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.64rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    white-space: nowrap;
}

.comm-carrier-logos {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.comm-logo-img {
    height: 16px;
    max-width: 48px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    padding: 1px 3px;
}

.comm-shipping-desc {
    font-size: 0.65rem;
    color: #475569;
    margin: 0;
    line-height: 1.3;
}

.comm-badges-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.comm-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
}

.comm-trust-badge .trust-icon {
    font-size: 0.95rem;
}

.comm-trust-badge strong {
    display: block;
    font-size: 0.7rem;
    color: #166534;
    font-weight: 800;
}

.comm-trust-badge span {
    font-size: 0.64rem;
    color: #15803d;
}

/* Right Column: Specs, Features & Guidelines */
.modal-col-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.modal-sec-heading {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.modal-sec-heading-small {
    font-size: 0.78rem;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.modal-overview-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: 3.5px solid var(--accent-gold);
    border-radius: 9px;
    padding: 0.3rem 0.55rem;
}

.modal-overview-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #334155;
    margin: 0;
}

.modal-features-section {
    display: flex;
    flex-direction: column;
}

.modal-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}

.feature-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 0.3rem 0.45rem;
    transition: var(--transition);
}

.feature-item-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.feature-item-card strong {
    display: block;
    font-size: 0.75rem;
    color: #0f172a;
    margin-bottom: 0.12rem;
    font-weight: 800;
}

.feature-item-card p {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.modal-guidelines-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-right: 3px solid #f59e0b;
    border-radius: 7px;
    padding: 0.3rem 0.55rem;
}

.modal-guidelines-box ul {
    list-style-type: disc;
    padding-right: 1.1rem;
    margin: 0;
    color: #78350f;
    font-size: 0.72rem;
    line-height: 1.4;
}

/* Custom Modal Scrollbar */
.modal-dialog::-webkit-scrollbar {
    width: 6px;
}
.modal-dialog::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.modal-dialog::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.modal-dialog::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* LTR Direction overrides for English & Hindi */
html[dir="ltr"] .modal-dialog {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .modal-close-btn {
    left: auto;
    right: 0.85rem;
}

html[dir="ltr"] .modal-top-bar {
    padding-left: 0;
    padding-right: 2.2rem;
}

html[dir="ltr"] .modal-overview-card {
    border-right: 1px solid #e2e8f0;
    border-left: 3.5px solid var(--accent-gold);
}

html[dir="ltr"] .modal-guidelines-box {
    border-right: 1px solid #fef3c7;
    border-left: 3px solid #f59e0b;
}

html[dir="ltr"] .modal-guidelines-box ul {
    padding-right: 0;
    padding-left: 1.1rem;
}

/* Responsive Breakpoints for Mobile & Tablet */
@media (max-width: 860px) {
    .modal-main-grid {
        grid-template-columns: 1fr;
    }
    .modal-col-left {
        max-width: 100%;
    }
}

@media (max-width: 540px) {
    .modal-dialog {
        padding: 0.85rem 0.75rem;
        border-radius: 14px;
    }
    .modal-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding-left: 2rem;
    }
    .modal-features-grid {
        grid-template-columns: 1fr;
    }
    .modal-title {
        font-size: 1.02rem;
    }
    .modal-btn-sub-row {
        flex-direction: column;
    }
}

/* Pricing Badges & Detail Styles */
.img-container {
    position: relative;
}

.card-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-price-badge .badge-curr {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.card-price-badge.on-demand {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
}

.info-row.price-row {
    align-items: flex-start;
}

.info-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
    display: block;
}

.price-display-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-final-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #047857;
    line-height: 1.1;
}

.price-curr {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.price-vat-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.price-excl-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.price-upon-request {
    font-size: 0.88rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #fde68a;
    display: inline-block;
    width: fit-content;
}

/* ============================================================
   Shopping Cart, Geographic Detection & Shipping System
   ============================================================ */

/* Navbar Right Side & Cart Button */
.nav-right-side {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ecfdf5;
    color: #047857 !important;
    border: 1px solid #a7f3d0;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-wa-link:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.nav-wa-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.nav-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.nav-cart-btn:hover {
    background: var(--accent-gold);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.25);
}

.cart-icon {
    font-size: 1.15rem;
}

.cart-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.2;
    min-width: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.cart-badge.bump {
    transform: scale(1.35);
}

/* Product Card Actions */
.card-actions-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.btn-add-cart {
    flex: 1.3;
    padding: 0.85rem 1rem;
    background: var(--accent-blue);
    color: #ffffff;
    border: 1px solid var(--accent-blue);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.btn-add-cart:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.btn-add-cart.added {
    background: #059669;
    border-color: #059669;
}

.card-actions-row .btn-details {
    flex: 1;
    margin-top: 0;
    padding: 0.85rem 0.8rem;
    font-size: 0.9rem;
    background: #f1f5f9;
    color: var(--accent-blue);
    border: 1px solid #cbd5e1;
}

.card-actions-row .btn-details:hover {
    background: var(--accent-gold);
    color: #0f172a;
    border-color: var(--accent-gold);
}

.btn-quote {
    flex: 1.3;
    padding: 0.85rem 1rem;
    background: #d97706;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-quote:hover {
    background: #b45309;
    transform: translateY(-2px);
}

/* Cart Drawer & Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 2001;
    direction: rtl;
}

.cart-overlay.active .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #0f172a;
    color: #ffffff;
    border-bottom: 2px solid var(--accent-gold);
}

.cart-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-header-icon {
    font-size: 1.4rem;
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.cart-count-pill {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.cart-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close-btn:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cart-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.cart-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem;
    transition: var(--transition);
}

.cart-item-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.cart-item-thumb {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-code {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.cart-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.15rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #047857;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #0f172a;
    color: #ffffff;
}

.qty-num {
    font-size: 0.95rem;
    font-weight: 800;
    min-width: 22px;
    text-align: center;
}

.item-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    transition: var(--transition);
}

.item-remove-btn:hover {
    color: #ef4444;
    transform: scale(1.15);
}

/* Shipping Section in Drawer */
.shipping-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.shipping-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.shipping-sec-icon {
    font-size: 1.5rem;
}

.shipping-section-header h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.shipping-sec-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0.2rem 0 0 0;
}

.btn-geo-detect {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #eff6ff;
    border: 1.5px dashed #3b82f6;
    border-radius: 10px;
    color: #1d4ed8;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.btn-geo-detect:hover {
    background: #dbeafe;
    border-color: #1d4ed8;
}

.btn-geo-detect.detecting {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #b45309;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.location-or-divider {
    text-align: center;
    margin: 0.75rem 0;
    position: relative;
}

.location-or-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.location-or-divider span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 0.8rem;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
}

.city-select-wrap select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.city-select-wrap select:focus {
    border-color: var(--accent-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.location-status-card {
    margin: 0.9rem 0;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.location-status-card strong {
    color: #0f172a;
}

.zone-tag {
    background: #0f172a;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.zone-tag.zone-1 {
    background: #047857;
}

.zone-tag.zone-2 {
    background: #1d4ed8;
}

.zone-tag.zone-3 {
    background: #b45309;
}

/* Blocked Threshold Alert Banner */
.delivery-blocked-banner {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-top: 0.75rem;
}

.blocked-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.blocked-text {
    flex: 1;
}

.blocked-text strong {
    color: #b45309;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 0.25rem;
}

.blocked-text p {
    margin: 0 0 0.5rem 0;
    font-size: 0.82rem;
    color: #78350f;
    line-height: 1.5;
}

.progress-wrap {
    width: 100%;
    height: 8px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.remaining-needed {
    font-size: 0.8rem;
    font-weight: 700;
    color: #92400e;
    display: block;
}

/* Carrier Cards */
.carrier-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.carrier-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.carrier-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.carrier-card.selected {
    border-color: var(--accent-gold);
    background: #fffdfa;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

.carrier-card-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.carrier-radio {
    accent-color: var(--accent-gold);
    transform: scale(1.2);
}

.carrier-logo-img {
    height: 28px;
    max-width: 85px;
    object-fit: contain;
}

.carrier-name-wrap {
    display: flex;
    flex-direction: column;
}

.carrier-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.carrier-desc {
    font-size: 0.75rem;
    color: #64748b;
}

.carrier-time-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    padding: 2px 7px;
    border-radius: 6px;
    margin-top: 4px;
    border: 1px solid #a7f3d0;
    width: fit-content;
}

.carrier-price-pill {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
}

/* Cart Footer Summary & Actions */
.cart-footer {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.cart-summary-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #475569;
}

.summary-val {
    font-weight: 700;
    color: #0f172a;
}

.total-line {
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    border-top: 1.5px dashed #cbd5e1;
    font-size: 1.15rem;
    color: #0f172a;
}

.grand-total-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #047857;
}

.btn-checkout-wa {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-checkout-wa:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.btn-checkout-disabled {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: not-allowed;
    border: 1px solid #cbd5e1;
    text-align: center;
}

/* Modal Shipping Box */
.modal-shipping-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.2rem;
    margin-top: 1.2rem;
}

.modal-shipping-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.modal-shipping-carriers {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-carrier-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.modal-carrier-badge img {
    height: 22px;
    max-width: 65px;
    object-fit: contain;
}

.modal-shipping-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #475569;
}

.modal-shipping-rules-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navbar WhatsApp link */
.phone-val {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.nav-wa-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #15803d;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.nav-wa-link:hover {
    background: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

@media (max-width: 650px) {
    .nav-wa-text {
        display: none;
    }
    .nav-wa-link {
        padding: 0.5rem;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
}

/* Corporate Credentials & Contact Section */
.corporate-section {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 1.5rem;
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 1.5rem;
}

.corp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.corp-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.corp-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 1rem;
}

.corp-icon {
    font-size: 1.6rem;
}

.corp-card-header h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.corp-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.corp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.corp-label {
    color: #64748b;
    font-weight: 600;
}

.corp-val {
    color: #0f172a;
    font-weight: 700;
}

.gold-text {
    color: #92400e;
    background: #fef3c7;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid #fde68a;
}

.corp-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.corp-link:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.wa-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ecfdf5;
    color: #047857 !important;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #a7f3d0;
}

.wa-highlight:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}

/* Floating WhatsApp Quick Contact Button */
.floating-wa-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.75rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-wa-btn:hover {
    background: #20ba59;
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-wa-icon {
    font-size: 1.4rem;
    line-height: 1;
}

@media (max-width: 650px) {
    .floating-wa-btn {
        bottom: 20px;
        left: 20px;
        padding: 0.8rem;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
    .floating-wa-label {
        display: none;
    }
}

/* Floating Back to Top Button (سهم العودة لأعلى الصفحة) */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b1a30 0%, #1e3a5f 100%);
    color: #c5a059;
    border: 2px solid #c5a059;
    box-shadow: 0 6px 22px rgba(11, 26, 48, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #c5a059;
    color: #0b1a30;
    border-color: #ffffff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.45);
}

html[dir="ltr"] .scroll-top-btn {
    right: auto;
    left: 25px;
}

@media (max-width: 650px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    html[dir="ltr"] .scroll-top-btn {
        right: auto;
        left: 20px;
        bottom: 20px;
    }
}

/* Payment Section in Drawer */
.payment-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.payment-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    background: #f8fafc;
    transition: var(--transition);
}

.payment-card:hover:not(.disabled) {
    border-color: var(--accent-gold);
    background: #fdfdfd;
    transform: translateY(-1px);
}

.payment-card.selected {
    border-color: var(--accent-gold);
    background: #fffdf5;
    box-shadow: 0 3px 12px rgba(197, 160, 89, 0.15);
}

.payment-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f1f5f9;
    border-style: dashed;
}

.payment-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-radio {
    accent-color: var(--accent-gold);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.payment-icon-badge {
    font-size: 1.3rem;
    width: 32px;
    text-align: center;
}

.payment-name-wrap {
    display: flex;
    flex-direction: column;
}

.payment-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}

.payment-desc {
    font-size: 0.74rem;
    color: #64748b;
}

.payment-badge-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.payment-badge-pill.riyadh-only {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.payment-badge-pill.riyadh-active {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.payment-badge-pill.bank-letter {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.btn-open-bank-letter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #93c5fd;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
}

.btn-open-bank-letter:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Invoice Preview Button in Drawer */
.btn-view-invoice {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.btn-view-invoice:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: #fffdf5;
}

/* Bank Letter Modal */
.bank-modal-dialog {
    max-width: 680px !important;
    padding: 1.5rem !important;
}

.bank-letter-paper {
    background: #ffffff;
    padding: 0.5rem 0.25rem;
    border-radius: 16px;
}

.letter-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.letter-logo {
    height: 55px;
    object-fit: contain;
}

.letter-company-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin: 0 0 0.25rem 0;
}

.letter-company-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.letter-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    margin: 1rem 0;
}

.letter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.letter-title h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.badge-verified {
    background: #ecfdf5;
    color: #047857;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.bank-account-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem;
    margin: 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.bank-row span {
    color: #64748b;
}

.bank-row strong {
    color: #0f172a;
}

.iban-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.iban-code {
    font-family: monospace;
    font-weight: 800;
    color: #0f172a;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    direction: ltr;
    unicode-bidi: isolate;
}

.btn-copy-iban {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-copy-iban:hover {
    background: var(--accent-gold);
}

.bank-notice-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-right: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.6;
}

.bank-notice-alert p {
    margin: 0;
}

.letter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e8f0;
}

.letter-stamp {
    display: flex;
    align-items: center;
}

.official-stamp-img {
    width: 105px;
    height: auto;
    max-height: 105px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(4, 120, 87, 0.2));
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.official-stamp-img:hover {
    transform: rotate(0deg) scale(1.05);
}

.stamp-circle {
    border: 2px dashed #047857;
    color: #047857;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    text-align: center;
    transform: rotate(-12deg);
    line-height: 1.2;
}

.btn-wa-letter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.92rem;
    transition: var(--transition);
}

.btn-wa-letter:hover {
    background: #20ba59;
    transform: translateY(-2px);
}

/* ZATCA Simplified Tax Invoice Modal */
.invoice-modal-dialog {
    max-width: 780px !important;
    background: #ffffff;
    padding: 2rem !important;
}

.invoice-paper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem;
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.invoice-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}

.invoice-seller-meta h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin: 0 0 0.4rem 0;
}

.invoice-seller-meta p {
    font-size: 0.82rem;
    color: #475569;
    margin: 0.2rem 0;
}

.invoice-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px;
}

.invoice-qr-wrap canvas, .invoice-qr-wrap img {
    width: 115px !important;
    height: 115px !important;
}

.invoice-qr-label {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 700;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}

.invoice-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    min-width: 580px;
}

.invoice-table th {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
    text-align: right;
    white-space: nowrap;
}

.invoice-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.invoice-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.invoice-stamp-box {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1.5px dashed #047857;
    border-radius: 12px;
}

.invoice-stamp-img {
    width: 95px;
    height: auto;
    max-height: 95px;
    object-fit: contain;
    transform: rotate(-6deg);
    filter: drop-shadow(0 2px 5px rgba(4, 120, 87, 0.2));
}

.invoice-stamp-caption {
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    color: #047857;
    line-height: 1.4;
}

.invoice-stamp-caption strong {
    font-size: 0.86rem;
    color: #065f46;
}

.invoice-summary-box {
    margin-right: auto;
    width: 320px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.invoice-sum-row {
    display: flex;
    justify-content: space-between;
    color: #475569;
}

.invoice-sum-row.total-row {
    border-top: 1.5px dashed #94a3b8;
    padding-top: 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #047857;
}

.invoice-footer-legal {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.invoice-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.btn-print-action {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-print-action:hover {
    background: var(--accent-gold);
}

.btn-secondary-action {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-action:hover {
    background: #e2e8f0;
}

/* Print Optimization */
@media print {
    body * {
        visibility: hidden;
    }
    #invoice-printable-area, #invoice-printable-area * {
        visibility: visible;
    }
    #invoice-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: none;
        padding: 0;
        margin: 0;
    }
    .invoice-modal-dialog {
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    .no-print {
        display: none !important;
    }
    .invoice-stamp-img, .official-stamp-img {
        filter: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ============================================================
   Ambient Moving Wave Lines Canvas
   ============================================================ */
.ambient-waves-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
}

/* Page sections stacking above ambient canvas */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.hero, .catalog-container, .corporate-section, .footer {
    position: relative;
    z-index: 1;
}

.cart-overlay, .modal-overlay {
    position: fixed;
    z-index: 3000;
}

.floating-wa-btn {
    position: fixed;
    z-index: 2500;
}

/* ============================================================
   Comprehensive Responsive Breakpoints (Mobile, Tablet, Desktop)
   ============================================================ */

/* Small & Medium Mobile Phones (up to 480px: iPhone SE, 12, 13, 14, 15, 16 Pro, Galaxy, etc.) */
@media (max-width: 480px) {
    body {
        padding-top: 68px;
    }

    .navbar {
        padding: 0.45rem 0;
    }

    .nav-container {
        padding: 0 0.5rem;
        gap: 0.25rem;
    }

    .cmp-logo {
        height: 46px;
    }

    .company-name {
        font-size: 0.96rem;
    }

    .company-sub {
        display: none;
    }

    .vision-logo,
    .vision-wrapper {
        display: none !important;
    }

    .nav-right-side {
        gap: 0.3rem;
    }

    .nav-wa-text {
        display: none;
    }

    .nav-wa-link {
        padding: 0.35rem 0.5rem;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        justify-content: center;
    }

    .nav-cart-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .cart-label {
        display: none;
    }

    .lang-toggle-btn {
        padding: 0.35rem 0.45rem;
        font-size: 0.76rem;
        gap: 0.2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero {
        padding: 2.8rem 1rem 3.8rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .catalog-container {
        padding: 1rem 0.8rem;
        margin-top: -1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
        padding-top: 1rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-card {
        border-radius: 16px;
    }

    .card-actions-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-add-cart,
    .card-actions-row .btn-details,
    .btn-quote {
        width: 100%;
        flex: auto;
    }

    /* Cart Drawer on Mobile */
    .cart-drawer {
        max-width: 100vw;
        width: 100vw;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-body {
        padding: 1rem;
        gap: 1.2rem;
    }

    .cart-item-card {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .cart-footer {
        padding: 1rem;
    }

    /* Modals on Mobile */
    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-dialog {
        padding: 1.25rem 1rem;
        border-radius: 18px;
        max-height: 94vh;
        width: 100%;
    }

    .bank-letter-paper {
        padding: 1.2rem 0.85rem;
    }

    .letter-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .letter-logo {
        height: 52px;
    }

    .letter-company-info {
        text-align: center;
    }

    .letter-company-info h3 {
        font-size: 1.05rem;
    }

    .letter-footer {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .btn-wa-letter {
        width: 100%;
        justify-content: center;
    }

    .iban-display {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .iban-code {
        font-size: 0.88rem;
        text-align: center;
    }

    .btn-copy-iban {
        width: 100%;
        justify-content: center;
    }

    /* Invoice on Mobile */
    .invoice-paper {
        padding: 1.15rem 0.85rem;
    }

    .invoice-header-row {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .invoice-seller-meta {
        text-align: center;
    }

    .invoice-seller-meta h2 {
        font-size: 1.15rem;
    }

    .invoice-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .invoice-bottom-flex {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 1rem;
    }

    .invoice-stamp-box {
        justify-content: center;
        width: 100%;
    }

    .invoice-summary-box {
        width: 100%;
        margin: 0;
    }

    .invoice-modal-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .btn-print-action, .btn-secondary-action {
        width: 100%;
        justify-content: center;
    }

    /* Corporate Section */
    .corporate-section {
        padding: 0 0.8rem;
        margin-top: 2.5rem;
    }

    .corp-card {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .corp-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Ultra-compact Phones (<= 360px: iPhone 5/SE 1st gen, Galaxy Fold outer screen) */
@media (max-width: 360px) {
    .cmp-logo {
        height: 38px;
    }
    .company-name {
        font-size: 0.84rem;
    }
    .lang-toggle-btn {
        padding: 0.28rem 0.4rem;
        font-size: 0.72rem;
    }
    .current-lang-text {
        font-size: 0.7rem;
    }
    .nav-cart-btn {
        padding: 0.3rem 0.45rem;
    }
    .nav-wa-link {
        width: 30px;
        height: 30px;
    }
}

/* Large Mobile & Phablet (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    body {
        padding-top: 86px;
    }

    .nav-container {
        padding: 0 1.2rem;
    }

    .cmp-logo {
        height: 60px;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .catalog-container {
        padding: 1.5rem 1.2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .cart-drawer {
        max-width: 420px;
    }

    .modal-dialog {
        padding: 1.75rem 1.4rem;
    }

    .invoice-bottom-flex {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .invoice-summary-box {
        width: 100%;
    }
}

/* Tablets & iPads (768px to 1024px, Portrait & Landscape) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .corp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-drawer {
        max-width: 460px;
    }
}

/* ============================================================
   Multi-Language Switcher (العربية | English | हिन्दी)
   ============================================================ */
.lang-switch-wrap {
    position: relative;
    display: inline-block;
}

.lang-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}

.lang-toggle-btn:hover {
    background: #e2e8f0;
    border-color: var(--accent-gold);
}

.lang-globe-icon {
    font-size: 1rem;
    line-height: 1;
}

.lang-chevron {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.lang-switch-wrap.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    min-width: 145px;
    padding: 0.4rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 3000;
}

.lang-dropdown-menu.active {
    display: flex;
}

.lang-opt-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: var(--transition);
    text-align: right;
    width: 100%;
    position: relative;
    z-index: 1;
}

.lang-opt-btn * {
    pointer-events: none;
}

.lang-opt-btn:hover {
    background: #f1f5f9;
    color: var(--accent-blue);
}

.lang-opt-btn.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
}

/* ============================================================
   LTR Support (English & Hindi)
   ============================================================ */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

html[lang="hi"] body,
html[lang="hi"] * {
    font-family: 'Noto Sans Devanagari', 'Tajawal', sans-serif !important;
}

html[dir="ltr"] .cart-drawer {
    right: auto;
    left: 0;
    transform: translateX(-105%);
    direction: ltr;
}

html[dir="ltr"] .cart-overlay.active .cart-drawer {
    transform: translateX(0);
}

html[dir="ltr"] .floating-wa-btn {
    left: auto;
    right: 25px;
}

@media (max-width: 650px) {
    html[dir="ltr"] .floating-wa-btn {
        left: auto;
        right: 20px;
    }
}

html[dir="ltr"] .modal-dialog {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .modal-close-btn {
    left: auto;
    right: 1.2rem;
}

html[dir="ltr"] .invoice-summary-box {
    margin-right: 0;
    margin-left: auto;
}

html[dir="ltr"] .invoice-table th {
    text-align: left;
}

html[dir="ltr"] .invoice-table td {
    text-align: left;
}

html[dir="ltr"] .bank-notice-alert {
    border-right: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
}

html[dir="ltr"] .modal-overview {
    border-right: none;
    border-left: 4px solid var(--accent-gold);
}

html[dir="ltr"] .modal-guidelines-box {
    border-right: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
}

html[dir="ltr"] .modal-guidelines-box ul {
    padding-right: 0;
    padding-left: 1.2rem;
}

html[dir="ltr"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

html[dir="ltr"] .lang-opt-btn {
    text-align: left;
}

@media (max-width: 480px) {
    .lang-toggle-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.78rem;
        gap: 0.3rem;
    }
    .current-lang-text {
        font-size: 0.75rem;
    }
}



