:root {
    --ink: #101820;
    --muted: #62676d;
    --paper: #ffffff;
    --soft: #faf7f4;
    --sand: #efe7d3;
    --sand-dark: #d9c9a9;
    --line: #dedbd5;
    --accent: #f57c74;
    --page-width: 1300px;
    --radius: 8px;
    --shadow: 0 14px 40px rgba(16, 24, 32, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Quicksand", "Avenir Next", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

body.menu-open,
body.cart-open,
body.search-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.page-shell {
    width: min(var(--page-width), calc(100% - 56px));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 18px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

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

.eyebrow {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

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

h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: clamp(40px, 5vw, 66px);
}

h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button--dark,
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce #respond input#submit {
    background: var(--ink);
    color: #fff;
}

.button--dark:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover {
    background: #303841;
    color: #fff;
}

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

.text-link {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Announcement */
.announcement-bar {
    display: grid;
    min-height: 38px;
    grid-template-columns: 1fr;
    align-items: center;
    background: var(--sand);
    color: var(--ink);
}

.announcement-track {
    position: relative;
    height: 38px;
}

.announcement-message {
    position: absolute;
    inset: 0;
    display: grid;
    margin: 0;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    opacity: 0;
    transition: opacity 260ms ease;
}

.announcement-message.is-active {
    opacity: 1;
}

.announcement-arrow {
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 70;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(16, 24, 32, 0.08);
}

.header-main {
    display: grid;
    min-height: 76px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-logo {
    display: block;
    grid-column: 2;
    width: 184px;
    justify-self: center;
}

.header-logo img {
    width: 100%;
    height: auto;
}

.header-search-toggle {
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header-utilities {
    display: flex;
    grid-column: 3;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.header-utility-link,
.header-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.header-utility-link svg,
.header-cart-button svg {
    width: 18px;
    height: 18px;
}

.cart-count {
    display: grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.desktop-navigation {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.primary-menu {
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 34px;
    list-style: none;
}

.primary-menu > .menu-item {
    position: relative;
}

.primary-menu > .menu-item > a,
.primary-menu > .menu-item > button {
    display: block;
    padding: 13px 0 12px;
    border: 0;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.primary-menu > .menu-item > a::after,
.primary-menu > .menu-item > button::after {
    display: block;
    width: 0;
    height: 1px;
    margin-top: 4px;
    background: var(--ink);
    content: "";
    transition: width 160ms ease;
}

.primary-menu > .menu-item:hover > a::after,
.primary-menu > .menu-item:hover > button::after,
.primary-menu > .menu-item:focus-within > a::after,
.primary-menu > .menu-item:focus-within > button::after {
    width: 100%;
}

.mega-menu {
    position: absolute;
    z-index: 80;
    top: 100%;
    left: 50%;
    visibility: hidden;
    width: 330px;
    padding: 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.mega-menu--wide {
    width: 430px;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.mega-menu__eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.mega-menu__links {
    display: grid;
    gap: 10px;
}

.mega-menu__links--columns {
    grid-template-columns: 1fr 1fr;
}

.mega-menu__links a {
    font-size: 14px;
}

.mega-menu__links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mobile-menu-toggle {
    display: none;
}

/* Overlays and drawers */
.search-overlay,
.site-overlay,
.cart-drawer,
.mobile-drawer {
    position: fixed;
    z-index: 120;
}

.search-overlay {
    inset: 0;
    display: grid;
    visibility: hidden;
    padding: 30px;
    place-items: center;
    background: rgba(16, 24, 32, 0.92);
    color: #fff;
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms;
}

.search-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

.search-overlay .eyebrow {
    color: #fff;
}

.search-overlay__inner {
    width: min(760px, 100%);
}

.search-overlay form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.search-overlay input[type="search"] {
    flex: 1;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: clamp(24px, 4vw, 44px);
    outline: none;
}

.search-overlay input::placeholder {
    color: rgba(255, 255, 255, 0.54);
}

.search-overlay form button {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.overlay-close,
.cart-drawer__head button,
.mobile-drawer__head button {
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.search-overlay .overlay-close {
    position: absolute;
    top: 24px;
    right: 30px;
    color: #fff;
}

.site-overlay {
    z-index: 105;
    inset: 0;
    display: none;
    background: rgba(16, 24, 32, 0.42);
}

.site-overlay.is-open {
    display: block;
}

.cart-drawer,
.mobile-drawer {
    top: 0;
    bottom: 0;
    width: min(430px, 92vw);
    background: #fff;
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms;
}

.cart-drawer {
    right: 0;
    overflow-y: auto;
    padding: 26px;
    transform: translateX(100%);
}

.cart-drawer.is-open {
    visibility: visible;
    transform: translateX(0);
}

.cart-drawer__head,
.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
    margin: 0;
    font-size: 24px;
}

.mobile-drawer {
    left: 0;
    z-index: 130;
    padding: 24px;
    transform: translateX(-100%);
}

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

.mobile-drawer__head img {
    width: 145px;
}

.mobile-drawer nav {
    display: grid;
    padding: 28px 0;
    gap: 0;
}

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

.mobile-drawer__meta {
    display: flex;
    gap: 22px;
    font-size: 13px;
}

/* Hero */
.new-year-strip {
    padding: 24px 0;
    background: var(--sand);
}

.new-year-strip__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.new-year-strip .text-link {
    justify-self: end;
}

.new-year-strip h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.02em;
    text-align: center;
}

.new-year-strip__date {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero-section {
    display: grid;
    width: min(100%, var(--page-width));
    height: clamp(400px, 32vw, 430px);
    min-height: 400px;
    grid-template-columns: minmax(330px, 1fr) 2fr;
    margin-inline: auto;
    margin-top: 26px;
    background: var(--sand);
    overflow: hidden;
}

.hero-copy {
    display: flex;
    height: 100%;
    padding: clamp(30px, 4vw, 54px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 3.5vw, 52px);
    letter-spacing: 0.01em;
    line-height: 1.22;
}

.hero-copy h1 span {
    font-size: 0.45em;
    vertical-align: top;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 390px;
    margin-bottom: 24px;
    color: #343b42;
    font-size: 15px;
}

.hero-media {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

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

/* Sections */
.section-block {
    padding: 54px 0;
}

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

.section-heading {
    max-width: 850px;
    margin-bottom: 30px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.section-heading p:not(.eyebrow) {
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
}

.section-heading--row {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
}

.section-heading--row h2 {
    margin-bottom: 0;
}

.collection-rail {
    display: grid;
    width: min(var(--page-width), calc(100% - 56px));
    grid-auto-columns: minmax(250px, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    padding-bottom: 12px;
    margin-inline: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.collection-card {
    position: relative;
    min-width: 250px;
    overflow: hidden;
    aspect-ratio: 0.74;
    background: #eee;
    scroll-snap-align: start;
}

.collection-card img,
.hair-type-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 380ms ease;
}

.collection-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(16, 24, 32, 0.34));
    content: "";
}

.collection-card span {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
}

.collection-card:hover img,
.hair-type-card:hover img {
    transform: scale(1.035);
}

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

.hair-type-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 0.72;
    background: #fff;
}

.hair-type-card span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.93);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-align: center;
}

.size-guide {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 0;
    margin-top: 60px;
    margin-bottom: 24px;
    background: var(--sand);
}

.size-guide__art {
    display: flex;
    padding: 40px;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.size-guide__art span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
}

.size-guide__art span:nth-child(2) {
    width: 78px;
    height: 78px;
}

.size-guide__art span:nth-child(3) {
    width: 102px;
    height: 102px;
}

.size-guide__art span:nth-child(4) {
    width: 126px;
    height: 126px;
}

.size-guide__copy {
    padding: clamp(32px, 5vw, 66px);
    background: var(--ink);
    color: #fff;
}

.size-guide__copy .eyebrow {
    color: #fff;
}

.size-guide__copy h2 {
    max-width: 620px;
    font-size: clamp(28px, 3vw, 38px);
}

.size-guide__copy p:not(.eyebrow) {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.72);
}

.size-guide__copy .button {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

/* Product cards */
.product-grid,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-grid.page-shell {
    width: min(var(--page-width), calc(100% - 56px));
    margin-inline: auto;
}

.product-grid::before,
.product-grid::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.store-product-card,
.woocommerce ul.products li.product {
    min-width: 0;
    margin: 0 !important;
    text-align: left;
}

.store-product-card__media,
.woocommerce ul.products li.product a img {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    width: 100%;
    background: #f4f3f0;
}

.store-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 260ms ease;
}

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

.product-badge,
.woocommerce span.onsale {
    position: absolute;
    z-index: 4;
    top: 12px;
    left: 12px;
    display: grid;
    min-width: 50px;
    min-height: 28px;
    padding: 5px 9px;
    place-items: center;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

.store-product-card__content {
    padding-top: 13px;
}

.store-product-card__meta {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-product-card h3 {
    min-height: 42px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.store-product-card__bottom {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.store-product-card__price,
.store-product-card__price ins {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.store-product-card__price del {
    margin-right: 5px;
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

.quick-add {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 23px;
    line-height: 1;
}

/* Social and brand */
.social-section {
    padding: 58px 0;
    background: var(--soft);
}

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

.social-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.brand-story {
    max-width: 920px;
    padding-top: 78px;
    padding-bottom: 78px;
    text-align: center;
}

.brand-story h2 {
    margin-bottom: 24px;
    font-size: clamp(28px, 3vw, 40px);
}

.brand-story p:not(.eyebrow) {
    color: #353b42;
    font-size: 16px;
    line-height: 1.9;
}

.promo-banner {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 64px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.promo-banner h2 {
    margin-bottom: 6px;
    font-size: clamp(24px, 2.8vw, 34px);
}

.promo-banner p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

/* Shop and WooCommerce */
.shop-page {
    padding-bottom: 70px;
}

.shop-hero {
    padding-top: 60px;
    padding-bottom: 36px;
    text-align: center;
}

.shop-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(38px, 5vw, 60px);
}

.shop-hero p:last-child {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

.category-pills {
    display: flex;
    padding-bottom: 24px;
    gap: 9px;
    overflow-x: auto;
}

.category-pills a {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-pills a.is-active,
.category-pills a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.category-pills--sub {
    padding-top: 0;
    padding-bottom: 20px;
}

.category-pills--sub a {
    padding: 7px 13px;
    border-color: transparent;
    background: var(--soft);
    font-size: 10px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.shop-content .woocommerce-result-count,
.shop-content .woocommerce-ordering {
    margin: 6px 0 26px;
    color: var(--muted);
    font-size: 12px;
}

.shop-content .woocommerce-ordering {
    float: right;
}

.shop-content .woocommerce-ordering select {
    padding: 9px 34px 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 48px;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.shop-empty {
    padding: 80px 20px;
    text-align: center;
}

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

.content-page {
    min-height: 55vh;
    padding-top: 70px;
    padding-bottom: 90px;
}

.content-page--center {
    text-align: center;
}

.entry-content {
    max-width: 860px;
}

.entry-content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.policy-page {
    width: 100%;
    max-width: 900px;
}

.policy-page .legal-updated {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.policy-page .policy-lead {
    margin-bottom: 36px;
    color: #343b42;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.65;
}

.policy-page h2 {
    margin-top: 44px;
    margin-bottom: 12px;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.3;
}

.policy-page h3 {
    margin-top: 30px;
    margin-bottom: 8px;
    font-size: 20px;
}

.policy-page p,
.policy-page li {
    color: #444b52;
    font-size: 15px;
    line-height: 1.85;
}

.policy-page ul,
.policy-page ol {
    display: grid;
    padding-left: 22px;
    margin: 14px 0 24px;
    gap: 6px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 10px;
}

.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.contact-card .eyebrow {
    margin-bottom: 10px;
}

.contact-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.contact-card p:not(.eyebrow) {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.7;
}

.contact-card a {
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 680px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 20px;
    }
}

/* Single product */
.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 54px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    width: 100%;
    float: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    background: #f4f3f0;
}

.woocommerce div.product .product_title {
    margin-bottom: 14px;
    font-size: clamp(32px, 4vw, 48px);
}

.woocommerce div.product p.price {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: #41474e;
}

.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin: 28px 0;
}

.woocommerce div.product form.cart table.variations {
    width: 100%;
    margin-bottom: 4px;
}

.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
    padding: 6px 0;
    text-align: left;
}

.woocommerce div.product form.cart .single_variation_wrap {
    flex: 1 1 100%;
    width: 100%;
}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.woocommerce div.product form.cart select {
    min-height: 48px;
    padding: 9px 38px 9px 14px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
}

.woocommerce div.product form.cart .quantity {
    display: inline-grid;
    grid-template-columns: 40px 56px 40px;
    overflow: hidden;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: #fff;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 56px;
    min-height: 48px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
}

.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.teleties-qty-button {
    width: 40px;
    height: 48px;
    padding: 0;
    border: 0;
    background: var(--soft);
    font-size: 20px;
    cursor: pointer;
}

.woocommerce div.product .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px;
}

.woocommerce div.product .woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 46px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin-bottom: 24px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 20px 0 0 !important;
    padding: 0 0 8px !important;
    border: 0 !important;
    border-bottom: 1px solid transparent !important;
    background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--ink) !important;
}

.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
    grid-column: 1 / -1;
    padding-top: 52px;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2 {
    margin-bottom: 28px;
    text-align: center;
}

.woocommerce #content div.product,
.woocommerce-page div.product {
    width: min(var(--page-width), calc(100% - 56px));
    margin-inline: auto;
}

/* Woo notices, cart, checkout */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 2px solid var(--ink) !important;
    background: var(--soft) !important;
    color: var(--ink) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--ink) !important;
}

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout form.checkout {
    font-size: 15px;
}

.woocommerce table.shop_table {
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 14px 12px;
    border-color: var(--line);
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
}

.wc-block-components-button,
.wc-block-components-radio-control__input:checked {
    border-color: var(--ink) !important;
}

.wc-block-components-button {
    border-radius: 999px !important;
    background: var(--ink) !important;
    color: #fff !important;
}

/* Footer */
.newsletter-band {
    padding: 62px 0;
    background: var(--sand);
}

.newsletter-band__inner {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    align-items: center;
    gap: 54px;
}

.newsletter-band__inner > img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.newsletter-band h2 {
    margin-bottom: 10px;
}

.newsletter-band p:not(.eyebrow, .newsletter-note) {
    max-width: 540px;
    margin-bottom: 20px;
    color: #42484f;
}

.newsletter-form {
    display: flex;
    max-width: 530px;
    border-bottom: 1px solid var(--ink);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    outline: none;
}

.newsletter-form button {
    padding: 0 6px 0 24px;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.newsletter-note {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 12px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 54px;
    padding-top: 68px;
    padding-bottom: 52px;
}

.footer-brand img {
    width: 180px;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.footer-socials a {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
}

.footer-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer-column a {
    color: #4d5359;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #72777c;
    font-size: 10px;
    letter-spacing: 0.03em;
}

.footer-bottom p {
    margin: 0;
}

/* Footer */
.site-footer {
    padding: 72px 0 24px;
    border-top: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    gap: clamp(48px, 9vw, 150px);
}

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

.site-footer .footer-brand {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: clamp(76px, 11vw, 150px);
    font-weight: 600;
    line-height: 0.78;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.site-footer .footer-statement {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

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

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

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

.site-footer .footer-column a {
    color: rgba(16, 24, 32, 0.82);
    font-size: 13px;
}

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

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

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

.site-footer .copyright {
    flex: 0 0 auto;
    margin: 0;
    color: rgba(16, 24, 32, 0.55);
    font-size: 10px;
}

@media (max-width: 820px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 36px;
    }

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

@media (max-width: 620px) {
    .site-footer {
        padding-top: 52px;
    }

    .site-footer .footer-brand {
        margin-bottom: 18px;
        font-size: 17.5vw;
        line-height: 0.8;
    }

    .site-footer .footer-grid {
        gap: 30px;
    }

    .site-footer .footer-bottom {
        margin-top: 48px;
    }
}

/* Responsive */
@media (min-width: 1100px) {
    .collection-rail {
        grid-auto-columns: calc((100% - 54px) / 4);
    }
}

@media (max-width: 1099px) {
    .desktop-navigation {
        display: none;
    }

    .header-main {
        min-height: 68px;
    }

    .mobile-menu-toggle {
        display: grid;
        width: 40px;
        height: 40px;
        padding: 10px;
        place-content: center;
        gap: 5px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 1px;
        background: var(--ink);
    }

    .header-logo {
        width: 160px;
    }

    .header-search-toggle {
        justify-self: end;
    }

    .header-main {
        grid-template-columns: 50px 1fr auto;
    }

    .header-logo {
        grid-column: 2;
        justify-self: center;
    }

    .header-utilities {
        grid-column: 3;
    }

    .header-utility-link span {
        display: none;
    }

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

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

@media (max-width: 820px) {
    .page-shell,
    .collection-rail,
    .woocommerce #content div.product,
    .woocommerce-page div.product {
        width: min(100% - 32px, var(--page-width));
    }

    .hero-section {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .hero-copy {
        order: 2;
    }

    .hero-media {
        height: 320px;
        min-height: 320px;
    }

    .hero-section {
        height: auto;
    }

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

    .size-guide {
        grid-template-columns: 1fr;
    }

    .size-guide__art {
        min-height: 210px;
    }

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

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

    .promo-banner {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .announcement-message {
        font-size: 9px;
        letter-spacing: 0.04em;
    }

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

    .header-main {
        grid-template-columns: 44px 1fr auto;
    }

    .header-logo {
        width: 132px;
    }

    .header-utilities {
        gap: 12px;
    }

    .header-cart-button span:not(.cart-count) {
        display: none;
    }

    .new-year-strip__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .new-year-strip .text-link {
        justify-self: center;
    }

    .hero-section {
        width: 100%;
    }

    .hero-copy {
        padding: 34px 20px;
    }

    .hero-media {
        height: 280px;
        min-height: 280px;
    }

    .section-block {
        padding: 42px 0;
    }

    .section-heading--row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .collection-rail {
        grid-auto-columns: 78%;
    }

    .hair-type-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hair-type-card {
        aspect-ratio: 0.69;
    }

    .hair-type-card span {
        right: 8px;
        bottom: 8px;
        left: 8px;
        padding: 9px;
        font-size: 9px;
    }

    .size-guide {
        width: 100%;
        margin-top: 40px;
    }

    .size-guide__art {
        gap: 6px;
        padding: 24px 12px;
    }

    .size-guide__art span {
        width: 42px;
        height: 42px;
        font-size: 7px;
    }

    .size-guide__art span:nth-child(2) {
        width: 58px;
        height: 58px;
    }

    .size-guide__art span:nth-child(3) {
        width: 74px;
        height: 74px;
    }

    .size-guide__art span:nth-child(4) {
        width: 90px;
        height: 90px;
    }

    .size-guide__copy {
        padding: 34px 22px;
    }

    .product-grid,
    .woocommerce ul.products {
        gap: 28px 10px;
    }

    .store-product-card h3 {
        font-size: 13px;
    }

    .store-product-card__meta {
        font-size: 9px;
    }

    .quick-add {
        width: 32px;
        height: 32px;
    }

    .social-grid {
        gap: 6px;
    }

    .brand-story {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .promo-banner {
        width: calc(100% - 32px);
        padding: 28px 22px;
        margin-bottom: 42px;
    }

    .newsletter-band__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .newsletter-band__inner > img {
        max-height: 280px;
    }

    .footer-main {
        gap: 34px 20px;
        padding-top: 48px;
    }

    .footer-column {
        gap: 6px;
    }

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

    .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
        align-items: stretch;
        flex-direction: column;
    }

    .woocommerce div.product form.cart .quantity {
        align-self: flex-start;
    }

    .woocommerce div.product .single_add_to_cart_button {
        width: 100%;
    }
}

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