/*
Theme Name: Yankee Candle Storefront Replica
Theme URI: https://www.yankeecandle.com/
Author: Codex
Description: A responsive candle storefront theme inspired by Yankee Candle.
Version: 1.7.7
Text Domain: yc-replica
*/

:root {
    --ink: #111111;
    --ink-soft: #2f2d2a;
    --paper: #ffffff;
    --paper-warm: #f7f4ee;
    --paper-rose: #f5ece9;
    --cream: #ece4d6;
    --line: #d8d2c8;
    --line-dark: #4a4a4a;
    --red: #991f31;
    --red-dark: #721524;
    --forest: #113c2f;
    --gold: #c9a66b;
    --muted: #716c65;
    --max-width: 1360px;
    --page-pad: 44px;
    --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
    --font-display: "Poppins", "Segoe UI", Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    color: inherit;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.12;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 20px;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 500;
    padding: 10px 16px;
    color: var(--ink);
    background: var(--paper);
    transform: translateY(-150%);
}

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

.container {
    width: min(var(--max-width), calc(100% - (var(--page-pad) * 2)));
    margin-inline: auto;
}

.container-wide {
    width: min(1500px, calc(100% - 88px));
    margin-inline: auto;
}

.container-narrow {
    width: min(880px, calc(100% - 48px));
    margin-inline: auto;
}

.section-space {
    padding-block: 72px;
}

.eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h1,
.section-heading h2 {
    margin-bottom: 12px;
}

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

.section-heading-center {
    text-align: center;
}

.section-heading-center p {
    margin-inline: auto;
}

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

.text-link {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.text-link-large {
    font-size: 14px;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-dark {
    color: var(--paper);
    background: var(--ink);
    border-color: var(--ink);
}

.button-dark:hover {
    background: var(--red);
    border-color: var(--red);
}

.button-light {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
}

.button-light:hover {
    color: var(--paper);
    background: transparent;
}

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

.button-outline:hover {
    color: var(--paper);
    background: var(--ink);
}

.button-full {
    width: 100%;
}

.icon-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.icon-button svg,
.utility-link svg,
.promise-item svg,
.bag-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.announcement-bar {
    position: relative;
    z-index: 120;
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: var(--paper-warm);
    font-size: 12px;
    font-weight: 500;
}

.announcement-track {
    position: relative;
    width: min(600px, calc(100% - 160px));
    height: 32px;
    overflow: hidden;
    text-align: center;
}

.announcement-track a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.announcement-track a.is-active {
    opacity: 1;
    transform: translateY(0);
}

.announcement-arrow {
    width: 30px;
    height: 30px;
}

.announcement-arrow[hidden] {
    display: none;
}

.announcement-arrow svg,
.announcement-close svg {
    width: 15px;
    height: 15px;
}

.announcement-close {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--paper);
    background: var(--ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-bar .site-header {
    top: 32px;
}

.header-main {
    position: relative;
    display: grid;
    width: 100%;
    height: 72px;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    align-items: center;
    gap: 20px;
    padding: 0 var(--page-pad);
}

.utility-row {
    position: absolute;
    top: 0;
    right: var(--page-pad);
    z-index: 2;
    display: flex;
    height: 28px;
    align-items: center;
    gap: 20px;
    color: #d6d1ca;
    font-size: 10px;
}

.utility-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.utility-link:hover {
    color: var(--paper);
}

.utility-link svg {
    width: 13px;
    height: 13px;
}

.brand-mark {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 12px;
    padding: 0;
    color: var(--paper);
    border: 0;
    background: transparent;
    cursor: pointer;
}

.brand-emblem {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9c59f;
    border-radius: 50%;
    color: #e4d3b0;
}

.brand-emblem svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 0.9;
    text-align: left;
}

.brand-wordmark span:first-child {
    font-size: 10px;
    letter-spacing: 0.28em;
}

.brand-wordmark span:last-child {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.primary-nav {
    justify-self: center;
}

.primary-nav ul {
    display: flex;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 9px;
    color: var(--paper);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.primary-nav a::after {
    position: absolute;
    right: 9px;
    bottom: 3px;
    left: 9px;
    height: 2px;
    background: #e4d3b0;
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 160ms ease, transform 160ms ease;
}

.primary-nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-tools {
    display: flex;
    align-self: end;
    justify-self: end;
    align-items: center;
    gap: 8px;
}

.header-tools .icon-button {
    color: var(--paper);
}

.bag-button {
    display: inline-flex;
    height: 44px;
    align-items: center;
    gap: 7px;
    padding: 0 2px 0 10px;
    color: var(--paper);
    border: 0;
    background: transparent;
    cursor: pointer;
}

.bag-label {
    font-size: 12px;
    font-weight: 700;
}

.bag-count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    font-size: 10px;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    color: var(--paper);
}

.home-hero {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 1265 / 584;
    overflow: hidden;
    background: #1b1814;
}

.home-hero-link,
.home-hero-link > picture {
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.deal-section {
    background: var(--paper);
}

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

.deal-card {
    display: flex;
    flex-direction: column;
}

.media-frame {
    overflow: hidden;
    background: var(--paper-warm);
    aspect-ratio: 1 / 1;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.deal-card:hover img,
.gift-card:hover img,
.collection-card:hover img {
    transform: scale(1.025);
}

.deal-card-copy {
    padding: 18px 4px 0;
    text-align: center;
}

.deal-price {
    display: block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.deal-card-copy h2 {
    margin-bottom: 12px;
    font-size: 20px;
}

.collection-section {
    background: var(--paper-warm);
}

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

.collection-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #d9d0c2;
}

.collection-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: rgba(0, 0, 0, 0.22);
    content: "";
    pointer-events: none;
}

.collection-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 550ms ease;
}

.collection-copy {
    position: absolute;
    bottom: 34px;
    left: 34px;
    z-index: 2;
    max-width: calc(100% - 68px);
    color: var(--paper);
}

.collection-copy .eyebrow {
    color: #f0dbb3;
}

.collection-copy h2 {
    margin-bottom: 14px;
    font-size: 31px;
}

.collection-copy .text-link {
    font-size: 12px;
}

.gift-section {
    background: var(--paper);
}

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

.gift-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 450ms ease;
}

.gift-card h3 {
    margin: 15px 0 0;
    font-size: 17px;
    text-align: center;
}

.rewards-section {
    position: relative;
    display: grid;
    min-height: 480px;
    place-items: center;
    overflow: hidden;
    color: var(--paper);
    background: var(--forest);
}

.rewards-section > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rewards-section::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
    content: "";
}

.rewards-panel {
    position: relative;
    z-index: 2;
    width: min(580px, calc(100% - 48px));
    padding: 42px;
    color: var(--paper);
    background: rgba(12, 39, 31, 0.88);
    text-align: center;
}

.rewards-mark {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 17px;
}

.rewards-panel .eyebrow {
    color: #efd8aa;
}

.rewards-panel h2 {
    margin-bottom: 12px;
    font-size: 36px;
}

.rewards-panel p {
    margin-bottom: 24px;
    color: #eeeae4;
}

.scent-story {
    background: var(--paper-rose);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 62px 90px;
    align-items: start;
}

.story-title h2 {
    max-width: 500px;
    font-size: 40px;
}

.story-copy {
    padding-top: 22px;
    color: var(--ink-soft);
    font-size: 17px;
}

.story-copy p {
    max-width: 640px;
}

.story-stats {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #ccbfb7;
}

.story-stats > div {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 22px 32px;
    border-right: 1px solid #ccbfb7;
}

.story-stats > div:first-child {
    padding-left: 0;
}

.story-stats > div:last-child {
    border-right: 0;
}

.story-stats strong {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1;
}

.story-stats span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.featured-section {
    background: var(--paper);
}

.featured-section-top {
    border-bottom: 1px solid var(--line);
    background: var(--paper-warm);
}

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

.catalog-loading {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 34px 0;
}

.catalog-loading span {
    aspect-ratio: 1 / 1;
    background: var(--paper-warm);
    animation: catalog-pulse 1.3s ease-in-out infinite alternate;
}

.catalog-loading p {
    grid-column: 1 / -1;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@keyframes catalog-pulse {
    from {
        opacity: 0.45;
    }
    to {
        opacity: 1;
    }
}

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

.product-card {
    position: relative;
    min-width: 0;
}

.product-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 0;
    background: var(--paper-warm);
    cursor: pointer;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.025);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 6px 9px;
    color: var(--paper);
    background: var(--red);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.product-quick-view {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 40px;
    color: var(--paper);
    border: 0;
    background: rgba(17, 17, 17, 0.9);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity 180ms ease, transform 180ms ease;
    text-transform: uppercase;
}

.product-card:hover .product-quick-view,
.product-quick-view:focus-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding-top: 14px;
}

.product-reviews {
    min-height: 17px;
    margin-bottom: 4px;
    color: #6e6861;
    font-size: 10px;
}

.product-name {
    margin: 0 0 3px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.product-name button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.product-style {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.original-price {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.promo-text {
    margin-bottom: 11px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-actions {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px;
}

.quantity-select {
    width: 100%;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #bdb7af;
    border-radius: 0;
    background: var(--paper);
    font-size: 12px;
}

.add-to-bag {
    min-height: 40px;
    padding: 8px 10px;
    color: var(--paper);
    border: 1px solid var(--ink);
    background: var(--ink);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.add-to-bag:hover {
    background: var(--red);
    border-color: var(--red);
}

.shop-hero {
    padding: 42px 0 32px;
    background: var(--paper-warm);
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 12px;
}

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

.shop-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.shop-heading-row h1 {
    max-width: 760px;
    margin-bottom: 0;
}

.shop-heading-row > p {
    width: min(400px, 38%);
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 14px;
}

.shop-content {
    padding: 30px 0 82px;
}

.quick-filters {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.quick-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 15px;
    color: var(--ink);
    border: 1px solid #bdb7af;
    border-radius: 999px;
    background: var(--paper);
    cursor: pointer;
    font-size: 12px;
}

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

.filter-chip.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-chip.with-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.shop-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.filter-toggle {
    width: max-content;
    min-height: 38px;
    padding: 8px 17px;
}

.result-count {
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.sort-control {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.sort-control select {
    min-width: 154px;
    height: 38px;
    padding: 0 28px 0 10px;
    color: var(--ink);
    border: 1px solid #bdb7af;
    border-radius: 0;
    background: var(--paper);
}

.empty-results {
    padding: 80px 24px;
    border: 1px solid var(--line);
    text-align: center;
}

.empty-results[hidden] {
    display: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart.is-loading {
    position: relative;
    min-height: 340px;
}

body.woocommerce-cart .wp-block-woocommerce-cart.is-loading > * {
    visibility: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-cart.is-loading::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    content: "Loading your cart...";
    font-size: 13px;
}

.product-pagination {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.product-pagination .button {
    min-width: 160px;
}

.empty-results h2 {
    margin-bottom: 10px;
}

.empty-results p {
    color: var(--muted);
}

.shop-seo {
    border-top: 1px solid var(--line);
    background: var(--paper-warm);
}

.seo-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
}

.seo-columns h2 {
    max-width: 500px;
}

.seo-columns p {
    color: var(--muted);
    font-size: 16px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 23px;
}

.check-list li::before {
    position: absolute;
    top: 3px;
    left: 0;
    color: var(--red);
    content: "+";
    font-size: 17px;
    font-weight: 700;
}

.seo-collection-links {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.seo-collection-links strong {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-collection-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-collection-links a {
    color: var(--ink);
    font-size: 14px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.seo-collection-links a:hover {
    color: var(--red);
}

.brand-promise {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 34px var(--page-pad);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.promise-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.promise-item svg {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    color: var(--red);
}

.promise-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.promise-item strong {
    font-size: 12px;
    text-transform: uppercase;
}

.promise-item span {
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    padding: 72px 0 24px;
    color: var(--paper);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: 120px;
}

.footer-intro {
    min-width: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 104px;
    font-weight: 600;
    line-height: 0.74;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-brand span {
    display: block;
}

.footer-statement {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.55;
}

.footer-column {
    padding-bottom: 5px;
}

.footer-column h3 {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-column ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 62px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    list-style: none;
}

.legal-links a {
    color: inherit;
}

.legal-links a:hover {
    color: var(--paper);
}

.copyright {
    flex: 0 0 auto;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #a9a39a;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transform: rotate(90deg);
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav,
.cart-drawer,
.filter-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 300;
    width: min(410px, 92vw);
    padding: 24px;
    background: var(--paper);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    transition: transform 220ms ease;
}

.mobile-nav {
    left: 0;
    transform: translateX(-105%);
}

.cart-drawer,
.filter-drawer {
    right: 0;
}

.mobile-nav.is-open,
.cart-drawer.is-open,
.filter-drawer.is-open {
    transform: translateX(0);
}

.drawer-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.drawer-heading h2 {
    margin: 0;
    font-size: 28px;
}

.mobile-nav nav ul {
    display: grid;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.mobile-nav nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.mobile-nav-meta {
    display: grid;
    gap: 12px;
    margin-top: 34px;
    font-size: 13px;
}

.cart-drawer {
    display: flex;
    flex-direction: column;
}

.cart-shipping-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 11px 13px;
    background: var(--paper-warm);
    font-size: 12px;
}

.cart-shipping-note svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.cart-items {
    display: grid;
    flex: 1;
    align-content: start;
    gap: 18px;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    background: var(--paper-warm);
}

.cart-item h3 {
    margin: 0 0 4px;
    font-family: var(--font-body);
    font-size: 13px;
}

.cart-item p {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 11px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cart-item-controls button {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--paper);
    cursor: pointer;
}

.cart-item-price {
    padding-top: 2px;
    font-size: 12px;
    font-weight: 700;
}

.cart-empty {
    display: grid;
    flex: 1;
    place-content: center;
    text-align: center;
}

.cart-empty[hidden] {
    display: none;
}

.cart-empty-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.cart-empty-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.cart-empty p {
    color: var(--muted);
}

.cart-summary {
    padding-top: 20px;
    border-top: 1px solid var(--ink);
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cart-total-row strong {
    font-size: 19px;
}

.cart-summary small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.filter-group {
    display: grid;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.filter-group h3 {
    margin: 0 0 4px;
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.filter-group input {
    width: 16px;
    height: 16px;
    accent-color: var(--ink);
}

.filter-drawer-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    margin-top: 24px;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 280;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 17, 17, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.product-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.product-modal-content {
    display: grid;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow-y: auto;
    background: var(--paper);
}

.product-modal-media {
    position: relative;
    min-height: 500px;
    background: var(--paper-warm);
}

.product-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.product-modal-details h2 {
    margin-bottom: 8px;
    font-size: 36px;
}

.product-modal-notes {
    margin: 18px 0 24px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 700;
}

.product-modal-promo {
    margin: -8px 0 20px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-actions {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 48px;
    border: 1px solid var(--ink);
}

.quantity-stepper button,
.quantity-stepper input {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

.quantity-stepper button {
    cursor: pointer;
    font-size: 18px;
}

.modal-close {
    position: fixed;
    top: 28px;
    right: 30px;
    z-index: 2;
    color: var(--paper);
    background: rgba(0, 0, 0, 0.32);
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 78px;
    z-index: 360;
    max-width: min(360px, calc(100vw - 48px));
    padding: 13px 18px;
    color: var(--paper);
    background: var(--ink);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.standard-page,
.not-found {
    min-height: 60vh;
}

.woocommerce-default-page {
    min-height: 60vh;
    padding: 48px 0 80px;
    background: var(--paper);
}

.entry-content {
    font-size: 17px;
}

.entry-content h2 {
    margin-top: 36px;
}

.post-list {
    display: grid;
    gap: 2px;
}

.post-list-item {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.not-found {
    text-align: center;
}

.error-code {
    display: block;
    color: var(--line);
    font-family: var(--font-serif);
    font-size: 120px;
    line-height: 1;
}

.not-found .button {
    margin-top: 16px;
}

@media (max-width: 1180px) {
    :root {
        --page-pad: 28px;
    }

    .header-main {
        grid-template-columns: 190px minmax(0, 1fr) 150px;
        gap: 10px;
    }

    .primary-nav a {
        padding-inline: 6px;
        font-size: 11px;
    }

    .primary-nav a::after {
        right: 6px;
        left: 6px;
    }

    .utility-row {
        right: var(--page-pad);
        gap: 12px;
    }

    .utility-link.with-icon span {
        display: none;
    }

    .bag-label {
        display: none;
    }

    .deal-grid,
    .gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 18px;
    }

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

}

@media (max-width: 900px) {
    :root {
        --page-pad: 22px;
    }

    .container-wide {
        width: calc(100% - 44px);
    }

    .section-space {
        padding-block: 56px;
    }

    .header-main {
        display: flex;
        height: 64px;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        order: 1;
    }

    .brand-mark {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .brand-emblem {
        width: 34px;
        height: 34px;
    }

    .brand-emblem svg {
        width: 20px;
        height: 20px;
    }

    .brand-wordmark span:first-child {
        font-size: 8px;
    }

    .brand-wordmark span:last-child {
        font-size: 16px;
    }

    .primary-nav,
    .utility-row {
        display: none;
    }

    .header-tools {
        order: 2;
        padding-top: 0;
    }

    .home-hero {
        min-height: 0;
    }

    .collection-copy {
        bottom: 22px;
        left: 22px;
        max-width: calc(100% - 44px);
    }

    .collection-copy h2 {
        font-size: 24px;
    }

    .rewards-panel {
        padding: 32px;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .story-copy {
        padding-top: 0;
    }

    .story-stats {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .story-stats > div,
    .story-stats > div:first-child {
        min-height: 98px;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid #ccbfb7;
    }

    .story-stats > div:last-child {
        border-bottom: 0;
    }

    .product-grid,
    .product-grid-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 14px;
    }

    .product-quick-view {
        display: none;
    }

    .shop-heading-row {
        display: block;
    }

    .shop-heading-row > p {
        width: 100%;
        margin-top: 18px;
    }

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

    .result-count {
        order: 3;
        grid-column: 1 / -1;
        text-align: left;
    }

    .seo-columns {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .brand-promise {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .promise-item {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 36px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .product-modal-media {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .product-modal-details {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .home-hero {
        aspect-ratio: 767 / 1364;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    .section-space {
        padding-block: 46px;
    }

    .announcement-track {
        width: calc(100% - 110px);
        font-size: 11px;
    }

    .home-hero {
        min-height: 0;
        aspect-ratio: 767 / 1364;
    }

    .home-hero-background {
        object-position: center;
    }

    .deal-grid,
    .gift-grid {
        gap: 26px 12px;
    }

    .deal-card-copy h2 {
        font-size: 16px;
    }

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

    .collection-card {
        aspect-ratio: 1.08 / 1;
    }

    .gift-card h3 {
        font-size: 14px;
    }

    .rewards-section {
        min-height: 530px;
    }

    .rewards-section > img {
        object-position: 58% center;
    }

    .rewards-panel {
        width: calc(100% - 32px);
        padding: 28px 22px;
    }

    .rewards-panel h2,
    .story-title h2 {
        font-size: 30px;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row .text-link {
        margin-top: 16px;
    }

    .product-info {
        padding-top: 10px;
    }

    .product-name {
        font-size: 13px;
    }

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

    .product-actions .add-to-bag {
        font-size: 10px;
    }

    .product-pagination {
        min-height: 72px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .shop-toolbar {
        gap: 10px;
    }

    .sort-control > span {
        display: none;
    }

    .sort-control select {
        min-width: 145px;
    }

    .seo-columns {
        gap: 18px;
    }

    .brand-promise {
        grid-template-columns: 1fr;
        padding-block: 28px;
    }

    .site-footer {
        padding-top: 52px;
    }

    .footer-brand {
        margin-bottom: 18px;
        font-size: 56px;
        line-height: 0.76;
    }

    .footer-bottom {
        margin-top: 38px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .product-modal {
        padding: 12px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
