﻿/* ============================================
   JoeCell — Premium Cell Phone Store
   Main Stylesheet
   ============================================
   Color Palette:
   - Primary Dark:   #1a1a2e  (deep navy)
   - Primary Grey:   #2d2d44  (dark grey-purple)
   - Accent:         #6c63ff  (vibrant purple for CTAs — optional accent)
   - Grey 100:       #f8f9fa
   - Grey 200:       #e9ecef
   - Grey 300:       #dee2e6
   - Grey 400:       #adb5bd
   - Grey 500:       #6c757d
   - Grey 600:       #495057
   - Grey 700:       #343a40
   - Grey 800:       #212529
   - White:          #ffffff
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Greys & Whites */
    --white:       #ffffff;
    --grey-50:     #fafafa;
    --grey-100:    #f5f5f5;
    --grey-150:    #eeeeee;
    --grey-200:    #e0e0e0;
    --grey-300:    #bdbdbd;
    --grey-400:    #9e9e9e;
    --grey-500:    #757575;
    --grey-600:    #616161;
    --grey-700:    #424242;
    --grey-800:    #303030;
    --grey-900:    #212121;
    --grey-950:    #171717;

    /* Accent colours (subtle, not dominating) */
    --accent:      #4a4a4a;
    --accent-light:#6b6b6b;
    --accent-cta:  #333333;

    /* Functional */
    --success:     #2e7d32;
    --success-bg:  #e8f5e9;
    --error:       #c62828;
    --error-bg:    #ffebee;
    --warning:     #ef6c00;
    --info:        #1565c0;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-py:  100px;
    --container-w: 1200px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:   0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl:   0 20px 50px rgba(0,0,0,0.12);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.12);

    /* Borders */
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 50%;

    /* Transitions */
    --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--grey-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--grey-900);
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--grey-900);
    margin-bottom: 0;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--grey-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background: var(--grey-100);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 0.84rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--grey-900);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--grey-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--grey-900);
    border: 2px solid var(--grey-300);
}
.btn-outline:hover {
    background: var(--grey-900);
    color: var(--white);
    border-color: var(--grey-900);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--grey-900);
}
.btn-white:hover {
    background: var(--grey-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--grey-900);
    font-weight: 300;
}
.nav-logo i {
    font-size: 1.4rem;
    color: var(--grey-700);
}
.nav-logo strong {
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item-dropdown {
    position: relative;
    list-style: none;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link-dropdown i {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-link-dropdown i,
.nav-item-dropdown:focus-within .nav-link-dropdown i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--grey-200);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: var(--transition-fast);
    z-index: 1005;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--grey-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    white-space: nowrap;
    text-align: center;
}

.nav-dropdown-link:hover {
    background: var(--grey-100);
    color: var(--grey-900);
}

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

.nav-cart {
    position: relative;
}

.nav-cart-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid var(--grey-200);
    border-radius: 50%;
    background: var(--white);
    color: var(--grey-900);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.nav-cart-toggle:hover,
.nav-cart-toggle[aria-expanded="true"] {
    background: var(--grey-900);
    color: var(--white);
    border-color: var(--grey-900);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--grey-900);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.nav-cart-toggle:hover .nav-cart-badge,
.nav-cart-toggle[aria-expanded="true"] .nav-cart-badge {
    background: var(--white);
    color: var(--grey-900);
}

.nav-cart-panel {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    width: min(420px, calc(100vw - 32px));
    background: linear-gradient(180deg, var(--grey-50), var(--white));
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    z-index: 1002;
}

.nav-cart.open .nav-cart-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-cart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.nav-cart-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 0;
}

.nav-cart-header h2 {
    font-size: 1.2rem;
    margin: 0;
}

.nav-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--grey-900);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-cart-empty {
    color: var(--grey-500);
    font-size: 0.84rem;
    padding: 18px 20px;
    background: var(--white);
    border: 1px dashed var(--grey-300);
    border-radius: var(--radius-md);
}

.nav-cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
    max-height: clamp(210px, 26vw, 280px);
    overflow-y: auto;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-600);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--grey-900);
    background: var(--grey-100);
}

.nav-link.active {
    color: var(--grey-900);
    background: var(--grey-150);
    font-weight: 600;
}

.nav-spacer {
    height: 72px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--grey-800);
    position: relative;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--grey-800);
    transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px;  }

/* Hamburger active state */
.nav-toggle.active .hamburger {
    background: transparent;
}
.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--grey-950) 0%, var(--grey-800) 50%, var(--grey-700) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--grey-300), var(--grey-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Decorative grid dots */
.hero-decoration {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.08;
}

.hero-decoration .grid-dots {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
}

.hero-decoration .dot {
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: var(--radius-full);
}

/* ===== FEATURED PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ===== SHOP BY CATEGORY ===== */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.category-card {
    display: block;
    flex: 0 1 240px;
    max-width: 280px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.category-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--grey-50);
    overflow: hidden;
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.5s ease;
}

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

.category-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-300);
    font-size: 2.6rem;
}

.category-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--grey-800);
}

.category-card-label i {
    color: var(--grey-400);
    transition: var(--transition-fast);
}

.category-card:hover .category-card-label i {
    color: var(--grey-800);
    transform: translateX(4px);
}

/* ===== REVIEWS SLIDESHOW ===== */
.review-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.review-slider-track {
    position: relative;
    min-height: 260px;
}

.review-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-slide.active {
    display: block;
    opacity: 1;
}

.review-slide-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.review-slide-stars {
    color: #f1c40f;
    font-size: 1rem;
    margin-bottom: 18px;
}

.review-slide-comment {
    font-size: 1.15rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--grey-700);
    margin-bottom: 24px;
}

.review-slide-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.review-slide-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grey-900);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.review-slide-name {
    font-weight: 600;
    color: var(--grey-800);
    text-align: left;
}

.review-slide-date {
    font-size: 0.76rem;
    color: var(--grey-500);
    text-align: left;
}

.review-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--grey-200);
    background: var(--white);
    color: var(--grey-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.review-slider-nav:hover {
    background: var(--grey-900);
    color: var(--white);
    border-color: var(--grey-900);
}

.review-slider-nav.prev { left: -22px; }
.review-slider-nav.next { right: -22px; }

.review-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.review-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--grey-300);
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.review-slider-dot.active {
    background: var(--grey-900);
    width: 22px;
    border-radius: 5px;
}

@media (max-width: 640px) {
    .review-slide-card { padding: 28px 20px; }
    .review-slider-nav { display: none; }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-card-image {
    position: relative;
    height: clamp(210px, 26vw, 280px);
    background: var(--grey-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
    border-bottom: 1px solid var(--grey-100);
}

.product-card-image.is-previewable {
    cursor: zoom-in;
}

.product-card-image.is-previewable::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(23, 23, 23, 0.78);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition-fast);
}

.product-card:hover .product-card-image.is-previewable::after,
.product-card-image.is-previewable:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.product-card-image i {
    font-size: 4rem;
    color: var(--grey-300);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows full device image without cropping */
}

.product-card-photo {
    position: absolute;
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    object-fit: contain;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    opacity: 0;
    pointer-events: none;
}

.product-card-photo.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* A photo whose file failed to load (404 / broken upload). Hide the broken-image
   glyph + alt text entirely so it never flashes on the card; the fallback phone
   icon is shown instead. */
.product-card-photo.is-broken {
    opacity: 0 !important;
    visibility: hidden;
}

.product-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.18);
    backdrop-filter: blur(8px);
}

.product-gallery-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    transition: transform var(--transition-fast), background var(--transition-fast);
    padding: 0;
}

.product-gallery-dot:hover,
.product-gallery-dot:focus-visible {
    background: rgba(255, 255, 255, 0.86);
    transform: scale(1.1);
}

.product-gallery-dot.is-active {
    background: var(--white);
    transform: scale(1.15);
}

.product-gallery-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34%;
    z-index: 2;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.product-gallery-zone.prev {
    left: 0;
}

.product-gallery-zone.next {
    right: 0;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--grey-900);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-brand {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 0;
}

.product-card-link {
    color: inherit;
}

.product-card-link:hover {
    color: var(--grey-700);
}

.product-description {
    font-size: 0.76rem;
    color: var(--grey-500);
    margin-bottom: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--grey-900);
}

.product-old-price {
    font-size: 0.84rem;
    color: var(--grey-400);
    text-decoration: line-through;
}

.product-stock {
    font-size: 0.76rem;
    font-weight: 500;
}

.product-stock.in-stock {
    color: var(--grey-800);
}

.product-stock.out-of-stock,
.product-stock.is-unavailable {
    color: var(--grey-400);
    font-weight: 500;
}

/* ===== Product variant selectors (colour / size) ===== */
.product-variants {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.product-variant-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-variant-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--grey-500);
}

.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-variant-option {
    padding: 6px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    background: #fff;
    color: var(--grey-700);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.product-variant-option:hover {
    border-color: var(--grey-900);
    color: var(--grey-900);
}

.product-variant-option.is-selected {
    background: var(--grey-900);
    border-color: var(--grey-900);
    color: #fff;
}

.product-variant-option small {
    font-weight: 700;
    opacity: 0.75;
    font-size: 0.72rem;
    margin-left: 2px;
}

/* ===== Colour swatches (pick-a-colour) ===== */
.product-variant-options.is-swatches {
    gap: 10px;
}

.product-variant-swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    background: #fff;
    color: var(--grey-700);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.product-variant-swatch-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--swatch, #333);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 2px #fff;
    flex: 0 0 auto;
}

.product-variant-swatch:hover {
    border-color: var(--grey-900);
}

.product-variant-swatch.is-selected {
    border-color: var(--grey-900);
    box-shadow: 0 0 0 2px var(--grey-900);
}

.product-variant-swatch.is-selected .product-variant-swatch-dot {
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Unreachable / out-of-stock options: greyed out and unclickable */
.product-variant-option.is-disabled,
.product-variant-option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
    background: var(--grey-50);
    border-color: var(--grey-200);
    color: var(--grey-400);
    pointer-events: none;
}

.product-variant-swatch.is-disabled,
.product-variant-swatch:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--grey-200);
    box-shadow: none;
    pointer-events: none;
}

/* Reachable but out-of-stock: still pickable, just visually muted */
.product-variant-option.is-soldout:not(.is-selected):not(.is-disabled),
.product-variant-swatch.is-soldout:not(.is-selected):not(.is-disabled) {
    opacity: 0.6;
}

/* Progressive reveal: hide groups the customer hasn't reached yet */
.product-variant-group[hidden] {
    display: none !important;
}

/* ===== High-value "Order via WhatsApp" button ===== */
.whatsapp-order-btn {
    background: #25d366;
    color: #fff;
    gap: 8px;
    font-weight: 700;
}

.whatsapp-order-btn:hover {
    background: #1ebe5b;
    color: #fff;
}

.whatsapp-order-btn i {
    font-size: 1rem;
}

.cart-item-variant {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--grey-600);
    font-weight: 600;
}

/* Compact summary of the customer's current variant picks */
.product-variant-summary {
    margin-top: 2px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--grey-700);
    letter-spacing: 0.2px;
}
.product-variant-summary[hidden] {
    display: none;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 4px;
    flex-wrap: nowrap;
}

/* Advanced cards can vary in height; keep the action row pinned to the bottom
   so every card in a row lines up. */
.product-card-body > .product-card-actions {
    margin-top: auto;
}

.product-card-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 11px 0;
    min-width: 0;
}

.product-card-actions .btn i {
    margin: 0;
}

.product-card-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: var(--grey-100);
    color: var(--grey-400);
    border: 1px solid var(--grey-200);
}

.product-card-actions .btn-outline:disabled {
    background: var(--grey-100);
    color: var(--grey-400);
    border-color: var(--grey-200);
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.image-preview-modal.open {
    opacity: 1;
    visibility: visible;
}

.image-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

.image-preview-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 900px);
    max-height: 88vh;
    padding: 20px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-xl);
}

.image-preview-content img {
    max-width: 100%;
    max-height: calc(88vh - 40px);
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.image-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.image-preview-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.image-preview-nav.prev {
    left: 20px;
}

.image-preview-nav.next {
    right: 20px;
}

.image-preview-nav[hidden] {
    display: none;
}

.image-preview-counter {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.image-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.toast-container {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 2100;
    pointer-events: none;
}

.cart-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--grey-900);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-12px);
    opacity: 0;
    transition: var(--transition-fast);
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast i {
    color: #7ee081;
    font-size: 1rem;
}

.cart-toast span {
    font-size: 0.92rem;
    line-height: 1.5;
}

.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
}

.checkout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(6px);
}

.checkout-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--grey-200);
}

.checkout-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--grey-100);
    color: var(--grey-700);
    cursor: pointer;
    transition: var(--transition-fast);
}

.checkout-close:hover {
    background: var(--grey-200);
    color: var(--grey-900);
}

.checkout-header {
    margin-bottom: 24px;
    padding-right: 36px;
}

.checkout-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 10px;
}

.checkout-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.checkout-header p {
    color: var(--grey-500);
    font-size: 0.94rem;
}

.checkout-form .form-group {
    margin-bottom: 18px;
}

.checkout-textarea {
    min-height: 110px;
}

.checkout-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.checkout-actions .btn {
    flex: 1 1 220px;
    justify-content: center;
}

.checkout-delivery-options {
    margin-top: 6px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--grey-50);
}

.checkout-options-label {
    font-size: 0.92rem;
    color: var(--grey-600);
    margin-bottom: 12px;
}

.checkout-submit-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkout-submit-options .btn {
    flex: 1 1 220px;
    justify-content: center;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--grey-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: var(--grey-700);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--grey-500);
    max-width: 400px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grey-800);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--grey-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--grey-900);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--grey-700);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--grey-500);
    line-height: 1.7;
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--grey-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--grey-900);
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--grey-700);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.6;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 450px;
    background: linear-gradient(135deg, var(--grey-200), var(--grey-100));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image i {
    font-size: 5rem;
    color: var(--grey-400);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--grey-600);
    margin-bottom: 0;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--grey-900);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--grey-500);
    font-weight: 500;
}

/* Mission & Vision */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.mission-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.mission-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--grey-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.mission-card .icon-wrap i {
    font-size: 1.18rem;
    color: var(--grey-700);
}

.mission-card h3 {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.mission-card p {
    color: var(--grey-500);
    line-height: 1.8;
}

/* Trust reasons */
.trust-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.trust-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--grey-700);
    margin-top: 4px;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 0.76rem;
    color: var(--grey-500);
    line-height: 1.6;
}

/* ===== SHOP PAGE ===== */
.shop-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    padding-left: 48px;
    font-family: var(--font-family);
    font-size: 0.84rem;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: var(--transition-fast);
    color: var(--grey-800);
}

.search-input:focus {
    outline: none;
    border-color: var(--grey-400);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

.search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-400);
    font-size: 0.9rem;
}

.filter-select {
    padding: 14px 20px;
    font-family: var(--font-family);
    font-size: 0.84rem;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--grey-700);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 180px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--grey-400);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
}

.cart-item-details h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.cart-item-meta {
    color: var(--grey-500);
    font-size: 0.86rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    overflow: hidden;
}

.cart-qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: var(--grey-100);
    color: var(--grey-900);
    cursor: pointer;
    font-size: 0.84rem;
    transition: var(--transition-fast);
}

.cart-qty-btn:hover {
    background: var(--grey-200);
}

.cart-qty-value {
    min-width: 42px;
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
}

.cart-item-subtotal {
    min-width: 90px;
    text-align: right;
    font-size: 1rem;
    font-weight: 800;
    color: var(--grey-900);
}

.cart-remove-btn {
    border: none;
    background: transparent;
    color: var(--error);
    cursor: pointer;
    font-weight: 600;
    padding: 8px 4px;
}

.nav-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--grey-200);
}

.nav-cart-total-wrap span {
    display: block;
    color: var(--grey-500);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.nav-cart-total-wrap strong {
    font-size: 1.6rem;
    color: var(--grey-900);
}

.nav-cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-cart-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* ===== FORMS ===== */
.form-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-card);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 0;
}

.form-group label span.required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-family);
    font-size: 0.84rem;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--grey-50);
    color: var(--grey-800);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--grey-600);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

.form-control::placeholder {
    color: var(--grey-400);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Alert Messages */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(46,125,50,0.2);
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(198,40,40,0.2);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: var(--grey-900);
    color: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04), transparent);
    border-radius: var(--radius-full);
}

.contact-info-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 36px;
    font-size: 0.92rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon i {
    color: rgba(255,255,255,0.7);
}

.contact-info-item h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.76rem;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.contact-social a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
}

.contact-form-wrap h3 {
    font-size: 1.18rem;
    margin-bottom: 0;
}

.contact-form-wrap > p {
    color: var(--grey-500);
    margin-bottom: 32px;
    font-size: 0.92rem;
}

/* Map Placeholder */
.map-section {
    margin-top: 60px;
}

.map-placeholder {
    height: 380px;
    background: var(--grey-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--grey-400);
}

.map-placeholder i {
    font-size: 2.5rem;
}

.map-placeholder p {
    font-size: 0.9rem;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--grey-950) 0%, var(--grey-800) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent);
    border-radius: var(--radius-full);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.4);
}

.breadcrumb a:hover {
    color: rgba(255,255,255,0.7);
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
}

.breadcrumb i {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--grey-950);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 0;
}

.footer-logo i {
    color: var(--grey-400);
}

.footer-logo strong {
    font-weight: 800;
}

.footer-about {
    font-size: 0.76rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.45);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.45);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.45);
}

.footer-contact-list li i {
    margin-top: 4px;
    color: rgba(255,255,255,0.3);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 28px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(10){ transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(11){ transition-delay: 0.55s; }
.stagger-children.visible > *:nth-child(12){ transition-delay: 0.6s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--grey-950) 0%, var(--grey-800) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.03), transparent);
    border-radius: var(--radius-full);
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0;
}

.cta-section p {
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto 32px;
    font-size: 1.02rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        height: clamp(210px, 26vw, 280px);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 70px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 40px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 16px;
    }

    .nav-cart-panel {
        position: fixed;
        top: 84px;
        right: 16px;
        left: 16px;
        width: auto;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-link-dropdown {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 6px;
        padding: 6px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 14px;
        background: var(--grey-50);
    }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        z-index: 998;
    }

    .nav-overlay.show {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-decoration {
        display: none;
    }

    /* Grids */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Forms */
    .form-container {
        padding: 32px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }

    /* About */
    .about-stats {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Shop controls */
    .shop-controls {
        flex-direction: column;
    }

    .nav-cart-panel {
        padding: 22px;
    }

    .nav-cart-header,
    .nav-cart-footer,
    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item-controls {
        justify-content: space-between;
    }

    .cart-item-subtotal {
        text-align: left;
    }

    .nav-cart-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .product-card-actions {
        flex-wrap: nowrap;
    }

    .product-card-actions .btn {
        flex: 1 1 0;
    }

    .toast-container {
        top: 84px;
        right: 16px;
        left: 16px;
    }

    .cart-toast {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .checkout-dialog {
        padding: 16px;
    }

    .checkout-actions .btn {
        width: 100%;
    }

    .checkout-submit-options .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .page-header {
        padding: 60px 0 40px;
    }

    .btn-lg {
        padding: 14px 32px;
        font-size: 0.84rem;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--grey-900); /* Matching website primary color #212121 */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--grey-800);
    color: #fff;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 33, 33, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(33, 33, 33, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 33, 33, 0);
    }
}

/* ===== REVIEWS PAGE ===== */
.reviews-summary-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: var(--grey-50);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--grey-200);
    margin-bottom: 40px;
}

.summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--grey-200);
    padding-right: 30px;
}

.google-review-promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.google-review-promo h3 {
    margin-bottom: 0;
}

.review-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .reviews-summary-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .summary-card {
        border-right: none;
        border-bottom: 1px solid var(--grey-200);
        padding-right: 0;
        padding-bottom: 20px;
    }
    .google-review-promo {
        align-items: center;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* ============================================
   GLOBAL RESPONSIVE SAFETY NET
   Ensures every page fits any screen with no
   horizontal scroll and nothing clipped.
   ============================================ */
html { overflow-x: hidden; }

/* Media & embeds never exceed their container. */
img, video, iframe, embed, object, canvas, svg {
    max-width: 100%;
}

/* Long words, links and emails wrap instead of forcing the page wide. */
p, li, a, span, h1, h2, h3, h4, h5, h6, td, th, label, .product-name, .product-description {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Any table gets a horizontal scroll cage instead of being cut. */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

    /* Filters & search stack full-width so they're never squeezed or clipped. */
    .shop-controls { flex-direction: column; }
    .filter-select,
    .search-input,
    .search-wrapper { min-width: 0; width: 100%; }

    /* Section titles scale down so they don't overflow. */
    .section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

@media (max-width: 380px) {
    :root { font-size: 15px; }
    .btn { padding: 12px 18px; }
}

