/* ==========================================================================
   New homepage (layout `home_preview`, templates/Pages/home_preview.php).
   Loaded after seaside.css. Two colour schemes on `body[data-theme]`:
   `licht` (default): teal header/hero/footer, off-white content, white cards.
   `donker`: the same page on the dark teal of the current site.
   Everything is prefixed `hp-` so it never collides with the current pages.
   ========================================================================== */

.hp {
    --hp-bg: var(--color-white);
    --hp-surface: #ffffff;
    --hp-text: var(--color-black);
    --hp-text-soft: #3f5a5c;
    --hp-muted: #6b8386;
    --hp-heading: var(--color-dark);
    --hp-border: rgba(12, 46, 49, 0.12);
    --hp-shadow: 0 10px 30px rgba(12, 46, 49, 0.08);
    --hp-link: var(--color-accent);
    --hp-panel: #ffffff;
    --hp-input-bg: #ffffff;
    --hp-input-border: rgba(12, 46, 49, 0.2);
    --hp-tile-overlay: rgba(12, 46, 49, 0.55);
    --hp-radius: 6px;

    background: var(--hp-bg);
    color: var(--hp-text);
}

.hp[data-theme="donker"] {
    --hp-bg: var(--color-black);
    --hp-surface: #ffffff;
    --hp-text: var(--color-white);
    --hp-text-soft: #c9d9da;
    --hp-muted: var(--color-muted);
    --hp-heading: var(--color-gold-lt);
    --hp-border: rgba(201, 168, 76, 0.22);
    --hp-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    --hp-link: var(--color-gold-lt);
    --hp-panel: var(--color-dark);
    --hp-input-bg: rgba(6, 35, 37, 0.85);
    --hp-input-border: rgba(201, 168, 76, 0.3);
    --hp-tile-overlay: rgba(6, 25, 27, 0.6);
}

.hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .hp-container {
        padding: 0 24px;
    }
}

.hp a {
    color: var(--hp-link);
}

.hp-kicker {
    margin: 0 0 10px;
    color: var(--color-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp[data-theme="licht"] .hp-section .hp-kicker {
    color: #8a6d1f;
}

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

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--hp-radius);
    border: 2px solid var(--color-gold);
    background: var(--color-gold);
    color: var(--color-black) !important;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.hp-btn:hover {
    background: var(--color-gold-lt);
    border-color: var(--color-gold-lt);
    transform: translateY(-1px);
}

.hp-btn--outline {
    background: transparent;
    color: var(--color-gold) !important;
}

.hp-btn--outline:hover {
    background: rgba(201, 168, 76, 0.12);
    color: var(--color-gold-lt) !important;
}

.hp-btn--block {
    width: 100%;
}

/* --- USP bar ------------------------------------------------------------ */

.hp-usp-bar {
    background: var(--color-black);
    color: var(--color-muted);
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.hp-usp-bar__list {
    list-style: none;
    margin: 0 auto;
    padding: 7px 16px;
    max-width: 1200px;
    display: flex;
    gap: 8px 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-usp-bar__list li {
    white-space: nowrap;
}

.hp-usp-bar__list i {
    color: var(--color-gold);
    margin-right: 4px;
}

/* Phones: one line high. The list is a scroll-snap track with one USP per "slide"; swiping works
   without JS, home-preview.js turns it slowly. */
@media (max-width: 640px) {
    .hp-usp-bar__list {
        flex-wrap: nowrap;
        /* Centred overflow spills out on both sides and cannot be scrolled to. */
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hp-usp-bar__list::-webkit-scrollbar {
        display: none;
    }

    .hp-usp-bar__list li {
        flex: 0 0 100%;
        box-sizing: border-box;
        padding: 7px 16px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        scroll-snap-align: start;
    }
}

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

.hp-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--color-dark);
    color: var(--color-white);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.hp-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px 20px;
}

.hp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white) !important;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.hp-logo__img {
    height: 44px;
    width: auto;
}

.hp-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

.hp-search__icon {
    position: absolute;
    left: 14px;
    color: var(--color-muted);
    pointer-events: none;
}

.hp-search__input {
    width: 100%;
    padding: 11px 92px 11px 40px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font: inherit;
    font-size: 0.92rem;
}

.hp-search__input::placeholder {
    color: rgba(245, 245, 240, 0.55);
}

.hp-search__input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.12);
}

.hp-search__btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-black);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.hp-search__btn:hover {
    background: var(--color-gold-lt);
}

.hp-header__tools {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 6px;
}

.hp-tool {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 48px;
    padding: 6px 8px;
    border-radius: var(--hp-radius);
    color: var(--color-white) !important;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background var(--transition);
}

.hp-tool:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hp-tool__label {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hp-tool__badge {
    position: absolute;
    top: 0;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.hp-menu-toggle {
    display: none;
    padding: 8px 10px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--hp-radius);
    background: transparent;
    color: var(--color-white);
    font-size: 1.1rem;
    cursor: pointer;
}

.hp-nav {
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    background: var(--color-black);
}

.hp-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hp-nav__inner::-webkit-scrollbar {
    display: none;
}

.hp-nav__link {
    display: inline-block;
    padding: 11px 12px;
    border-bottom: 2px solid transparent;
    color: var(--color-white) !important;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
}

.hp-nav__link:hover,
.hp-nav__link.is-active {
    color: var(--color-gold-lt) !important;
    border-bottom-color: var(--color-gold);
}

.hp-nav__link--end {
    margin-left: auto;
}

@media (max-width: 900px) {
    .hp-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .hp-logo__name {
        display: none;
    }

    .hp-tool__label {
        display: none;
    }

    .hp-menu-toggle {
        display: inline-block;
    }

    .hp-nav {
        display: none;
    }

    .hp-nav.is-open {
        display: block;
    }

    .hp-nav__inner {
        flex-direction: column;
        gap: 0;
        padding: 6px 16px 10px;
    }

    .hp-nav__link {
        padding: 10px 4px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    }

    .hp-nav__link--end {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    /* Logo left, icons right; the search drops to its own row below them. */
    .hp-header__inner {
        grid-template-columns: auto 1fr;
        gap: 10px;
    }

    .hp-search {
        grid-column: 1 / -1;
        order: 3;
    }

    .hp-search__btn {
        padding: 0 12px;
    }

    .hp-search__input {
        padding-right: 86px;
    }
}

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

.hp-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(22, 118, 123, 0.55), transparent 55%),
        linear-gradient(160deg, var(--color-dark) 0%, var(--color-black) 100%);
    color: var(--color-white);
    padding: 40px 0 44px;
}

.hp-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 380px);
    align-items: center;
    gap: 32px 56px;
}

.hp-hero__title {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.6vw, 3.3rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--color-white);
}

.hp-hero__intro {
    max-width: 30em;
    margin: 0 0 24px;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.hp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Phones: the two buttons do not fit side by side, so each takes the full width. */
@media (max-width: 640px) {
    .hp-hero__actions .hp-btn {
        flex: 1 1 100%;
    }
}

.hp-hero__card {
    justify-self: end;
    width: 100%;
}

.hp-featured {
    padding: 14px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--color-black);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hp-featured__cover {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--hp-radius);
    background: #f0f0f0;
    margin-bottom: 12px;
}

.hp-featured__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-featured__kicker {
    margin-bottom: 4px;
    color: #8a6d1f;
}

.hp-featured__artist {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.85rem;
}

.hp-featured__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 2px 0 12px;
}

.hp-featured__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
}

.hp-featured__price {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.hp-featured__form {
    margin: 0;
}

@media (max-width: 860px) {
    .hp-hero {
        padding: 28px 0 32px;
    }

    /* minmax(0, …): a plain 1fr grows to the min-content of the carousel track, which is the
       width of all its slides side by side. */
    .hp-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-hero__card {
        justify-self: stretch;
        min-width: 0;
        max-width: 420px;
    }
}

/* --- Sections ----------------------------------------------------------- */

.hp-section {
    padding: 40px 0 8px;
}

.hp-section--tight {
    padding-top: 24px;
}

.hp-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.hp-section__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-section__more {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-decoration: none;
}

.hp-section__more:hover,
.hp-link-arrow:hover {
    text-decoration: underline;
}

.hp-link-arrow {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 2px;
}

/* --- Record cards ------------------------------------------------------- */

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

@media (min-width: 640px) {
    .hp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1000px) {
    .hp-grid--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.hp-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 8px;
    background: var(--hp-surface);
    color: var(--color-black);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(12, 46, 49, 0.16);
}

.hp-card__cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
}

.hp-card__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.hp-card:hover .hp-card__cover img {
    transform: scale(1.03);
}

.hp-card__no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b9c4c5;
    font-size: 3rem;
}

.hp-card__flag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 12px 12px;
}

.hp-card__artist {
    margin: 0;
    color: var(--hp-muted);
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp[data-theme="donker"] .hp-card__artist {
    color: #557578;
}

.hp-card__version {
    margin: -6px 0 10px;
    /* The card is white in both colour schemes. */
    color: #6b8386;
    font-size: 0.75rem;
    line-height: 1.3;
}

.hp-card__title {
    margin: 2px 0 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-card__title a {
    color: var(--color-black) !important;
    text-decoration: none;
}

.hp-card__title a:hover {
    color: var(--color-accent) !important;
}

.hp-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.hp-card__price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-black);
}

.hp-card__form {
    margin: 0;
}

.hp-card__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-black);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.hp-card__add:hover {
    background: var(--color-gold-lt);
    transform: scale(1.06);
}

/* --- Genre tiles -------------------------------------------------------- */

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

@media (min-width: 640px) {
    .hp-genres {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1000px) {
    .hp-genres {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.hp-genre {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-mid);
    text-decoration: none;
    box-shadow: var(--hp-shadow);
}

.hp-genre__covers {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.hp-genre__covers--0 {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0 18%, transparent 19%),
        var(--color-mid);
}

.hp-genre__covers--1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.hp-genre__covers--2 {
    grid-template-rows: 1fr;
}

.hp-genre__covers--3 img:first-child {
    grid-row: 1 / 3;
}

.hp-genre__covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.hp-genre:hover .hp-genre__covers img {
    transform: scale(1.04);
}

.hp-genre__label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    background: linear-gradient(180deg, transparent 35%, var(--hp-tile-overlay) 70%, rgba(6, 25, 27, 0.85) 100%);
    color: var(--color-white);
}

.hp-genre__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.hp-genre__count {
    font-size: 0.72rem;
    color: rgba(245, 245, 240, 0.75);
}

/* --- Store block -------------------------------------------------------- */

.hp-store {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    border-radius: 10px;
    overflow: hidden;
    background: var(--hp-panel);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
}

.hp-store__photo {
    position: relative;
    min-height: 280px;
}

.hp-store__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Portrait photo: keep the shop window and door in the crop. */
    object-position: center 60%;
}

.hp-store__text {
    padding: 32px 36px;
    color: var(--hp-text);
}

.hp-store__text p {
    margin: 0 0 14px;
    color: var(--hp-text-soft);
    line-height: 1.65;
}

.hp-store__title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--hp-heading);
}

.hp-store__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 0.85rem;
}

.hp-store__facts i {
    color: var(--color-gold);
    margin-right: 4px;
}

@media (max-width: 760px) {
    .hp-store {
        grid-template-columns: 1fr;
    }

    .hp-store__photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .hp-store__text {
        padding: 22px 20px 26px;
    }
}

/* --- Search request ----------------------------------------------------- */

.hp-request {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    flex-wrap: wrap;
    padding: 24px 28px;
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.45);
    background: var(--hp-panel);
}

.hp-request p {
    margin: 0;
    color: var(--hp-text-soft);
}

.hp-request__title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hp-heading);
}

/* --- Contact ------------------------------------------------------------ */

.hp-contact {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px 48px;
    margin-bottom: 28px;
}

.hp-contact__subtitle {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-contact__subtitle i {
    color: var(--color-gold);
    margin-right: 6px;
}

.hp-contact__info address {
    margin: 0 0 22px;
    font-style: normal;
    line-height: 1.6;
    color: var(--hp-text-soft);
}

.hp-contact__info address strong {
    color: var(--hp-text);
}

.hp-hours {
    border-collapse: collapse;
    width: 100%;
    max-width: 360px;
    font-size: 0.92rem;
    color: var(--hp-text-soft);
}

.hp-hours td {
    padding: 6px 0;
    border-bottom: 1px solid var(--hp-border);
}

.hp-hours td:last-child {
    text-align: right;
    color: var(--hp-text);
    font-weight: 600;
}

.hp .contact-form label {
    color: var(--hp-muted);
}

.hp .contact-form input,
.hp .contact-form textarea {
    background: var(--hp-input-bg);
    border-color: var(--hp-input-border);
    color: var(--hp-text);
}

.hp .contact-form .hp-btn {
    justify-self: start;
    margin-top: 4px;
}

.hp-map {
    margin-bottom: 40px;
}

.hp .flash-message {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .hp-contact {
        grid-template-columns: 1fr;
    }
}

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

.hp-footer {
    margin-top: 24px;
    background: var(--color-black);
    color: var(--color-muted);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.hp-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
}

.hp-footer__title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold-lt);
}

.hp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.hp-footer__links a,
.hp-footer__more {
    color: var(--color-white) !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.hp-footer__links a:hover,
.hp-footer__more:hover {
    color: var(--color-gold-lt) !important;
    text-decoration: underline;
}

.hp-footer__more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}

.hp-footer__address {
    margin: 0 0 12px;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
}

.hp-footer__hours,
.hp-footer__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.hp-footer__logo {
    display: block;
    height: 64px;
    width: auto;
    margin-top: 16px;
}

.hp-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    font-size: 0.8rem;
}

.hp-footer__bottom p {
    margin: 0;
}

.hp-footer__legal {
    display: flex;
    gap: 18px;
    align-items: center;
}

.hp-footer__legal a {
    color: var(--color-muted) !important;
}

.hp-footer__legal-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--color-muted);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 760px) {
    .hp-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* --- Preview bar: theme switch ------------------------------------------ */

.preview-bar__links {
    display: inline-flex;
    gap: 10px;
    margin-left: 8px;
}

.preview-bar__links strong {
    text-decoration: underline;
}

.preview-bar__links a {
    margin-left: 0;
}

/* ==========================================================================
   Over ons (templates/Pages/about.php)
   ========================================================================== */

.hp-about-hero {
    padding: 48px 0 56px;
}

.hp-about-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 400px);
    align-items: center;
    gap: 32px 64px;
}

.hp-about-hero__text .hp-hero__intro {
    margin-bottom: 14px;
}

.hp-about-hero__text .hp-hero__actions {
    margin-top: 24px;
}

.hp-about-hero__photo {
    position: relative;
    margin: 0;
    justify-self: end;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    border: 6px solid #ffffff;
    transform: rotate(1.5deg);
}

.hp-about-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-about-hero__photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 10px;
    background: linear-gradient(180deg, transparent, rgba(6, 25, 27, 0.8));
    color: var(--color-white);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

@media (max-width: 860px) {
    .hp-about-hero {
        padding: 28px 0 36px;
    }

    .hp-about-hero__inner {
        grid-template-columns: 1fr;
    }

    .hp-about-hero__photo {
        justify-self: start;
        max-width: 360px;
        aspect-ratio: 4 / 3;
        transform: none;
    }
}

/* Quote */

.hp-about-quote {
    margin: 0 auto;
    max-width: 820px;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--color-gold);
}

.hp-about-quote p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--hp-heading);
}

/* Story: text with two photos */

.hp-about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px 56px;
    align-items: start;
}

.hp-about-story__text .hp-section__title {
    margin-bottom: 16px;
}

.hp-about-story__text p {
    margin: 0 0 16px;
    color: var(--hp-text-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}

.hp-about-story__text strong {
    color: var(--hp-text);
}

.hp-about-story__photos {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 140px;
}

@media (max-width: 860px) {
    .hp-about-story {
        grid-template-columns: 1fr;
    }

    .hp-about-story__photos {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

/* A photo that opens the lightbox */

.hp-about-photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-mid);
    box-shadow: var(--hp-shadow);
    cursor: zoom-in;
    aspect-ratio: 16 / 10;
}

.hp-about-photo--tall {
    aspect-ratio: 4 / 3;
}

.hp-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-about-photo:hover img,
.hp-about-photo:focus-visible img {
    transform: scale(1.04);
}

.hp-about-photo:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

/* Highlights */

.hp-about-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hp-about-highlight {
    padding: 24px 22px;
    border-radius: 10px;
    background: var(--hp-panel);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
}

.hp-about-highlight__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.16);
    color: var(--color-gold);
    font-size: 1.3rem;
}

.hp-about-highlight__title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-about-highlight p {
    margin: 0;
    color: var(--hp-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .hp-about-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hp-about-highlights {
        gap: 12px;
    }

    .hp-about-highlight {
        padding: 16px 14px;
    }

    .hp-about-highlight__icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
        font-size: 1.05rem;
    }

    .hp-about-highlight__title {
        font-size: 1rem;
    }

    .hp-about-highlight p {
        font-size: 0.85rem;
    }
}

/* Second-hand: a panel with a gold wash, the text next to three facts */

.hp-about-used {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px 48px;
    align-items: center;
    padding: 36px 40px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.16), transparent 60%),
        var(--hp-panel);
    border: 1px solid var(--hp-border);
    border-left: 5px solid var(--color-gold);
    box-shadow: var(--hp-shadow);
}

.hp-about-used__text .hp-section__title {
    margin-bottom: 12px;
}

.hp-about-used__text p {
    margin: 0 0 14px;
    color: var(--hp-text-soft);
    line-height: 1.7;
}

.hp-about-used__text .hp-btn {
    margin-top: 6px;
}

.hp-about-used__facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.hp-about-used__facts li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hp-about-used__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.18);
    color: var(--color-gold);
    font-size: 1.15rem;
}

.hp-about-used__facts h3 {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-about-used__facts p {
    margin: 0;
    color: var(--hp-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .hp-about-used {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hp-about-used {
        padding: 22px 16px;
    }

    .hp-about-used__icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* Gallery: one large photo, four smaller ones */

.hp-about-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 14px;
}

.hp-about-gallery__item {
    aspect-ratio: auto;
    height: 100%;
}

.hp-about-gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.hp-about-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(6, 25, 27, 0.8));
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 640px) {
    .hp-about-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
        gap: 10px;
    }
}

/* Mission */

.hp-about-mission {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 36px;
    border-radius: 12px;
    text-align: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(22, 118, 123, 0.55), transparent 55%),
        linear-gradient(160deg, var(--color-dark) 0%, var(--color-black) 100%);
    color: var(--color-white);
    box-shadow: var(--hp-shadow);
}

.hp-about-mission__title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.hp-about-mission p {
    max-width: 38em;
    margin: 0 auto 14px;
    color: var(--color-muted);
    line-height: 1.7;
}

.hp-about-mission .hp-btn {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .hp-about-mission {
        padding: 30px 20px;
    }
}

/* Visit */

.hp-about-visit {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 40px;
    padding: 32px;
    margin-bottom: 40px;
    border-radius: 10px;
    background: var(--hp-panel);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
}

.hp-about-visit .hp-section__title {
    margin-bottom: 12px;
}

.hp-about-visit address {
    margin: 0 0 12px;
    font-style: normal;
    line-height: 1.6;
    color: var(--hp-text-soft);
}

.hp-about-visit address strong {
    color: var(--hp-text);
}

.hp-about-visit__block--cta p {
    margin: 0 0 16px;
    color: var(--hp-text-soft);
    line-height: 1.6;
}

@media (max-width: 860px) {
    .hp-about-visit {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

/* --- Hero: staff picks carousel --------------------------------------------
   A scroll-snap track, so the picks can be swiped (and work without JS); home-preview.js adds
   the buttons, the dots and the slow autoplay (paused on hover/focus and for reduced motion). */

.hp-picks {
    position: relative;
    min-width: 0;
}

.hp-picks__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: 10px;
}

.hp-picks__track::-webkit-scrollbar {
    display: none;
}

.hp-picks__slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    box-shadow: none;
}

.hp-picks .hp-picks__track {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hp-featured__title a {
    color: inherit;
    text-decoration: none;
}

.hp-featured__title a:hover {
    text-decoration: underline;
}

.hp-featured__kicker i {
    margin-right: 2px;
}

.hp-picks .hp-featured__title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hp-featured__note {
    margin: -4px 0 12px;
    /* The card is white in both colour schemes. */
    color: #3f5a5c;
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.5;
}

.hp-picks__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.hp-picks__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
}

.hp-picks__nav:hover,
.hp-picks__nav:focus-visible {
    border-color: var(--color-gold);
    color: var(--color-gold-lt);
}

.hp-picks__dots {
    display: flex;
    gap: 8px;
}

.hp-picks__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hp-picks__dot.is-active {
    background: var(--color-gold);
}

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

/* --- Section header with two links --------------------------------------- */

.hp-section__links {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 18px;
}

.hp .hp-section__more--soft {
    font-weight: 600;
    color: var(--hp-muted);
}

/* --- "We order it for you" ------------------------------------------------- */

.hp-order {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 20px 40px;
    padding: 28px 32px;
    border-radius: 10px;
    background: var(--hp-panel);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
}

.hp-order__title {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-order__text p {
    margin: 0;
    color: var(--hp-text-soft);
    line-height: 1.65;
}

.hp-order__search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-order__input {
    flex: 1 1 200px;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--hp-input-border);
    border-radius: var(--hp-radius);
    background: var(--hp-input-bg);
    color: var(--hp-text);
    font: inherit;
}

.hp-order__input:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 1px;
}

@media (max-width: 760px) {
    .hp-order {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }
}

/* --- Google rating (store block) ------------------------------------------ */

.hp-rating {
    margin-top: 20px;
}

.hp-rating__box {
    padding: 14px 16px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
}

.hp-store__text .hp-rating__box p {
    margin: 0;
}

.hp-rating__source {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-store__text .hp-rating__score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 2px;
}

.hp-rating__value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--hp-heading);
}

.hp-rating__stars {
    color: #f4b400;
    font-size: 1rem;
    letter-spacing: 1px;
}

.hp-store__text .hp-rating__count {
    font-size: 0.88rem;
}

.hp-store__text .hp-rating__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hp-store__text .hp-rating__policy {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--hp-muted);
}

/* --- Text pages (pre-orders) ----------------------------------------------- */

.hp-page-hero__inner {
    max-width: 820px;
}

.hp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hp-step {
    padding: 24px 22px;
    border-radius: 10px;
    background: var(--hp-panel);
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
}

.hp-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.16);
    color: var(--color-gold);
    font-size: 1.3rem;
}

.hp-step__number {
    display: block;
    color: var(--hp-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hp-step__title {
    margin: 2px 0 8px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hp-heading);
}

.hp-step p {
    margin: 0;
    color: var(--hp-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hp-faq {
    max-width: 860px;
}

.hp-faq .hp-section__title {
    margin-bottom: 16px;
}

.hp-faq__item {
    border-bottom: 1px solid var(--hp-border);
}

.hp-faq__item summary {
    padding: 14px 28px 14px 0;
    position: relative;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--hp-text);
}

.hp-faq__item summary::-webkit-details-marker {
    display: none;
}

.hp-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    font-size: 1.3rem;
    font-weight: 400;
}

.hp-faq__item[open] summary::after {
    content: "\2212";
}

.hp-faq__item p {
    margin: 0 0 16px;
    color: var(--hp-text-soft);
    line-height: 1.65;
}

.hp-faq__contact,
.hp-more-note {
    margin: 18px 0 0;
    color: var(--hp-text-soft);
}

@media (max-width: 960px) {
    .hp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hp-steps {
        grid-template-columns: 1fr;
    }
}

/* Format / second-hand line on the homepage cards */
.hp-card__format {
    margin: -8px 0 8px;
    color: var(--hp-muted);
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- The current shop pages (catalogue, record, basket, checkout, account, privacy) inside
   this layout (AppController::previewShopLayout for admins). The header is sticky, not fixed,
   so the content needs no offset; the light theme shows the page on the off-white background,
   the dark theme keeps the page white because its texts and cards are dark on white. --- */
.hp .shop-page {
    padding-top: 0;
    min-height: 0;
    background: transparent;
    color: var(--hp-text);
}

.hp[data-theme="donker"] .shop-page {
    background: #ffffff;
    color: #1a1a1a;
}

.hp .shop-page .breadcrumb {
    padding-top: 16px;
}
