/* GBS storefront — Electrode-inspired electronics shop theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue: #1c52d7;
    --blue-dark: #1540ad;
    --navy: #1e1e1e;
    --ink: #1e1e1e;
    --muted: #666666;
    --price: #ef262c;
    --red: #c8202f;
    --fog: #f2f5fa;
    --fog-2: #f5f5f5;
    --white: #ffffff;
    --border: #e5e8ef;
    --radius: 8px;
    --shadow: 0 8px 28px -16px rgba(30, 30, 30, 0.28);
    --container: 1280px;
    --font: 'Outfit', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 15px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Sticky chrome (topbar + header) ---------- */
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* ---------- Topbar ---------- */
.header-top {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    flex-wrap: nowrap;
}

.header-top a { color: #fff; }
.header-top a:hover { color: #ffc700; }

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.header-top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-top-nav {
    flex: 1;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}

.header-top-nav a {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.15s ease, color 0.15s ease;
}

.header-top-nav a:hover,
.header-top-nav a.active {
    color: #ffc700;
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- Main header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    box-shadow: 0 4px 18px -14px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}

.header-search {
    flex: 1;
    max-width: none;
    margin: 0;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
    flex: 0 1 auto;
}

.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--blue); }
.brand-suffix {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--fog);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--navy);
    margin-left: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.header-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(28, 82, 215, 0.7);
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.btn-accent {
    background: var(--price);
    color: #fff;
}
.btn-accent:hover { background: #d31c22; color: #fff; }

.btn-outline {
    background: #fff;
    border-color: var(--border);
    color: var(--navy);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}
.btn-dark:hover { background: #000; color: #fff; }

/* ---------- Hero / slideshow style ---------- */
.hero.hero--photo {
    position: relative;
    min-height: clamp(480px, 68vh, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d1220;
}

.hero.hero--slider {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    background: var(--white);
    padding: 0.85rem 20px 0;
    margin: 0;
}

.hero-slider {
    position: relative;
    width: min(100%, var(--container));
    margin-inline: auto;
    max-height: min(56vh, 520px);
    aspect-ratio: 12 / 5;
    background: #0a1224;
    line-height: 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 28px -18px rgba(15, 30, 61, 0.45);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #0a1224;
}

.hero-slider--cover .hero-slide img {
    object-fit: cover;
}

.hero-slider--slide .hero-slide {
    opacity: 1;
    visibility: hidden;
    transform: translateX(0);
    transition: transform 0.55s ease, visibility 0.55s ease;
}

.hero-slider--slide .hero-slide.is-active {
    visibility: visible;
    z-index: 2;
    transform: translateX(0);
}

.hero-slider--slide .hero-slide.is-enter-from-right {
    animation: hero-slide-in-right 0.55s ease both;
}

.hero-slider--slide .hero-slide.is-enter-from-left {
    animation: hero-slide-in-left 0.55s ease both;
}

.hero-slider--slide .hero-slide.is-leave-to-left,
.hero-slider--slide .hero-slide.is-leave-to-right {
    visibility: visible;
    z-index: 1;
}

.hero-slider--slide .hero-slide.is-leave-to-left {
    animation: hero-slide-out-left 0.55s ease both;
}

.hero-slider--slide .hero-slide.is-leave-to-right {
    animation: hero-slide-out-right 0.55s ease both;
}

@keyframes hero-slide-in-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes hero-slide-in-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes hero-slide-out-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes hero-slide-out-right {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    background: rgba(10, 18, 36, 0.55);
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.7);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-nav svg {
    width: 1.15rem;
    height: 1.15rem;
}

.hero-slider-nav:hover {
    background: rgba(200, 32, 47, 0.92);
}

.hero-slider-nav--prev { left: 0.75rem; }
.hero-slider-nav--next { right: 0.75rem; }

.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
}

.hero-slider-dots button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-slider-dots button.is-active {
    width: 1.35rem;
    background: #c8202f;
}

.hero-cta-bar {
    width: min(100%, var(--container));
    margin-inline: auto;
    background: linear-gradient(120deg, #0f1e3d 0%, #16357d 70%, #9c1622 160%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 10px 10px;
}

.hero-cta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 0.55rem;
}

.hero-cta-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    display: grid;
    gap: 0.15rem;
}

.hero-cta-copy strong {
    font-family: 'Instrument Sans', 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #fff;
}

.hero-cta-copy span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
}

.hero--slider .hero-actions .btn-outline-hero {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.hero--slider .hero-actions .btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-media-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 14, 28, 0.55) 0%, rgba(10, 14, 28, 0.2) 38%, transparent 62%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 64px 0 96px;
}

.hero-copy {
    max-width: 380px;
    padding: 16px 18px 18px;
    border-radius: 12px;
    color: #fff;
    background: rgba(12, 18, 34, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #1c52d7;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 6px 14px -8px rgba(28, 82, 215, 0.9);
}

.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
    color: #ffd84d;
    display: inline-block;
}

.hero .lead {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 400;
    max-width: none;
}

.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.hero-actions .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
}

.hero-actions .btn-outline-hero {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.hero-actions .btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.hero-locale {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 1;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 720px) {
    .hero.hero--slider {
        padding: 0.65rem 12px 0;
    }

    .hero-slider {
        max-height: min(42vh, 320px);
        border-radius: 8px 8px 0 0;
    }

    .hero-cta-bar {
        border-radius: 0 0 8px 8px;
    }

    .hero-slider-nav {
        width: 2rem;
        height: 2rem;
    }

    .hero-cta-bar-inner {
        align-items: flex-start;
    }

    .hero-stats-section {
        padding: 1.15rem 0 1.5rem;
    }
}

/* ---------- Stats strip ---------- */
.hero-stats-section {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0 1rem;
    margin: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.stat {
    padding: 18px 16px;
    text-align: center;
    border-radius: 10px;
}

.stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.stat span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--fog); }

.home-catalog {
    padding: 28px 0 32px;
}

.home-catalog .section-head {
    margin-bottom: 16px;
}

.home-catalog .section-head h2 {
    margin-bottom: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.home-catalog .tag {
    margin-bottom: 4px;
    font-size: 0.72rem;
}

.home-catalog .product-list-grid--market {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
}

.home-catalog .product-tile--market {
    border-radius: 3px;
}

.home-catalog .product-tile--market .product-tile__body {
    padding: 6px 6px 8px;
    gap: 2px;
}

.home-catalog .product-tile--market .product-tile__name {
    font-size: 0.72rem;
    line-height: 1.25;
    min-height: 1.9em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-catalog .product-tile--market .product-price__sale {
    font-size: 0.84rem;
}

.home-catalog .product-tile--market .product-price__base,
.home-catalog .product-tile--market .product-price__quote {
    font-size: 0.68rem;
}

.home-catalog .product-tile__discount {
    padding: 2px 4px;
    font-size: 0.62rem;
}

.home-catalog .section-actions {
    margin-top: 16px;
}

@media (max-width: 1100px) {
    .home-catalog .product-list-grid--market {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-catalog .product-list-grid--market {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }
}

@media (max-width: 560px) {
    .home-catalog .product-list-grid--market {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .home-catalog {
        padding: 22px 0 26px;
    }
}

/* Homepage services — condensed */
.home-services {
    padding: 28px 0 32px;
}

.home-services .section-head {
    margin-bottom: 16px;
}

.home-services .section-head h2 {
    margin-bottom: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.home-services .tag {
    margin-bottom: 4px;
    font-size: 0.72rem;
}

.home-services .service-card--compact .card-media {
    min-height: 72px;
}

.home-services .service-card--compact .card-media img {
    height: 88px;
}

.home-services .service-card--compact .card-icon,
.home-services .service-card--compact .card-media .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.home-services .service-card--compact .card-icon svg {
    width: 16px;
    height: 16px;
}

.home-services .service-card--compact .card-body {
    padding: 8px 8px 10px;
    gap: 3px;
}

.home-services .service-card--compact h3 {
    font-size: 0.84rem;
}

.home-services .service-card--compact p {
    font-size: 0.72rem;
    line-height: 1.3;
}

.home-services .service-card--compact .card-meta {
    margin-top: 4px;
    font-size: 0.68rem;
}

.home-services .section-actions {
    margin-top: 16px;
}

@media (max-width: 560px) {
    .home-services {
        padding: 22px 0 26px;
    }

    .grid.home-services__grid {
        gap: 6px;
    }

    .grid.home-services__grid > .service-card {
        flex-basis: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

.section-head {
    margin-bottom: 32px;
    max-width: 640px;
}

.section-head.center,
.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tag {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-head h2,
.category-heading {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

.section-head p { margin: 0; color: var(--muted); }

.section-actions {
    text-align: center;
    margin-top: 28px;
}

/* ---------- Product / service cards (shop style) ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

/* Must beat .grid — homepage services stay centered as a group */
.grid.home-services__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
}

.grid.home-services__grid > .service-card {
    flex: 0 1 200px;
    width: 100%;
    max-width: 220px;
    text-align: center;
}

.grid.home-services__grid > .service-card .card-body {
    align-items: center;
}

.grid.home-services__grid > .service-card .card-meta {
    justify-content: center;
    width: 100%;
}

.card,
.product-card,
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.services-toolbar__count {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}

.services-empty {
    margin: 18px 0 4px;
    padding: 14px 12px;
    border: 1px dashed var(--border);
    border-radius: 6px;
    background: #fff;
    text-align: center;
    font-size: 0.88rem;
}

.services-empty a {
    color: var(--blue);
    font-weight: 700;
}

.services-page__content {
    padding: 14px 0 28px !important;
    background: #f5f5f5;
}

.services-page__hero.page-hero--compact,
.about-page__hero.page-hero--compact,
.contact-page__hero.page-hero--compact,
.updates-page__hero.page-hero--compact {
    padding: 16px 0 14px;
}

.services-page__hero p,
.about-page__hero p,
.contact-page__hero p,
.updates-page__hero p {
    margin-top: 4px;
    max-width: 36rem;
    font-size: 0.88rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.service-card--compact {
    border-radius: 6px;
    border-color: #ececec;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.card:hover,
.product-card:hover,
.service-card:hover {
    border-color: rgba(28, 82, 215, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.service-card--compact:hover {
    border-color: rgba(28, 82, 215, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card--compact .card-media {
    min-height: 96px;
}

.service-card--compact .card-media img {
    height: 110px;
}

.service-card--compact .card-icon,
.service-card--compact .card-media .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.service-card--compact .card-icon svg {
    width: 20px;
    height: 20px;
}

.service-card--compact .card-body {
    padding: 10px 10px 12px;
    gap: 4px;
}

.service-card--compact h3 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
}

.service-card--compact p {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card--compact .card-meta {
    margin-top: 6px;
    font-size: 0.72rem;
}

.card-media {
    background: var(--fog);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.card-media img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-icon,
.card-media .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(28, 82, 215, 0.12), rgba(28, 82, 215, 0.04));
    color: var(--blue);
}

.card-icon svg { width: 28px; height: 28px; }

.card.red .card-icon,
.service-card .card-icon {
    background: linear-gradient(145deg, rgba(28, 82, 215, 0.12), rgba(28, 82, 215, 0.04));
    color: var(--blue);
}

.card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card h3,
.product-card h3,
.service-card h3 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--navy);
    font-weight: 650;
}

.card p,
.product-card p,
.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
}

/* Home product pills → shop chips */
.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    color: var(--navy);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.pill:hover {
    border-color: rgba(28, 82, 215, 0.4);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--fog);
    color: var(--blue);
    flex-shrink: 0;
}

/* ---------- Page hero ---------- */
.page-hero {
    background:
        radial-gradient(circle at top right, rgba(28, 82, 215, 0.18), transparent 42%),
        linear-gradient(120deg, #121212 0%, #1e1e1e 55%, #16357d 140%);
    color: #fff;
    padding: 56px 0 48px;
}

.page-hero .tag { color: #ffc700; }
.page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-hero p {
    margin: 0;
    max-width: 40rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Product filter ---------- */
.product-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.filter-icon { color: var(--blue); display: grid; place-items: center; }

.product-filter input {
    border: 0;
    outline: none;
    width: 100%;
    font: inherit;
    background: transparent;
    color: var(--ink);
}

.product-category { margin-bottom: 48px; }

.category-heading {
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
    margin-bottom: 14px;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}

.category-nav a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.category-nav a:hover {
    border-color: rgba(28, 82, 215, 0.45);
    color: var(--blue);
    background: rgba(28, 82, 215, 0.04);
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.subcategory-list a {
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.subcategory-list a:hover {
    text-decoration: underline;
}

.product-subcategory {
    margin: 22px 0 28px;
    padding-top: 8px;
}

.subcategory-heading {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--navy);
}

.subcategory-empty {
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-size: 0.9rem;
}

.subcategory-empty a {
    color: var(--blue);
    font-weight: 700;
}

/* Dense products catalog page — Shopee-inspired */
.shop-page__top {
    background: #f5f5f5;
    border-bottom: 1px solid #ececec;
    padding: 10px 0 14px;
}

.shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

.shop-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.shop-breadcrumb a:hover {
    color: var(--blue);
}

.shop-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--blue);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.shop-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 0.92rem;
    padding: 11px 14px;
}

.shop-search__input::placeholder {
    color: #999;
}

.shop-search__input::-webkit-search-decoration,
.shop-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.shop-search__btn {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 52px;
    border: 0;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.shop-search__btn:hover {
    background: var(--blue-dark);
}

.shop-search__btn svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke-width: 2.2;
}

.products-page__content {
    padding-top: 12px !important;
    padding-bottom: 28px !important;
    background: #f5f5f5;
}

.shop-page .container {
    max-width: 1200px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 8px;
}

.shop-sidebar__block {
    background: #fff;
    border-radius: 2px;
    padding: 12px 10px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.shop-sidebar__title {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #222;
}

.product-filter--sidebar {
    padding: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    box-shadow: none;
    background: #fff;
}

.product-filter--sidebar .filter-icon {
    margin-left: 8px;
    color: #999;
}

.product-filter--sidebar input {
    font-size: 0.8rem;
    padding: 7px 8px 7px 0;
}

.shop-filters {
    display: grid;
    gap: 0;
}

.shop-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.shop-filter:hover {
    color: var(--blue);
}

.shop-filter.is-active {
    color: var(--blue);
    font-weight: 700;
    background: transparent;
}

.shop-filter--child {
    padding-left: 14px;
    font-size: 0.78rem;
    color: #666;
}

.shop-filter__count {
    color: #bbb;
    font-size: 0.7rem;
    font-weight: 600;
}

.shop-filter.is-active .shop-filter__count {
    color: var(--blue);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    background: #ededed;
    border: 0;
    border-radius: 2px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
}

.shop-toolbar__label {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}

.shop-sort-pills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.shop-sort-pill {
    appearance: none;
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: #555;
    font: inherit;
    font-size: 0.8rem;
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.shop-sort-pill:hover {
    color: var(--blue);
}

.shop-sort-pill.is-active {
    background: var(--blue);
    color: #fff;
}

.shop-sort-pill__dir {
    display: inline-block;
    margin-left: 2px;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0;
}

.shop-toolbar__status {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #555;
    white-space: nowrap;
}

.shop-toolbar__status strong {
    color: #222;
    font-weight: 700;
}

.shop-main .product-list-grid--market {
    gap: 6px;
}

.shop-main .product-item {
    min-width: 0;
}

.shop-main .product-item[hidden] {
    display: none !important;
}

.shop-main .product-tile--market {
    position: relative;
    height: 100%;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.shop-main .product-tile--market:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    z-index: 1;
}

.product-tile__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin-top: 4px;
}

.product-tile__likes {
    flex-shrink: 0;
    font-size: 0.72rem;
    color: #999;
    white-space: nowrap;
}

.product-like--fab {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #999;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.product-like--fab svg {
    width: 0.9rem;
    height: 0.9rem;
}

.product-like--fab:hover,
.product-like--fab.is-liked {
    color: var(--blue);
}

.product-like--fab.is-liked {
    background: #fff;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .shop-toolbar {
        flex-wrap: wrap;
    }

    .shop-toolbar__left {
        flex-wrap: wrap;
    }

    .shop-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .shop-filter,
    .shop-filter--child {
        width: auto;
        padding: 6px 10px;
        border: 1px solid #e8e8e8;
        border-radius: 2px;
        background: #fff;
    }

    .shop-filter--child {
        padding-left: 10px;
    }

    .shop-filter.is-active {
        border-color: var(--blue);
        background: rgba(28, 82, 215, 0.08);
    }

    .shop-filter__count {
        display: none;
    }
}

.products-page .no-results {
    margin-bottom: 10px;
    padding: 10px 12px;
}

/* ---------- PC Worth–style product listing (price, no cart) ---------- */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.product-list-grid--condensed,
.product-list-grid--market {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.product-list-grid--market {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1100px) {
    .product-list-grid--market {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .product-list-grid--market {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .product-list-grid--market {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

.product-tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.product-tile:hover {
    border-color: rgba(28, 82, 215, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-tile__media {
    aspect-ratio: 1 / 1;
    background: #f7f8fa;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.product-tile__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(28, 82, 215, 0.12), rgba(28, 82, 215, 0.04));
    color: var(--blue);
}

.product-tile__icon svg {
    width: 32px;
    height: 32px;
}

.product-tile__body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-tile__sku {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.product-tile__name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tile__desc {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-tile__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.product-price--compact {
    gap: 2px;
}

.product-price__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(239, 38, 44, 0.1);
    color: var(--price);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.product-price__stack {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
}

.product-price__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.product-price__sale {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--price);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.product-price--compact .product-price__sale {
    font-size: 1.05rem;
}

.product-detail__price-row .product-price__sale {
    font-size: 2rem;
}

.product-price__base {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: line-through;
}

.product-detail__price-row .product-price__base {
    font-size: 1.05rem;
}

.product-price__quote {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}

.product-tile__amount {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--price);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.product-tile__quote {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}

.product-tile__inquire {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid rgba(28, 82, 215, 0.35);
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.product-tile__inquire:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

a.product-tile--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.product-tile--link .product-tile__inquire {
    pointer-events: none;
}

.product-tile__hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

/* Marketplace-style product cards (dense grid) */
.product-tile--market {
    border-radius: 4px;
    border-color: #eceff3;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.product-tile--market:hover {
    border-color: #eceff3;
    box-shadow: 0 8px 18px -12px rgba(16, 24, 40, 0.35);
    transform: translateY(-1px);
}

.product-tile--market .product-tile__media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-bottom: 0;
    background: #fff;
}

.product-tile--market .product-tile__media img {
    padding: 0;
    object-fit: cover;
}

.product-tile--market .product-tile__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.product-tile--market .product-tile__icon svg {
    width: 20px;
    height: 20px;
}

.product-tile__discount {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 3px 5px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--price);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    border-bottom-left-radius: 4px;
}

.product-tile--market .product-tile__body {
    padding: 8px 8px 10px;
    gap: 4px;
}

.product-tile--market .product-tile__name {
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.3;
    color: #222;
    min-height: 2.05em;
}

.product-tile--market .product-tile__footer {
    display: none;
}

.product-tile--market .product-price--compact {
    min-width: 0;
}

.product-tile--market .product-price__sale {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue);
}

.product-tile--market .product-price__base {
    font-size: 0.72rem;
}

.product-tile--market .product-price__quote {
    font-size: 0.78rem;
    color: var(--muted);
}

.product-tile--market .product-price__stack {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
}

/* Product likes */
.product-like {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    background: #fff;
    color: #666;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.product-like svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
}

.product-like:hover {
    border-color: rgba(28, 82, 215, 0.45);
    color: var(--blue);
}

.product-like.is-liked {
    border-color: rgba(28, 82, 215, 0.35);
    background: rgba(28, 82, 215, 0.08);
    color: var(--blue);
}

.product-like.is-liked svg {
    fill: currentColor;
}

.product-like.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.product-like--compact {
    padding: 3px 7px;
    font-size: 0.72rem;
    gap: 3px;
}

.product-like--compact svg {
    width: 0.85rem;
    height: 0.85rem;
}

/* ---------- Compact page heroes (Services, Updates, About, Contact, etc.) ---------- */
.page-hero--compact {
    padding: 16px 0 14px;
}

.page-hero--compact .tag {
    display: inline-block;
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.page-hero--compact h1 {
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    margin: 4px 0 0;
    line-height: 1.2;
}

.page-hero--compact p {
    margin-top: 4px;
    max-width: 36rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.product-breadcrumb a {
    color: #ffc700;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- Product detail base + Shopee-inspired PDP ---------- */
.product-detail {
    display: grid;
    grid-template-columns: minmax(280px, 450px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 0;
}

.product-detail__media {
    display: grid;
    gap: 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    aspect-ratio: auto;
    overflow: visible;
}

.product-detail__media-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #efefef;
    border-radius: 2px;
    background: #fff;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: zoom-in;
}

.product-detail__media-trigger img,
.product-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    display: block;
}

.product-detail__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.product-detail__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.product-detail__thumb.is-active,
.product-detail__thumb:hover {
    border-color: var(--blue);
}

.product-detail__icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--blue);
    margin: 0 auto;
    border: 1px solid var(--border);
    background: #fff;
}

.product-detail__icon svg {
    width: 44px;
    height: 44px;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: rgba(28, 82, 215, 0.4);
    color: var(--blue);
}

.pdp {
    background: #f5f5f5;
}

.pdp-top {
    padding: 12px 0 10px;
    background: #f5f5f5;
}

.pdp .product-breadcrumb {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.pdp .product-breadcrumb a {
    color: #0055aa;
    text-decoration: none;
}

.pdp .product-breadcrumb a:hover {
    color: var(--blue);
    text-decoration: none;
}

.pdp-body {
    padding: 0 0 36px !important;
}

.pdp-card {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 16px;
    grid-template-columns: minmax(300px, 480px) minmax(0, 1fr);
    gap: 28px 36px;
}

.pdp-gallery__main {
    border: 0;
    border-radius: 2px;
    background: #fff;
}

.pdp-gallery__main img {
    padding: 0;
}

.pdp-gallery__hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.pdp-gallery__main:hover .pdp-gallery__hint {
    opacity: 1;
}

.pdp-gallery__hint svg {
    width: 0.95rem;
    height: 0.95rem;
}

.pdp-gallery__empty {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid #efefef;
    background: #fafafa;
}

.pdp-gallery__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.pdp-info__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    letter-spacing: 0;
}

.pdp-info__meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}

.pdp-info__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pdp-info__likes-label,
.pdp-info__sku {
    font-size: 0.84rem;
    color: #767676;
}

.pdp-info__divider {
    width: 1px;
    height: 14px;
    background: #e8e8e8;
}

.pdp-info__category {
    font-size: 0.84rem;
    color: #0055aa;
    text-decoration: none;
}

.pdp-info__category:hover {
    color: var(--blue);
}

.pdp-price {
    margin: 0;
    padding: 14px 0;
    background: #fafafa;
    text-align: left;
}

.pdp-price .product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.pdp-price .product-price__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    text-align: left;
}

.pdp-price .product-price__sale {
    font-size: 1.85rem;
    font-weight: 500;
    color: var(--blue);
    letter-spacing: -0.01em;
    text-align: left;
}

.pdp-price .product-price__meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.pdp-price .product-price__base {
    font-size: 1rem;
    font-weight: 400;
    color: #929292;
    text-decoration: line-through;
}

.pdp-price .product-price__badge {
    order: unset;
    background: rgba(239, 38, 44, 0.1);
    color: var(--price);
    border: 1px solid rgba(239, 38, 44, 0.22);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.pdp-price .product-price__quote {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--blue);
}

.pdp-specs {
    margin: 18px 0 0;
    display: grid;
    gap: 14px;
}

.pdp-specs__row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.pdp-specs__row dt {
    margin: 0;
    font-size: 0.88rem;
    color: #757575;
    font-weight: 400;
}

.pdp-specs__row dd {
    margin: 0;
    font-size: 0.88rem;
    color: #222;
}

.pdp-specs__row a {
    color: #0055aa;
    text-decoration: none;
}

.pdp-specs__row a:hover {
    color: var(--blue);
}

.pdp-actions {
    margin-top: 22px;
    gap: 12px;
}

.pdp-actions__primary,
.pdp-actions__secondary {
    min-width: 160px;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
}

.pdp-actions__primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.pdp-actions__primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
    transform: none;
}

.pdp-actions__secondary {
    background: rgba(28, 82, 215, 0.08);
    border: 1px solid var(--blue);
    color: var(--blue);
}

.pdp-actions__secondary:hover {
    background: rgba(28, 82, 215, 0.14);
    color: var(--blue-dark);
    transform: none;
}

.pdp-back {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.84rem;
    color: #0055aa;
    text-decoration: none;
}

.pdp-back:hover {
    color: var(--blue);
}

.pdp-panel {
    background: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.pdp-panel__tabs {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    padding: 0 20px;
}

.pdp-panel__tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 4px;
    margin-right: 28px;
    font-size: 1rem;
    font-weight: 500;
    color: #222;
}

.pdp-panel__tab.is-active {
    color: var(--blue);
}

.pdp-panel__tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--blue);
}

.pdp-panel__body {
    padding: 22px 20px 26px;
}

.pdp .rich-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #222;
}

.pdp .rich-content p {
    margin: 0 0 0.75em;
}

.rich-content {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.65;
}

.muted {
    color: var(--muted);
}

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

    .pdp-card {
        padding: 14px;
    }

    .pdp-gallery__thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .pdp-specs__row {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .pdp-actions__primary,
    .pdp-actions__secondary {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
}

/* ---------- Product image lightbox ---------- */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.product-lightbox[hidden] {
    display: none !important;
}

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 18, 36, 0.62);
    cursor: pointer;
}

.product-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100vw - 40px));
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.55);
}

.product-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.08);
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.product-lightbox__close:hover {
    background: rgba(30, 30, 30, 0.14);
}

.product-lightbox__stage {
    position: relative;
    background: #f3f5f8;
    min-height: 0;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    touch-action: none;
}

.product-lightbox__image-wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 24px 52px;
    overflow: hidden;
}

.product-lightbox__image-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.05s linear;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.product-lightbox__stage.is-zoomed .product-lightbox__nav {
    opacity: 0;
    pointer-events: none;
}

.product-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: rgba(40, 40, 40, 0.55);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.product-lightbox__nav:hover {
    background: rgba(40, 40, 40, 0.78);
}

.product-lightbox__nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

.product-lightbox__nav--prev { left: 12px; }
.product-lightbox__nav--next { right: 12px; }

.product-lightbox__side {
    padding: 22px 18px 18px;
    border-left: 1px solid var(--border);
    background: #fff;
    overflow: auto;
}

.product-lightbox__title {
    margin: 0 0 16px;
    padding-right: 36px;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
}

.product-lightbox__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-lightbox__thumb {
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #f7f8fa;
    overflow: hidden;
    cursor: pointer;
}

.product-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.product-lightbox__thumb.is-active {
    border-color: var(--blue);
}

.product-lightbox__thumb:hover {
    border-color: rgba(28, 82, 215, 0.45);
}

body.product-lightbox-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .product-lightbox {
        padding: 0;
        place-items: stretch;
    }

    .product-lightbox__panel {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: none;
        grid-template-columns: none;
    }

    .product-lightbox__close {
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .product-lightbox__stage {
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
    }

    .product-lightbox__image-wrap {
        padding: 56px 16px 16px;
    }

    .product-lightbox__image-wrap img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    .product-lightbox__nav {
        width: 44px;
        height: 44px;
        background: rgba(30, 30, 30, 0.45);
    }

    .product-lightbox__nav--prev { left: 8px; }
    .product-lightbox__nav--next { right: 8px; }

    .product-lightbox__side {
        flex: 0 0 auto;
        border-left: 0;
        border-top: 1px solid var(--border);
        padding: 12px 12px max(12px, env(safe-area-inset-bottom));
        overflow: visible;
    }

    .product-lightbox__title {
        margin: 0 0 10px;
        padding-right: 48px;
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-lightbox__thumbs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .product-lightbox__thumb {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        aspect-ratio: auto;
    }
}

.no-results {
    padding: 16px;
    background: #fff6f6;
    border: 1px solid #ffd0d2;
    border-radius: 10px;
    color: var(--price);
}

.no-results a { color: var(--blue); text-decoration: underline; }

/* ---------- About ---------- */
.about-page__content {
    padding: 14px 0 28px !important;
    background: #f5f5f5;
}

.about-page__content > section {
    padding: 24px 0 !important;
}

.about-page__content > .section-alt {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px 36px;
    align-items: center;
}

.about-grid__media {
    margin: 0;
    min-width: 0;
}

.about-grid__media img,
.about-grid img {
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center 30%;
}

.about-grid__copy {
    min-width: 0;
}

.about-grid__title {
    color: var(--navy);
    margin: 12px 0 10px;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.about-grid__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.about-grid__text + .about-grid__text {
    margin-top: 10px;
}

.about-prose {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.55;
}

.about-prose--spaced {
    margin-bottom: 8px;
}

.about-prose p {
    margin: 0 0 0.75em;
}

.about-prose p:last-child {
    margin-bottom: 0;
}

.about-facts {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.about-facts .card {
    border-radius: 8px;
}

.about-facts .card-body {
    padding: 14px 14px 16px;
    gap: 6px;
}

.about-facts h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
}

.about-facts p {
    font-size: 0.9rem;
    color: var(--navy);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
.contact-page__content {
    padding: 14px 0 28px !important;
    background: #f5f5f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.contact-grid--solo { grid-template-columns: 1fr; max-width: 720px; }

.info-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    margin-bottom: 12px;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(28, 82, 215, 0.1);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.info-card h4 { margin: 0 0 4px; color: var(--navy); font-size: 0.98rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.info-card a { color: var(--blue); }

form.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    display: block;
    margin-bottom: 6px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--fog);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(28, 82, 215, 0.12);
}

.alert-success {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #15803d;
    padding: 14px 16px;
    border-radius: 10px;
}

/* ---------- CTA band ---------- */
.map-bottom-wrap { position: relative; }

.footer-map-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-map-bg iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.15) saturate(1.05) contrast(1.02);
    transform: scale(1.04);
}

.footer-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(242, 245, 250, 0.78), rgba(30, 30, 30, 0.88) 58%);
}

/* ---------- Site find-us map ---------- */
.site-map-section {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 88% 18%, rgba(200, 32, 47, 0.06), transparent 36%),
        radial-gradient(circle at 8% 80%, rgba(28, 82, 215, 0.08), transparent 40%),
        #f4f7fb;
    border-top: 1px solid var(--border);
}

.site-map-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: stretch;
}

.site-map-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.site-map-copy h2 {
    margin: 12px 0 10px;
    color: var(--navy);
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.site-map-lead {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 36ch;
}

.site-map-details {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.site-map-details li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: start;
}

.site-map-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(28, 82, 215, 0.1);
    border: 0;
    box-shadow: none;
    color: var(--blue) !important;
}

.site-map-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.site-map-details strong {
    display: block;
    color: var(--navy);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.site-map-details li > div > span,
.site-map-details li > div > a {
    display: block;
    color: var(--muted);
    line-height: 1.45;
}

.site-map-details li > div > a {
    color: var(--blue);
    font-weight: 600;
}

.site-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-map-frame {
    position: relative;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #d7e0ee;
    box-shadow: 0 28px 50px -30px rgba(15, 30, 61, 0.5);
}

.site-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-map-expand {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px -16px rgba(15, 30, 61, 0.55);
}

.site-map-expand svg {
    width: 14px;
    height: 14px;
    color: var(--red);
}

.site-map-expand:hover {
    color: var(--blue);
}

@media (max-width: 900px) {
    .site-map-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-map-frame {
        min-height: 340px;
        order: -1;
    }

    .site-map-lead {
        max-width: none;
    }
}

.cta-outro-section,
.site-footer {
    position: relative;
    z-index: 1;
}

.cta-outro-section { padding: 48px 0 8px; }

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 30px;
    border-radius: 14px;
    background: linear-gradient(120deg, var(--blue) 0%, #16357d 55%, #0f1e3d 100%);
    color: #fff;
    box-shadow: 0 18px 40px -22px rgba(28, 82, 215, 0.55);
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffc700;
}

.cta-band h2 {
    margin: 8px 0 6px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 750;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    max-width: 36rem;
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--blue);
    box-shadow: none;
}
.cta-band .btn-primary:hover {
    background: #ffc700;
    color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #222;
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 0 0;
}

.site-footer.no-own-map { background: #222; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 36px;
}

.footer-grid--pages {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.footer-brand p { margin: 0 0 8px; }
.footer-brand .muted { color: rgba(255, 255, 255, 0.55); }

.footer-col h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.footer-col p {
    margin: 0 0 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.footer-col a { color: rgba(255, 255, 255, 0.85); }
.footer-col a:hover { color: #ffc700; }

.footer-map-link,
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-weight: 600;
    color: #fff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p { margin: 0; }

/* ---------- CMS ---------- */
.cms-content { color: var(--muted); line-height: 1.7; }
.cms-content h2,
.cms-content h3 { color: var(--navy); margin: 1.4em 0 0.5em; }
.cms-content p { margin: 0 0 1em; }
.cms-content ul,
.cms-content ol { margin: 0 0 1em; padding-left: 1.25rem; }
.cms-content a { color: var(--blue); text-decoration: underline; }
.cms-content img { border-radius: 12px; margin: 1rem 0; }

/* ---------- Updates / news ---------- */
.updates-page__content {
    padding: 14px 0 28px !important;
    background: #f5f5f5;
}

.updates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.7fr);
    gap: 32px;
    align-items: start;
}

.updates-crumb {
    margin-top: 12px !important;
    font-size: 0.9rem;
}

.updates-crumb a { color: #ffc700; }
.updates-crumb span { margin: 0 6px; opacity: 0.7; }

.updates-main {
    display: grid;
    gap: 18px;
}

.update-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.update-card__media {
    display: block;
    min-height: 140px;
    background: #e8eef8;
}

.update-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-card__body {
    padding: 18px 20px;
}

.update-card__body time {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.update-card__body h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--navy);
}

.update-card__body h2 a { color: inherit; }
.update-card__body h2 a:hover { color: var(--blue); }

.update-card__body p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.5;
}

.update-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--blue);
}

.update-card__more svg {
    width: 14px;
    height: 14px;
}

.updates-empty {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
}

.updates-empty h2 {
    margin: 0 0 8px;
    color: var(--navy);
}

.updates-empty p {
    margin: 0 0 16px;
    color: var(--muted);
}

.updates-pagination {
    margin-top: 8px;
}

.updates-archive {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 88px;
}

.updates-archive h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 0.95rem;
}

.updates-archive-empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.updates-archive-years,
.updates-archive-months {
    list-style: none;
    margin: 0;
    padding: 0;
}

.updates-archive-year > a,
.updates-archive-months a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.92rem;
}

.updates-archive-year > a:hover,
.updates-archive-months a:hover,
.updates-archive-year > a.is-active,
.updates-archive-months a.is-active {
    background: rgba(28, 82, 215, 0.08);
    color: var(--blue);
}

.updates-archive-year > a span,
.updates-archive-months a span {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
}

.updates-archive-months {
    margin: 2px 0 10px 8px;
    padding-left: 8px;
    border-left: 2px solid var(--border);
}

.updates-archive-months a {
    font-weight: 500;
    font-size: 0.86rem;
}

.update-article__cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
}

.update-article__excerpt {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 500;
    margin: 0 0 18px;
    line-height: 1.55;
}

.update-article__nav {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.update-article__nav .btn svg {
    transform: scaleX(-1);
}

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

    .updates-archive {
        position: static;
        order: -1;
    }

    .update-card {
        grid-template-columns: 1fr;
    }

    .update-card__media {
        min-height: 180px;
    }
}

/* ---------- Toast ---------- */
.gbs-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2147483000;
    transform: translateX(-50%) translateY(12px);
    max-width: min(420px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 8px;
    background: #1e1e1e;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gbs-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Tawk chat (outer iframe sizing; inner padding is Tawk-controlled) ---------- */
@media (min-width: 721px) {
    iframe[title="chat widget"],
    iframe[title*="chat widget"] {
        width: 340px !important;
        max-width: calc(100vw - 24px) !important;
        height: 500px !important;
        max-height: calc(100vh - 24px) !important;
        right: 12px !important;
        bottom: 12px !important;
    }
}

/* ---------- Tawk paste hint (left side, clear of chat) ---------- */
.gbs-tawk-paste {
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 2147483000;
    width: min(320px, calc(100vw - 32px));
    padding: 10px 32px 10px 10px;
    border-radius: 10px;
    background: #fff;
    color: #222;
    border: 1px solid rgba(28, 82, 215, 0.28);
    box-shadow: 0 14px 36px -16px rgba(30, 30, 30, 0.5);
}

.gbs-tawk-paste__title {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 0.88rem;
}

.gbs-tawk-paste__help {
    margin: 0 0 8px;
    color: #555;
    font-size: 0.78rem;
    line-height: 1.4;
}

.gbs-tawk-paste__help kbd {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
    font-size: 0.72rem;
    font-family: inherit;
}

.gbs-tawk-paste__preview {
    margin: 0 0 8px;
    padding: 8px;
    border-radius: 6px;
    background: #f5f7fb;
    border: 1px solid #e8ecf3;
    color: #333;
    font: inherit;
    font-size: 0.74rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 110px;
    overflow: auto;
}

.gbs-tawk-paste__copy {
    appearance: none;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 12px;
    cursor: pointer;
}

.gbs-tawk-paste__copy:hover {
    background: var(--blue-dark);
}

.gbs-tawk-paste__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gbs-tawk-paste__countdown {
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gbs-tawk-paste__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #777;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 720px) {
    .gbs-tawk-paste {
        left: 12px;
        right: 12px;
        bottom: 96px;
        width: auto;
    }
}

/* ---------- Special offers rail (Kimstore-style) ---------- */
.offers-rail {
    position: fixed;
    top: max(160px, 26vh);
    right: 0;
    z-index: 45;
    font-family: var(--font);
}

.offers-rail__tab {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    padding: 14px 10px;
    border: 1px solid rgba(28, 82, 215, 0.2);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    box-shadow: -8px 10px 24px -14px rgba(28, 82, 215, 0.75);
    font: inherit;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.15s ease, padding 0.15s ease;
}

.offers-rail__tab:hover,
.offers-rail.is-open .offers-rail__tab {
    background: var(--blue-dark);
}

.offers-rail__tab-icon {
    display: grid;
    place-items: center;
}

.offers-rail__tab-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.offers-rail__tab-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
}

.offers-rail__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, calc(100vw - 28px));
    max-height: min(70vh, 640px);
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    box-shadow: -16px 12px 40px -20px rgba(30, 30, 30, 0.45);
    overflow: hidden;
    transition: transform 0.25s ease;
}

.offers-rail.is-open .offers-rail__panel {
    transform: translateX(0);
}

.offers-rail.is-open .offers-rail__tab {
    right: min(340px, calc(100vw - 28px));
}

.offers-rail__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--fog);
}

.offers-rail__eyebrow {
    display: block;
    margin: 0 0 2px;
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offers-rail__title {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.offers-rail__close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.offers-rail__close:hover {
    border-color: rgba(28, 82, 215, 0.35);
    color: var(--blue);
}

.offers-rail__list {
    display: grid;
    gap: 10px;
    padding: 12px;
    overflow-y: auto;
}

.offers-rail__card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.offers-rail__card:hover {
    border-color: rgba(28, 82, 215, 0.35);
    box-shadow: var(--shadow);
}

.offers-rail__media {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--fog);
}

.offers-rail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offers-rail__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--blue);
}

.offers-rail__badge {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--price);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.2;
}

.offers-rail__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offers-rail__name {
    margin: 0;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offers-rail__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.offers-rail__sale {
    color: var(--blue);
    font-size: 0.92rem;
    font-weight: 750;
}

.offers-rail__base {
    color: var(--muted);
    font-size: 0.72rem;
    text-decoration: line-through;
}

.offers-rail__cta {
    margin-top: auto;
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
}

.offers-rail__foot {
    padding: 10px 12px 12px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.offers-rail__all {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.82rem;
}

@media (max-width: 720px) {
    .offers-rail__tab {
        padding: 12px 8px;
        font-size: 0.7rem;
    }

    .offers-rail.is-open .offers-rail__tab {
        right: min(300px, calc(100vw - 20px));
    }

    .offers-rail__panel {
        width: min(300px, calc(100vw - 20px));
    }
}


/* ---------- Product share (Facebook / Messenger) ---------- */
.pdp-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.pdp-share__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pdp-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pdp-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 16px 8px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 8px 18px -12px rgba(20, 40, 80, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pdp-share__icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.pdp-share__btn--facebook {
    background: #1877f2;
    border-color: #166fe5;
    box-shadow: 0 10px 20px -12px rgba(24, 119, 242, 0.85);
}

.pdp-share__btn--messenger {
    background: linear-gradient(135deg, #0099ff 0%, #0078ff 42%, #a033ff 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px -12px rgba(0, 120, 255, 0.75);
}

.pdp-share__btn:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px -12px rgba(20, 40, 80, 0.65);
}

.pdp-share__btn:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}


.share-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 80;
    transform: translate(-50%, 12px);
    max-width: min(92vw, 360px);
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(20, 28, 45, 0.94);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- Scroll top ---------- */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 46;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(28, 82, 215, 0.28);
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -12px rgba(28, 82, 215, 0.7);
    opacity: 0;
    pointer-events: none;
    font-family: inherit;
    transition: opacity 0.2s ease, transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.scroll-top svg {
    width: 1.05rem;
    height: 1.05rem;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(21, 64, 173, 0.8);
}

.scroll-top:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .scroll-top {
        right: 14px;
        bottom: 18px;
        width: 40px;
        height: 40px;
    }
}


/* Keep scroll-top clear of the special-offers drawer */
body:has(.offers-rail.is-open) .scroll-top {
    right: calc(min(340px, 100vw - 28px) + 20px);
}

body:has(.offers-rail.is-open) .scroll-top:hover {
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    body:has(.offers-rail.is-open) .scroll-top {
        right: calc(min(300px, 100vw - 20px) + 14px);
    }
}

/* ---------- Feature strip (home) ---------- */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.feature-item strong {
    display: block;
    color: var(--navy);
    font-size: 0.95rem;
}

.feature-item span {
    color: var(--muted);
    font-size: 0.82rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(28, 82, 215, 0.1);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

/* ---------- Brands ---------- */
.brands-section {
    padding: 36px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands-section .section-head {
    margin-bottom: 18px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 6px;
}

.brand-item {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--fog);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.brand-item:hover {
    background: #fff;
    border-color: rgba(28, 82, 215, 0.35);
    box-shadow: var(--shadow);
}

.brand-item img {
    max-width: 78px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.brand-item:hover img {
    opacity: 1;
    transform: translateY(-1px);
}

.brand-fallback {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--navy);
    text-align: center;
    line-height: 1.15;
    text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .feature-strip { grid-template-columns: 1fr 1fr; }
    .header-cta { display: none; }

    /* Keep store name fully visible — search moves under the logo row */
    .header-inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 52px);
    }

    .brand-name {
        font-size: 1.02rem;
        white-space: normal;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .shop-search__input {
        font-size: 0.86rem;
        padding: 10px 12px;
    }

    .shop-search__btn {
        width: 46px;
    }
}

@media (max-width: 980px) {
    .header-top-left .header-top-item:first-child {
        display: none;
    }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .header-top-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .header-top-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 100%;
        margin-top: 8px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex: none;
        box-shadow: var(--shadow);
        z-index: 60;
    }
    .header-top-nav a {
        color: var(--navy);
        padding: 10px 14px;
    }
    .header-top-nav a:hover,
    .header-top-nav a.active {
        color: var(--blue);
        background: rgba(28, 82, 215, 0.08);
    }
    .header-top-nav.open { display: flex; }
    .site-chrome { position: sticky; }
    .header-search {
        order: 3;
        flex: 1 1 100%;
    }
    .brand-logo {
        width: 44px;
        height: 44px;
    }
    .brand-name {
        font-size: 0.95rem;
    }
    .brand-suffix {
        font-size: 0.66rem;
    }
    .hero-stats { grid-template-columns: 1fr; }
    .feature-strip,
    .footer-grid { grid-template-columns: 1fr; }
    .header-top-right { display: none; }
}
