.is-product {
    --cc-paper: #faf6ed;
    --cc-paper-dark: #f1ede3;
    --cc-brown: #4c4341;
    --cc-edge: clamp(20px, 2.78vw, 40px);
}

.is-product.is-product--brand {
    --cc-paper: var(--collective-cream, #f4efe6);
    --cc-paper-dark: var(--collective-cream, #f4efe6);
    --cc-brown: var(--collective-navy, #0d2d40);
}

.is-product--brand .cc-product-facts__rows dt {
    color: var(--cc-brown);
}

.is-product--brand .cc-product-editorial {
    background: var(--cc-paper);
}

.cc-product-page {
    background: var(--cc-paper);
    color: var(--cc-brown);
    font-family: var(--collective-display);
}

.cc-product-wrap {
    width: 100%;
    padding-inline: var(--cc-edge);
}

.cc-product-hero {
    background: var(--cc-surface);
    color: var(--cc-ink);
}

.cc-product-hero__inner {
    position: relative;
    display: flex;
    min-height: max(520px, 80svh);
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 44px;
}

.cc-product-hero__image {
    position: absolute;
    inset: 44% auto auto 50%;
    display: grid;
    width: min(50%, 500px, 70svh);
    aspect-ratio: 1;
    grid-template-rows: minmax(0, 1fr);
    margin: 0;
    place-items: center;
    filter: drop-shadow(0 9px 12px rgb(0 0 0 / 11%));
    transform: translate(-50%, -50%);
}

.cc-product-hero__image > img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-6%);
}

.cc-product-hero__image--color-photo {
    overflow: clip;
    filter: none;
}

.cc-product-hero__image--color-photo > img {
    transform: translateY(-4%) scale(1.12);
}

.cc-product-hero__image > img[src*="/products/approved-20261118/"] {
    height: 100%;
    object-fit: contain;
    transform: none;
}

.cc-product-summary {
    display: contents;
}

.cc-product-summary__title {
    position: absolute;
    top: calc(50% - 75px);
    left: var(--cc-edge);
    display: flex;
    width: min(29%, 400px);
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-50%);
}

.cc-product-summary__category {
    display: inline-block;
    margin: 0 0 10px;
    background: var(--cc-paper);
    color: var(--cc-brown);
    padding: 2px 4px;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
}

.cc-product-summary h1,
.cc-product-facts h2,
.cc-product-story h2,
.cc-product-related h2 {
    margin: 0;
    font-size: 54px;
    font-weight: 440;
    letter-spacing: -0.017em;
    line-height: .96;
    overflow-wrap: anywhere;
}

.cc-product-summary h1 {
    font-weight: 440;
    letter-spacing: -0.175px;
    line-height: .9;
}

.cc-product-summary__details {
    position: relative;
    width: min(29%, 320px);
    font-size: 16px;
    font-weight: 450;
    line-height: 1.5;
}

.cc-product-summary__details p {
    margin: 0;
}

.cc-product-summary__details p:not(.cc-product-summary__weight) {
    min-height: 48px;
}

.cc-product-summary__details .cc-product-summary__weight {
    margin-top: 40px;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
}

.cc-product-order {
    position: relative;
    width: max-content;
    min-width: min(204px, 100%);
    max-width: min(31%, 290px);
    margin-left: auto;
    scroll-margin-top: 115px;
}

.cc-product-order__options {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 6px;
    margin-bottom: 8px;
}

.cc-product-order__options label {
    display: grid;
    min-width: 0;
    gap: 7px;
    font-size: 13px;
}

.cc-product-order__options select,
.cc-product-order__options input {
    max-width: 100%;
    min-height: 38px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
}

.cc-product-order__options select option {
    background: var(--cc-paper);
    color: var(--cc-brown);
}

.cc-product-order__quantity input {
    width: 53px;
    text-align: center;
}

.cc-product-buy,
.cc-product-sticky__button {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid var(--cc-buy-background);
    border-radius: 0;
    background: var(--cc-buy-background);
    color: var(--cc-buy-ink);
    padding: 8px 18px;
    font: inherit;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
}

.cc-product-buy {
    width: 100%;
    cursor: pointer;
}

.cc-product-buy[hidden] {
    display: none;
}

.cc-product-order__actions:not([hidden]) {
    display: grid;
    gap: 8px;
}

.cc-product-buy.cc-product-buy--secondary {
    background: transparent;
    color: var(--cc-ink);
    text-align: center;
}

.cc-product-buy.cc-product-buy--secondary:hover:not(:disabled) {
    background: var(--cc-buy-background);
    color: var(--cc-buy-ink);
}

.cc-product-order__price {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 650;
}

.cc-product-order__message {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cc-product-order__message[role="status"]:not(:empty),
.cc-product-order__message:not([role]):not(:empty) {
    margin-top: 10px;
}

.cc-product-order__message[role="alert"]:not(:empty) {
    margin-bottom: 10px;
}

.cc-product-hero--award button.cc-product-buy:not(.cc-product-buy--secondary) {
    justify-content: space-between;
    gap: clamp(8px, 1vw, 14px);
    text-align: start;
}

.cc-product-hero--award .cc-product-buy [data-product-price] {
    flex: none;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cc-product-buy:hover:not(:disabled) {
    background: transparent;
    color: var(--cc-ink);
}

.cc-product-buy:disabled {
    opacity: .55;
    cursor: default;
}

.cc-product-order__note {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.114px;
    text-align: left;
}


.cc-product-facts {
    padding-block: 80px;
}

.cc-product-facts h2 {
    width: 66.667%;
    letter-spacing: -0.175px;
    line-height: .9;
}

.cc-product-facts__rows,
.cc-product-facts__cards {
    width: 50%;
    margin-left: auto;
}

.cc-product-facts__rows {
    margin-top: 40px;
    margin-bottom: 0;
    border-top: 1px solid rgb(76 67 65 / 50%);
}

.cc-product-facts__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgb(76 67 65 / 50%);
    padding-block: 16px;
    font-size: 12px;
    line-height: 16px;
}

.cc-product-facts__rows dt {
    color: #6f6360;
    text-transform: uppercase;
}

.cc-product-facts__rows dd {
    max-width: 50%;
    margin: 0;
    text-align: right;
}

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

.cc-product-facts__card {
    display: flex;
    min-height: 192px;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background: var(--cc-paper-dark);
    color: inherit;
    padding: 12px;
}

.cc-product-facts__card strong {
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
}

.cc-product-facts__card span {
    max-width: 75%;
    font-size: 12px;
    line-height: 16px;
}

.cc-product-story {
    background: var(--cc-surface);
    color: var(--cc-ink);
    padding-bottom: 48px;
}

.cc-product-story__inner {
    width: calc(50% + var(--cc-edge));
    margin-left: auto;
    padding-block: 96px;
}

.cc-product-story__inner h2 {
    max-width: 75%;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.175px;
}

.cc-product-story__inner p {
    max-width: 75%;
    margin: 40px 0 0;
    font-size: 16px;
    line-height: 20px;
}

.cc-product-story__inner details {
    margin-top: 24px;
}

.cc-product-story__inner summary {
    display: block;
    width: fit-content;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

.cc-product-story__inner summary::-webkit-details-marker {
    display: none;
}

.cc-product-story__inner details:not([open]) summary span:last-child,
.cc-product-story__inner details[open] summary span:first-child {
    display: none;
}

.cc-product-story__inner details p {
    margin-top: 16px;
}

.cc-product-story__gallery {
    display: grid;
    grid-auto-columns: calc((100% - 60px) / 2.2);
    grid-auto-flow: column;
    gap: 50px;
    overflow-x: auto;
    margin: 0;
    padding: 0 var(--cc-edge);
    scroll-padding-inline: var(--cc-edge);
    scroll-snap-type: x proximity;
    list-style: none;
}

.cc-product-story__gallery li {
    min-width: 0;
    scroll-snap-align: start;
}

.cc-product-story__gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.cc-product-story__gallery img[data-native-gallery-image] {
    aspect-ratio: var(--cc-gallery-image-ratio);
    object-fit: contain;
}

.cc-product-related {
    padding-block: 112px 64px;
}

.cc-product-related h2 {
    width: 50%;
    font-size: 48px;
    letter-spacing: -0.175px;
    line-height: 1;
}

.cc-product-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, calc((100% - 64px) / 4.2)));
    gap: 20px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.cc-product-related__grid > li {
    min-width: 0;
}

.cc-product-related__all {
    display: table;
    margin: 64px auto 0;
    color: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-transform: uppercase;
}

.cc-product-editorial {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: end;
    padding-block: 112px 128px;
    background: #9fb59a;
}

.cc-product-editorial figure {
    width: 80%;
    margin: 0;
}

.cc-product-editorial figure:last-child {
    justify-self: end;
}

.cc-product-editorial img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.cc-product-sticky:not([hidden]) {
    position: fixed;
    z-index: 500;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgb(76 67 65 / 20%);
    background: var(--cc-paper);
    color: var(--cc-brown);
    padding: 16px 24px;
}

.cc-product-sticky__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.cc-product-sticky__message {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    margin: 0;
    background: var(--cc-paper);
    color: var(--cc-brown);
    text-align: center;
}

.cc-product-sticky__message:not(:empty) {
    border-top: 1px solid rgb(76 67 65 / 20%);
    padding: 8px 20px;
}

.cc-product-sticky__identity img {
    object-fit: contain;
    background: var(--cc-paper-dark);
}

.cc-product-sticky__button {
    min-width: 204px;
    border-color: var(--cc-brown);
    background: var(--cc-brown);
    color: var(--cc-paper);
    cursor: pointer;
}

@media (max-width: 900px) and (min-width: 768px) {
    .cc-product-summary h1 {
        font-size: 40px;
    }

    .cc-product-order {
        max-width: 235px;
    }
}

@media (min-width: 1200px) {
    .cc-product-hero--award .cc-product-hero__image {
        width: min(50%, 550px, 76svh);
    }
}

@media (min-width: 1024px) {
    .cc-product-hero__image--color-photo {
        width: min(50%, 720px, 80svh);
    }

    .cc-product-hero--award .cc-product-hero__image--color-photo {
        width: min(50%, 740px, 82svh);
    }
}

@media (max-width: 767px) {
    .cc-product-hero__inner {
        display: block;
        min-height: 0;
        padding: 0 clamp(16px, 6.15vw, 24px) 20px;
        text-align: center;
    }

    .cc-product-hero__image {
        position: static;
        width: min(100%, 330px);
        margin-inline: auto;
        transform: none;
    }

    .cc-product-hero--award .cc-product-hero__image {
        width: min(100%, 380px);
    }

    .cc-product-summary__title {
        position: relative;
        inset: auto;
        width: auto;
        align-items: center;
        transform: none;
    }

    .cc-product-summary__category {
        font-size: 12px;
    }

    .cc-product-summary h1,
    .cc-product-facts h2,
    .cc-product-story h2,
    .cc-product-related h2 {
        font-size: 30px;
        line-height: 1.02;
    }

    .cc-product-summary h1 {
        line-height: .9;
    }

    .cc-product-summary__details {
        width: auto;
        max-width: 278px;
        margin: 24px auto 20px;
    }

    .cc-product-summary__details p:not(.cc-product-summary__weight) {
        min-height: 72px;
    }

    .cc-product-order {
        width: 100%;
        max-width: 100%;
    }

    .cc-product-order__note {
        margin-top: 30px;
    }


    .cc-product-facts__rows,
    .cc-product-facts__cards,
    .cc-product-story__inner {
        width: 100%;
    }

    .cc-product-order__options {
        justify-content: center;
    }

    .cc-product-facts h2,
    .cc-product-related h2 {
        letter-spacing: -0.175px;
    }

    .cc-product-facts__cards {
        gap: 8px;
        margin-top: 32px;
    }

    .cc-product-facts__card span {
        max-width: none;
    }

    .cc-product-story__inner {
        padding-block: 64px 40px;
    }

    .cc-product-story__inner h2 {
        max-width: 75%;
        font-size: 48px;
        line-height: 1;
    }

    .cc-product-story__inner p {
        max-width: none;
        margin-top: 32px;
        font-size: 14px;
        line-height: 16px;
    }

    .cc-product-story__gallery {
        grid-auto-columns: calc((100% - 6px) / 1.2);
        gap: 30px;
    }

    .cc-product-related {
        padding-block: 48px 32px;
    }

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

    .cc-product-related__all {
        margin-top: 32px;
    }

    .cc-product-editorial {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 64px;
    }

    .cc-product-editorial figure:first-child {
        width: calc(100% - var(--cc-edge));
    }

    .cc-product-editorial figure:last-child {
        width: calc(100% - min(96px, 25vw));
    }

    .cc-product-sticky:not([hidden]) {
        padding: 12px 20px max(12px, env(safe-area-inset-bottom));
    }

    .cc-product-sticky__identity {
        display: none;
    }

    .cc-product-sticky__button {
        width: 100%;
        min-width: 0;
    }
}
