@font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/newsreader.ttf") format("truetype");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/dm-sans.ttf") format("truetype");
}

:root {
    --balobal-burgundy: #53121e;
    --balobal-forest: #012312;
    --balobal-gold: #d5b574;
    --balobal-cream: #f4f1eb;
    --balobal-ink: #222222;
    --balobal-white: #ffffff;
    --balobal-muted: #6c6863;
    --balobal-line: #ddd6cb;
    --balobal-success: #285b3c;
    --balobal-danger: #8b1d32;
    --balobal-sans: "DM Sans", sans-serif;
    --balobal-serif: "Newsreader", serif;
    --balobal-shadow: 0 18px 50px rgb(1 35 18 / 12%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.balobal-store {
    margin: 0;
    background: var(--balobal-cream);
    color: var(--balobal-ink);
    font-family: var(--balobal-sans);
    font-size: 15px;
    line-height: 1.6;
}

body.is-drawer-open {
    overflow: hidden;
}

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

.balobal-store a {
    color: inherit;
    text-decoration: none;
}

.balobal-store button,
.balobal-store input,
.balobal-store select,
.balobal-store textarea {
    font: inherit;
}

.balobal-store button,
.balobal-store select {
    cursor: pointer;
}

.balobal-store h1,
.balobal-store h2,
.balobal-store h3,
.balobal-store h4,
.balobal-store p {
    margin-top: 0;
}

.balobal-store h1,
.balobal-store h2,
.balobal-store h3,
.balobal-store h4,
.balobal-brand,
.balobal-product-price {
    font-family: var(--balobal-serif);
    font-weight: 500;
    letter-spacing: -.025em;
}

.balobal-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.balobal-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.balobal-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--balobal-gold);
    color: var(--balobal-forest);
    transform: translateY(-150%);
}

.balobal-skip-link:focus {
    transform: translateY(0);
}

.balobal-kicker {
    margin-bottom: 10px;
    color: var(--balobal-burgundy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.balobal-button,
.balobal-text-button {
    appearance: none;
    border: 0;
}

.balobal-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
    font-weight: 800;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.balobal-button:hover,
.balobal-button:focus-visible {
    background: var(--balobal-forest);
    transform: translateY(-1px);
}

.balobal-button--light {
    background: var(--balobal-gold);
    color: var(--balobal-forest);
}

.balobal-button--outline {
    border: 1px solid currentColor;
    background: transparent;
    color: var(--balobal-forest);
}

.balobal-text-button,
.balobal-text-link {
    padding: 0;
    background: transparent;
    color: var(--balobal-burgundy);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.balobal-text-link--light {
    color: var(--balobal-gold);
}

.balobal-alert {
    padding: 14px 16px;
    border-left: 4px solid currentColor;
    background: rgb(255 255 255 / 65%);
}

.balobal-alert--error {
    color: var(--balobal-danger);
}

.balobal-alert--success {
    color: var(--balobal-success);
}

.balobal-form,
.balobal-form-panel,
.balobal-checkout-section,
.balobal-cart-summary,
.balobal-checkout-summary,
.balobal-order-summary,
.balobal-purchase-panel {
    display: grid;
    gap: 18px;
}

.balobal-form-panel,
.balobal-checkout-section,
.balobal-cart-summary,
.balobal-checkout-summary,
.balobal-order-summary,
.balobal-purchase-panel {
    padding: 28px;
    background: var(--balobal-white);
    box-shadow: 0 1px 0 var(--balobal-line);
}

.balobal-form label,
.balobal-filter-form label,
.balobal-checkout-section label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
}

.balobal-form input,
.balobal-form select,
.balobal-form textarea,
.balobal-filter-form input,
.balobal-filter-form select,
.balobal-checkout-section input,
.balobal-checkout-section select,
.balobal-checkout-section textarea,
.balobal-coupon input,
.balobal-sort-form select,
.balobal-search-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--balobal-line);
    border-radius: 0;
    background: var(--balobal-white);
    color: var(--balobal-ink);
    padding: 11px 13px;
}

.balobal-form input:focus,
.balobal-form select:focus,
.balobal-form textarea:focus,
.balobal-checkout-section input:focus,
.balobal-checkout-section select:focus,
.balobal-checkout-section textarea:focus {
    outline: 2px solid var(--balobal-gold);
    outline-offset: 1px;
}

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

.balobal-form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.balobal-form-note {
    color: var(--balobal-muted);
    font-size: 13px;
}

/* Header and navigation */
.balobal-site-header {
    position: relative;
    z-index: 50;
}

.balobal-brand-strip {
    padding: 8px 16px;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.balobal-brand-strip .balobal-shell,
.balobal-brand-strip nav,
.balobal-header-tools,
.balobal-header-actions a {
    display: flex;
    align-items: center;
}

.balobal-brand-strip .balobal-shell {
    justify-content: space-between;
    gap: 20px;
}

.balobal-brand-strip nav {
    flex-wrap: wrap;
    gap: 8px 24px;
}

.balobal-header-main {
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

.balobal-header-main .balobal-shell {
    min-height: 102px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.balobal-brand {
    color: var(--balobal-gold);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    text-align: center;
}

.balobal-brand img {
    width: auto;
    max-height: 62px;
    margin-inline: auto;
    filter: brightness(0) saturate(100%) invert(79%) sepia(22%) saturate(721%) hue-rotate(357deg) brightness(91%) contrast(85%);
}

.balobal-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.balobal-header-tools {
    justify-self: start;
}

.balobal-header-actions a {
    position: relative;
    min-width: 62px;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    color: var(--balobal-gold);
}

.balobal-header-actions small {
    color: var(--balobal-white);
    font-size: 9px;
    font-weight: 800;
}

.balobal-header-actions svg,
.balobal-header-icon svg,
.balobal-search-form button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.balobal-header-actions b {
    position: absolute;
    top: 1px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
    font-size: 10px;
}

.balobal-header-icon,
.balobal-menu-trigger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--balobal-gold);
}

.balobal-menu-trigger {
    justify-self: start;
    flex-direction: column;
    gap: 5px;
    padding-inline: 0;
    color: var(--balobal-white);
    font-weight: 800;
}

.balobal-menu-trigger > span {
    width: 18px;
    height: 1px;
    display: block;
    background: currentColor;
}

.balobal-category-nav {
    position: relative;
    z-index: 40;
    border-bottom: 1px solid var(--balobal-line);
    background: var(--balobal-white);
}

.balobal-category-nav > .balobal-shell {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.balobal-nav-item > a,
.balobal-nav-item > button {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--balobal-forest);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.balobal-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding-block: 34px;
    border-top: 1px solid var(--balobal-line);
    background: var(--balobal-white);
    box-shadow: var(--balobal-shadow);
}

.balobal-mega-menu.is-active {
    display: block;
}

.balobal-mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.balobal-mega-menu__heading {
    display: block;
    margin-bottom: 12px;
    color: var(--balobal-burgundy);
    font-family: var(--balobal-serif);
    font-size: 20px;
}

.balobal-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
}

.balobal-drawer[aria-hidden="false"] {
    visibility: visible;
}

.balobal-drawer__scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgb(1 35 18 / 72%);
    opacity: 0;
    transition: opacity .25s ease;
}

.balobal-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(92vw, 480px);
    padding: 28px;
    background: var(--balobal-cream);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .25s ease;
}

.balobal-drawer__panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--balobal-line);
}

.balobal-drawer__panel > header button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--balobal-line);
    background: transparent;
}

.balobal-drawer__panel > nav {
    display: grid;
}

.balobal-drawer--search .balobal-drawer__panel {
    left: auto;
    right: 0;
    transform: translateX(105%);
}

.balobal-drawer[aria-hidden="false"] .balobal-drawer__scrim {
    opacity: 1;
}

.balobal-drawer[aria-hidden="false"] .balobal-drawer__panel {
    transform: translateX(0);
}

.balobal-search-form {
    display: flex;
    gap: 10px;
}

.balobal-search-form > div {
    display: flex;
    flex: 1;
}

.balobal-search-form button {
    min-width: 50px;
    border: 0;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
}

.balobal-mobile-menu-level {
    display: grid;
    gap: 4px;
    margin: 0;
}

.balobal-mobile-menu-link,
.balobal-mobile-menu-level > summary,
.balobal-mobile-menu-level > a,
.balobal-drawer__panel > nav > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--balobal-line);
    font-weight: 800;
}

.balobal-mobile-menu-level > .balobal-mobile-menu-level,
.balobal-mobile-menu-level > .balobal-mobile-menu-link {
    padding-left: 18px;
}

/* Shared page structure */
.balobal-content-page,
.balobal-catalog-page,
.balobal-product-page,
.balobal-cart-page,
.balobal-checkout-page,
.balobal-account-page,
.balobal-three-ds-page {
    padding-block: clamp(38px, 6vw, 92px);
}

.balobal-breadcrumb,
.balobal-pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 24px;
    color: var(--balobal-muted);
    font-size: 13px;
}

.balobal-page-heading,
.balobal-catalog-heading,
.balobal-section-heading {
    margin-bottom: 32px;
}

.balobal-page-heading h1,
.balobal-catalog-heading h1,
.balobal-section-heading h2,
.balobal-article__header h1,
.balobal-order-result__intro h1 {
    margin-bottom: 10px;
    color: var(--balobal-forest);
    font-size: clamp(34px, 5vw, 68px);
    line-height: .98;
}

.balobal-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.balobal-commerce-section,
.balobal-brand-section,
.balobal-journal,
.balobal-related-content,
.balobal-related-products {
    padding-block: clamp(48px, 7vw, 104px);
}

.balobal-rich-text {
    max-width: 78ch;
}

.balobal-rich-text img,
.balobal-article__image {
    margin-block: 28px;
}

/* Homepage modules */
.balobal-hero-slider {
    position: relative;
    min-height: min(76vh, 760px);
    overflow: hidden;
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

.balobal-hero-slider [data-slide] {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    background-color: var(--balobal-forest);
    background-image: linear-gradient(90deg, rgb(1 35 18 / 90%), rgb(1 35 18 / 20%)), var(--balobal-hero-image);
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.balobal-hero-slider [data-slide].is-active {
    position: relative;
    min-height: min(76vh, 760px);
    opacity: 1;
    pointer-events: auto;
}

.balobal-hero-slide__copy {
    max-width: 700px;
    padding-block: 80px;
}

.balobal-hero-slide__copy h1,
.balobal-hero-slide__copy h2 {
    margin-bottom: 22px;
    color: var(--balobal-gold);
    font-size: clamp(52px, 9vw, 122px);
    line-height: .82;
}

.balobal-hero-slide__copy p {
    max-width: 54ch;
    font-size: clamp(16px, 2vw, 21px);
}

.balobal-slider-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 26px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.balobal-slider-dots button {
    width: 32px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgb(255 255 255 / 45%);
}

.balobal-slider-dots button.is-active {
    background: var(--balobal-gold);
}

.balobal-features {
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
}

.balobal-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.balobal-features__grid > * {
    padding: 28px;
    border-right: 1px solid rgb(255 255 255 / 22%);
}

.balobal-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
}

.balobal-product-strip {
    display: grid;
    grid-auto-columns: minmax(235px, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
}

.balobal-product-strip > * {
    scroll-snap-align: start;
}

.balobal-product-card {
    position: relative;
    display: grid;
    align-content: start;
    background: var(--balobal-white);
    overflow: hidden;
}

.balobal-product-card__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e9e3da;
}

.balobal-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.balobal-product-card:hover .balobal-product-card__media img {
    transform: scale(1.025);
}

.balobal-product-card__badge,
.balobal-product-card__favorite {
    position: absolute;
    z-index: 2;
    top: 12px;
}

.balobal-product-card__badge {
    left: 12px;
    padding: 5px 9px;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.balobal-product-card__favorite {
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 88%);
    color: var(--balobal-burgundy);
}

.balobal-product-card__copy {
    display: grid;
    gap: 7px;
    padding: 18px;
}

.balobal-product-card__copy h3 {
    margin: 0;
    font-family: var(--balobal-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.balobal-product-card__prices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: baseline;
    color: var(--balobal-burgundy);
    font-weight: 800;
}

.balobal-product-card__prices del {
    color: var(--balobal-muted);
    font-weight: 400;
}

.balobal-tabs,
.balobal-auth-tabs,
.balobal-payment-options,
.balobal-option-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.balobal-tabs button,
.balobal-auth-tabs button,
.balobal-payment-options button,
.balobal-option-cards label {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--balobal-line);
    background: transparent;
    font-weight: 800;
}

.balobal-tabs button.is-active,
.balobal-auth-tabs button.is-active,
.balobal-payment-options button.is-active,
.balobal-option-cards label:has(input:checked) {
    border-color: var(--balobal-burgundy);
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
}

.balobal-tab-panel:not(.is-active) {
    display: none;
}

.balobal-banner-grid,
.balobal-campaign-grid,
.balobal-editorial-grid,
.balobal-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.balobal-editorial-card,
.balobal-banner-grid > a,
.balobal-campaign-grid > a {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

.balobal-editorial-card img,
.balobal-banner-grid img,
.balobal-campaign-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.balobal-editorial-card {
    min-height: 0;
    display: grid;
    align-content: start;
    background: var(--balobal-white);
    color: var(--balobal-ink);
}

.balobal-editorial-card > a:first-child {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.balobal-editorial-card > a:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.balobal-editorial-card > :not(:first-child) {
    margin-inline: 24px;
}

.balobal-editorial-card .balobal-kicker {
    margin-top: 20px;
}

.balobal-brand-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.balobal-brand-grid > * {
    min-height: 110px;
    display: grid;
    place-items: center;
    padding: 22px;
    border: 1px solid var(--balobal-line);
    background: var(--balobal-white);
}

.balobal-campaign-popup {
    position: fixed;
    z-index: 180;
    inset: auto 24px 24px auto;
    width: min(440px, calc(100% - 48px));
    padding: 26px;
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
    box-shadow: var(--balobal-shadow);
}

.balobal-campaign-popup[hidden] {
    display: none;
}

/* Catalog */
.balobal-catalog-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
}

.balobal-filter-sidebar {
    align-self: start;
    padding: 24px;
    border-top: 4px solid var(--balobal-burgundy);
    background: var(--balobal-white);
}

.balobal-filter-form,
.balobal-filter-category,
.balobal-filter-price {
    display: grid;
    gap: 12px;
}

.balobal-filter-form > * + * {
    padding-top: 18px;
    border-top: 1px solid var(--balobal-line);
}

.balobal-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.balobal-filter-trigger {
    display: none;
}

.balobal-pagination {
    margin-top: 42px;
}

.balobal-pagination nav > div:last-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.balobal-empty-state,
.balobal-home-empty {
    padding: clamp(48px, 8vw, 110px) 24px;
    border: 1px solid var(--balobal-line);
    text-align: center;
}

.balobal-category-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--balobal-line);
    background: var(--balobal-line);
}

.balobal-category-index > a {
    min-height: 120px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    background: var(--balobal-white);
    color: var(--balobal-forest);
    font-family: var(--balobal-serif);
    font-size: 25px;
}

.balobal-category-index > a:hover {
    background: var(--balobal-burgundy);
    color: var(--balobal-white);
}

/* Product detail */
.balobal-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
}

.balobal-gallery {
    display: grid;
    gap: 14px;
}

.balobal-gallery__stage {
    aspect-ratio: 4 / 5;
    background: #e9e3da;
    overflow: hidden;
}

.balobal-gallery__stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.balobal-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.balobal-gallery__thumbs button {
    padding: 0;
    border: 2px solid transparent;
    background: var(--balobal-white);
    aspect-ratio: 1;
}

.balobal-gallery__thumbs button.is-active {
    border-color: var(--balobal-burgundy);
}

.balobal-purchase-panel {
    position: sticky;
    top: 24px;
}

.balobal-purchase-panel h1 {
    margin-bottom: 8px;
    color: var(--balobal-forest);
    font-size: clamp(36px, 5vw, 64px);
    line-height: .98;
}

.balobal-product-price {
    color: var(--balobal-burgundy);
    font-size: 34px;
}

.balobal-product-sku,
.balobal-rating {
    color: var(--balobal-muted);
    font-size: 13px;
}

.balobal-purchase-form,
.balobal-options,
.balobal-option-group {
    display: grid;
    gap: 16px;
}

.balobal-quantity,
.balobal-cart-controls {
    display: flex;
    align-items: center;
}

.balobal-quantity input,
.balobal-cart-controls input {
    width: 56px;
    min-height: 42px;
    border: 1px solid var(--balobal-line);
    text-align: center;
}

.balobal-quantity button,
.balobal-cart-controls button {
    width: 42px;
    min-height: 42px;
    border: 1px solid var(--balobal-line);
    background: var(--balobal-white);
}

.balobal-review-list {
    display: grid;
    gap: 14px;
}

.balobal-review-list > * {
    padding: 20px;
    border-left: 3px solid var(--balobal-gold);
    background: var(--balobal-white);
}

/* Cart and checkout */
.balobal-cart-layout,
.balobal-checkout-layout,
.balobal-order-result__layout,
.balobal-contact-layout,
.balobal-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
    gap: 36px;
    align-items: start;
}

.balobal-cart-lines,
.balobal-checkout-main,
.balobal-checkout-products,
.balobal-address-grid {
    display: grid;
    gap: 18px;
}

.balobal-cart-line {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 18px;
    background: var(--balobal-white);
}

.balobal-cart-line__image {
    aspect-ratio: 4 / 5;
    background: #e9e3da;
}

.balobal-cart-line__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.balobal-cart-line__body {
    display: grid;
    align-content: center;
    gap: 8px;
}

.balobal-cart-summary,
.balobal-checkout-summary,
.balobal-order-summary {
    position: sticky;
    top: 24px;
}

.balobal-cart-summary__total,
.balobal-checkout-summary__total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px solid var(--balobal-forest);
    color: var(--balobal-burgundy);
    font-family: var(--balobal-serif);
    font-size: 26px;
}

.balobal-coupon {
    display: flex;
    gap: 8px;
}

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

.balobal-address-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--balobal-line);
}

.balobal-card-fields,
.balobal-payment-details,
.balobal-address-form {
    display: grid;
    gap: 16px;
}

.balobal-contract {
    max-height: 280px;
    padding: 18px;
    border: 1px solid var(--balobal-line);
    background: #faf8f4;
    overflow-y: auto;
}

.balobal-cart-toast {
    position: fixed;
    z-index: 250;
    right: 22px;
    bottom: 22px;
    max-width: 380px;
    padding: 18px;
    background: var(--balobal-forest);
    color: var(--balobal-white);
    box-shadow: var(--balobal-shadow);
    transform: translateY(140%);
    transition: transform .25s ease;
}

.balobal-cart-toast.is-active {
    transform: translateY(0);
}

/* Content, auth, state pages */
.balobal-auth-panel {
    display: none;
}

.balobal-auth-panel.is-active {
    display: block;
}

.balobal-account-intro,
.balobal-contact-details {
    padding: 32px;
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

iframe.balobal-contact-map {
    width: 100%;
    min-height: 380px;
    border: 0;
}

.balobal-article,
.balobal-article--static {
    width: min(100%, 920px);
    margin-inline: auto;
}

.balobal-state-page {
    min-height: 66vh;
    display: grid;
    align-items: center;
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

.balobal-state-page--burgundy {
    background: var(--balobal-burgundy);
}

.balobal-state-page__layout {
    max-width: 760px;
    padding-block: 90px;
}

.balobal-state-page h1,
.balobal-order-result h1 {
    color: var(--balobal-gold);
    font-size: clamp(48px, 8vw, 100px);
    line-height: .9;
}

.balobal-three-ds {
    min-height: 560px;
    background: var(--balobal-white);
}

.balobal-three-ds iframe {
    width: 100%;
    min-height: 560px;
    border: 0;
}

/* Footer */
.balobal-footer {
    padding-top: 64px;
    background: var(--balobal-forest);
    color: var(--balobal-white);
}

.balobal-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 38px;
    padding-bottom: 52px;
}

.balobal-footer__grid--3 {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
}

.balobal-footer__grid--4 {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.balobal-footer__grid--5 {
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
}

.balobal-footer h2,
.balobal-footer h3,
.balobal-footer__brand {
    color: var(--balobal-gold);
}

.balobal-footer nav,
.balobal-footer__contact {
    display: grid;
    align-content: start;
    gap: 9px;
}

.balobal-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.balobal-footer li + li {
    margin-top: 9px;
}

.balobal-footer a,
.balobal-footer__contact {
    overflow-wrap: anywhere;
}

.balobal-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
    border-top: 1px solid rgb(255 255 255 / 18%);
    color: rgb(255 255 255 / 70%);
    font-size: 12px;
}

@media (max-width: 1024px) {
    .balobal-shell {
        width: min(100% - 32px, 960px);
    }

    .balobal-category-nav {
        display: none;
    }

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

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

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

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

    .balobal-filter-sidebar {
        display: none;
    }

    .balobal-filter-sidebar.is-active {
        display: block;
    }

    .balobal-filter-trigger {
        display: inline-flex;
    }

    .balobal-product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .balobal-cart-layout,
    .balobal-checkout-layout,
    .balobal-order-result__layout,
    .balobal-contact-layout,
    .balobal-account-layout {
        grid-template-columns: 1fr;
    }

    .balobal-cart-summary,
    .balobal-checkout-summary,
    .balobal-order-summary,
    .balobal-purchase-panel {
        position: static;
    }

    .balobal-footer__grid,
    .balobal-footer__grid--3,
    .balobal-footer__grid--4,
    .balobal-footer__grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .balobal-shell {
        width: min(100% - 24px, 616px);
    }

    .balobal-header-main .balobal-shell {
        min-height: 80px;
        grid-template-columns: auto 1fr auto;
        gap: 8px;
    }

    .balobal-brand {
        font-size: 30px;
    }

    .balobal-header-icon:nth-child(n + 3) {
        display: none;
    }

    .balobal-hero-slider,
    .balobal-hero-slider [data-slide].is-active {
        min-height: 560px;
    }

    .balobal-hero-slider [data-slide] {
        background-image: linear-gradient(0deg, rgb(1 35 18 / 92%), rgb(1 35 18 / 25%)), var(--balobal-hero-image);
    }

    .balobal-hero-slide__copy {
        align-self: end;
        padding-block: 72px;
    }

    .balobal-hero-slide__copy h1,
    .balobal-hero-slide__copy h2 {
        font-size: clamp(48px, 17vw, 78px);
    }

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

    .balobal-features__grid,
    .balobal-brand-grid,
    .balobal-banner-grid,
    .balobal-campaign-grid,
    .balobal-editorial-grid,
    .balobal-form-grid,
    .balobal-form-grid--three,
    .balobal-address-grid,
    .balobal-footer__grid,
    .balobal-footer__grid--3,
    .balobal-footer__grid--4,
    .balobal-footer__grid--5 {
        grid-template-columns: 1fr;
    }

    .balobal-category-index {
        grid-template-columns: 1fr;
    }

    .balobal-product-layout {
        grid-template-columns: 1fr;
    }

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

    .balobal-cart-line {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .balobal-cart-line > :last-child {
        grid-column: 1 / -1;
    }

    .balobal-catalog-toolbar,
    .balobal-section-heading,
    .balobal-footer__bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .balobal-page-heading h1,
    .balobal-catalog-heading h1,
    .balobal-section-heading h2,
    .balobal-article__header h1,
    .balobal-order-result__intro h1 {
        font-size: 42px;
    }

    .balobal-form-panel,
    .balobal-checkout-section,
    .balobal-cart-summary,
    .balobal-checkout-summary,
    .balobal-order-summary,
    .balobal-purchase-panel {
        padding: 20px;
    }

    .balobal-coupon,
    .balobal-search-form {
        flex-direction: column;
    }
}

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