/*
 * Storefront visual layer.
 *
 * Only storefront components live here. Colors, type, buttons and spacing come from the tokens in app.css.
 */

/* Keep closed offcanvas panels from extending the document width. */
html,
body {
    overflow-x: clip;
}

body {
    line-height: var(--brand-body-line-height);
}

/* Header: logo left, open search centered, language, account and cart right. */

.storefront-header {
    background-color: var(--brand-white);
    border-bottom: 1px solid var(--brand-border);
}

.storefront-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 0;
    background: transparent;
    color: var(--brand-ink);
    font-size: 1.35rem;
    line-height: 1;
    transition: color var(--brand-transition);
}

.storefront-icon-btn:hover,
.storefront-icon-btn:focus-visible {
    color: var(--brand-caramel-dark);
}

.storefront-locale-code {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.storefront-cart-count {
    position: absolute;
    top: -0.35rem;
    right: -0.6rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.25rem;
    border-radius: 50%;
    background-color: var(--brand-caramel-dark);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.15rem;
    text-align: center;
}

.storefront-cart-total {
    margin-left: 0.35rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.storefront-header .dropdown-menu {
    z-index: 1035;
}

/* Live search */

.storefront-search {
    position: relative;
}

.storefront-search .form-control {
    height: 3rem;
    padding-right: 3.25rem;
    padding-left: 1.25rem;
    border-color: var(--brand-border-strong);
    background-color: var(--brand-white);
    color: var(--brand-ink);
}

.storefront-search .form-control:focus {
    border-color: var(--brand-ink);
    box-shadow: none;
}

.storefront-search-submit {
    position: absolute;
    top: 0;
    right: 0;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    color: var(--brand-ink);
    font-size: 1.1rem;
    transition: color var(--brand-transition);
}

.storefront-search-submit:hover,
.storefront-search-submit:focus-visible {
    color: var(--brand-caramel-dark);
}

.storefront-search-panel {
    position: absolute;
    top: calc(100% + 0.25rem);
    right: 0;
    left: 0;
    z-index: 1040;
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    border: 1px solid var(--brand-border);
    background-color: var(--brand-white);
    box-shadow: var(--brand-shadow);
}

.storefront-search-result {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 1rem;
    color: var(--brand-ink);
    text-decoration: none;
}

[role='option'] + [role='option'] .storefront-search-result {
    border-top: 1px solid var(--brand-border);
}

[role='option'].active .storefront-search-result,
.storefront-search-result:hover {
    background-color: var(--brand-surface);
    color: var(--brand-ink);
}

.storefront-search-result img {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    background-color: var(--brand-surface);
}

.storefront-search-result-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    line-height: 1.35;
}

.storefront-search-result-name {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-search-result-category {
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

.storefront-search-result-price {
    flex-shrink: 0;
    font-weight: 500;
}

.storefront-search-status:not(:empty) {
    padding: 1rem;
    color: var(--brand-ink-muted);
}

.storefront-search-all {
    display: block;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--brand-border);
    background-color: var(--brand-cream);
    color: var(--brand-ink);
    font-size: var(--brand-small-size);
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.storefront-search-all:hover {
    background-color: var(--brand-sand);
    color: var(--brand-ink);
}

/* Main navigation */

.storefront-nav .navbar-collapse {
    border-top: 1px solid var(--brand-border);
}

.storefront-nav .nav-link {
    position: relative;
    color: var(--brand-ink);
    font-size: 1rem;
}

.storefront-nav .nav-link:hover,
.storefront-nav .nav-link:focus-visible {
    color: var(--brand-caramel-dark);
}

.storefront-nav .nav-link.active {
    color: var(--brand-ink);
    text-decoration: underline;
    text-decoration-color: var(--brand-caramel);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.6rem;
}

/* Sections */

.section-space {
    padding-top: var(--brand-section-space);
    padding-bottom: var(--brand-section-space);
}

.section-divider {
    border-top: 1px solid var(--brand-border);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-ink);
    font-size: var(--brand-small-size);
    font-weight: 500;
    letter-spacing: var(--brand-tracking);
    text-decoration: none;
    text-transform: uppercase;
}

.link-arrow:hover {
    color: var(--brand-caramel-dark);
}

.link-arrow i {
    transition: transform var(--brand-transition);
}

.link-arrow:hover i {
    transform: translateX(0.25rem);
}

/* Caramel bullet list used in editorial sections. */
.brand-list {
    display: grid;
    gap: 0.85rem;
    padding: 0;
    list-style: none;
}

.brand-list li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--brand-ink);
    font-weight: 500;
}

.brand-list li::before {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background-color: var(--brand-caramel);
}

/* Hero slider */

.hero-slider .carousel-item {
    position: relative;
    min-height: clamp(28rem, 62vh, 40rem);
    background-color: var(--brand-ink);
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
    background: linear-gradient(90deg, rgba(var(--brand-ink-rgb), 0.72) 0%, rgba(var(--brand-ink-rgb), 0.38) 55%,
        rgba(var(--brand-ink-rgb), 0.1) 100%);
    color: #fff;
    --bs-heading-color: #fff;
}

.hero-eyebrow {
    color: var(--brand-cream);
}

.hero-title {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem);
    font-weight: var(--brand-heading-weight);
    line-height: 1.1;
}

.hero-text {
    max-width: 34rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem);
    line-height: 1.6;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 4rem;
    color: #fff;
    font-size: 1.75rem;
    opacity: 0.75;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover,
.hero-slider .carousel-control-prev:focus-visible,
.hero-slider .carousel-control-next:focus-visible {
    opacity: 1;
}

.hero-slider-footer {
    position: absolute;
    right: 0;
    bottom: 1.75rem;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 2.25rem;
    height: 3px;
    margin: 0 0.25rem;
    border: 0;
    background-color: #fff;
    opacity: 0.45;
}

.hero-slider .carousel-indicators .active {
    opacity: 1;
}

.hero-slider-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

.hero-slider-toggle:hover,
.hero-slider-toggle:focus-visible {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Category cards */

.category-card {
    display: block;
    color: var(--brand-ink);
    text-align: center;
    text-decoration: none;
}

.category-card-image {
    display: block;
    overflow: hidden;
    margin-bottom: 1rem;
    background-color: var(--brand-white);
}

.category-card-image img {
    padding: 10%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.05);
}

.category-card-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 500;
}

.category-card-count {
    display: block;
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

.category-card:hover .category-card-name {
    color: var(--brand-caramel-dark);
}

/* About collage: one tall photo on the left, a wide and a small one stacked on the right. */

.about-collage {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
    align-items: start;
}

.about-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-collage-tall {
    grid-row: 1 / span 2;
    aspect-ratio: 3 / 4;
    align-self: center;
}

.about-collage-wide {
    aspect-ratio: 1 / 1;
}

.about-collage .about-collage-small {
    width: 72%;
    aspect-ratio: 3 / 2;
}

/* Product card: borderless, image on a warm surface, text below. */

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: var(--brand-surface);
}

.product-img-wrap img {
    transition: transform 0.45s ease;
}

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

.quick-add-bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 0.6rem;
    background: rgba(var(--brand-ink-rgb), 0.88);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .quick-add-bar,
.product-card:focus-within .quick-add-bar {
    transform: translateY(0);
}

/* Touch screens have no hover: keep the quick actions visible. */
@media (hover: none) {
    .quick-add-bar {
        transform: none;
    }
}

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0.3rem 0.6rem;
    background-color: var(--brand-ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: var(--brand-tracking);
    text-transform: uppercase;
}

.wishlist-btn {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-ink);
    transition: color var(--brand-transition), transform var(--brand-transition);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    color: var(--brand-danger);
    transform: scale(1.08);
}

.product-card-body {
    padding-top: 1.1rem;
}

.product-title {
    margin-bottom: 0.35rem;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.4;
}

.product-title a {
    color: var(--brand-ink);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--brand-caramel-dark);
}

/* Stretch the title link over the whole card body so the text area is clickable too. */
.product-card-body {
    position: relative;
}

.product-title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.product-subtitle {
    display: -webkit-box;
    margin-bottom: 0.5rem;
    overflow: hidden;
    color: var(--brand-ink-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-price {
    color: var(--brand-ink);
    font-weight: 500;
}

.product-compare-price {
    margin-left: 0.35rem;
    color: var(--brand-ink-muted);
    font-weight: 400;
    text-decoration: line-through;
}

/* Product page: gallery */

.product-gallery-main {
    position: relative;
    background-color: var(--brand-surface);
}

.product-gallery-zoom {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background-color: var(--brand-surface);
    cursor: zoom-in;
}

.product-gallery-zoom img {
    object-fit: cover;
}

.product-gallery-control {
    width: 3.5rem;
    color: var(--brand-ink);
    font-size: 1.5rem;
    opacity: 0.6;
}

.product-gallery-control:hover,
.product-gallery-control:focus-visible {
    color: var(--brand-ink);
    opacity: 1;
}

.product-gallery-counter,
.product-gallery-hint {
    position: absolute;
    bottom: 1rem;
    z-index: 2;
    padding: 0.2rem 0.6rem;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--brand-ink);
    font-size: var(--brand-small-size);
    pointer-events: none;
}

.product-gallery-counter {
    left: 1rem;
    letter-spacing: 1px;
}

.product-gallery-hint {
    right: 1rem;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.product-gallery-thumb {
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    background-color: var(--brand-surface);
    opacity: 0.65;
    transition: opacity var(--brand-transition), border-color var(--brand-transition);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible {
    opacity: 1;
}

.product-gallery-thumb.active {
    border-color: var(--brand-ink);
    opacity: 1;
}

.product-lightbox .modal-content {
    background-color: var(--brand-surface);
}

.product-lightbox-title {
    color: var(--brand-ink);
    font-weight: 500;
}

.product-lightbox .modal-body {
    padding-top: 0;
}

.product-lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
}

/* Product page: summary */

.product-name {
    font-size: var(--brand-h2);
}

.product-detail-price {
    color: var(--brand-ink);
    font-size: 1.75rem;
    font-weight: 500;
}

.product-detail-price .product-compare-price {
    font-size: 1.125rem;
}

.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
    text-decoration: none;
}

.product-rating:hover {
    color: var(--brand-caramel-dark);
}

.product-variant-option {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-font-size: 0.9375rem;
    --bs-btn-font-weight: 400;
    --bs-btn-color: var(--brand-ink);
    --bs-btn-border-color: var(--brand-border-strong);
    --bs-btn-hover-color: var(--brand-ink);
    --bs-btn-hover-bg: var(--brand-surface);
    --bs-btn-hover-border-color: var(--brand-ink);
    --bs-btn-active-color: var(--brand-ink);
    --bs-btn-active-bg: var(--brand-white);
    --bs-btn-active-border-color: var(--brand-ink);
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
}

.btn-check:checked + .product-variant-option {
    box-shadow: inset 0 0 0 1px var(--brand-ink);
}

.btn-check:focus-visible + .product-variant-option {
    box-shadow: 0 0 0 0.25rem rgba(var(--brand-caramel-rgb), 0.35);
}

.product-variant-price {
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

.product-stock {
    font-size: var(--brand-small-size);
}

.quantity-stepper {
    width: auto;
    flex-wrap: nowrap;
}

.quantity-stepper .btn {
    --bs-btn-padding-x: 0.9rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-border-color: var(--brand-border-strong);
}

.quantity-stepper .form-control {
    flex: 0 0 auto;
    width: 3.75rem;
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    text-align: center;
    -moz-appearance: textfield;
}

.quantity-stepper .form-control::-webkit-outer-spin-button,
.quantity-stepper .form-control::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-perks {
    display: grid;
    gap: 0.6rem;
    padding: 1.25rem;
    background-color: var(--brand-surface);
    color: var(--brand-ink);
    font-size: 0.9375rem;
}

.product-perks i {
    margin-right: 0.75rem;
    color: var(--brand-caramel-dark);
}

.product-meta {
    display: grid;
    gap: 0.35rem;
    font-size: var(--brand-small-size);
}

.product-meta div {
    display: flex;
    gap: 0.5rem;
}

.product-meta dt {
    color: var(--brand-ink-muted);
    font-weight: 400;
}

.product-meta dd {
    margin: 0;
    color: var(--brand-ink);
}

/* Product page: description and details */

.product-description {
    max-width: 48rem;
}

.product-note {
    max-width: 48rem;
    padding-top: 1rem;
    border-top: 1px solid var(--brand-border);
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

.product-info-block + .product-info-block {
    margin-top: 2rem;
}

.badge-category {
    color: var(--brand-caramel-dark);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Reviews */

.reviews-summary {
    color: var(--brand-ink);
    font-size: var(--brand-lead-size);
}

.review-stars {
    color: var(--brand-star);
    letter-spacing: 2px;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background-color: var(--brand-white);
}

.review-card blockquote {
    flex-grow: 1;
    color: var(--brand-ink);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.review-author {
    display: flex;
    flex-direction: column;
    color: var(--brand-ink);
}

.review-date {
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

/* Newsletter */

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.newsletter-form .form-control {
    flex: 1 1 16rem;
}

.newsletter-form .btn {
    flex: 0 0 auto;
}

/* Footer */

.footer-bravo {
    background-color: var(--brand-surface);
    color: var(--brand-ink);
}

.footer-bravo a {
    color: var(--brand-ink);
    text-decoration: none;
    transition: color var(--brand-transition);
}

.footer-bravo a:hover {
    color: var(--brand-caramel-dark);
}

.footer-bravo .eyebrow {
    color: var(--brand-ink);
}

.footer-bravo-bottom {
    border-top: 1px solid var(--brand-border);
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

/* Catalog filters */

.filter-btn {
    padding: 0.5rem 1.15rem;
    border: 1px solid var(--brand-border-strong);
    background-color: var(--brand-white);
    color: var(--brand-ink);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color var(--brand-transition), color var(--brand-transition),
        border-color var(--brand-transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--brand-ink);
    background-color: var(--brand-ink);
    color: #fff;
}

/* Scroll reveal */

.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

.js .reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js .reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

/* Cart */

.cart-panel {
    --bs-offcanvas-width: min(26rem, 100vw);
}

.cart-free-shipping {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: var(--brand-surface);
    color: var(--brand-ink);
    font-size: var(--brand-small-size);
}

.cart-free-shipping .progress {
    height: 0.375rem;
    background-color: var(--brand-white);
}

.free-shipping-progress {
    background-color: var(--brand-caramel-dark);
}

.cart-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--brand-border);
}

.cart-item-image img {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    background-color: var(--brand-surface);
}

.cart-item-title {
    color: var(--brand-ink);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.cart-item-title:hover {
    color: var(--brand-caramel-dark);
}

.cart-item-meta {
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

.cart-item-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cart-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--brand-border-strong);
}

.cart-stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-ink);
}

.cart-stepper-btn:hover:not(:disabled) {
    background-color: var(--brand-surface);
}

.cart-stepper-btn:disabled {
    color: var(--brand-ink-faint);
}

.cart-stepper-value {
    min-width: 2rem;
    text-align: center;
    font-size: var(--brand-small-size);
}

.cart-item-remove {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
    text-decoration: underline;
}

.cart-item-remove:hover {
    color: var(--brand-danger);
}

.cart-item-total {
    color: var(--brand-ink);
    font-weight: 500;
    white-space: nowrap;
}

.cart-footer {
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--brand-border);
}

.cart-subtotal-label {
    color: var(--brand-ink);
    font-weight: 500;
}

.cart-subtotal {
    color: var(--brand-ink);
    font-size: 1.25rem;
    font-weight: 500;
}

.cart-footer .btn-link {
    --bs-btn-padding-y: 0.5rem;
}

/* The header is sticky on large screens: links to an anchor (/account#orders) stop below it.
   storefront.js keeps --storefront-header-height in sync with the real header. */
@media (min-width: 992px) {
    html {
        scroll-padding-top: calc(var(--storefront-header-height, 10rem) + 1.5rem);
    }
}

/* Checkout */

/* Address suggestions (Google Places), same look as the product search panel. */
.address-suggestions {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    z-index: 1030;
    border: 1px solid var(--brand-border);
    background-color: var(--brand-white);
    box-shadow: var(--brand-shadow);
}

.address-suggestion {
    display: flex;
    flex-direction: column;
    padding: 0.6rem 1rem;
    color: var(--brand-ink);
    line-height: 1.35;
    cursor: pointer;
}

.address-suggestion + .address-suggestion {
    border-top: 1px solid var(--brand-border);
}

.address-suggestion.active,
.address-suggestion:hover {
    background-color: var(--brand-surface);
}

.address-suggestion-main {
    font-weight: 500;
}

.address-suggestion-secondary {
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
}

/* Google's attribution rules: Roboto 400, #5E5E5E, 12–16px, untranslated. */
.address-suggestions-attribution {
    padding: 0.4rem 1rem;
    border-top: 1px solid var(--brand-border);
    color: #5e5e5e;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
}

.checkout-summary {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    background-color: var(--brand-surface);
}

@media (min-width: 992px) {
    .checkout-summary {
        position: sticky;
        top: 11rem;
    }
}

.checkout-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brand-border);
    color: var(--brand-ink);
}

.checkout-line-image {
    position: relative;
    flex-shrink: 0;
}

.checkout-line-image img {
    display: block;
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    background-color: var(--brand-white);
}

.checkout-line-quantity {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.3rem;
    border-radius: 50%;
    background-color: var(--brand-ink);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.35rem;
    text-align: center;
}

.checkout-totals {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkout-totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-totals dt {
    color: var(--brand-text);
    font-weight: 400;
}

.checkout-totals dd {
    margin: 0;
    color: var(--brand-ink);
}

.checkout-totals .checkout-total {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--brand-border);
}

.checkout-totals .checkout-total dt,
.checkout-totals .checkout-total dd {
    color: var(--brand-ink);
    font-size: 1.25rem;
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.storefront-toast-container {
    z-index: 1090;
}

/* Cookie notice: slides away once accepted. */

.cookie-notice {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-notice.is-dismissed {
    opacity: 0;
    transform: translateY(100%);
}

/* Page title bar used by content pages (About, Contact). */

.page-header {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--brand-border);
}

.page-header-title {
    font-size: var(--brand-h3);
}

/* About page */

.about-brand-name {
    color: var(--brand-caramel-dark);
    font-size: var(--brand-h2);
    font-weight: var(--brand-heading-weight);
    line-height: 1.2;
}

/* Story collage: a tall photo on the left, a small and a large one stacked on the right. */
.story-collage {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 1.25rem;
    align-items: center;
}

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

.story-collage-tall {
    grid-row: 1 / span 2;
    aspect-ratio: 3 / 4;
}

.story-collage .story-collage-small {
    width: 70%;
    aspect-ratio: 3 / 2;
    align-self: end;
}

.story-collage-large {
    aspect-ratio: 1 / 1;
}

/* Leaf-shaped photo, matching the .brand-icon shape. */
.unique-quality-image {
    flex-shrink: 0;
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50% 0 50% 50%;
    object-fit: cover;
}

/* Contact page */

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-methods a {
    color: var(--brand-ink);
    font-size: 1.0625rem;
    text-decoration: none;
}

.contact-methods a:hover {
    color: var(--brand-caramel-dark);
}

.contact-method-label {
    display: block;
    color: var(--brand-ink-muted);
    font-size: var(--brand-small-size);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--brand-border-strong);
    color: var(--brand-ink);
    font-size: 1.15rem;
    transition: background-color var(--brand-transition), color var(--brand-transition),
        border-color var(--brand-transition);
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
    border-color: var(--brand-ink);
    background-color: var(--brand-ink);
    color: #fff;
}

.contact-form-panel {
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    background-color: var(--brand-surface);
}

.contact-form-panel .form-control {
    background-color: var(--brand-white);
}

/* Visually removed honeypot field; still present in the form for bots. */
.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
