/* Public retail controls only. Trade ordering uses its existing assets. */
.header-top-modern .header-top-container {
    width: 100%; max-width: 1480px; margin: 0 auto;
    padding-inline: clamp(16px, 3vw, 40px);
}
.header-top-modern .header-top-shell {
    grid-template-columns: minmax(120px, 160px) minmax(180px, 1fr) auto;
    gap: 20px; min-height: 76px;
}
.header-top-modern .header-actions {
    display: flex; align-items: center; justify-content: flex-end;
    flex-wrap: wrap; gap: 8px; padding: 0; min-width: 0;
}
.header-actions .retail-nav-link {
    box-sizing: border-box; display: inline-flex; align-items: center;
    justify-content: center; gap: 6px; min-height: 38px;
    padding: 8px 11px; border: 1px solid transparent; border-radius: 8px;
    font-family: inherit; font-size: 12px;
    font-weight: 600; line-height: 1.2; text-decoration: none;
    letter-spacing: 0; white-space: nowrap; color: #263746;
    background: transparent; box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.header-actions .retail-nav-link:hover { background: #f2f4f5; color: #18232d; }
.header-actions .retail-nav-link--trade { border-color: #dce2e6; }
.header-actions .retail-nav-link--cart { background: #ffc43f; border-color: #ffc43f; }
.header-actions .retail-nav-link--cart:hover { background: #f2b82d; border-color: #f2b82d; }
.retail-cart-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding-inline: 4px;
    border-radius: 6px; background: rgba(255,255,255,.6); font-size: 11px;
}
.header-actions .header-support { margin-right: 6px; }
@media (max-width: 1399.98px) {
    .header-top-modern .header-actions .header-support { display: none !important; }
}
@media (max-width: 991.98px) {
    .header-top-modern .header-top-shell { grid-template-columns: minmax(100px, 1fr) auto; gap: 12px; }
}
@media (max-width: 575.98px) {
    .header-top-modern .header-top-shell { grid-template-columns: 1fr; gap: 10px; padding-block: 6px; }
    .header-top-modern .header-brand { justify-self: center; }
    .header-top-modern .header-actions { justify-content: center; gap: 5px; }
    .header-actions .retail-nav-link { padding-inline: 9px; min-height: 40px; font-size: 11px; }
}

/* A full-width price selector followed by a consistently aligned quantity/action row. */
.product-card .product-card__body { min-width: 0; }
.retail-buy { min-width: 0; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf0f2; }
.product-card .retail-buy { margin-top: 12px; }
.retail-buy__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
.retail-buy__label { display: block; margin: 0; color: #697782; font-weight: 500; font-family: inherit; font-size: 11px; line-height: 1.4; }
.retail-buy .retail-buy__unit {
    box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0;
    height: 38px; min-height: 38px; margin: 0; padding: 6px 34px 6px 9px;
    border: 1px solid #dce2e6; border-radius: 7px; background-color: #fff;
    color: #263746; font-family: inherit; font-size: 12px; font-weight: 600;
    line-height: 1.4; text-overflow: ellipsis;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23263746' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
}
.retail-buy__row { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: end; gap: 7px; }
.retail-buy__quantity { display: grid; gap: 4px; min-width: 0; margin: 0; }
.retail-buy .retail-buy__input {
    box-sizing: border-box; display: block; width: 100%; min-width: 0; max-width: 100%;
    height: 38px; min-height: 38px; margin: 0; padding: 6px 3px 6px 6px;
    border: 1px solid #dce2e6; border-radius: 7px; background: #fff;
    color: #263746; font-family: inherit; font-size: 14px; font-weight: 600;
    line-height: 1.4; text-align: center; box-shadow: none;
}
.retail-buy .retail-buy__add {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    width: 100%; min-width: 0; height: 38px; min-height: 38px; margin: 0; padding: 6px;
    border: 1px solid #ffc43f; border-radius: 7px; background: #ffc43f;
    color: #263746; font-family: inherit; font-size: 12px; font-weight: 700;
    line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap;
    cursor: pointer; box-shadow: none;
}
.retail-buy .retail-buy__add:hover { background: #f2b82d; border-color: #f2b82d; }
.retail-buy__note { margin: 0; color: #7a858d; font-size: 10px; line-height: 1.4; }
.retail-buy__unavailable { display: block; padding-block: 8px; color: #7a858d; font-size: 12px; line-height: 1.5; }
.retail-buy :is(select,input,button):focus-visible,
.header-actions .retail-nav-link:focus-visible { outline: 2px solid #263746; outline-offset: 3px; }
.product-detail-card .retail-buy { max-width: 340px; }
@media (max-width: 575.98px) {
    .retail-buy__row { grid-template-columns: 52px minmax(0, 1fr); gap: 6px; }
    .retail-buy .retail-buy__add { font-size: 11px; padding-inline: 3px; }
    .retail-buy .retail-buy__unit { font-size: 11px; padding-left: 6px; }
    .retail-buy .retail-buy__input { font-size: 16px; }
    .retail-buy .retail-buy__unit, .retail-buy .retail-buy__input, .retail-buy .retail-buy__add { height: 42px; min-height: 42px; }
}

/* Icon action and touch-friendly quantity stepper. */
.retail-buy .retail-buy__row { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px; }
.retail-buy__stepper { display: grid; grid-template-columns: 26px minmax(0, 1fr) 26px; height: 40px; border: 1px solid #dce2e6; border-radius: 7px; background: #fff; }
.retail-buy .retail-buy__step { width: 100%; min-width: 0; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #263746; font: 500 20px/1 sans-serif; cursor: pointer; }
.retail-buy .retail-buy__step:hover { background: #f2f4f5; }
.retail-buy .retail-buy__step:disabled { opacity: .35; cursor: default; }
.retail-buy .retail-buy__stepper .retail-buy__input { height: 38px; min-height: 38px; padding: 0 1px; border: 0; border-radius: 0; font-size: 13px; appearance: textfield; -moz-appearance: textfield; }
.retail-buy__input::-webkit-inner-spin-button, .retail-buy__input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.retail-buy .retail-buy__add { width: 40px; height: 40px; min-height: 40px; padding: 8px; }
.retail-buy__add svg { flex: 0 0 20px; }
.retail-buy .retail-buy__add:disabled { opacity: .55; cursor: wait; }
.retail-toast { position: fixed; z-index: 1090; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 10px; background: #263746; color: #fff; box-shadow: 0 6px 24px #0003; font-size: 14px; line-height: 1.5; text-align: center; pointer-events: none; }
.retail-toast[hidden] { display: none; }
.retail-toast--error { background: #923535; }
@media (max-width: 575.98px) {
    .retail-buy__stepper { height: 42px; grid-template-columns: 24px minmax(0, 1fr) 24px; }
    .retail-buy .retail-buy__step { height: 40px; }
    .retail-buy .retail-buy__stepper .retail-buy__input { height: 40px; min-height: 40px; font-size: 16px; }
    .retail-buy .retail-buy__add { height: 42px; min-height: 42px; }
}

/* Wide retail cart with a separate summary and compact item controls. */
main.retail-shell.retail-cart-shell { max-width: none; width: 100%; margin: 30px auto 60px; padding-inline: clamp(16px, 3vw, 52px); }
.retail-cart-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.retail-cart-eyebrow { display: block; color: #8c722e; font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-bottom: 8px; }
.retail-cart-heading h1 { margin: 0 0 8px; color: #263746; font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.retail-cart-heading p { margin: 0; color: #7b8791; font-size: 14px; }
.retail-cart-back { color: #263746; text-decoration: none; font-size: 13px; font-weight: 600; }
.retail-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); gap: 28px; align-items: start; }
.retail-cart-items, .retail-cart-summary, .retail-cart-empty { background: #fff; border: 1px solid #e8edf0; border-radius: 18px; box-shadow: 0 8px 28px #1f2d3d06; }
.retail-cart-items { overflow: hidden; }
.retail-cart-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; }
.retail-cart-section-title h2, .retail-cart-summary h2 { margin: 0; font-size: 19px; font-weight: 700; color: #263746; }
.retail-cart-section-title > span { padding: 5px 10px; border-radius: 20px; background: #f5f7f8; color: #75828c; font-size: 12px; white-space: nowrap; }
.retail-cart-columns, .retail-cart-item { display: grid; grid-template-columns: minmax(180px, 1fr) 116px 110px 80px; gap: 16px; align-items: center; padding: 22px 24px; }
.retail-cart-columns { padding-block: 12px; background: #f8fafb; border-block: 1px solid #edf0f2; color: #88949d; font-size: 11px; }
.retail-cart-item + .retail-cart-item { border-top: 1px solid #edf0f2; }
.retail-cart-product { display: flex; align-items: center; gap: 16px; min-width: 0; }
.retail-cart-product img { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 10px; background: #f6f7f8; object-fit: contain; padding: 6px; }
.retail-cart-product h3 { margin: 5px 0 8px; font-size: 14px; font-weight: 600; line-height: 1.5; color: #263746; overflow-wrap: anywhere; }
.retail-cart-code { color: #a78222; font-size: 10px; font-weight: 700; }
.retail-cart-unit { color: #74818c; font-size: 11px; }
.retail-cart-quantity { display: flex; gap: 6px; align-items: center; margin: 0; }
.retail-cart-quantity input { box-sizing: border-box; width: 54px; min-width: 0; height: 36px; padding: 4px; border: 1px solid #dce2e6; border-radius: 7px; text-align: center; background: #fff; color: #263746; font-size: 13px; }
.retail-cart-quantity button { padding: 4px 0; background: none; border: 0; color: #697984; text-decoration: underline; font-size: 11px; }
.retail-cart-line-total strong { font-size: 15px; font-weight: 700; color: #263746; white-space: nowrap; }
.retail-cart-line-total small { display: none; }
.retail-cart-remove { margin: 0; justify-self: end; }
.retail-cart-delete { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #f2dede; border-radius: 7px; background: #fff8f8; color: #b85151; min-height: 36px; padding: 6px 8px; font-size: 11px; cursor: pointer; }
.retail-cart-delete:hover { background: #fbeaea; }
.retail-cart-summary { padding: 26px; position: sticky; top: 20px; }
.retail-cart-summary dl { margin: 24px 0 0; }
.retail-cart-summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.retail-cart-summary dt { font-size: 13px; font-weight: 400; color: #7b8791; }
.retail-cart-summary dd { margin: 0; font-size: 14px; color: #263746; font-weight: 600; }
.retail-cart-summary dl .retail-cart-total { padding-top: 18px; margin-top: 18px; border-top: 1px solid #e8edf0; }
.retail-cart-total dt, .retail-cart-total dd { font-size: 22px; font-weight: 700; color: #263746; }
.retail-cart-tax-note { color: #87929b; font-size: 11px; margin: 0 0 24px; }
.retail-cart-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.retail-cart-primary, .retail-cart-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 11px 13px; border: 1px solid #ffc43f; border-radius: 8px; background: #ffc43f; color: #263746; font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center; cursor: pointer; }
.retail-cart-primary:hover { color: #263746; background: #f2b82d; }
.retail-cart-secondary { background: #fff; border-color: #d9e0e5; }
.retail-cart-secondary:hover { background: #f5f7f8; color: #263746; }
.retail-cart-delivery { padding: 18px 0; border-top: 1px solid #edf0f2; }
.retail-cart-delivery strong { display: block; color: #263746; font-size: 13px; }
.retail-cart-delivery p { margin: 6px 0 0; color: #7b8791; font-size: 12px; line-height: 1.7; }
.retail-cart-checkout label { display: block; margin-bottom: 8px; color: #263746; font-size: 12px; }
.retail-cart-checkout label small { color: #87929b; }
.retail-cart-checkout textarea { width: 100%; border: 1px solid #dce2e6; border-radius: 8px; padding: 10px; margin-bottom: 14px; font-size: 13px; resize: vertical; }
.retail-cart-checkout .retail-cart-primary { width: 100%; }
.retail-cart-signout { margin-top: 16px; }
.retail-cart-signout button { background: none; border: 0; padding: 0; color: #82909a; text-decoration: underline; font-size: 12px; }
.retail-cart-warning { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.retail-cart-error { font-size: 13px; color: #b85151; }
.retail-cart-empty { padding: 70px 24px; text-align: center; }
.retail-cart-empty h2 { font-size: 24px; color: #263746; }.retail-cart-empty p { font-size: 14px; color: #7b8791; }
@media (max-width: 1199.98px) { .retail-cart-layout { grid-template-columns: minmax(0, 1fr); }.retail-cart-summary { position: static; }.retail-cart-summary dl { max-width: 440px; } }
@media (max-width: 767.98px) {
 .retail-cart-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.retail-cart-columns { display: none; }
 .retail-cart-section-title, .retail-cart-summary { padding: 20px; }
 .retail-cart-item { grid-template-columns: minmax(0, 1fr) auto; padding: 18px; gap: 16px; }
 .retail-cart-product { grid-column: 1 / -1; }.retail-cart-product img { width: 64px; height: 64px; flex-basis: 64px; }
 .retail-cart-line-total { text-align: right; }.retail-cart-line-total small { display: block; color: #87929b; font-size: 10px; }
 .retail-cart-remove { grid-column: 2; }.retail-cart-quantity input { font-size: 16px; }
 .retail-cart-warning { align-items: flex-start; flex-direction: column; }
}

.retail-guest-request { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e8edf0; }
.retail-guest-request[hidden] { display: none; }
.retail-guest-request h3 { color: #263746; font-size: 17px; margin-bottom: 8px; }
.retail-guest-request p { font-size: 12px; color: #7b8791; line-height: 1.6; }
.retail-guest-request input:not([type="hidden"]):not([type="checkbox"]) { display: block; width: 100%; height: 40px; margin-bottom: 14px; padding: 8px 10px; border: 1px solid #dce2e6; border-radius: 7px; background: #fff; color: #263746; font-size: 14px; }
.retail-guest-captcha { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.retail-guest-captcha button { background: none; border: 0; font-size: 11px; padding: 0; text-decoration: underline; }
@media (max-width: 575.98px) { .retail-guest-request input:not([type="hidden"]):not([type="checkbox"]) { font-size: 16px; } }

/* Visible account action, mobile search and cart quantity controls. */
.header-actions .retail-nav-link--account { background: #263746; border-color: #263746; color: #fff; }
.header-actions .retail-nav-link--account:hover { background: #3c5569; border-color: #3c5569; color: #fff; }
.retail-cart-quantity { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 0; width: 116px; height: 38px; border: 1px solid #dce2e6; border-radius: 8px; background: #fff; }
.retail-cart-quantity input { width: 100%; height: 36px; padding: 0 1px; border: 0; border-radius: 0; appearance: textfield; -moz-appearance: textfield; }
.retail-cart-quantity input::-webkit-inner-spin-button, .retail-cart-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.retail-cart-quantity .retail-cart-step { height: 36px; width: 30px; padding: 0; border: 0; border-radius: 7px; text-decoration: none; background: transparent; color: #263746; font: 500 20px/1 sans-serif; cursor: pointer; }
.retail-cart-quantity .retail-cart-step:hover { background: #f2f4f5; }
.retail-cart-quantity .retail-cart-step:disabled { opacity: .35; cursor: default; }
.retail-cart-quantity :is(button,input):focus-visible { outline: 2px solid #263746; outline-offset: 2px; }
@media (max-width: 991.98px) {
    .header-top-modern .header-brand { grid-column: 1; grid-row: 1; }
    .header-top-modern .header-actions { grid-column: 2; grid-row: 1; }
    .header-top-modern .header-search { display: flex; grid-column: 1 / -1; grid-row: 2; width: 100%; padding-bottom: 8px; }
    .header-top-modern .header-search-form { height: 44px; border-radius: 10px; }
    .header-top-modern .header-search-input { font-size: 16px; }
    .header-top-modern .header-search-button { height: 34px; min-height: 34px; padding-inline: 14px; border-radius: 7px; font-size: 12px; }
}
@media (max-width: 575.98px) {
    .header-top-modern .header-brand { grid-column: 1; grid-row: 1; }
    .header-top-modern .header-actions { grid-column: 1; grid-row: 2; }
    .header-top-modern .header-search { grid-column: 1; grid-row: 3; }
    .header-top-modern .header-search-icon { margin-inline: 10px; flex-shrink: 0; }
    .retail-cart-quantity { height: 42px; }
    .retail-cart-quantity input, .retail-cart-quantity .retail-cart-step { height: 40px; }
}

/* Product detail: unit selector and quantity/cart controls share one row. */
.product-detail-card .retail-buy { width: 100%; max-width: none; }
.product-detail-card .retail-buy__form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 8px 12px; }
.product-detail-card .retail-buy__form > .retail-buy__quantity { grid-column: 1; grid-row: 1; }
.product-detail-card .retail-buy__row { grid-column: 2; grid-row: 1; min-width: 0; }
.product-detail-card .retail-buy__note { grid-column: 1 / -1; }
.product-detail-card .retail-buy__unit, .product-detail-card .retail-buy__stepper, .product-detail-card .retail-buy__add { height: 42px; min-height: 42px; }
.product-detail-card .retail-buy__step, .product-detail-card .retail-buy__stepper .retail-buy__input { height: 40px; min-height: 40px; }
@media (max-width: 575.98px) {
    .product-detail-card .retail-buy__form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
    .product-detail-card .retail-buy__stepper { grid-template-columns: 22px minmax(0, 1fr) 22px; }
    .product-detail-card .retail-buy__unit { padding-right: 26px; background-position: right 8px center; background-size: 12px; }
}

/* Wider +/- targets on catalogue cards, while retaining space for the quantity. */
.product-card .retail-buy__stepper { grid-template-columns: min(34px, 32%) minmax(0, 1fr) min(34px, 32%); }
.product-card .retail-buy__step { background: #f5f7f8; }
.product-card .retail-buy__step:hover { background: #e9eef1; }

/* Customer sign-in, scoped independently of registration and trade forms. */
.retail-login-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border: 1px solid #e8edf0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 14px 45px #26374608; }
.retail-login-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 40px; background: linear-gradient(145deg, #263746, #344d60); color: #fff; }
.retail-login-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #a47a1a; }
.retail-login-intro > .retail-login-kicker { color: #ffe4a0; }
.retail-login-symbol { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; background: #ffc43f; border-radius: 18px; color: #263746; }
.retail-login-intro h2 { margin: 0 0 18px; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.retail-login-intro-copy p { max-width: 310px; margin-bottom: 20px; color: #d2dbe1; font-size: 14px; line-height: 1.8; }
.retail-login-browse { display: inline-flex; align-items: center; gap: 14px; color: #ffe4a0; text-decoration: none; font-size: 12px; font-weight: 600; }
.retail-login-browse:hover, .retail-login-trade a:hover { color: #fff; }
.retail-login-trade { border-top: 1px solid #ffffff26; padding-top: 22px; }
.retail-login-trade strong { display: block; color: #fff; font-size: 13px; }
.retail-login-trade p { margin: 6px 0 10px; color: #bdcbd5; font-size: 12px; }
.retail-login-trade a { font-size: 12px; font-weight: 600; color: #ffe4a0; text-decoration: none; }
.retail-login-card { padding: clamp(28px, 4vw, 52px); min-width: 0; align-self: center; }
.retail-login-heading h1 { margin: 10px 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #263746; letter-spacing: -.02em; }
.retail-login-heading p { margin: 0 0 28px; font-size: 13px; line-height: 1.7; color: #7b8791; }
.retail-login-form label { display: block; margin: 0 0 8px; color: #344653; font-size: 12px; font-weight: 600; }
.retail-login-form input { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 48px; border: 1px solid #dce2e6; border-radius: 9px; padding: 12px 14px; color: #263746; background: #fafbfc; font-family: inherit; font-size: 15px; }
.retail-login-form input::placeholder { color: #9aa5ad; }
.retail-login-form input:focus { outline: 2px solid #ffc43f; outline-offset: 2px; border-color: #c49b39; background: #fff; }
.retail-login-password-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.retail-login-password-label a { margin-bottom: 8px; color: #657b8a; font-size: 11px; text-decoration: none; }
.retail-login-password-label a:hover { text-decoration: underline; }
.retail-login-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; margin-top: 26px; border: 1px solid #ffc43f; border-radius: 9px; padding: 12px 16px; background: #ffc43f; color: #263746; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.retail-login-submit:hover { background: #f2b82d; border-color: #f2b82d; }
.retail-login-register { margin-top: 28px; padding-top: 24px; border-top: 1px solid #edf0f2; text-align: center; }
.retail-login-register p { color: #81909a; font-size: 12px; margin: 0 0 10px; }
.retail-login-register a { display: flex; justify-content: center; padding: 11px 16px; border: 1px solid #dce2e6; border-radius: 9px; color: #263746; text-decoration: none; font-size: 13px; font-weight: 600; }
.retail-login-register a:hover { background: #f5f7f8; }
.retail-login-cart { display: block; width: fit-content; margin: 20px auto 0; color: #7d8c96; font-size: 12px; text-decoration: none; }
.retail-login-layout a:focus-visible, .retail-login-submit:focus-visible { outline: 2px solid #c78d00; outline-offset: 4px; }
@media (max-width: 767.98px) {
 .retail-login-layout { display: flex; flex-direction: column; border-radius: 18px; }
 .retail-login-card { order: 0; width: 100%; padding: 28px 22px; }
 .retail-login-intro { order: 1; padding: 24px; gap: 20px; }
 .retail-login-intro > .retail-login-kicker, .retail-login-symbol { display: none; }
 .retail-login-intro h2 { font-size: 25px; }.retail-login-intro h2 br { display: none; }
 .retail-login-intro-copy p { max-width: none; font-size: 13px; margin-bottom: 12px; }
 .retail-login-form input { font-size: 16px; }
 .retail-login-trade { padding-top: 18px; }
}

/* Customer registration: follows the customer login colour and component language. */
.retail-register-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); border: 1px solid #e8edf0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 14px 45px #26374608; }
.retail-register-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 40px; background: linear-gradient(145deg, #263746, #344d60); color: #fff; }
.retail-register-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #a47a1a; }
.retail-register-intro > .retail-register-kicker { color: #ffe4a0; }
.retail-register-symbol { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; background: #ffc43f; border-radius: 18px; color: #263746; }
.retail-register-intro h2 { margin: 0 0 18px; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.retail-register-intro-copy p { max-width: 320px; margin-bottom: 20px; color: #d2dbe1; font-size: 14px; line-height: 1.8; }
.retail-register-browse { display: inline-flex; align-items: center; gap: 14px; color: #ffe4a0; text-decoration: none; font-size: 12px; font-weight: 600; }
.retail-register-browse:hover, .retail-register-trade a:hover { color: #fff; }
.retail-register-trade { border-top: 1px solid #ffffff26; padding-top: 22px; }
.retail-register-trade strong { display: block; color: #fff; font-size: 13px; }
.retail-register-trade p { margin: 6px 0 10px; color: #bdcbd5; font-size: 12px; }
.retail-register-trade a { font-size: 12px; font-weight: 600; color: #ffe4a0; text-decoration: none; }
.retail-register-card { padding: clamp(28px, 4vw, 52px); min-width: 0; align-self: center; }
.retail-register-heading h1 { margin: 10px 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #263746; letter-spacing: -.02em; }
.retail-register-heading p { margin: 0 0 28px; font-size: 13px; line-height: 1.7; color: #7b8791; }
.retail-register-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.retail-register-field { min-width: 0; }
.retail-register-field--wide { grid-column: 1 / -1; }
.retail-register-form label, .retail-register-captcha-copy label { display: block; margin: 0 0 8px; color: #344653; font-size: 12px; font-weight: 600; }
.retail-register-form label span { color: #87939c; font-size: 10px; font-weight: 400; }
.retail-register-form input { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 48px; border: 1px solid #dce2e6; border-radius: 9px; padding: 12px 14px; color: #263746; background: #fafbfc; font-family: inherit; font-size: 15px; }
.retail-register-form input::placeholder { color: #9aa5ad; }
.retail-register-form input:focus { outline: 2px solid #ffc43f; outline-offset: 2px; border-color: #c49b39; background: #fff; }
.retail-register-captcha { display: grid; grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); gap: 18px; align-items: end; margin-top: 22px; padding: 18px; border: 1px solid #edf0f2; border-radius: 12px; background: #fafbfc; }
.retail-register-captcha-copy span { display: block; color: #87939c; font-size: 11px; line-height: 1.5; }
.retail-register-captcha-controls { display: grid; grid-template-columns: auto auto minmax(110px, 1fr); gap: 9px; align-items: center; }
.retail-register-captcha-controls img { display: block; width: auto; max-width: 145px; height: 48px; border: 1px solid #dce2e6; border-radius: 8px; background: #fff; object-fit: contain; }
.retail-register-captcha-controls input { height: 48px; }
.retail-register-captcha-reload { height: 40px; padding: 0 10px; border: 0; background: transparent; color: #657b8a; font: inherit; font-size: 11px; text-decoration: underline; cursor: pointer; }
.retail-register-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; margin-top: 24px; border: 1px solid #ffc43f; border-radius: 9px; padding: 12px 16px; background: #ffc43f; color: #263746; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.retail-register-submit:hover { background: #f2b82d; border-color: #f2b82d; }
.retail-register-login { margin-top: 28px; padding-top: 24px; border-top: 1px solid #edf0f2; text-align: center; }
.retail-register-login p { color: #81909a; font-size: 12px; margin: 0 0 10px; }
.retail-register-login a { display: flex; justify-content: center; padding: 11px 16px; border: 1px solid #dce2e6; border-radius: 9px; color: #263746; text-decoration: none; font-size: 13px; font-weight: 600; }
.retail-register-login a:hover { background: #f5f7f8; }
.retail-register-cart { display: block; width: fit-content; margin: 20px auto 0; color: #7d8c96; font-size: 12px; text-decoration: none; }
.retail-register-layout a:focus-visible, .retail-register-submit:focus-visible, .retail-register-captcha-reload:focus-visible { outline: 2px solid #c78d00; outline-offset: 4px; }
@media (max-width: 900px) {
 .retail-register-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
 .retail-register-intro { padding: 30px; }
 .retail-register-captcha { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
 .retail-register-layout { display: flex; flex-direction: column; border-radius: 18px; }
 .retail-register-card { order: 0; width: 100%; padding: 28px 22px; }
 .retail-register-intro { order: 1; padding: 24px; gap: 20px; }
 .retail-register-intro > .retail-register-kicker, .retail-register-symbol { display: none; }
 .retail-register-intro h2 { font-size: 25px; }.retail-register-intro h2 br { display: none; }
 .retail-register-intro-copy p { max-width: none; font-size: 13px; margin-bottom: 12px; }
 .retail-register-form input { font-size: 16px; }
 .retail-register-trade { padding-top: 18px; }
}
@media (max-width: 575.98px) {
 .retail-register-grid { grid-template-columns: 1fr; gap: 16px; }
 .retail-register-field--wide { grid-column: auto; }
 .retail-register-captcha { padding: 15px; }
 .retail-register-captcha-controls { grid-template-columns: 1fr auto; }
 .retail-register-captcha-controls img { max-width: 100%; }
 .retail-register-captcha-controls input { grid-column: 1 / -1; }
}

/* Send-as-request modal */
body.retail-modal-open { overflow: hidden; }
.retail-request-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.retail-request-modal[hidden] { display: none; }
.retail-request-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 32, 43, .68); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.retail-request-modal__panel { position: relative; z-index: 1; width: min(620px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; margin: 0; padding: 26px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(15, 28, 40, .28); }
.retail-request-modal__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.retail-request-modal__header h3 { margin: 0 0 6px; font-size: 20px; }
.retail-request-modal__header p { margin: 0; }
.retail-request-modal__close { flex: 0 0 36px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #dce2e6; border-radius: 9px; background: #f7f9fa; color: #263746; font: 400 27px/1 sans-serif; cursor: pointer; }
.retail-request-modal__close:hover { background: #edf1f3; }
@media (max-width: 575.98px) {
  .retail-request-modal { align-items: end; padding: 12px; }
  .retail-request-modal__panel { width: 100%; max-height: calc(100dvh - 24px); padding: 20px; border-radius: 15px; }
  .retail-request-modal__header h3 { font-size: 19px; }
}

/* Customer forgot password: matches the customer login visual language. */
.retail-forgot-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border: 1px solid #e8edf0; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 14px 45px #26374608; }
.retail-forgot-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 40px; background: linear-gradient(145deg, #263746, #344d60); color: #fff; }
.retail-forgot-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #a47a1a; }
.retail-forgot-intro > .retail-forgot-kicker { color: #ffe4a0; }
.retail-forgot-symbol { display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; background: #ffc43f; border-radius: 18px; color: #263746; font-size: 28px; }
.retail-forgot-intro h2 { margin: 0 0 18px; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.retail-forgot-intro-copy p { max-width: 330px; margin-bottom: 20px; color: #d2dbe1; font-size: 14px; line-height: 1.8; }
.retail-forgot-browse { display: inline-flex; align-items: center; gap: 14px; color: #ffe4a0; text-decoration: none; font-size: 12px; font-weight: 600; }
.retail-forgot-browse:hover, .retail-forgot-help a:hover { color: #fff; }
.retail-forgot-help { border-top: 1px solid #ffffff26; padding-top: 22px; }
.retail-forgot-help strong { display: block; color: #fff; font-size: 13px; }
.retail-forgot-help p { margin: 6px 0 10px; color: #bdcbd5; font-size: 12px; }
.retail-forgot-help a { font-size: 12px; font-weight: 600; color: #ffe4a0; text-decoration: none; }
.retail-forgot-card { padding: clamp(28px, 4vw, 52px); min-width: 0; align-self: center; }
.retail-forgot-heading h1 { margin: 10px 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: #263746; letter-spacing: -.02em; }
.retail-forgot-heading p { margin: 0 0 28px; font-size: 13px; line-height: 1.7; color: #7b8791; }
.retail-forgot-form label { display: block; margin: 0 0 8px; color: #344653; font-size: 12px; font-weight: 600; }
.retail-forgot-form input { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 48px; border: 1px solid #dce2e6; border-radius: 9px; padding: 12px 14px; color: #263746; background: #fafbfc; font-family: inherit; font-size: 15px; }
.retail-forgot-form input::placeholder { color: #9aa5ad; }
.retail-forgot-form input:focus { outline: 2px solid #ffc43f; outline-offset: 2px; border-color: #c49b39; background: #fff; }
.retail-forgot-submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; margin-top: 26px; border: 1px solid #ffc43f; border-radius: 9px; padding: 12px 16px; background: #ffc43f; color: #263746; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.retail-forgot-submit:hover { background: #f2b82d; border-color: #f2b82d; }
.retail-forgot-login { margin-top: 28px; padding-top: 24px; border-top: 1px solid #edf0f2; text-align: center; }
.retail-forgot-login p { color: #81909a; font-size: 12px; margin: 0 0 10px; }
.retail-forgot-login a { display: flex; justify-content: center; padding: 11px 16px; border: 1px solid #dce2e6; border-radius: 9px; color: #263746; text-decoration: none; font-size: 13px; font-weight: 600; }
.retail-forgot-login a:hover { background: #f5f7f8; }
.retail-forgot-cart { display: block; width: fit-content; margin: 20px auto 0; color: #7d8c96; font-size: 12px; text-decoration: none; }
.retail-forgot-layout a:focus-visible, .retail-forgot-submit:focus-visible { outline: 2px solid #c78d00; outline-offset: 4px; }
@media (max-width: 767.98px) {
 .retail-forgot-layout { display: flex; flex-direction: column; border-radius: 18px; }
 .retail-forgot-card { order: 0; width: 100%; padding: 28px 22px; }
 .retail-forgot-intro { order: 1; padding: 24px; gap: 20px; }
 .retail-forgot-intro > .retail-forgot-kicker, .retail-forgot-symbol { display: none; }
 .retail-forgot-intro h2 { font-size: 25px; }
 .retail-forgot-intro h2 br { display: none; }
 .retail-forgot-intro-copy p { max-width: none; font-size: 13px; margin-bottom: 12px; }
 .retail-forgot-form input { font-size: 16px; }
 .retail-forgot-help { padding-top: 18px; }
}


/* Restored responsive retail header: mobile brand/search row and equal action buttons. */
.header-actions .retail-nav-link--cart .bi {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .header-top-modern .header-top-shell {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 6px;
        row-gap: 8px;
        align-items: center;
        padding-block: 6px;
    }

    .header-top-modern .header-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        min-width: 0;
    }

    .header-top-modern .header-brand-link {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .header-top-modern .header-brand-logo {
        display: block;
        width: 100%;
        max-width: 112px;
        height: auto;
        object-fit: contain;
    }

    .header-top-modern .header-search {
        display: flex;
        grid-column: 2 / 4;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        padding-bottom: 0;
    }

    .header-top-modern .header-search-form {
        width: 100%;
        min-width: 0;
        height: 42px;
    }

    .header-top-modern .header-search-icon {
        margin-inline: 9px 6px;
        flex-shrink: 0;
    }

    .header-top-modern .header-search-input {
        min-width: 0;
        padding-inline: 0 6px;
        font-size: 16px;
    }

    .header-top-modern .header-search-button {
        flex: 0 0 auto;
        height: 32px;
        min-height: 32px;
        padding-inline: 10px;
        border-radius: 7px;
        font-size: 11px;
    }

    .header-top-modern .header-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        gap: 6px;
        justify-content: stretch;
    }

    .header-top-modern .header-actions .retail-nav-link {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding-inline: 5px;
        text-align: center;
        white-space: normal;
        line-height: 1.15;
    }

    .header-top-modern .header-actions .retail-nav-link--cart {
        gap: 4px;
    }
}
