/* Ruhaprint shop theme – static prototype.
   Layout, sizes and spacing follow the TeeSpace "Studio" home page. White and grey stay dominant; the five
   logo colours are used for buttons, links, badges, icons and a few light tints.
   Bootstrap 5.3 (reboot, utilities) loads first; everything here is prefixed shop-. */

/* ---------- Tokens ---------- */

:root {
    /* Logo colours */
    --shop-pink: #ec015a;
    --shop-pink-dark: #c9004c;
    --shop-orange: #f95f01;
    --shop-yellow: #f9a402;
    --shop-yellow-dark: #8a5a00;
    --shop-blue: #0083cb;
    --shop-blue-dark: #006ba6;
    --shop-purple: #4d2287;

    --shop-pink-tint: #fde6ee;
    --shop-yellow-tint: #fef4dc;
    --shop-blue-tint: #e3f1f9;
    --shop-purple-tint: #edeaf3;

    /* Roles */
    --shop-primary: var(--shop-pink);
    --shop-primary-dark: var(--shop-pink-dark);

    --shop-ink: #000;
    --shop-text: #6f6f6f;
    --shop-muted: #767676;
    --shop-line: #eee;
    --shop-surface: #fff;
    --shop-surface-alt: #f5f5f5;

    --shop-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shop-radius: 12px;
    --shop-shadow-card: 0 0 10px rgb(0 0 0 / 12%);
    --shop-shadow-float: 0 15px 50px rgb(0 0 0 / 8%);
    --shop-shadow-photo: 0 20px 70px rgb(0 0 0 / 15%);
    --shop-gutter: clamp(15px, 3.125vw, 45px);

    /* Bootstrap hooks, so its own components (and CMS Kit's markup later) follow the theme */
    --bs-body-font-family: var(--shop-font-family);
    --bs-body-font-size: 15px;
    --bs-body-font-weight: 500;
    --bs-body-line-height: 1.8;
    --bs-body-color: var(--shop-text);
    --bs-body-bg: var(--shop-surface);
    --bs-heading-color: var(--shop-ink);
    --bs-primary: var(--shop-primary);
    --bs-primary-rgb: 236, 1, 90;
    --bs-link-color-rgb: 0, 107, 166;
    --bs-link-hover-color-rgb: 236, 1, 90;
    --bs-border-color: var(--shop-line);
}

/* ---------- Base ---------- */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* :where() keeps these resets at single-class weight, so the component rules below can set margins */
.shop :where(h1, h2, h3, h4) {
    margin: 0;
    font-weight: 700;
}

.shop :where(p) {
    margin: 0;
}

.shop section[id] {
    scroll-margin-top: 110px;
}

.shop :focus-visible {
    outline: 3px solid rgb(0 131 203 / 55%);
    outline-offset: 2px;
}

.shop-container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--shop-gutter);
}

.shop-icon {
    flex: none;
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Buttons (Bootstrap .btn, restyled) ---------- */

.shop .btn {
    --bs-btn-font-size: 15px;
    --bs-btn-font-weight: 700;
    --bs-btn-padding-x: 30px;
    --bs-btn-padding-y: 0;
    --bs-btn-border-radius: var(--shop-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    line-height: 1.2;
    white-space: nowrap;
}

.shop .btn .shop-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.shop .btn-primary {
    --bs-btn-bg: var(--shop-primary);
    --bs-btn-border-color: var(--shop-primary);
    --bs-btn-hover-bg: var(--shop-primary-dark);
    --bs-btn-hover-border-color: var(--shop-primary-dark);
    --bs-btn-active-bg: var(--shop-primary-dark);
    --bs-btn-active-border-color: var(--shop-primary-dark);
    --bs-btn-disabled-bg: var(--shop-primary);
    --bs-btn-disabled-border-color: var(--shop-primary);
    --bs-btn-focus-shadow-rgb: 236, 1, 90;
}

/* The template's black button, in the logo's purple */
.shop .btn-secondary {
    --bs-btn-bg: var(--shop-purple);
    --bs-btn-border-color: var(--shop-purple);
    --bs-btn-hover-bg: var(--shop-primary);
    --bs-btn-hover-border-color: var(--shop-primary);
    --bs-btn-active-bg: var(--shop-primary);
    --bs-btn-active-border-color: var(--shop-primary);
    --bs-btn-focus-shadow-rgb: 77, 34, 135;
}

.shop .btn-light {
    --bs-btn-color: var(--shop-ink);
    --bs-btn-bg: var(--shop-surface);
    --bs-btn-border-color: var(--shop-surface);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--shop-purple);
    --bs-btn-hover-border-color: var(--shop-purple);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--shop-purple);
    --bs-btn-active-border-color: var(--shop-purple);
}

/* Outlined button with a grey frame */
.shop .shop-btn--outline {
    --bs-btn-color: var(--shop-ink);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--shop-line);
    --bs-btn-border-width: 2px;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--shop-primary);
    --bs-btn-hover-border-color: var(--shop-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--shop-primary);
    --bs-btn-active-border-color: var(--shop-primary);
}

/* Quiet button on a light tint; the price cards use it beside one solid button */
.shop .shop-btn--tint {
    --bs-btn-color: var(--shop-ink);
    --bs-btn-bg: var(--shop-pink-tint);
    --bs-btn-border-color: var(--shop-pink-tint);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--shop-primary);
    --bs-btn-hover-border-color: var(--shop-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--shop-primary);
    --bs-btn-active-border-color: var(--shop-primary);
}

.shop .shop-btn--compact {
    --bs-btn-padding-x: 25px;
}

.shop .shop-btn--wide {
    --bs-btn-padding-x: 35px;
}

/* ---------- Shell: top bar ---------- */

.shop-topbar {
    position: relative;
    background: linear-gradient(270deg, var(--shop-blue-tint) 6.75%, var(--shop-yellow-tint) 98.85%);
    color: var(--shop-ink);
}

.shop-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 20px;
    min-height: 58px;
    padding-block: 8px;
    padding-inline: 50px;
}

.shop-topbar__notice {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.shop .shop-topbar__btn {
    --bs-btn-padding-x: 20px;
    --bs-btn-border-radius: 7px;
    min-height: 32px;
}

.shop-topbar__close {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--shop-ink);
    translate: 0 -50%;
}

.shop-topbar__close .shop-icon {
    width: 16px;
    height: 16px;
}

/* ---------- Shell: header ---------- */

.shop-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--shop-surface);
    box-shadow: 0 1px 0 rgb(0 0 0 / 5%);
}

.shop-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1440px;
    min-height: 76px;
    margin-inline: auto;
    padding-inline: clamp(15px, 2vw, 20px);
}

.shop-brand {
    display: inline-flex;
    flex: none;
    align-items: center;
}

.shop-brand img {
    display: block;
    width: auto;
    height: 32px;
}

.shop-nav {
    display: none;
    align-items: center;
    margin-inline: auto;
}

.shop-nav__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 40px 15px;
    color: var(--shop-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
    text-decoration: none;
    white-space: nowrap;
}

.shop-chevron {
    flex: none;
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-nav__link:hover,
.shop-nav__link[aria-current="page"],
.shop-nav__item:hover > .shop-nav__link,
.shop-nav__item:focus-within > .shop-nav__link {
    color: var(--shop-primary);
}

/* Child menus: full-width panels that hang under the header (the header is their positioning parent) */
.shop-mega {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--shop-surface);
    box-shadow: 0 15px 20px rgb(0 0 0 / 10%);
    opacity: 0;
    visibility: hidden;
    translate: 0 10px;
    transition: opacity .2s, translate .2s, visibility .2s;
}

.shop-nav__item:hover > .shop-mega,
.shop-nav__item:focus-within > .shop-mega {
    opacity: 1;
    visibility: visible;
    translate: 0;
}

/* Set by script after Escape, until the pointer or focus leaves the item */
.shop-nav__item.is-closed > .shop-mega {
    opacity: 0;
    visibility: hidden;
}

.shop-mega__inner {
    max-width: 1440px;
    margin-inline: auto;
    padding: 30px 45px;
}

/* Child menu, "TeeSpace" style: two banners and a row of category cards */
.shop-mega__banners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.shop-megabanner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-height: 339px;
    padding: 57px 40px 27px;
    border-radius: var(--shop-radius);
    background: var(--shop-primary);
    color: #fff;
}

.shop-megabanner--light {
    background: var(--shop-pink-tint);
    color: var(--shop-text);
}

.shop-megabanner__img {
    position: absolute;
    top: 0;
    right: 0;
    width: 56%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, transparent, #000 38%);
}

.shop-megabanner__title {
    position: relative;
    max-width: 270px;
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
}

.shop-megabanner--light .shop-megabanner__title {
    color: var(--shop-ink);
}

.shop-megabanner__text {
    position: relative;
    max-width: 250px;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.8;
}

.shop-megabanner .btn {
    position: relative;
    margin-top: 25px;
}

.shop-mega__cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.shop-cat {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 242 / 322;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
}

.shop-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .4s;
}

.shop-cat:hover img {
    scale: 1.05;
}

.shop-cat__label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    padding: 10px 30px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: 0 0 10px rgb(0 0 0 / 14%);
    color: var(--shop-ink);
    font-weight: 700;
    line-height: 27px;
    white-space: nowrap;
    translate: -50% 0;
}

.shop-cat__count {
    position: relative;
    top: -7px;
    margin-left: 4px;
    color: var(--shop-primary);
    font-size: 14px;
    font-weight: 600;
}

/* Child menu, "Shop" style: three link columns and a promo card */
.shop-mega--columns .shop-mega__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding-block: 35px;
}

.shop-mega__heading {
    color: var(--shop-ink);
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.shop-mega__list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.shop-mega__list a {
    display: block;
    padding-block: 10px;
    color: var(--shop-ink);
    line-height: 19px;
    text-decoration: none;
}

.shop-mega__list li:first-child a {
    padding-top: 0;
}

.shop-mega__list li:last-child a {
    padding-bottom: 0;
}

.shop-mega__list a:hover {
    color: var(--shop-primary);
}

.shop-new {
    position: relative;
    top: -7px;
    margin-left: 4px;
    padding: 2px 3px;
    border-radius: 2px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 9px;
    line-height: 1;
}

.shop-megapromo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-height: 308px;
    padding: 46px 35px 11px;
    border-radius: var(--shop-radius);
    background: linear-gradient(160deg, var(--shop-blue-tint), var(--shop-purple-tint) 55%, var(--shop-pink-tint));
}

.shop-megapromo__img {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.shop-megapromo__badge {
    position: relative;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--shop-purple);
    color: #fff;
    font-weight: 700;
    line-height: 19px;
}

.shop-megapromo__title {
    position: relative;
    max-width: 180px;
    margin-top: 10px;
    color: var(--shop-ink);
    font-size: 28px;
    line-height: 1.3;
}

.shop-megapromo__text {
    position: relative;
    max-width: 170px;
    margin-top: 15px;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.3;
}

.shop-megapromo .btn {
    position: relative;
    margin-top: 24px;
}

.shop-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.shop-search-toggle,
.shop-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--shop-ink);
}

.shop-search-toggle:hover,
.shop-menu-toggle:hover {
    color: var(--shop-primary);
}

.shop-search-toggle .shop-icon,
.shop-menu-toggle .shop-icon {
    width: 20px;
    height: 20px;
}

.shop-hotline {
    display: none;
    color: var(--shop-ink);
    line-height: 1;
    text-decoration: none;
}

.shop-hotline__label {
    display: block;
    margin-bottom: 7px;
    color: var(--shop-muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shop-hotline__number {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

.shop-hotline:hover .shop-hotline__number {
    color: var(--shop-primary);
}

/* .shop prefix: has to outrank the display set on .shop .btn */
.shop .shop-header__cta {
    display: none;
}

@media (min-width: 576px) {
    .shop .shop-header__cta {
        display: inline-flex;
    }
}

/* Five menu items need 1280px beside the logo and the button, and the phone number fits from 1440px. The header
   is at most 1440px wide, so the items keep 10px on each side (the template has 15px for its shorter labels). */
@media (min-width: 1280px) {
    .shop-header__inner {
        min-height: 99px;
    }

    .shop-header .shop-brand img {
        height: 36px;
    }

    .shop-nav {
        display: flex;
    }

    .shop-nav__link {
        padding-inline: 10px;
    }

    .shop-header__actions {
        gap: 20px;
        margin-left: 0;
    }

    .shop-menu-toggle,
    .shop-header__actions .shop-search-toggle {
        display: none;
    }
}

@media (min-width: 1440px) {
    .shop-header .shop-brand img {
        height: 40px;
    }

    .shop-hotline {
        display: block;
        white-space: nowrap;
    }
}

/* ---------- Shell: search (popover) and mobile menu (dialog) ---------- */

.shop-searchbox {
    width: min(640px, calc(100vw - 30px));
    margin: 120px auto auto;
    padding: 16px;
    border: 0;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: 0 24px 48px rgb(0 0 0 / 18%);
}

.shop-searchbox::backdrop,
.shop-drawer::backdrop {
    background: rgb(0 0 0 / 40%);
}

.shop-searchbox__form {
    display: flex;
    gap: 8px;
}

.shop-searchbox__input {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    color: var(--shop-ink);
    font: inherit;
}

.shop-drawer {
    width: min(350px, 88vw);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    background: var(--shop-surface);
    color: var(--shop-text);
}

.shop-drawer__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 100%;
    padding: 20px 24px 32px;
}

.shop-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-drawer__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--shop-line);
    color: var(--shop-ink);
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    text-decoration: none;
    cursor: pointer;
}

.shop-drawer__link::-webkit-details-marker {
    display: none;
}

.shop-drawer__group[open] > .shop-drawer__link {
    color: var(--shop-primary);
}

.shop-drawer__group[open] > .shop-drawer__link .shop-chevron {
    rotate: 180deg;
}

.shop-drawer__sub {
    margin: 0;
    padding: 6px 0 6px 14px;
    border-bottom: 1px solid var(--shop-line);
    list-style: none;
}

.shop-drawer__sub a {
    display: block;
    padding: 7px 0;
    color: var(--shop-text);
    text-decoration: none;
}

.shop-drawer__sub a:hover {
    color: var(--shop-primary);
}

.shop-drawer__link:hover,
.shop-drawer__link[aria-current="page"] {
    color: var(--shop-primary);
}

.shop-drawer__contact {
    display: grid;
    gap: 10px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.shop-drawer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-text);
    text-decoration: none;
}

/* ---------- Shared: section heading, pagination dots, stand-in artwork ---------- */

.shop-main {
    min-height: 60vh;
    overflow-x: clip;
}

.shop-head {
    text-align: center;
}

.shop-title {
    color: var(--shop-ink);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.25;
}

.shop-sub {
    max-width: 667px;
    margin: 17px auto 0;
    font-size: 17px;
    line-height: 1.8;
}

/* Heading with a pill label above the title */
.shop-head--pill .shop-title {
    margin-top: 25px;
    line-height: 1.3;
}

.shop-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

.shop-dots__btn {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
}

.shop-dots__btn::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--shop-ink);
}

.shop-dots__btn[aria-current="true"]::before {
    width: 14px;
    height: 14px;
    border: 1px solid var(--shop-ink);
    background: none;
}

.shop-carousel__track {
    display: grid;
    grid-auto-flow: column;
    gap: 30px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.shop-carousel__track::-webkit-scrollbar {
    display: none;
}

.shop-carousel__track > * {
    scroll-snap-align: start;
}

/* Photos: fill the box their parent gives them */
.shop-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
    object-fit: cover;
}

/* Small UI mock-ups used inside the illustrations */
.shop-mock {
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-float);
}

.shop-bar {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: #d9d9d9;
}

.shop-bar--thin {
    height: 4px;
    background: #e6e6e6;
}

.shop-bar--primary {
    height: 16px;
    border-radius: 5px;
    background: var(--shop-primary);
}

.shop-swatches {
    display: flex;
    gap: 6%;
}

.shop-swatches span {
    width: 22%;
    aspect-ratio: 1;
    border-radius: 6px;
    background: var(--shop-blue-tint);
}

.shop-swatches span:nth-child(2) {
    background: var(--shop-purple-tint);
}

.shop-swatches span:nth-child(3) {
    background: var(--shop-yellow-tint);
}

/* ---------- Home: hero ---------- */

.shop-hero__grid {
    display: grid;
    gap: 40px;
}

.shop-hero__copy {
    padding-block: 40px 0;
}

.shop-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    background: var(--shop-purple-tint);
    color: var(--shop-purple);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-hero__title {
    margin-top: 20px;
    color: var(--shop-ink);
    font-size: clamp(34px, 4.6vw, 48px);
    line-height: 1.2;
}

.shop-hero__title > span {
    display: block;
}

.shop-squiggle {
    position: relative;
    display: inline-block;
}

.shop-squiggle svg {
    position: absolute;
    top: 78%;
    left: -2%;
    width: 104%;
    height: .42em;
    overflow: visible;
    fill: none;
    stroke: var(--shop-yellow);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.shop-hero__lead {
    max-width: 584px;
    margin-top: 36px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 33px;
}

.shop-playlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: var(--shop-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.shop-playlink:hover {
    color: var(--shop-primary);
}

.shop-playlink__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.shop-playlink__icon svg {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    fill: currentColor;
}

.shop-stats {
    display: flex;
    margin: 59px 0 0;
}

.shop-stat + .shop-stat {
    margin-left: clamp(20px, 5vw, 40px);
    padding-left: clamp(20px, 5vw, 40px);
    border-left: 1px solid #d9d9d9;
}

.shop-stat dt {
    color: var(--shop-ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.shop-stat dd {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.8;
}

/* Hero artwork: sized in container units so the composition scales as one piece */
.shop-hero__art {
    position: relative;
    width: 100%;
    max-width: 737px;
    aspect-ratio: 737 / 750;
    margin-inline: auto;
    container-type: inline-size;
}

.shop-hero__circle {
    position: absolute;
    top: 17%;
    left: 16%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(200deg, var(--shop-pink-tint), var(--shop-purple-tint) 55%, var(--shop-blue-tint));
}

.shop-hero__dots {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 15%;
    height: 16%;
    background-image: radial-gradient(#cfcfcf 1.5px, transparent 1.6px);
    background-size: 2cqw 2cqw;
}

.shop-hero__ball {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--shop-blue-tint), var(--shop-pink-tint));
}

.shop-hero__ball--a {
    top: 20%;
    left: 12%;
    width: 5%;
    aspect-ratio: 1;
}

.shop-hero__ball--b {
    top: 54%;
    right: 2%;
    width: 8%;
    aspect-ratio: 1;
}

/* Arch whose lower edge follows the circle, so an ordinary photo sits in it like the template's cut-out */
.shop-hero__figure {
    position: absolute;
    top: 2%;
    bottom: 14.3%;
    left: 26.5%;
    width: 49%;
    height: 83.7%;
    border-radius: 50% 50% 50% 50% / 29% 29% 11.7% 11.7%;
    object-fit: cover;
    object-position: center top;
}

.shop-hero__swatches {
    position: absolute;
    top: 27%;
    right: 3%;
    display: flex;
    gap: 1.6cqw;
    padding: 1.8cqw 2.4cqw;
    border-radius: 1.6cqw;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-float);
}

.shop-hero__swatches span {
    display: grid;
    place-items: center;
    width: 3.6cqw;
    height: 3.6cqw;
    border-radius: 50%;
    background: var(--shop-blue);
    color: #fff;
}

.shop-hero__swatches span:nth-child(2) {
    background: var(--shop-pink);
}

.shop-hero__swatches span:nth-child(3) {
    background: var(--shop-yellow);
}

.shop-hero__swatches span:nth-child(4) {
    background: var(--shop-purple);
}

.shop-hero__swatches svg {
    width: 2.2cqw;
    height: 2.2cqw;
    stroke-width: 3;
}

.shop-hero__product {
    position: absolute;
    bottom: 3%;
    left: 4%;
    width: 30%;
    padding: 1.6cqw 1.6cqw 2.4cqw;
    border-radius: 1.6cqw;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-float);
    color: var(--shop-ink);
    font-size: max(10px, 2cqw);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.shop-hero__product img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1.6cqw;
    border-radius: 1cqw;
    object-fit: cover;
}

.shop-hero__product span {
    display: block;
}

.shop-hero__reviews {
    position: absolute;
    right: 0;
    bottom: 4%;
    width: 41%;
    padding: 2.6cqw 3cqw;
    border-radius: 1.6cqw;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-float);
    color: var(--shop-ink);
    font-size: max(11px, 2.4cqw);
    font-weight: 700;
    line-height: 1.5;
}

.shop-hero__reviews strong {
    font-size: 1.25em;
}

.shop-stars {
    display: flex;
    gap: 2px;
    color: var(--shop-yellow);
}

.shop-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.shop-hero__reviews .shop-stars svg {
    width: 2.6cqw;
    height: 2.6cqw;
}

.shop-avatars {
    display: flex;
    margin-top: 1.6cqw;
}

.shop-avatars img {
    width: 5cqw;
    height: 5cqw;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
}

.shop-avatars img + img {
    margin-left: -1cqw;
}

@media (min-width: 992px) {
    .shop-hero__grid {
        grid-template-columns: minmax(0, 578fr) minmax(0, 757fr);
        gap: 0;
    }

    .shop-hero__copy {
        padding-block: 63px 60px;
    }

    .shop-hero__art {
        margin: 7px 0 0;
    }
}

/* ---------- Home: statement and company logos ---------- */

.shop-logos {
    padding-block: 92px 80px;
    background: var(--shop-surface-alt);
}

.shop-logos__quote {
    max-width: 667px;
    margin-inline: auto;
    color: var(--shop-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.shop-logos__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.shop-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 80px;
    color: #9a9a9a;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.shop-logos__item .shop-icon {
    width: 30px;
    height: 30px;
}

@media (min-width: 768px) {
    .shop-logos__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .shop-logos__list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ---------- Home: how it works ---------- */

.shop-how {
    padding-block: 78px 100px;
}

.shop-how__steps {
    position: relative;
    display: grid;
    gap: 50px;
    max-width: 1120px;
    margin: 73px auto 0;
    padding: 0;
    list-style: none;
}

.shop-how__step {
    display: grid;
    gap: 24px;
}

.shop-how__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 448 / 299;
    border-radius: var(--shop-radius);
    container-type: inline-size;
}

.shop-how__num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: 0 7px 30px rgb(0 0 0 / 13%);
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 700;
}

.shop-how__title {
    color: var(--shop-ink);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.4;
}

.shop-how__text {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .shop-how__steps {
        gap: 60px;
    }

    .shop-how__steps::before {
        content: "";
        position: absolute;
        top: 13%;
        bottom: 13%;
        left: 50%;
        border-left: 2px dashed #e0e0e0;
    }

    .shop-how__step {
        grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
        align-items: center;
        gap: 0 clamp(24px, 6.2vw, 88px);
    }

    .shop-how__num {
        position: relative;
        grid-column: 2;
        grid-row: 1;
    }

    .shop-how__media {
        grid-column: 1;
        grid-row: 1;
    }

    .shop-how__body {
        grid-column: 3;
        grid-row: 1;
    }

    .shop-how__step:nth-child(even) .shop-how__media {
        grid-column: 3;
    }

    .shop-how__step:nth-child(even) .shop-how__body {
        grid-column: 1;
    }
}

/* Step artwork (stand-ins for the template's illustrations) */
.shop-how__media--browse {
    background: var(--shop-blue-tint);
}

.shop-how__media--review {
    display: grid;
    place-items: center;
    background: var(--shop-purple-tint);
}

.shop-how__media--box {
    background: var(--shop-yellow-tint);
}

.shop-how__media--box svg {
    width: 100%;
    height: 100%;
}

.shop-browse {
    position: absolute;
    top: 16%;
    left: 6%;
    width: 110%;
    height: 110%;
    padding: 5cqw 7cqw;
    rotate: -12deg;
}

.shop-browse__brand {
    display: flex;
    align-items: center;
    gap: 2cqw;
    color: var(--shop-ink);
    font-size: 4.4cqw;
    font-weight: 700;
    line-height: 1;
}

.shop-browse__brand img {
    width: 6.5cqw;
    height: 6.5cqw;
}

.shop-browse__items {
    display: flex;
    gap: 4cqw;
    margin-top: 6cqw;
}

.shop-browse__item {
    display: grid;
    gap: 2cqw;
    justify-items: center;
    width: 24cqw;
    padding: 3cqw;
    border-radius: 2cqw;
    color: var(--shop-primary);
}

.shop-browse__item:nth-child(2) {
    box-shadow: var(--shop-shadow-float);
    color: var(--shop-blue);
}

.shop-browse__item:nth-child(3) {
    color: var(--shop-yellow);
}

.shop-browse__item svg {
    width: 16cqw;
    height: 15cqw;
}

.shop-browse__item .shop-bar {
    width: 70%;
}

.shop-browse__item .shop-bar--thin {
    width: 45%;
}

.shop-config {
    display: flex;
    gap: 5%;
    width: 80%;
    padding: 3.5%;
}

.shop-config__preview {
    flex: none;
    width: 46%;
    aspect-ratio: 1.05;
    border-radius: 8px;
}

.shop-config__form {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 7%;
    justify-content: center;
}

.shop-config__form .shop-bar:nth-child(2) {
    width: 70%;
}

.shop-config__form .shop-bar--thin:nth-child(4) {
    width: 60%;
}

/* ---------- Home: easy way (artwork left, copy right) ---------- */

.shop-ideas {
    padding-block: 60px;
    background: var(--shop-surface-alt);
}

.shop-ideas__grid {
    display: grid;
    align-items: center;
    gap: 40px;
}

.shop-ideas__text {
    max-width: 464px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-ideas__body .btn {
    margin-top: 36px;
}

.shop-ideas__art {
    position: relative;
    width: 100%;
    max-width: 710px;
    aspect-ratio: 710 / 516;
    margin-inline: auto;
    container-type: inline-size;
}

.shop-ideas__art > * {
    position: absolute;
}

.shop-ideas__tile--a {
    top: 18%;
    left: 3%;
    width: 24%;
    height: 33%;
}

.shop-ideas__tile--b {
    top: 55%;
    left: 0;
    width: 24%;
    height: 42%;
}

.shop-ideas__tile--c {
    top: 11%;
    left: 44%;
    width: 24%;
    height: 37%;
}

.shop-ideas__tile--d {
    top: 16%;
    left: 64%;
    width: 10%;
    height: 13.5%;
    border-radius: 4px;
}

.shop-ideas__tile--e {
    top: 76%;
    left: 42%;
    width: 22%;
    height: 22%;
}

.shop-ideas__card {
    top: 34%;
    left: 15%;
    width: 50%;
}

.shop-ideas__card.shop-config {
    padding: 2.6cqw;
}

.shop-ideas__tools {
    top: 40%;
    left: 67.5%;
    display: grid;
    gap: 2.6cqw;
    justify-items: center;
    width: 8.5%;
    padding: 9cqw 0 3cqw;
    border-radius: 1.2cqw;
    background: var(--shop-primary);
    color: #fff;
}

.shop-ideas__tools svg {
    width: 3.4cqw;
    height: 3.4cqw;
}

.shop-ideas__pen {
    top: 36%;
    left: 66%;
    display: grid;
    place-items: center;
    width: 7.5%;
    aspect-ratio: 1;
    border-radius: 1.6cqw;
    color: var(--shop-primary);
}

.shop-ideas__pen svg {
    width: 3.6cqw;
    height: 3.6cqw;
}

@media (min-width: 992px) {
    .shop-ideas {
        padding-block: 86px 72px;
    }

    .shop-ideas__grid {
        grid-template-columns: minmax(0, 710fr) minmax(0, 516fr);
        gap: clamp(40px, 7.6vw, 109px);
    }

    .shop-ideas__body {
        padding-top: 20px;
    }
}

/* ---------- Home: made easy (accordion left, artwork right) ---------- */

.shop-easy {
    padding-block: 35px 15px;
    background: var(--shop-surface-alt);
}

.shop-easy__grid {
    display: grid;
    align-items: start;
    gap: 30px;
    margin-top: 53px;
}

.shop-easy__list {
    display: grid;
    gap: 18px;
    padding-top: 18px;
}

.shop-easy__item {
    border-radius: var(--shop-radius);
}

.shop-easy__item summary {
    padding: 18px;
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.shop-easy__item summary::-webkit-details-marker {
    display: none;
}

.shop-easy__item summary:hover {
    color: var(--shop-primary);
}

.shop-easy__item[open] {
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-float);
}

.shop-easy__item[open] summary {
    padding-block: 21px 14px;
}

.shop-easy__item p {
    padding: 0 20px 25px;
}

.shop-easy__art {
    position: relative;
    width: 100%;
    max-width: 868px;
    aspect-ratio: 868 / 664;
    margin-inline: auto;
    container-type: inline-size;
}

.shop-easy__art > * {
    position: absolute;
}

.shop-easy__circle {
    top: 18%;
    left: 4%;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(160deg, #c3e2f4, var(--shop-blue-tint));
}

.shop-easy__ball {
    border-radius: 50%;
    background: linear-gradient(135deg, #a9d6f0, var(--shop-blue));
    opacity: .55;
}

.shop-easy__ball--a {
    top: 26%;
    right: 3%;
    width: 7%;
    aspect-ratio: 1;
}

.shop-easy__ball--b {
    top: 56%;
    right: 9%;
    width: 3.6%;
    aspect-ratio: 1;
}

.shop-easy__base {
    top: 47%;
    left: 15%;
    width: 60%;
    height: 34%;
    border-radius: 2.4cqw;
    background:
        repeating-linear-gradient(90deg, transparent 0 4.2cqw, #e9e7f6 4.2cqw 4.8cqw) 0 0 / 100% 62% no-repeat,
        repeating-linear-gradient(0deg, transparent 0 3.2cqw, #e9e7f6 3.2cqw 3.8cqw) 0 0 / 100% 62% no-repeat,
        #dcd9ee;
    box-shadow: 0 4cqw 6cqw rgb(0 0 0 / 10%);
    transform: perspective(90cqw) rotateX(52deg) rotateZ(-14deg);
}

.shop-easy__screen {
    top: 3%;
    left: 31%;
    width: 50%;
    height: 50%;
    padding: 3cqw;
    border-radius: 1.8cqw;
    transform: perspective(120cqw) rotateY(-12deg) rotateZ(3deg);
}

.shop-easy__screen .shop-bar {
    width: 38%;
    margin-top: 2cqw;
}

.shop-easy__screen .shop-bar--thin {
    width: 30%;
}

.shop-easy__screen .shop-bar--primary {
    width: 16%;
    height: 2.4cqw;
    margin-top: 3cqw;
}

.shop-easy__screen img {
    position: absolute;
    top: 22%;
    right: 8%;
    width: 36%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .shop-easy__grid {
        grid-template-columns: minmax(0, 467fr) minmax(0, 868fr);
        gap: 0;
    }

    .shop-easy__art {
        margin-top: 15px;
    }
}

/* ---------- Home: our work (carousel) ---------- */

.shop-picks {
    padding-block: 78px 58px;
}

.shop-picks__track {
    grid-auto-columns: 78%;
    margin-top: 55px;
}

.shop-work {
    text-align: center;
}

.shop-work__media {
    position: relative;
    aspect-ratio: 3 / 4;
}

.shop-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    gap: 3px;
    justify-items: start;
}

.shop-badge {
    padding: 0 6px;
    border-radius: 3px;
    background: var(--shop-blue-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.shop-badge--purple {
    background: var(--shop-purple);
}

.shop-badge--yellow {
    background: var(--shop-yellow);
    color: var(--shop-ink);
}

.shop-work__title {
    margin-top: 20px;
    color: var(--shop-ink);
    font-size: 17px;
    line-height: 1.4;
}

.shop-work__meta {
    margin-top: 9px;
    color: var(--shop-blue-dark);
    font-weight: 700;
    line-height: 1.3;
}

.shop-picks .shop-dots {
    margin-top: 45px;
}

@media (min-width: 576px) {
    .shop-picks__track {
        grid-auto-columns: calc((100% - 30px) / 2);
    }
}

@media (min-width: 992px) {
    .shop-picks__track {
        grid-auto-columns: calc((100% - 60px) / 3);
    }
}

@media (min-width: 1200px) {
    .shop-picks__track {
        grid-auto-columns: calc((100% - 90px) / 4);
    }
}

/* ---------- Home: two promo banners ---------- */

.shop-banners {
    padding-block: 15px 72px;
}

.shop-banners__grid {
    display: grid;
    gap: 30px;
}

.shop-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-height: 340px;
    padding: 39px;
    border-radius: var(--shop-radius);
    background: var(--shop-purple-tint);
    container-type: inline-size;
}

.shop-banner--plain {
    background: var(--shop-surface-alt);
}

.shop-banner__title {
    position: relative;
    max-width: 240px;
    color: var(--shop-ink);
    font-size: 28px;
    line-height: 1.4;
}

.shop-banner__text {
    position: relative;
    max-width: 250px;
    margin-top: 11px;
    font-size: 16px;
    line-height: 1.8;
}

.shop-banner .btn {
    position: relative;
    margin-top: 24px;
}

.shop-banner__media {
    position: absolute;
    inset: 0 0 0 46%;
}

.shop-banner__media > * {
    position: absolute;
}

.shop-banner__media > .shop-img {
    border-radius: 8px;
}

.shop-banner__tile--a {
    top: 12%;
    left: 0;
    width: 40%;
    height: 54%;
}

.shop-banner__tile--b {
    top: 68%;
    left: 0;
    width: 40%;
    height: 40%;
}

.shop-banner__tile--c {
    top: 6%;
    left: 45%;
    width: 28%;
    height: 38%;
}

.shop-banner__tile--d {
    top: 48%;
    left: 45%;
    width: 28%;
    height: 40%;
}

.shop-banner__tile--e {
    top: 6%;
    left: 78%;
    width: 30%;
    height: 54%;
}

.shop-banner__tile--f {
    top: 64%;
    left: 78%;
    width: 30%;
    height: 40%;
}

.shop-banner__photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(90deg, transparent, #000 40%);
}

@media (max-width: 575.98px) {
    .shop-banner {
        padding: 30px 24px;
    }

    .shop-banner__media {
        opacity: .35;
    }
}

@media (min-width: 992px) {
    .shop-banners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Home: why us ---------- */

.shop-why {
    position: relative;
    padding-block: 33px 86px;
}

.shop-why::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--shop-surface-alt);
    clip-path: polygon(0 0, 100% min(270px, 19vw), 100% 100%, 0 100%);
}

.shop-why__grid {
    position: relative;
    display: grid;
    gap: 40px;
}

.shop-why__intro {
    padding-top: 40px;
}

.shop-why__text {
    max-width: 335px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-why__intro .btn {
    margin-top: 36px;
}

.shop-features {
    display: grid;
    gap: 30px;
}

.shop-feature {
    padding: 35px 20px 20px 30px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
}

.shop-feature .shop-icon {
    width: 48px;
    height: 48px;
    color: var(--shop-pink);
    stroke-width: 1.25;
}

.shop-feature:nth-child(5n + 2) .shop-icon {
    color: var(--shop-blue);
}

.shop-feature:nth-child(5n + 3) .shop-icon {
    color: var(--shop-purple);
}

.shop-feature:nth-child(5n + 4) .shop-icon {
    color: var(--shop-orange);
}

.shop-feature:nth-child(5n + 5) .shop-icon {
    color: var(--shop-yellow);
}

.shop-feature__title {
    margin-top: 27px;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.4;
}

.shop-feature p {
    margin-top: 17px;
}

.shop-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    min-height: 262px;
    margin-top: 46px;
    padding: 40px 50px;
    border-radius: var(--shop-radius);
    background: var(--shop-blue-tint);
}

.shop-offer__title {
    position: relative;
    max-width: 320px;
    color: var(--shop-ink);
    font-size: 24px;
    line-height: 1.4;
}

.shop-offer__text {
    position: relative;
    max-width: 420px;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.8;
}

.shop-offer .btn {
    position: relative;
    margin-top: 20px;
}

.shop-offer__media {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 220px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    translate: 0 -50%;
}

@media (max-width: 767.98px) {
    .shop-offer {
        padding: 30px 24px;
    }

    .shop-offer__media {
        display: none;
    }
}

@media (min-width: 576px) {
    .shop-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .shop-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-feature {
        min-height: 340px;
    }
}

@media (min-width: 1200px) {
    .shop-why__grid {
        grid-template-columns: minmax(0, 516fr) minmax(0, 789fr);
        gap: 30px;
    }

    .shop-why__intro {
        padding-top: 67px;
    }
}

/* ---------- Home: testimonials ---------- */

.shop-quotes {
    --shop-quotes-band: 300px;
    position: relative;
    overflow: hidden;
    padding-block: 35px 82px;
}

/* With a pill heading (About): the cards, and the bands behind them, sit lower */
.shop-quotes--pill {
    --shop-quotes-band: 382px;
    padding-top: 92px;
}

.shop-quotes::before,
.shop-quotes::after {
    content: "";
    position: absolute;
    left: -5%;
    width: 110%;
    rotate: -6deg;
}

.shop-quotes::before {
    top: var(--shop-quotes-band);
    height: 16px;
    background: var(--shop-blue-tint);
}

.shop-quotes::after {
    top: calc(var(--shop-quotes-band) + 26px);
    height: 60px;
    background: var(--shop-purple-tint);
}

/* Straight after the grey "why us" block the heading needs more room above it */
.shop-why + .shop-quotes {
    --shop-quotes-band: 343px;
    padding-top: 78px;
}

/* Lifts the cards above the two decorative bands */
.shop-quotes > .shop-container {
    position: relative;
    z-index: 1;
}

.shop-quotes__track {
    grid-auto-columns: 100%;
    margin: 51px -10px 0;
    padding: 10px;
    scroll-padding-inline: 10px;
}

.shop-quote {
    margin: 0;
    padding: 40px;
    border-radius: 10px;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
}

.shop-quote figcaption {
    display: flex;
    align-items: center;
    gap: 24px;
}

.shop-quote__avatar {
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.shop-quote__name {
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-quote__role {
    padding-left: 5px;
    font-size: 15px;
}

.shop-quote .shop-stars {
    margin-top: 8px;
}

.shop-quote blockquote {
    margin: 20px 0 0;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.8;
}

.shop-quotes--pill .shop-quotes__track {
    margin-top: 61px;
}

.shop-quotes .shop-dots {
    margin-top: 47px;
}

@media (min-width: 768px) {
    .shop-quotes__track {
        grid-auto-columns: calc((100% - 30px) / 2);
    }
}

@media (min-width: 1200px) {
    .shop-quotes__track {
        grid-auto-columns: calc((100% - 60px) / 3);
    }
}

/* ---------- Home: companies that chose us ---------- */

.shop-cta {
    position: relative;
    overflow: hidden;
    min-height: 448px;
    padding: 106px var(--shop-gutter) 100px;
    background: var(--shop-purple-tint);
    text-align: center;
}

.shop-cta__body {
    position: relative;
}

.shop-cta__title {
    max-width: 560px;
    margin-inline: auto;
}

.shop-cta__text {
    margin-top: 17px;
    font-size: 18px;
    line-height: 1.6;
}

.shop-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
    margin-top: 43px;
}

.shop-cta__photo {
    position: absolute;
    display: none;
    box-shadow: var(--shop-shadow-photo);
}

.shop-cta__photo--a {
    top: -10px;
    left: 4%;
    width: 188px;
    height: 160px;
}

.shop-cta__photo--b {
    top: 245px;
    left: -15px;
    width: 200px;
    height: 140px;
}

.shop-cta__photo--c {
    top: 255px;
    left: 21%;
    width: 121px;
    height: 157px;
}

.shop-cta__photo--d {
    top: -15px;
    right: 15%;
    width: 110px;
    height: 125px;
}

.shop-cta__photo--e {
    top: 134px;
    right: -28px;
    width: 199px;
    height: 140px;
}

.shop-cta__photo--f {
    top: 322px;
    right: 15.5%;
    width: 138px;
    height: 150px;
}

@media (min-width: 1200px) {
    .shop-cta__photo {
        display: block;
    }
}

/* ---------- Inner pages: title band and breadcrumb ---------- */

.shop-pagehead {
    padding-block: 50px 60px;
    background: var(--shop-surface-alt);
    text-align: center;
}

.shop-pagehead__title {
    color: var(--shop-ink);
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.4;
}

.shop-crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 14px 0 0;
    padding: 0;
    line-height: 1.5;
    list-style: none;
}

.shop-crumbs li + li::before {
    content: "—";
    margin-inline: 10px;
}

.shop-crumbs a {
    color: var(--shop-text);
    text-decoration: none;
}

.shop-crumbs a:hover {
    color: var(--shop-primary);
}

.shop-crumbs [aria-current] {
    color: var(--shop-ink);
}

/* ---------- Listing: toolbar ---------- */

.shop-catalog {
    padding-block: 75px 80px;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 30px;
    min-height: 48px;
}

.shop-toolbar__count {
    margin-right: auto;
    color: var(--shop-ink);
}

.shop-filterbtn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 25px;
    border: 2px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    color: var(--shop-ink);
    font-weight: 600;
}

.shop-filterbtn:hover {
    border-color: var(--shop-purple);
}

.shop-filterbtn .shop-icon {
    width: 18px;
    height: 18px;
}

.shop-filterbtn__close,
.shop-filterbtn[aria-expanded="true"] .shop-filterbtn__open {
    display: none;
}

.shop-filterbtn[aria-expanded="true"] {
    border-color: var(--shop-purple);
    background: var(--shop-purple);
    color: #fff;
}

.shop-filterbtn[aria-expanded="true"] .shop-filterbtn__close {
    display: block;
}

.shop-viewswitch {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--shop-ink);
}

.shop-viewswitch__btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: #9b9b9b;
}

.shop-viewswitch__btn:hover,
.shop-viewswitch__btn[aria-pressed="true"] {
    color: var(--shop-ink);
}

.shop-viewswitch__btn .shop-icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}

/* ---------- Listing: filter panel ---------- */

.shop-filters {
    display: grid;
    gap: 30px;
    margin-top: 30px;
    padding-top: 35px;
    border-top: 1px solid var(--shop-line);
}

.shop-filters[hidden] {
    display: none;
}

.shop-widget__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.shop-widget__title::-webkit-details-marker {
    display: none;
}

.shop-widget__title .shop-icon {
    width: 16px;
    height: 16px;
}

.shop-widget:not([open]) .shop-widget__title .shop-icon {
    opacity: .35;
}

.shop-widget__list {
    display: grid;
    gap: 12px;
    max-height: 198px;
    margin: 25px 0 0;
    padding: 0 8px 0 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
}

.shop-widget__list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    line-height: 27px;
}

.shop-widget__list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--shop-text);
    text-decoration: none;
}

.shop-widget__list a:hover,
.shop-widget__list a[aria-current] {
    color: var(--shop-primary);
}

.shop-widget__list li > span {
    color: var(--shop-ink);
    font-size: 13px;
}

.shop-widget__search {
    position: relative;
    margin-top: 25px;
}

.shop-widget__search input {
    width: 100%;
    height: 48px;
    padding: 0 65px 0 15px;
    border: 1px solid var(--shop-surface-alt);
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
    color: var(--shop-ink);
    font: inherit;
}

.shop-widget__search button {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60px;
    border: 0;
    background: none;
    color: var(--shop-text);
}

.shop-widget__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 31px;
}

.shop-widget__tags a {
    padding: 3px 14px;
    border-radius: 3px;
    background: var(--shop-surface-alt);
    color: var(--shop-text);
    line-height: 27px;
    text-decoration: none;
}

.shop-widget__tags a:hover {
    background: var(--shop-primary);
    color: #fff;
}

/* Colour dot: small with a ring on product cards, larger and plain in the filter */
.shop-color {
    display: inline-block;
    flex: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--shop-color);
    box-shadow: 0 0 0 3px var(--shop-surface), 0 0 0 4px var(--shop-line);
}

.shop-color--lg {
    width: 25px;
    height: 25px;
    border: 1px solid var(--shop-line);
    box-shadow: none;
}

@media (min-width: 576px) {
    .shop-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Listing: product cards ---------- */

.shop-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 41px -15px 0;
    padding: 0;
    list-style: none;
}

.shop-product {
    position: relative;
    margin-bottom: 30px;
    padding: 15px 15px 5px;
    transition: translate .3s;
}

/* The white card that appears behind a hovered product */
.shop-product::before {
    content: "";
    position: absolute;
    inset: 0 0 -15px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: 0 5px 30px rgb(0 0 0 / 10%);
    opacity: 0;
    transition: opacity .3s;
}

.shop-product:hover,
.shop-product:focus-within {
    translate: 0 -8px;
}

.shop-product:hover::before,
.shop-product:focus-within::before {
    opacity: 1;
}

.shop-product__media {
    position: relative;
    aspect-ratio: 311 / 415;
}

.shop-product__media > a {
    display: block;
    height: 100%;
}

.shop-product__alt {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .3s;
}

.shop-product:hover .shop-product__alt {
    opacity: 1;
}

.shop-product__actions {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    translate: 0 8px;
    transition: opacity .3s, translate .3s;
}

.shop-product:hover .shop-product__actions,
.shop-product:focus-within .shop-product__actions {
    opacity: 1;
    translate: 0;
}

.shop-roundbtn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
    color: var(--shop-ink);
}

.shop-roundbtn:hover {
    background: var(--shop-primary);
    color: #fff;
}

.shop-roundbtn .shop-icon {
    width: 18px;
    height: 18px;
}

.shop-product__body {
    position: relative;
    padding-top: 20px;
    text-align: center;
}

.shop-product__title {
    font-size: 17px;
    line-height: 1.4;
}

.shop-product__title a {
    color: var(--shop-ink);
    text-decoration: none;
}

.shop-product__title a:hover {
    color: var(--shop-primary);
}

.shop-product__price {
    margin-top: 9px;
    color: var(--shop-ink);
    font-weight: 700;
    line-height: 19px;
}

.shop-colors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 17px;
}

.shop-colors__more {
    color: var(--shop-ink);
    font-size: 14px;
    line-height: 1;
}

/* Shown in the list view only; .shop prefix outranks the display set on .shop .btn */
.shop-product__desc,
.shop .shop-product__cta {
    display: none;
}

@media (min-width: 768px) {
    .shop-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Listing: list view ---------- */

.shop-products[data-view="list"] {
    grid-template-columns: minmax(0, 1fr);
    margin-inline: 0;
}

.shop-products[data-view="list"] .shop-product {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 0 0 30px;
    border-bottom: 1px solid var(--shop-line);
    translate: none;
}

.shop-products[data-view="list"] .shop-product::before {
    display: none;
}

.shop-products[data-view="list"] .shop-product__media {
    aspect-ratio: 260 / 347;
}

.shop-products[data-view="list"] .shop-product__body {
    padding-top: 0;
    text-align: left;
}

.shop-products[data-view="list"] .shop-product__title {
    font-size: clamp(18px, 2vw, 22px);
}

.shop-products[data-view="list"] .shop-product__price {
    margin-top: 12px;
    font-size: 18px;
    line-height: 23px;
}

.shop-products[data-view="list"] .shop-colors {
    justify-content: flex-start;
    margin-top: 16px;
}

.shop-products[data-view="list"] .shop-color {
    width: 20px;
    height: 20px;
}

.shop-products[data-view="list"] .shop-product__desc {
    display: block;
    margin-top: 13px;
}

.shop-products[data-view="list"] .shop-product__cta {
    display: inline-flex;
    margin-top: 30px;
}

@media (min-width: 576px) {
    .shop-products[data-view="list"] .shop-product {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 30px;
    }
}

/* ---------- Listing: paging ---------- */

.shop-pagination {
    padding-top: 46px;
}

.shop-pagination ul {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-pagination a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--shop-ink);
    font-weight: 700;
    text-decoration: none;
}

.shop-pagination a:hover {
    color: var(--shop-primary);
}

.shop-pagination a[aria-current] {
    background: var(--shop-purple);
    color: #fff;
}

.shop-pagination .shop-icon {
    width: 16px;
    height: 16px;
}

/* ---------- Product: breadcrumb bar and layout ---------- */

.shop-container--narrow {
    max-width: calc(1140px + 2 * var(--shop-gutter));
}

.shop-crumbbar {
    padding: 15px var(--shop-gutter);
    background: var(--shop-surface-alt);
}

.shop-crumbbar .shop-crumbs {
    margin: 0;
    line-height: 27px;
}

.shop-pdp {
    padding-top: 70px;
}

/* minmax(0, …) lets the column shrink below its content's natural width on phones */
.shop-pdp__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px 30px;
}

@media (min-width: 992px) {
    .shop-pdp__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-pdp__grid .shop-gallery {
        max-width: none;
    }
}

/* ---------- Product: gallery ---------- */

.shop-gallery {
    display: grid;
    gap: 10px;
    align-content: start;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}

.shop-gallery__thumbs {
    display: flex;
    gap: 10px;
    order: 2;
}

.shop-gallery__thumb {
    flex: none;
    width: 70px;
    height: 70px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 5px;
    background: none;
    opacity: .6;
}

.shop-gallery__thumb:hover,
.shop-gallery__thumb[aria-current="true"] {
    opacity: 1;
}

.shop-gallery__thumb[aria-current="true"] {
    border-color: var(--shop-ink);
}

.shop-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-gallery__stage {
    position: relative;
    aspect-ratio: 455 / 607;
}

.shop-gallery__zoom {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: 0 0 5px rgb(0 0 0 / 8%);
    color: var(--shop-ink);
}

.shop-gallery__zoom:hover {
    background: var(--shop-primary);
    color: #fff;
}

.shop-gallery__zoom .shop-icon {
    width: 18px;
    height: 18px;
}

@media (min-width: 576px) {
    .shop-gallery {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .shop-gallery__thumbs {
        flex-direction: column;
        order: 0;
    }

    .shop-gallery__thumb {
        width: 90px;
        height: 90px;
    }
}

.shop-zoom {
    max-width: min(92vw, 900px);
    max-height: 92vh;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: var(--shop-radius);
    background: none;
}

.shop-zoom::backdrop {
    background: rgb(0 0 0 / 70%);
}

.shop-zoom img {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--shop-radius);
}

.shop-zoom__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--shop-surface);
    color: var(--shop-ink);
}

/* ---------- Product: summary ---------- */

.shop-summary__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-summary__price {
    color: var(--shop-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 40px;
}

.shop-prevnext {
    display: flex;
    gap: 20px;
}

.shop-prevnext a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--shop-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.shop-prevnext a:hover {
    color: var(--shop-primary);
}

.shop-summary__title {
    margin-top: 9px;
    color: var(--shop-ink);
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.4;
}

.shop-summary__desc {
    margin-top: 15px;
}

.shop-summary__guide {
    display: inline-block;
    margin-top: 15px;
    color: var(--shop-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
}

.shop-summary__guide:hover {
    color: var(--shop-primary);
}

/* ---------- Product: options ---------- */

.shop-options {
    display: grid;
    gap: 30px;
    margin-top: 23px;
}

.shop-option {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.shop-option > legend,
.shop-option > label {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 17px;
    padding: 0;
    color: var(--shop-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
}

.shop-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.shop-choices--tight {
    gap: 5px;
}

.shop-choice {
    cursor: pointer;
}

.shop-choice--color > span:first-of-type {
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid var(--shop-line);
    border-radius: 50%;
    background: var(--shop-color);
}

.shop-choice--color input:checked + span {
    box-shadow: 0 0 0 3px var(--shop-surface), 0 0 0 5px var(--shop-primary);
}

.shop-choice--text > span {
    display: block;
    min-width: 58px;
    padding: 0 15px;
    border: 1px solid var(--shop-surface-alt);
    border-radius: 3px;
    background: var(--shop-surface-alt);
    color: var(--shop-text);
    font-weight: 600;
    line-height: 34px;
    text-align: center;
}

.shop-choice--text input:checked + span {
    border-color: var(--shop-primary);
    background: var(--shop-surface);
    color: var(--shop-primary-dark);
}

.shop-choice--image > span:first-of-type {
    display: block;
    width: 60px;
    height: 60px;
    padding: 3px;
    border: 1px solid var(--shop-line);
    border-radius: 3px;
}

.shop-choice--image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
}

.shop-choice--image input:checked + span {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 1px var(--shop-primary);
}

.shop-choice input:focus-visible + span {
    outline: 3px solid rgb(0 131 203 / 55%);
    outline-offset: 2px;
}

.shop-field {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid var(--shop-surface-alt);
    border-radius: var(--shop-radius);
    background-color: var(--shop-surface-alt);
    color: var(--shop-ink);
    font: inherit;
}

select.shop-field {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 14px;
    appearance: none;
}

.shop-field::placeholder {
    color: var(--shop-text);
}

.shop-field:focus {
    border-color: var(--shop-primary);
    outline: 0;
}

/* A few lines of text (the wording that goes on the product) */
.shop-field--lines {
    height: auto;
    min-height: 102px;
    padding: 10px 15px;
    resize: vertical;
}

/* A further field that one of the choices opens (custom size) */
.shop-option__more {
    margin-top: 12px;
}

/* ---------- Product: personalisation panel (template: product with extra options) ---------- */

.shop-extras {
    display: grid;
    gap: 14px;
    padding: 30px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
}

.shop-extras__title {
    color: var(--shop-ink);
    font-size: 20px;
    line-height: 1.4;
}

.shop-extras__text {
    margin: -4px 0 22px;
}

.shop-extras .shop-option > legend,
.shop-extras .shop-option > label {
    margin-bottom: 9px;
}

.shop-extras__optional {
    color: var(--shop-text);
    font-weight: 500;
}

.shop-extras .shop-field {
    border-color: var(--shop-surface);
    background-color: var(--shop-surface);
}

.shop-extras .shop-field:focus {
    border-color: var(--shop-primary);
}

.shop-extras__hint {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
}

.shop-extras .shop-check {
    line-height: 30px;
}

.shop-extras .shop-check + .shop-check {
    margin-top: 5px;
}

.shop-extras .shop-check input {
    margin-top: 6px;
}

.shop-extras .shop-check strong {
    font-weight: 700;
}

.shop-extras .shop-upload {
    margin-top: 0;
    border-color: #d5d5d5;
    background: var(--shop-surface);
}

.shop-extras .shop-upload__files {
    margin-top: 10px;
}

@media (max-width: 575.98px) {
    .shop-extras {
        padding: 20px;
    }
}

/* ---------- Product: upload, quantity, price steps ---------- */

.shop-upload {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    min-height: 82px;
    margin-top: 11px;
    padding: 16px 60px 16px 16px;
    border: 2px dashed #c5c5c5;
    border-radius: var(--shop-radius);
    color: var(--shop-ink);
    font-size: 16px;
}

.shop-upload.is-over {
    border-color: var(--shop-primary);
    background: var(--shop-pink-tint);
}

.shop-upload__icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    color: var(--shop-text);
    stroke-width: 1.5;
}

.shop-upload__or {
    color: var(--shop-text);
}

.shop-upload__browse {
    padding: 0 15px;
    border-radius: 3px;
    background: var(--shop-purple);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 36px;
    cursor: pointer;
}

.shop-upload__browse:hover {
    background: var(--shop-primary);
}

.shop-upload__browse:focus-within {
    outline: 3px solid rgb(0 131 203 / 55%);
    outline-offset: 2px;
}

.shop-upload__count {
    position: absolute;
    right: 12px;
    bottom: 6px;
    color: var(--shop-text);
    font-size: 12px;
    line-height: 1.8;
}

.shop-upload__files {
    display: grid;
    gap: 4px;
    margin: -18px 0 0;
    padding: 0;
    color: var(--shop-ink);
    font-size: 14px;
    list-style: none;
}

.shop-upload__files[hidden] {
    display: none;
}

/* The upload area, shown by script, sits in the form's grid as if it were not wrapped */
.shop-upload-group:not([hidden]) {
    display: contents;
}

.shop-upload__hint {
    margin-top: -22px;
    font-size: 13px;
}

.shop-buyrow {
    display: flex;
    gap: 10px;
    margin-top: -3px;
}

.shop-buyrow .btn {
    flex: 1;
}

.shop-qty {
    display: flex;
    flex: none;
    align-items: center;
    width: 137px;
    height: 48px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
}

.shop-qty button {
    display: grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--shop-ink);
}

.shop-qty button:hover {
    color: var(--shop-primary);
}

.shop-qty .shop-icon {
    width: 16px;
    height: 16px;
}

.shop-qty input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--shop-ink);
    font: inherit;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
}

.shop-qty input::-webkit-inner-spin-button {
    appearance: none;
}

.shop-tiers {
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.shop-tiers caption {
    padding: 0 0 10px;
    color: var(--shop-ink);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    caption-side: top;
}

.shop-tiers th,
.shop-tiers td {
    padding: 9px 8px;
}

.shop-tiers thead th {
    background: var(--shop-surface-alt);
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-tiers th[scope="row"],
.shop-tiers thead th:first-child {
    color: var(--shop-text);
    font-weight: 500;
    text-align: left;
}

.shop-tiers td {
    color: var(--shop-ink);
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .shop-tiers {
        font-size: 13px;
    }

    .shop-tiers th,
    .shop-tiers td {
        padding-inline: 4px;
    }

    .shop-tiers th:first-child {
        padding-left: 8px;
    }
}

/* ---------- Product: meta and share ---------- */

.shop-meta {
    display: grid;
    gap: 10px;
    margin: 23px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--shop-line);
    line-height: 27px;
}

.shop-meta div {
    display: flex;
    gap: 5px;
}

.shop-meta dt {
    color: var(--shop-ink);
    font-weight: 500;
}

.shop-meta dd {
    margin: 0;
}

.shop-meta a {
    color: var(--shop-text);
    text-decoration: none;
}

.shop-meta a:hover,
.shop-share a:hover {
    color: var(--shop-primary);
}

.shop-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    color: var(--shop-ink);
    line-height: 27px;
}

.shop-share a {
    display: grid;
    place-items: center;
    color: var(--shop-text);
}

.shop-share .shop-icon {
    width: 15px;
    height: 15px;
}

/* ---------- Product: tabs ---------- */

.shop-tabs {
    padding-top: 50px;
}

.shop-tabs__list {
    display: flex;
    justify-content: safe center;
    gap: 32px;
    overflow-x: auto;
    border-bottom: 1px solid var(--shop-line);
    scrollbar-width: none;
}

.shop-tabs__tab {
    flex: none;
    padding: 10px 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--shop-text);
    font-size: 19px;
    font-weight: 700;
    line-height: 32px;
}

.shop-tabs__tab:hover,
.shop-tabs__tab[aria-selected="true"] {
    color: var(--shop-ink);
}

.shop-tabs__tab[aria-selected="true"] {
    border-bottom-color: var(--shop-ink);
}

.shop-tabs__panel {
    padding-block: 55px 30px;
}

.shop-tabs__cols {
    display: grid;
    gap: 30px;
}

.shop-tabs__heading {
    color: var(--shop-ink);
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
}

.shop-tabs__cols :is(p, ul) + .shop-tabs__heading {
    margin-top: 30px;
}

.shop-tabs__cols p,
.shop-tabs__cols .shop-bullets {
    margin-top: 30px;
}

.shop-tabs__cols p + p,
.shop-tabs__cols p + .shop-bullets {
    margin-top: 10px;
}

.shop-bullets {
    margin-bottom: 0;
    padding: 0;
    line-height: 30px;
    list-style: none;
}

.shop-bullets li {
    position: relative;
    padding-left: 16px;
}

.shop-bullets li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    rotate: 45deg;
}

.shop-table {
    width: 100%;
    max-width: 750px;
    margin-inline: auto;
    line-height: 27px;
}

.shop-table th,
.shop-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--shop-line);
}

.shop-table th {
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-table--grid {
    max-width: none;
    text-align: center;
}

.shop-table--grid th[scope="row"],
.shop-table--grid thead th:first-child {
    text-align: left;
}

.shop-docs {
    display: grid;
    gap: 12px;
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.shop-docs a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
    color: var(--shop-ink);
    font-weight: 600;
    text-decoration: none;
}

.shop-docs a:hover {
    color: var(--shop-primary);
}

@media (min-width: 768px) {
    .shop-tabs__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- Product: related carousels ---------- */

.shop-related > .shop-container {
    position: relative;
}

.shop-related__title {
    padding: 50px 0 10px;
    border-top: 1px solid var(--shop-line);
    color: var(--shop-ink);
    font-size: 24px;
    line-height: 1.4;
    text-align: center;
}

.shop-related__wrap {
    position: relative;
    margin-top: 39px;
}

.shop-related__track {
    grid-auto-columns: calc((100% - 30px) / 2);
}

/* Cards inside the scroller: no lift, no white hover card (both would be clipped) */
.shop-related .shop-product {
    margin: 0;
    padding: 0;
    translate: none;
}

.shop-related .shop-product::before {
    display: none;
}

.shop-related .shop-product__media {
    aspect-ratio: 263 / 351;
}

.shop-related__nav {
    position: absolute;
    top: 150px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: 0 0 10px rgb(0 0 0 / 10%);
    color: var(--shop-ink);
}

.shop-related__nav:hover:not(:disabled) {
    background: var(--shop-primary);
    color: #fff;
}

.shop-related__nav:disabled {
    opacity: .4;
}

.shop-related__nav--prev {
    left: -10px;
}

.shop-related__nav--next {
    right: -10px;
}

.shop-related__nav .shop-icon {
    width: 16px;
    height: 16px;
}

.shop-related + .shop-related {
    margin-top: 55px;
}

.shop-related--last {
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .shop-related__track {
        grid-auto-columns: calc((100% - 60px) / 3);
    }
}

@media (min-width: 1200px) {
    .shop-related__track {
        grid-auto-columns: calc((100% - 90px) / 4);
    }
}

@media (min-width: 1340px) {
    .shop-related__nav--prev {
        left: -75px;
    }

    .shop-related__nav--next {
        right: -75px;
    }
}

/* ---------- Enquiry: layout ---------- */

.shop-enquiry {
    padding-block: 78px 92px;
}

.shop-enquiry__title {
    line-height: 1.15;
    text-align: center;
}

.shop-enquiry__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    margin-top: 65px;
}

/* Two cards across here, whatever the feature grid does elsewhere */
.shop-features.shop-enquiry__reasons {
    align-content: start;
}

@media (min-width: 576px) {
    .shop-features.shop-enquiry__reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-enquiry__grid {
        grid-template-columns: minmax(0, 774fr) minmax(0, 516fr);
    }

    .shop-features.shop-enquiry__reasons {
        padding-top: 17px;
    }
}

/* ---------- Enquiry: form ---------- */

.shop-form {
    display: grid;
    gap: 30px;
}

.shop-form__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.shop-form__group > * + * {
    margin-top: 30px;
}

/* Group title with a rule running to the right edge */
.shop-form__heading {
    display: flex;
    float: none;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    color: var(--shop-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-form__heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--shop-line);
}

.shop-form__heading + * {
    margin-top: 0;
}

.shop-form__row {
    display: grid;
    gap: 30px;
}

.shop-form__field > label,
.shop-form__label {
    display: block;
    margin-bottom: 5px;
    color: var(--shop-ink);
    font-weight: 600;
    line-height: 27px;
}

.shop-required {
    color: var(--shop-primary);
}

.shop-form__hint {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
}

.shop-form__row + .shop-form__hint {
    margin-top: 10px;
}

.shop-field--area {
    height: 150px;
    min-height: 150px;
    padding: 15px;
    resize: vertical;
}

.shop-filebtn {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 40px;
    border: 2px solid var(--shop-line);
    border-radius: var(--shop-radius);
    color: var(--shop-ink);
    font-weight: 600;
    cursor: pointer;
}

.shop-filebtn:hover {
    border-color: var(--shop-purple);
}

.shop-filebtn:focus-within {
    outline: 3px solid rgb(0 131 203 / 55%);
    outline-offset: 2px;
}

.shop-form__files {
    margin-top: 10px;
}

.shop-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--shop-ink);
    cursor: pointer;
}

.shop-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--shop-primary);
}

.shop-form__submit {
    justify-self: start;
    margin-top: 5px;
}

.shop-form__submit + .shop-form__hint {
    margin-top: -14px;
}

/* Shown when the form opens with choices carried over from a product page */
.shop-form__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    padding: 14px 18px;
    border-radius: var(--shop-radius);
    background: var(--shop-blue-tint);
    color: var(--shop-ink);
    line-height: 1.6;
}

.shop-form__note[hidden] {
    display: none;
}

/* Choices carried over from a product page that the form has no field of its own for */
.shop-form__carried {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 30px;
    margin-bottom: 0;
    padding: 14px 18px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
    line-height: 27px;
}

.shop-form__carried[hidden] {
    display: none;
}

.shop-form__carried div {
    display: flex;
    gap: 6px;
}

.shop-form__carried dt {
    font-weight: 500;
}

.shop-form__carried dd {
    margin: 0;
    color: var(--shop-ink);
    font-weight: 600;
}

.shop-form__note .shop-icon {
    margin-top: 2px;
    color: var(--shop-blue-dark);
}

.shop-notice {
    padding: 40px;
    border-radius: var(--shop-radius);
    background: var(--shop-blue-tint);
    color: var(--shop-ink);
}

.shop-notice[hidden] {
    display: none;
}

.shop-notice > .shop-icon {
    width: 48px;
    height: 48px;
    color: var(--shop-primary);
    stroke-width: 1.25;
}

.shop-notice__title {
    margin-top: 20px;
    font-size: 22px;
    line-height: 1.4;
}

.shop-notice p {
    max-width: 560px;
    margin-top: 10px;
    color: var(--shop-text);
}

.shop-notice .btn {
    margin-top: 25px;
}

@media (min-width: 576px) {
    .shop-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-form__field--wide {
        grid-column: span 2;
    }
}

@media (min-width: 768px) {
    .shop-form__row--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-form__row--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Enquiry: closing band ---------- */

.shop-band {
    overflow: hidden;
    background: var(--shop-purple);
    color: #fff;
}

.shop-band__grid {
    display: grid;
    align-items: center;
    gap: 30px;
    min-height: 451px;
    padding-block: 50px;
}

.shop-band__title {
    max-width: 554px;
    color: #fff;
}

.shop-band__text {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
}

.shop-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 25px;
    margin-top: 42px;
}

/* White buttons on the purple band need a hover colour that still shows */
.shop .shop-band .btn-light {
    --bs-btn-hover-bg: var(--shop-primary);
    --bs-btn-hover-border-color: var(--shop-primary);
    --bs-btn-active-bg: var(--shop-primary);
    --bs-btn-active-border-color: var(--shop-primary);
}

.shop-band__img {
    display: none;
    width: 511px;
    height: 421px;
    border-radius: var(--shop-radius);
    object-fit: cover;
}

@media (min-width: 992px) {
    .shop-band__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-block: 15px;
    }

    .shop-band__body {
        padding-bottom: 44px;
    }

    .shop-band__img {
        display: block;
        margin-right: clamp(0px, 5vw, 71px);
    }
}

/* ---------- Contact: intro and details ---------- */

.shop-contact {
    padding-block: 70px 67px;
}

.shop-contact__title,
.shop-message__title {
    line-height: 1.15;
    text-align: center;
}

.shop-contact__sub {
    max-width: 587px;
}

.shop-contact__info {
    display: grid;
    gap: 40px 30px;
    max-width: 789px;
    margin: 67px auto 0;
}

.shop-contact__item > .shop-icon {
    display: block;
    width: 48px;
    height: 48px;
    color: var(--shop-primary);
    stroke-width: 1.25;
}

.shop-contact__heading {
    margin-top: 21px;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.4;
}

.shop-contact__item p {
    margin-top: 11px;
}

.shop-contact__item strong {
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-contact__item a {
    color: inherit;
    text-decoration: none;
}

.shop-contact__item a:hover,
.shop-contact__item a:hover strong {
    color: var(--shop-primary);
}

@media (min-width: 576px) {
    .shop-contact__info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- Contact: map stand-in ---------- */

.shop-map {
    padding-block: 15px 51px;
}

.shop-map__box {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    min-height: clamp(320px, 41vw, 590px);
    padding: 30px;
    border-radius: var(--shop-radius);
    background:
        linear-gradient(rgb(255 255 255 / 55%) 2px, transparent 2px) 0 0 / 100% 90px,
        linear-gradient(90deg, rgb(255 255 255 / 55%) 2px, transparent 2px) 0 0 / 120px 100%,
        #e4e4e4;
    text-align: center;
}

.shop-map__box > .shop-icon {
    width: 48px;
    height: 48px;
    color: var(--shop-primary);
    stroke-width: 1.5;
}

.shop-map__address {
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
}

/* ---------- Contact: message form ---------- */

.shop-message {
    padding-block: 35px 78px;
}

.shop-message__body {
    max-width: 801px;
    margin: 50px auto 0;
}

.shop-message__form {
    display: grid;
    gap: 20px;
}

.shop-message__row {
    display: grid;
    gap: 20px 30px;
}

.shop-message__submit {
    justify-self: center;
    min-width: 170px;
    margin-top: 5px;
}

@media (min-width: 576px) {
    .shop-message__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Not in the prototype: the sentence under the heading, and what a live form needs. */

.shop-message__sub {
    max-width: 587px;
    text-align: center;
}

/* The field only a robot fills in: off the screen, and out of the way of the keyboard and screen readers. */
.shop-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.shop-form__error {
    margin-top: 6px;
    color: var(--shop-pink-dark);
    font-size: 14px;
    line-height: 1.5;
}

.shop-form__error--general {
    margin-top: 0;
    text-align: center;
}

/* Said while the form is busy, not about a mistake. */
.shop-form__error--status {
    color: var(--shop-text);
}

.shop-field[aria-invalid="true"] {
    border-color: var(--shop-primary);
}

/* ---------- Enquiry: the list of items (not in the prototype, which has one fixed set of fields) ---------- */

.shop-enquiry__sub {
    max-width: 640px;
    margin: 14px auto 0;
    text-align: center;
}

/* The header button's count of items in the list */
.shop-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.shop-count[hidden] {
    display: none;
}

.shop-elist {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.shop-elist[hidden],
.shop-elist__empty[hidden],
.shop-elist__actions[hidden] {
    display: none;
}

.shop-elist .shop-form__heading {
    margin-bottom: 0;
}

.shop-elist .shop-form__note {
    margin-bottom: 0;
}

.shop-elist__count {
    color: var(--shop-text);
    font-size: 15px;
    font-weight: 500;
}

.shop-elist__items {
    display: grid;
    gap: 20px;
}

.shop-elist__items:empty {
    display: none;
}

.shop-elist__empty {
    padding: 24px;
    border: 2px dashed #c5c5c5;
    border-radius: var(--shop-radius);
    text-align: center;
}

.shop-elist__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* An item of the list: its picture and name, its options, quantities and files */
.shop-eitem {
    padding: 24px;
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
}

.shop-eitem__form {
    display: grid;
    gap: 24px;
}

.shop-eitem__head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-eitem__thumb {
    flex: none;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--shop-surface-alt);
}

/* An item without a picture (a general item, a service) has none of the square */
.shop-eitem__thumb:has(img[hidden]) {
    display: none;
}

.shop-eitem__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-eitem__heading {
    display: flex;
    flex: 1;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.shop-eitem__number {
    color: var(--shop-primary);
    font-size: 18px;
    font-weight: 700;
}

.shop-eitem__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.shop-eitem__title a {
    color: var(--shop-ink);
    text-decoration: none;
}

.shop-eitem__title a[href]:hover {
    color: var(--shop-primary);
}

.shop-eitem__remove {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--shop-surface-alt);
    color: var(--shop-ink);
}

.shop-eitem__remove:hover {
    background: var(--shop-pink-tint);
    color: var(--shop-primary);
}

.shop-eitem__options,
.shop-eitem__general {
    display: grid;
    gap: 24px;
}

.shop-eitem__qty + .shop-form__hint {
    margin-top: -16px;
}

.shop-eitem__files .shop-upload {
    margin-top: 0;
}

.shop-eitem__filelist {
    display: grid;
    gap: 6px;
    margin: 10px 0 0;
    padding: 0;
    color: var(--shop-ink);
    font-size: 14px;
    list-style: none;
}

.shop-eitem__filelist:empty {
    display: none;
}

.shop-eitem__filelist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--shop-surface-alt);
}

.shop-eitem__filename {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.shop-eitem__warning {
    flex-basis: 100%;
    order: 3;
    color: var(--shop-yellow-dark);
    font-size: 13px;
}

.shop-eitem__fileremove {
    padding: 0;
    border: 0;
    background: none;
    color: var(--shop-primary);
    font-weight: 600;
}

.shop-eitem__fileremove:hover {
    text-decoration: underline;
}

.shop-notice__number {
    color: var(--shop-ink);
    font-size: 18px;
}

.shop-notice__files[hidden] {
    display: none;
}

.shop-notice__files ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--shop-text);
}

/* ---------- About: intro (copy left, two photos right) ---------- */

.shop-about {
    padding-block: 60px 58px;
}

.shop-about__grid {
    display: grid;
    align-items: start;
    gap: 50px 30px;
}

.shop-about__title {
    max-width: 522px;
    margin-top: 18px;
    line-height: 1.3;
}

/* Soft highlight behind the last words of a title */
.shop-mark {
    position: relative;
    z-index: 0;
    display: inline-block;
}

.shop-mark::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 3px;
    height: 12px;
    background: linear-gradient(101deg, #fcd68d 2%, #fac0d6 105%);
}

.shop-about__lead {
    max-width: 522px;
    margin-top: 23px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-ticks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: var(--shop-ink);
    font-size: 17px;
    line-height: 1.8;
    list-style: none;
}

.shop-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.shop-ticks .shop-icon {
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 50%;
    background: var(--shop-pink-tint);
    color: var(--shop-primary);
    stroke-width: 3;
}

.shop-about .shop-ticks {
    margin-top: 37px;
}

.shop-about .btn {
    margin-top: 45px;
}

/* Two photos over three rings; the second photo overlaps the first */
.shop-duo {
    position: relative;
    width: 100%;
    max-width: 653px;
    aspect-ratio: 653 / 724;
    margin-inline: auto;
}

.shop-duo > * {
    position: absolute;
}

.shop-duo__main {
    top: 0;
    left: 0;
    width: 72%;
    height: auto;
    aspect-ratio: 470 / 570;
}

.shop-duo__side {
    top: 51.66%;
    left: 49.9%;
    width: 44.4%;
    height: auto;
    aspect-ratio: 290 / 350;
    box-shadow: var(--shop-shadow-photo);
}

.shop-rings {
    top: 8.3%;
    left: 31.1%;
    width: 68%;
    aspect-ratio: 1;
    border: 2px solid var(--shop-line);
    border-radius: 50%;
}

.shop-rings::before,
.shop-rings::after {
    content: "";
    position: absolute;
    inset: 12.85%;
    border: inherit;
    border-radius: 50%;
}

.shop-rings::after {
    inset: 25.25%;
}

.shop-duo--wide {
    aspect-ratio: 653 / 538;
}

.shop-duo--wide .shop-duo__main {
    width: 68%;
    aspect-ratio: 444 / 538;
}

.shop-duo--wide .shop-duo__side {
    top: 31.4%;
    left: 60.95%;
    width: 38.9%;
    aspect-ratio: 254 / 307;
}

.shop-duo--wide .shop-rings {
    top: 7.8%;
    left: 37.4%;
}

@media (min-width: 992px) {
    .shop-about {
        padding-top: 85px;
    }

    .shop-about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-about__copy {
        padding-top: 20px;
    }

    .shop-duo {
        margin-inline: 0;
    }
}

/* ---------- About: services (accordion) ---------- */

.shop-services {
    padding-block: 35px 72px;
}

.shop-services__grid {
    display: grid;
    align-items: start;
    gap: 40px 30px;
    margin-top: 68px;
}

.shop-accordion {
    --shop-accordion-row: var(--shop-surface-alt);
    --shop-accordion-shadow: 0 0 30px rgb(0 0 0 / 4%);
    display: grid;
    gap: 25px;
}

.shop-accordion__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px;
    border-radius: var(--shop-radius);
    background: var(--shop-accordion-row);
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
}

.shop-accordion__item summary::-webkit-details-marker {
    display: none;
}

.shop-accordion__item summary:hover {
    color: var(--shop-primary);
}

.shop-accordion__item[open] summary {
    background: var(--shop-primary);
    box-shadow: var(--shop-accordion-shadow);
    color: #fff;
}

.shop-accordion__item .shop-chevron {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.shop-accordion__item[open] .shop-chevron {
    rotate: 180deg;
}

.shop-accordion__item p {
    padding: 20px 20px 10px;
    font-size: 16px;
    line-height: 1.8;
}

.shop-accordion__item p + p {
    padding-top: 0;
}

.shop-accordion__item p a {
    color: var(--shop-blue-dark);
}

.shop-accordion__item p a:hover {
    color: var(--shop-primary);
}

/* On a grey band: white rows, a deeper shadow under the open one */
.shop-accordion--cards {
    --shop-accordion-row: var(--shop-surface);
    --shop-accordion-shadow: 0 7px 30px rgb(0 0 0 / 13%);
}

.shop-accordion--cards .shop-accordion__item summary {
    line-height: 1.4;
}

/* Plain questions on a rule, with a plus that becomes a minus */
.shop-accordion--lines {
    gap: 30px;
}

.shop-accordion--lines .shop-accordion__item summary {
    padding: 9px 0 10px;
    border-bottom: 1px solid var(--shop-line);
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 17px;
    line-height: 1.3;
}

.shop-accordion--lines .shop-accordion__item summary::after {
    content: "";
    flex: none;
    width: 15px;
    height: 15px;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}

.shop-accordion--lines .shop-accordion__item[open] summary {
    border-color: var(--shop-primary);
    color: var(--shop-primary);
}

/* The upright bar shrinks away, so the change can be animated */
.shop-accordion--lines .shop-accordion__item[open] summary::after {
    background-size: 100% 2px, 2px 0;
}

.shop-accordion--lines .shop-accordion__item p {
    padding: 15px 0 10px;
    font-size: 15px;
}

/* Opening and closing, for every collapsible group: these accordions, the home page's "made easy" list, the
   listing's filter groups and the mobile menu's groups. The item is a two-row grid whose second row, the
   content, grows from 0fr to 1fr while it fades in. The row is ::details-content, the box around everything
   after <summary>; a browser without it opens and closes at once, as before. */
@media (prefers-reduced-motion: no-preference) {
    :is(.shop-accordion__item, .shop-easy__item, .shop-widget, .shop-drawer__group) {
        transition: grid-template-rows .3s ease, background-color .3s ease, box-shadow .3s ease;
    }

    :is(.shop-accordion__item, .shop-easy__item, .shop-drawer__group) > summary {
        transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, color .2s ease, padding .3s ease;
    }

    :is(.shop-accordion__item, .shop-drawer__group) .shop-chevron {
        transition: rotate .3s ease;
    }

    .shop-accordion--lines .shop-accordion__item summary::after {
        transition: background-size .3s ease;
    }

    .shop-widget__title .shop-icon {
        transition: opacity .3s ease;
    }

    @supports selector(::details-content) {
        /* align-content: a filter group is stretched to its row's height, and its title must stay at the top */
        :is(.shop-accordion__item, .shop-easy__item, .shop-widget, .shop-drawer__group) {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            grid-template-rows: auto 0fr;
            align-content: start;
        }

        :is(.shop-accordion__item, .shop-easy__item, .shop-widget, .shop-drawer__group)[open] {
            grid-template-rows: auto 1fr;
        }

        /* content-visibility keeps closing content drawn until its row has shut. The padding, taken back by
           the margin, leaves the clipping room for the focus ring of a field or link at the edge. */
        :is(.shop-accordion__item, .shop-easy__item, .shop-widget, .shop-drawer__group)::details-content {
            min-block-size: 0;
            margin: 0 -6px -6px;
            padding: 0 6px 6px;
            overflow: clip;
            opacity: 0;
            transition: opacity .3s ease, content-visibility .3s allow-discrete;
        }

        :is(.shop-accordion__item, .shop-easy__item, .shop-widget, .shop-drawer__group)[open]::details-content {
            opacity: 1;
        }
    }
}

@media (min-width: 992px) {
    .shop-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-services .shop-accordion {
        width: 100%;
        max-width: 548px;
        margin-left: auto;
    }
}

/* ---------- About: team (carousel) ---------- */

.shop-team {
    padding-block: 35px 86px;
    text-align: center;
}

.shop-team__track {
    grid-auto-columns: 78%;
    margin-top: 65px;
}

.shop-member__photo {
    height: auto;
    aspect-ratio: 1;
}

.shop-member__name {
    margin-top: 20px;
    color: var(--shop-ink);
    font-size: 22px;
    line-height: 1.4;
}

.shop-member__role {
    margin-top: 5px;
}

.shop-team .shop-dots {
    margin-top: 23px;
}

.shop-team .btn {
    margin-top: 75px;
}

@media (min-width: 576px) {
    .shop-team__track {
        grid-auto-columns: calc((100% - 30px) / 2);
    }
}

@media (min-width: 992px) {
    .shop-team__track {
        grid-auto-columns: calc((100% - 60px) / 3);
    }
}

@media (min-width: 1200px) {
    .shop-team__track {
        grid-auto-columns: calc((100% - 90px) / 4);
    }
}

/* ---------- About: companies and figures ---------- */

.shop-trust {
    background: var(--shop-surface-alt);
}

.shop-trust__stage {
    position: relative;
    padding-block: 80px;
    text-align: center;
}

.shop-trust__title {
    max-width: 478px;
    margin-inline: auto;
    line-height: 1.3;
}

.shop-trust__text {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.6;
}

.shop-trust .btn {
    margin-top: 38px;
}

.shop-trust__logos {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Round logo badges scattered around the heading; shown once there is room beside it */
.shop-trust__logo {
    position: absolute;
    display: none;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: 0 0 20px rgb(0 0 0 / 6%);
    color: #bdbdbd;
}

.shop-trust__logo .shop-icon {
    width: 34%;
    height: 34%;
    stroke-width: 1.5;
}

.shop-trust__logo:nth-child(1),
.shop-trust__logo:nth-child(4),
.shop-trust__logo:nth-child(7) {
    box-shadow: 0 24px 50px rgb(0 0 0 / 10%);
}

.shop-trust__logo:nth-child(1) {
    top: 204px;
    left: .9%;
    width: 169px;
}

.shop-trust__logo:nth-child(2) {
    top: 98px;
    left: 22.4%;
    width: 116px;
}

.shop-trust__logo:nth-child(3) {
    top: 398px;
    left: 19.3%;
    width: 126px;
}

.shop-trust__logo:nth-child(4) {
    top: 54px;
    left: 50%;
    width: 99px;
    translate: -50%;
}

.shop-trust__logo:nth-child(5) {
    top: 130px;
    right: 16.25%;
    width: 125px;
}

.shop-trust__logo:nth-child(6) {
    top: 249px;
    right: 0;
    width: 90px;
}

.shop-trust__logo:nth-child(7) {
    top: 389px;
    right: 11.2%;
    width: 140px;
}

.shop-figures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin: 0;
    padding-block: 50px 60px;
    border-top: 1px solid #e5e5e5;
}

.shop-figure dt {
    color: var(--shop-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.shop-figure dd {
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.8;
}

@media (min-width: 768px) {
    .shop-figures {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-trust__stage {
        padding-block: 212px 153px;
    }

    .shop-trust__logo {
        display: grid;
    }

    .shop-figures {
        margin-top: 15px;
        padding-block: 73px 72px;
    }
}

/* ---------- FAQ ---------- */

.shop-faq {
    padding-block: 70px 83px;
}

.shop-faq__title {
    line-height: 1.15;
}

.shop-faq__sub {
    font-size: 18px;
    line-height: 1.6;
}

.shop-faq__list {
    max-width: 935px;
    margin: 54px auto 0;
}

/* Small upper-case label with an icon */
.shop-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 27px;
    color: var(--shop-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shop-label .shop-icon {
    width: 24px;
    height: 24px;
    color: var(--shop-primary);
}

.shop-head .shop-label {
    justify-content: center;
}

.shop-faq--support {
    padding-block: 60px 83px;
    background: var(--shop-surface-alt);
}

.shop-faq__grid {
    display: grid;
    align-items: start;
    gap: 40px 73px;
}

.shop-faq__intro .shop-title {
    margin-top: 20px;
    line-height: 1.3;
}

.shop-faq__text {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-faq__intro .shop-label {
    margin-top: 34px;
}

.shop-faq__mail {
    display: inline-block;
    margin-top: 20px;
    color: var(--shop-ink);
    font-size: clamp(19px, 5.4vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.shop-faq__mail:hover {
    color: var(--shop-primary);
}

.shop-faq--more {
    padding-block: 87px 84px;
}

.shop-faq--more .shop-title {
    margin-top: 30px;
}

.shop-faq__columns {
    display: grid;
    align-items: start;
    gap: 30px;
    margin-top: 54px;
}

@media (min-width: 992px) {
    .shop-faq--support {
        padding-top: 86px;
    }

    .shop-faq__grid {
        grid-template-columns: minmax(0, 448fr) minmax(0, 814fr);
    }

    .shop-faq__intro {
        padding-top: 20px;
    }

    .shop-faq__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Service page: intro (photo left, copy right) ---------- */

.shop-service {
    padding-block: 60px;
}

.shop-service__grid {
    display: grid;
    align-items: start;
    gap: 40px 30px;
}

.shop-service__photo {
    height: auto;
    aspect-ratio: 653 / 492;
}

.shop-service__title {
    max-width: 499px;
    margin-top: 25px;
    line-height: 1.3;
}

.shop-service__lead {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-service .shop-ticks {
    margin-top: 38px;
}

@media (min-width: 992px) {
    .shop-service {
        padding-block: 85px 100px;
    }

    .shop-service__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-service__copy {
        padding: 20px 0 0 clamp(0px, 6.8vw, 97px);
    }
}

/* ---------- Service page: three highlights ---------- */

.shop-perks {
    padding-block: 15px 96px;
}

.shop-perks__grid {
    display: grid;
    gap: 30px;
}

.shop-perk {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding-right: 34px;
}

.shop-perk > .shop-icon {
    width: 48px;
    height: 48px;
    color: var(--shop-primary);
    stroke-width: 1.25;
}

.shop-perk__title {
    color: var(--shop-ink);
    font-size: 20px;
    line-height: 1.4;
}

.shop-perk p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
}

@media (min-width: 992px) {
    .shop-perks__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- Service page: features and photo mosaic ---------- */

.shop-kit {
    padding-block: 15px 58px;
}

.shop-kit__grid {
    display: grid;
    align-items: start;
    gap: 50px 30px;
}

.shop-kit__copy {
    padding-top: 20px;
}

.shop-kit__title {
    margin-top: 25px;
    line-height: 1.3;
}

.shop-kit__lead {
    max-width: 555px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-minis {
    display: grid;
    gap: 38px 0;
    max-width: 554px;
    margin-top: 37px;
}

.shop-mini {
    padding-right: 22px;
}

.shop-mini__title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--shop-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.shop-mini__title .shop-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;
    background: var(--shop-pink-tint);
    color: var(--shop-primary);
}

.shop-mini:nth-child(4n + 2) .shop-icon {
    background: var(--shop-purple-tint);
    color: var(--shop-purple);
}

.shop-mini:nth-child(4n + 3) .shop-icon {
    background: var(--shop-yellow-tint);
    color: var(--shop-orange);
}

.shop-mini:nth-child(4n + 4) .shop-icon {
    background: var(--shop-blue-tint);
    color: var(--shop-blue);
}

.shop-mini p {
    padding-top: 10px;
}

/* Two columns of square photos, the second one set lower */
.shop-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 15px;
}

.shop-mosaic > div {
    display: grid;
    gap: 15px;
}

.shop-mosaic > div + div {
    margin-top: 25px;
}

.shop-mosaic .shop-img {
    height: auto;
    aspect-ratio: 1;
}

@media (min-width: 576px) {
    .shop-minis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-mosaic,
    .shop-mosaic > div {
        gap: 30px;
    }

    .shop-mosaic > div + div {
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    .shop-kit__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Service page: numbered steps ---------- */

.shop-steps {
    padding-block: 35px 72px;
}

.shop-steps .shop-title {
    margin-top: 30px;
    line-height: 1.15;
}

.shop-steps__list {
    display: grid;
    gap: 40px 0;
    margin: 60px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.shop-step {
    position: relative;
    padding-inline: 25px;
}

.shop-step__num {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-inline: auto;
    border-radius: 50%;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
    color: var(--shop-primary);
    font-size: 22px;
    font-weight: 700;
}

.shop-step--current .shop-step__num {
    background: var(--shop-primary);
    color: #fff;
}

.shop-step__title {
    margin-top: 25px;
    color: var(--shop-ink);
    font-size: 20px;
    line-height: 1.4;
}

.shop-step p {
    margin-top: 10px;
    padding-bottom: 5px;
}

.shop-step__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: var(--shop-primary);
    font-weight: 700;
    text-decoration: none;
}

.shop-step__link:hover {
    color: var(--shop-primary-dark);
}

@media (min-width: 992px) {
    .shop-steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 83px;
    }

    /* Dashed arc from one number to the next: up after the first step, down after the second */
    .shop-step + .shop-step::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5px;
        width: 188px;
        height: 29px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='188' height='29' fill='none'%3E%3Cpath d='M1 28Q94 -26 187 28' stroke='%234d2287' stroke-opacity='.4' stroke-width='2' stroke-linecap='round' stroke-dasharray='5 5'/%3E%3C/svg%3E") no-repeat;
        translate: -50% 0;
    }

    .shop-step + .shop-step + .shop-step::before {
        top: 30px;
        scale: 1 -1;
    }
}

/* ---------- Service page: reviews (heading left, cards right) ---------- */

.shop-voices {
    padding-block: 60px 44px;
}

/* minmax(0, …) keeps the column from growing to the width of the scrolling cards */
.shop-voices__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.shop-voices__title {
    margin-top: 25px;
    line-height: 1.3;
}

/* Keeps the highlighted word on a line of its own */
.shop-voices__title .shop-mark {
    display: table;
}

.shop-voices__text {
    max-width: 313px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-voices .btn {
    margin-top: 37px;
}

.shop-voices__track {
    grid-auto-columns: 100%;
    margin: -10px;
    padding: 10px;
    scroll-padding-inline: 10px;
}

.shop-review {
    margin: 0;
    padding: 40px;
    border-radius: 10px;
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
}

.shop-review .shop-stars {
    align-items: center;
    min-height: 36px;
}

.shop-review__title {
    margin-top: 10px;
    color: var(--shop-ink);
    font-size: 22px;
    line-height: 1.4;
}

.shop-review blockquote {
    margin: 20px 0 0;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.8;
}

.shop-review figcaption {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.shop-review__name {
    display: block;
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-review__place {
    display: block;
    margin-top: 4px;
    padding-left: 5px;
}

.shop-voices .shop-dots {
    margin-top: 25px;
}

@media (min-width: 768px) {
    .shop-voices__track {
        grid-auto-columns: calc((100% - 30px) / 2);
    }
}

@media (min-width: 992px) {
    .shop-voices {
        padding-top: 93px;
    }

    .shop-voices__grid {
        grid-template-columns: minmax(0, 448fr) minmax(0, 858fr);
    }

    .shop-voices__intro {
        padding-top: 11px;
    }
}

/* ---------- Print page: prices for the common sizes (template: Pricing Plans, plan cards) ---------- */

.shop-prices {
    padding-block: 60px 70px;
    background: var(--shop-purple-tint);
}

.shop-prices .shop-title {
    line-height: 1.3;
}

.shop-prices__grid {
    display: grid;
    align-items: center;
    gap: 30px;
    max-width: 395px;
    margin: 40px auto 0;
}

.shop-plan {
    position: relative;
    padding: 30px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
}

.shop-plan--featured {
    box-shadow: var(--shop-shadow-float);
}

.shop-plan__flag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 1px 15px;
    border-radius: 5px;
    background: var(--shop-purple);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 25px;
}

.shop-plan__top {
    padding: 25px;
    border-bottom: 1px solid var(--shop-line);
    text-align: center;
}

.shop-plan__name {
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
}

.shop-plan__price {
    margin-block: 15px;
    color: var(--shop-ink);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-plan__unit {
    margin-left: 6px;
    color: var(--shop-text);
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* Ticked list, shared by the plan cards and the custom-size card */
.shop-plan__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 35px 0;
    color: var(--shop-ink);
    line-height: 27px;
    list-style: none;
}

.shop-plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.shop-plan__list .shop-icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    padding: 6px;
    border-radius: 50%;
    background: var(--shop-pink-tint);
    color: var(--shop-primary);
    stroke-width: 3.5;
}

.shop .shop-plan__btn {
    width: 100%;
}

@media (min-width: 992px) {
    .shop-prices {
        padding-block: 73px 100px;
        background: radial-gradient(circle 405px at 50% 544px, rgb(255 255 255 / 45%) calc(100% - 1px), transparent) var(--shop-purple-tint);
    }

    .shop-prices__grid {
        grid-template-columns: repeat(3, minmax(0, 395px));
        justify-content: space-between;
        max-width: none;
        margin-top: 54px;
    }

    /* The middle card stands taller than its neighbours */
    .shop-plan--featured {
        padding-block: 69px;
    }
}

/* ---------- Print page: any other size (template: Pricing Plans, price calculator) ---------- */

.shop-sizer {
    padding-block: 60px 70px;
}

.shop-sizer__grid {
    display: grid;
    align-items: start;
    gap: 40px 30px;
}

.shop-sizer__title {
    max-width: 413px;
    margin-top: 19px;
    line-height: 1.3;
}

.shop-sizer__text {
    max-width: 366px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.shop-sizer__link {
    min-height: 48px;
    margin-top: 14px;
    font-size: 16px;
}

/* Two tinted discs behind the card, once the card stands beside the copy (stacked, they would cover it) */
.shop-sizer__stage {
    position: relative;
}

.shop-sizer__stage::before,
.shop-sizer__stage::after {
    position: absolute;
    border-radius: 50%;
}

.shop-sizer__stage::before {
    top: -116px;
    right: -74px;
    width: 430px;
    height: 430px;
    background: linear-gradient(200deg, var(--shop-pink-tint), var(--shop-purple-tint));
}

.shop-sizer__stage::after {
    bottom: -38px;
    left: -56px;
    width: 160px;
    height: 160px;
    background: linear-gradient(20deg, var(--shop-yellow-tint), var(--shop-pink-tint));
}

.shop-sizer__card {
    position: relative;
    z-index: 1;
    display: grid;
    border-radius: 20px;
    background: var(--shop-surface);
    box-shadow: 10px 20px 64px rgb(0 0 0 / 12%);
}

.shop-sizer__main {
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
}

.shop-sizer__heading {
    color: var(--shop-ink);
    font-size: 24px;
    line-height: 1.4;
}

.shop-sizer__list {
    padding-block: 24px 30px;
}

.shop-sizer__main .btn {
    margin-top: auto;
    white-space: normal;
}

.shop-sizer__side {
    padding: 30px 25px 34px;
    border-top: 1px solid var(--shop-line);
}

.shop-sizer__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.shop-sizer__group + .shop-sizer__group {
    margin-top: 35px;
}

.shop-sizer__group legend {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--shop-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-sizer__group p {
    margin-top: 5px;
    line-height: 27px;
}

/* Grey tray with white cells: two numbers, or a pair of choices */
.shop-sizer__pair,
.shop-sizer__toggle {
    display: grid;
    align-items: center;
    margin-top: 25px;
    padding: 5px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
    color: var(--shop-text);
    font-weight: 700;
    line-height: 27px;
    text-align: center;
}

.shop-sizer__pair {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
}

.shop-sizer__toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-sizer__pair input {
    display: block;
    width: 100%;
    height: 39px;
    padding: 0 6px;
    border: 1px solid var(--shop-surface);
    border-radius: 8px;
    background: var(--shop-surface);
    color: var(--shop-ink);
    font: inherit;
    text-align: center;
    appearance: textfield;
}

.shop-sizer__pair input::-webkit-inner-spin-button {
    appearance: none;
}

.shop-sizer__pair input:focus {
    border-color: var(--shop-primary);
    outline: 0;
}

.shop-sizer__toggle label {
    cursor: pointer;
}

.shop-sizer__toggle span {
    display: block;
    padding: 6px 8px;
    border-radius: 8px;
}

.shop-sizer__toggle input:checked + span {
    background: var(--shop-surface);
    color: var(--shop-ink);
}

.shop-sizer__toggle input:focus-visible + span {
    outline: 3px solid rgb(0 131 203 / 55%);
    outline-offset: 2px;
}

.shop-sizer__area {
    margin-top: 34px;
    color: var(--shop-ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
}

.shop-sizer__area span {
    margin-left: 8px;
    color: var(--shop-text);
    font-size: 20px;
    font-weight: 500;
}

/* The estimated price, shown only when the chosen finish has a rate. Not in the prototype. */
.shop-sizer__estimate {
    margin-top: 6px;
    color: var(--shop-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.shop-sizer__estimate span {
    margin-left: 8px;
    color: var(--shop-text);
    font-size: 15px;
    font-weight: 500;
}

@media (min-width: 576px) {
    .shop-sizer__card {
        grid-template-columns: minmax(0, 433fr) minmax(0, 356fr);
    }

    .shop-sizer__main {
        padding: 30px 30px 36px;
    }

    .shop-sizer__side {
        padding: 30px 30px 34px;
        border-top: 0;
        border-left: 1px solid var(--shop-line);
    }
}

@media (min-width: 1200px) {
    .shop-sizer {
        padding-block: 87px 128px;
    }

    .shop-sizer__grid {
        grid-template-columns: minmax(0, 516fr) minmax(0, 789fr);
    }

    .shop-sizer__copy {
        padding-top: 20px;
    }

    .shop-sizer__stage::before,
    .shop-sizer__stage::after {
        content: "";
    }
}

@media (min-width: 1400px) {
    .shop-sizer__main {
        padding: 45px 45px 36px;
    }

    .shop-sizer__side {
        padding: 45px 45px 49px;
    }
}

/* ---------- Text page (terms, privacy notice, artwork guide) ---------- */

.shop-text {
    padding-block: 70px 80px;
}

/* Rich text as an editor produces it: plain elements, no classes */
.shop-prose {
    max-width: 989px;
    margin-inline: auto;
}

.shop-prose :where(p, ul, ol, table, blockquote) {
    margin: 0 0 10px;
}

/* Text saved from the admin's editor has a paragraph inside each list item and table cell. */
.shop-prose :where(li, th, td) > p {
    margin: 0;
}

.shop-prose :where(h2, h3, h4) {
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-prose h2 {
    margin: 40px 0 15px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.3;
}

.shop-prose h3 {
    margin: 30px 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.shop-prose h4 {
    margin: 25px 0 10px;
    font-size: 17px;
    line-height: 1.4;
}

.shop-prose :where(ul, ol) {
    padding-left: 22px;
}

.shop-prose li + li {
    margin-top: 5px;
}

.shop-prose li::marker {
    color: var(--shop-primary);
}

.shop-prose strong {
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-prose a:not(.btn) {
    color: var(--shop-blue-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.shop-prose a:not(.btn):hover {
    color: var(--shop-primary);
}

/* Row of buttons inside the text (the guide's download) */
.shop-prose__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-block: 25px 30px;
}

.shop-prose > .shop-prose__actions:last-child {
    margin-block: 40px 0;
}

.shop-prose blockquote {
    margin-block: 20px;
    padding-left: 18px;
    border-left: 4px solid var(--shop-purple);
    font-size: 18px;
    line-height: 1.8;
}

.shop-prose blockquote > :last-child {
    margin-bottom: 0;
}

.shop-prose table {
    width: 100%;
    margin-block: 20px;
    border-collapse: collapse;
    line-height: 1.6;
}

.shop-prose :where(th, td) {
    padding: 12px 15px;
    border: 1px solid var(--shop-line);
    text-align: left;
    vertical-align: top;
}

.shop-prose th {
    color: var(--shop-ink);
    font-weight: 700;
}

.shop-prose thead th {
    background: var(--shop-surface-alt);
}

.shop-prose__meta {
    color: var(--shop-muted);
    font-size: 14px;
}

/* A text that opens with a heading (the Impresszum) starts at the top */
.shop-prose > h2:first-child {
    margin-top: 0;
}

/* Label and value rows: the Impresszum's details */
.shop-prose__facts th {
    width: 32%;
}

/* Narrow screens: a wide table scrolls on its own instead of widening the page */
@media (max-width: 767.98px) {
    .shop-prose table {
        display: block;
        overflow-x: auto;
    }

    .shop-prose :where(th, td) {
        min-width: 140px;
    }
}

/* ---------- 404 ---------- */

.shop-notfound {
    padding-block: 50px 90px;
    text-align: center;
}

.shop-notfound__code {
    color: var(--shop-primary);
    font-size: clamp(120px, 34vw, 230px);
    font-weight: 700;
    line-height: 1;
}

.shop-notfound__title {
    margin-top: 30px;
    color: var(--shop-ink);
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 500;
    line-height: 1.8;
}

.shop-notfound__text {
    margin-top: 10px;
}

.shop-notfound .btn {
    margin-top: 40px;
}

/* ---------- Home: social links · Shell: footer ---------- */

.shop-social__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-social__list li {
    flex: 1;
}

.shop-social__link {
    display: block;
    padding: 25px 10px;
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 31px;
    text-align: center;
    text-decoration: none;
}

.shop-social__link:hover {
    color: var(--shop-primary);
}

.shop-footer {
    position: relative;
    padding-top: 68px;
    background: var(--shop-surface-alt);
}

.shop-footer__grid {
    display: grid;
    gap: 40px 30px;
}

.shop-footer .shop-brand img {
    height: 40px;
}

.shop-footer__contact {
    display: grid;
    gap: 12px;
    margin: 15px 0 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
    list-style: none;
}

.shop-footer__contact a {
    color: var(--shop-text);
    text-decoration: none;
}

.shop-footer__contact .shop-footer__phone {
    color: var(--shop-ink);
    font-size: 17px;
    font-weight: 700;
}

.shop-footer__address {
    max-width: 226px;
}

.shop-footer__title {
    padding-top: 10px;
    color: var(--shop-ink);
    font-size: 18px;
    line-height: 1.4;
}

.shop-footer__list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.shop-footer__list a {
    color: var(--shop-text);
    text-decoration: none;
}

.shop-footer__contact a:hover,
.shop-footer__list a:hover {
    color: var(--shop-primary);
}

.shop-footer__bottom {
    padding-block: 60px 58px;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.shop-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #bdbdbd;
    color: #fff;
}

.shop-top:hover {
    background: var(--shop-purple);
    color: #fff;
}

/* Keeps the back-to-top button clear of the copyright line on narrow screens */
@media (max-width: 575.98px) {
    .shop-footer__bottom {
        padding-bottom: 85px;
    }

    .shop-top {
        right: 15px;
        bottom: 20px;
    }
}

@media (min-width: 576px) {
    .shop-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .shop-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------------------------------------------------------
   Codenza: not in the prototype. The settings an editor can put on any block, and the note on a draft preview.
   --------------------------------------------------------------------------------------------------------- */

/* Background and spacing chosen for a block override the block's own. */
.shop-block--white {
    background: var(--shop-surface) !important;
}

.shop-block--grey {
    background: var(--shop-surface-alt) !important;
}

.shop-block--space-compact {
    padding-block: clamp(24px, 4vw, 40px) !important;
}

.shop-block--space-none {
    padding-block: 0 !important;
}

/* Shown to an editor looking at a draft, so it is never mistaken for the live page. */
.shop-preview-note {
    position: fixed;
    z-index: 2000;
    bottom: 20px;
    left: 20px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--shop-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shop-shadow-float);
    pointer-events: none;
}

/* A client's real logo, where the prototype only has an icon and a name. */
.shop-logos__item img {
    width: auto;
    max-width: 160px;
    max-height: 48px;
}

.shop-trust__logo img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* ===== Generic blocks of a content page =====
   Plain building pieces that are not one of the prototype's design sections. They borrow its parts:
   the reading column, the accordion, the document list, the zoom dialog and the photo corners. */

.shop-blk {
    padding-block: 35px;
}

/* The first and the last block of a page keep a little more air from what is around them. */
.shop-main > .shop-blk:first-child,
.shop-crumbbar + .shop-blk,
.shop-pagehead + .shop-blk {
    padding-top: 60px;
}

.shop-main > .shop-blk:last-child {
    padding-bottom: 80px;
}

.shop-blk .shop-head {
    margin-bottom: 40px;
}

/* Rich text: as wide as the page's content instead of the reading column */
.shop-prose--wide {
    max-width: none;
}

/* A picture in the text keeps its shape; a tall one is held back so it does not fill the screen. */
.shop-prose img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 560px;
    margin-block: 25px;
    border-radius: var(--shop-radius);
}

.shop-prose > :last-child {
    margin-bottom: 0;
}

/* Image */
.shop-picture {
    margin: 0;
}

.shop-picture img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--shop-radius);
    background: var(--shop-surface-alt);
}

.shop-picture--column > .shop-container > :where(a, img, figcaption) {
    max-width: 989px;
    margin-inline: auto;
}

.shop-picture--column a {
    display: block;
}

.shop-picture--full img {
    border-radius: 0;
}

.shop-picture__caption {
    margin-top: 12px;
    color: var(--shop-muted);
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.shop-picture--full .shop-picture__caption {
    padding-inline: var(--shop-gutter);
}

/* Image with text */
.shop-split__grid {
    display: grid;
    align-items: center;
    gap: 40px 60px;
}

.shop-split__photo {
    height: auto;
    aspect-ratio: 653 / 492;
}

.shop-split__copy > * + * {
    margin-top: 24px;
}

.shop-split__copy .shop-prose {
    max-width: none;
    font-size: 17px;
    line-height: 1.8;
}

@media (min-width: 992px) {
    .shop-split__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-split--flip .shop-split__photo {
        order: 1;
    }
}

/* Two-column text */
.shop-columns {
    display: grid;
    gap: 30px 60px;
}

.shop-columns .shop-prose {
    max-width: none;
    margin: 0;
}

@media (min-width: 768px) {
    .shop-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-columns--one-two {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }
}

/* Cards, and the cards of the pages below a page */
.shop-tiles__grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 576px) {
    .shop-tiles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .shop-tiles__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-tiles__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.shop-tile {
    position: relative;
    padding: 20px 20px 26px;
    border-radius: var(--shop-radius);
    background: var(--shop-surface);
    box-shadow: var(--shop-shadow-card);
    transition: translate .25s, box-shadow .25s;
}

.shop-tile:has(a):hover {
    translate: 0 -4px;
    box-shadow: var(--shop-shadow-float);
}

.shop-tile__photo {
    height: auto;
    margin-bottom: 20px;
    aspect-ratio: 4 / 3;
}

.shop-tile__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--shop-pink-tint);
    color: var(--shop-primary);
}

.shop-tile__icon .shop-icon {
    width: 28px;
    height: 28px;
}

.shop-tile__title {
    color: var(--shop-ink);
    font-size: 20px;
    line-height: 1.35;
}

.shop-tile__title a {
    color: inherit;
    text-decoration: none;
}

/* The whole card answers to the click on its title. */
.shop-tile__title a::after {
    position: absolute;
    inset: 0;
    border-radius: var(--shop-radius);
    content: "";
}

.shop-tile:hover .shop-tile__title a {
    color: var(--shop-primary);
}

.shop-tile p {
    margin: 10px 0 0;
    line-height: 1.7;
}

/* Gallery */
.shop-photos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .shop-photos__grid {
        gap: 30px;
    }

    .shop-photos__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-photos__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.shop-photos__item {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--shop-radius);
    background: none;
    aspect-ratio: 1;
    cursor: zoom-in;
}

.shop-photos__item img {
    transition: scale .4s;
}

.shop-photos__item:hover img {
    scale: 1.05;
}

.shop-zoom__figure {
    margin: 0;
}

.shop-zoom__figure figcaption {
    margin-top: 10px;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

.shop-zoom__figure figcaption:empty {
    display: none;
}

/* Buttons */
.shop-actions__row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 989px;
    margin-inline: auto;
}

.shop-actions--center .shop-actions__row {
    justify-content: center;
}

/* Downloads: the file's type and size at the end of its row */
.shop-docs__meta {
    margin-left: auto;
    color: var(--shop-muted);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

/* Accordion: under a heading it needs less room than on the FAQ page; without one, none. */
.shop-blk .shop-faq__list {
    margin-top: 0;
}

/* Highlight box */
.shop-callout {
    max-width: 989px;
    margin-inline: auto;
    padding: 28px 32px;
    border-left: 4px solid var(--shop-blue);
    border-radius: var(--shop-radius);
    background: var(--shop-blue-tint);
    color: var(--shop-ink);
}

.shop-callout--warning {
    border-left-color: var(--shop-yellow);
    background: var(--shop-yellow-tint);
}

.shop-callout__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.shop-callout p {
    margin: 0;
    line-height: 1.8;
}

.shop-callout p + p {
    margin-top: 10px;
}

/* Divider */
.shop-divider {
    padding-block: 15px;
}

.shop-divider hr {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--shop-line);
    opacity: 1;
}

/* Video */
.shop-video {
    margin: 0;
}

.shop-video__player {
    display: block;
    width: 100%;
    max-width: 989px;
    margin-inline: auto;
    border-radius: var(--shop-radius);
    background: #000;
    aspect-ratio: 16 / 9;
}

/* ----- Catalogue (Phase 5): what the live listing and product page add to the prototype ----- */

/* The category's introduction above the toolbar */
.shop-catalog__intro {
    max-width: 760px;
    margin: 0 0 30px;
    color: var(--shop-text);
}

/* No product matches the filters */
.shop-catalog__empty {
    margin: 0;
    padding: 60px 0;
    color: var(--shop-text);
    text-align: center;
}

.shop-catalog__empty a {
    margin-left: 8px;
    color: var(--shop-primary);
}

/* The estimated price under the quantity */
.shop-estimate {
    margin: 14px 0 0;
    color: var(--shop-ink);
    font-size: 16px;
}

.shop-estimate span {
    margin-left: 6px;
    color: var(--shop-text);
    font-size: 14px;
}

/* The shop's note under the quantity prices */
.shop-tiers__note {
    margin: 10px 0 0;
    color: var(--shop-text);
    font-size: 13px;
}

/* Category cards block: the menu's cards on a page */
.shop-catcards {
    padding-block: 60px;
}

.shop-catcards__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .shop-catcards__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .shop-catcards__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 30px;
    }
}
