.top-inner, .top-tools, .nav-capsule, .nav-actions, .desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.site-header {
    position: relative;
    z-index: 50;
}
.top-bar {
    height: 44px;
    background: #183548;
    color: #dce7ed;
    font-size: 12px;
}
.top-inner {
    height: 100%;
}
.top-company-name {
    color: #fff;
    font-weight: 600;
}
.top-tools {
    flex-shrink: 0;
}
.nav-wrap {
    padding-top: 12px;
}
.nav-capsule {
    min-height: 92px;
    padding: 10px 24px 10px 10px;
    border-radius: 60px;
    border: 1px solid #d8dfe2;
    background: var(--surface);
    box-shadow: 0 9px 26px rgba(32, 61, 76, 0.07);
}
.desktop-nav {
    gap: 27px;
    margin-left: auto;
    font-weight: 600;
}
.desktop-nav a {
    position: relative;
    padding: 16px 0;
}
.desktop-nav [aria-current]::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    background: #dfb334;
    left: 50%;
    transform: translateX(-50%);
    bottom: 7px;
    border-radius: 4px;
}
.nav-actions {
    gap: 6px;
}
.nav-actions .icon-button {
    background: transparent;
    border: 0;
    width: 42px;
    min-height: 42px;
}
@media (hover: hover) {
    .nav-actions .icon-button:hover {
        color: #183548;
        background: #f8edc9;
    }
}
.top-inner, .nav-capsule {
    justify-content: space-between;
}
.brand img {
    width: 160px;
    height: auto;
}
.brand {
    display: inline-flex;
    padding: 18px 24px;
    background: #254d64;
    border-radius: 44px;
    flex-shrink: 0;
}
.nav-wrap, .language-menu {
    position: relative;
}
.language-menu button {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 8px 0;
    color: #fff;
    font-weight: 600;
}
.language-menu button svg {
    width: 16px;
    height: 16px;
}
.language-menu ul, .search-panel {
    position: absolute;
    z-index: 50;
    right: 0;
    background: #fff;
    padding: 18px;
    border: 1px solid #aeb9c1;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(24, 53, 72, 0.12);
}
.language-menu ul {
    min-width: 150px;
    color: #183548;
}
.language-menu li a {
    display: block;
    padding: 6px 4px;
    border-radius: 6px;
    transition: background 180ms ease, color 180ms ease;
}
.language-menu li a:focus-visible {
    background: #f8edc9;
    color: #183548;
}
@media (hover: hover) {
    .language-menu li a:hover {
        background: #f8edc9;
        color: #183548;
    }
}
.search-panel {
    top: 100%;
    width: min(600px, 100%);
}
.search-form {
    display: flex;
    gap: 12px;
}
.search-form input {
    min-width: 0;
    flex: 1;
}
.cart-link {
    position: relative;
}
.cart-badge {
    position: absolute;
    right: -4px;
    top: -4px;
    background: #f0c646;
    border-radius: 50%;
    min-width: 22px;
    text-align: center;
    color: #183548;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
}
.mobile-menu {
    display: none;
}
.dialog-backdrop, .fullscreen-loading {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 42, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-drawer {
    margin-left: auto;
    width: min(360px, 90vw);
    height: 100%;
    padding: 24px;
    background: #fff;
    overflow: auto;
    border-radius: 28px 0 0 28px;
}
.mobile-drawer > .icon-button {
    display: flex;
    margin: 0 0 20px auto;
}
.mobile-drawer nav {
    margin-top: 28px;
    font-size: 19px;
}
.mobile-drawer nav a {
    padding: 10px;
    border-bottom: 1px solid #e1e6e9;
}
.mobile-drawer nav, .footer-grid nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-grid {
    display: flex;
    gap: 32px;
    padding-top: 64px;
    padding-bottom: 54px;
}
.site-footer {
    background: #183548;
    color: #dce7ed;
    border-radius: 60px 60px 0 0;
    margin-top: 40px;
}
.primary-phone:focus-visible, .language-menu > button:focus-visible, .site-footer a:focus-visible {
    color: #edc342;
    outline-color: #edc342;
}
@media (hover: hover) {
    .primary-phone:hover, .language-menu > button:hover, .site-footer a:hover {
        color: #edc342;
    }
}
.footer-grid > div:nth-child(1) {
    flex: 1.35;
}
.footer-grid > div:nth-child(2) {
    flex: 0.7;
}
.footer-grid > div:nth-child(3) {
    flex: 1.9;
}
.footer-grid > div:nth-child(4) {
    flex: 0.65;
}
.footer-grid h2 {
    font-size: 18px;
    margin: 12px 0 24px;
    color: #fff;
}
.footer-brand p {
    max-width: 255px;
    line-height: 1.9;
    color: #c0d0db;
    margin-top: 24px;
}
.footer-grid .contact-list > div {
    margin-bottom: 12px;
}
.footer-contact h2 {
    font-size: 19px;
}
.footer-grid .contact-list dt {
    font-weight: 600;
}
.footer-grid .contact-list dd {
    color: #c0d0db;
}
.footer-grid > div {
    flex: 1;
    min-width: 0;
}
.contact-list > div {
    display: flex;
    gap: 12px;
}
.contact-list dt {
    flex-shrink: 0;
}
.contact-list dd span {
    display: block;
    overflow-wrap: anywhere;
}
.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid #3b5668;
    color: #b6cbd7;
    font-size: 13px;
}
#backTop {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 40;
}
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    padding: 16px;
    background: #172c3e;
    color: #fff;
    border-radius: 14px;
    max-width: calc(100% - 40px);
}
.fullscreen-loading {
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.9);
}
.custom-select {
    position: relative;
    width: 100%;
}
.native-select {
    display: none;
}
.select-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 10px;
}
.select-options {
    position: absolute;
    z-index: 30;
    top: 100%;
    width: 100%;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid #aeb9c1;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(24, 53, 72, 0.1);
}
.select-trigger svg {
    width: 17px;
    height: 17px;
}
.select-options button {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: left;
    border: 0;
    background: #fff;
}
.select-options button:focus, .select-options [aria-selected="true"] {
    background: #fff2c4;
}
@media (hover: hover) {
    .select-options button:hover {
        background: #fff2c4;
    }
}
.form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-field {
    width: calc(50% - 10px);
}
.form-field label, .form-field input, .form-field textarea {
    display: block;
    width: 100%;
}
.form-field label {
    font-weight: 600;
    margin-bottom: 7px;
}
.form-field label span {
    color: #aa7620;
}
.form-field textarea {
    resize: vertical;
}
.field-error {
    margin-top: 5px;
    font-size: 12px;
    text-align: left;
}
.full-field {
    width: 100%;
}
.form-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}
.form-actions [type="submit"] {
    margin-left: auto;
}
.order-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 32px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid #c7d2db;
}
.order-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    min-width: 0;
    max-width: 280px;
}
.order-steps li + li::before {
    content: '';
    width: 24px;
    height: 1px;
    background: #aeb9c1;
    position: absolute;
    left: -32px;
}
.order-steps [aria-current] {
    font-weight: bold;
}
.order-steps li > span {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7d5dd;
    border-radius: 50%;
    background: #edf2f5;
}
.order-steps [aria-current] > span {
    background: #edc342;
    border-color: #dfb334;
}
.order-steps .is-complete > span {
    background: #f5ebc5;
    border-color: #c4a04b;
    color: #785a15;
}
.order-steps .is-complete + li::before {
    background: #c4a04b;
}
.add-cart.in-cart {
    background: #254d64;
    border-color: #254d64;
    color: #fff;
}
@media (hover: hover) {
    .add-cart:not(.in-cart):hover {
        background: #dfb334;
        border-color: #b68416;
        color: #183548;
    }
    .add-cart.in-cart:hover {
        background: #183548;
        border-color: #183548;
        color: #fff;
    }
}
.page-hero {
    padding: 0;
    height: 170px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    border-radius: 0 0 45px 45px;
    background-color: #e6edf0;
    background-position: center;
    background-size: cover;
}
.page-hero h1 {
    font-size: 42px;
    max-width: 65%;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}
.pagination, .page-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.pagination {
    margin-top: 24px;
}
.pagination > p {
    width: 100%;
}
.page-button {
    padding: 8px 12px;
    border: 1px solid #aeb9c1;
    border-radius: 8px;
    background: #fff;
}
@media (hover: hover) {
    .page-button:hover {
        background: #f8edc9;
    }
}
.page-button.active {
    background: #f0c646;
}
.disabled {
    opacity: 0.45;
}
.page-jump {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    white-space: nowrap;
}
.page-jump .custom-select {
    width: 90px;
    flex-shrink: 0;
}
@media (max-width: 1000px) {
    .top-inner {
        gap: 12px;
    }
    .top-inner > p {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .top-welcome, .top-bar .primary-phone {
        display: none;
    }
    .top-tools {
        width: auto;
        justify-content: flex-end;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu {
        display: inline-flex;
    }
}
@media (max-width: 900px) {
    .footer-grid {
        flex-wrap: wrap;
    }
    .footer-grid > .footer-brand:nth-child(1) {
        flex-basis: 100%;
        display: flex;
        align-items: center;
        gap: 28px;
    }
    .footer-brand p {
        margin-top: 0;
        max-width: 420px;
    }
    .form-field {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .shell {
        width: calc(100% - 32px);
    }
    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }
    .footer-grid > .footer-brand:nth-child(1) {
        display: block;
    }
    .footer-brand p {
        margin-top: 20px;
    }
    .site-footer {
        border-radius: 32px 32px 0 0;
    }
    .nav-capsule {
        min-height: 74px;
        padding: 8px 10px 8px 8px;
        gap: 5px;
    }
    .nav-capsule .brand {
        padding: 13px 15px;
    }
    .nav-capsule .brand img {
        width: 110px;
    }
    .nav-actions {
        gap: 1px;
    }
    .nav-actions .icon-button {
        width: 36px;
        padding: 7px;
    }
    .primary-phone {
        font-size: 12px;
    }
    .search-form {
        flex-wrap: wrap;
    }
    .search-form input {
        flex-basis: 100%;
    }
    .order-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .order-steps li {
        width: 260px;
    }
    .order-steps li + li::before {
        top: -20px;
        left: 12px;
        width: 1px;
        height: 16px;
    }
    .page-hero h1 {
        font-size: 32px;
        max-width: 85%;
    }
    .page-hero {
        height: 150px;
        border-radius: 0 0 28px 28px;
        background-position: 60% center;
    }
    .mobile-only {
        display: inline;
    }
}
