/* Shared interface foundation. Business pages own their layout stylesheets. */
:root {
    --accent: #a85308;
    --ink: #263c48;
    --line: #d3d9da;
    --soft: #f5f1e9;
}
body {
    font: 14px/1.7 Arial, sans-serif;
    color: var(--ink);
    background: #fbfaf7;
}
[hidden] {
    display: none !important;
}
.container {
    width: min(1170px, calc(100% - 48px));
    margin-inline: auto;
}
.section {
    padding-block: 48px;
}
button, input, select, textarea {
    font: inherit;
}
button, a {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
}
button {
    color: inherit;
}
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    vertical-align: middle;
}
.button, .icon-button, .text-link, .button-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.button {
    padding: 12px 24px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: white;
    border-radius: 3px;
}
.button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.icon-button {
    width: 44px;
    height: 44px;
    justify-content: center;
    background: transparent;
    border: 0;
}
.button-row {
    flex-wrap: wrap;
}
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.topbar-inner, .topbar-tools, .brand-row, .brand, .brand-contact, .nav-inner, .desktop-nav, .nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.topbar-inner, .brand-row, .nav-inner {
    justify-content: space-between;
}
.topbar {
    padding: 8px 0;
    background: var(--soft);
}
.topbar p {
    font-size: 12px;
}
.top-phone {
    display: flex;
    align-items: center;
    gap: 8px;
}
.top-phone .icon {
    width: 16px;
    height: 16px;
}
.brand-row {
    padding-block: 24px;
}
.brand-row > .brand {
    flex: 1 1 360px;
    min-width: 0;
}
.brand-row > .brand img {
    flex-shrink: 0;
}
.brand-contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-left: auto;
    flex: 0 1 660px;
    min-width: 0;
}
.brand-contact + .brand-contact {
    padding-left: 24px;
    border-left: 1px solid var(--line);
}
.brand {
    max-width: 380px;
    gap: 14px;
}
.brand img {
    object-fit: contain;
}
.brand span {
    font-size: 16px;
    font-weight: bold;
    overflow-wrap: anywhere;
}
.brand-contact {
    max-width: 310px;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    gap: 14px;
}
.brand-contact a, .brand-contact strong {
    display: block;
}
.main-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #314650;
    color: white;
}
.nav-inner {
    position: relative;
    min-height: 64px;
}
.nav-actions {
    gap: 8px;
}
.desktop-nav a {
    padding: 18px 8px;
}
.desktop-nav [aria-current] {
    color: #ffb556;
}
.mobile-brand, .menu-toggle {
    display: none;
}
.global-search {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 20px;
    width: min(620px, 100%);
    display: flex;
    gap: 12px;
    background: white;
    color: var(--ink);
    box-shadow: 0 8px 28px #18364425;
}
.global-search input {
    min-width: 0;
    flex: 1;
}
.language-menu {
    position: relative;
}
.language-menu summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
}
.language-menu summary > .icon {
    width: 20px;
    height: 20px;
}
.language-options {
    position: absolute;
    z-index: 60;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 5px 20px #0002;
}
.language-options a {
    display: block;
    padding: 8px 18px;
}
#search-toggle,
.nav-actions > .cart-link {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    border-radius: 4px;
    transition: background .2s, color .2s;
}
.search-open-icon,
.search-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 0;
}
.nav-actions .icon {
    display: block;
}
#search-toggle:hover,
#search-toggle:focus-visible,
.nav-actions > .cart-link:hover,
.nav-actions > .cart-link:focus-visible {
    background: #ffffff20;
    color: #ffc77a;
}
.cart-link {
    position: relative;
}
.cart-count {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--badge-size, 22px);
    height: var(--badge-size, 22px);
    background: var(--accent);
    color: white;
    border-radius: 50%;
    padding: 0;
    font-size: 11px;
    line-height: 1;
}
.site-footer {
    background: #263c48;
    color: #edf0f1;
    padding-top: 55px;
}
.footer-grid {
    display: flex;
    gap: 35px;
}
.footer-grid > div {
    flex: 1;
    min-width: 0;
}
.footer-grid > .footer-brand {
    flex: 1.3;
}
.footer-grid > div:nth-child(3) {
    flex: 1.4;
}
.footer-grid h2 {
    font-size: 18px;
    margin-bottom: 22px;
}
.footer-links, .footer-languages, .footer-contact > div > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-label {
    flex-shrink: 0;
    font-weight: 600;
    hyphens: auto;
}
.footer-contact > div > div {
    flex: 1;
    min-width: 0;
}
.footer-contact > div {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
}
.footer-brand p {
    margin-top: 22px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #ffffff20;
    padding: 25px 0;
    margin-top: 40px;
}
.page-hero {
    display: flex;
    align-items: center;
    padding: 28px 0;
    min-height: 145px;
    max-height: 180px;
    background: #e7edef;
}
.page-hero h1 {
    font-size: 40px;
}
input, textarea, .select-trigger {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: white;
    padding: 11px 13px;
    color: var(--ink);
    outline: none;
    box-shadow: none;
}
input:focus, textarea:focus, .select-trigger:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: none;
}
input:disabled, select:disabled + .select-trigger, button:disabled {
    opacity: .5;
    cursor: default;
}
.field label {
    display: block;
    margin-bottom: 7px;
}
.select-wrap {
    position: relative;
    min-width: 0;
}
.select-trigger {
    text-align: left;
    padding-right: 32px;
    min-height: 47px;
}
.select-trigger::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    top: 19px;
    right: 15px;
    border-right: 1px solid;
    border-bottom: 1px solid;
    transform: rotate(45deg);
}
.select-options {
    position: absolute;
    z-index: 25;
    top: calc(100% + 3px);
    left: 0;
    width: 100%;
    min-width: 120px;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 6px 18px #0001;
}
.select-option {
    display: block;
    border: 0;
    padding: 10px 13px;
    width: 100%;
    text-align: left;
    background: white;
    white-space: normal;
}
.select-option:hover, .select-option:focus, .select-option[aria-selected="true"] {
    background: var(--soft);
    color: var(--accent);
    outline: none;
}
.notice, .empty-state {
    padding: 30px;
    background: var(--soft);
}
.empty-state {
    text-align: center;
}
.error, .field-error, .required {
    color: #9b3528;
}
.field-error {
    display: block;
    min-height: 20px;
    font-size: 12px;
}
.success {
    color: #266146;
}
.spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #bdc5c8;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.modal-backdrop, .screen-loading, .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #1d303a99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.dialog {
    padding: 35px;
    background: white;
    max-width: 480px;
}
.dialog p {
    margin-bottom: 25px;
}
.screen-loading {
    z-index: 150;
    gap: 15px;
    color: white;
}
.toast {
    position: fixed;
    z-index: 200;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 30px);
    padding: 12px 22px;
    background: var(--ink);
    color: white;
}
.mobile-drawer {
    position: fixed;
    z-index: 110;
    inset: 0 0 0 auto;
    width: min(310px, 86vw);
    overflow-y: auto;
    background: white;
    padding: 20px;
}
.drawer-head, .mobile-drawer nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.back-top {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 35;
    color: white;
    background: var(--accent);
    border-radius: 4px;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.back-top:hover,
.back-top:focus-visible {
    background: #884000;
    box-shadow: 0 6px 18px #263c4833;
    transform: translateY(-3px);
}
.steps {
    display: flex;
    justify-content: center;
    margin: 35px auto 45px;
    max-width: 900px;
}
.steps li {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7a8388;
}
.steps li:not(:last-child)::after {
    content: '';
    height: 1px;
    background: #cbd2d5;
    flex: 0 0 100px;
    margin-right: 15px;
}
.steps span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid;
    border-radius: 50%;
    flex-shrink: 0;
}
.steps .complete {
    color: var(--accent);
}
.steps .complete span {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.checkbox input {
    appearance: none;
    width: 19px;
    height: 19px;
    padding: 0;
    border: 1px solid #a4afb4;
    cursor: pointer;
    position: relative;
}
.checkbox input:checked, .checkbox input:indeterminate {
    background: var(--accent);
    border-color: var(--accent);
}
.checkbox input:checked::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 5px;
    left: 4px;
    top: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}
.checkbox input:indeterminate::after {
    content: '';
    position: absolute;
    width: 9px;
    left: 4px;
    top: 8px;
    border-top: 2px solid white;
}
.number-prefix {
    color: var(--accent);
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}
.page-summary {
    width: 100%;
}
.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.page-link {
    padding: 7px 11px;
    border: 1px solid var(--line);
}
.page-link.active {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}
.page-link.disabled {
    opacity: .4;
}
.jump-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.jump-label .select-wrap {
    width: 85px;
}
.rich-text {
    overflow-wrap: anywhere;
}
.rich-text p {
    margin-bottom: 18px;
}
.rich-text img {
    max-width: 100%;
    height: auto;
}
.rich-text table {
    width: 100%;
    border-collapse: collapse;
}
.rich-text td, .rich-text th {
    padding: 10px;
    border: 1px solid var(--line);
}
@media (max-width: 900px) {
    .brand-row, .desktop-nav {
        display: none;
    }
    .menu-toggle, .mobile-brand {
        display: flex;
    }
    .mobile-brand {
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        font-size: 11px;
        line-height: 1.3;
    }
    .mobile-brand img {
        flex: 0 0 auto;
    }
    .nav-inner {
        gap: 8px;
        min-height: 60px;
    }
    .nav-actions {
        gap: 0;
    }
    .footer-grid {
        flex-wrap: wrap;
    }
    .footer-grid > div, .footer-grid > .footer-brand, .footer-grid > div:nth-child(3) {
        flex: 1 1 calc(33.333% - 24px);
    }
}
@media (min-width: 641px) and (max-width: 900px) {
    .footer-grid > .footer-brand {
        flex-basis: 100%;
    }
}
@media (max-width: 900px) {
    .topbar-inner {
        gap: 14px;
        padding-block: 8px;
    }
    .topbar-tools {
        flex-shrink: 0;
    }
    .topbar p {
        min-width: 0;
        line-height: 1.4;
    }
}
@media (max-width: 640px) {
    .top-phone {
        display: none;
    }
    .container {
        width: calc(100% - 32px);
    }
    .section {
        padding-block: 35px;
    }
    .page-hero h1 {
        font-size: 32px;
    }
    .footer-grid > div, .footer-grid > .footer-brand, .footer-grid > div:nth-child(3) {
        flex-basis: 100%;
    }
    .steps {
        flex-direction: column;
        gap: 22px;
        width: fit-content;
    }
    .steps li {
        position: relative;
    }
    .steps li:not(:last-child)::after {
        position: absolute;
        width: 1px;
        height: 22px;
        top: 36px;
        left: 18px;
    }
}

/* Shared visual treatment */
body {
    font-family:'Segoe UI','Microsoft YaHei',Arial,sans-serif;
}
.section {
    padding-block:65px;
}
.button {
    transition:background .25s,color .25s,border-color .25s;
    font-weight:500;
}
.button:hover, .button:focus-visible {
    background:#884000;
    border-color:#884000;
    color:white;
}
.button.secondary:hover, .button.secondary:focus-visible {
    background:var(--ink);
    border-color:var(--ink);
    color:white;
}
.button.cart-toggle {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}
.button.cart-toggle.in-cart {
    background: #e7eee8;
    border-color: #a9beb0;
    color: #326147;
}
.button.cart-toggle:hover,
.button.cart-toggle:focus-visible,
.button.cart-toggle.in-cart:hover,
.button.cart-toggle.in-cart:focus-visible {
    background: #182b35;
    border-color: #182b35;
    color: white;
}
a:not(.button):hover, a:not(.button):focus-visible {
    color:var(--accent);
}
.site-footer a:hover, .site-footer a:focus-visible {
    color:#ffc77a;
}
a:focus-visible, button:focus-visible {
    outline:2px solid #b46a27;
    outline-offset:3px;
}
.select-trigger:focus-visible {
    outline:none;
}
.button .icon {
    width:19px;
    height:19px;
}
.page-hero {
    background-size:auto 100%;
    background-position:right center;
    background-repeat:no-repeat;
}
.hero-product,
.hero-detail,
.hero-pdcar,
.hero-quote,
.hero-quote_success {
    background-image:url('../images/generated/banner-product.png');
}
.hero-about {
    background-color:#e3e5e4;
    background-image:url('../images/generated/banner-about.png');
}
.hero-news,
.hero-newsinfo {
    background-image:url('../images/generated/banner-news.png');
}
.hero-contact {
    background-image:url('../images/generated/banner-contact.png');
}
@media (min-width: 901px) and (max-width: 1180px) {
    .footer-grid {
        flex-wrap: wrap;
    }
    .footer-grid > div, .footer-grid > .footer-brand, .footer-grid > div:nth-child(3) {
        flex: 1 1 calc(50% - 35px);
    }
}
.talk-strip {
    padding-block:52px;
    background:#eadcc7;
}
.talk-strip .container {
    display:flex;
    justify-content:space-between;
    gap:35px;
    align-items:center;
}
.talk-strip h2 {
    font-size:28px;
    line-height:1.4;
    font-weight:500;
    margin-bottom:8px;
}
.talk-strip p {
    color:#6b746f;
}
.talk-strip .button {
    flex-shrink:0;
}
@media (max-width:640px) {
    .talk-strip .container {
        flex-direction:column;
        align-items:flex-start;
    }
    .section {
        padding-block:35px;
    }
}
