/* Карти за успех – storefront styles, layered on top of Bootstrap 5.3 */

:root {
    --ink: #161922;
    --ink-2: #3c4252;
    --muted: #6c7283;
    --paper: #f8f6f1;
    --surface: #ffffff;
    --line: #e7e2d8;
    --line-strong: #cfc9bc;
    --sun: #ffc531;
    --sun-deep: #f5ab00;
    --sun-soft: #fff1c7;
    --accent: var(--sun);

    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(22, 25, 34, .05), 0 6px 16px -6px rgba(22, 25, 34, .10);
    --shadow: 0 2px 4px rgba(22, 25, 34, .05), 0 22px 44px -18px rgba(22, 25, 34, .28);

    /* The wavy lines from the card boxes */
    --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cpath d='M0 22C26.7 4 53.3 4 80 22s53.3 18 80 0' fill='none' stroke='%23161922' stroke-opacity='.075' stroke-width='5'/%3E%3C/svg%3E");
    --waves-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cpath d='M0 22C26.7 4 53.3 4 80 22s53.3 18 80 0' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='5'/%3E%3C/svg%3E");

    --bs-body-font-family: "Manrope Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-size: 1.0625rem;
    --bs-body-line-height: 1.65;
    --bs-body-color: var(--ink-2);
    --bs-body-bg: var(--paper);
    --bs-heading-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-border-radius: .8rem;
    --bs-border-radius-lg: var(--radius);
    --bs-link-color: var(--ink);
    --bs-link-color-rgb: 22, 25, 34;
    --bs-link-hover-color: var(--ink);
    --bs-link-hover-color-rgb: 22, 25, 34;
    --bs-primary: var(--ink);
    --bs-primary-rgb: 22, 25, 34;
    --bs-secondary-color: var(--muted);
    --bs-focus-ring-color: rgba(255, 197, 49, .55);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    flex: 1 0 auto;
    /* decorative shapes (hero circle, tilted photo) may poke out of the column */
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.15;
    text-wrap: balance;
}

a {
    text-underline-offset: .2em;
    text-decoration-thickness: .08em;
}

::selection {
    background: var(--sun);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--sun-deep);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: top .15s;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: 999px;
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .65rem;
    --bs-btn-border-width: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-lg {
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-padding-y: .85rem;
    --bs-btn-font-size: 1.0625rem;
    --bs-btn-border-radius: 999px;
}

.btn-sm {
    --bs-btn-padding-x: .9rem;
    --bs-btn-padding-y: .35rem;
    --bs-btn-border-radius: 999px;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-color: var(--ink);
    --bs-btn-hover-bg: var(--sun);
    --bs-btn-hover-border-color: var(--sun);
    --bs-btn-active-color: var(--ink);
    --bs-btn-active-bg: var(--sun-deep);
    --bs-btn-active-border-color: var(--sun-deep);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--muted);
    --bs-btn-disabled-border-color: var(--muted);
    --bs-btn-focus-shadow-rgb: 255, 197, 49;
}

.btn-sun {
    --bs-btn-color: var(--ink);
    --bs-btn-bg: var(--sun);
    --bs-btn-border-color: var(--sun);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--ink);
    --bs-btn-active-border-color: var(--ink);
    --bs-btn-focus-shadow-rgb: 22, 25, 34;
}

.btn-outline-primary {
    --bs-btn-color: var(--ink);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--line-strong);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--ink);
    --bs-btn-active-border-color: var(--ink);
    --bs-btn-focus-shadow-rgb: 255, 197, 49;
}

.btn-icon {
    --bs-btn-padding-x: 0;
    --bs-btn-padding-y: 0;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.btn-icon.btn-sm {
    width: 2.1rem;
    height: 2.1rem;
    font-size: .95rem;
}

/* ---------- Forms ---------- */

.form-label {
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
    margin-bottom: .35rem;
}

.form-control,
.form-select {
    padding: .7rem 1rem;
    border-width: 1.5px;
    border-color: var(--line-strong);
    background-color: var(--surface);
    color: var(--ink);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 .22rem rgba(255, 197, 49, .5);
}

.form-check-input:checked {
    background-color: var(--ink);
    border-color: var(--ink);
}

.form-check-input:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 .22rem rgba(255, 197, 49, .5);
}

.form-text,
.form-control::placeholder {
    color: var(--muted);
}

/* Honeypot field of the contact form */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(248, 246, 241, .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header .navbar {
    --bs-navbar-padding-y: .7rem;
    --bs-navbar-color: var(--ink-2);
    --bs-navbar-hover-color: var(--ink);
    --bs-navbar-active-color: var(--ink);
    --bs-navbar-nav-link-padding-x: .95rem;
    --bs-navbar-toggler-border-color: transparent;
    --bs-navbar-toggler-focus-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    text-decoration: none;
    white-space: nowrap;
}

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

.brand svg {
    flex: 0 0 auto;
    transition: transform .25s ease;
}

.brand:hover svg {
    transform: rotate(-8deg) scale(1.05);
}

.brand small {
    font-size: 1em;
    font-weight: 500;
    color: var(--muted);
}

.site-header .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 1rem;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .3rem;
    height: 3px;
    border-radius: 3px;
    background: var(--sun);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    transform: scaleX(1);
}

.cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.cart-button:hover,
.cart-button:focus-visible {
    background: var(--sun);
    color: var(--ink);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 .4rem;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink);
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color .15s ease, color .15s ease;
}

.cart-button:hover .cart-count,
.cart-button:focus-visible .cart-count {
    background: var(--ink);
    color: #fff;
}

.cart-count.is-bumped {
    animation: bump .4s ease;
}

@keyframes bump {
    40% { transform: scale(1.35); }
}

/* ---------- Shared pieces ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--sun-soft);
    color: var(--ink);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.eyebrow .bi {
    color: var(--sun-deep);
}

.mark {
    padding: 0;
    color: inherit;
    background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    margin-bottom: .6rem;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
}

.surface {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.surface-pad {
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.wave-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.wave-bg::before {
    content: "";
    position: absolute;
    inset: -60% -20%;
    z-index: -1;
    background-image: var(--waves);
    transform: rotate(-14deg);
    -webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 70%);
    mask-image: linear-gradient(100deg, transparent 5%, #000 70%);
    pointer-events: none;
}

/* Soften the lower edge of the pattern so it melts into the page */
.wave-bg:not(.surface)::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 7rem;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, var(--paper));
    pointer-events: none;
}

.page-head {
    padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.page-head h1 {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    margin: 0;
}

.page-head .badge,
.admin-head .badge {
    font-size: .9rem;
    letter-spacing: 0;
}

.page-head p {
    max-width: 40rem;
    margin: .75rem 0 0;
    color: var(--muted);
    font-size: 1.1rem;
}

.alert {
    --bs-alert-border-radius: var(--radius);
    --bs-alert-padding-x: 1.15rem;
    border-width: 1.5px;
    font-weight: 600;
}

.flashes {
    padding-top: 1.25rem;
}

.flashes .alert:last-child {
    margin-bottom: 0;
}

/* Text written in the admin rich-text editor */
.rich-text {
    overflow-wrap: anywhere;
}

.rich-text p {
    margin: 0;
}

.rich-text h2,
.rich-text h3 {
    margin: 1.25em 0 .5em;
    font-size: 1.3rem;
}

.rich-text ul,
.rich-text ol {
    margin: .5em 0;
    padding-left: 1.3em;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.rich-text .ql-align-center { text-align: center; }
.rich-text .ql-align-right { text-align: right; }
.rich-text .ql-align-justify { text-align: justify; }

/* ---------- Hero ---------- */

.hero {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero h1 {
    margin: 1.1rem 0 1.5rem;
    font-size: clamp(2.3rem, 5.6vw, 4.1rem);
    letter-spacing: -.035em;
    line-height: 1.06;
}

.check-list {
    display: grid;
    gap: .8rem;
    max-width: 34rem;
    margin: 0 0 2.25rem;
    padding: 0;
    list-style: none;
    font-size: 1.1rem;
}

.check-list li {
    position: relative;
    padding-left: 2.35rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.2 8.4 2.5 2.5 5.1-5.6' fill='none' stroke='%23161922' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}

.hero-photo {
    position: relative;
    max-width: 33rem;
    margin-inline: auto;
}

.hero-photo::before {
    content: "";
    position: absolute;
    right: -7%;
    top: -9%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--sun);
    z-index: -1;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.deck-dots {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2rem;
}

.deck-dot {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem .4rem .7rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.deck-dot::before {
    content: "";
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--accent);
}

.deck-dot:hover {
    border-color: var(--accent);
    color: var(--ink);
    transform: translateY(-2px);
}

/* ---------- Product cards ---------- */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #ece8df;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.product-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: var(--accent);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .35rem;
    padding: 1.25rem 1.35rem 1.35rem;
}

.product-card__title {
    margin: 0;
    font-size: 1.3rem;
}

.product-card__title a {
    color: inherit;
    text-decoration: none;
}

/* The whole card is clickable through the title link */
.product-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.product-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: .9rem;
}

.price {
    color: var(--ink);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.price-old {
    margin-right: .4rem;
    color: var(--muted);
    font-size: .8em;
    font-weight: 600;
    text-decoration: line-through;
}

.stock {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .88rem;
    font-weight: 700;
}

.stock::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: currentColor;
}

.stock--in { color: #12805c; }
.stock--out { color: #c13333; }

.img-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 4rem;
    background: #ece8df;
    color: var(--line-strong);
    font-size: 2rem;
}

/* ---------- Product page ---------- */

.product-gallery__main {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-lg);
    background: #ece8df;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery__zoom {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    gap: .6rem;
    margin-top: .75rem;
}

.product-gallery__thumb {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-radius: .8rem;
    background: #ece8df;
    opacity: .75;
    transition: opacity .15s ease, border-color .15s ease;
}

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

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    opacity: 1;
    border-color: var(--accent);
}

@media (min-width: 992px) {
    .product-gallery {
        position: sticky;
        top: 6rem;
    }
}

.product-info h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-bottom: .75rem;
}

.product-info h1::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 6px;
    margin-top: 1rem;
    border-radius: 6px;
    background: var(--accent);
}

.product-info .price {
    font-size: 2rem;
}

.lightbox .modal-content {
    background: #0e1016;
    border: 0;
}

.lightbox .carousel-item {
    height: 100vh;
    height: 100dvh;
}

.lightbox .carousel-item img {
    width: 100%;
    height: 100%;
    padding: 3.5rem 1rem 1.5rem;
    object-fit: contain;
}

.lightbox .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    padding: .75rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: .9;
}

/* ---------- Cart & checkout ---------- */

.cart-line {
    display: grid;
    grid-template-columns: 5.5rem 1fr auto;
    gap: 1rem 1.25rem;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
    padding-top: 0;
}

.cart-line:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-line__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: .9rem;
    background: #ece8df;
}

.cart-line__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line__title {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.cart-line__title:hover {
    text-decoration: underline;
}

.cart-line__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
}

.qty {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .2rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
}

.qty form {
    display: contents;
}

.qty button {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 1.05rem;
    transition: background-color .15s ease;
}

.qty button:hover {
    background: var(--sun);
}

.qty__value {
    min-width: 1.75rem;
    color: var(--ink);
    font-weight: 800;
    text-align: center;
}

.link-remove {
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: underline;
}

.link-remove:hover {
    color: #c13333;
}

.summary {
    position: sticky;
    top: 6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
}

.summary-total {
    margin-top: .5rem;
    padding-top: 1rem;
    border-top: 1.5px solid var(--ink);
    align-items: baseline;
    color: var(--ink);
    font-weight: 800;
}

.summary-total .price {
    font-size: 1.6rem;
}

.empty-state {
    max-width: 30rem;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4rem) 1rem;
    text-align: center;
}

.empty-state .bi {
    display: inline-grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--sun-soft);
    color: var(--ink);
    font-size: 2rem;
}

.badge {
    --bs-badge-padding-x: .7em;
    --bs-badge-padding-y: .45em;
    --bs-badge-font-weight: 700;
    --bs-badge-border-radius: 999px;
}

/* ---------- Contacts ---------- */

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item + .contact-item {
    margin-top: 1.5rem;
}

.contact-item .bi {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--sun-soft);
    color: var(--ink);
    font-size: 1.2rem;
}

.contact-item h2 {
    margin: 0 0 .15rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
}

.map-frame {
    display: block;
    width: 100%;
    height: 22rem;
    border: 0;
    border-radius: var(--radius-lg);
    filter: grayscale(.35);
}

/* ---------- Auth / account ---------- */

.narrow {
    max-width: 30rem;
    margin-inline: auto;
}

.detail-list {
    display: grid;
    grid-template-columns: minmax(8rem, auto) 1fr;
    gap: .6rem 1.5rem;
    margin: 0;
}

.detail-list dt {
    color: var(--muted);
    font-weight: 600;
}

.detail-list dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink-2);
    --bs-table-border-color: var(--line);
    margin-bottom: 0;
}

.table > thead th {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table > :not(caption) > * > * {
    padding: .85rem .75rem;
    vertical-align: middle;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: clamp(3rem, 7vw, 5.5rem);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 1.75rem;
    background: var(--ink);
    color: rgba(255, 255, 255, .72);
    font-size: .98rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: -60% -20%;
    z-index: -1;
    background-image: var(--waves-light);
    transform: rotate(-14deg);
    pointer-events: none;
}

.site-footer h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-footer .brand,
.site-footer .brand:hover {
    color: #fff;
}

.site-footer .brand small {
    color: rgba(255, 255, 255, .6);
}

.site-footer a:not(.brand) {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.site-footer a:not(.brand):hover {
    color: var(--sun);
}

.site-footer ul {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer address {
    margin: 0;
    font-style: normal;
}

.footer-social {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    font-size: 1.15rem;
    transition: background-color .15s ease;
}

.site-footer a.footer-social:hover {
    background: var(--sun);
    color: var(--ink);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .5);
    font-size: .88rem;
}

/* ---------- Toasts ---------- */

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

.toast {
    --bs-toast-bg: var(--ink);
    --bs-toast-color: #fff;
    --bs-toast-border-width: 0;
    --bs-toast-border-radius: var(--radius);
    --bs-toast-box-shadow: var(--shadow);
    --bs-toast-padding-x: 1.1rem;
    --bs-toast-padding-y: .9rem;
    font-weight: 600;
}

.toast .bi {
    color: var(--sun);
    font-size: 1.2rem;
}

.toast a {
    color: var(--sun);
    white-space: nowrap;
}

.toast--error .bi {
    color: #ff8f8f;
}

/* ---------- Small screens ---------- */

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        padding: .5rem 0 .75rem;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .site-header .nav-link.active {
        font-weight: 800;
    }

    .summary {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .cart-line {
        grid-template-columns: 4.25rem 1fr;
    }

    .cart-line__side {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-photo::before {
        right: -3%;
    }

    .detail-list {
        grid-template-columns: 1fr;
        gap: .1rem;
    }

    .detail-list dd {
        margin-bottom: .7rem;
    }
}

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