* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    text-align: start;
    overflow-x: hidden;
    width: 100%;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-body);
}

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

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    border-radius: var(--radius-control);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

.container,
.site-header__inner,
.site-footer__inner {
    max-width: var(--content-width);
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--space-4);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-black);
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 253, 248, 0.16);
}

.site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 190px;
}

.brand-lockup img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-lockup__name {
    display: grid;
    line-height: 0.82;
    text-transform: uppercase;
}

.brand-lockup__name strong,
.brand-lockup__name span {
    font-family: var(--font-display);
    letter-spacing: 0.08em;
}

.brand-lockup__name strong {
    color: var(--color-sand);
    font-size: 23px;
    font-weight: 600;
}

.brand-lockup__name span {
    color: var(--color-white);
    font-size: 13px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    flex: 1;
}

.site-nav a,
.site-header__utility a {
    color: rgba(255, 253, 248, 0.8);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-header__utility a:hover {
    color: var(--color-gold);
}

.site-header__utility {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.utility-link,
.menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 253, 248, 0.18);
    color: var(--color-white);
    background: transparent;
}

.utility-link {
    position: relative;
    padding-inline: var(--space-3);
    gap: var(--space-2);
}

.utility-link--label {
    border-color: transparent;
    color: var(--color-sand);
}

.header-badge {
    position: absolute;
    top: 3px;
    inset-inline-end: 3px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 4px;
    border-radius: 999px;
    background: var(--color-burnt);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 10px;
    line-height: 1;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    z-index: 1110;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(88vw, 390px);
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    overflow-y: auto;
    background: var(--color-black);
    color: var(--color-white);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.28);
    transform: translateX(108%);
    visibility: hidden;
    opacity: 0;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease, visibility 280ms ease;
}

.mobile-nav[hidden],
.mobile-menu-backdrop[hidden] {
    display: none;
}

.mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

[dir="rtl"] .mobile-nav {
    transform: translateX(-108%);
}

[dir="rtl"] .mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--color-dark-line);
}

.mobile-nav__header .brand-lockup {
    min-width: 0;
}

.mobile-nav__header .brand-lockup img {
    width: 52px;
    height: 52px;
}

.mobile-nav__close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 253, 248, 0.24);
    border-radius: 999px;
    background: transparent;
    color: var(--color-white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-nav__close:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: rotate(90deg);
}

.mobile-nav__links {
    display: grid;
    gap: 0;
    padding-block: var(--space-4);
}

.mobile-nav__links a {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-dark-line);
    color: rgba(255, 253, 248, 0.84);
    font-size: 20px;
    font-weight: 600;
    transition: color 180ms ease, padding 180ms ease, background-color 180ms ease;
}

.mobile-nav__links a i:last-child {
    color: var(--color-gold);
    font-size: 22px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current="page"] {
    color: var(--color-gold);
    padding-inline: var(--space-2);
}

.mobile-nav__links a:hover i:last-child,
.mobile-nav__links a[aria-current="page"] i:last-child {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-dark-line);
    color: rgba(255, 253, 248, 0.55);
    font-size: 13px;
}

.mobile-nav__footer a {
    color: var(--color-sand);
    font-weight: 700;
}

.mobile-menu-backdrop {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.56);
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-menu-backdrop.is-open {
    visibility: visible;
    opacity: 1;
}

body.has-mobile-menu {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .mobile-menu-backdrop,
    .mobile-nav__links a,
    .mobile-nav__links a i:last-child,
    .mobile-nav__close {
        transition-duration: 1ms;
    }
}

/* Account controls: keep the outer field as the only focus surface. */
.account-field__control input:not([type="checkbox"]):not([type="radio"]),
.account-field__control select,
.account-field__control textarea {
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    width: 100%;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 10px;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-ink);
    line-height: 1.3;
}

.account-field__control input:not([type="checkbox"]):not([type="radio"]):focus,
.account-field__control input:not([type="checkbox"]):not([type="radio"]):focus-visible,
.account-field__control select:focus,
.account-field__control select:focus-visible,
.account-field__control textarea:focus,
.account-field__control textarea:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.account-field__control input::placeholder,
.account-field__control textarea::placeholder {
    color: rgba(111, 101, 90, .62);
    opacity: 1;
}

/* Checkout: keep products, payment, totals, and actions in one scrolling summary. */
.cart-flow-shell .checkout-right {
    min-width: 0;
}

.cart-flow-shell .payment-summary-box {
    display: flex;
    max-height: calc(100vh - var(--header-height) - 40px);
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.cart-flow-shell .payment-summary-box .summary-items-list {
    max-height: none;
    margin-bottom: 0;
    overflow: visible;
}

.cart-flow-shell .payment-summary-box .payment-methods-section--summary {
    margin: var(--space-5) 0 0 !important;
    padding: var(--space-5) 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--color-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cart-flow-shell .payment-methods-section--summary h6 {
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
}

.cart-flow-shell .payment-summary-box > hr {
    width: 100%;
    margin: 0 !important;
    border-top-color: var(--color-line) !important;
}

@media (max-width: 767px) {
    .cart-flow-shell .payment-summary-box {
        max-height: none;
        overflow: visible;
    }
}

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

.page-intro {
    padding-block: var(--space-16) var(--space-10);
}

.page-intro--dark {
    background: var(--color-black);
    color: var(--color-white);
}

.eyebrow {
    margin-bottom: var(--space-2);
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-intro--dark .eyebrow {
    color: var(--color-gold);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
}

h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1;
}

h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}

.page-intro h1,
.page-intro h2,
.page-intro h3,
.page-intro p {
    color: inherit;
}

.section-block {
    padding-block: var(--space-16);
}

.section-block--sand {
    background: var(--color-sand);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--color-muted);
}

.section-heading h2,
.section-heading h3 {
    margin: 0;
}

.section-heading__link {
    color: var(--color-burnt);
    font-weight: 700;
    white-space: nowrap;
}

.button,
.btn-primary,
.auth-btn,
.browse-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    background: var(--color-burnt);
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.1;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.btn-primary:hover,
.auth-btn:hover,
.browse-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

.button--quiet,
.btn-outline {
    border-color: var(--color-ink);
    background: transparent;
    color: var(--color-ink);
}

.button--quiet:hover,
.btn-outline:hover {
    border-color: var(--color-burnt);
    background: var(--color-burnt);
    color: var(--color-white);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    min-height: 570px;
    background: var(--color-black);
    color: var(--color-white);
}

.home-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(32px, 6vw, 80px);
}

.home-hero__copy h1,
.home-hero__copy p {
    color: inherit;
}

.home-hero .button--quiet {
    border-color: var(--color-white);
    color: var(--color-white);
}

.home-hero .button--quiet:hover {
    border-color: var(--color-gold);
    background: var(--color-gold);
    color: var(--color-black);
}

.home-hero__copy h1 {
    max-width: 500px;
    margin: 0 0 var(--space-6);
}

.home-hero__copy p {
    max-width: 470px;
    margin: 0 0 var(--space-8);
    color: rgba(255, 253, 248, 0.75);
    font-size: 17px;
}

.home-hero__media {
    min-height: 390px;
    overflow: hidden;
    background: var(--color-sand);
}

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

.hero-dots {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-8);
}

.hero-dot {
    width: 32px;
    height: 4px;
    border: 0;
    background: rgba(255, 253, 248, 0.36);
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--color-gold);
}

.category-rail,
.store-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.category-tile {
    min-height: 180px;
    display: flex;
    align-items: end;
    padding: var(--space-6);
    overflow: hidden;
    position: relative;
    background: var(--color-black);
    color: var(--color-white);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: rgba(0, 0, 0, 0.42);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.category-tile span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1;
}

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

.store-tile,
.product-card,
.blog-card,
.content-card,
.auth-form-wrapper {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.store-tile {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5);
}

.store-tile__logo {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-control);
    background: var(--color-sand);
}

.store-tile__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-tile h3 {
    margin: 0;
    font-size: 26px;
}

.store-tile__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    color: var(--color-muted);
    font-size: 13px;
}

.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.product-card-wrapper {
    min-width: 0;
}

.product-card {
    position: relative;
    display: flex !important;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: var(--color-ink) !important;
    box-shadow: none !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift) !important;
}

.product-image {
    position: relative;
    height: 220px !important;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--color-sand) !important;
}

.product-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-card__brand-mark {
    position: absolute;
    z-index: 1;
    top: var(--space-3);
    inset-inline-start: var(--space-3);
    width: 72px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 5px 7px;
    border: 1px solid rgba(35, 30, 25, 0.12);
    border-radius: 10px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 5px 12px rgba(35, 30, 25, 0.12);
}

.product-card__brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-plus-icon {
    position: absolute;
    inset-inline-end: var(--space-3);
    bottom: var(--space-3);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--color-burnt);
}

.product-plus-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4) !important;
}

.product-vendor {
    min-width: 0;
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.product-vendor__logo {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 4px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-paper);
}

.product-vendor__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-vendor__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-title {
    min-height: 46px;
    margin: 0;
    color: var(--color-ink) !important;
    font-size: 24px !important;
    line-height: 1.05;
}

.product-meta {
    margin-top: auto;
    color: var(--color-burnt);
    font-size: 15px;
    font-weight: 700;
}

.product-meta del {
    margin-inline-start: var(--space-2);
    color: var(--color-muted);
    font-weight: 400;
}

.editorial-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    background: var(--color-burnt);
    color: var(--color-white);
}

.editorial-panel__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 72px);
}

.editorial-panel__copy h2,
.editorial-panel__copy p {
    color: inherit;
}

.editorial-panel__copy h2 {
    margin: 0 0 var(--space-4);
}

.editorial-panel__copy p {
    max-width: 500px;
    margin-bottom: var(--space-6);
    color: rgba(255, 253, 248, 0.82);
}

.editorial-panel__media {
    min-height: 320px;
    background: var(--color-sand);
}

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

.site-footer {
    background: var(--color-black);
    color: var(--color-white);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-12);
    padding-block: var(--space-12) var(--space-6);
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
    color: inherit;
}

.site-footer h3 {
    margin-bottom: var(--space-4);
    color: var(--color-sand);
    font-size: 25px;
}

.site-footer p {
    max-width: 330px;
    color: rgba(255, 253, 248, 0.68);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    margin-top: var(--space-5);
}

.site-footer__social a {
    color: var(--color-sand);
    font-size: 13px;
    font-weight: 700;
}

.site-footer__social a:hover {
    color: var(--color-gold);
}

.site-footer nav {
    display: grid;
    gap: var(--space-2);
}

.site-footer nav a {
    color: rgba(255, 253, 248, 0.72);
    transition: color 180ms ease;
}

.site-footer nav a:hover {
    color: var(--color-gold);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    max-width: var(--content-width);
    margin-inline: auto;
    padding: var(--space-4);
    border-top: 1px solid var(--color-dark-line);
    color: rgba(255, 253, 248, 0.56);
    font-size: 13px;
}

.site-footer__credit a {
    color: var(--color-sand);
    font-weight: 700;
}

.site-footer__credit a:hover {
    color: var(--color-gold);
}

.product-detail-meta-card__arrow,
.product-lightbox__nav i,
.product-lightbox__close i,
.catalog-subcategory__arrows i,
.storefront-pagination__arrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.form-control,
input.form-control,
textarea.form-control,
select.form-control,
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
    min-height: 48px;
    border: 1px solid var(--color-line);
    background: var(--color-white);
    color: var(--color-ink);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-burnt);
    box-shadow: 0 0 0 3px rgba(196, 102, 65, 0.16);
}

.breadcrumb-wrap,
.custom-page-padding,
.stores-page {
    padding-top: var(--space-12) !important;
    background: var(--color-paper) !important;
    font-family: var(--font-body) !important;
}

.breadcrumb-wrap .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumb-wrap .breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-burnt);
    font-weight: 700;
}

.breadcrumb-wrap .breadcrumb span::before {
    content: "/";
    color: var(--color-muted);
}

.cart-breadcrumb-title {
    display: inline;
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: inherit;
}

.empty-cart-inline .btn-primary {
    background: var(--color-burnt) !important;
    color: var(--color-white) !important;
}

.stores-grid {
    gap: var(--space-4) !important;
}

.vendor-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-3);
    padding: var(--space-4);
}

.vendor-search .form-control {
    min-height: 48px;
}

.category-pills {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: var(--space-2);
}

.category-pill {
    min-width: 120px;
    display: grid;
    justify-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    color: var(--color-ink);
    text-align: center;
    white-space: nowrap;
}

.category-pill:hover,
.category-pill.is-active,
.category-pill:focus-visible {
    border-color: var(--color-burnt);
    background: var(--color-sand);
    color: var(--color-ink);
}

[data-store-directory].is-loading,
[data-store-catalog].is-loading {
    cursor: progress;
}

[data-store-directory].is-loading [data-directory-content],
[data-store-catalog].is-loading [data-store-catalog-content] {
    opacity: .55;
    transition: opacity 160ms ease;
}

.category-pill img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

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

.custom-page-padding .container > div[style*="background: #F3F4F6"] {
    padding: var(--space-6) !important;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card) !important;
    background: var(--color-sand) !important;
}

.store-card,
.content-card {
    border-color: var(--color-line) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
    box-shadow: none !important;
}

.filter-btn,
.filter-category-chip,
.filter-tab,
.dropdown-menu,
.filters-bar input,
.search-input {
    border-radius: var(--radius-control) !important;
}

.filter-btn,
.filter-category-chip,
.filter-tab {
    border: 1px solid var(--color-line) !important;
    background: var(--color-white) !important;
    color: var(--color-ink) !important;
}

.filter-btn:hover,
.filter-category-chip:hover,
.filter-tab.active,
.filter-tab:hover {
    border-color: var(--color-burnt) !important;
    background: var(--color-sand) !important;
    color: var(--color-ink) !important;
}

.dropdown-menu {
    border: 1px solid var(--color-line) !important;
    background: var(--color-white) !important;
    box-shadow: var(--shadow-soft) !important;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--color-sand) !important;
    color: var(--color-ink) !important;
}

.auth-body {
    min-height: 100vh;
    overflow: auto;
    background: var(--color-paper);
}

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    min-height: 100vh;
    background: var(--color-black);
}

.auth-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.auth-right {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: var(--space-12);
    position: relative;
    background: var(--color-paper);
}

.auth-form-wrapper {
    width: min(100%, 500px);
    padding: clamp(28px, 5vw, 56px);
    box-shadow: none;
}

.auth-close-btn {
    position: absolute;
    top: var(--space-6) !important;
    inset-inline-end: var(--space-6) !important;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-sand) !important;
    color: var(--color-ink);
    font-size: 24px;
    line-height: 1;
}

.auth-logo {
    margin-bottom: var(--space-8);
}

.auth-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.auth-title,
.auth-subtitle {
    color: var(--color-ink) !important;
}

.auth-title {
    font-size: 48px !important;
    line-height: 0.95;
}

.auth-subtitle {
    color: var(--color-muted) !important;
}

.auth-btn {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: var(--space-5);
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.auth-form .form-group label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--color-ink);
    font-weight: 700;
}

.auth-form .form-group input,
.auth-form .password-input-wrapper {
    width: 100%;
}

.auth-form .form-group input:not([type="checkbox"]):not([type="hidden"]),
.auth-form .password-input-wrapper input,
.auth-form .phone-input-wrapper input[type="tel"] {
    min-height: 56px;
    padding: 0 18px;
    border-radius: var(--radius-control);
    font-size: 16px;
    line-height: 1.25;
}

.auth-form .password-input-wrapper {
    position: relative;
}

.auth-form .password-input-wrapper input {
    padding-inline-end: 56px;
}

.auth-form .toggle-password {
    position: absolute;
    inset-block: 6px;
    inset-inline-end: 2px;
    width: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--color-muted);
}

.phone-input-wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 56px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-white);
    overflow: hidden;
}

.phone-input-wrapper > input[type="tel"] {
    min-width: 0;
    height: 56px;
    border: 0 !important;
    border-radius: 0 !important;
}

.country-code {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    height: 56px;
    padding-inline: var(--space-3);
    border-inline-end: 1px solid var(--color-line);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.country-code__flag {
    font-size: 18px;
}

.verification-email {
    margin: 0 0 var(--space-6);
    color: var(--color-muted);
    font-size: 14px;
}

.verification-email strong {
    color: var(--color-ink);
}

.edit-link {
    margin-inline-start: var(--space-2);
    color: var(--color-burnt);
    font-weight: 700;
}

.otp-input-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.otp-input {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-white);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 28px;
    text-align: center;
}

.auth-status-card {
    text-align: center;
}

.auth-status-card__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto var(--space-6);
    border-radius: 50%;
    background: var(--color-burnt);
    color: var(--color-white);
    font-size: 32px;
    font-weight: 700;
}

.auth-status-card__icon--success {
    background: var(--color-gold);
    color: var(--color-black);
}

.auth-link,
.forgot-link {
    color: var(--color-burnt) !important;
}

.auth-error-text,
.error,
.text-danger {
    color: var(--color-burnt) !important;
}

.cart-section,
.profile-section,
.order-details-section {
    background: var(--color-paper) !important;
}

.cart-content-wrapper,
.checkout-left,
.checkout-right,
.profile-sidebar,
.profile-content,
.order-card,
.delivery-address-section,
.coupon-section,
.payment-section,
.cart-item,
.cart-summary {
    border-color: var(--color-line) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
    box-shadow: none !important;
}

.cart-progress-steps .step.active .step-number,
.cart-progress-steps .step.completed .step-number,
.qty-btn,
.proceed-btn,
.add-address-btn {
    background: var(--color-burnt) !important;
}

.cart-progress-steps .step.active .step-title,
.cart-progress-steps .step.completed .step-title,
.total-value,
.cart-section-summary .total-value {
    color: var(--color-burnt) !important;
}

.cart-progress-steps {
    gap: var(--space-4);
}

.cart-progress-steps .step-title {
    display: block;
    white-space: nowrap;
}

.cart-progress-steps .step-line {
    width: 64px;
    margin-inline: 0;
}

.blog-card {
    overflow: hidden;
    height: 100%;
    box-shadow: none;
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card__body {
    padding: var(--space-6);
}

.blog-card__body h3 {
    margin-bottom: var(--space-3);
    font-size: 28px;
}

/* Order details: shared storefront treatment */
.order-details-section {
    padding: var(--space-8) 0 var(--space-16) !important;
    background: var(--color-paper) !important;
}

.order-details-heading,
.order-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-6);
}

.order-details-heading {
    margin-bottom: var(--space-8);
}

.order-details-heading h1,
.order-panel-heading h2 {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 0.95;
}

.order-details-heading h1 {
    font-size: clamp(42px, 5vw, 64px);
}

.order-details-heading h1 span {
    color: var(--color-burnt);
}

.order-details-heading p {
    margin: var(--space-2) 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

.order-details-section .storefront-eyebrow {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.order-current-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
    min-width: 150px;
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
}

.order-current-status span,
.order-status-pill {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.order-current-status strong {
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.order-progress-card,
.order-items-section,
.payment-summary-card,
.shipping-address-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
    box-shadow: none !important;
}

.order-progress-card {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
}

.order-panel-heading {
    align-items: center;
    margin-bottom: var(--space-6);
}

.order-panel-heading h2 {
    font-size: 32px;
}

.order-status-pill {
    padding: var(--space-2) var(--space-3);
    border: 1px solid rgba(196, 102, 65, 0.28);
    border-radius: 999px;
    background: rgba(237, 216, 165, 0.48);
    color: var(--color-burnt);
    white-space: nowrap;
}

.order-status-notice,
.order-status-resolved {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-control);
}

.order-status-notice {
    border: 1px solid rgba(196, 102, 65, 0.24);
    background: rgba(196, 102, 65, 0.08);
}

.order-status-notice strong,
.order-status-resolved strong {
    color: var(--color-ink);
    font-weight: 800;
}

.order-status-notice span,
.order-status-resolved span {
    color: var(--color-muted);
    font-size: 14px;
}

.order-status-resolved {
    background: var(--color-sand);
}

.order-status-resolved__icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-burnt);
    color: var(--color-white) !important;
    font-size: 17px;
}

.order-status-resolved div {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.order-progress-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: var(--space-4) 0 0;
}

.order-progress-wrapper .progress-step {
    display: flex;
    flex: 0 1 150px;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    min-width: 100px;
}

.order-progress-wrapper .step-circle {
    width: 46px;
    height: 46px;
    border: 2px solid var(--color-line);
    background: var(--color-paper);
    color: var(--color-muted);
    font-weight: 800;
}

.order-progress-wrapper .step-circle i {
    color: var(--color-white);
    font-size: 17px;
}

.order-progress-wrapper .progress-step.completed .step-circle,
.order-progress-wrapper .progress-step.active .step-circle {
    border-color: var(--color-burnt);
    background: var(--color-burnt);
}

.order-progress-wrapper .progress-step.active .step-circle {
    box-shadow: 0 0 0 5px rgba(196, 102, 65, 0.16);
}

.order-progress-wrapper .step-label {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.order-progress-wrapper .progress-step.completed .step-label,
.order-progress-wrapper .progress-step.active .step-label {
    color: var(--color-ink);
}

.order-progress-wrapper .progress-line {
    flex: 1 1 80px;
    width: auto;
    height: 2px;
    margin: 23px var(--space-2) 0;
    background: var(--color-line);
    position: static;
}

.order-progress-wrapper .progress-line.completed {
    background: var(--color-burnt);
}

.order-details-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    align-items: start;
    gap: var(--space-8);
}

.order-items-section {
    padding: var(--space-6);
}

.order-item-count {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.order-detail-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: var(--space-5);
    align-items: center;
    margin: 0;
    padding: var(--space-4) 0;
    border: 0;
    border-top: 1px solid var(--color-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.order-detail-item:first-of-type {
    border-top: 0;
}

.order-detail-item .item-image {
    width: 140px;
    height: 140px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.order-detail-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-detail-item .item-info {
    min-width: 0;
}

.order-detail-item .item-vendor {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 var(--space-2);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(237, 216, 165, 0.48);
}

.order-detail-item .item-vendor span {
    color: var(--color-burnt);
    font-size: 12px;
    font-weight: 800;
}

.order-detail-item .item-title {
    margin: 0 0 var(--space-4);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 600;
    line-height: 1;
}

.item-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
}

.item-meta div {
    min-width: 0;
}

.item-meta dt {
    margin-bottom: 2px;
    color: var(--color-muted);
    font-size: 12px;
}

.item-meta dd {
    margin: 0;
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 800;
}

.item-meta .item-total {
    color: var(--color-burnt);
}

.order-details-sidebar {
    display: grid;
    gap: var(--space-5);
}

.payment-summary-card,
.shipping-address-card {
    margin: 0;
    padding: var(--space-6);
}

.payment-summary-card .order-panel-heading,
.shipping-address-card .order-panel-heading {
    margin-bottom: var(--space-5);
}

.payment-summary-card .order-panel-heading h2,
.shipping-address-card .order-panel-heading h2 {
    font-size: 28px;
}

.payment-summary-card .summary-row {
    margin-bottom: var(--space-3);
    color: var(--color-muted);
    font-size: 14px;
}

.payment-summary-card .summary-row .value {
    color: var(--color-ink);
    font-weight: 800;
}

.payment-summary-card .summary-row.total {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-line);
    border-bottom: 0;
    color: var(--color-ink);
    font-size: 16px;
}

.payment-summary-card .summary-row.total .value {
    color: var(--color-burnt);
    font-size: 18px;
}

.address-info {
    margin: 0;
}

.customer-name {
    margin-bottom: var(--space-2);
    color: var(--color-ink);
    font-size: 16px;
    font-weight: 800;
}

.address-text {
    margin-bottom: var(--space-4);
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
}

.contact-info i {
    color: var(--color-burnt);
}

.order-details-empty {
    padding: var(--space-8) 0 var(--space-4);
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
}

@media (max-width: 991px) {
    .order-details-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 767px) {
    .order-details-section {
        padding: var(--space-6) 0 var(--space-12) !important;
    }

    .order-details-heading,
    .order-panel-heading {
        gap: var(--space-4);
    }

    .order-details-heading {
        flex-direction: column;
    }

    .order-current-status {
        align-items: flex-start;
        width: 100%;
    }

    .order-progress-card,
    .order-items-section,
    .payment-summary-card,
    .shipping-address-card {
        padding: var(--space-4);
    }

    .order-progress-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-2);
    }

    .order-progress-wrapper .progress-step {
        flex: 0 0 112px;
    }

    .order-progress-wrapper .progress-line {
        flex: 0 0 34px;
    }

    .order-details-sidebar {
        grid-template-columns: 1fr;
    }

    .order-detail-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: var(--space-3);
    }

    .order-detail-item .item-image {
        width: 96px;
        height: 96px;
    }

    .order-detail-item .item-title {
        font-size: 23px;
    }

    .item-meta {
        gap: var(--space-2);
    }
}

.editorial-page__content {
    max-width: 860px;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.85;
}

.editorial-page__content > *:first-child {
    margin-top: 0;
}

.editorial-page__content > *:last-child {
    margin-bottom: 0;
}

.editorial-page__content h2,
.editorial-page__content h3,
.editorial-page__content h4 {
    margin-top: var(--space-10);
    color: var(--color-ink);
}

.editorial-page__content a {
    color: var(--color-burnt);
    font-weight: 700;
}

.editorial-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
}

.editorial-page__content blockquote {
    margin-inline: 0;
    padding: var(--space-5) var(--space-6);
    border-inline-start: 4px solid var(--color-burnt);
    background: var(--color-sand);
    color: var(--color-ink);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.vehicle-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: var(--shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.vehicle-card:hover {
    color: var(--color-ink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.vehicle-card__media {
    display: grid;
    min-height: 190px;
    place-items: center;
    padding: var(--space-5);
    background: var(--color-sand);
}

.vehicle-card__media img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

.vehicle-card__body {
    display: grid;
    gap: var(--space-3);
    padding: var(--space-5);
}

.vehicle-card__body h2 {
    margin: 0;
    font-size: 28px;
}

.vehicle-card__body span {
    color: var(--color-burnt);
    font-size: 14px;
    font-weight: 700;
}

.pagination .page-link {
    color: var(--color-burnt);
    border-color: var(--color-line);
}

.pagination .active .page-link {
    background: var(--color-burnt);
    border-color: var(--color-burnt);
    color: var(--color-white);
}

@media (max-width: 991px) {
    .site-header__inner {
        gap: var(--space-3);
    }

    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-inline-start: auto;
    }

    .site-header__utility .utility-link--label {
        display: none;
    }

    .brand-lockup {
        min-width: 0;
    }

    .home-hero,
    .editorial-panel {
        grid-template-columns: 1fr;
    }

    .home-hero__media {
        min-height: 320px;
        order: -1;
    }

    .store-rail,
    .product-grid,
    .products-grid,
    .vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .auth-container {
        grid-template-columns: 0.7fr 1.3fr;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 68px;
    }

    .brand-lockup img {
        width: 48px;
        height: 48px;
    }

    .brand-lockup__name strong {
        font-size: 19px;
    }

    .brand-lockup__name span {
        font-size: 11px;
    }

    .site-header__utility {
        margin-inline-start: auto;
    }

    .utility-link {
        padding-inline: var(--space-2);
    }

    .page-intro,
    .section-block {
        padding-block: var(--space-12) var(--space-8);
    }

    .section-heading {
        display: grid;
        gap: var(--space-3);
    }

    .home-hero__copy {
        padding: var(--space-8) var(--space-6);
    }

    .home-hero__media {
        min-height: 270px;
    }

    .category-rail,
    .store-rail,
    .product-grid,
    .products-grid,
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 140px;
    }

    .product-image {
        height: 250px !important;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .auth-container {
        display: block;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
        padding: var(--space-4);
    }

    .auth-form-wrapper {
        padding: var(--space-6);
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Cart, checkout, and form validation pass. */
.auth-form {
    display: grid;
    gap: var(--space-5);
}

.auth-form .form-group {
    margin-bottom: 0;
}

.form-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px solid rgba(196, 102, 65, 0.3);
    border-radius: var(--radius-control);
    background: rgba(237, 216, 165, 0.32);
    color: var(--color-ink);
}

.form-alert__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-burnt);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 800;
}

.form-alert strong {
    display: block;
    font-size: 14px;
}

.form-alert p {
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.field-error {
    margin: var(--space-2) 0 0;
    color: var(--color-burnt);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.field-error--terms {
    margin-top: calc(var(--space-2) * -1);
}

.auth-form input.is-invalid,
.auth-form .phone-input-wrapper:has(input.is-invalid) {
    border-color: var(--color-burnt) !important;
    background: #fffaf7 !important;
    box-shadow: 0 0 0 3px rgba(196, 102, 65, 0.12) !important;
}

.auth-form input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(196, 102, 65, 0.2) !important;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.45;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
    appearance: none;
    border: 1px solid #b9afa4;
    border-radius: 5px;
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.form-checkbox input[type="checkbox"]:checked {
    border-color: var(--color-burnt);
    background-color: var(--color-burnt);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m3 8 3 3 7-7'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px;
}

.form-checkbox input[type="checkbox"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(196, 102, 65, 0.18);
}

.form-checkbox input[type="checkbox"].is-invalid {
    outline: 2px solid var(--color-burnt);
    outline-offset: 2px;
}

.auth-form .phone-input-wrapper input::placeholder,
.auth-form input::placeholder {
    color: #83786d;
    font-size: 15px;
    opacity: 0.66;
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--color-ink);
    -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset;
    transition: background-color 9999s ease-out 0s;
}

.cart-flow-shell {
    padding-block: var(--space-6) clamp(72px, 10vw, 140px) !important;
}

.cart-flow-shell > .container {
    max-width: 1180px;
}

.cart-flow-shell .cart-content-wrapper {
    max-width: 1060px !important;
}

.cart-flow-shell .cart-progress-steps {
    margin-bottom: var(--space-10);
}

.cart-flow-shell .cart-progress-steps .step-number {
    width: 48px;
    height: 48px;
    background: #d9d6d0;
    color: #8c857c;
    font-family: var(--font-display);
    font-size: 22px;
}

.cart-flow-shell .cart-progress-steps .step-title {
    color: var(--color-muted);
    font-family: var(--font-body);
    font-size: 14px;
}

.cart-flow-shell .cart-progress-steps .step.active .step-number,
.cart-flow-shell .cart-progress-steps .step.completed .step-number {
    background: var(--color-burnt) !important;
    color: var(--color-white);
}

.cart-flow-shell .cart-progress-steps .step.active .step-title,
.cart-flow-shell .cart-progress-steps .step.completed .step-title {
    color: var(--color-burnt) !important;
}

.cart-flow-shell .cart-progress-steps .step-line {
    width: 100px;
    height: 3px;
    background: var(--color-line);
}

.cart-flow-shell .cart-items-section {
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.cart-flow-shell .order-info-header {
    margin-bottom: 0;
    padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 48px);
    border-bottom: 1px solid var(--color-line);
    border-radius: 0;
    background: var(--color-white);
}

.cart-flow-shell .order-info-header h2 {
    margin: 0;
    color: var(--color-ink);
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.9;
}

.cart-flow-shell .order-info-header .order-date {
    color: var(--color-muted);
    font-size: 15px;
}

.cart-flow-shell .cart-items-list {
    margin: 0;
    padding: var(--space-6);
    gap: var(--space-4);
    background: var(--color-white) !important;
}

.cart-flow-shell .cart-item {
    padding: var(--space-5);
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius-control) !important;
    background: var(--color-paper) !important;
}

.cart-flow-shell .cart-item .item-row-top {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: var(--space-5);
}

.cart-flow-shell .cart-item .item-image {
    width: 112px;
    height: 112px;
    border: 1px solid var(--color-line);
    background: var(--color-white);
}

.cart-flow-shell .cart-item .item-details {
    min-width: 0;
    gap: var(--space-2);
}

.cart-flow-shell .cart-item .item-details h6 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1;
}

.cart-flow-shell .cart-item .item-details p {
    color: var(--color-muted);
    font-size: 14px;
}

.cart-flow-shell .cart-item .item-price .amount {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
}

.cart-flow-shell .cart-item .item-row-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-4) !important;
    padding-inline-start: 132px;
}

.cart-flow-shell .cart-item .remove-btn {
    color: var(--color-burnt);
    font-family: var(--font-body);
    font-weight: 700;
}

.cart-flow-shell .cart-item .remove-btn:hover {
    color: var(--color-black);
}

.cart-flow-shell .quantity-control {
    min-height: 44px;
    gap: var(--space-3);
    padding: 4px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-white) !important;
}

.cart-flow-shell .quantity-control .qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-burnt) !important;
    font-size: 21px;
}

.cart-flow-shell .quantity-control .minus {
    background: var(--color-sand) !important;
    color: var(--color-burnt);
}

.cart-flow-shell .quantity-control .qty-value {
    min-width: 28px;
    color: var(--color-ink);
    font-weight: 800;
}

.cart-flow-shell .cart-section-summary {
    margin: 0;
    padding: var(--space-6);
    border: 0;
    border-top: 1px solid var(--color-line);
    border-radius: 0;
    background: var(--color-white);
    box-shadow: none;
}

.cart-flow-shell .cart-section-summary .total-label {
    color: var(--color-muted);
    font-size: 14px;
}

.cart-flow-shell .cart-section-summary .total-value {
    color: var(--color-burnt) !important;
    font-family: var(--font-display);
    font-size: 32px;
}

.cart-flow-shell .proceed-btn,
.cart-flow-shell #checkout-btn {
    min-height: 56px;
    padding-inline: var(--space-8);
    border-radius: var(--radius-control);
    background: var(--color-burnt) !important;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 800;
}

.cart-flow-shell .proceed-btn:hover,
.cart-flow-shell #checkout-btn:hover {
    background: var(--color-black) !important;
}

.cart-flow-shell .back-to-cart-btn {
    border-color: var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-white);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-weight: 700;
}

.cart-flow-shell .back-to-cart-btn:hover {
    border-color: var(--color-burnt);
    background: var(--color-sand);
    color: var(--color-ink);
}

.cart-flow-shell .checkout-two-col {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: var(--space-6);
}

.cart-flow-shell .delivery-address-section,
.cart-flow-shell .coupon-section,
.cart-flow-shell .payment-methods-section,
.cart-flow-shell .payment-summary-box {
    padding: var(--space-6);
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
    box-shadow: var(--shadow-soft) !important;
}

.cart-flow-shell .delivery-address-section .section-header,
.cart-flow-shell .payment-summary-box .summary-header {
    margin-bottom: var(--space-5);
}

.cart-flow-shell .delivery-address-section .section-header h6,
.cart-flow-shell .coupon-section h6,
.cart-flow-shell .payment-methods-section h6,
.cart-flow-shell .payment-summary-box .summary-header h5 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
}

.cart-flow-shell .delivery-address-section .address-card {
    margin-bottom: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.cart-flow-shell .delivery-address-section .address-card.selected,
.cart-flow-shell .delivery-address-section .address-card:hover {
    border-color: var(--color-burnt);
    background: #fffaf7;
}

.cart-flow-shell .delivery-address-section .address-details h6,
.cart-flow-shell .delivery-address-section .address-details p {
    font-family: var(--font-body);
}

.cart-flow-shell .delivery-address-section .address-details h6 {
    color: var(--color-burnt);
}

.cart-flow-shell .delivery-address-section .address-details p {
    color: var(--color-ink);
}

.cart-flow-shell .coupon-input-wrapper {
    min-height: 54px;
    padding: 5px 6px 5px var(--space-4);
    border-color: var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.cart-flow-shell .coupon-input-wrapper input {
    min-height: 42px;
    font-family: var(--font-body);
}

.cart-flow-shell .coupon-input-wrapper input::placeholder {
    color: #83786d;
    opacity: 0.78;
}

.cart-flow-shell #coupon-btn {
    min-height: 42px;
    border-radius: 10px;
    background: var(--color-burnt) !important;
    font-family: var(--font-body);
    font-weight: 800;
}

.cart-flow-shell .payment-methods-section {
    margin-bottom: var(--space-6) !important;
}

.cart-flow-shell .payment-method {
    margin-bottom: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.cart-flow-shell .payment-method.selected,
.cart-flow-shell .payment-method:hover {
    border-color: var(--color-burnt);
    background: #fffaf7;
}

.cart-flow-shell .payment-method .payment-name {
    color: var(--color-ink);
    font-family: var(--font-body);
    font-weight: 800;
}

.cart-flow-shell .payment-method input[type="radio"] {
    accent-color: var(--color-burnt);
}

.cart-flow-shell .payment-summary-box {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
}

.cart-flow-shell .payment-summary-box .summary-row {
    padding: var(--space-3) 0;
    background: transparent;
}

.cart-flow-shell .payment-summary-box .summary-row.total {
    margin-top: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-line);
}

.cart-flow-shell .payment-summary-box .summary-row.total .amount {
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 28px;
}

.cart-flow-shell .checkout-error-message,
.cart-flow-shell #addr-form-error {
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(196, 102, 65, 0.28);
    border-radius: 10px;
    background: rgba(237, 216, 165, 0.34);
    color: var(--color-burnt) !important;
    font-size: 13px !important;
    font-weight: 700;
}

.cart-flow-shell .checkout-error-message {
    align-items: center;
    gap: var(--space-3);
}

.cart-flow-shell .checkout-error-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-burnt);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 800;
}

.cart-flow-shell .checkout-error-copy {
    flex: 1 1 auto;
}

.cart-flow-shell .checkout-error-link {
    flex: 0 0 auto;
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-flow-shell .checkout-status-message {
    margin: 0;
    padding: var(--space-3) var(--space-4);
    border: 1px dashed var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
    color: var(--color-muted);
    font-size: 13px;
}

.cart-flow-shell .checkout-status-message--error {
    border-style: solid;
    border-color: rgba(196, 102, 65, 0.28);
    background: rgba(237, 216, 165, 0.34);
    color: var(--color-burnt);
}

.cart-flow-shell .empty-cart-inline {
    padding: clamp(48px, 8vw, 90px) 20px !important;
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.cart-flow-shell .empty-cart-inline img {
    margin-bottom: var(--space-5) !important;
    opacity: 0.72 !important;
}

.cart-flow-shell .empty-cart-inline h3 {
    margin-bottom: var(--space-5) !important;
    color: var(--color-ink) !important;
    font-size: 34px;
}

.cart-flow-shell .empty-cart-inline .btn-primary {
    background: var(--color-burnt) !important;
    color: var(--color-white) !important;
}

@media (max-width: 767px) {
    .cart-flow-shell .cart-progress-steps {
        margin-bottom: var(--space-8);
    }

    .cart-flow-shell .cart-progress-steps .step-line {
        width: 42px;
    }

    .cart-flow-shell .cart-items-list {
        padding: var(--space-4);
    }

    .cart-flow-shell .cart-item .item-row-top {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: var(--space-3);
    }

    .cart-flow-shell .cart-item .item-image {
        width: 76px;
        height: 76px;
    }

    .cart-flow-shell .cart-item .item-price {
        grid-column: 2;
        justify-self: start;
    }

    .cart-flow-shell .cart-item .item-price .amount {
        font-size: 25px;
    }

    .cart-flow-shell .cart-item .item-row-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: var(--space-3);
        padding-inline-start: 0;
    }

    .cart-flow-shell .cart-section-summary {
        align-items: stretch;
        flex-direction: column;
        gap: var(--space-4);
    }

    .cart-flow-shell .cart-section-summary .proceed-btn {
        width: 100%;
    }

    .cart-flow-shell .checkout-two-col {
        grid-template-columns: 1fr;
    }

    .cart-flow-shell .payment-summary-box {
        position: static;
    }
}

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

/* Storefront review pass: consistent cards, controls, and pagination. */
.trusted-stores-section {
    border-top: 1px solid var(--color-line);
    background: var(--color-paper);
}

.trusted-stores-section--food {
    background: var(--color-sand);
}

.trusted-stores-section--services {
    background: var(--color-white);
}

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

.stores-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4) !important;
}

.store-tile {
    min-height: 248px;
    align-items: start;
    justify-content: start;
    gap: var(--space-5);
    padding: var(--space-5);
    border-color: rgba(35, 30, 25, 0.14);
    background: var(--color-white);
    box-shadow: 0 10px 24px rgba(35, 30, 25, 0.08);
}

.store-tile:hover {
    color: var(--color-ink);
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(35, 30, 25, 0.14);
}

.store-tile__logo {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
    padding: 10px;
    border: 1px solid rgba(35, 30, 25, 0.1);
    border-radius: 14px;
    background: var(--color-paper);
}

.store-tile__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-tile__body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
    width: 100%;
}

.store-tile__eyebrow {
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.store-tile h3 {
    overflow-wrap: anywhere;
    font-size: 32px;
    line-height: 0.96;
}

.store-tile__address {
    min-height: 42px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.45;
}

.store-tile__meta {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--color-line);
    color: var(--color-burnt);
    font-size: 13px;
    font-weight: 700;
}

.product-card__media {
    position: relative;
}

.product-card__image-link,
.product-card__body-link {
    display: block;
    color: inherit;
}

.product-card__body-link {
    flex: 1;
}

.product-card__image-link:hover,
.product-card__body-link:hover {
    color: inherit;
}

.product-plus-icon {
    z-index: 2;
    bottom: var(--space-3);
    width: 46px;
    height: 46px;
    border: 3px solid var(--color-white);
    background: var(--color-burnt);
    color: var(--color-white);
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(35, 30, 25, 0.18);
}

.product-plus-icon:hover,
.product-plus-icon:focus-visible {
    background: var(--color-black);
    color: var(--color-white);
}

.product-plus-icon:disabled {
    cursor: wait;
    opacity: 0.65;
}

.catalog-page {
    background: var(--color-paper);
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.catalog-search-field {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-inline: var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.catalog-search-field__icon {
    color: var(--color-burnt);
    font-size: 25px;
    line-height: 1;
}

.catalog-search-field input {
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-ink);
}

.catalog-search-field input::placeholder,
.catalog-toolbar input::placeholder,
.vendor-search input::placeholder {
    color: #83786d;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    opacity: 0.78;
}

.catalog-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-block: var(--space-6) var(--space-4);
}

.catalog-controls__label {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
}

.filter-control,
.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-control);
    background: var(--color-white);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.filter-control:hover,
.filter-control.is-active,
.filter-chip:hover,
.filter-chip.is-active {
    border-color: var(--color-burnt);
    background: var(--color-sand);
    color: var(--color-ink);
}

.filter-menu {
    max-height: 300px;
    overflow-y: auto;
    min-width: 220px;
    padding: var(--space-2);
}

.filter-menu .dropdown-item {
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
}

.filter-reset {
    color: var(--color-burnt);
    font-size: 14px;
    font-weight: 700;
}

.filter-chips {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding-block: var(--space-2) var(--space-4);
}

.catalog-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-block: var(--space-6) var(--space-6);
}

.catalog-results-head h2 {
    margin: 0;
}

.catalog-results-count {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
}

.storefront-pagination {
    display: flex;
    justify-content: center;
    min-height: 54px;
    margin-top: var(--space-10);
}

.storefront-pagination__nav {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.storefront-pagination__pages {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.storefront-pagination__page,
.storefront-pagination__arrow {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 700;
}

.storefront-pagination__page:hover,
.storefront-pagination__arrow:hover,
.storefront-pagination__page.is-current {
    border-color: var(--color-burnt);
    background: var(--color-burnt);
    color: var(--color-white);
}

.storefront-pagination__arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.storefront-pagination__ellipsis {
    min-width: 24px;
    text-align: center;
    color: var(--color-muted);
}

.product-detail-shell {
    padding-bottom: clamp(72px, 10vw, 144px);
}

.product-detail-meta {
    margin: var(--space-6) 0 var(--space-7);
}

.product-detail-meta > .eyebrow {
    margin-bottom: var(--space-3);
    font-size: 15px;
}

.product-detail-meta__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.product-detail-meta-card {
    display: grid;
    gap: var(--space-2);
    min-width: 0;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(196, 102, 65, 0.22);
    border-radius: var(--radius-control);
    background: rgba(255, 253, 248, 0.72);
    color: var(--color-ink);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.product-detail-meta-card:hover {
    border-color: var(--color-burnt);
    background: var(--color-white);
    transform: translateY(-2px);
}

.product-detail-meta-card__label {
    color: var(--color-burnt);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail-meta-card__content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.product-detail-meta-card__content strong {
    min-width: 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-meta-card__logo {
    width: 52px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 7px;
    background: var(--color-paper);
}

.product-detail-meta-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-meta-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    color: var(--color-burnt);
    font-size: 18px;
}

@media (max-width: 991px) {
    .trusted-store-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 767px) {
    .trusted-store-rail {
        grid-template-columns: 1fr;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar {
        grid-template-columns: 1fr;
    }

    .catalog-toolbar .button {
        width: 100%;
    }

    .catalog-results-head {
        align-items: start;
        flex-direction: column;
    }

    .storefront-pagination__page,
    .storefront-pagination__arrow {
        min-width: 38px;
        height: 38px;
    }

    .product-detail-meta__grid {
        grid-template-columns: 1fr;
    }
}

/* Overland landing page: a clear browse-to-buy hierarchy for the full parts catalogue. */
.overland-hero {
    padding-block: clamp(56px, 8vw, 104px);
}

.overland-hero__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-10);
}

.overland-hero__description {
    max-width: 620px;
    margin: var(--space-5) 0 0;
    color: rgba(255, 253, 248, 0.76);
    font-size: 17px;
}

.overland-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 1px;
    min-width: min(100%, 340px);
    border: 1px solid var(--color-dark-line);
    background: var(--color-dark-line);
}

.overland-hero__stats div {
    display: grid;
    gap: 2px;
    padding: var(--space-4);
    background: var(--color-black);
}

.overland-hero__stats strong {
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 38px;
    line-height: 0.9;
}

.overland-hero__stats span {
    color: rgba(255, 253, 248, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.overland-page {
    background: var(--color-paper);
}

.overland-page > .container {
    display: grid;
    gap: clamp(64px, 9vw, 112px);
}

.overland-section {
    min-width: 0;
}

.overland-category-grid,
.overland-brand-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-4);
}

.overland-category-card,
.overland-brand-card {
    min-width: 0;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.overland-category-card:hover,
.overland-brand-card:hover {
    border-color: var(--color-burnt);
    color: var(--color-ink);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.overland-category-card__image {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid var(--color-burnt);
    border-radius: 50%;
    background: var(--color-black);
}

.overland-category-card__image img {
    width: 100%;
    height: 100%;
    padding: 7px;
    border-radius: 50%;
    object-fit: cover;
}

.overland-category-card__title,
.overland-brand-card__title {
    width: 100%;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 0.98;
    text-transform: uppercase;
}

.overland-category-card__link {
    color: var(--color-burnt);
    font-size: 12px;
    font-weight: 700;
}

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

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

.overland-brand-card {
    align-content: stretch;
    min-height: 176px;
    padding: var(--space-4);
}

.overland-brand-card__logo {
    width: 100%;
    height: 76px;
    display: grid;
    place-items: center;
    padding: var(--space-3);
    border-radius: var(--radius-control);
    background: var(--color-paper);
}

.overland-brand-card__logo img {
    max-width: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.overland-brand-card__title {
    font-size: 23px;
}

.overland-brand-card__count {
    margin-top: auto;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .overland-category-grid,
    .overland-brand-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .overland-hero__inner {
        align-items: start;
        flex-direction: column;
    }

    .overland-hero__stats {
        width: min(100%, 420px);
    }

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

@media (max-width: 767px) {
    .overland-hero__stats {
        width: 100%;
        min-width: 0;
    }

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

    .overland-category-card__image {
        width: 96px;
        height: 96px;
    }

    .overland-category-card__title,
    .overland-brand-card__title {
        font-size: 22px;
    }

    .overland-store-grid,
    .overland-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile browse rails and compact two-column product cards. */
@media (max-width: 767px) {
    .overland-category-grid,
    .overland-brand-grid {
        display: flex;
        grid-template-columns: none;
        gap: var(--space-3);
        margin-inline: 0;
        padding-inline: 0 var(--space-6);
        padding-block: var(--space-2) var(--space-4);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: inline mandatory;
        scrollbar-width: thin;
        scrollbar-color: var(--color-burnt) transparent;
        -webkit-overflow-scrolling: touch;
    }

    .overland-category-card {
        flex: 0 0 162px;
        scroll-snap-align: start;
    }

    .overland-brand-card {
        flex: 0 0 174px;
        scroll-snap-align: start;
    }

    .overland-brand-card__logo {
        overflow: hidden;
        box-sizing: border-box;
    }

    .overland-brand-card__logo img {
        display: block;
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .product-grid,
    .products-grid,
    .overland-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-3);
    }

    .product-image {
        height: clamp(156px, 43vw, 190px) !important;
    }

    .product-info {
        gap: var(--space-2);
        padding: var(--space-3) !important;
    }

    .product-title {
        min-height: 40px;
        font-size: clamp(18px, 4.8vw, 22px) !important;
    }

    .product-meta {
        font-size: 14px;
    }

    .storefront-pagination {
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        padding-block: var(--space-1);
    }
}

@media (min-width: 768px) {
    .overland-brand-card__logo {
        overflow: hidden;
        box-sizing: border-box;
    }

    .overland-brand-card__logo img {
        display: block;
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
}

/* Store and catalogue navigation details. */
.breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-7);
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.breadcrumb-trail a {
    color: var(--color-burnt);
}

.breadcrumb-trail a:hover {
    color: var(--color-ink);
}

.page-intro--dark .breadcrumb-trail {
    color: rgba(255, 253, 248, .58);
}

.page-intro--dark .breadcrumb-trail a {
    color: var(--color-gold);
}

.page-intro--dark .breadcrumb-trail a:hover {
    color: var(--color-white);
}

.breadcrumb-trail__separator {
    color: currentColor;
    opacity: .55;
}

.store-hero {
    padding-block: clamp(52px, 7vw, 88px) var(--space-12);
}

.store-hero__identity {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.store-hero__logo {
    width: 112px;
    height: 112px;
    flex: 0 0 auto;
    padding: 12px;
    border: 1px solid rgba(35, 30, 25, .14);
    border-radius: 20px;
    background: var(--color-paper);
}

.store-hero__copy {
    min-width: 0;
}

.store-hero__copy h1 {
    margin-bottom: var(--space-3);
}

.store-hero__address,
.store-hero__description {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 253, 248, .76) !important;
}

.store-hero__address {
    color: var(--color-gold) !important;
    font-size: 15px;
    font-weight: 700;
}

.store-hero__description {
    margin-top: var(--space-3);
    font-size: 16px;
    line-height: 1.55;
}

.store-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    width: fit-content;
    max-width: 100%;
    margin-top: var(--space-8);
    border: 1px solid var(--color-dark-line);
    background: var(--color-dark-line);
}

.store-hero__facts div {
    display: grid;
    gap: 3px;
    min-width: 132px;
    max-width: 300px;
    padding: var(--space-4) var(--space-5);
    background: var(--color-black);
}

.store-hero__facts strong {
    overflow-wrap: anywhere;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
}

.store-hero__facts span {
    color: rgba(255, 253, 248, .58);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-subcategory {
    margin-block: var(--space-7) var(--space-2);
}

.catalog-subcategory__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.catalog-subcategory__heading--chips-only {
    justify-content: flex-end;
    margin-bottom: var(--space-2);
}

.catalog-subcategory__heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
}

.catalog-subcategory__heading .eyebrow {
    margin-bottom: 3px;
}

.catalog-subcategory__arrows {
    display: flex;
    gap: var(--space-2);
}

.catalog-subcategory__arrows button {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-ink);
    font-size: 19px;
    font-weight: 700;
}

.catalog-subcategory__arrows button:hover,
.catalog-subcategory__arrows button:focus-visible {
    border-color: var(--color-burnt);
    background: var(--color-burnt);
    color: var(--color-white);
}

.catalog-subcategory__viewport {
    display: flex;
    gap: var(--space-2);
    max-width: 100%;
    padding-block: var(--space-1) var(--space-3);
    overflow-x: auto;
    scrollbar-color: var(--color-burnt) transparent;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
}

.catalog-subcategory__viewport .filter-chip {
    flex: 0 0 auto;
}

.mobile-filter-bar {
    display: none;
}

.filter-sheet {
    display: none;
}

@media (max-width: 767px) {
    .breadcrumb-trail {
        margin-bottom: var(--space-5);
        font-size: 12px;
    }

    .store-hero__identity {
        align-items: flex-start;
        gap: var(--space-4);
    }

    .store-hero__logo {
        width: 82px;
        height: 82px;
        padding: 8px;
        border-radius: 15px;
    }

    .store-hero__copy h1 {
        font-size: clamp(35px, 11vw, 58px);
    }

    .store-hero__address,
    .store-hero__description {
        font-size: 14px;
    }

    .store-hero__facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .store-hero__facts div {
        min-width: 0;
        max-width: none;
        padding: var(--space-3);
    }

    .store-hero__facts strong {
        font-size: 20px;
    }

    .mobile-filter-bar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-2);
        margin-block: var(--space-5) var(--space-2);
    }

    .mobile-filter-trigger {
        min-width: 0;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        padding: var(--space-2) var(--space-3);
        border: 1px solid var(--color-line);
        border-radius: 999px;
        background: var(--color-white);
        color: var(--color-ink);
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 700;
    }

    .mobile-filter-trigger.is-active,
    .mobile-filter-trigger:hover,
    .mobile-filter-trigger:focus-visible {
        border-color: var(--color-burnt);
        background: var(--color-sand);
    }

    .catalog-controls--desktop {
        display: none;
    }

    .catalog-subcategory {
        margin-top: var(--space-5);
    }

    .catalog-subcategory__heading h2 {
        font-size: 31px;
    }

    .catalog-subcategory__arrows button {
        width: 35px;
        height: 35px;
    }

    .catalog-category-chips {
        margin-top: var(--space-3);
    }

    .filter-sheet {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease, visibility 160ms ease;
    }

    .filter-sheet.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .filter-sheet__backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: rgba(15, 13, 11, .62);
    }

    .filter-sheet__panel {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        max-height: min(78vh, 640px);
        overflow-y: auto;
        padding: var(--space-3) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0;
        background: var(--color-paper);
        box-shadow: 0 -18px 48px rgba(15, 13, 11, .22);
        transform: translateY(18px);
        transition: transform 180ms ease;
    }

    .filter-sheet.is-open .filter-sheet__panel {
        transform: translateY(0);
    }

    .filter-sheet__handle {
        width: 42px;
        height: 4px;
        margin: 0 auto var(--space-3);
        border-radius: 99px;
        background: var(--color-line);
    }

    .filter-sheet__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        padding-bottom: var(--space-3);
        border-bottom: 1px solid var(--color-line);
    }

    .filter-sheet__header h2 {
        margin: 0;
        font-size: 31px;
    }

    .filter-sheet__header button {
        width: 38px;
        height: 38px;
        border: 1px solid var(--color-line);
        border-radius: 50%;
        background: var(--color-white);
        color: var(--color-ink);
        font-size: 24px;
        line-height: 1;
    }

    .filter-sheet__options {
        display: grid;
        gap: var(--space-2);
        padding-top: var(--space-3);
    }

    .filter-sheet__option {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: var(--space-3) var(--space-4);
        border: 1px solid transparent;
        border-radius: 12px;
        background: var(--color-white);
        color: var(--color-ink);
        font-size: 14px;
        font-weight: 700;
    }

    .filter-sheet__option.is-active,
    .filter-sheet__option:hover,
    .filter-sheet__option:focus-visible {
        border-color: var(--color-burnt);
        color: var(--color-burnt);
    }

    body.has-filter-sheet {
        overflow: hidden;
    }
}

/* Consistent catalogue rails and scroll-to-load pagination. */
.catalog-heading__address,
.catalog-heading__description {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 253, 248, .76) !important;
}

.catalog-heading__address {
    color: var(--color-gold) !important;
    font-size: 15px;
    font-weight: 700;
}

.catalog-heading__description {
    margin-top: var(--space-3);
    font-size: 16px;
    line-height: 1.55;
}

.catalog-category-nav {
    margin-top: var(--space-7);
}

.catalog-slider-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.catalog-slider-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
}

.catalog-slider-heading .eyebrow {
    margin-bottom: 3px;
}

.catalog-category-viewport {
    display: flex;
    gap: var(--space-2);
    max-width: 100%;
    padding-block: var(--space-1) var(--space-3);
    overflow-x: auto;
    scrollbar-color: var(--color-burnt) transparent;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
}

.catalog-slider-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.catalog-slider-row .catalog-category-viewport,
.catalog-slider-row .catalog-subcategory__viewport {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-slider-row .catalog-subcategory__arrows {
    flex: 0 0 auto;
}

.catalog-category-viewport .filter-chip {
    flex: 0 0 auto;
}

.catalog-load-more {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-7);
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 700;
}

.catalog-load-more[hidden] {
    display: none;
}

.catalog-load-more__spinner {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 2px solid var(--color-line);
    border-top-color: var(--color-burnt);
    border-radius: 50%;
    opacity: .45;
}

.catalog-load-more.is-loading .catalog-load-more__spinner,
.catalog-page.is-loading .catalog-load-more__spinner {
    animation: storefront-spin 700ms linear infinite;
    opacity: 1;
}

.catalog-page.is-loading [data-catalog-content] {
    opacity: .55;
    transition: opacity 160ms ease;
}

@keyframes storefront-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .catalog-heading__address,
    .catalog-heading__description {
        font-size: 14px;
    }

    .catalog-category-nav {
        margin-top: var(--space-5);
    }

    .catalog-slider-heading h2 {
        font-size: 31px;
    }
}

/* Account settings redesign */
.account-settings-breadcrumb {
    background: var(--color-paper) !important;
    border-bottom: 1px solid var(--color-line);
}

.account-settings-breadcrumb .breadcrumb {
    min-height: 56px;
    margin: 0;
}

.account-settings-page {
    min-height: calc(100vh - 170px);
    padding: clamp(28px, 4vw, 56px) 0 88px;
}

.account-settings-layout {
    display: grid;
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.account-settings-sidebar {
    position: sticky;
    top: 112px;
    min-width: 0;
}

.account-settings-page .profile-sidebar {
    min-height: 0;
    padding: 22px;
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
}

.account-settings-page .sidebar-title {
    margin: 0 0 20px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    text-transform: none;
}

.account-settings-page .profile-menu li {
    margin: 0 0 8px;
}

.account-settings-page .profile-menu li:last-child {
    margin-bottom: 0;
}

.account-settings-page .profile-menu li a {
    min-height: 58px;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.account-settings-page .profile-menu li a:hover {
    border-color: var(--color-line);
    background: var(--color-paper);
    box-shadow: none;
    color: var(--color-ink);
    transform: translateX(2px);
}

.account-settings-page .profile-menu li.active a {
    border-color: rgba(196, 102, 65, .34);
    background: #fff3ec;
    box-shadow: none;
    color: var(--color-burnt);
}

.account-settings-page .profile-menu li a span,
.account-settings-page .profile-menu li.active a span {
    color: inherit;
}

.account-settings-page .profile-menu li a .icon-circle {
    width: 38px;
    height: 38px;
    margin: 0;
    background: var(--color-paper);
    color: var(--color-muted);
}

.account-settings-page .profile-menu li a .icon-circle i {
    color: inherit;
    font-size: 16px;
}

.account-settings-page .profile-menu li.active a .icon-circle {
    background: var(--color-burnt) !important;
    color: var(--color-white);
}

.account-settings-page .profile-menu li a i.fi-rs-angle-right {
    margin-inline-start: auto;
    color: currentColor;
    font-size: 14px;
}

.account-settings-main {
    min-width: 0;
}

.account-settings-intro {
    margin-bottom: 28px;
}

.account-settings-intro__eyebrow,
.account-settings-card__eyebrow,
.account-profile-summary__eyebrow {
    display: block;
    color: var(--color-burnt);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.account-settings-intro h1 {
    margin: 8px 0 6px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 600;
    line-height: .9;
}

.account-settings-intro p {
    max-width: 600px;
    margin: 0;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.6;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid rgba(52, 133, 84, .25);
    border-radius: 14px;
    background: #eef9f1;
    color: #286d43;
    font-size: 14px;
    font-weight: 700;
}

.form-alert i {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: #4caf70;
    color: #fff;
    font-size: 12px;
}

.account-settings-card {
    margin: 0;
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: 0 18px 50px rgba(26, 23, 20, .06);
}

.account-profile-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-line);
}

.account-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    padding: 4px;
    border: 1px solid rgba(196, 102, 65, .24);
    border-radius: 50%;
    background: var(--color-sand);
}

.account-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-paper);
    object-fit: cover;
}

.account-avatar__edit {
    position: absolute;
    right: -4px;
    bottom: 0;
    display: grid;
    width: 32px;
    height: 32px;
    margin: 0;
    place-items: center;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    background: var(--color-burnt);
    color: var(--color-white);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.account-avatar__edit:hover {
    background: var(--color-ink);
    transform: scale(1.06);
}

.account-avatar__edit i {
    font-size: 13px;
}

.account-avatar__input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.account-profile-summary__copy {
    min-width: 0;
}

.account-profile-summary__copy h2 {
    overflow: hidden;
    margin: 5px 0 2px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-summary__copy p {
    overflow: hidden;
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-settings-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 0 22px;
}

.account-settings-card__heading h2 {
    margin: 6px 0 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    line-height: .95;
}

.account-settings-card__step {
    color: var(--color-burnt);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.account-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.account-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.account-field--wide {
    grid-column: 1 / -1;
}

.account-field > label,
.account-field > legend {
    display: block;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 800;
}

.account-field__control {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: var(--color-paper);
    color: var(--color-muted);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.account-field__control:focus-within {
    border-color: var(--color-burnt);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(196, 102, 65, .12);
}

.account-field__control > i {
    flex: 0 0 auto;
    color: var(--color-burnt);
    font-size: 17px;
}

.account-field__control input {
    min-width: 0;
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
}

.account-field__control input::placeholder {
    color: rgba(111, 101, 90, .62);
    opacity: 1;
}

.account-field__control input[type="date"] {
    color-scheme: light;
}

.account-phone-field {
    gap: 0;
}

.account-phone-field__prefix {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 104px;
    margin-inline-end: 14px;
    padding-inline-end: 14px;
    border-inline-end: 1px solid var(--color-line);
    color: var(--color-ink);
    font-size: 15px;
    font-weight: 800;
}

.account-phone-field__prefix img {
    width: 23px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.account-date-field input {
    cursor: pointer;
}

.account-field__error {
    display: block;
    margin-top: 7px;
    color: var(--color-burnt);
    font-size: 12px;
    font-weight: 700;
}

.account-choice-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.account-choice-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.account-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    gap: 8px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: var(--color-paper);
    color: var(--color-ink);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.account-choice-input:checked + .account-choice {
    border-color: var(--color-burnt);
    background: #fff3ec;
    color: var(--color-burnt);
}

.account-choice-input:focus-visible + .account-choice {
    outline: 3px solid rgba(196, 102, 65, .22);
    outline-offset: 2px;
}

.account-choice__icon {
    font-size: 18px;
    line-height: 1;
}

.account-settings-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px 0;
}

.account-settings-actions p {
    max-width: 420px;
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.5;
}

.account-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 56px;
    gap: 18px;
    padding: 12px 22px;
    border: 0;
    border-radius: 14px;
    background: var(--color-burnt);
    color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 600;
    line-height: 1;
    transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.account-save-button:hover {
    background: var(--color-ink);
    transform: translateY(-2px);
}

.account-save-button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.account-save-button.is-loading i {
    animation: storefront-spin 700ms linear infinite;
}

html[lang="ar"] .account-save-button i {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .account-settings-page {
        padding: 22px 0 56px;
    }

    .account-settings-layout {
        display: block;
    }

    .account-settings-sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .account-settings-page .profile-sidebar {
        padding: 16px;
        border-radius: 18px !important;
    }

    .account-settings-page .sidebar-title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .account-settings-page .profile-menu {
        display: flex;
        gap: 8px;
        margin: 0 -2px;
        overflow-x: auto;
        padding: 2px;
        scrollbar-width: none;
    }

    .account-settings-page .profile-menu::-webkit-scrollbar {
        display: none;
    }

    .account-settings-page .profile-menu li,
    .account-settings-page .profile-menu li:last-child {
        flex: 0 0 auto;
        margin: 0;
    }

    .account-settings-page .profile-menu li a {
        min-width: 148px;
        min-height: 52px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .account-settings-page .profile-menu li a .icon-circle {
        width: 34px;
        height: 34px;
    }

    .account-settings-page .profile-menu li a i.fi-rs-angle-right {
        display: none;
    }

    .account-settings-intro {
        margin-bottom: 20px;
    }

    .account-settings-intro h1 {
        font-size: 50px;
    }

    .account-settings-intro p {
        font-size: 15px;
    }

    .account-settings-card {
        padding: 22px 16px;
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(26, 23, 20, .05);
    }

    .account-profile-summary {
        align-items: flex-start;
        gap: 14px;
        padding-bottom: 22px;
    }

    .account-avatar {
        width: 76px;
        height: 76px;
    }

    .account-avatar__edit {
        width: 28px;
        height: 28px;
    }

    .account-profile-summary__copy h2 {
        max-width: calc(100vw - 150px);
        font-size: 28px;
    }

    .account-profile-summary__copy p {
        max-width: calc(100vw - 150px);
        font-size: 13px;
    }

    .account-settings-card__heading {
        margin: 22px 0 18px;
    }

    .account-settings-card__heading h2 {
        font-size: 30px;
    }

    .account-fields-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .account-field--wide {
        grid-column: auto;
    }

    .account-settings-actions {
        display: block;
        padding: 16px 2px 0;
    }

    .account-settings-actions p {
        margin-bottom: 14px;
    }

    .account-save-button {
        width: 100%;
        min-height: 56px;
    }
}

/* Keep legacy page styles from replacing the Arabic design-system font. */
html[lang="ar"] body.storefront *:not(i) {
    font-family: var(--font-body) !important;
}

html[lang="ar"] body.storefront .brand-lockup__name strong,
html[lang="ar"] body.storefront .brand-lockup__name span {
    font-family: var(--font-display-latin) !important;
}

html[lang="ar"] body.storefront i[class^="fi-"],
html[lang="ar"] body.storefront i[class*=" fi-"] {
    font-family: "uicons-regular-straight" !important;
}

/* Shared profile workspace */
.profile-breadcrumb {
    border-bottom: 1px solid var(--color-line);
}

.profile-page-shell {
    min-height: calc(100vh - 170px);
    padding: clamp(28px, 4vw, 64px) 0 96px;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(220px, 264px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

.profile-layout__sidebar {
    position: sticky;
    top: 112px;
    min-width: 0;
}

.profile-layout__content {
    min-width: 0;
}

.profile-page-shell .profile-sidebar {
    min-height: 0;
    padding: 24px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: 0 18px 50px rgba(26, 23, 20, .05);
}

.profile-sidebar__heading {
    margin-bottom: 22px;
}

.profile-sidebar__eyebrow,
.profile-content__eyebrow,
.profile-order-card__eyebrow {
    display: block;
    color: var(--color-burnt);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.profile-sidebar__heading h2 {
    margin: 7px 0 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 31px;
    font-weight: 600;
    line-height: .95;
}

.profile-menu {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-menu__link {
    display: flex;
    align-items: center;
    min-height: 62px;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-menu__link:hover,
.profile-menu__link:focus-visible {
    border-color: var(--color-line);
    background: var(--color-paper);
    color: var(--color-ink);
    transform: translateX(2px);
}

.profile-menu__link.is-active {
    border-color: rgba(196, 102, 65, .34);
    background: #fff3ec;
    color: var(--color-burnt);
}

.profile-menu__icon {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--color-paper);
    color: var(--color-muted);
    font-size: 17px;
    transition: background-color 180ms ease, color 180ms ease;
}

.profile-menu__link.is-active .profile-menu__icon {
    background: var(--color-burnt);
    color: var(--color-white);
}

.profile-menu__label {
    min-width: 0;
    flex: 1 1 auto;
}

.profile-menu__arrow {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 17px;
}

.profile-content {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius-card) !important;
    background: var(--color-white) !important;
    box-shadow: 0 18px 50px rgba(26, 23, 20, .05) !important;
}

.profile-content__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.profile-content__header h1 {
    margin: 8px 0 7px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 600;
    line-height: .9;
}

.profile-content__header p {
    max-width: 610px;
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.65;
}

.profile-count-badge {
    display: inline-flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(196, 102, 65, .28);
    border-radius: 999px;
    background: #fff3ec;
    color: var(--color-burnt);
    white-space: nowrap;
}

.profile-count-badge strong {
    font-size: 19px;
}

.profile-count-badge span {
    font-size: 12px;
    font-weight: 800;
}

.wishlist-list,
.profile-orders-list {
    display: grid;
    gap: 16px;
}

.wishlist-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: var(--color-paper);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wishlist-card:hover {
    border-color: rgba(196, 102, 65, .42);
    box-shadow: 0 12px 28px rgba(26, 23, 20, .07);
    transform: translateY(-2px);
}

.wishlist-card__image {
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: var(--color-white);
}

.wishlist-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wishlist-card__body {
    min-width: 0;
}

.wishlist-card__context {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 8px;
    color: var(--color-burnt);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wishlist-card__context span + span {
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--color-line);
}

.wishlist-card__body h2 {
    margin: 0 0 8px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 600;
    line-height: .98;
}

.wishlist-card__body h2 a {
    color: inherit;
}

.wishlist-card__body p {
    max-width: 600px;
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.55;
}

.wishlist-card__aside {
    display: grid;
    justify-items: end;
    gap: 18px;
}

.profile-money {
    color: var(--color-ink);
    font-size: 22px;
    white-space: nowrap;
}

.profile-money span,
.profile-order-card__total strong small {
    margin-inline-end: 3px;
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.wishlist-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.wishlist-card__actions form {
    margin: 0;
}

.profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.profile-button:hover,
.profile-button:focus-visible {
    transform: translateY(-2px);
}

.profile-button--primary {
    background: var(--color-burnt);
    color: var(--color-white);
}

.profile-button--primary:hover,
.profile-button--primary:focus-visible {
    background: var(--color-ink);
    color: var(--color-white);
}

.profile-button--secondary {
    border-color: rgba(196, 102, 65, .4);
    background: transparent;
    color: var(--color-burnt);
}

.profile-button--secondary:hover,
.profile-button--secondary:focus-visible {
    background: #fff3ec;
    color: var(--color-burnt);
}

.profile-button--danger {
    background: #b83d37;
    color: var(--color-white);
}

.profile-button--danger:hover,
.profile-button--danger:focus-visible {
    background: #8f2d29;
    color: var(--color-white);
}

.profile-empty-state {
    display: grid;
    justify-items: center;
    min-height: 440px;
    align-content: center;
    padding: 44px 20px;
    text-align: center;
}

.profile-empty-state__icon {
    display: grid;
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 50%;
    background: #fff3ec;
    color: var(--color-burnt);
    font-size: 31px;
}

.profile-empty-state h1,
.profile-empty-state h2 {
    margin: 7px 0 8px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: .95;
}

.profile-empty-state p {
    max-width: 470px;
    margin: 0 0 22px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.orders-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
    border: 1px solid var(--color-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-paper);
}

.orders-summary-strip div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
}

.orders-summary-strip div + div {
    border-inline-start: 1px solid var(--color-line);
}

.orders-summary-strip strong {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 27px;
    line-height: .9;
}

.orders-summary-strip span {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 800;
}

.order-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.order-filter-tab {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.order-filter-tab:hover,
.order-filter-tab:focus-visible,
.order-filter-tab.is-active {
    border-color: var(--color-burnt);
    background: var(--color-burnt);
    color: var(--color-white);
}

.profile-order-card {
    border: 1px solid var(--color-line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-white);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.profile-order-card:hover {
    border-color: rgba(196, 102, 65, .42);
    box-shadow: 0 12px 28px rgba(26, 23, 20, .07);
}

.profile-order-card[hidden] {
    display: none;
}

.profile-order-card__header,
.profile-order-card__body,
.profile-order-card__footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
}

.profile-order-card__header {
    justify-content: space-between;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-paper);
}

.profile-order-card__header h2 {
    margin: 4px 0 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 600;
    line-height: .9;
}

.profile-order-card__date {
    display: grid;
    gap: 3px;
    margin-inline-start: auto;
    color: var(--color-muted);
    font-size: 11px;
}

.profile-order-card__date strong {
    color: var(--color-ink);
    font-size: 13px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.profile-status--active {
    background: #eef9f1;
    color: #2d8150;
}

.profile-status--delivered {
    background: #edf3ff;
    color: #315ea8;
}

.profile-status--cancelled {
    background: #fff0ee;
    color: #b83d37;
}

.profile-order-card__body {
    align-items: stretch;
    justify-content: space-between;
    background: var(--color-white);
}

.profile-order-card__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.profile-order-item {
    display: flex;
    align-items: center;
    min-width: 190px;
    max-width: 280px;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.profile-order-item__image {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-paper);
}

.profile-order-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.profile-order-item__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.profile-order-item__copy small {
    overflow: hidden;
    color: var(--color-burnt);
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-order-item__copy strong {
    overflow: hidden;
    color: var(--color-ink);
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-order-item__copy > span,
.profile-order-item__more {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 700;
}

.profile-order-item__more {
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--color-paper);
}

.profile-order-card__total {
    display: grid;
    align-content: center;
    justify-items: end;
    min-width: 130px;
    gap: 4px;
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 11px;
    text-align: end;
}

.profile-order-card__total strong {
    color: var(--color-ink);
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

.profile-order-card__footer {
    justify-content: space-between;
    border-top: 1px solid var(--color-line);
    background: var(--color-paper);
    color: var(--color-muted);
    font-size: 11px;
}

@media (max-width: 991px) {
    .wishlist-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .wishlist-card__image {
        width: 112px;
        height: 112px;
    }

    .wishlist-card__aside {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .profile-order-card__body {
        display: grid;
    }

    .profile-order-card__total {
        justify-items: start;
        padding: 12px 0 0;
        border-top: 1px solid var(--color-line);
        border-inline-start: 0;
        text-align: start;
    }
}

@media (max-width: 767px) {
    .profile-page-shell {
        padding: 22px 0 60px;
    }

    .profile-layout {
        display: block;
    }

    .profile-layout__sidebar {
        position: static;
        margin-bottom: 18px;
    }

    .profile-page-shell .profile-sidebar {
        padding: 16px;
        border-radius: 18px;
    }

    .profile-sidebar__heading {
        margin-bottom: 12px;
    }

    .profile-sidebar__heading h2 {
        font-size: 25px;
    }

    .profile-menu {
        display: flex;
        gap: 8px;
        margin-inline: -2px;
        overflow-x: auto;
        padding: 2px;
        scrollbar-width: none;
    }

    .profile-menu::-webkit-scrollbar {
        display: none;
    }

    .profile-menu__link {
        min-width: 152px;
        min-height: 52px;
        flex: 0 0 auto;
        padding: 7px 10px;
        font-size: 12px;
    }

    .profile-menu__icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .profile-menu__arrow {
        display: none;
    }

    .profile-content {
        padding: 22px 16px;
        border-radius: 20px !important;
    }

    .profile-content__header {
        display: grid;
        gap: 14px;
        margin-bottom: 22px;
    }

    .profile-content__header h1 {
        font-size: 48px;
    }

    .profile-count-badge {
        justify-self: start;
    }

    .wishlist-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
        border-radius: 16px;
    }

    .wishlist-card__image {
        width: 82px;
        height: 82px;
        border-radius: 11px;
    }

    .wishlist-card__context {
        gap: 4px 8px;
        margin-bottom: 5px;
        font-size: 9px;
    }

    .wishlist-card__context span + span {
        padding-inline-start: 8px;
    }

    .wishlist-card__body h2 {
        margin-bottom: 4px;
        font-size: 23px;
    }

    .wishlist-card__body p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .wishlist-card__aside {
        grid-column: 1 / -1;
        align-items: flex-start;
        display: grid;
        gap: 10px;
    }

    .wishlist-card__actions {
        justify-content: stretch;
        width: 100%;
    }

    .wishlist-card__actions form,
    .wishlist-card__actions .profile-button {
        flex: 1 1 0;
        width: 100%;
    }

    .profile-button {
        min-height: 43px;
        padding: 9px 10px;
        font-size: 11px;
    }

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

    .orders-summary-strip div:nth-child(3) {
        border-top: 1px solid var(--color-line);
    }

    .orders-summary-strip div:nth-child(3),
    .orders-summary-strip div:nth-child(4) {
        border-inline-start: 0;
    }

    .orders-summary-strip div:nth-child(even) {
        border-inline-start: 1px solid var(--color-line);
    }

    .orders-summary-strip div {
        padding: 12px;
    }

    .profile-order-card__header {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 14px;
    }

    .profile-order-card__date {
        margin-inline-start: 0;
        justify-items: end;
        text-align: end;
    }

    .profile-status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .profile-order-card__body,
    .profile-order-card__footer {
        padding: 14px;
    }

    .profile-order-card__items {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profile-order-item {
        min-width: 0;
        max-width: none;
    }

    .profile-order-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .profile-order-card__footer .profile-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-menu__link,
    .wishlist-card,
    .profile-button,
    .profile-order-card,
    .profile-menu__icon {
        transition-duration: 1ms;
    }
}

/* Shared storefront feedback for cart actions and validation. */
.storefront-toast[hidden] {
    display: none !important;
}

.storefront-toast {
    position: fixed;
    inset-inline-end: 24px;
    bottom: 24px;
    z-index: 10050;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: 12px;
    width: min(430px, calc(100vw - 32px));
    min-height: 68px;
    padding: 14px 14px 14px 18px;
    border: 1px solid rgba(255, 253, 248, .32);
    border-radius: 16px;
    background: var(--color-ink);
    color: var(--color-white);
    box-shadow: 0 18px 48px rgba(26, 23, 20, .26);
    font-family: var(--font-body);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.storefront-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.storefront-toast[data-type="success"] {
    background: var(--color-burnt);
}

.storefront-toast[data-type="error"] {
    background: #9d3f32;
}

.storefront-toast__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 253, 248, .55);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.storefront-toast__message {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.storefront-toast__action {
    padding: 8px 10px;
    border: 1px solid rgba(255, 253, 248, .65);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.storefront-toast__action:hover,
.storefront-toast__action:focus-visible {
    background: var(--color-white);
    color: var(--color-burnt);
}

.storefront-toast__close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.storefront-toast__close:focus-visible,
.storefront-toast__close:hover {
    border-radius: 8px;
    background: rgba(255, 253, 248, .15);
}

.js-add-to-cart-form [type="submit"].is-loading,
.add-to-cart-btn.is-loading {
    cursor: progress;
    opacity: .72;
}

.js-add-to-cart-form [type="submit"].is-loading {
    pointer-events: none;
}

@media (max-width: 575px) {
    .storefront-toast {
        inset-inline: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
        width: auto;
        grid-template-columns: 32px minmax(0, 1fr) 30px;
        min-height: 62px;
        padding: 12px 10px 12px 14px;
    }

    .storefront-toast__action {
        grid-column: 2 / 3;
        grid-row: 2;
        justify-self: start;
        padding-block: 5px;
    }

    .storefront-toast__close {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-toast {
        transition-duration: 1ms;
    }
}

/* Cart Type Conflict Confirmation Modal */
.cart-conflict-backdrop[hidden] {
    display: none !important;
}

.cart-conflict-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(18, 16, 14, 0.68);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 200ms ease;
}

.cart-conflict-backdrop.is-open {
    opacity: 1;
}

.cart-conflict-modal {
    position: relative;
    width: min(460px, 100%);
    padding: 28px 24px;
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
    transform: scale(0.95);
    transition: transform 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.cart-conflict-backdrop.is-open .cart-conflict-modal {
    transform: scale(1);
}

.cart-conflict-modal__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fff3ec;
    color: var(--color-burnt);
    font-size: 26px;
}

.cart-conflict-modal__title {
    margin: 0 0 10px;
    color: var(--color-ink);
    font-size: 20px;
    font-weight: 800;
}

.cart-conflict-modal__text {
    margin: 0 0 24px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.cart-conflict-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-conflict-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
    border: none;
}

.cart-conflict-btn--confirm {
    background: var(--color-burnt);
    color: var(--color-white);
}

.cart-conflict-btn--confirm:hover {
    background: #a95333;
}

.cart-conflict-btn--cancel {
    background: var(--color-paper);
    color: var(--color-ink);
    border: 1px solid var(--color-line);
}

.cart-conflict-btn--cancel:hover {
    background: #e5e5e5;
}

