body {
    background: #F6F1EA;
    background-image: none;
    color: #2A2420;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
}

a,
a:visited,
a:focus,
a:active {
    color: #2A2420;
}

a:hover {
    color: #D01212;
}

h1, h2, h3, h4 {
    color: #2A2420;
    font-weight: 600;
}

h1 {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #FFFCF8;
}

.site-header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 0;
}

.site-logo {
    flex: 0 0 auto;
    display: block;
}

.site-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-search {
    display: none;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
}

.site-header.is-search .site-search {
    display: flex;
    flex: 1 0 100%;
    order: 4;
    padding-bottom: 8px;
}

.site-search input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border: 1px solid #E4DCD2;
    border-radius: 999px;
    background: #F6F1EA;
    color: #2A2420;
    padding: 0 16px;
}

.site-search button,
.product-buybar .add-to-cart,
.product-buybar .btn-red {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #D01212;
    color: #fff;
    font-weight: 600;
    padding: 0 16px;
}

.site-search button:hover,
.product-buybar .add-to-cart:hover,
.product-buybar .btn-red:hover {
    background: #A80E0E;
    color: #fff;
}

.site-icon-btn,
.site-cart {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    color: #2A2420;
    background: transparent;
    border: 0;
    text-decoration: none;
}

.site-search-toggle {
    margin-left: auto;
}

.site-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid #E4DCD2;
    border-radius: 999px;
    background: #FFFCF8;
    color: #2A2420;
    font-weight: 600;
    font-size: 15px;
}

.site-nav-toggle[aria-expanded="true"] {
    background: #2A2420;
    border-color: #2A2420;
    color: #FFFCF8;
}

.site-nav-toggle svg {
    transition: transform 0.15s ease;
}

.site-nav-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.site-cart-count {
    min-width: 1.4em;
    font-weight: 600;
}

.site-cart-text {
    display: none;
}

.site-ship {
    margin: 16px 0 0;
    padding: 8px 16px;
    background: #2A2420;
    color: #F6F1EA;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.site-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 8px;
    background: #FFFCF8;
    border-bottom: 1px solid #E4DCD2;
    box-shadow: 0 18px 36px rgba(42, 36, 32, 0.14);
}

.site-menu[hidden] {
    display: none;
}

.site-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.site-menu-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    color: #2A2420;
    font-weight: 600;
    text-decoration: none;
}

.site-menu-link:hover,
.site-menu-link:focus {
    background: #F6F1EA;
    color: #2A2420;
    text-decoration: none;
}

.site-menu-link.is-active {
    background: #D01212;
    color: #FFFCF8;
}

.chip-row,
.sort-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 12px;
}

.site-chip,
.sort-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #E4DCD2;
    border-radius: 999px;
    background: #FFFCF8;
    color: #2A2420;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.site-chip:hover,
.sort-row a:hover {
    color: #2A2420;
    border-color: #2A2420;
    text-decoration: none;
}

.site-chip.is-active,
.sort-row a.is-active {
    background: #D01212;
    border-color: #D01212;
    color: #FFFCF8;
}

.site-account {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 8px;
    padding: 10px 12px 4px;
    border-top: 1px solid #E4DCD2;
}

.site-account a {
    color: #8C8178;
    font-size: 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.content-row {
    padding-top: 8px;
}

.breadcrumb {
    background: transparent;
    padding-left: 0;
    margin-bottom: 8px;
}

.intent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 8px 0 24px;
}

.intent-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    min-height: 128px;
    padding: 16px;
    overflow: hidden;
    border-radius: 16px;
    background: #FFFCF8;
    color: #2A2420;
    text-decoration: none;
}

.intent-card-photo {
    position: absolute;
    right: -6%;
    top: 0;
    width: 78%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    pointer-events: none;
    transform: scale(0.8);
    transform-origin: right center;
    z-index: 0;
}

.intent-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0) 0%, rgba(255, 252, 248, 0) 46%, rgba(255, 252, 248, 0.94) 78%, #FFFCF8 100%),
        linear-gradient(90deg, #FFFCF8 0%, rgba(255, 252, 248, 0.92) 40%, rgba(255, 252, 248, 0.28) 100%);
}

.intent-card strong,
.intent-card span {
    position: relative;
    z-index: 2;
}

.intent-card strong {
    font-size: 1.05rem;
}

.intent-card span {
    color: #3F3834;
    font-size: 14px;
}

.intent-card:hover {
    color: #2A2420;
    text-decoration: none;
}

.intent-card-accent {
    background: #FFFCF8;
    color: #2A2420;
    box-shadow: inset 0 0 0 2px #2A2420;
}

.intent-card-accent span,
.intent-card-accent:hover {
    color: #3F3834;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.product-grid > [class*="col-"] {
    width: auto;
    float: none;
    padding: 0;
}

.product-card,
.product-item {
    min-width: 0;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFCF8;
    border: 1px solid #E4DCD2;
    border-radius: 16px;
    overflow: hidden;
    color: #2A2420;
    text-decoration: none;
}

.product-card-link:hover,
.product-card-link:focus {
    color: #2A2420;
    text-decoration: none;
}

.product-card-photo {
    display: block;
    position: relative;
    background: #FFFCF8;
}

.product-card-photo img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.product-card-sale {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #C45C78;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
}

.product-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    margin: 10px 12px 0;
    font-weight: 600;
    line-height: 1.3;
}

.product-card-price {
    margin: 6px 12px 12px;
    color: #D01212;
    font-weight: 600;
}

.product-layout {
    display: grid;
    gap: 16px;
}

.product-gallery img#product-thumbnail,
.product-gallery > .col-md-12 img,
.product-gallery img.img-responsive {
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 16px;
    mix-blend-mode: multiply;
}

.product-gallery .thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 8px;
}

.product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.product-facts li {
    background: #F6F1EA;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 14px;
}

.product-summary .product-price,
.product-summary .formatted_price {
    color: #D01212;
    font-size: 1.4rem;
    font-weight: 600;
}

.product-sku {
    margin: 0;
    color: #8C8178;
    font-size: 13px;
}

.product-buybar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
}

.product-buybar input[type="number"] {
    width: 72px;
    min-height: 48px;
    border: 1px solid #E4DCD2;
    border-radius: 12px;
    text-align: center;
    background: #FFFCF8;
    color: #2A2420;
}

.product-buybar .add-to-cart,
.product-buybar .btn-red {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #fff;
    text-decoration: none;
}

.product-note {
    color: #2A2420;
    background: #FFFCF8;
    border: 0;
    border-radius: 12px;
    padding: 12px;
}

.home-copy {
    margin-top: 28px;
}

.home-copy p,
.products-view > p {
    line-height: 1.55;
}

.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.page-head h1 {
    margin: 0;
}

.page-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #E4DCD2;
    border-radius: 999px;
    background: #FFFCF8;
    color: #2A2420;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.page-back:hover,
.page-back:focus {
    color: #2A2420;
    border-color: #2A2420;
    text-decoration: none;
}

.category-index {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.category-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 44px;
    padding: 14px 16px;
    border: 1px solid #E4DCD2;
    border-radius: 16px;
    background: #FFFCF8;
    color: #2A2420;
    text-decoration: none;
}

.category-row:hover,
.category-row:focus {
    color: #2A2420;
    border-color: #2A2420;
    text-decoration: none;
}

.category-row span {
    color: #5C534C;
    font-size: 15px;
    line-height: 1.4;
}

.account-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: #2A2420;
    color: #FFFCF8;
    font-weight: 600;
    white-space: normal;
}

.account-actions .btn:hover,
.account-actions .btn:focus {
    background: #2A2420;
    color: #FFFCF8;
}

.basket-table .cart-actions .btn-primary {
    background: #2A2420;
    border-color: #2A2420;
    color: #FFFCF8;
}

body.is-editor .site-header {
    position: static;
}

.outlet-item .add-to-cart {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    background: #D01212;
    color: #fff;
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    font-weight: 600;
}

.footer-row {
    background: #FFFCF8;
    border-top: 1px solid #E4DCD2;
}

.footer-row .nav > li > a {
    color: #2A2420;
    padding: 8px 15px;
}

.link-row {
    background: #F6F1EA;
}

.form-control {
    color: #2A2420;
    background: #FFFCF8;
    border-color: #E4DCD2;
    min-height: 44px;
}

.pagination > li > a,
.pagination > li > span {
    color: #2A2420;
    background: #FFFCF8;
    border-color: #E4DCD2;
}

.pagination > .active > a,
.pagination > .active > span {
    background: #2A2420;
    border-color: #2A2420;
    color: #FFFCF8;
}

@media (max-width: 899px) {
    .product-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 30;
        margin: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #FFFCF8;
        border-top: 1px solid #E4DCD2;
    }

    body:has(.product-buybar) {
        padding-bottom: 76px;
    }
}

@media (min-width: 900px) {
    .site-header-bar {
        padding: 12px 24px 0;
    }

    .site-search {
        display: flex;
    }

    .site-search-toggle {
        display: none;
    }

    .site-cart-text {
        display: inline;
        color: #8C8178;
        font-size: 14px;
    }

    .site-menu {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .product-layout {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }

    .intent-card {
        min-height: 140px;
    }

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

@media (max-width: 899px) {
    .cart-page,
    .checkout-page {
        max-width: 100%;
        min-width: 0;
    }

    .basket-table,
    .basket-table tbody {
        display: block;
        width: 100%;
        max-width: 100%;
        border: 0;
    }

    .basket-table .basket-head {
        display: none;
    }

    .basket-table tr {
        display: block;
        margin: 0 0 12px;
        padding: 12px;
        background: #FFFCF8;
        border: 1px solid #E4DCD2;
        border-radius: 16px;
    }

    .basket-table td {
        display: block;
        width: auto !important;
        padding: 4px 0;
        border: 0;
        text-align: left !important;
        overflow-wrap: anywhere;
    }

    .basket-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #8C8178;
        font-size: 13px;
        font-weight: 600;
    }

    .basket-table .cart-actions {
        display: flex;
        gap: 8px;
        padding-top: 8px;
    }

    .basket-table .cart-actions .btn {
        flex: 1 1 0;
        float: none;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .basket-table .cart-total-row {
        background: transparent;
        border: 0;
        padding: 0 4px 8px;
    }

    .cart-tools {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cart-tools > [class*="col-"] {
        float: none;
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .coupon-form .input-group,
    .coupon-form .form-control {
        width: 100%;
        max-width: 100%;
    }

    .checkout-page .row {
        margin-left: 0;
        margin-right: 0;
    }

    .checkout-page .row > [class*="col-"] {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .checkout-page .panel,
    .checkout-page .form-control,
    .checkout-page .select2-container {
        max-width: 100%;
    }

    .checkout-page .checkbox label,
    .checkout-page .radio label {
        white-space: normal;
    }

    .page-head {
        flex-direction: column;
        align-items: stretch;
    }

    .account-page,
    .editor-page {
        max-width: 100%;
        min-width: 0;
    }

    .account-page.col-md-10,
    .account-page.col-md-offset-1 {
        width: 100%;
        margin-left: 0;
    }

    .account-page .row,
    .editor-page .row {
        margin-left: 0;
        margin-right: 0;
    }

    .account-page .row > [class*="col-"],
    .editor-page .row > [class*="col-"],
    .order-line > [class*="col-"] {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .order-line {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #E4DCD2;
        overflow-wrap: anywhere;
    }

    .order-line h4 {
        margin-top: 8px;
    }
}

.cart-next,
#order_agree_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 16px;
    border: 0;
    border-radius: 999px;
    background: #D01212;
    color: #fff;
    font-weight: 600;
    white-space: normal;
    text-align: center;
}

.cart-next:hover,
.cart-next:focus,
#order_agree_button:hover,
#order_agree_button:focus {
    background: #A80E0E;
    color: #fff;
}

.basket-table .grand-total {
    color: #D01212;
    font-weight: 600;
}
