/* ============================================================
   STYKES MERCHANTS — FRONTEND CSS
   Blue accent theme: #1a56db — light page background
   ============================================================ */


/* ---- CSS Variables — SmartStore Theme ---- */

:root {
    /* Primary accent */
    --primary:       #1a56db;
    --primary-dark:  #1040a8;
    --primary-light: #3b82f6;
    --primary-glow:  rgba(26, 86, 219, 0.25);

    /* Dark sections (footer, topbar, why-strip) */
    --navy:       #0f172a;
    --navy-dark:  #080f1e;
    --navy-light: #1e2f55;

    /* Alias kept for backward-compat with older CSS rules */
    --cyan: #1a56db;

    --white: #ffffff;
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-400:  #f87171;
    --red-500:  #ef4444;
    --red-600:  #dc2626;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --yellow-400: #facc15;
}


/* ---- Reset & Base ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fdfdfd;
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0;
}

[x-cloak] {
    display: none !important;
}


/* ---- Layout ---- */

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.main-content {
    flex: 1;
}


/* ---- Utility bar (scrolls away) ---- */

#utility-bar {
    background-color: var(--navy);
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    max-height: 60px;
    overflow: hidden;
}

#utility-bar.ub-hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.util-inner {
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.util-left,
.util-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.util-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: color 0.2s;
}

.util-link:hover {
    color: white;
}

.util-link svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.util-sep {
    color: rgba(255, 255, 255, 0.3);
}

.util-hours {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.util-hide-sm {
    display: none;
}

@media (min-width: 640px) {
    .util-hide-sm {
        display: block;
    }
}


/* ---- Site Header ---- */

.site-header {
    background-color: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: 1280px;
    margin: auto;
    padding: 0 1rem;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 4rem;
}

.header-logo {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.header-logo img {
    height: 2.5rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.header-search {
    flex: 1;
    max-width: 28rem;
    display: none;
}

@media (min-width: 768px) {
    .header-search {
        display: flex;
    }
}

.search-wrap {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.625rem 2.75rem 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.search-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.search-btn:hover {
    color: white;
}

.search-btn svg {
    width: 1rem;
    height: 1rem;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-account {
    display: none;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

@media (min-width: 640px) {
    .header-account {
        display: flex;
    }
}

.header-account:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-account svg {
    width: 18px;
    height: 18px;
}

.header-account span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 6rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: white;
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cart-btn:hover {
    background: var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cart-btn svg {
    width: 1rem;
    height: 1rem;
}

.cart-badge {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--red-500);
    color: white;
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hamburger-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .hamburger-btn {
        display: none;
    }
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hamburger-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* ---- Desktop Nav ---- */

.site-nav {
    display: none;
    align-items: center;
    gap: 1.25rem;
    padding: 0.625rem 0 0.75rem;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .site-nav {
        display: flex;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.nav-link--all {
    color: white;
    font-weight: 600;
}

.nav-promo {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--red-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: background 0.2s;
    animation: navpulse 2s ease-in-out infinite;
}

.nav-promo:hover {
    background: var(--red-600);
}

.nav-promo svg {
    width: 0.875rem;
    height: 0.875rem;
}

@keyframes navpulse {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: 0.75
    }
}


/* ---- Mobile Menu ---- */

.mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--navy-dark);
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-search {
    display: flex;
    margin-bottom: 0.75rem;
}

.mobile-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 0;
    border-radius: 0.75rem 0 0 0.75rem;
    padding: 0.625rem 0.75rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
}

.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mobile-search input:focus {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-search button {
    background: white;
    color: var(--navy);
    padding: 0 1rem;
    border-radius: 0 0.75rem 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.mobile-search button:hover {
    background: var(--gray-100);
}

.mob-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.625rem;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 0.5rem;
    transition: all 0.2s;
    margin-bottom: 0.125rem;
}

.mob-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mob-link--bold {
    font-weight: 600;
    color: white;
}

.mob-link--promo {
    font-weight: 700;
    color: var(--red-400);
}

.mob-link--muted {
    color: rgba(255, 255, 255, 0.6);
}

.mob-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
    padding-top: 0.5rem;
}


/* ---- Flash Messages ---- */

.flash-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1rem 0;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    border: 1px solid;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fefce8;
    border-color: #fef08a;
    color: #854d0e;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}


/* ---- Status Badges (shared with functions.php output) ---- */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.status-badge--pending {
    background: #fef9c3;
    color: #854d0e;
}

.status-badge--confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge--processing {
    background: #eef0fb;
    color: var(--navy);
}

.status-badge--shipped {
    background: #ede9fe;
    color: #4c1d95;
}

.status-badge--delivered {
    background: #dcfce7;
    color: #166534;
}

.status-badge--cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge--refunded {
    background: var(--gray-100);
    color: var(--gray-700);
}

.status-badge--paid {
    background: #dcfce7;
    color: #166534;
}

.status-badge--unpaid {
    background: #fee2e2;
    color: #991b1b;
}


/* ---- Pagination ---- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.15s;
}

.pagination a {
    color: var(--navy);
    background: white;
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.pagination a.pg-active {
    background: var(--navy);
    color: white;
    font-weight: 600;
    border-color: var(--navy);
}


/* ---- Hero / Carousel ---- */

.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-track {
    position: relative;
    height: 18rem;
    background-color: var(--navy);
}

@media (min-width: 768px) {
    .hero-track {
        height: 30rem;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 40, 120, 0.8), transparent);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 0 4rem;
    }
}

.hero-inner {
    max-width: 32rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-block;
    background: white;
    color: var(--navy);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    transition: background 0.2s;
}

.hero-btn:hover {
    background: var(--gray-100);
}

.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    height: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    width: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.hero-dot--active {
    background: white;
    width: 2rem;
}


/* Fallback hero */

.hero-fallback {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-fallback-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.hero-fallback-inner {
    position: relative;
    max-width: 48rem;
    margin: auto;
}

.hero-fallback-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-fallback-title {
        font-size: 3.75rem;
    }
}

.hero-fallback-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-hero-primary {
    display: inline-block;
    background: white;
    color: var(--navy);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    transition: background 0.2s;
}

.btn-hero-primary:hover {
    background: var(--gray-100);
}

.btn-hero-outline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ---- Service Strip ---- */

.service-strip {
    background-color: var(--navy-dark);
    color: white;
}

.service-strip-inner {
    max-width: 1280px;
    margin: auto;
    padding: 0 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
    .service-item {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        padding: 1rem 0;
    }
    .service-item:last-child {
        border-right: none;
    }
}

.service-item svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}


/* ---- Why-Us Strip ---- */

.why-strip {
    background-color: var(--navy);
    padding: 3rem 1rem;
    margin: 2rem 0;
}

.why-strip-inner {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .why-strip-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.why-eyebrow {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.why-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .why-title {
        font-size: 2.25rem;
    }
}

.why-sub {
    color: var(--gray-300);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.why-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.why-feature span {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.why-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.why-cat-tile {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--navy-light);
    height: 9rem;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    transition: all 0.2s;
}

.why-cat-tile:hover {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.why-cat-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.why-cat-tile:hover img {
    opacity: 0.6;
}

.why-cat-label {
    position: relative;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.why-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-400);
    padding: 2rem 0;
    font-size: 0.875rem;
}


/* ---- Section ---- */

.section {
    padding: 2.5rem 0;
}

.section-inner {
    max-width: 1280px;
    margin: auto;
    padding: 0 1rem;
}

.section--trust {
    background-color: #eef0fb;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.section-link {
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--navy-dark);
    text-decoration: underline;
}


/* ---- Category Tiles ---- */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.cat-tile:hover {
    background: #eef0fb;
    border-color: #b1b9eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 40, 120, 0.1);
}

.cat-tile-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-tile-icon img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.cat-tile-placeholder {
    width: 3rem;
    height: 3rem;
    background: #eef0fb;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cat-tile:hover .cat-tile-placeholder {
    background: #d8dcf5;
}

.cat-tile-placeholder svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--navy);
}

.cat-tile-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-tile:hover .cat-tile-name {
    color: var(--navy);
}


/* ---- Ad Banner ---- */

.ad-banner-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

.ad-banner-link {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    height: 7rem;
    background: var(--navy);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

@media (min-width: 640px) {
    .ad-banner-link {
        height: 9rem;
    }
}

.ad-banner-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ad-banner-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---- Product Grid ---- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ---- Product Card ---- */

.product-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 40, 120, 0.15);
}

.pc-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-50);
    overflow: hidden;
}

.pc-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    transition: transform 0.5s;
}

.product-card:hover .pc-img {
    transform: scale(1.06);
}

.pc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-placeholder svg {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--gray-200);
}

.pc-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pc-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    color: white;
}

.pc-badge--sale {
    background: var(--red-500);
}

.pc-badge--new {
    background: #10b981;
}

.pc-badge--top {
    background: var(--navy);
}

.pc-body {
    padding: 0.875rem;
}

.pc-brand {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.pc-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.5rem;
}

.pc-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pc-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-900);
}

.pc-compare {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.pc-btn {
    display: block;
    width: 100%;
    background: var(--navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.625rem 0;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.15s;
}

.pc-btn:hover {
    background: var(--navy-dark);
    box-shadow: 0 2px 8px rgba(30, 40, 120, 0.2);
}

.pc-btn:active {
    transform: scale(0.98);
}


/* ---- Trust Bar ---- */

.trust-bar {
    padding: 2.5rem 1rem;
}

.trust-grid {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    width: 3rem;
    height: 3rem;
    background: #eef0fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--navy);
}

.trust-title {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.trust-text {
    font-size: 0.75rem;
    color: var(--gray-500);
}


/* ---- Promo Popup ---- */

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.promo-card {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 28rem;
    width: 100%;
    overflow: hidden;
}

.promo-card img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

.promo-no-img {
    width: 100%;
    height: 10rem;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-no-img svg {
    width: 4rem;
    height: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.promo-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.15s;
}

.promo-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

.promo-body {
    padding: 1.5rem;
    text-align: center;
}

.promo-eyebrow {
    color: var(--navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.promo-desc {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.promo-end {
    color: var(--red-500);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.promo-end svg {
    width: 0.875rem;
    height: 0.875rem;
}

.promo-cta {
    display: block;
    background: var(--navy);
    color: white;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    transition: background 0.15s;
    margin-bottom: 0.75rem;
}

.promo-cta:hover {
    background: var(--navy-dark);
}

.promo-dismiss {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    padding: 0.25rem;
    transition: color 0.15s;
}

.promo-dismiss:hover {
    color: var(--gray-600);
}


/* ---- Footer ---- */

.site-footer {
    background-color: var(--navy);
    color: var(--gray-300);
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1280px;
    margin: auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    height: 2.5rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.footer-contact {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social-btn {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
}

.footer-social-btn:hover {
    background: var(--navy-light);
}

.footer-social-btn.wa:hover {
    background: #16a34a;
}

.footer-social-btn svg {
    width: 1rem;
    height: 1rem;
}

.footer-col h4 {
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col .footer-promo-link {
    color: var(--red-400);
}

.footer-col .footer-promo-link:hover {
    color: #fca5a5;
}

.footer-promo-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.footer-promo-icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

.footer-branch {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.footer-branch-name {
    color: white;
    font-weight: 500;
}

.footer-branch-loc {
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    color: var(--gray-500);
}

.footer-vat {
    color: var(--gray-600);
}


/* ---- WhatsApp Float ---- */

.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.2s;
}

.wa-float:hover {
    background: #16a34a;
    transform: scale(1.1);
}

.wa-float svg {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}


/* ---- Page Content ---- */

.page-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
    width: 100%;
    box-sizing: border-box;
}

.page-wrap--sm {
    max-width: 28rem;
}

.page-wrap--md {
    max-width: 40rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.page-title--center {
    text-align: center;
}

.page-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    text-align: center;
}


/* ---- Breadcrumb ---- */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--gray-400);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--navy);
}

.breadcrumb-sep {
    color: var(--gray-300);
}

.breadcrumb-current {
    color: var(--gray-700);
}


/* ---- White Card ---- */

.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.card--p4 {
    padding: 1rem;
}

.card--p5 {
    padding: 1.25rem;
}

.card--p6 {
    padding: 1.5rem;
}

.card--shadow {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}


/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.15s;
    line-height: 1;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: var(--navy-dark);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-white {
    background: white;
    color: var(--navy);
    border: 1px solid var(--gray-200);
}

.btn-white:hover {
    background: var(--gray-50);
}

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-success:hover {
    background: #15803d;
}

.btn-danger {
    background: var(--red-600);
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-whatsapp {
    background: #22c55e;
    color: white;
}

.btn-whatsapp:hover {
    background: #16a34a;
}

.btn-gray {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-gray:hover {
    background: var(--gray-200);
}

.btn--sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn--xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

.btn--full {
    width: 100%;
}

.btn--place {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 1rem;
    background: #16a34a;
    color: white;
}

.btn--place:hover {
    background: #15803d;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ---- Forms ---- */

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(45, 60, 158, 0.12);
}

.form-input:disabled,
.form-select:disabled {
    background: var(--gray-50);
    color: var(--gray-400);
    border-color: var(--gray-200);
}

.form-textarea {
    resize: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    color: var(--gray-700);
}

.form-check input {
    accent-color: var(--navy);
    width: 1rem;
    height: 1rem;
}

.phone-row {
    display: flex;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.phone-input {
    flex: 1;
    border-radius: 0 0.75rem 0.75rem 0 !important;
}

.form-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.form-error-box p {
    font-size: 0.875rem;
    color: #991b1b;
}


/* ---- Data Table ---- */

.data-table {
    width: 100%;
    font-size: 0.875rem;
}

.data-table thead tr {
    background: var(--gray-50);
}

.data-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.data-table th.center {
    text-align: center;
}

.data-table th.right {
    text-align: right;
}

.data-table tbody tr {
    border-top: 1px solid var(--gray-50);
}

.data-table tbody tr:hover {
    background: var(--gray-50);
}

.data-table td {
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    vertical-align: middle;
}

.data-table td.center {
    text-align: center;
}

.data-table td.right {
    text-align: right;
}

.td-mono {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
}

.td-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.td-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy);
}

.td-link:hover {
    text-decoration: underline;
}


/* ---- Shop Page ---- */

.shop-layout {
    display: flex;
    gap: 1.5rem;
}

.filter-sidebar {
    display: none;
    width: 14rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .filter-sidebar {
        display: block;
    }
}

.filter-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1rem;
}

.filter-section {
    margin-bottom: 1.25rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.filter-link {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 0.125rem 0;
    transition: color 0.2s;
}

.filter-link:hover {
    color: var(--navy);
}

.filter-link.active {
    font-weight: 600;
    color: var(--navy);
}

.filter-sublink {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 0.125rem 0 0.125rem 0.75rem;
    transition: color 0.2s;
}

.filter-sublink:hover {
    color: var(--navy);
}

.filter-sublink.active {
    font-weight: 600;
    color: var(--navy);
}

.filter-clear {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.filter-clear:hover {
    color: var(--red-500);
}

.price-row {
    display: flex;
    gap: 0.5rem;
}

.price-input {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    outline: none;
    font-family: inherit;
}

.brand-list {
    max-height: 12rem;
    overflow-y: auto;
}

.brand-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.125rem 0;
    color: var(--gray-700);
    transition: color 0.2s;
}

.brand-label:hover {
    color: var(--navy);
}

.brand-label input {
    accent-color: var(--navy);
}

.shop-main {
    flex: 1;
    min-width: 0;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sort-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.sort-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.sort-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.sort-select {
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    background: white;
    color: var(--gray-800);
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-state svg {
    color: var(--gray-300);
    margin: 0 auto 1rem;
    display: block;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.empty-state a {
    color: var(--navy);
    text-decoration: underline;
    font-size: 0.875rem;
}


/* ---- Product Detail ---- */

.product-wrap {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.product-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-width: 0;
    width: 100%;
}

.product-grid-2 > * { min-width: 0; }

@media (min-width: 1024px) {
    .product-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.product-main-img {
    aspect-ratio: 1;
    background: var(--gray-50);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    margin-bottom: 0.75rem;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.product-main-img .empty-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-200);
}

.product-main-img .empty-img svg {
    width: 6rem;
    height: 6rem;
}

.thumb-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.thumb-img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.thumb-img:hover {
    border-color: var(--navy-light);
}

.pi-brand {
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.pi-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 1rem;
    word-break: break-word;
}

@media (min-width: 768px) {
    .pi-title {
        font-size: 1.875rem;
    }
}

.pi-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.pi-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
}

.pi-compare {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.pi-discount-badge {
    background: #fee2e2;
    color: var(--red-600);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.pi-sku {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.pi-space {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    width: 100%;
}

.variant-group p {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.variant-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-btn {
    border: 2px solid var(--gray-300);
    border-radius: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    background: white;
    cursor: pointer;
    transition: all 0.15s;
}

.variant-btn:hover {
    border-color: var(--navy-light);
}

.variant-btn.selected {
    border-color: var(--navy);
    background: #eef0fb;
    color: var(--navy);
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 0.75rem;
    overflow: hidden;
}

.qty-btn {
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    font-size: 1.125rem;
    font-weight: 700;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: var(--gray-50);
}

.qty-val {
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.add-cart-btn {
    flex: 1;
    background: var(--navy);
    color: white;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: background 0.15s;
}

.add-cart-btn:hover:not(:disabled) {
    background: var(--navy-dark);
}

.add-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pi-divider {
    border: none;
    border-top: 1px solid var(--gray-100);
}

.pi-section-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.pi-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.pi-features {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.pi-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.pi-feature svg {
    width: 1rem;
    height: 1rem;
    color: var(--navy-light);
    margin-top: 0.125rem;
    flex-shrink: 0;
}


/* ---- Reviews ---- */

.reviews-section {
    margin-top: 3rem;
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reviews-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.star-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.stars svg {
    width: 1.25rem;
    height: 1.25rem;
}

.star-on {
    color: var(--yellow-400);
}

.star-off {
    color: var(--gray-200);
}

.star-sm svg {
    width: 1rem;
    height: 1rem;
}

.star-lg svg {
    width: 2rem;
    height: 2rem;
}

.review-avg {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.review-count {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.no-reviews {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.review-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.25rem;
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-card-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.review-card-author {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: right;
}

.review-card-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.review-card-body {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.review-form-wrap {
    background: #eef0fb;
    border: 1px solid #d8dcf5;
    border-radius: 1rem;
    padding: 1.5rem;
}

.review-form-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.star-picker {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-picker label {
    cursor: pointer;
}

.star-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.star-picker svg {
    width: 2rem;
    height: 2rem;
    transition: color 0.15s;
}

.star-picker svg.on {
    color: var(--yellow-400);
}

.star-picker svg.off {
    color: var(--gray-200);
}


/* ---- Cart ---- */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cart-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.cart-thumb {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.cart-info {
    flex: 1;
    min-width: 0;
}

.cart-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.875rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-name:hover {
    color: var(--navy);
}

.cart-meta {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.125rem;
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.cart-qty-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-500);
    transition: background 0.15s;
}

.cart-qty-btn:hover {
    background: var(--gray-50);
}

.cart-qty-val {
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-price-wrap {
    text-align: right;
}

.cart-price-total {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.875rem;
}

.cart-price-unit {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.cart-remove {
    flex-shrink: 0;
    color: var(--gray-300);
    align-self: flex-start;
    transition: color 0.15s;
}

.cart-remove:hover {
    color: var(--red-500);
}

.cart-remove svg {
    width: 1rem;
    height: 1rem;
}

.order-summary-card {
    position: sticky;
    top: 5rem;
}

.os-title {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.os-rows {
    margin-bottom: 1rem;
}

.os-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.os-row--light {
    color: var(--gray-400);
}

.os-total {
    border-top: 1px solid var(--gray-100);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1rem;
}

.cart-continue {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
    transition: color 0.15s;
}

.cart-continue:hover {
    color: var(--navy);
}

.cart-empty {
    text-align: center;
    padding: 6rem 1rem;
}

.cart-empty svg {
    color: var(--gray-300);
    margin: 0 auto 1.25rem;
    display: block;
}

.cart-empty h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}


/* ---- Checkout ---- */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

@media (min-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 2fr 1fr;
        gap: 2rem;
    }
}

.checkout-layout > * {
    min-width: 0;
}

.co-stack > * {
    min-width: 0;
    width: 100%;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.step-num.inactive {
    background: var(--gray-200);
    color: var(--gray-400);
}

.step-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
}

.step-name.inactive {
    color: var(--gray-400);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--gray-300);
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

@media (min-width: 900px) {
    .delivery-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .del-opt-icon {
        width: 1rem;
        height: 1rem;
    }
    .del-option {
        padding: 0.75rem 0.875rem;
        gap: 0.5rem;
    }
    .del-option input[type="radio"] {
        width: 0.875rem;
        height: 0.875rem;
    }
    .del-option-title {
        font-size: 0.8125rem;
    }
}

.del-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
    min-width: 0;
}

.del-option.selected {
    border-color: var(--primary);
    background: #eff4ff;
}

.del-option input[type="radio"] {
    accent-color: var(--primary);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin: 0;
}

.del-opt-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--gray-400);
}

.del-option.selected .del-opt-icon {
    color: var(--primary);
}

.del-option-title {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.3;
}

/* ── Delivery service sub-options (matatu / courier / motorbike / metropolitan) ── */
.del-service-opts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.del-service-opt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.del-service-opt.selected {
    border-color: var(--primary);
    background: #eff4ff;
}

.del-service-opt input[type="radio"] {
    accent-color: var(--primary);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin: 0;
}

.del-service-name {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.del-service-fee {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    white-space: nowrap;
}

/* ── Pay on delivery vs pay now choice ── */
.pay-choice-opts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pay-choice-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.pay-choice-opt.selected {
    border-color: var(--primary);
    background: #eff4ff;
}

.pay-choice-opt input[type="radio"] {
    accent-color: var(--primary);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pay-choice-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pay-choice-content strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}

.pay-choice-content span {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.del-install-note {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    line-height: 1.55;
}

.delivery-notice {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.delivery-notice--blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.delivery-notice--gray {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.delivery-notice svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.mpesa-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    overflow: hidden;
    word-break: break-all;
}

.mpesa-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.mpesa-total {
    margin-top: 0.25rem;
    border-top: 1px solid #bbf7d0;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800);
}

.mpesa-note {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-size: 0.75rem;
    color: #854d0e;
    margin-bottom: 1rem;
}

.saved-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s;
}

.saved-address:hover {
    border-color: var(--navy-light);
}

.saved-address input {
    margin-top: 0.125rem;
    accent-color: var(--navy);
}

.saved-address-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.saved-address-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.co-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .co-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.co-cols--full {
    grid-column: 1 / -1;
}

.co-section {
    margin-bottom: 1.5rem;
}

.coupon-row {
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
}

.coupon-msg {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.coupon-msg--ok {
    color: #16a34a;
}

.coupon-msg--err {
    color: var(--red-500);
}

.os-row--discount {
    color: #16a34a;
}


/* ---- Auth Pages ---- */

.auth-page {
    max-width: 28rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray-500);
    text-align: center;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.auth-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.auth-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.auth-footer a {
    color: var(--navy);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* ---- Account ---- */

.account-layout {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .account-layout {
        grid-template-columns: 16rem 1fr;
    }
}

.acct-sidebar-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.acct-sidebar-header {
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, var(--navy), var(--navy-dark));
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.acct-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.acct-name {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acct-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acct-nav {
    padding: 0.5rem;
}

.acct-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: all 0.15s;
    margin-bottom: 0.125rem;
}

.acct-link:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.acct-link.active {
    background: #eef0fb;
    color: var(--navy);
    font-weight: 600;
}

.acct-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.acct-link--danger {
    color: var(--red-600);
    border-top: 1px solid var(--gray-100);
    margin-top: 0.25rem;
    padding-top: 0.625rem;
}

.acct-link--danger:hover {
    background: #fef2f2;
    color: var(--red-600);
}

.acct-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.acct-page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.acct-welcome {
    background: #eef0fb;
    border: 1px solid #d8dcf5;
    border-radius: 1rem;
    padding: 1.25rem;
    color: var(--navy);
}

.acct-welcome-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.acct-welcome-sub {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.acct-welcome-stats {
    margin-top: 1rem;
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.25rem;
    color: var(--navy);
}

.orders-table-wrap {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
}

.order-no-data {
    padding: 2rem 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.order-no-data a {
    color: var(--navy);
}

.order-no-data a:hover {
    text-decoration: underline;
}


/* Order detail */

.order-num-heading {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.order-detail-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.order-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.timeline-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    margin-top: 0.375rem;
    flex-shrink: 0;
}

.timeline-dot--default {
    background: var(--navy-light);
}

.timeline-dot--blue {
    background: #60a5fa;
}

.timeline-label {
    font-weight: 500;
    color: var(--gray-800);
}

.timeline-time {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-left: 0.5rem;
}

.timeline-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.125rem;
}

.order-subtotal-rows {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--gray-100);
}

.order-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    color: var(--gray-600);
}

.order-row--discount {
    color: #16a34a;
}

.order-row--total {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1rem;
    border-top: 1px solid var(--gray-100);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.order-mpesa-box {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 0.875rem;
}

.order-mpesa-code {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #854d0e;
}

.order-mpesa-note {
    font-size: 0.75rem;
    color: #92400e;
    margin-top: 0.5rem;
}


/* Address page */

.address-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1rem;
}

.address-card--default {
    border-color: var(--navy-light);
}

.address-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.address-default-tag {
    font-size: 0.6875rem;
    color: var(--navy);
    font-weight: 400;
    margin-left: 0.375rem;
}

.address-line {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.address-edit {
    font-size: 0.75rem;
    color: var(--navy);
}

.address-edit:hover {
    text-decoration: underline;
}

.address-empty {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-400);
}


/* Specials / promo */

.specials-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
    padding: 4rem 1rem;
    text-align: center;
}

.specials-hero-img {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    object-fit: cover;
    height: 16rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.specials-eyebrow {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.specials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .specials-title {
        font-size: 3rem;
    }
}

.specials-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 28rem;
    margin: 0 auto 1rem;
}

.specials-end-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red-500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.specials-end-badge svg {
    width: 1rem;
    height: 1rem;
}

.specials-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .specials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .specials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.special-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.2s;
}

.special-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.special-card-img {
    width: 100%;
    height: 11rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.special-card:hover .special-card-img {
    transform: scale(1.05);
}

.special-card-placeholder {
    width: 100%;
    height: 11rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-card-placeholder svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--gray-300);
}

.special-card-body {
    padding: 1rem;
}

.special-card-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.special-card-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.special-price-sale {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--red-600);
}

.special-price-compare {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.special-price-main {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
}

.special-card-btn {
    display: block;
    width: 100%;
    background: var(--navy);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    text-align: center;
    transition: background 0.15s;
}

.special-card-btn:hover {
    background: var(--navy-dark);
}

.specials-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.specials-empty-icon {
    width: 4rem;
    height: 4rem;
    background: #eef0fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.specials-empty-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--navy);
}

.specials-empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.specials-empty-text {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}


/* Order confirmation */

.order-confirm-wrap {
    max-width: 40rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.order-confirm-banner {
    text-align: center;
    margin-bottom: 2rem;
}

.confirm-icon {
    width: 5rem;
    height: 5rem;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.confirm-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #16a34a;
}

.confirm-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.confirm-sub {
    color: var(--gray-500);
}

.confirm-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.confirm-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 1rem;
}

.confirm-order-num {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.confirm-order-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 0.25rem;
}

.confirm-date {
    font-weight: 500;
    font-size: 0.875rem;
}

.confirm-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.confirm-items {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    margin-bottom: 1rem;
}

.confirm-items-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.confirm-item-name {
    font-weight: 500;
    color: var(--gray-800);
}

.confirm-item-variant {
    color: var(--gray-400);
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.confirm-item-qty {
    color: var(--gray-400);
}

.confirm-item-price {
    font-weight: 600;
}

.confirm-totals {
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.confirm-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    color: var(--gray-600);
}

.confirm-total-row--discount {
    color: #16a34a;
}

.confirm-total-row--grand {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
    border-top: 1px solid var(--gray-100);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.confirm-mpesa {
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.confirm-mpesa-label {
    font-weight: 600;
    color: #854d0e;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.confirm-mpesa-code {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #78350f;
}

.confirm-mpesa-note {
    font-size: 0.75rem;
    color: #92400e;
    margin-top: 0.375rem;
}

.confirm-address {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.confirm-address-title {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.confirm-address-detail {
    color: var(--gray-600);
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

@media (min-width: 640px) {
    .confirm-actions {
        flex-direction: row;
    }
}

.confirm-actions a {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
}


/* Back link */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    transition: color 0.15s;
}

.back-link:hover {
    color: var(--navy);
}

.back-link svg {
    width: 1rem;
    height: 1rem;
}


/* Error pages */

.error-page {
    max-width: 32rem;
    margin: 0 auto;
    padding: 5rem 1rem;
    text-align: center;
}

.error-page h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.error-page a {
    color: var(--navy);
}

.error-num {
    font-size: 6rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-center-wrap {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


/* ---- Error page helpers ---- */

.error-logo {
    height: 3rem;
    width: auto;
    margin: 0 auto 2rem;
}

.error-sub {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}


/* ---- Utility ---- */

.text-right {
    text-align: right;
}

.mt-xs {
    margin-top: 0.25rem;
}

.mt-sm {
    margin-top: 0.75rem;
}

.mt-lg {
    margin-top: 1.25rem;
}

.min-w-0 {
    min-width: 0;
}

.fw-medium {
    font-weight: 500;
}

.fw-semibold {
    font-weight: 600;
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.text-mono {
    font-family: monospace;
}

.flex-1 {
    flex: 1;
}

.hero-highlight {
    color: rgba(255, 255, 255, 0.9);
}

.util-dot {
    color: rgba(255, 255, 255, 0.5);
}


/* ---- Shop ---- */

.shop-header {
    margin-bottom: 1.25rem;
}

.page-title--tight {
    margin-bottom: 0.25rem;
}

.shop-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}


/* ---- Specials ---- */

.specials-count-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.special-card-img-wrap {
    position: relative;
}

.badge-left {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.badge-right {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}


/* ---- Product detail ---- */

.sku-val {
    font-family: monospace;
}

.attr-val {
    font-weight: 400;
}

.pi-related {
    margin-top: 3rem;
}

.related-title {
    margin-bottom: 1.25rem;
}


/* ---- Cart ---- */

.cart-sku {
    font-family: monospace;
}


/* ---- Checkout (extend) ---- */

.co-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-title--mb {
    margin-bottom: 1rem;
}

.card-title--mb-sm {
    margin-bottom: 0.75rem;
}

.saved-addresses-wrap {
    margin-bottom: 1rem;
}

.address-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

.form-check--mt {
    margin-top: 1rem;
}

.form-check--top {
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check--top input[type="checkbox"] {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.install-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
}

.install-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.mpesa-val {
    font-weight: 600;
}

.mpesa-paybill {
    font-weight: 700;
    font-size: 1.125rem;
    font-family: monospace;
}

.mpesa-account-val {
    font-family: monospace;
    font-weight: 600;
}

.input-mono-upper {
    text-transform: uppercase;
    font-family: monospace;
}

.os-items {
    border-bottom: 1px solid var(--gray-50);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}

.os-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.375rem 0;
}

.os-item-name {
    flex: 1;
    color: var(--gray-700);
}

.os-item-qty {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.os-item-price {
    font-weight: 500;
}

.checkout-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 0.75rem;
}


/* ---- Order confirmation ---- */

.badge-mt {
    margin-top: 0.25rem;
}


/* ---- Review page ---- */

.page-wrap--padded {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.review-state {
    text-align: center;
    padding: 3rem 0;
}

.state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.state-text {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.confirm-icon--center {
    margin: 0 auto 1.5rem;
}

.confirm-icon--error {
    background: #fee2e2;
}

.confirm-icon--error svg {
    color: #dc2626;
}

.review-header {
    margin-bottom: 2rem;
}

.review-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.review-page-sub {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.review-order-ref {
    font-family: monospace;
    font-weight: 600;
    color: var(--navy);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-product-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.star-count {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.review-disclaimer {
    font-size: 0.75rem;
    text-align: center;
    color: var(--gray-400);
}


/* ---- Account order detail ---- */

.order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.card--overflow {
    overflow: hidden;
}

.mpesa-label {
    font-weight: 600;
    color: #854d0e;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}


/* ---- Addresses page ---- */

.addresses-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .addresses-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.address-form-title {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.address-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.form-space {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
}

.address-delete-btn {
    font-size: 0.75rem;
    color: var(--red-500);
}

.address-delete-btn:hover {
    text-decoration: underline;
}


/* ---- Hero (extend) ---- */

.btn-hero-primary--sm {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
}


/* ---- Alpine.js transition utilities ---- */

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.scale-90 {
    transform: scale(0.9);
}

.scale-100 {
    transform: scale(1);
}

.scale-105 {
    transform: scale(1.05);
}

.-translate-y-1 {
    transform: translateY(-4px);
}

.translate-y-0 {
    transform: translateY(0);
}

.transition {
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.error-page a:hover {
    color: var(--navy-dark);
    text-decoration: underline;
}


/* ============================================================

/* ============================================================
   SMARTSTORE THEME
   Primary: #1a56db (Blue)  |  Dark sections: #0f172a
   Clean eCommerce look inspired by SmartStore Bootstrap template
   ============================================================ */

/* ---- Body ---- */
body { background-color: #f6f6f6; }

/* ---- Utility bar — dark ---- */
#utility-bar { background: #1d1d24; }

/* ---- Site Header — Clean White ---- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: sticky;
}
.site-header::after { display: none; }

/* Logo — visible on white header (no invert) */
.header-logo img { filter: none; opacity: 1; }

/* Search bar */
.search-input {
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    color: #333;
}
.search-input::placeholder { color: #999; }
.search-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.search-btn { color: #999; }
.search-btn:hover { color: var(--primary); }

/* Account link */
.header-account { color: #555; }
.header-account:hover { color: var(--primary); background: rgba(26,86,219,0.06); }

/* Cart button — orange */
.cart-btn {
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(26,86,219,0.30);
    border: none;
}
.cart-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(26,86,219,0.40);
    transform: translateY(-1px);
    color: white;
}

/* Hamburger on white header */
.hamburger-btn { color: #555; }
.hamburger-btn:hover { background: #f0f0f0; color: #333; }

/* Desktop nav */
.site-nav { border-top: 1px solid #f0f0f0; }
.nav-link { color: #444; }
.nav-link:hover { color: var(--primary); }
.nav-link--all { color: var(--primary); font-weight: 700; }

/* Mobile menu — white */
.mobile-menu {
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.mob-link { color: #555; }
.mob-link:hover { background: #f5f5f5; color: #222; }
.mob-link--bold { color: #222; }
.mob-link--promo { color: var(--primary); }
.mob-link--muted { color: #888; }
.mob-divider { border-top: 1px solid #eee; }
.mobile-search input {
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-right: 0;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #333;
}
.mobile-search input::placeholder { color: #999; }
.mobile-search input:focus { background: white; }
.mobile-search button { background: var(--primary); color: white; border-radius: 0 0.5rem 0.5rem 0; }
.mobile-search button:hover { background: var(--primary-dark); }

/* ---- Service strip — orange ---- */
.service-strip { background: var(--primary); border: none; }
.service-item { border-color: rgba(255,255,255,0.25); color: white; font-weight: 600; }
.service-item:hover { color: rgba(255,255,255,0.85); }

/* ---- Section header ---- */
.section-title::after {
    background: linear-gradient(90deg, var(--primary), rgba(26,86,219,0.20));
}
.section-link { color: var(--primary); }
.section-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ---- Category tiles ---- */
.cat-tile {
    border: 1px solid #ebebeb;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: white;
    transition: all 0.3s ease;
}
.cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(26,86,219,0.15);
    border-color: rgba(26,86,219,0.30);
    background: white;
}
.cat-tile:hover .cat-tile-name { color: var(--primary); }
.cat-tile-placeholder { background: #fff0ee; border-radius: 0.5rem; }
.cat-tile-placeholder svg { color: var(--primary); }
.cat-tile:hover .cat-tile-placeholder { background: var(--primary); }
.cat-tile:hover .cat-tile-placeholder svg { color: white; }

/* ---- Product cards ---- */
.product-card {
    background: white;
    border: 1px solid #ebebeb;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.pc-img-wrap { background: white; }
.pc-price { color: var(--primary); font-weight: 700; font-size: 1rem; }
.pc-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.875rem;
    align-items: center;
}
.pc-btn {
    flex: 1;
    background: var(--primary);
    border-radius: 0.5rem;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.pc-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(26,86,219,0.30);
    transform: translateY(-1px);
}
.pc-btn:active { transform: scale(0.97); }
.pc-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    background: #25d366;
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(37,211,102,0.30);
}
.pc-btn-wa:hover {
    background: #1db954;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,211,102,0.45);
}
.pc-badge--sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}
.pc-badge--new {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(16,185,129,0.35);
}
.pc-badge--top {
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(26,86,219,0.35);
}

/* ---- Ad banner ---- */
.ad-banner-link { border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.ad-banner-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ---- Why-Us strip ---- */
.why-strip {
    background: linear-gradient(135deg, #1d1d24 0%, #2d2d3a 100%);
    position: relative;
    overflow: hidden;
}
.why-strip::before { display: none; }
.why-feature svg { color: var(--primary); }
.why-cat-tile { border-radius: 0.75rem; transition: all 0.3s ease; }
.why-cat-tile:hover { transform: scale(1.04); box-shadow: 0 16px 40px rgba(0,0,0,0.40); }

/* ---- Trust bar ---- */
.section--trust {
    background: #f0f5ff;
    border-top: 1px solid rgba(26,86,219,0.12);
    border-bottom: 1px solid rgba(26,86,219,0.12);
}
.trust-icon {
    background: white;
    width: 3.5rem;
    height: 3.5rem;
    box-shadow: 0 4px 12px rgba(26,86,219,0.12);
    transition: all 0.3s ease;
}
.trust-icon svg { color: var(--primary); }
.trust-item:hover .trust-icon {
    background: var(--primary);
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 24px rgba(26,86,219,0.35);
}
.trust-item:hover .trust-icon svg { color: white; }

/* ---- Hero carousel ---- */
.hero-overlay {
    background: linear-gradient(100deg, rgba(29,29,36,0.82) 0%, rgba(29,29,36,0.40) 55%, transparent 100%);
}
.hero-btn {
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(26,86,219,0.40);
    transition: all 0.25s ease;
}
.hero-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(26,86,219,0.50);
    transform: translateY(-2px);
    color: white;
}
.hero-dot--active { background: var(--primary); }

/* Hero fallback */
.hero-fallback {
    background: linear-gradient(135deg, #14141a 0%, #1d1d24 55%, #2d2d3a 100%);
    padding: 6rem 1.5rem 7rem;
    position: relative;
    overflow: hidden;
}
.hero-fallback::before {
    content: '';
    position: absolute;
    width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(26,86,219,0.15) 0%, transparent 68%);
    top: -200px; right: -80px;
    pointer-events: none;
    animation: orb1 9s ease-in-out infinite;
}
.hero-fallback::after {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 68%);
    bottom: -120px; left: -60px;
    pointer-events: none;
    animation: orb2 12s ease-in-out infinite;
}
@keyframes orb1 { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-32px) scale(1.06)} }
@keyframes orb2 { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(24px) scale(0.94)} }

.hero-fallback-title {
    background: linear-gradient(135deg, #ffffff 0%, rgba(26,86,219,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}
@media (min-width: 768px) { .hero-fallback-title { font-size: 4rem; } }

.btn-hero-primary {
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(26,86,219,0.40);
    transition: all 0.25s ease;
}
.btn-hero-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 28px rgba(26,86,219,0.50);
    transform: translateY(-2px);
    color: white;
}
.btn-hero-outline {
    border-radius: 0.5rem;
    border-color: rgba(26,86,219,0.50);
    transition: all 0.25s ease;
}
.btn-hero-outline:hover {
    background: rgba(26,86,219,0.15);
    border-color: rgba(26,86,219,0.80);
    transform: translateY(-2px);
}

/* ---- Buttons ---- */
.btn-primary {
    background: var(--primary);
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(26,86,219,0.25);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(26,86,219,0.35);
    transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.97); }
.btn--place {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border-radius: 0.75rem;
}
.btn--place:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 6px 20px rgba(22,163,74,0.40);
    transform: translateY(-1px);
}

/* Add-to-cart (product detail) */
.add-cart-btn {
    background: var(--primary);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.add-cart-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(26,86,219,0.40);
}

/* ---- Forms ---- */
.form-input, .form-select, .form-textarea {
    border-radius: 0.5rem;
    background: white;
    border-color: var(--gray-200);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.10);
}

/* ---- Cards ---- */
.card {
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-radius: 0.75rem;
}

/* ---- Auth ---- */
.auth-card {
    border: 1px solid #ebebeb;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-radius: 0.75rem;
    padding: 2rem;
}
.auth-title {
    color: var(--navy);
    -webkit-text-fill-color: var(--navy);
    background: none;
    background-clip: unset;
}

/* ---- Account sidebar ---- */
.acct-sidebar-card {
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-radius: 0.75rem;
}
.acct-sidebar-header { background: linear-gradient(135deg, #1d1d24 0%, #2d2d3a 100%); }
.acct-link.active { background: #fff0ee; color: var(--primary); }
.acct-welcome {
    background: #f0f5ff;
    border: 1px solid rgba(26,86,219,0.15);
    border-radius: 0.75rem;
    box-shadow: none;
}
.stat-value {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    background: none;
    background-clip: unset;
}

/* ---- Pagination ---- */
.pagination a.pg-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(26,86,219,0.30);
}

/* ---- Checkout steps ---- */
.step-num { background: var(--primary); box-shadow: 0 4px 10px rgba(26,86,219,0.30); }

/* ---- Filter sidebar ---- */
.filter-card { border: 1px solid #ebebeb; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-radius: 0.75rem; }
.filter-link.active, .filter-sublink.active { color: var(--primary); }

/* ---- Breadcrumb ---- */
.breadcrumb a:hover { color: var(--primary); }

/* ---- Page title ---- */
.page-title {
    color: var(--navy);
    -webkit-text-fill-color: var(--navy);
    background: none;
    background-clip: unset;
}

/* ---- Product detail ---- */
.product-wrap { border: 1px solid #ebebeb; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-radius: 0.75rem; }
.variant-btn.selected { border-color: var(--primary); background: rgba(26,86,219,0.05); color: var(--primary); }
.qty-ctrl { border-radius: 0.5rem; overflow: hidden; }

/* ---- Review cards ---- */
.review-card { border: 1px solid #ebebeb; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-radius: 0.75rem; }
.review-form-wrap { background: #f0f5ff; border: 1px solid rgba(26,86,219,0.15); }

/* ---- Cart ---- */
.cart-item { border: 1px solid #ebebeb; border-radius: 0.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* ---- Specials ---- */
.specials-hero { background: linear-gradient(135deg, #1d1d24 0%, #2d2d3a 100%); }
.special-card-btn { background: var(--primary); }
.special-card-btn:hover { background: var(--primary-dark); }
.special-price-main { color: var(--primary); }
.special-price-sale { color: var(--primary); }

/* ---- Promo popup ---- */
.promo-eyebrow { color: var(--primary); }
.promo-title { color: var(--navy); }
.promo-cta { background: var(--primary); }
.promo-cta:hover { background: var(--primary-dark); }
.promo-no-img { background: linear-gradient(135deg, #1d1d24, #2d2d3a); }

/* ---- Promo nav tag ---- */
.nav-promo { background: var(--primary); box-shadow: 0 4px 12px rgba(26,86,219,0.35); }

/* ---- Footer ---- */
.site-footer {
    background: linear-gradient(180deg, #1d1d24 0%, #14141a 100%);
    border-top: 1px solid rgba(26,86,219,0.20);
}
.footer-social-btn {
    width: 2.25rem; height: 2.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}
.footer-social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(26,86,219,0.40);
}
.footer-social-btn.wa:hover {
    background: linear-gradient(135deg, #25d366, #1db954);
    box-shadow: 0 6px 16px rgba(37,211,102,0.40);
}
.footer-col .footer-promo-link { color: var(--primary); }
.footer-col .footer-promo-link:hover { color: #3b82f6; }

/* ================================================================
   RESPONSIVE OVERHAUL
   ================================================================ */

/* --- Product card WA button --- */
.pc-wa-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Mobile (2-col grid): stack buttons vertically — both full width */
@media (max-width: 639px) {
    .pc-actions {
        flex-direction: column;
        gap: 0.375rem;
    }
    .pc-btn,
    .pc-btn-wa {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: unset;
        height: unset;
        padding: 0.6rem 0.5rem;
        font-size: 0.6875rem;
        border-radius: 0.375rem;
        box-sizing: border-box;
        gap: 0.375rem;
    }
    .pc-body { padding: 0.625rem; }
    .pc-name { font-size: 0.8125rem; min-height: auto; }
    .pc-price { font-size: 0.875rem; }
    .pc-brand { font-size: 0.5625rem; }
}

/* Tablet 640–1023px (3-col): side by side, WA is icon-only pill */
@media (min-width: 640px) and (max-width: 1023px) {
    .pc-btn-wa {
        min-width: 2.5rem;
        width: 2.5rem;
        padding: 0;
    }
    .pc-wa-label { display: none; }
}

/* Desktop 1024px+ (4-col): side by side, WA shows text */
@media (min-width: 1024px) {
    .pc-btn-wa {
        min-width: 6.25rem;
        width: auto;
        padding: 0 0.625rem;
        gap: 0.375rem;
    }
    .pc-wa-label { display: inline; }
}

/* --- Header scaling --- */
@media (max-width: 399px) {
    .header-logo img { height: 1.875rem; }
    .cart-btn { padding: 0.4rem 0.625rem; font-size: 0.75rem; gap: 0.25rem; }
    .header-row { gap: 0.375rem; }
    .hamburger-btn { width: 2rem; height: 2rem; }
}

/* --- Fluid section titles --- */
.section-title { font-size: clamp(1.125rem, 3.5vw, 1.5rem); }
.hero-title { font-size: clamp(1.375rem, 5vw, 1.875rem); }
@media (min-width: 768px) { .hero-title { font-size: clamp(2rem, 4vw, 3rem); } }
.hero-subtitle { font-size: clamp(0.875rem, 2.5vw, 1.125rem); }

/* --- Tighter section padding on mobile --- */
@media (max-width: 639px) {
    .section { padding-left: 0.875rem; padding-right: 0.875rem; }
    .section-header { margin-bottom: 0.875rem; }
    .section-title-wrap { margin-bottom: 0.875rem; }
}

/* --- 1-column grid on very small screens --- */
@media (max-width: 359px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* --- Service strip compact --- */
@media (max-width: 639px) {
    .service-item { font-size: 0.8125rem; padding: 0.5rem 0; }
    .service-item svg { width: 1rem; height: 1rem; }
}

/* --- Trust bar compact --- */
@media (max-width: 639px) {
    .trust-title { font-size: 0.875rem; }
    .trust-desc { font-size: 0.6875rem; }
    .trust-icon { width: 2.75rem; height: 2.75rem; }
}

/* --- Utility bar compact --- */
@media (max-width: 479px) {
    .util-link { font-size: 0.6875rem; gap: 0.25rem; }
    .util-link svg { width: 0.875rem; height: 0.875rem; }
}

/* --- Footer compact --- */
@media (max-width: 639px) {
    .footer-inner { padding: 2rem 1rem 1.5rem; gap: 1.5rem; }
    .footer-col h4 { font-size: 0.6875rem; }
    .footer-col li a { font-size: 0.8125rem; }
    .footer-tagline, .footer-contact { font-size: 0.8125rem; }
    .footer-bottom-inner { flex-direction: column; gap: 0.25rem; text-align: center; }
    .footer-copy, .footer-vat { font-size: 0.75rem; }
}

/* --- Mobile menu legibility --- */
@media (max-width: 479px) {
    .mob-link { font-size: 0.8125rem; padding: 0.4rem 0.5rem; }
}

/* --- Cart badge: don't overlap on small screens --- */
@media (max-width: 399px) {
    .cart-badge { width: 1rem; height: 1rem; font-size: 0.5625rem; top: -0.25rem; right: -0.25rem; }
}

/* ---- WhatsApp float — keep green ---- */
.wa-float {
    background: linear-gradient(135deg, #25d366, #1db954);
    box-shadow: 0 8px 28px rgba(37,211,102,0.50);
}
.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(37,211,102,0.62);
    background: linear-gradient(135deg, #2be574, #25d366);
}

/* ---- Scroll-to-Top button ---- */
.scroll-top-btn {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    z-index: 49;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(26,86,219,0.40);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}
.scroll-top-btn--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26,86,219,0.55);
}
.scroll-top-btn svg { width: 1.25rem; height: 1.25rem; }

/* ---- Scroll-reveal ---- */
@media (prefers-reduced-motion: no-preference) {
    .section { animation: fadeUp 0.55s ease both; }
    .why-strip { animation: fadeUp 0.55s 0.1s ease both; }
    .section--trust { animation: fadeUp 0.55s 0.15s ease both; }
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ---- Alpine.js transition utilities ---- */
.opacity-0    { opacity: 0; }
.opacity-100  { opacity: 1; }
.scale-90     { transform: scale(0.9); }
.scale-100    { transform: scale(1); }
.scale-105    { transform: scale(1.05); }
.-translate-y-1  { transform: translateY(-4px); }
.translate-y-0   { transform: translateY(0); }
.transition {
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
.ease-out  { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in   { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-700 { transition-duration: 700ms; }

/* =========================================================
   CONTACT FLOAT SYSTEM — Chat widget, Chooser, Callback
   ========================================================= */

/* Wrap (bottom-right stack) */
.cf-wrap {
  position: fixed;
  bottom: 1.5rem;
  right:  1.5rem;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

/* Launcher button */
.cf-launcher {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary, #1a56db);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,86,219,.45);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.cf-launcher:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(26,86,219,.6); }

/* Unread badge */
.cf-badge {
  position: absolute;
  top: -.2rem;
  right: -.2rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* ── Chooser popup ─────────────────────────────────────── */
.cf-chooser {
  background: #fff;
  border-radius: 1.125rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  padding: .5rem .5rem .625rem;
  min-width: 14rem;
  animation: cfSlideUp .2s ease;
}
.cf-chooser-title {
  font-size: .75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .5rem .75rem .25rem;
}
.cf-opt {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .625rem .75rem;
  border: none;
  background: transparent;
  border-radius: .75rem;
  cursor: pointer;
  text-decoration: none;
  color: #111827;
  transition: background .15s;
  text-align: left;
}
.cf-opt:hover { background: #f3f4f6; }
.cf-opt-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.cf-opt-text { display: flex; flex-direction: column; }
.cf-opt-label { font-size: .875rem; font-weight: 600; line-height: 1.2; }
.cf-opt-desc  { font-size: .75rem; color: #6b7280; }

/* ── Chat widget ───────────────────────────────────────── */
.cf-chat {
  width: 22rem;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: 1.125rem;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cfSlideUp .22s ease;
}

.cf-chat-head {
  background: var(--primary, #1a56db);
  color: #fff;
  padding: .875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cf-chat-head-info { display: flex; align-items: center; gap: .625rem; }
.cf-chat-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9375rem;
  font-weight: 700;
}
.cf-chat-name   { font-weight: 700; font-size: .9375rem; line-height: 1.2; }
.cf-chat-status {
  font-size: .6875rem;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: .1rem;
}
.cf-chat-status::before {
  content: '';
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.cf-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  opacity: .75;
  cursor: pointer;
  padding: .25rem;
  border-radius: .375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s;
}
.cf-chat-close:hover { opacity: 1; }

/* Messages scroll area */
.cf-msgs {
  flex: 1;
  overflow-y: auto;
  padding: .875rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  max-height: 18rem;
  scroll-behavior: smooth;
}

.cf-msg-wrap { display: flex; flex-direction: column; margin-bottom: .25rem; }
.cf-msg-wrap--customer { align-items: flex-end; }
.cf-msg-wrap--admin    { align-items: flex-start; }

.cf-msg-label {
  font-size: .6875rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: .2rem;
  padding: 0 .25rem;
}
.cf-msg-wrap--customer .cf-msg-label { color: var(--primary, #1a56db); }

.cf-msg {
  max-width: 82%;
  padding: .5rem .75rem;
  border-radius: 1.125rem;
  font-size: .875rem;
  line-height: 1.45;
  word-break: break-word;
}
.cf-msg--admin    { background: #f0f4ff; color: #1e293b; border-bottom-left-radius: .25rem; }
.cf-msg--customer { background: var(--primary, #1a56db); color: #fff; border-bottom-right-radius: .25rem; }
.cf-msg-time {
  font-size: .6875rem;
  color: #9ca3af;
  margin-top: .2rem;
  padding: 0 .25rem;
}

/* Offline notice */
.cf-offline-notice {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Typing indicator */
.cf-typing-wrap {
  padding: .375rem .875rem .125rem;
}
.cf-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: #f0f4ff;
  border-radius: 1rem;
  padding: .375rem .625rem;
}
.cf-dot {
  display: inline-block;
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
  background: #94a3b8;
  animation: cfDotBounce 1.2s infinite;
}
.cf-dot:nth-child(2) { animation-delay: .2s; }
.cf-dot:nth-child(3) { animation-delay: .4s; }
@keyframes cfDotBounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-.375rem); }
}

/* Start form */
.cf-start {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cf-start-title { font-size: .875rem; color: #374151; margin-bottom: .125rem; }
.cf-field {
  width: 100%;
  padding: .5625rem .75rem;
  border: 1.5px solid #e5e7eb;
  border-radius: .625rem;
  font-size: .875rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
  font-family: inherit;
}
.cf-field:focus { border-color: var(--primary, #1a56db); }
.cf-start-btn {
  padding: .625rem;
  background: var(--primary, #1a56db);
  color: #fff;
  border: none;
  border-radius: .625rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.cf-start-btn:hover:not(:disabled) { background: var(--primary-dark, #1040a8); }
.cf-start-btn:disabled { opacity: .65; cursor: not-allowed; }
.cf-start-err { font-size: .75rem; color: #dc2626; margin-top: .125rem; }

/* Closed notice */
.cf-closed-notice {
  padding: .625rem .875rem;
  background: #fef3c7;
  font-size: .8125rem;
  color: #92400e;
  text-align: center;
}
.cf-restart-btn {
  background: none;
  border: none;
  color: var(--primary, #1a56db);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

/* Quick replies */
.cf-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding: .5rem .75rem;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cf-qr {
  background: #f0f4ff;
  border: 1.5px solid #c7d7ff;
  color: var(--primary, #1a56db);
  border-radius: 999px;
  padding: .3125rem .75rem;
  font-size: .6875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  font-family: inherit;
}
.cf-qr:hover { background: var(--primary, #1a56db); color: #fff; border-color: var(--primary, #1a56db); }

/* Input row */
.cf-input-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem .75rem;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cf-input {
  flex: 1;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: .5rem .875rem;
  font-size: .875rem;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}
.cf-input:focus { border-color: var(--primary, #1a56db); }
.cf-send-btn {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: var(--primary, #1a56db);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.cf-send-btn:hover { background: var(--primary-dark, #1040a8); }

/* ── Callback widget ───────────────────────────────────── */
.cf-callback-widget {
  width: 22rem;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: 1.125rem;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  overflow: hidden;
  animation: cfSlideUp .22s ease;
}
.cf-callback-head {
  background: #7c3aed;
  color: #fff;
  padding: .875rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.cf-callback-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.cf-callback-submit {
  padding: .625rem;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: .625rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
  margin-top: .25rem;
}
.cf-callback-submit:hover:not(:disabled) { background: #6d28d9; }
.cf-callback-submit:disabled { opacity: .65; cursor: not-allowed; }
.cf-success-msg {
  padding: 1.25rem 1rem;
  text-align: center;
  color: #065f46;
  font-size: .875rem;
  line-height: 1.6;
}

/* Slide-up animation */
@keyframes cfSlideUp {
  from { opacity: 0; transform: translateY(.75rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile responsive ─────────────────────────────────── */
@media (max-width: 480px) {
  .cf-wrap { bottom: 1rem; right: 1rem; }
  .cf-chat, .cf-callback-widget, .cf-chooser {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }
  .cf-msgs { max-height: calc(100vh - 18rem); }
}

/* Checkout info banner */
