/* =========================================================
   KETEN BT PUBLIC — SHARED STYLES
   Page-specific styles live under css/pages/.
========================================================= */

:root {
    --color-primary: #1e3a8a;
    --color-primary-dark: #172554;
    --color-accent: #14b8a6;
    --color-dark: #0f172a;
    --color-text: #334155;
    --color-muted: #64748b;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --navbar-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

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

.site-navbar {
    min-height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    z-index: 1030;
}

.site-navbar.navbar-scrolled {
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.navbar-container {
    position: relative;
    min-height: var(--navbar-height);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.navbar-logo {
    width: 180px;
    height: auto;
    max-height: 94px;
    object-fit: contain;
}

.navbar-center {
    justify-content: center;
}

.site-navbar .navbar-nav {
    gap: 4px;
}

.site-navbar .nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 0.65rem 0.9rem;
    transition: color 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--color-primary);
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--color-accent);
}

.desktop-navbar-actions {
    min-width: 112px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mobile-navbar-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

.navbar-cart {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.navbar-cart:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.site-navbar-toggler {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
}

.site-navbar-toggler:focus {
    box-shadow: none;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #2563eb);
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
    transition: all 0.2s ease;
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.3);
}

.btn-outline-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.btn-outline-main:hover {
    color: var(--color-primary);
    border-color: rgba(30, 58, 138, 0.35);
    background: #fff;
    transform: translateY(-1px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.95rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.btn-outline-light:hover {
    color: var(--color-primary-dark);
    background: #fff;
    border-color: #fff;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-accent);
}

.section-block {
    padding: 72px 0;
}

.section-soft {
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.section-heading-split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 34px;
    align-items: end;
}

.cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.floating-social {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-social-link {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
    opacity: 0.78;
    transition: all 0.2s ease;
}

.floating-social-link:hover {
    opacity: 1;
    color: #fff;
    background: var(--color-primary);
    transform: translateX(-2px);
}

.site-footer {
    margin-top: 80px;
    padding: 56px 0 24px;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
}

.footer-brand {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

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

.footer-brand h5 {
    margin: 0 0 10px;
    color: var(--color-dark);
    font-size: 1.05rem;
    font-weight: 800;
}

.footer-brand p {
    margin: 0;
    max-width: 360px;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.footer-title {
    margin-bottom: 14px;
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: var(--color-muted);
    font-size: 0.94rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 11px;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.footer-contact i {
    width: 18px;
    margin-top: 4px;
    color: var(--color-primary);
}

.footer-contact a {
    color: var(--color-muted);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    color: var(--color-muted);
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .navbar-container {
        min-height: 72px;
    }

    .navbar-logo {
        width: 140px;
        max-height: 72px;
    }

    .mobile-navbar-actions {
        display: flex;
    }

    .desktop-navbar-actions {
        display: none;
    }

    .site-navbar .navbar-collapse {
        padding: 1rem 0 0.75rem;
        border-top: 1px solid var(--color-border);
        margin-top: 12px;
    }

    .site-navbar .navbar-nav {
        align-items: flex-start !important;
        gap: 0;
    }

    .site-navbar .nav-link {
        padding: 0.75rem 0;
    }

    .site-navbar .nav-link.active::after {
        display: none;
    }

    .section-heading-split {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .section-block {
        padding: 52px 0;
    }

    .cta-actions .btn-main,
    .cta-actions .btn-outline-light {
        width: 100%;
    }

    .floating-social {
        right: 50%;
        top: auto;
        bottom: 16px;
        transform: translateX(50%);
        flex-direction: row;
        padding: 7px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--color-border);
        border-radius: 999px;
        box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    }

    .floating-social-link {
        width: 34px;
        height: 34px;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 0.9;
    }

    .floating-social-link:hover {
        transform: none;
    }

    .site-footer {
        margin-top: 56px;
        padding-bottom: 88px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .section-heading h2 {
        font-size: 1.75rem;
    }
}

.site-dropdown {
    margin-top: 14px;
    padding: 10px;
    min-width: 310px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.site-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 13px;
    color: var(--color-text);
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.site-dropdown .dropdown-item i {
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.site-dropdown .dropdown-item:hover,
.site-dropdown .dropdown-item:focus {
    color: var(--color-primary);
    background: #f8fafc;
}

.site-dropdown .dropdown-item:hover i,
.site-dropdown .dropdown-item:focus i {
    color: #fff;
    background: var(--color-primary);
}

.site-navbar .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: 0.12em;
    border-top-color: currentColor;
}

@media (min-width: 992px) {
    .site-navbar .dropdown:hover .dropdown-menu {
        display: block;
    }

    .site-navbar .dropdown:hover .dropdown-toggle {
        color: var(--color-primary);
    }
}

@media (max-width: 991px) {
    .site-dropdown {
        margin-top: 4px;
        min-width: 100%;
        box-shadow: none;
        border-radius: 14px;
        background: #f8fafc;
    }

    .site-dropdown .dropdown-item {
        white-space: normal;
    }
}

.kb-services-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.kb-services-trigger {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.kb-services-main-link {
    padding-right: 0.2rem !important;
}

.kb-services-arrow {
    width: 22px;
    height: 34px;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: default;
    transition: color 0.2s ease,
    transform 0.2s ease;
}

.kb-services-menu:hover .kb-services-arrow {
    color: var(--color-primary);
    transform: rotate(180deg);
}

.kb-services-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
    background: transparent;
}

.kb-services-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    width: 330px;
    padding: 9px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1050;
    transition: opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.kb-services-menu:hover .kb-services-panel,
.kb-services-menu:focus-within .kb-services-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.kb-services-panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 13px;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.kb-services-panel-item i {
    width: 31px;
    height: 31px;
    border-radius: 11px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kb-services-panel-item:hover {
    color: var(--color-primary);
    background: #f8fafc;
}

.kb-services-panel-item:hover i {
    color: #fff;
    background: var(--color-primary);
}

.kb-services-menu .dropdown-menu,
.kb-services-menu .site-dropdown {
    display: none !important;
}

@media (max-width: 991px) {
    .kb-services-menu {
        display: block;
        width: 100%;
    }

    .kb-services-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .kb-services-main-link {
        padding-right: 0 !important;
    }

    .kb-services-arrow {
        width: 42px;
        height: 42px;
        justify-content: flex-end;
    }

    .kb-services-menu::after {
        display: none;
    }

    .kb-services-panel {
        position: static;
        width: 100%;
        margin: 4px 0 10px;
        padding: 8px;
        border-radius: 16px;
        background: #f8fafc;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-services-menu:hover .kb-services-panel,
    .kb-services-menu:focus-within .kb-services-panel {
        transform: none;
    }

    .kb-services-panel-item {
        padding: 11px 10px;
        font-size: 0.9rem;
    }

    .kb-services-panel-item i {
        width: 32px;
        height: 32px;
        border-radius: 12px;
        font-size: 0.85rem;
    }
}

.kb-corporate-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.kb-corporate-trigger {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.kb-corporate-main-link {
    padding-right: 0.2rem !important;
}

.kb-corporate-arrow {
    width: 22px;
    height: 34px;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: default;
    transition: color 0.2s ease,
    transform 0.2s ease;
}

.kb-corporate-menu:hover .kb-corporate-arrow {
    color: var(--color-primary);
    transform: rotate(180deg);
}

.kb-corporate-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
    background: transparent;
}

.kb-corporate-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    width: 255px;
    padding: 9px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1060;
    transition: opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.kb-corporate-menu:hover .kb-corporate-panel,
.kb-corporate-menu:focus-within .kb-corporate-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.kb-corporate-panel-item,
.kb-corporate-submenu-main {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 13px;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.kb-corporate-panel-item > i,
.kb-corporate-submenu-main > i {
    width: 31px;
    height: 31px;
    border-radius: 11px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kb-corporate-panel-item:hover,
.kb-corporate-submenu-main:hover {
    color: var(--color-primary);
    background: #f8fafc;
}

.kb-corporate-panel-item:hover > i,
.kb-corporate-submenu-main:hover > i {
    color: #fff;
    background: var(--color-primary);
}

.kb-corporate-submenu {
    position: relative;
    padding: 0;
}

.kb-corporate-submenu-main strong {
    margin-left: auto;
    color: var(--color-muted);
    font-size: 0.68rem;
    transition: transform 0.2s ease,
    color 0.2s ease;
}

.kb-corporate-submenu:hover .kb-corporate-submenu-main strong {
    color: var(--color-primary);
    transform: translateX(2px);
}

.kb-corporate-subpanel {
    position: absolute;
    top: -9px;
    left: calc(100% + 8px);
    width: 285px;
    padding: 9px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transform: translateX(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1070;
    transition: opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.kb-corporate-submenu::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 12px;
    height: 100%;
    background: transparent;
}

.kb-corporate-submenu:hover .kb-corporate-subpanel,
.kb-corporate-submenu:focus-within .kb-corporate-subpanel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.kb-corporate-subpanel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.kb-corporate-subpanel a i {
    width: 29px;
    height: 29px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kb-corporate-subpanel a:hover {
    color: var(--color-primary);
    background: #f8fafc;
}

.kb-corporate-subpanel a:hover i {
    color: #fff;
    background: var(--color-accent);
}

@media (max-width: 991px) {
    .kb-corporate-menu {
        display: block;
        width: 100%;
    }

    .kb-corporate-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .kb-corporate-main-link {
        padding-right: 0 !important;
    }

    .kb-corporate-arrow {
        width: 42px;
        height: 42px;
        justify-content: flex-end;
    }

    .kb-corporate-menu::after {
        display: none;
    }

    .kb-corporate-panel {
        position: static;
        width: 100%;
        margin: 4px 0 10px;
        padding: 8px;
        border-radius: 16px;
        background: #f8fafc;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-corporate-menu:hover .kb-corporate-panel,
    .kb-corporate-menu:focus-within .kb-corporate-panel {
        transform: none;
    }

    .kb-corporate-panel-item,
    .kb-corporate-submenu-main {
        padding: 11px 10px;
        font-size: 0.9rem;
    }

    .kb-corporate-panel-item > i,
    .kb-corporate-submenu-main > i {
        width: 32px;
        height: 32px;
        border-radius: 12px;
        font-size: 0.85rem;
    }

    .kb-corporate-submenu {
        display: block;
    }

    .kb-corporate-submenu-main strong {
        display: none;
    }

    .kb-corporate-subpanel {
        position: static;
        width: 100%;
        margin: 4px 0 8px 42px;
        padding: 6px;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-corporate-submenu:hover .kb-corporate-subpanel,
    .kb-corporate-submenu:focus-within .kb-corporate-subpanel {
        transform: none;
    }

    .kb-corporate-submenu::after {
        display: none;
    }

    .kb-corporate-subpanel a {
        padding: 9px 8px;
        font-size: 0.84rem;
    }

    .kb-corporate-subpanel a i {
        width: 28px;
        height: 28px;
        border-radius: 10px;
        font-size: 0.76rem;
    }
}

.products-catalog-section {
    padding: 72px 0 96px;
    background: #ffffff;
}

.products-catalog-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.catalog-filter-sidebar {
    position: sticky;
    top: 92px;
    min-height: 520px;
    padding-right: 20px;
    border-right: 1px solid #e5e7eb;
}

.catalog-filter-title {
    margin-bottom: 18px;
}

.catalog-filter-title h2 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.catalog-filter-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-accordion {
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
}

.filter-accordion-summary {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.filter-accordion-summary::-webkit-details-marker {
    display: none;
}

.filter-arrow {
    color: #6b7280;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.filter-accordion[open] .filter-arrow {
    transform: rotate(180deg);
}

.filter-accordion-content {
    padding-bottom: 18px;
}

.filter-inner-search {
    width: 100%;
    height: 42px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    color: #111827;
    background: #ffffff;
    font-size: 14px;
    outline: none;
}

.filter-inner-search:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.12);
}

.filter-popular-title {
    margin: 4px 0 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.25;
    cursor: pointer;
}

.filter-checkbox-option input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 0;
    border: 1px solid #cfd4dc;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
}

.filter-checkbox-option input:checked {
    border-color: #0f766e;
    background: #0f766e;
}

.filter-checkbox-option input:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox-option span {
    user-select: none;
}

.catalog-filter-empty {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.catalog-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
}

.catalog-filter-submit {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 4px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.catalog-filter-submit:hover {
    background: #0f766e;
}

.catalog-filter-clear {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #374151;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.catalog-filter-clear:hover {
    background: #f3f4f6;
}

.catalog-products-area {
    min-width: 0;
}

.catalog-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.catalog-products-heading {
    min-width: 0;
}

.catalog-products-header h1 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.catalog-products-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.catalog-products-search {
    flex: 0 1 390px;
    width: 100%;
    margin: 0;
}

.catalog-products-search-control {
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.catalog-products-search-control:focus-within {
    border-color: rgba(20, 184, 166, 0.75);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1),
    0 12px 30px rgba(15, 23, 42, 0.08);
}

.catalog-products-search-control input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.catalog-products-search-control input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.catalog-products-search-control button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 100px;
    padding: 0 18px;
    border: 0;
    background: #14b8a6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease,
    transform 0.2s ease;
}

.catalog-products-search-control button:hover {
    background: #0f9f91;
}

.catalog-products-search-control button:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .catalog-products-header {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .catalog-products-search {
        flex-basis: auto;
        max-width: none;
    }

    .catalog-products-search-control button {
        min-width: 88px;
        padding: 0 14px;
    }
}

.catalog-products-header h1 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.catalog-products-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.catalog-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.catalog-product-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.catalog-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
}

.catalog-product-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.catalog-product-image-box {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
    background: radial-gradient(
      circle at top left,
      rgba(15, 118, 110, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.catalog-product-image-box img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transition: transform 0.22s ease;
}

.catalog-product-card:hover .catalog-product-image-box img {
    transform: scale(1.015);
}

.catalog-product-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    max-width: 135px;
    padding: 6px 10px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 999px;
    background: rgba(236, 253, 245, 0.96);
    color: #0f766e;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-product-placeholder {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 92px;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.catalog-product-placeholder span {
    color: #0f766e;
    font-size: 38px;
    font-weight: 900;
}

.catalog-product-content {
    flex: 1;
    padding: 20px 20px 14px;
    text-align: center;
}

.catalog-product-brand {
    margin-bottom: 7px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-product-title {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.catalog-product-title:hover {
    color: #0f766e;
}

.catalog-product-model {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.catalog-product-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 20px;
}

.catalog-product-detail-btn {
    flex: 1;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.catalog-product-detail-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.catalog-add-cart-form {
    flex: 1;
    margin: 0;
}

.catalog-add-cart-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease,
    transform 0.2s ease;
}

.catalog-add-cart-btn:hover {
    background: #0f766e;
    transform: translateY(-1px);
}

.catalog-empty-state {
    padding: 56px 24px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    text-align: center;
}

.catalog-empty-state h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.catalog-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
}

@media (max-width: 1050px) {
    .catalog-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .products-catalog-shell {
        width: min(100% - 32px, 1180px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .catalog-filter-sidebar {
        position: static;
        min-height: auto;
        padding-right: 0;
        padding-bottom: 24px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 520px) {
    .catalog-products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-product-image-box {
        height: 190px;
    }

    .catalog-product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-product-detail-btn,
    .catalog-add-cart-btn {
        width: 100%;
    }
}

.cart-page-section {
    padding: 54px 0 88px;
    background: #ffffff;
}

.cart-page-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

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

.cart-page-header h1 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.cart-continue-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.cart-continue-link:hover {
    color: var(--color-primary);
    border-color: rgba(30, 58, 138, 0.28);
    transform: translateY(-1px);
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.cart-items-area {
    min-width: 0;
}

.cart-items-list {
    display: grid;
    gap: 16px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    min-height: 156px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.045);
    transition: border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cart-item-card:hover {
    border-color: rgba(20, 184, 166, 0.32);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.075);
    transform: translateY(-2px);
}

.cart-item-image-link {
    display: block;
    text-decoration: none;
}

.cart-item-image-box {
    width: 132px;
    height: 120px;
    padding: 14px;
    border-radius: 16px;
    background: #f3f6f9;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image-box img {
    max-width: 100%;
    max-height: 92px;
    object-fit: contain;
    display: block;
}

.cart-item-placeholder {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-placeholder span {
    color: var(--color-accent);
    font-size: 1.8rem;
    font-weight: 900;
}

.cart-item-content {
    min-width: 0;
}

.cart-item-category {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 900;
}

.cart-item-title {
    display: block;
    margin-bottom: 7px;
    color: var(--color-dark);
    font-size: 1.1rem;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.cart-item-title:hover {
    color: var(--color-primary);
}

.cart-item-model {
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-qty-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-dark);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background: #f8fafc;
    border-color: rgba(30, 58, 138, 0.28);
    color: var(--color-primary);
}

.cart-qty-value {
    min-width: 46px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 900;
}

.cart-remove-form {
    margin: 0;
}

.cart-remove-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff7f7;
    color: #dc2626;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-remove-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.cart-summary-area {
    min-width: 0;
}

.cart-summary-card {
    position: sticky;
    top: 96px;
    padding: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.cart-summary-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cart-summary-card h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.55rem;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.cart-summary-divider {
    height: 1px;
    margin: 24px 0 4px;
    background: var(--color-border);
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--color-border);
}

.cart-summary-row span {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-summary-row strong {
    color: #0f766e;
    font-size: 1rem;
    font-weight: 900;
}

.cart-summary-note {
    margin: 22px 0 24px;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 500;
}

.cart-summary-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
    transition: all 0.2s ease;
}

.cart-summary-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
}

.cart-empty-card {
    padding: 64px 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.cart-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.cart-empty-card h2 {
    margin: 0 0 12px;
    color: var(--color-dark);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cart-empty-card p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
}

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

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-section {
        padding: 46px 0 76px;
    }

    .cart-page-shell {
        width: min(100% - 32px, 1120px);
    }

    .cart-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-item-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 16px;
    }

    .cart-item-image-box {
        width: 110px;
        height: 106px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 8px;
    }
}

@media (max-width: 520px) {
    .cart-item-card {
        grid-template-columns: 1fr;
    }

    .cart-item-image-box {
        width: 100%;
        height: 170px;
    }

    .cart-item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-qty-form {
        justify-content: center;
    }

    .cart-remove-btn {
        width: 100%;
    }
}

.flash-message-wrapper {
    width: min(1180px, calc(100% - 48px));
    margin: 22px auto 0;
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 100;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    color: var(--color-dark);
    font-size: 0.94rem;
    font-weight: 700;
}

.flash-success {
    border-color: rgba(20, 184, 166, 0.28);
    background: #f0fdfa;
    color: #0f766e;
}

.flash-error,
.flash-danger {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b91c1c;
}

.flash-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.flash-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.flash-close-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: currentColor;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.flash-close-btn:hover {
    background: rgba(15, 23, 42, 0.1);
}

@media (max-width: 768px) {
    .flash-message-wrapper {
        width: min(100% - 32px, 1180px);
    }
}

.product-detail-section {
    padding: 58px 0 96px;
    background: radial-gradient(
      circle at 10% 10%,
      rgba(20, 184, 166, 0.06),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.product-detail-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}

.product-detail-main-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.075);
}

.product-detail-image-area {
    position: relative;
    min-height: 420px;
    padding: 34px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.1),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image-area img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    display: block;
}

.product-detail-category-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    max-width: 190px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-detail-placeholder {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-placeholder span {
    color: var(--color-accent);
    font-size: 3.4rem;
    font-weight: 900;
}

.product-detail-content {
    padding: 34px;
}

.product-detail-brand {
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-detail-model {
    margin-bottom: 10px;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 700;
}

.product-detail-content h1 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(2rem, 4vw, 2.3rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.product-detail-divider {
    width: 100%;
    height: 1px;
    margin: 26px 0;
    background: var(--color-border);
}

.product-detail-side {
    min-width: 0;
}

.product-add-card {
    position: sticky;
    top: 96px;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.product-add-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.product-add-card h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.45rem;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.product-add-card p {
    margin: 12px 0 22px;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.product-add-form {
    display: grid;
    gap: 18px;
}

.product-quantity-box {
    display: grid;
    gap: 10px;
}

.product-quantity-box label {
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 900;
}

.product-quantity-control {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 8px;
}

.product-quantity-btn {
    height: 46px;
    border-radius: 13px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-dark);
    font-size: 1.15rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-quantity-btn:hover {
    background: #f8fafc;
    border-color: rgba(30, 58, 138, 0.28);
    color: var(--color-primary);
}

.product-quantity-control input {
    width: 100%;
    height: 46px;
    border-radius: 13px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    outline: none;
}

.product-quantity-control input:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.product-add-submit {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
    transition: all 0.2s ease;
}

.product-add-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
}

.product-add-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-add-note i {
    margin-top: 3px;
    color: #0f766e;
}

.product-back-link {
    margin-top: 14px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.2s ease;
}

.product-back-link:hover {
    color: var(--color-primary);
    background: #f8fafc;
    border-color: rgba(30, 58, 138, 0.28);
}

@media (max-width: 1050px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-add-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 46px 0 76px;
    }

    .product-detail-shell {
        width: min(100% - 32px, 1120px);
    }

    .product-detail-image-area {
        min-height: 310px;
        padding: 24px;
    }

    .product-detail-image-area img {
        max-height: 250px;
    }

    .product-detail-content {
        padding: 26px;
    }

    .product-add-card {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .product-detail-image-area {
        min-height: 260px;
    }

    .product-detail-category-badge {
        top: 14px;
        right: 14px;
        max-width: 150px;
    }

    .product-detail-content h1 {
        font-size: 1.9rem;
    }

    .product-quantity-control {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }
}

.quote-page-section {
    padding: 58px 0 96px;
    background: radial-gradient(
      circle at 10% 10%,
      rgba(20, 184, 166, 0.06),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.quote-page-shell {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.quote-page-header {
    max-width: 780px;
    margin-bottom: 34px;
}

.quote-page-header h1 {
    margin: 0 0 14px;
    color: var(--color-dark);
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.quote-page-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.quote-main-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.075);
    overflow: hidden;
}

.quote-form-section,
.quote-products-section,
.quote-consent-section {
    padding: 30px;
}

.quote-form-section,
.quote-products-section {
    border-bottom: 1px solid var(--color-border);
}

.quote-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.quote-section-title > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 900;
    flex-shrink: 0;
}

.quote-section-title h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.quote-section-title p {
    margin: 6px 0 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.quote-form-group {
    display: grid;
    gap: 8px;
}

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

.quote-form-group label {
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 900;
}

.quote-form-group label span {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.quote-form-group input,
.quote-form-group textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--color-dark);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.quote-form-group input {
    height: 48px;
    padding: 0 14px;
}

.quote-form-group textarea {
    min-height: 130px;
    resize: vertical;
    padding: 14px;
    line-height: 1.65;
}

.quote-form-group input:focus,
.quote-form-group textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.quote-products-scroll {
    max-height: 430px;
    overflow-y: auto;
    display: grid;
    gap: 14px;
    padding-right: 8px;
}

.quote-products-scroll::-webkit-scrollbar {
    width: 8px;
}

.quote-products-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.quote-products-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.quote-products-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.quote-product-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.quote-product-image-link {
    display: block;
}

.quote-product-image-box {
    width: 118px;
    height: 104px;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-product-image-box img {
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
    display: block;
}

.quote-product-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-product-placeholder span {
    color: var(--color-accent);
    font-size: 1.65rem;
    font-weight: 900;
}

.quote-product-content {
    min-width: 0;
}

.quote-product-category {
    margin-bottom: 7px;
    color: #0f766e;
    font-size: 0.74rem;
    line-height: 1.2;
    font-weight: 900;
}

.quote-product-title {
    display: block;
    margin-bottom: 6px;
    color: var(--color-dark);
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.quote-product-title:hover {
    color: var(--color-primary);
}

.quote-product-model {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    font-weight: 600;
}

.quote-product-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-qty-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quote-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-dark);
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-qty-btn:hover {
    background: #ffffff;
    border-color: rgba(30, 58, 138, 0.28);
    color: var(--color-primary);
}

.quote-qty-value {
    min-width: 42px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quote-remove-form {
    margin: 0;
}

.quote-remove-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff7f7;
    color: #dc2626;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quote-remove-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.quote-consent-list {
    display: grid;
    gap: 12px;
}

.quote-consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.quote-consent-item input {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: #0f766e;
    flex-shrink: 0;
}

.quote-consent-item span {
    color: var(--color-text);
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 700;
}

.quote-submit-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
}

.quote-submit-summary {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 10px 14px;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--color-border);
}

.quote-submit-summary span {
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.quote-submit-summary strong {
    color: #0f766e;
    font-size: 1rem;
    font-weight: 900;
}

.quote-submit-btn {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
    transition: all 0.2s ease;
}

.quote-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
}

.quote-empty-card {
    padding: 64px 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.quote-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    border-radius: 24px;
    background: rgba(20, 184, 166, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.quote-empty-card h2 {
    margin: 0 0 12px;
    color: var(--color-dark);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.quote-empty-card p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
}

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

    .quote-submit-area {
        grid-template-columns: 1fr;
    }

    .quote-submit-summary {
        grid-template-columns: auto 1fr;
    }
}

@media (max-width: 768px) {
    .quote-page-section {
        padding: 46px 0 76px;
    }

    .quote-page-shell {
        width: min(100% - 32px, 1080px);
    }

    .quote-form-section,
    .quote-products-section,
    .quote-consent-section {
        padding: 22px;
    }

    .quote-product-row {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
    }

    .quote-product-image-box {
        width: 96px;
        height: 90px;
    }

    .quote-product-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 6px;
    }

    .quote-products-scroll {
        max-height: 470px;
    }
}

@media (max-width: 520px) {
    .quote-section-title {
        flex-direction: column;
    }

    .quote-product-row {
        grid-template-columns: 1fr;
    }

    .quote-product-image-box {
        width: 100%;
        height: 170px;
    }

    .quote-product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-qty-form {
        justify-content: center;
    }

    .quote-remove-btn {
        width: 100%;
    }

    .quote-submit-summary {
        grid-template-columns: 1fr auto;
    }
}

.quote-consent-simple {
    padding: 24px 30px 30px;
}

.quote-simple-consents {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.quote-simple-consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.quote-simple-consent-item input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: #0f766e;
    flex-shrink: 0;
}

.quote-simple-consent-item span {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    font-weight: 600;
}

.quote-final-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.quote-simple-submit-btn {
    width: auto;
    min-width: 260px;
    min-height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quote-simple-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
}

.quote-final-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(210px, 1fr));
    gap: 16px;
    flex: 1;
}

.quote-final-summary-item {
    min-height: 54px;
    padding: 12px 18px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.quote-final-summary-item span {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.quote-final-summary-item strong {
    color: #0f766e;
    font-size: 1.02rem;
    font-weight: 900;
}

@media (max-width: 900px) {
    .quote-final-row {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-simple-submit-btn {
        width: 100%;
        min-width: 0;
    }

    .quote-final-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

@media (max-width: 520px) {
    .quote-final-summary {
        grid-template-columns: 1fr;
    }
}

.flash-message-wrapper {
    width: min(1180px, calc(100% - 48px));
    margin: 20px auto 0;
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 9999;
}

.flash-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    color: var(--color-dark);
    font-size: 0.94rem;
    font-weight: 700;
}

.flash-success {
    border-color: rgba(20, 184, 166, 0.28);
    background: #f0fdfa;
    color: #0f766e;
}

.flash-error,
.flash-danger {
    border-color: #fecaca;
    background: #fff5f5;
    color: #b91c1c;
}

.flash-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.flash-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.flash-close-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: currentColor;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.flash-close-btn:hover {
    background: rgba(15, 23, 42, 0.1);
}

.reference-detail-section {
    padding: 72px 0 96px;
    background: radial-gradient(
      circle at 12% 10%,
      rgba(20, 184, 166, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.reference-detail-shell {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
}

.reference-detail-hero {
    display: grid;
    gap: 28px;
    justify-items: center;
    text-align: center;
    margin-bottom: 72px;
}

.reference-detail-image-card {
    width: min(100%, 520px);
    min-height: 300px;
    padding: 28px;
    border-radius: 30px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.1),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--color-border);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-detail-main-image {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 20px;
}

.reference-detail-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-detail-placeholder span {
    color: var(--color-accent);
    font-size: 3rem;
    font-weight: 900;
}

.reference-detail-heading h1 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.reference-work-section {
    display: grid;
    gap: 34px;
}

.reference-work-header {
    max-width: 760px;
}

.reference-work-header h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.reference-work-header p {
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.reference-work-flow {
    display: grid;
    gap: 24px;
}

.reference-work-block {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

.reference-work-heading-block {
    padding: 28px 30px;
    background: radial-gradient(
      circle at 10% 20%,
      rgba(20, 184, 166, 0.1),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.reference-work-heading-block h3 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.reference-work-text-block {
    padding: 28px 30px;
}

.reference-work-text-block p {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.85;
    white-space: pre-line;
}

.reference-work-image-block {
    overflow: hidden;
    margin: 0;
}

.reference-work-image-block img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    background: #f8fafc;
}

.reference-work-image-block figcaption {
    padding: 16px 20px;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
}

.reference-work-quote-block {
    margin: 0;
    padding: 30px;
    background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.09),
    rgba(30, 58, 138, 0.06)
  );
    border-left: 5px solid var(--color-accent);
}

.reference-work-quote-block p {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 700;
    white-space: pre-line;
}

.reference-work-empty {
    padding: 48px 28px;
    text-align: center;
    border-radius: 24px;
    background: #ffffff;
    border: 1px dashed var(--color-border);
}

.reference-work-empty h3 {
    margin: 0 0 10px;
    color: var(--color-dark);
    font-size: 1.45rem;
    font-weight: 900;
}

.reference-work-empty p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
}

@media (max-width: 768px) {
    .reference-detail-section {
        padding: 56px 0 78px;
    }

    .reference-detail-shell {
        width: min(100% - 32px, 1040px);
    }

    .reference-detail-hero {
        margin-bottom: 54px;
    }

    .reference-detail-image-card {
        min-height: 240px;
        padding: 22px;
        border-radius: 24px;
    }

    .reference-detail-main-image {
        max-height: 220px;
    }

    .reference-work-heading-block,
    .reference-work-text-block,
    .reference-work-quote-block {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .reference-detail-heading h1 {
        font-size: 2rem;
    }

    .reference-work-header h2 {
        font-size: 1.65rem;
    }
}

.partner-detail-section {
    padding: 72px 0 96px;
    background: radial-gradient(
      circle at 12% 10%,
      rgba(20, 184, 166, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.partner-detail-shell {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
}

.partner-detail-hero {
    display: grid;
    gap: 28px;
    justify-items: center;
    text-align: center;
    margin-bottom: 72px;
}

.partner-detail-image-card {
    width: min(100%, 520px);
    min-height: 300px;
    padding: 28px;
    border-radius: 30px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.1),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--color-border);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-detail-main-image {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 20px;
}

.partner-detail-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-detail-placeholder span {
    color: var(--color-accent);
    font-size: 3rem;
    font-weight: 900;
}

.partner-detail-heading h1 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.partner-work-section {
    display: grid;
    gap: 34px;
}

.partner-work-header {
    max-width: 760px;
}

.partner-work-header h2 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.partner-work-header p {
    margin: 16px 0 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.partner-work-flow {
    display: grid;
    gap: 24px;
}

.partner-work-block {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.055);
}

.partner-work-heading-block {
    padding: 28px 30px;
    background: radial-gradient(
      circle at 10% 20%,
      rgba(20, 184, 166, 0.1),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.partner-work-heading-block h3 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.partner-work-text-block {
    padding: 28px 30px;
}

.partner-work-text-block p {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.85;
    white-space: pre-line;
}

.partner-work-image-block {
    overflow: hidden;
    margin: 0;
}

.partner-work-image-block img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    background: #f8fafc;
}

.partner-work-image-block figcaption {
    padding: 16px 20px;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
}

.partner-work-quote-block {
    margin: 0;
    padding: 30px;
    background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.09),
    rgba(30, 58, 138, 0.06)
  );
    border-left: 5px solid var(--color-accent);
}

.partner-work-quote-block p {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 700;
    white-space: pre-line;
}

.partner-work-empty {
    padding: 48px 28px;
    text-align: center;
    border-radius: 24px;
    background: #ffffff;
    border: 1px dashed var(--color-border);
}

.partner-work-empty h3 {
    margin: 0 0 10px;
    color: var(--color-dark);
    font-size: 1.45rem;
    font-weight: 900;
}

.partner-work-empty p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
}

@media (max-width: 768px) {
    .partner-detail-section {
        padding: 56px 0 78px;
    }

    .partner-detail-shell {
        width: min(100% - 32px, 1040px);
    }

    .partner-detail-hero {
        margin-bottom: 54px;
    }

    .partner-detail-image-card {
        min-height: 240px;
        padding: 22px;
        border-radius: 24px;
    }

    .partner-detail-main-image {
        max-height: 220px;
    }

    .partner-work-heading-block,
    .partner-work-text-block,
    .partner-work-quote-block {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .partner-detail-heading h1 {
        font-size: 2rem;
    }

    .partner-work-header h2 {
        font-size: 1.65rem;
    }
}

.quote-track-section {
    padding: 90px 20px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.08),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(30, 58, 138, 0.08),
      transparent 38%
    ),
    var(--color-bg);
}

.quote-track-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.quote-track-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.quote-track-header h1 {
    margin: 10px 0 12px;
    color: var(--color-dark);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.quote-track-header p {
    max-width: 680px;
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.quote-track-status {
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-card);
}

.quote-track-status-pending,
.quote-track-status-in_review {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.quote-track-status-waiting_customer {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.quote-track-status-quoted,
.quote-track-status-accepted,
.quote-track-status-completed,
.quote-track-status-complated {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.quote-track-status-rejected,
.quote-track-status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.quote-track-message {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.quote-track-message-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.quote-track-message h2 {
    margin: 0 0 8px;
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 900;
}

.quote-track-message p {
    margin: 0;
    color: var(--color-text);
}

.quote-track-message-info .quote-track-message-icon {
    background: #eff6ff;
    color: #1d4ed8;
}

.quote-track-message-warning .quote-track-message-icon {
    background: #fffbeb;
    color: #b45309;
}

.quote-track-message-success .quote-track-message-icon {
    background: #ecfdf5;
    color: #047857;
}

.quote-track-message-danger .quote-track-message-icon {
    background: #fef2f2;
    color: #b91c1c;
}

.quote-track-mail-subject {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid #fde68a;
}

.quote-track-mail-subject span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quote-track-mail-subject strong {
    display: block;
    color: var(--color-dark);
    font-size: 0.95rem;
    line-height: 1.45;
}

.quote-track-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.quote-track-main {
    display: grid;
    gap: 24px;
}

.quote-track-card,
.quote-track-action-card,
.quote-track-help-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.quote-track-card {
    padding: 28px;
}

.quote-track-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}

.quote-track-card-header > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--color-primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.quote-track-card-header h2 {
    margin: 0 0 4px;
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 900;
}

.quote-track-card-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.quote-track-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quote-track-detail-item {
    padding: 16px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--color-border);
}

.quote-track-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--color-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-track-detail-item strong {
    display: block;
    color: var(--color-dark);
    font-size: 0.98rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.quote-track-customer-note {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid var(--color-border);
}

.quote-track-customer-note span {
    display: block;
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-track-customer-note p {
    margin: 0;
    color: var(--color-text);
}

.quote-track-products {
    display: grid;
    gap: 16px;
}

.quote-track-product-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.quote-track-product-image {
    width: 96px;
    height: 76px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid var(--color-border);
}

.quote-track-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-track-product-placeholder {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 900;
}

.quote-track-product-category {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quote-track-product-content h3 {
    margin: 0 0 4px;
    color: var(--color-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.quote-track-product-content p {
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.quote-track-product-meta {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.quote-track-product-qty,
.quote-track-product-price {
    min-width: 96px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    text-align: center;
}

.quote-track-product-qty span,
.quote-track-product-price span {
    display: block;
    margin-bottom: 4px;
    color: var(--color-muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-track-product-qty strong,
.quote-track-product-price strong {
    display: block;
    color: var(--color-dark);
    font-size: 0.95rem;
    font-weight: 900;
    white-space: nowrap;
}

.quote-track-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-primary)
  );
    color: #ffffff;
}

.quote-track-total-box span {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.quote-track-total-box strong {
    font-size: 1.6rem;
    font-weight: 900;
}

.quote-track-empty {
    padding: 22px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px dashed var(--color-border);
    color: var(--color-muted);
    text-align: center;
    font-weight: 700;
}

.quote-track-side {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
    display: grid;
    gap: 18px;
}

.quote-track-action-card,
.quote-track-help-card {
    padding: 24px;
}

.quote-track-action-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.quote-track-action-card h2,
.quote-track-help-card h2 {
    margin: 0 0 10px;
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 900;
}

.quote-track-action-card p,
.quote-track-help-card p {
    margin: 0 0 18px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.quote-track-action-stack {
    display: grid;
    gap: 10px;
}

.quote-track-action-form {
    margin: 0;
}

.quote-track-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quote-track-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.quote-track-btn-success {
    background: #047857;
    color: #ffffff;
}

.quote-track-btn-danger {
    background: #b91c1c;
    color: #ffffff;
}

.quote-track-btn-outline-danger {
    background: #ffffff;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.quote-track-cancel-area {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.quote-track-help-list {
    display: grid;
    gap: 10px;
}

.quote-track-help-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary-dark);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.quote-track-help-list i {
    color: var(--color-accent);
}

@media (max-width: 992px) {
    .quote-track-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .quote-track-layout {
        grid-template-columns: 1fr;
    }

    .quote-track-side {
        position: static;
    }

    .quote-track-product-row {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .quote-track-product-meta {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }

    .quote-track-product-qty,
    .quote-track-product-price {
        flex: 1 1 130px;
    }
}

@media (max-width: 640px) {
    .quote-track-section {
        padding: 60px 14px;
    }

    .quote-track-card,
    .quote-track-action-card,
    .quote-track-help-card,
    .quote-track-message {
        padding: 20px;
        border-radius: var(--radius-md);
    }

    .quote-track-message {
        flex-direction: column;
    }

    .quote-track-detail-grid {
        grid-template-columns: 1fr;
    }

    .quote-track-product-row {
        grid-template-columns: 1fr;
    }

    .quote-track-product-image {
        width: 100%;
        height: 180px;
    }

    .quote-track-total-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-navbar-height: 72px;
    }

    body.mobile-navbar-open {
        overflow: hidden;
        touch-action: none;
    }

    .site-navbar {
        min-height: var(--mobile-navbar-height);
    }

    .site-navbar .navbar-container {
        min-height: var(--mobile-navbar-height);
    }

    .site-navbar .navbar-collapse {
        position: fixed;
        top: var(--mobile-navbar-height);
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100dvh - var(--mobile-navbar-height));
        max-height: calc(100dvh - var(--mobile-navbar-height));
        margin: 0;
        padding: 16px max(16px, env(safe-area-inset-right))
          calc(30px + env(safe-area-inset-bottom))
          max(16px, env(safe-area-inset-left));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid var(--color-border);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        z-index: 1029;
    }

    .site-navbar .navbar-collapse.collapsing {
        height: calc(100dvh - var(--mobile-navbar-height)) !important;
        transition: none !important;
    }

    .site-navbar .navbar-collapse:not(.show):not(.collapsing) {
        display: none;
    }

    .site-navbar .navbar-collapse.show {
        display: block;
    }

    .site-navbar .navbar-nav {
        width: 100%;
        padding: 0 0 18px;
    }

    .site-navbar .nav-item {
        width: 100%;
    }

    .site-navbar .nav-link {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 0;
    }

    .kb-services-trigger,
    .kb-corporate-trigger {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
    }

    .kb-services-main-link,
    .kb-corporate-main-link {
        flex: 1 1 auto;
        min-width: 0;
    }

    .kb-services-arrow,
    .kb-corporate-arrow,
    .kb-corporate-submenu-arrow {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--color-text);
        font-size: 0.72rem;
        cursor: pointer;
        transition: color 0.2s ease,
          background 0.2s ease,
          transform 0.2s ease;
    }

    .kb-services-arrow:hover,
    .kb-corporate-arrow:hover,
    .kb-corporate-submenu-arrow:hover {
        color: var(--color-primary);
        background: rgba(30, 58, 138, 0.07);
    }

    .kb-services-menu:hover .kb-services-arrow,
    .kb-corporate-menu:hover .kb-corporate-arrow {
        transform: none;
    }

    .kb-services-menu.is-open > .kb-services-trigger .kb-services-arrow,
    .kb-corporate-menu.is-open > .kb-corporate-trigger .kb-corporate-arrow,
    .kb-corporate-submenu.is-open
        > .kb-corporate-submenu-trigger
        .kb-corporate-submenu-arrow {
        color: var(--color-primary);
        transform: rotate(180deg);
    }

    .site-navbar .kb-services-panel,
    .site-navbar .kb-corporate-panel {
        position: static;
        display: none !important;
        width: 100%;
        max-width: 100%;
        margin: 4px 0 12px;
        padding: 8px;
        border: 1px solid var(--color-border);
        border-radius: 16px;
        background: #f8fafc;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
    }

    .site-navbar .kb-services-menu.is-open > .kb-services-panel,
    .site-navbar .kb-corporate-menu.is-open > .kb-corporate-panel {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-services-panel-item,
    .kb-corporate-panel-item {
        width: 100%;
    }

    .kb-corporate-submenu {
        display: block;
        padding: 0;
    }

    .kb-corporate-submenu-trigger {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 52px;
    }

    .kb-corporate-submenu-main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-navbar .kb-corporate-subpanel {
        position: static;
        display: none !important;
        width: 100%;
        max-width: 100%;
        margin: 5px 0 5px;
        padding: 6px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
    }

    .site-navbar .kb-corporate-submenu.is-open > .kb-corporate-subpanel {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .kb-corporate-submenu::after {
        display: none;
    }

    .kb-corporate-subpanel a {
        width: 100%;
        min-width: 0;
        padding: 10px 9px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-navbar .navbar-collapse {
        scrollbar-width: thin;
        scrollbar-color: rgba(30, 58, 138, 0.28) transparent;
    }

    .site-navbar .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }

    .site-navbar .navbar-collapse::-webkit-scrollbar-track {
        background: transparent;
    }

    .site-navbar .navbar-collapse::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(30, 58, 138, 0.28);
    }
}

@media (min-width: 992px) {
    .kb-services-arrow,
    .kb-corporate-arrow,
    .kb-corporate-submenu-arrow {
        -webkit-appearance: none;
        appearance: none;
        padding: 0;
        margin: 0;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        color: var(--color-text);
        cursor: default;
        pointer-events: none;
    }

    .kb-services-arrow,
    .kb-corporate-arrow {
        flex: 0 0 22px;
        width: 22px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        transition: color 0.2s ease,
          transform 0.2s ease;
    }

    .kb-services-menu:hover > .kb-services-trigger .kb-services-arrow,
    .kb-corporate-menu:hover > .kb-corporate-trigger .kb-corporate-arrow {
        color: var(--color-primary);
        transform: rotate(180deg);
    }

    .kb-corporate-submenu-trigger {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .kb-corporate-submenu-main {
        flex: 1 1 auto;
        min-width: 0;
    }

    .kb-corporate-submenu-arrow {
        flex: 0 0 22px;
        width: 22px;
        height: 34px;
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.68rem;
        color: var(--color-muted);
        transform: rotate(-90deg);
        transition: color 0.2s ease,
          transform 0.2s ease;
    }

    .kb-corporate-submenu:hover
        > .kb-corporate-submenu-trigger
        .kb-corporate-submenu-arrow {
        color: var(--color-primary);
        transform: translateX(2px) rotate(-90deg);
    }

    .kb-services-menu.is-open > .kb-services-panel,
    .kb-corporate-menu.is-open > .kb-corporate-panel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .kb-corporate-submenu.is-open > .kb-corporate-subpanel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .kb-services-menu:hover > .kb-services-panel,
    .kb-services-menu:focus-within > .kb-services-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .kb-corporate-menu:hover > .kb-corporate-panel,
    .kb-corporate-menu:focus-within > .kb-corporate-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .kb-corporate-submenu:hover > .kb-corporate-subpanel,
    .kb-corporate-submenu:focus-within > .kb-corporate-subpanel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
}

html {
    overflow-y: auto;
    scrollbar-gutter: stable;
    scrollbar-width: auto;
    scrollbar-color: #1e3a8a #eef2f7;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: #eef2f7;
}

html::-webkit-scrollbar-thumb {
    min-height: 60px;
    border: 3px solid #eef2f7;
    border-radius: 999px;
    background: #1e3a8a !important;
}

html::-webkit-scrollbar-thumb:hover {
    background: #142b68 !important;
}

html::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.product-detail-description {
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.product-detail-description > *:first-child {
    margin-top: 0;
}

.product-detail-description > *:last-child {
    margin-bottom: 0;
}

.product-detail-description h2 {
    margin: 30px 0 12px;
    color: var(--color-dark);
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.product-detail-description h3 {
    margin: 24px 0 10px;
    color: var(--color-dark);
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 900;
}

.product-detail-description p {
    margin: 0 0 16px;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.product-detail-description ul,
.product-detail-description ol {
    margin: 16px 0 18px;
    padding-left: 24px;
    color: var(--color-muted);
}

.product-detail-description li {
    margin-bottom: 8px;
    padding-left: 4px;
    line-height: 1.7;
}

.product-detail-description strong {
    color: var(--color-dark);
    font-weight: 900;
}

.product-detail-description em {
    font-style: italic;
}

@media (max-width: 768px) {
    .product-detail-description h2 {
        margin-top: 24px;
        font-size: 1.4rem;
    }

    .product-detail-description h3 {
        margin-top: 20px;
        font-size: 1.12rem;
    }
}

.work-story-flow {
    display: grid;
    gap: 32px;
}

.work-story-section-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.075);
}

.work-story-section-heading {
    padding: 28px 32px;
    border-bottom: 1px solid var(--color-border);
    background: radial-gradient(
      circle at 8% 20%,
      rgba(20, 184, 166, 0.14),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.work-story-section-heading h3 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.work-story-section-content {
    display: grid;
    gap: 22px;
    padding: 26px;
    background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.72) 0%,
    #ffffff 100%
  );
}

.work-story-section-card.is-untitled .work-story-section-content {
    background: #ffffff;
}

.work-story-content-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.work-story-content-heading {
    padding: 22px 24px 0;
}

.work-story-content-heading h4 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.16rem, 2vw, 1.42rem);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.work-story-content-body {
    padding: 18px 24px 24px;
}

.work-story-content-card.is-untitled .work-story-content-body {
    padding-top: 24px;
}

.work-story-content-body > * {
    margin-top: 0;
    margin-bottom: 0;
}

.work-story-content-body > * + * {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #edf2f7;
}

.work-story-paragraph {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.85;
    white-space: pre-line;
}

.work-story-figure {
    margin: 0;
}

.work-story-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.07),
      transparent 34%
    ),
    #f8fafc;
}

.work-story-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    object-position: center;
    border-radius: 13px;
}

.work-story-figure figcaption {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.work-story-quote-card {
    position: relative;
    margin: 0;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.22);
    border-left: 5px solid var(--color-accent);
    border-radius: 22px;
    background: radial-gradient(
      circle at 10% 10%,
      rgba(20, 184, 166, 0.14),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(20, 184, 166, 0.07), rgba(30, 58, 138, 0.045));
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.work-story-quote-text {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.06rem, 2vw, 1.22rem);
    line-height: 1.85;
    font-weight: 650;
    font-style: italic;
    white-space: pre-line;
}

.work-story-quote-owner {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.work-story-quote-owner cite {
    color: var(--color-accent-dark, #0f766e);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 850;
    font-style: normal;
}

.work-story-quote-owner cite::before {
    content: "— ";
}

@media (max-width: 768px) {
    .work-story-flow {
        gap: 24px;
    }

    .work-story-section-card {
        border-radius: 24px;
    }

    .work-story-section-heading {
        padding: 24px;
    }

    .work-story-section-content {
        gap: 18px;
        padding: 18px;
    }

    .work-story-content-card,
    .work-story-quote-card {
        border-radius: 19px;
    }

    .work-story-content-heading {
        padding: 20px 20px 0;
    }

    .work-story-content-body {
        padding: 16px 20px 20px;
    }

    .work-story-content-card.is-untitled .work-story-content-body {
        padding-top: 20px;
    }

    .work-story-quote-card {
        padding: 24px;
    }

    .work-story-image-frame {
        padding: 8px;
        border-radius: 15px;
    }

    .work-story-image-frame img {
        border-radius: 11px;
    }
}

@media (max-width: 480px) {
    .work-story-section-content {
        padding: 14px;
    }

    .work-story-section-heading {
        padding: 22px 20px;
    }

    .work-story-content-heading {
        padding: 18px 18px 0;
    }

    .work-story-content-body {
        padding: 15px 18px 18px;
    }

    .work-story-content-card.is-untitled .work-story-content-body {
        padding-top: 18px;
    }

    .work-story-quote-card {
        padding: 22px 20px;
    }
}

.work-story-section-content {
    display: block;
    padding: 32px;
    background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.55) 0%,
    #ffffff 100%
  );
}

.work-story-content-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.work-story-quote-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    margin: 30px 0 0;
    padding: 38px 88px 30px;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    border-radius: 22px;
    background: radial-gradient(
      circle at top left,
      rgba(20, 184, 166, 0.12),
      transparent 36%
    ),
    linear-gradient(135deg, #f8fafc 0%, #eef7f7 100%);
    box-shadow: none;
}

.work-story-quote-card::before {
    content: "“";
    position: absolute;
    top: 18px;
    left: 26px;
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.8rem;
    line-height: 1;
    font-weight: 900;
    opacity: 0.82;
}

.work-story-quote-card::after {
    content: "”";
    position: absolute;
    top: 68px;
    right: 26px;
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.8rem;
    line-height: 1;
    font-weight: 900;
    opacity: 0.82;
}

.work-story-quote-text {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #172033;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.75;
    font-weight: 650;
    font-style: italic;
    text-align: center;
    white-space: pre-line;
}

.work-story-quote-owner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 22px;
}

.work-story-quote-owner cite {
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 750;
    font-style: normal;
}

.work-story-quote-owner cite::before {
    content: "— ";
}

.work-story-content-card + .work-story-quote-card,
.work-story-quote-card + .work-story-content-card {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .work-story-quote-card {
        min-height: 170px;
        padding: 36px 64px 26px;
        border-radius: 18px;
    }

    .work-story-quote-card::before {
        top: 18px;
        left: 18px;
        font-size: 4.7rem;
    }

    .work-story-quote-card::after {
        top: 64px;
        right: 18px;
        font-size: 4.7rem;
    }

    .work-story-quote-owner {
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .work-story-quote-card {
        min-height: 155px;
        padding: 34px 46px 24px;
    }

    .work-story-quote-card::before {
        top: 14px;
        left: 12px;
        font-size: 3.9rem;
    }

    .work-story-quote-card::after {
        top: 58px;
        right: 12px;
        font-size: 3.9rem;
    }

    .work-story-quote-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .work-story-quote-owner cite {
        font-size: 0.9rem;
    }
}

.work-story-content-heading {
    padding: 0 0 12px;
}

.work-story-content-heading h4 {
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(1.16rem, 2vw, 1.4rem);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.work-story-content-body {
    padding: 0;
}

.work-story-content-card.is-untitled .work-story-content-body {
    padding: 0;
}

.work-story-content-body > * {
    margin-top: 0;
    margin-bottom: 0;
}

.work-story-content-body > * + * {
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
}

.work-story-image-frame {
    padding: 8px;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .work-story-section-content {
        padding: 24px;
    }

    .work-story-content-card + .work-story-content-card {
        margin-top: 24px;
        padding-top: 24px;
    }

    .work-story-content-card + .work-story-quote-card,
    .work-story-quote-card + .work-story-content-card {
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .work-story-section-content {
        padding: 22px 20px;
    }

    .work-story-content-card + .work-story-content-card {
        margin-top: 22px;
        padding-top: 22px;
    }

    .work-story-image-frame {
        padding: 5px;
        border-radius: 13px;
    }
}

.work-story-figure {
    margin: 0;
}

.work-story-image-frame {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.work-story-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    object-position: center;
    border-radius: 11px;
}

.work-story-image-frame figcaption {
    margin: 0;
    padding: 14px 10px 6px;
    border: 0;
    border-top: 1px solid #e2e8f0;
    background: transparent;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    font-style: italic;
}

.work-story-image-frame img + figcaption {
    margin-top: 10px;
}

.work-story-image-frame figcaption::before {
    content: none;
}

@media (max-width: 768px) {
    .work-story-image-frame {
        padding: 8px;
        border-radius: 14px;
    }

    .work-story-image-frame img {
        border-radius: 9px;
    }

    .work-story-image-frame figcaption {
        padding: 12px 8px 4px;
        font-size: 0.88rem;
    }

    .work-story-image-frame img + figcaption {
        margin-top: 8px;
    }
}

.work-story-quote-card {
    min-height: 150px;
    padding: 30px 70px 24px;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
}

.work-story-quote-card::before {
    top: 18px;
    left: 24px;
    font-size: 4.1rem;
    opacity: 0.68;
}

.work-story-quote-card::after {
    top: 55px;
    right: 24px;
    font-size: 4.1rem;
    opacity: 0.68;
}

.work-story-quote-text {
    max-width: 820px;
    font-size: clamp(0.98rem, 1.45vw, 1.13rem);
    line-height: 1.7;
    font-weight: 600;
}

.work-story-quote-owner {
    margin-top: 18px;
}

.work-story-quote-owner cite {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .work-story-quote-card {
        min-height: 140px;
        padding: 28px 54px 22px;
    }

    .work-story-quote-card::before {
        top: 16px;
        left: 17px;
        font-size: 3.5rem;
    }

    .work-story-quote-card::after {
        top: 50px;
        right: 17px;
        font-size: 3.5rem;
    }

    .work-story-quote-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .work-story-quote-card {
        min-height: 130px;
        padding: 26px 40px 20px;
        border-radius: 16px;
    }

    .work-story-quote-card::before {
        top: 14px;
        left: 11px;
        font-size: 3rem;
    }

    .work-story-quote-card::after {
        top: 46px;
        right: 11px;
        font-size: 3rem;
    }

    .work-story-quote-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .work-story-quote-owner {
        margin-top: 15px;
    }

    .work-story-quote-owner cite {
        font-size: 0.86rem;
    }
}
