:root {
    --bes-primary: #dc0620;
    --bes-primary-dark: #b4051a;
    --bes-blue: #0d6efd;
    --bes-blue-dark: #084298;
    --bes-navy: #0b1f3a;
    --bes-success: #198754;
    --bes-light: #f7f9fc;
    --bes-white: #ffffff;
    --bes-text: #344054;
    --bes-muted: #667085;
    --bes-border: #e4e9f0;
    --bes-radius: 1rem;
    --bes-radius-lg: 1.5rem;
    --bes-shadow-sm: 0 0.4rem 1.1rem rgba(11, 31, 58, 0.06);
    --bes-shadow: 0 0.9rem 2.5rem rgba(11, 31, 58, 0.09);
    --bes-container: 1320px;
}

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

html {
    min-width: 0;
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    margin: 0;
    overflow-x: hidden;
    color: var(--bes-text);
    background: var(--bes-light);
    font-family: "Noto Sans Khmer", "Khmer OS Battambang", Inter, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--bes-primary);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--bes-primary-dark);
}

:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.45);
    outline-offset: 3px;
}

.bes-container {
    width: min(100%, var(--bes-container));
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-left: clamp(1rem, 3vw, 2rem);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1100;
    padding: 0.75rem 1rem;
    color: var(--bes-white);
    background: var(--bes-navy);
    border-radius: 0.5rem;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    color: var(--bes-white);
    transform: translateY(0);
}

/* Shared header and buttons */
.site-header {
    z-index: 1020;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--bes-border);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 0.5rem 1.5rem rgba(11, 31, 58, 0.09);
}

.site-header .navbar {
    min-height: 76px;
    padding-block: 0.75rem;
}

.bes-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--bes-navy);
    text-decoration: none;
}

.site-footer .row {
    margin-right: 0;
    margin-left: 0;
}

.bes-logo-image {
    display: block;
    width: 74px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.35rem 1rem rgba(120, 0, 18, 0.14);
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    padding: 0;
    border-color: var(--bes-border);
    border-radius: 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2);
}

.site-header .navbar-collapse {
    padding-top: 0.9rem;
}

.site-header .nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0.65rem 0.8rem;
    color: var(--bes-navy);
    border-radius: 0.55rem;
    font-weight: 600;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--bes-blue-dark);
    background: rgba(13, 110, 253, 0.07);
}

.btn {
    min-height: 44px;
    border-radius: 0.7rem;
    font-weight: 700;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bes-primary);
    --bs-btn-border-color: var(--bes-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bes-primary-dark);
    --bs-btn-hover-border-color: var(--bes-primary-dark);
    --bs-btn-focus-shadow-rgb: 220, 6, 32;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a20417;
    --bs-btn-active-border-color: #a20417;
}

.btn-outline-primary {
    --bs-btn-color: var(--bes-primary);
    --bs-btn-border-color: var(--bes-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bes-primary);
    --bs-btn-hover-border-color: var(--bes-primary);
    --bs-btn-focus-shadow-rgb: 220, 6, 32;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bes-primary-dark);
    --bs-btn-active-border-color: var(--bes-primary-dark);
}

.bes-nav-cta {
    display: inline-flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding-inline: 1.25rem;
}

.site-main {
    min-height: 55vh;
}

/* Reusable homepage headings and spacing */
.home-section {
    padding-block: clamp(4rem, 7vw, 7rem);
}

.section-white {
    background: var(--bes-white);
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2,
.cta-panel h2 {
    max-width: 760px;
    margin: 0;
    color: var(--bes-navy);
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.section-heading p {
    max-width: 680px;
    margin: 0.65rem 0 0;
    color: var(--bes-muted);
    font-size: 1.05rem;
}

.section-kicker,
.cta-kicker {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--bes-blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-heading-centered {
    align-items: center;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.45rem;
    font-weight: 750;
    text-decoration: none;
}

/* Hero */
.hero-section {
    position: relative;
    display: flex;
    min-height: clamp(640px, 78vh, 830px);
    align-items: center;
    padding-block: clamp(3.5rem, 8vw, 7rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 12%, rgba(13, 110, 253, 0.12), transparent 27rem),
        radial-gradient(circle at 88% 80%, rgba(220, 6, 32, 0.08), transparent 24rem),
        var(--bes-light);
}

.hero-eyebrow {
    display: inline-flex;
    max-width: 100%;
    min-height: 36px;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
    padding: 0.4rem 0.85rem;
    color: var(--bes-blue-dark);
    background: rgba(13, 110, 253, 0.09);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 720px;
    margin-bottom: 1.25rem;
    color: var(--bes-navy);
    font-size: clamp(2.25rem, 5vw, 4.15rem);
    font-weight: 850;
    letter-spacing: -0.047em;
    line-height: 1.06;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 1.8rem;
    color: var(--bes-muted);
    font-size: clamp(1.03rem, 1.4vw, 1.18rem);
}

/* Khmer homepage typography */
html[lang="km"] body {
    overflow-wrap: break-word;
}

html[lang="km"] .hero-eyebrow,
html[lang="km"] .section-kicker,
html[lang="km"] .cta-kicker,
html[lang="km"] .catalog-product-meta,
html[lang="km"] .catalog-badge {
    letter-spacing: 0;
    text-transform: none;
}

html[lang="km"] .hero-section h1 {
    font-size: clamp(2rem, 4.3vw, 3.75rem);
    letter-spacing: 0;
    line-height: 1.3;
}

html[lang="km"] .hero-description {
    line-height: 1.85;
}

html[lang="km"] .section-heading h2,
html[lang="km"] .cta-panel h2,
html[lang="km"] .category-card h3,
html[lang="km"] .benefit-card h3,
html[lang="km"] .step-card h3 {
    letter-spacing: 0;
    line-height: 1.35;
}

html[lang="km"] .hero-eyebrow,
html[lang="km"] .hero-showcase-label,
html[lang="km"] .showcase-payment-card {
    line-height: 1.65;
}

html[lang="km"] .hero-actions .btn,
html[lang="km"] .cta-actions .btn,
html[lang="km"] .bes-nav-cta {
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-actions .btn,
.cta-actions .btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.35rem;
    border-width: 2px;
    font-size: 1rem;
}

.hero-trust-list {
    display: grid;
    gap: 0.65rem;
    margin: 1.7rem 0 0;
    padding: 0;
    color: var(--bes-text);
    font-size: 0.93rem;
    font-weight: 650;
    list-style: none;
}

.hero-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.hero-trust-list i {
    margin-top: 0.15rem;
    color: var(--bes-success);
}

.hero-showcase {
    position: relative;
    min-height: clamp(350px, 74vw, 520px);
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(13, 110, 253, 0.13), rgba(255, 255, 255, 0.72) 48%, rgba(220, 6, 32, 0.1)),
        var(--bes-white);
    border: 1px solid rgba(13, 110, 253, 0.13);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--bes-shadow);
}

.hero-showcase::before,
.hero-showcase::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.hero-showcase::before {
    top: -20%;
    right: -10%;
    width: 52%;
    aspect-ratio: 1;
    background: rgba(13, 110, 253, 0.12);
}

.hero-showcase::after {
    bottom: -25%;
    left: -15%;
    width: 55%;
    aspect-ratio: 1;
    background: rgba(220, 6, 32, 0.08);
}

.hero-showcase-label {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    color: var(--bes-navy);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow: var(--bes-shadow-sm);
    font-size: 0.78rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.showcase-device {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--bes-navy);
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    box-shadow: var(--bes-shadow);
}

.showcase-device i {
    line-height: 1;
}

.showcase-laptop {
    top: 28%;
    left: 11%;
    width: 58%;
    height: 41%;
    border-radius: 1.15rem;
    font-size: clamp(4.8rem, 13vw, 8.5rem);
}

.showcase-phone {
    top: 17%;
    right: 10%;
    width: 24%;
    height: 47%;
    color: var(--bes-blue);
    border-radius: 1.4rem;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    transform: rotate(5deg);
}

.showcase-speaker {
    right: 16%;
    bottom: 11%;
    width: 25%;
    aspect-ratio: 1;
    color: var(--bes-primary);
    border-radius: 50%;
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.showcase-payment-card {
    position: absolute;
    bottom: 9%;
    left: 8%;
    z-index: 3;
    display: flex;
    min-width: 42%;
    flex-direction: column;
    padding: 0.9rem 1rem;
    color: var(--bes-white);
    background: var(--bes-navy);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    box-shadow: var(--bes-shadow);
}

.showcase-payment-card span {
    color: #b7c8e0;
    font-size: 0.72rem;
}

.showcase-payment-card strong {
    font-size: 1.15rem;
}

.showcase-payment-card small {
    color: #dbe6f5;
    font-size: 0.7rem;
}

/* Categories */
.category-grid,
.product-grid,
.benefit-grid,
.testimonial-grid,
.contact-channel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.category-card,
.product-card,
.benefit-card,
.testimonial-card,
.contact-channel-card {
    min-width: 0;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius);
    box-shadow: var(--bes-shadow-sm);
}

.category-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 1.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow: var(--bes-shadow);
    transform: translateY(-3px);
}

.category-icon,
.benefit-icon,
.step-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    color: var(--bes-blue);
    background: rgba(13, 110, 253, 0.09);
    border-radius: 0.85rem;
    font-size: 1.35rem;
}

.category-card h3,
.product-card h3,
.step-card h3,
.benefit-card h3 {
    color: var(--bes-navy);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
}

.category-card h3 {
    margin: 1.1rem 0 0.45rem;
}

.category-card p {
    margin: 0 0 1rem;
    color: var(--bes-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.category-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

/* Products */
.product-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--bes-shadow);
}

.product-image-placeholder {
    position: relative;
    display: grid;
    min-height: 230px;
    place-content: center;
    gap: 0.5rem;
    color: var(--bes-blue);
    background:
        linear-gradient(145deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.75)),
        #eef4ff;
    text-align: center;
}

.product-image-placeholder > i {
    font-size: 4.5rem;
    line-height: 1;
}

.product-image-placeholder small {
    color: var(--bes-muted);
    font-weight: 650;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.65rem;
    color: var(--bes-white);
    background: var(--bes-primary);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.product-category {
    margin-bottom: 0.4rem;
    color: var(--bes-blue-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-card h3 {
    margin-bottom: 1.15rem;
    font-size: 1.15rem;
}

.product-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: auto;
    padding-block: 1rem;
    border-top: 1px solid var(--bes-border);
}

.product-pricing div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.product-pricing span {
    color: var(--bes-muted);
    font-size: 0.7rem;
}

.product-pricing strong {
    color: var(--bes-navy);
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.product-pricing .monthly-price strong {
    color: var(--bes-success);
}

.product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.product-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0.65rem;
    font-size: 0.88rem;
}

.sample-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    color: var(--bes-muted);
    font-size: 0.83rem;
}

/* Installment steps */
.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step-card {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius);
    box-shadow: var(--bes-shadow-sm);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--bes-white);
    background: var(--bes-primary);
    border-radius: 50%;
    font-size: 0.83rem;
    font-weight: 850;
}

.step-card h3 {
    margin: 1.15rem 0 0.55rem;
}

.step-card p,
.benefit-card p {
    margin: 0;
    color: var(--bes-muted);
    font-size: 0.91rem;
}

/* Benefits */
.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
}

.benefit-card h3 {
    margin: 0 0 0.4rem;
}

/* CTA */
.cta-section {
    padding-block: clamp(1.5rem, 4vw, 3rem);
    background: var(--bes-white);
}

.cta-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    overflow: hidden;
    color: var(--bes-white);
    background:
        radial-gradient(circle at 90% 10%, rgba(13, 110, 253, 0.45), transparent 22rem),
        linear-gradient(120deg, var(--bes-navy), #123d73);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--bes-shadow);
}

.cta-panel::after {
    position: absolute;
    right: -6rem;
    bottom: -8rem;
    width: 19rem;
    height: 19rem;
    background: rgba(220, 6, 32, 0.3);
    border-radius: 50%;
    content: "";
}

.cta-copy,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-panel h2,
.cta-panel p {
    color: var(--bes-white);
}

.cta-kicker {
    color: #9fc1f2;
}

.cta-panel p {
    max-width: 700px;
    margin: 0.8rem 0 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-actions .btn-light {
    color: var(--bes-navy);
}

/* Testimonials */
.testimonial-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    margin: 0;
    padding: 1.5rem;
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: #f4a100;
    letter-spacing: 0.12em;
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0 0 1.4rem;
    color: var(--bes-text);
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card figcaption > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--bes-white);
    background: var(--bes-blue);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.testimonial-card figcaption div {
    display: flex;
    flex-direction: column;
}

.testimonial-card figcaption strong {
    color: var(--bes-navy);
    font-size: 0.9rem;
}

.testimonial-card figcaption small {
    color: var(--bes-muted);
}

/* Contact channels */
.contact-section {
    background: linear-gradient(180deg, var(--bes-light), #eef4fb);
}

.contact-channel-card {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem;
    color: var(--bes-text);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact-channel-card:hover {
    color: var(--bes-text);
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: var(--bes-shadow);
    transform: translateY(-2px);
}

.contact-channel-card > i {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: var(--bes-white);
    background: var(--bes-blue);
    border-radius: 0.8rem;
    font-size: 1.25rem;
}

.contact-channel-card span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-channel-card strong {
    color: var(--bes-navy);
    font-size: 0.95rem;
}

.contact-channel-card small {
    color: var(--bes-muted);
    overflow-wrap: anywhere;
}

/* Shared footer */
.site-footer {
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    color: #c8d2df;
    background: var(--bes-navy);
}

.footer-brand {
    color: var(--bes-white);
    font-size: 1.05rem;
    font-weight: 800;
}

.footer-brand:hover {
    color: var(--bes-white);
}

.bes-logo-image.bes-logo-footer {
    width: 96px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.footer-intro {
    max-width: 420px;
    margin: 1.25rem 0;
    color: #aebccd;
}

.footer-heading {
    margin-bottom: 1rem;
    color: var(--bes-white);
    font-size: 1rem;
    font-weight: 750;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-contact a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: #c8d2df;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--bes-white);
}

.footer-social {
    display: flex;
    gap: 0.65rem;
}

.footer-social a {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--bes-white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    font-size: 1.1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: var(--bes-white);
    background: var(--bes-primary);
    transform: translateY(-2px);
}

.footer-contact {
    display: grid;
    min-width: 0;
    gap: 0.35rem;
    margin: 0;
    font-style: normal;
}

.footer-contact span,
.footer-contact a {
    min-width: 0;
    max-width: 100%;
    gap: 0.65rem;
    overflow-wrap: anywhere;
}

.footer-contact .footer-phone-line > span {
    flex-wrap: wrap;
}

.footer-contact .footer-phone-line {
    display: flex;
    align-items: flex-start;
}

.footer-contact .footer-inline-link {
    display: inline;
    min-height: 0;
    color: #c8d2df;
    white-space: nowrap;
}

.footer-contact i {
    color: #75a7ff;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-block: 1.35rem;
    color: #93a4b8;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-bottom-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-admin-link {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid rgba(117, 167, 255, 0.45);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    color: #e8eef7;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-admin-link:hover {
    border-color: #75a7ff;
    background: rgba(117, 167, 255, 0.14);
    color: #fff;
}

.footer-admin-link:focus-visible {
    outline-color: #fff;
}

@media (min-width: 420px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-actions,
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 576px) {
    .product-grid,
    .benefit-grid,
    .contact-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-trust-list {
        grid-template-columns: repeat(2, minmax(0, max-content));
    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-bottom-actions {
        align-items: flex-end;
    }
}

@media (min-width: 768px) {
    .footer-bottom-actions {
        flex-direction: row;
        align-items: center;
    }

    .section-heading:not(.section-heading-centered) {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .category-grid,
    .testimonial-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .bes-logo-image {
        width: 82px;
    }

    .site-header .navbar-collapse {
        padding-top: 0;
    }

    .site-header .nav-link {
        padding-inline: clamp(0.45rem, 0.7vw, 0.8rem);
        font-size: clamp(0.86rem, 0.9vw, 0.95rem);
        white-space: nowrap;
    }

    html[lang="km"] .site-header .nav-link {
        padding-inline: clamp(0.35rem, 0.55vw, 0.65rem);
        font-size: clamp(0.78rem, 0.82vw, 0.9rem);
    }

    html[lang="km"] .bes-nav-cta {
        padding-inline: 0.85rem;
        font-size: 0.86rem;
        white-space: nowrap;
    }

    .bes-nav-cta {
        width: auto;
        margin-top: 0;
    }

    .hero-showcase {
        min-height: 510px;
    }

    .benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .steps-grid::before {
        position: absolute;
        top: 42px;
        right: 10%;
        left: 10%;
        z-index: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(13, 110, 253, 0.25), rgba(220, 6, 32, 0.25));
        content: "";
    }

    .cta-panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-copy {
        max-width: 720px;
    }

    .cta-actions {
        flex: 0 0 auto;
    }
}

@media (min-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .contact-channel-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 419.98px) {
    .product-pricing,
    .product-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .showcase-payment-card {
        left: 5%;
        min-width: 52%;
    }
}

@media (max-width: 380px) {
    .bes-logo-image {
        width: 66px;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
    }

    html[lang="km"] .hero-section h1 {
        font-size: 1.85rem;
    }

    html[lang="km"] .hero-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Product catalogue */
.catalog-banner {
    position: relative;
    padding-block: clamp(3.25rem, 6vw, 5.75rem);
    overflow: hidden;
    color: var(--bes-white);
    background:
        radial-gradient(circle at 84% 20%, rgba(13, 110, 253, 0.38), transparent 25rem),
        radial-gradient(circle at 12% 120%, rgba(220, 6, 32, 0.28), transparent 22rem),
        var(--bes-navy);
}

.catalog-banner::after {
    position: absolute;
    top: -8rem;
    right: -6rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.catalog-banner .bes-container {
    position: relative;
    z-index: 1;
}

.catalog-breadcrumb {
    margin-bottom: 1.35rem;
}

.catalog-breadcrumb .breadcrumb-item,
.catalog-breadcrumb .breadcrumb-item::before {
    color: #adbeda;
}

.catalog-breadcrumb a {
    color: var(--bes-white);
    text-decoration: none;
}

.catalog-banner .section-kicker {
    color: #9fc1f2;
}

.catalog-banner h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1;
}

.catalog-banner p {
    max-width: 660px;
    margin: 1rem 0 0;
    color: #d1dced;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.catalog-photo-banner {
    padding: 0;
    background: #fff;
}

.catalog-photo-banner::after {
    display: none;
}

.catalog-photo-banner > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .catalog-photo-banner > img {
        height: auto;
        object-fit: contain;
    }
}

.catalog-search-section {
    position: relative;
    z-index: 2;
    padding-top: clamp(1.25rem, 3vw, 2rem);
    background: var(--bes-light);
}

.catalog-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: clamp(1rem, 2.4vw, 1.5rem);
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius-lg);
    box-shadow: var(--bes-shadow);
}

.catalog-search-field {
    min-width: 0;
}

.catalog-search-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--bes-navy);
    font-size: 0.78rem;
    font-weight: 800;
}

.catalog-search-panel .form-control,
.catalog-search-panel .form-select {
    min-height: 48px;
    color: var(--bes-text);
    border-color: var(--bes-border);
    border-radius: 0.7rem;
}

.catalog-search-panel .form-control:focus,
.catalog-search-panel .form-select:focus {
    border-color: var(--bes-blue);
    box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.14);
}

.catalog-input-icon {
    position: relative;
}

.catalog-input-icon > i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: var(--bes-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.catalog-input-icon .form-control {
    padding-left: 2.75rem;
}

.catalog-search-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
}

.btn-catalog-primary,
.btn-catalog-outline,
.btn-catalog-reset,
.btn-catalog-filter,
.btn-catalog-disabled {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 0.7rem;
    font-size: 0.9rem;
    font-weight: 750;
}

.btn-catalog-primary {
    color: var(--bes-white);
    background: var(--bes-blue);
    border-color: var(--bes-blue);
}

.btn-catalog-primary:hover,
.btn-catalog-primary:focus-visible {
    color: var(--bes-white);
    background: var(--bes-blue-dark);
    border-color: var(--bes-blue-dark);
}

.btn-catalog-outline,
.btn-catalog-filter {
    color: var(--bes-blue-dark);
    background: var(--bes-white);
    border-color: rgba(13, 110, 253, 0.4);
}

.btn-catalog-outline:hover,
.btn-catalog-filter:hover {
    color: var(--bes-white);
    background: var(--bes-blue);
    border-color: var(--bes-blue);
}

.btn-catalog-reset {
    color: var(--bes-text);
    background: #f1f4f8;
    border-color: var(--bes-border);
}

.btn-catalog-reset:hover {
    color: var(--bes-navy);
    background: #e5eaf1;
}

.btn-catalog-disabled {
    color: #7c8798;
    background: #eef1f5;
    border: 1px solid #e0e5ec;
    cursor: not-allowed;
}

.catalog-main-section {
    padding-block: clamp(2.25rem, 5vw, 5rem);
    background: var(--bes-light);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.catalog-toolbar h2 {
    margin: 0;
    color: var(--bes-navy);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 800;
}

.catalog-toolbar p {
    margin: 0.25rem 0 0;
    color: var(--bes-muted);
    font-size: 0.9rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.catalog-sidebar-card {
    position: sticky;
    top: 106px;
    overflow: hidden;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius);
    box-shadow: var(--bes-shadow-sm);
}

.catalog-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.25rem;
    color: var(--bes-navy);
    border-bottom: 1px solid var(--bes-border);
}

.catalog-sidebar-heading h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.catalog-sidebar-heading i {
    color: var(--bes-blue);
}

.catalog-filter-groups {
    display: grid;
}

.catalog-filter-group {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    margin: 0;
    padding: 1.15rem 1.25rem;
    border: 0;
    border-bottom: 1px solid var(--bes-border);
}

.catalog-filter-group:last-child {
    border-bottom: 0;
}

.catalog-filter-group legend {
    float: none;
    width: auto;
    margin: 0 0 0.55rem;
    color: var(--bes-navy);
    font-size: 0.86rem;
    font-weight: 800;
}

.catalog-check {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 0.65rem;
    color: var(--bes-text);
    border-radius: 0.4rem;
    font-size: 0.88rem;
    cursor: pointer;
}

.catalog-check:hover {
    color: var(--bes-blue-dark);
}

.catalog-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    accent-color: var(--bes-blue);
}

.catalog-results {
    min-width: 0;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.catalog-product-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius);
    box-shadow: var(--bes-shadow-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.catalog-product-card:hover {
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: var(--bes-shadow);
    transform: translateY(-4px);
}

.catalog-product-media {
    position: relative;
    aspect-ratio: 18 / 13;
    overflow: hidden;
    background: #f1f5f9;
}

.catalog-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.catalog-product-badges {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: flex;
    max-width: calc(100% - 4.3rem);
    flex-wrap: wrap;
    gap: 0.35rem;
}

.catalog-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0.25rem 0.55rem;
    color: var(--bes-white);
    background: var(--bes-blue);
    border-radius: 999px;
    box-shadow: 0 0.25rem 0.6rem rgba(11, 31, 58, 0.12);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.catalog-badge-new {
    background: var(--bes-success);
}

.catalog-badge-popular {
    background: #7b3ff2;
}

.catalog-badge-out-of-stock {
    background: #596474;
}

.catalog-favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--bes-navy);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 31, 58, 0.1);
    border-radius: 50%;
    box-shadow: var(--bes-shadow-sm);
    font-size: 1.08rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.catalog-favorite:hover,
.catalog-favorite[aria-pressed="true"] {
    color: var(--bes-primary);
    transform: scale(1.06);
}

.catalog-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.2rem;
}

.catalog-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
    color: var(--bes-blue-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.catalog-product-card h3 {
    margin: 0;
    color: var(--bes-navy);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
}

.catalog-product-title-link {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.catalog-product-title-link:hover {
    color: var(--bes-blue);
}

.catalog-product-spec {
    min-height: 3.1em;
    margin: 0.55rem 0 1rem;
    color: var(--bes-muted);
    font-size: 0.83rem;
    line-height: 1.55;
}

.catalog-price-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: auto;
    padding-block: 0.9rem;
    border-top: 1px solid var(--bes-border);
}

.catalog-price-panel > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.catalog-price-panel span {
    color: var(--bes-muted);
    font-size: 0.67rem;
}

.catalog-price-panel strong {
    color: var(--bes-navy);
    font-size: 1.08rem;
    line-height: 1.3;
}

.catalog-price-panel del,
.details-price-card del {
    color: var(--bes-muted);
    font-size: 0.72rem;
}

.catalog-price-panel .catalog-installment-text {
    color: var(--bes-success);
    font-size: 0.78rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.catalog-price-panel strong small {
    color: var(--bes-muted);
    font-size: 0.67rem;
    font-weight: 650;
    white-space: nowrap;
}

.catalog-monthly-price strong {
    color: var(--bes-success);
}

.catalog-stock-status {
    display: flex;
    min-height: 24px;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
    color: var(--bes-success);
    font-size: 0.75rem;
    font-weight: 750;
}

.catalog-stock-outofstock {
    color: #b42318;
}

.catalog-stock-limitedstock,
.catalog-stock-preorder {
    color: #8a5200;
}

.catalog-product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.catalog-product-actions .btn {
    min-width: 0;
    padding-inline: 0.55rem;
    font-size: 0.82rem;
}

.catalog-no-results {
    padding: clamp(3rem, 8vw, 6rem) 1.25rem;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius-lg);
    box-shadow: var(--bes-shadow-sm);
    text-align: center;
}

.catalog-no-results-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.25rem;
    place-items: center;
    color: var(--bes-blue);
    background: rgba(13, 110, 253, 0.09);
    border-radius: 50%;
    font-size: 1.8rem;
}

.catalog-no-results h2 {
    margin: 0;
    color: var(--bes-navy);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 800;
}

.catalog-no-results p {
    margin: 0.5rem 0 1.25rem;
    color: var(--bes-muted);
}

.catalog-empty-actions,
.catalog-filter-actions,
.catalog-toolbar-actions,
.catalog-page-size {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.catalog-filter-actions {
    padding-top: 1rem;
}

.catalog-filter-actions .btn {
    flex: 1 1 120px;
}

.catalog-check small {
    color: var(--bes-muted);
}

.catalog-page-size {
    justify-content: flex-start;
    color: var(--bes-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-page-size .form-select {
    width: auto;
    min-width: 76px;
}

.catalog-pagination {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.catalog-pagination .pagination {
    flex-wrap: wrap;
    gap: 0.35rem;
}

.catalog-pagination .page-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: var(--bes-blue-dark);
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: 0.6rem;
}

.catalog-pagination .active > .page-link {
    color: var(--bes-white);
    background: var(--bes-blue);
    border-color: var(--bes-blue);
}

.catalog-pagination .disabled > .page-link {
    color: #929baa;
    background: #eef1f5;
}

.catalog-filter-offcanvas {
    --bs-offcanvas-width: min(92vw, 390px);
}

.catalog-filter-offcanvas .offcanvas-header {
    align-items: flex-start;
    padding: 1.25rem;
    border-bottom: 1px solid var(--bes-border);
}

.catalog-filter-offcanvas .section-kicker {
    margin-bottom: 0.25rem;
}

.catalog-filter-offcanvas .offcanvas-title {
    color: var(--bes-navy);
    font-size: 1.35rem;
    font-weight: 800;
}

.catalog-filter-offcanvas .offcanvas-body {
    padding: 0;
}

.catalog-filter-offcanvas .catalog-filter-group {
    padding-inline: 1.25rem;
}

.catalog-offcanvas-footer {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    background: var(--bes-white);
    border-top: 1px solid var(--bes-border);
}

@media (min-width: 480px) {
    .catalog-search-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 576px) {
    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .catalog-search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-search-actions {
        grid-column: 1 / -1;
        justify-self: end;
        min-width: min(100%, 350px);
    }
}

@media (min-width: 992px) {
    .catalog-layout {
        grid-template-columns: 250px minmax(0, 1fr);
    }
}

@media (min-width: 1200px) {
    .catalog-search-panel {
        grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(145px, 0.8fr));
        align-items: end;
    }

    .catalog-search-actions {
        grid-column: 1 / -1;
    }

    .catalog-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .catalog-search-panel {
        grid-template-columns: minmax(250px, 1.4fr) repeat(3, minmax(140px, 0.75fr)) minmax(280px, auto);
    }

    .catalog-search-actions {
        grid-column: auto;
        min-width: 0;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 374.98px) {
    .catalog-price-panel,
    .catalog-product-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-pagination .page-item:first-child,
    .catalog-pagination .page-item:last-child {
        width: 100%;
        text-align: center;
    }

    .catalog-pagination .page-item:first-child .page-link,
    .catalog-pagination .page-item:last-child .page-link {
        width: 100%;
    }
}

/* Product details */
.product-details-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    background: var(--bes-light);
}

.details-main-section {
    padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 90% 5%, rgba(13, 110, 253, 0.08), transparent 28rem),
        var(--bes-white);
}

.details-breadcrumb {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-size: 0.85rem;
}

.details-breadcrumb a {
    color: var(--bes-blue-dark);
    text-decoration: none;
}

.details-breadcrumb .active {
    max-width: min(52vw, 430px);
    overflow: hidden;
    color: var(--bes-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.details-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.product-gallery {
    min-width: 0;
}

.product-gallery:focus-visible {
    border-radius: var(--bes-radius-lg);
}

.gallery-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--bes-border);
    border-radius: clamp(1rem, 2.5vw, 1.6rem);
    box-shadow: var(--bes-shadow);
}

.gallery-main > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.18s ease, transform 0.35s ease;
}

.gallery-main:hover > img {
    transform: scale(1.015);
}

.gallery-main > img.is-changing {
    opacity: 0.35;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    color: var(--bes-navy);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(11, 31, 58, 0.1);
    border-radius: 50%;
    box-shadow: var(--bes-shadow-sm);
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.gallery-nav:hover {
    color: var(--bes-white);
    background: var(--bes-blue);
    transform: translateY(-50%) scale(1.05);
}

.gallery-previous {
    left: 0.8rem;
}

.gallery-next {
    right: 0.8rem;
}

.gallery-counter {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0.25rem 0.65rem;
    color: var(--bes-white);
    background: rgba(11, 31, 58, 0.82);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 750;
    backdrop-filter: blur(6px);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.5vw, 0.85rem);
    margin-top: 0.85rem;
}

.gallery-thumbnail {
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    opacity: 0.72;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.is-active {
    border-color: var(--bes-blue);
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.details-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.details-available-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    color: #0f6842;
    background: #def7e9;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.details-brand {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--bes-blue-dark);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-details-info h1 {
    max-width: 720px;
    margin: 0;
    color: var(--bes-navy);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.details-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.details-rating > span {
    color: #f4a100;
    letter-spacing: 0.08em;
}

.details-rating strong {
    color: var(--bes-navy);
}

.details-rating small {
    color: var(--bes-muted);
}

.details-price-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-block: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f2f7ff, #fff);
    border: 1px solid rgba(13, 110, 253, 0.16);
    border-radius: var(--bes-radius);
}

.details-price-card > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.details-price-card span {
    color: var(--bes-muted);
    font-size: 0.75rem;
    font-weight: 650;
}

.details-price-card strong {
    color: var(--bes-navy);
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    line-height: 1.25;
}

.details-price-card .details-installment-message {
    color: var(--bes-success);
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.details-short-description,
.details-database-copy,
.installment-disclaimer {
    color: var(--bes-muted);
    overflow-wrap: anywhere;
}

.details-database-copy {
    white-space: pre-line;
}

.details-available-badge.is-unavailable {
    color: #9b1c1c;
    background: #fff1f1;
}

.home-dynamic-product-grid .catalog-product-card {
    min-width: 0;
}

.details-price-card > div:last-child strong {
    color: var(--bes-success);
}

.details-price-card strong small {
    display: block;
    color: var(--bes-muted);
    font-size: 0.72rem;
    font-weight: 650;
}

.details-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 1.25rem;
    border-top: 1px solid var(--bes-border);
    border-left: 1px solid var(--bes-border);
}

.details-facts > div {
    min-width: 0;
    padding: 0.8rem;
    border-right: 1px solid var(--bes-border);
    border-bottom: 1px solid var(--bes-border);
}

.details-facts dt {
    color: var(--bes-muted);
    font-size: 0.68rem;
    font-weight: 650;
}

.details-facts dd {
    margin: 0.15rem 0 0;
    color: var(--bes-navy);
    font-size: 0.88rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.details-service-note {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    color: var(--bes-text);
    background: #f4fbf7;
    border: 1px solid #d8eee1;
    border-radius: 0.8rem;
}

.details-service-note > i {
    color: var(--bes-success);
    font-size: 1.25rem;
}

.details-service-note div {
    display: flex;
    flex-direction: column;
}

.details-service-note strong {
    color: var(--bes-navy);
    font-size: 0.9rem;
}

.details-service-note span {
    color: var(--bes-muted);
    font-size: 0.78rem;
}

.details-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
}

.details-actions .btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.details-favorite,
.details-back-link {
    color: var(--bes-text);
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    text-decoration: none;
}

.details-favorite:hover,
.details-favorite[aria-pressed="true"] {
    color: var(--bes-primary);
    background: #fff5f6;
    border-color: rgba(220, 6, 32, 0.28);
}

.details-favorite.is-animating {
    animation: favorite-pop 0.35s ease;
}

.details-back-link:hover {
    color: var(--bes-blue-dark);
    background: #f2f7ff;
    border-color: rgba(13, 110, 253, 0.25);
}

@keyframes favorite-pop {
    50% {
        transform: scale(1.04);
    }
}

.details-section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.details-section-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.details-section-heading h2 {
    max-width: 720px;
    margin: 0;
    color: var(--bes-navy);
    font-size: clamp(1.7rem, 3.5vw, 2.7rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.details-section-heading > p {
    max-width: 680px;
    margin: 0.65rem 0 0;
    color: var(--bes-muted);
}

.details-heading-centered {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.details-spec-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius-lg);
    box-shadow: var(--bes-shadow-sm);
}

.details-spec-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-bottom: 1px solid var(--bes-border);
}

.details-spec-item:last-child {
    border-bottom: 0;
}

.details-spec-item > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--bes-blue);
    background: rgba(13, 110, 253, 0.09);
    border-radius: 0.7rem;
    font-size: 1.05rem;
}

.details-spec-item > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.details-spec-item span {
    color: var(--bes-muted);
    font-size: 0.7rem;
}

.details-spec-item strong {
    color: var(--bes-navy);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.details-information-section {
    background: var(--bes-white);
}

.details-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.details-tab-card {
    min-width: 0;
    overflow: hidden;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius-lg);
    box-shadow: var(--bes-shadow-sm);
}

.details-tabs {
    flex-wrap: nowrap;
    padding: 0.5rem 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-color: var(--bes-border);
    scrollbar-width: thin;
}

.details-tabs .nav-link {
    min-width: max-content;
    min-height: 46px;
    color: var(--bes-muted);
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    font-size: 0.88rem;
    font-weight: 750;
}

.details-tabs .nav-link:hover {
    color: var(--bes-blue-dark);
    background: #f2f7ff;
}

.details-tabs .nav-link.active {
    color: var(--bes-blue-dark);
    background: transparent;
    border-bottom-color: var(--bes-blue);
}

.details-tab-content {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.details-tab-content h3 {
    margin: 0 0 0.85rem;
    color: var(--bes-navy);
    font-size: 1.3rem;
    font-weight: 800;
}

.details-tab-content p {
    color: var(--bes-muted);
}

.sample-content-label {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.25rem 0.6rem;
    color: #68520a;
    background: #fff5cf;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.details-feature-list {
    display: grid;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.details-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--bes-text);
}

.details-feature-list i {
    margin-top: 0.2rem;
    color: var(--bes-success);
}

.details-tab-specs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--bes-border);
}

.details-tab-specs > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--bes-border);
}

.details-tab-specs dt {
    color: var(--bes-muted);
    font-weight: 650;
}

.details-tab-specs dd {
    margin: 0;
    color: var(--bes-navy);
    font-weight: 800;
    text-align: right;
}

.details-tab-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding: 0.9rem;
    color: var(--bes-blue-dark);
    background: #eef5ff;
    border-radius: 0.75rem;
}

.installment-summary-card {
    padding: clamp(1.35rem, 3vw, 1.8rem);
    color: var(--bes-white);
    background:
        radial-gradient(circle at 100% 0, rgba(13, 110, 253, 0.5), transparent 16rem),
        var(--bes-navy);
    border-radius: var(--bes-radius-lg);
    box-shadow: var(--bes-shadow);
}

.installment-summary-card .section-kicker {
    color: #9fc1f2;
}

.installment-summary-card h2 {
    margin: 0 0 1.2rem;
    font-size: 1.45rem;
    font-weight: 850;
}

.installment-summary-card dl {
    margin: 0;
}

.installment-summary-card dl > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.installment-summary-card dt {
    color: #b9c8db;
    font-size: 0.78rem;
    font-weight: 650;
}

.installment-summary-card dd {
    margin: 0;
    font-weight: 800;
    text-align: right;
}

.installment-summary-card .installment-highlight {
    margin-block: 0.4rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.75rem;
}

.installment-highlight dd {
    color: #79e5ac;
    font-size: 1.35rem;
}

.installment-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 1rem 0;
    color: #b9c8db;
    font-size: 0.74rem;
}

.installment-summary-card .btn {
    width: 100%;
}

.details-trust-section {
    background: var(--bes-light);
}

.details-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.details-trust-grid article {
    min-width: 0;
    padding: 1.25rem;
    background: var(--bes-white);
    border: 1px solid var(--bes-border);
    border-radius: var(--bes-radius);
    box-shadow: var(--bes-shadow-sm);
}

.details-trust-grid article > i {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 0.9rem;
    place-items: center;
    color: var(--bes-blue);
    background: rgba(13, 110, 253, 0.09);
    border-radius: 0.75rem;
    font-size: 1.2rem;
}

.details-trust-grid h3 {
    margin: 0 0 0.35rem;
    color: var(--bes-navy);
    font-size: 0.98rem;
    font-weight: 800;
}

.details-trust-grid p {
    margin: 0;
    color: var(--bes-muted);
    font-size: 0.82rem;
}

.details-related-section {
    background: var(--bes-white);
}

.related-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.mobile-product-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.6rem;
    padding: 0.75rem max(1rem, env(safe-area-inset-right, 0px))
        calc(0.75rem + env(safe-area-inset-bottom, 0px))
        max(1rem, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--bes-border);
    box-shadow: 0 -0.5rem 1.5rem rgba(11, 31, 58, 0.12);
    backdrop-filter: blur(10px);
}

.mobile-product-actions .btn {
    min-width: 0;
    min-height: 48px;
    padding-inline: 0.6rem;
    font-size: 0.84rem;
}

@media (min-width: 480px) {
    .details-price-card,
    .details-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-primary-action {
        grid-column: 1 / -1;
    }

    .details-spec-card,
    .details-trust-grid,
    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-spec-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (min-width: 768px) {
    .product-details-page {
        padding-bottom: 0;
    }

    .details-spec-card,
    .details-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .details-spec-item:nth-last-child(-n + 3) {
        border-bottom: 0;
    }

    .related-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-product-actions {
        display: none;
    }
}

@media (min-width: 992px) {
    .details-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    }

    .product-details-info {
        position: sticky;
        top: 110px;
    }

    .details-content-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
    }

    .installment-summary-card {
        position: sticky;
        top: 110px;
    }

    .details-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .details-spec-card {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .details-spec-item {
        border-right: 1px solid var(--bes-border);
    }

    .details-spec-item:nth-child(6n) {
        border-right: 0;
    }

    .details-spec-item:nth-last-child(-n + 6) {
        border-bottom: 0;
    }

    .related-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 374.98px) {
    .details-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .details-primary-action {
        grid-column: auto;
    }

    .gallery-nav {
        width: 44px;
        height: 44px;
    }
}
