/*
Theme Name: Ray-Ban Independent Store
Theme URI: https://meimi.bond/
Author: Manus
Description: A unified WooCommerce storefront theme assembled from the supplied Ray-Ban style and decoration packages.
Version: 2.1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: rayban-independent
*/

:root {
    --rb-red: #e21b22;
    --rb-red-dark: #b71117;
    --rb-black: #090909;
    --rb-charcoal: #171717;
    --rb-ink: #202020;
    --rb-muted: #6a6a6a;
    --rb-line: #dededb;
    --rb-soft: #f4f4f1;
    --rb-white: #fff;
    --rb-shell: min(92vw, 1440px);
    --rb-narrow: min(88vw, 900px);
    --rb-shadow: 0 22px 70px rgb(0 0 0 / 12%);
    --rb-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

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

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

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

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

h1,
h2,
h3,
h4 {
    color: var(--rb-black);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.site-shell {
    width: var(--rb-shell);
    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;
}

.screen-reader-text:focus,
.skip-link:focus {
    top: 10px;
    left: 10px;
    z-index: 99999;
    width: auto;
    height: auto;
    clip: auto;
    padding: 12px 18px;
    background: var(--rb-white);
    color: var(--rb-black);
    font-weight: 800;
}

.announcement-bar {
    position: relative;
    z-index: 1001;
    background: var(--rb-red);
    color: var(--rb-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.announcement-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgb(9 9 9 / 97%);
    color: var(--rb-white);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    backdrop-filter: blur(18px);
}

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

.site-header__inner {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    min-height: 78px;
    gap: 24px;
}

.site-branding {
    min-width: 0;
}

.site-branding__link,
.site-branding__link .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-branding img,
.site-branding .custom-logo {
    width: auto;
    max-width: 138px;
    max-height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.site-nav__list,
.site-nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.7vw, 42px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    position: relative;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--rb-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--rb-red);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 15px 20px;
    background: var(--rb-black);
    list-style: none;
    box-shadow: var(--rb-shadow);
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
    display: block;
}

.site-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.site-actions__link {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid transparent;
    color: var(--rb-white);
    transition: border-color .2s ease, background .2s ease;
}

.site-actions__link:hover {
    border-color: rgb(255 255 255 / 30%);
    background: rgb(255 255 255 / 8%);
}

.site-actions svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.site-actions__count {
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--rb-red);
    color: var(--rb-white);
    font-size: 10px;
    font-weight: 900;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: var(--rb-white);
    cursor: pointer;
}

.menu-toggle__line {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform .25s ease;
}

.home-hero {
    position: relative;
    min-height: clamp(620px, 78vh, 850px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--rb-black) var(--hero-image) center / cover no-repeat;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: inherit;
    background-position: center;
    background-size: cover;
    content: "";
    transform: scale(1.02);
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 44%) 45%, rgb(0 0 0 / 12%) 75%),
        linear-gradient(0deg, rgb(0 0 0 / 72%) 0%, transparent 55%);
}

.home-hero__content {
    padding-bottom: clamp(74px, 10vh, 120px);
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--rb-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--rb-white);
}

.home-hero h1 {
    max-width: 980px;
    margin-bottom: 24px;
    color: var(--rb-white);
    font-size: clamp(3.5rem, 8.2vw, 8.8rem);
    letter-spacing: -.065em;
    line-height: .84;
    text-transform: uppercase;
}

.home-hero__copy {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgb(255 255 255 / 82%);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 0;
    background: var(--rb-red);
    color: var(--rb-white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--rb-red-dark);
    color: var(--rb-white);
    transform: translateY(-2px);
}

.button--ghost {
    border-color: rgb(255 255 255 / 68%);
    background: transparent;
}

.button--ghost:hover {
    border-color: var(--rb-white);
    background: var(--rb-white);
    color: var(--rb-black);
}

.button--dark {
    background: var(--rb-black);
}

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

.home-hero__scroll {
    position: absolute;
    right: 4vw;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--rb-white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.section-space {
    padding-block: clamp(76px, 9vw, 140px);
}

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

.section-heading {
    margin-bottom: clamp(36px, 5vw, 68px);
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2.35rem, 5vw, 5.4rem);
    text-transform: uppercase;
}

.section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
    align-items: end;
    gap: 8vw;
}

.section-heading--split > p {
    margin: 0;
    color: var(--rb-muted);
    font-size: 1.05rem;
}

.section-heading--center {
    max-width: 820px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading--center > p:last-child {
    max-width: 630px;
    margin: 22px auto 0;
    color: var(--rb-muted);
}

.collection-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, minmax(310px, 36vw));
    gap: 16px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    background: var(--rb-charcoal);
}

.collection-card--wide {
    grid-row: 1 / span 2;
}

.collection-card a,
.collection-card img,
.collection-card__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.collection-card img {
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}

.collection-card__overlay {
    background: linear-gradient(180deg, transparent 38%, rgb(0 0 0 / 76%) 100%);
}

.collection-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 20px;
    padding: clamp(22px, 3vw, 44px);
    color: var(--rb-white);
}

.collection-card__content small {
    color: rgb(255 255 255 / 62%);
    font-size: 10px;
    letter-spacing: .14em;
}

.collection-card__content strong {
    font-size: clamp(1.35rem, 2.8vw, 3.2rem);
    letter-spacing: -.045em;
    line-height: .95;
    text-transform: uppercase;
}

.collection-card__content em {
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.collection-card:hover img {
    transform: scale(1.045);
}

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

.store-product-card {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--rb-white);
    list-style: none;
}

.store-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2f2f2;
}

.store-product-card__image img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 18px;
    object-fit: contain;
    box-sizing: border-box;
    transition: transform .5s ease;
}

.store-product-card__view {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px 18px;
    background: rgb(9 9 9 / 92%);
    color: var(--rb-white);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: translateY(101%);
    transition: transform .25s ease;
}

.store-product-card:hover .store-product-card__image img {
    transform: scale(1.02);
}

.store-product-card:hover .store-product-card__view {
    transform: translateY(0);
}

.store-product-card__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 18px 24px;
}

.store-product-card__label {
    margin-bottom: 7px;
    color: var(--rb-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.store-product-card h3 {
    margin-bottom: 9px;
    font-size: 1rem;
    letter-spacing: -.015em;
}

.store-product-card__price,
.store-product-card__price .amount {
    color: var(--rb-ink);
    font-size: .95rem;
    font-weight: 700;
}

.store-product-card__action .button {
    width: 42px;
    min-height: 42px;
    overflow: hidden;
    padding: 0;
    color: transparent;
    font-size: 0;
}

.store-product-card__action .button::before {
    color: var(--rb-white);
    content: "+";
    font-size: 22px;
    line-height: 1;
}

.store-product-card__action .added_to_cart {
    display: block;
    margin-top: 8px;
    color: var(--rb-red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-action {
    margin-top: 50px;
    text-align: center;
}

.story-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    min-height: 720px;
    background: var(--rb-black);
}

.story-section__image {
    min-height: 540px;
    overflow: hidden;
}

.story-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-section__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(54px, 7vw, 120px);
    color: rgb(255 255 255 / 72%);
}

.story-section__content h2 {
    max-width: 680px;
    margin-bottom: 28px;
    color: var(--rb-white);
    font-size: clamp(3rem, 5.7vw, 6.2rem);
    text-transform: uppercase;
}

.story-section__content p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 34px;
    font-size: 1.05rem;
}

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

.text-link--light {
    color: var(--rb-white);
}

.principles__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1px;
    background: var(--rb-line);
    border: 1px solid var(--rb-line);
}

.principles__intro,
.principle-card {
    min-height: 300px;
    padding: clamp(30px, 3vw, 52px);
    background: var(--rb-white);
}

.principles__intro h2 {
    max-width: 480px;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    text-transform: uppercase;
}

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

.principle-card > span {
    margin-bottom: auto;
    color: var(--rb-red);
    font-size: 11px;
    font-weight: 900;
}

.principle-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.principle-card p {
    margin-bottom: 0;
    color: var(--rb-muted);
    font-size: .94rem;
}

.service-strip {
    border-top: 1px solid var(--rb-line);
    background: var(--rb-soft);
}

.service-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-height: 150px;
    padding: 38px clamp(20px, 3vw, 48px);
    border-right: 1px solid var(--rb-line);
}

.service-card:last-child {
    border-right: 0;
}

.service-card__number {
    color: var(--rb-red);
    font-size: 10px;
    font-weight: 900;
}

.service-card strong,
.service-card span:not(.service-card__number) {
    display: block;
}

.service-card strong {
    margin-bottom: 7px;
    font-size: .95rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.service-card span:not(.service-card__number) {
    color: var(--rb-muted);
    font-size: .85rem;
}

.site-footer {
    padding-block: clamp(70px, 8vw, 120px) 34px;
    background: var(--rb-black);
    color: rgb(255 255 255 / 66%);
}

.site-footer__lead {
    max-width: 930px;
    padding-bottom: clamp(54px, 7vw, 95px);
}

.site-footer__lead h2 {
    margin-bottom: 26px;
    color: var(--rb-white);
    font-size: clamp(3rem, 6vw, 7rem);
    text-transform: uppercase;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, .75fr) 1.45fr;
    gap: 50px;
    padding-block: 48px;
    border-top: 1px solid rgb(255 255 255 / 16%);
    border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.footer-column h3 {
    margin-bottom: 24px;
    color: var(--rb-white);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgb(255 255 255 / 62%);
    font-size: .88rem;
    transition: color .2s ease;
}

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

.footer-column--brand {
    justify-self: end;
    max-width: 360px;
}

.footer-column--brand img {
    width: 145px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-column--brand p {
    margin-bottom: 0;
    font-size: .9rem;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 26px;
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-footer__bottom p {
    margin-bottom: 0;
}

.content-page {
    min-height: 60vh;
    padding-block: clamp(60px, 8vw, 120px);
}

.content-page__inner--narrow {
    width: var(--rb-narrow);
}

.page-hero {
    margin-bottom: 58px;
}

.page-hero--compact {
    max-width: 960px;
}

.page-hero h1 {
    margin-bottom: 0;
    font-size: clamp(3rem, 7vw, 7.5rem);
    text-transform: uppercase;
}

.prose {
    font-size: 1.07rem;
}

.prose > * {
    max-width: 760px;
}

.prose h2,
.prose h3 {
    margin-top: 2.2em;
}

.prose a {
    color: var(--rb-red);
    text-decoration: underline;
}

.article-hero-image {
    margin-bottom: 56px;
}

.article-hero-image img {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
}

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

.editorial-card {
    border: 1px solid var(--rb-line);
}

.editorial-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.editorial-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-card__content {
    padding: 30px;
}

.editorial-card h2 {
    font-size: 2rem;
}

.empty-state {
    padding: 70px 30px;
    border: 1px solid var(--rb-line);
    text-align: center;
}

.pagination {
    margin-top: 50px;
}

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

.commerce-hero {
    padding-block: clamp(68px, 8vw, 118px);
    background: var(--rb-black);
    color: rgb(255 255 255 / 70%);
}

.commerce-hero h1 {
    margin-bottom: 18px;
    color: var(--rb-white);
    font-size: clamp(3.8rem, 8vw, 8.2rem);
    text-transform: uppercase;
}

.commerce-hero p:last-child {
    margin-bottom: 0;
}

.commerce-shell {
    padding-block: clamp(54px, 7vw, 100px);
}

.woocommerce .woocommerce-breadcrumb {
    margin-bottom: 32px;
    color: var(--rb-muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--rb-black);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 36px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    min-height: 48px;
    border: 1px solid var(--rb-line);
    border-radius: 0;
    background: var(--rb-white);
    color: var(--rb-black);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    padding: 12px 14px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    clear: both;
    margin: 0;
}

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

.woocommerce ul.products li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding-bottom: 24px;
    background: var(--rb-soft);
    box-sizing: border-box;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 20px;
    padding: 18px;
    background: #f2f2f2;
    object-fit: contain;
    box-sizing: border-box;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    margin-right: 18px;
    margin-left: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    color: var(--rb-black);
    font-size: 1rem;
}

.woocommerce ul.products li.product .price {
    color: var(--rb-black);
    font-size: .95rem;
    font-weight: 800;
}

.woocommerce ul.products li.product .button {
    margin-top: 12px;
}

.woocommerce span.onsale {
    top: 10px;
    left: 10px;
    min-width: 0;
    min-height: 0;
    padding: 8px 11px;
    border-radius: 0;
    background: var(--rb-red);
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
}

.woocommerce div.product {
    display: flow-root;
}

.woocommerce div.product .product_title {
    font-size: clamp(2.4rem, 4.6vw, 5.4rem);
    text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--rb-black);
    font-size: 1.35rem;
    font-weight: 800;
}

.woocommerce div.product form.cart {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.woocommerce .quantity .qty {
    min-height: 50px;
    border: 1px solid var(--rb-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding-left: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 0;
    background: var(--rb-soft);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 20px 24px 20px 54px;
    border-top-color: var(--rb-red);
    background: var(--rb-soft);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--rb-red);
}

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

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 16px;
}

.woocommerce-cart table.cart img {
    width: 90px;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    float: none;
    width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    max-width: 580px;
    margin-left: auto;
}

.woocommerce-checkout .col2-set {
    margin-bottom: 45px;
}

.woocommerce-checkout #payment {
    border-radius: 0;
    background: var(--rb-soft);
}

.woocommerce-checkout #payment div.payment_box {
    background: var(--rb-white);
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--rb-white);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--rb-line);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .site-header__inner {
        grid-template-columns: 150px 1fr 150px;
    }

    .site-nav__list,
    .site-nav .menu {
        gap: 18px;
    }

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

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

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

    .footer-column--brand {
        justify-self: start;
    }
}

@media (max-width: 820px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .announcement-bar__detail,
    .site-actions__search {
        display: none;
    }

    .announcement-bar__inner {
        justify-content: center;
        text-align: center;
    }

    .site-header__inner {
        grid-template-columns: 48px 1fr auto;
        min-height: 68px;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .site-branding {
        justify-self: center;
    }

    .site-branding img,
    .site-branding .custom-logo {
        max-width: 118px;
        max-height: 36px;
    }

    .site-nav {
        position: fixed;
        top: 102px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        padding: 34px 5vw;
        overflow-y: auto;
        background: var(--rb-black);
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform .3s ease, visibility .3s ease;
    }

    .admin-bar .site-nav {
        top: 148px;
    }

    .site-nav.is-open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .site-nav__list,
    .site-nav .menu {
        display: block;
    }

    .site-nav li {
        border-bottom: 1px solid rgb(255 255 255 / 15%);
    }

    .site-nav a {
        width: 100%;
        min-height: 64px;
        font-size: 1rem;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav .sub-menu {
        position: static;
        display: block;
        padding: 0 0 12px 18px;
        box-shadow: none;
    }

    .site-actions {
        gap: 4px;
    }

    .home-hero {
        min-height: 680px;
        background-position: 48% center;
    }

    .home-hero__shade {
        background: linear-gradient(0deg, rgb(0 0 0 / 84%) 0%, rgb(0 0 0 / 18%) 80%);
    }

    .home-hero h1 {
        max-width: 720px;
        font-size: clamp(3.4rem, 13.5vw, 7rem);
    }

    .home-hero__scroll {
        display: none;
    }

    .section-heading--split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, minmax(380px, 70vw));
    }

    .collection-card--wide {
        grid-row: auto;
    }

    .story-section {
        grid-template-columns: 1fr;
    }

    .story-section__image {
        min-height: 480px;
    }

    .service-strip__grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: 0;
        border-bottom: 1px solid var(--rb-line);
    }

    .service-card:last-child {
        border-bottom: 0;
    }

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

@media (max-width: 580px) {
    .site-shell {
        width: min(90vw, 1440px);
    }

    .site-actions__link {
        width: 34px;
        height: 34px;
    }

    .home-hero {
        min-height: 610px;
    }

    .home-hero__content {
        padding-bottom: 58px;
    }

    .home-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(3.05rem, 15vw, 5.2rem);
    }

    .button-row,
    .button-row .button {
        width: 100%;
    }

    .collection-grid {
        grid-template-rows: repeat(3, 440px);
    }

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

    .collection-card__content em {
        display: none;
    }

    .store-product-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .principles__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .principles__intro,
    .principle-card {
        min-height: 240px;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

    .woocommerce div.product form.cart {
        flex-wrap: wrap;
    }

    .woocommerce div.product form.cart .button {
        flex: 1;
    }
}

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

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