/* ==========================================================================
   Wellmade theme foundation (restyling 2026)
   Loaded LAST (after bundles/style.min.css too), so it wins over the base
   GrandNode/Bootstrap rules without needing !important everywhere.
   See docs/restyling/03-DESIGN-DIRECTION.md for the reasons behind each token.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --wm-bg: #faf7f2;
    --wm-surface: #ffffff;
    --wm-sunken: #f2ece4;
    --wm-border: #e7dfd4;
    --wm-border-strong: #d9cfc2;
    --wm-ink: #2b2420;
    --wm-muted: #6b5f55;
    --wm-primary: #a85d2b;        /* brand #b16531 darkened to reach 4.9:1 with white text */
    --wm-primary-dark: #8a4a20;
    --wm-primary-tint: #f5e7da;
    --wm-pine: #3f6656;
    --wm-pine-dark: #2f4f43;
    --wm-pine-tint: #e6efe9;
    --wm-danger: #b3261e;
    --wm-danger-tint: #fbe9e7;
    --wm-star: #b7791f;

    --wm-font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wm-font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

    --wm-radius-sm: 8px;
    --wm-radius-md: 12px;
    --wm-radius-lg: 16px;
    --wm-radius-pill: 999px;

    --wm-shadow-overlay: 0 8px 24px rgba(43, 36, 32, .12);
    --wm-focus: 0 0 0 3px rgba(168, 93, 43, .35);

    --wm-tap: 44px;

    /* keep the August variables alive for views that still reference them */
    --wm-cream: var(--wm-bg);
    --wm-info: var(--wm-pine);
    /* GrandNode theme variables used by common.css */
    --s2-bg-color: var(--wm-primary);
    --s2-bg-color-border: var(--wm-primary-dark);
}

/* 2. Base ------------------------------------------------------------------ */
body {
    font-family: var(--wm-font-sans);
    color: var(--wm-ink);
    background-color: var(--wm-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .h1, .h2, .h3,
.generalTitle, .page-title h1 {
    font-family: var(--wm-font-serif);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--wm-ink);
}
h1, .h1, .generalTitle { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.12; }
h2, .h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); line-height: 1.2; }
h3, .h3 { font-size: 1.375rem; line-height: 1.25; }

.generalTitle { margin-bottom: 1.5rem; }

a { color: var(--wm-primary-dark); }
a:hover { color: var(--wm-primary); }

:focus-visible {
    outline: 3px solid var(--wm-primary);
    outline-offset: 2px;
}

::selection { background: var(--wm-primary-tint); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 3. Buttons --------------------------------------------------------------- */
/* One primary per screen: .btn-primary and the legacy .btn-info both map to it. */
.btn {
    min-height: var(--wm-tap);
    border-radius: var(--wm-radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .5rem 1.25rem;
}
.btn-sm { min-height: 36px; padding: .25rem .75rem; }
.btn:focus, .btn.focus { box-shadow: var(--wm-focus); }

.btn-primary, .btn-info {
    background-color: var(--wm-primary);
    border-color: var(--wm-primary);
    color: #fff;
}
.btn-primary:hover, .btn-info:hover,
.btn-primary:focus, .btn-info:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-info:not(:disabled):not(.disabled):active {
    background-color: var(--wm-primary-dark);
    border-color: var(--wm-primary-dark);
    color: #fff;
}

/* Secondary: ink outline on white */
.btn-outline-primary, .btn-outline-info, .btn-outline-dark, .btn-wm-secondary {
    background-color: var(--wm-surface);
    color: var(--wm-ink);
    border-color: var(--wm-ink);
}
.btn-outline-primary:hover, .btn-outline-info:hover, .btn-outline-dark:hover, .btn-wm-secondary:hover,
.btn-outline-info:not(:disabled):not(.disabled):active,
.btn-outline-info:not(:disabled):not(.disabled).active {
    background-color: var(--wm-ink);
    border-color: var(--wm-ink);
    color: #fff;
}

/* Tertiary: light outline (filters, quantity, wishlist) */
.btn-secondary, .btn-light, .btn-outline-secondary {
    background-color: var(--wm-surface);
    color: var(--wm-ink);
    border-color: var(--wm-border-strong);
}
.btn-secondary:hover, .btn-light:hover, .btn-outline-secondary:hover,
.btn-secondary:focus, .btn-light:focus,
.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: var(--wm-sunken);
    color: var(--wm-ink);
    border-color: var(--wm-border-strong);
}

/* Action link: text button for low-priority actions */
.btn-link, .wm-action-link {
    color: var(--wm-primary-dark);
    font-weight: 600;
    text-decoration: none;
}
.btn-link:hover, .wm-action-link:hover { color: var(--wm-primary); text-decoration: underline; }

/* 4. Forms ----------------------------------------------------------------- */
.form-control, .custom-select {
    min-height: var(--wm-tap);
    border-radius: var(--wm-radius-sm);
    border-color: var(--wm-border-strong);
    color: var(--wm-ink);
}
.form-control:focus, .custom-select:focus {
    border-color: var(--wm-primary);
    box-shadow: var(--wm-focus);
}
.form-control.is-invalid, .was-validated .form-control:invalid,
.field-validation-error + .form-control, .input-validation-error {
    border-color: var(--wm-danger);
}
.field-validation-error, .invalid-feedback, .text-danger { color: var(--wm-danger) !important; }
label, .col-form-label { color: var(--wm-ink); }
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--wm-primary);
    border-color: var(--wm-primary);
}

/* 5. Surfaces: cards, alerts, badges --------------------------------------- */
.card {
    border-color: var(--wm-border);
    border-radius: var(--wm-radius-md);
    box-shadow: none;
}
.card-header, .card-footer { background-color: var(--wm-surface); border-color: var(--wm-border); }

.alert { border-radius: var(--wm-radius-md); border: 1px solid var(--wm-border); }
.alert-info, .alert-light { background-color: var(--wm-surface); color: var(--wm-ink); }
.alert-success { background-color: var(--wm-pine-tint); color: var(--wm-pine-dark); border-color: transparent; }
.alert-danger { background-color: var(--wm-danger-tint); color: #8c1d18; border-color: transparent; }

.badge { border-radius: var(--wm-radius-pill); font-weight: 600; padding: .35em .75em; }
.badge-info, .badge-primary { background-color: var(--wm-primary-tint); color: var(--wm-primary-dark); }
.badge-success { background-color: var(--wm-pine-tint); color: var(--wm-pine-dark); }

.text-info { color: var(--wm-pine) !important; }
.bg-info { background-color: var(--wm-pine) !important; }

.breadcrumb { background: transparent; padding: 0; font-size: .875rem; color: var(--wm-muted); }
.breadcrumb a { color: var(--wm-muted); }
.breadcrumb a:hover { color: var(--wm-primary-dark); }

.nav-tabs .nav-link.active, .nav-pills .nav-link.active { color: var(--wm-ink); border-color: var(--wm-ink); }
.page-link { color: var(--wm-ink); border-color: var(--wm-border-strong); min-width: var(--wm-tap); min-height: var(--wm-tap); display: flex; align-items: center; justify-content: center; }
.page-item.active .page-link { background-color: var(--wm-ink); border-color: var(--wm-ink); }

/* Star ratings use the warm gold instead of Bootstrap yellow */
.b-rating.text-warning, .b-rating .text-warning { color: var(--wm-star) !important; }

/* 6. Product card ---------------------------------------------------------- */
/* Framed card: photo, title and price sit in one white tile with a thin border, so
   it is obvious which price belongs to which photo (on a bare grid the text floated
   between two pictures). No heavy shadow; on hover the frame darkens and lifts a bit.
   Photo 1:1 contained on a warm neutral ground so pictures of very different formats
   look like one collection. */
.form-row > .product-container { text-align: left; padding: 8px; display: flex; }
.product-box,
.product-box:hover {
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius-md) !important;
    box-shadow: none;
    background: var(--wm-surface);
    overflow: hidden;
    transform: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.product-box:not(.mobile):hover {
    border-color: #d4c6b4;
    box-shadow: 0 6px 18px -10px rgba(43, 36, 32, .35);
}
.product-box::before { display: none; }
.product-box:not(.list) { display: flex; flex-direction: column; width: 100%; height: 100%; }
.product-box .picture-container {
    margin: 0 !important;
    border-radius: 0 !important; /* the card clips the corners */
    background-color: var(--wm-sunken);
}
.product-box .picture-container .img-container img {
    object-fit: contain !important;
    background-color: var(--wm-sunken) !important;
    transition: transform .3s ease;
}
.product-box:not(.mobile):hover .picture-container .main-product-img { transform: scale(1.03); }
.product-box .product-label { left: 10px; right: auto; }
.product-box .product-label .badge { background: var(--wm-surface); color: var(--wm-primary-dark); }
.product-box .card-body { padding: .5rem .875rem .875rem; display: flex; flex-direction: column; flex: 1 1 auto; gap: .25rem; }
@media (max-width: 575.98px) {
    /* two narrow columns on phones: tighter inside, and rows not further apart than columns */
    .product-box .card-body { padding: .375rem .625rem .625rem; gap: 0; }
    .form-row > .product-container { padding: 5px; margin-bottom: 0 !important; }
}
/* Padding lives on the heading, not on the clamped link: padding inside a
   line-clamped box shows the top of the hidden third line. */
.product-box .card-title { line-height: 1.35; font-family: var(--wm-font-sans); font-size: 1rem; letter-spacing: 0; padding: .375rem 0; margin: 0; }
.product-box .card-title a {
    color: var(--wm-ink);
    font-size: .95rem;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0;
}
.product-box .prices-rating { margin-top: auto; padding-top: .25rem; }
.product-box .actual-price {
    font-family: var(--wm-font-sans);
    color: var(--wm-ink);
    font-size: 1rem;
    font-weight: 600;
}
.product-box .rating .b-rating + a { color: var(--wm-muted); font-size: .8rem; }

/* The hover drawer (add to cart / compare / description) is gone: the card opens
   the product page. Only the wishlist heart stays, floating on the photo. */
.product-box .card-footer,
.product-box:hover .card-footer {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 3;
}
.product-box .card-footer::before,
.product-box .card-footer .desc,
.product-box .card-footer .spec-container,
.product-box .card-footer .attr-container,
.product-box .card-footer .catalog-quantity,
.product-box .card-footer .btn-group > .btn:not(:first-child),
.product-box .card-footer .btn-group > .btn-info { display: none !important; }
.product-box .card-footer .btn-group > .btn-secondary:first-child {
    width: 40px;
    min-height: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--wm-radius-pill);
    border: 0;
    background: rgba(255, 255, 255, .92);
}

/* 7. Header, trust bar, footer -------------------------------------------- */
.trust-bar {
    background-color: var(--wm-ink);
    color: #f1e9e0;
    font-size: .8125rem;
    text-align: center;
    padding: .45rem 1rem;
}
.trust-bar span:not(:last-child)::after {
    content: "·";
    margin: 0 .9rem;
    opacity: .5;
}
.header-nav {
    background-color: var(--wm-surface);
    border-bottom: 1px solid var(--wm-border) !important;
    box-shadow: none;
    position: relative;
    z-index: 5;
}
.header-nav .nav-link:hover,
.header-nav .nav-link:hover .b-icon { color: var(--wm-primary) !important; }
.qty-indicator { background: var(--wm-primary) !important; }

.footer { background-color: #221b16; }
.footer .title {
    font-family: var(--wm-font-serif);
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}
.footer a:hover { color: var(--wm-primary-tint) !important; }
.footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.25rem; }

/* 8. Cookie banner --------------------------------------------------------- */
/* Core view (Views/Shared/Partials/Cookie.cshtml) is shared with the other theme
   and holds the consent logic, so it is restyled here instead of copied:
   compact bottom bar, accept/refuse with equal weight, "learn more" as a link. */
.cookie-bar-notification .card.alert {
    margin: 0 !important;
    border: 0;
    border-top: 1px solid var(--wm-border);
    border-radius: 0;
    background: var(--wm-surface);
    color: var(--wm-ink);
    box-shadow: var(--wm-shadow-overlay);
    padding: .75rem 1rem;
}
.cookie-bar-notification .card.alert > div {
    max-width: 1140px;
    margin: 0 auto;
    gap: .75rem 1.5rem;
}
.cookie-bar-notification p { font-size: .875rem; line-height: 1.45; }
.cookie-bar-notification .btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: .5rem;
    margin: 0 !important;
    align-items: center;
    flex-shrink: 0;
}
.cookie-bar-notification .btn-group > .btn {
    border-radius: var(--wm-radius-sm) !important;
    margin: 0 !important;
    font-size: .875rem;
    white-space: nowrap;
}
.cookie-bar-notification #cookie-ok { background: var(--wm-ink); border-color: var(--wm-ink); color: #fff; }
.cookie-bar-notification #cookie-refuse { background: var(--wm-surface); border-color: var(--wm-border-strong); color: var(--wm-ink); }
.cookie-bar-notification .learn-more {
    background: none !important; /* common.css paints .btn-info with !important */
    border: 0;
    color: var(--wm-primary-dark);
    text-decoration: underline;
    padding: 0 .25rem;
}
@media (max-width: 575.98px) {
    .cookie-bar-notification .btn-group { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .cookie-bar-notification .learn-more { grid-column: 1 / -1; min-height: 32px; justify-self: start; }
}

/* 9. Empty states (404, empty cart, no results) --------------------------- */
.wm-empty-state {
    max-width: 560px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.wm-empty-state__icon { color: var(--wm-primary); }
.wm-empty-state .generalTitle { margin: 0; }
.wm-empty-state__text { color: var(--wm-muted); font-size: 1.0625rem; margin: 0; }
.wm-empty-state__search { display: flex; gap: .5rem; width: 100%; }
.wm-empty-state__search .form-control { flex: 1; }
.wm-empty-state__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: center; }

/* 10. Header: search field, quick links, phone bottom bar ----------------- */
.menu-toggler span { background: var(--wm-ink); height: 2px; width: 24px; }
.menu-toggler { width: var(--wm-tap); height: var(--wm-tap); justify-content: center; gap: 6px; }

.wm-search-trigger {
    display: flex;
    align-items: center;
    gap: .625rem;
    width: 100%;
    height: 46px;
    padding: 0 1.125rem;
    border: 1px solid var(--wm-border-strong);
    border-radius: var(--wm-radius-pill);
    background: var(--wm-bg);
    color: var(--wm-muted);
    font: inherit;
    font-size: .9375rem;
    text-align: left;
    cursor: text;
    white-space: nowrap;
    overflow: hidden;
}
.wm-search-trigger:hover { border-color: var(--wm-muted); }
.wm-search-trigger .b-icon { flex-shrink: 0; color: var(--wm-muted); }
.wm-search-trigger span { overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 992px) {
    #header-container { gap: 1.5rem; flex-wrap: nowrap; }
    .header-nav .menu-container,
    .header-nav .store-logo,
    .header-nav .top-header-items { flex: 0 0 auto; }
    .header-nav .navbar-brand { margin: 0 !important; }
    /* the base header.css allows 75px: too heavy next to the search field */
    .header-nav .navbar-brand img { max-height: 55px !important; }
    .header-nav .wm-search-trigger { flex: 1 1 auto; max-width: 560px; margin: 0 auto; }
}

.wm-quicknav { border-top: 1px solid var(--wm-border); background: var(--wm-surface); }
.wm-quicknav .container { gap: 1.75rem; }
.wm-quicknav a,
.wm-quicknav__categories {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: var(--wm-tap);
    color: var(--wm-ink);
    font-size: .9375rem;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
}
.wm-quicknav__categories { font-weight: 600; cursor: pointer; }
.wm-quicknav a:hover, .wm-quicknav__categories:hover { color: var(--wm-primary-dark); }
/* sellers' entry: a pine pill on the right, set apart from the buyer links without competing with the orange buy buttons */
.wm-quicknav .wm-quicknav__seller {
    min-height: 0;
    padding: .375rem .875rem;
    border-radius: 999px;
    background: var(--wm-pine-tint);
    color: var(--wm-pine-dark);
    font-weight: 600;
    font-size: .875rem;
}
.wm-quicknav .wm-quicknav__seller:hover { background: var(--wm-pine); color: #fff; }

.wm-search-row { padding: 0 1rem .75rem; background: var(--wm-surface); }

/* Search modal (SearchBox component): brand colours instead of Bootstrap blue */
#search-box .search-box-text { border-color: var(--wm-border-strong); color: var(--wm-ink); }
#search-box .search-box-text:focus { border-color: var(--wm-primary); box-shadow: none; }
#search-box .search-box-button, #search-box .modal-close { color: var(--wm-ink); }

/* Phone: the trust bar stays on one line (third claim is repeated in the footer) */
@media (max-width: 575.98px) {
    .trust-bar { font-size: .75rem; padding: .35rem .75rem; }
    .trust-bar span:nth-child(3) { display: none; }
    .trust-bar span:nth-child(2)::after { display: none; }
}

@media (max-width: 991.98px) {
    .header-nav {
        box-shadow: none;
        border-bottom: 1px solid var(--wm-border) !important;
        margin-bottom: 1rem;
    }
    /* Phone bottom bar (account, wishlist, cart, language): kept, thumb-friendly; lighter */
    .header-nav .top-header-items.navbar-nav {
        box-shadow: 0 -1px 0 var(--wm-border);
        padding: .25rem .5rem calc(.25rem + env(safe-area-inset-bottom));
        background: var(--wm-surface);
    }
    .header-nav .top-header-items .nav-link {
        min-width: var(--wm-tap);
        min-height: var(--wm-tap);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* leave room so the bottom bar never covers the end of the page */
    body { padding-bottom: 64px; }
}

/* 11. Footer --------------------------------------------------------------- */
.newsletter.bg-info { background-color: var(--wm-pine) !important; }
.newsletter .newsletter-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: #fff; }
.footer .wm-footer-tagline { color: #d9cfc2; line-height: 1.6; max-width: 32ch; }
.footer .wm-footer-contact {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
}
.footer .wm-footer-contact:hover { background: #fff; color: var(--wm-ink) !important; }

/* 12. Home (main marketplace store) --------------------------------------- */
.wm-chip {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 .75rem;
    border-radius: var(--wm-radius-pill);
    font-size: .75rem;
    font-weight: 600;
    background: var(--wm-primary-tint);
    color: var(--wm-primary-dark);
}
.wm-chip--pine { background: var(--wm-pine-tint); color: var(--wm-pine-dark); }

.home-page { gap: 0; }
.home-page > * { order: 0 !important; } /* source order wins over the legacy order-N classes */

.wm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0 3rem;
}
.wm-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.125rem; }
.wm-hero__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.08; margin: 0; }
.wm-hero__lead { font-size: 1.125rem; line-height: 1.55; color: var(--wm-muted); margin: 0; max-width: 34rem; }
.wm-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.wm-hero__mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    aspect-ratio: 1 / 1;
}
.wm-hero__tile {
    position: relative;
    display: block;
    border-radius: var(--wm-radius-lg);
    overflow: hidden;
    background: var(--wm-sunken);
}
.wm-hero__tile--0 { grid-row: span 2; }
.wm-hero__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wm-hero__tile:hover img { transform: scale(1.04); }
.wm-hero__caption {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    max-width: calc(100% - 1.5rem);
    padding: .25rem .625rem;
    border-radius: var(--wm-radius-pill);
    background: rgba(255, 255, 255, .92);
    color: var(--wm-ink);
    font-size: .8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-section { padding: 1.5rem 0 2.5rem; }
.wm-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.wm-section__head h2 { margin: 0; }
.wm-section__lead { margin: .375rem 0 0; color: var(--wm-muted); font-size: .9375rem; }
.wm-section__head .wm-action-link { white-space: nowrap; }
@media (max-width: 575.98px) {
    .wm-section__head { flex-wrap: wrap; }
}

/* the two short product rows of the home ("New", "Discover today"): the section gives the spacing */
.home-page .wm-home-products .product-grid { margin: 0; }

/* legacy product sections on the home: left-aligned titles like the new sections */
.home-page .product-grid { margin: 0 0 2.5rem; }
.home-page .product-grid .generalTitle { text-align: left !important; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.875rem); margin-bottom: 1.25rem; }

.wm-cat-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}
.wm-cat-tiles a { display: flex; flex-direction: column; gap: .625rem; color: var(--wm-ink); text-decoration: none; }
.wm-cat-tiles__img { display: block; aspect-ratio: 1 / 1; border-radius: var(--wm-radius-md); overflow: hidden; background: var(--wm-sunken); }
.wm-cat-tiles__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.wm-cat-tiles a:hover img { transform: scale(1.04); }
.wm-cat-tiles__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; }

.wm-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2.5rem;
    margin: 1rem 0 2.5rem;
    border-radius: var(--wm-radius-lg);
}
.wm-band--pine { background: var(--wm-pine-tint); }
.wm-band--pine h2 { color: var(--wm-pine-dark); }
.wm-band__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.wm-band__text h2, .wm-band__text p { margin: 0; }
.wm-band__text p { font-size: 1.0625rem; line-height: 1.55; color: #3a4a42; }
.btn.wm-btn-pine { background: var(--wm-pine); border-color: var(--wm-pine); color: #fff; }
.btn.wm-btn-pine:hover { background: var(--wm-pine-dark); border-color: var(--wm-pine-dark); }

.wm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wm-steps li { background: var(--wm-surface); border-radius: var(--wm-radius-md); padding: 1.25rem; display: flex; flex-direction: column; gap: .375rem; }
.wm-steps li > span:last-child { font-size: .875rem; color: var(--wm-muted); }
.wm-steps__n { font-family: var(--wm-font-serif); font-size: 1.75rem; line-height: 1; color: var(--wm-pine); }

.wm-makers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wm-maker-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem;
    background: var(--wm-surface);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius-md);
    color: var(--wm-ink);
    text-decoration: none;
    height: 100%;
}
.wm-maker-card:hover { border-color: var(--wm-border-strong); color: var(--wm-ink); }
.wm-maker-card__text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.wm-maker-card__text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-maker-card__text span { font-size: .875rem; color: var(--wm-muted); }
.wm-monogram {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--wm-font-serif);
    font-size: 1.375rem;
    color: var(--wm-ink);
    background: var(--wm-primary-tint);
}
.wm-monogram--1 { background: var(--wm-pine-tint); }
.wm-monogram--2 { background: #e8e4f0; }
.wm-monogram--3 { background: #f3ead3; }

.wm-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.75rem 0;
    margin: 1rem 0 2rem;
    border-top: 1px solid var(--wm-border);
    border-bottom: 1px solid var(--wm-border);
}
.wm-trust div { display: flex; flex-direction: column; gap: .25rem; }
.wm-trust span { font-size: .875rem; color: var(--wm-muted); }

.wm-seller-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1.75rem 2rem;
    margin: 0 0 2.5rem;
    border-radius: var(--wm-radius-lg);
    background: var(--wm-ink);
    color: #f1e9e0;
}
.wm-seller-band strong { display: block; font-family: var(--wm-font-serif); font-size: 1.375rem; color: #fff; }
.wm-seller-band span { opacity: .85; }
.btn.wm-btn-light { background: #f1e9e0; color: var(--wm-ink); border-color: #f1e9e0; }
.btn.wm-btn-light:hover { background: #fff; color: var(--wm-ink); }

@media (max-width: 991.98px) {
    .wm-hero, .wm-band { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .wm-cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wm-makers { grid-template-columns: minmax(0, 1fr); }
    .wm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .wm-hero { padding: 1rem 0 2rem; }
    .wm-hero__actions { width: 100%; }
    .wm-hero__actions .btn { flex: 1 1 100%; }
    .wm-hero__mosaic { aspect-ratio: 4 / 3; }
    .wm-cat-tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -15px; padding: 0 15px .5rem; }
    .wm-cat-tiles li { flex: 0 0 38%; scroll-snap-align: start; }
    .wm-band { padding: 1.5rem; }
    .wm-steps { grid-template-columns: minmax(0, 1fr); }
    .wm-seller-band { padding: 1.5rem; }
    .wm-seller-band .btn { width: 100%; }
}

/* 13. Product lists (category, vendor, search, new products) -------------- */
/* CSS only on purpose: the list views are also changed by the SeoServerRenderedLists
   branch, so they stay untouched here to avoid merge conflicts. */
.category-page > .generalTitle,
.vendor-page .generalTitle,
.search-page .generalTitle { text-align: left; margin-bottom: .5rem; }

/* category description: plain lead text, not a bordered box pushing products down */
.category-page > .card.mb-2 {
    border: 0;
    background: transparent;
    padding: 0;
    margin-bottom: 1rem !important;
}
.category-page > .card.mb-2 > * { padding: 0 !important; }
.category-page > .card.mb-2,
.category-page > .card.mb-2 p { color: var(--wm-muted); font-size: 1rem; line-height: 1.55; max-width: 70ch; }

/* toolbar: sort, view mode, page size between two thin rules */
.catalog-selectors {
    border-top: 1px solid var(--wm-border);
    border-bottom: 1px solid var(--wm-border);
    padding: .5rem 0;
    margin: .5rem 0 1.5rem !important;
}
.catalog-selectors .row { align-items: center; row-gap: .5rem; }
.catalog-selectors label, .catalog-selectors .col-form-label { font-size: .875rem; color: var(--wm-muted); margin: 0; }
.catalog-selectors .custom-select, .catalog-selectors select {
    border-radius: var(--wm-radius-pill);
    padding-left: 1rem;
    background-color: var(--wm-surface);
    font-size: .9375rem;
}
.catalog-selectors .b-icon, .catalog-selectors svg { color: var(--wm-muted); }
.catalog-selectors a.active .b-icon, .catalog-selectors .active svg { color: var(--wm-ink); }

/* "filters" opener on phones: tertiary pill, not an info-blue outline */
#sidebar-mobile-button {
    background: var(--wm-surface);
    color: var(--wm-ink);
    border-color: var(--wm-border-strong);
    border-radius: var(--wm-radius-pill);
    text-transform: none;
}
#sidebar-mobile-button:hover { background: var(--wm-sunken); color: var(--wm-ink); }

/* category tree: compact, calm, counts in the muted colour */
.generalLeftSide .block .title,
.generalLeftSide h2 { font-size: 1.125rem; margin-bottom: .75rem; }
.block-category-navigation ul { padding-left: 0; }
.block-category-navigation li { list-style: none; }
.block-category-navigation a {
    display: block;
    padding: .3rem 0;
    color: var(--wm-ink);
    font-size: .9375rem;
    line-height: 1.35;
    text-decoration: none;
}
.block-category-navigation a:hover { color: var(--wm-primary-dark); }
.block-category-navigation .active > a { font-weight: 600; color: var(--wm-primary-dark); }
.block-category-navigation .sublist { padding-left: .875rem; border-left: 1px solid var(--wm-border); margin: .125rem 0 .375rem; }
.block-category-navigation .count, .block-category-navigation small,
.block-category-navigation .total { color: var(--wm-muted); font-size: .8125rem; }
/* common.css makes the link a flex row: a name that wraps pushed the count to a
   column of its own on the right. As plain text the count follows the last word. */
.block-category-navigation .listbox a { display: block !important; }
.block-category-navigation .total { white-space: nowrap; margin-left: .125rem; }
@media (min-width: 992px) {
    /* the tree of a big category is long: it follows the scroll and scrolls on its
       own, instead of ending halfway and leaving an empty column next to the grid */
    .generalLeftSide .block-category-navigation {
        position: sticky;
        top: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--wm-border) transparent;
        padding-right: .5rem;
    }
}

/* pagination: 44px targets, current page in ink */
.pagination { gap: .375rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0 2.5rem; }
.pagination .page-item .page-link { border-radius: var(--wm-radius-sm) !important; }
.pagination .page-item.currentpage .page-link,
.pagination .page-item.currentpage span {
    background: var(--wm-ink);
    border-color: var(--wm-ink);
    color: #fff;
    border-radius: var(--wm-radius-sm);
    min-width: var(--wm-tap);
    min-height: var(--wm-tap);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* vendor list: placeholder pictures get a warm neutral ground */
.vendor-list .card img, .vendor-box img { background: var(--wm-sunken); }

/* 14. Product page --------------------------------------------------------- */
.product-details-page .overview .generalTitle { margin: .5rem 0 .25rem; text-align: left; }
.product-details-page .overview .product-label { position: static; display: inline-flex; margin: 0 .375rem .5rem 0; }
.product-details-page .overview .product-label .badge { background: var(--wm-primary-tint); color: var(--wm-primary-dark); font-size: .75rem; }
/* no reviews yet: a small text invitation instead of empty stars and "0,00" */
.wm-first-review { display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; font-size: .875rem; color: var(--wm-muted); text-decoration: underline; text-underline-offset: 3px; }
.wm-first-review:hover { color: var(--wm-ink); }
.wm-first-review span { color: #e0a100; font-size: 1rem; text-decoration: none; }
.wm-reviews-summary .review-scroll-button { border: 0; padding: 0 .25rem; min-height: 32px; color: var(--wm-muted); background: none; }

.product-details-page .short-description { color: var(--wm-muted); }

/* price: ink serif, not the blue/teal "info" colour */
.product-details-page .overview .actual-price,
.product-details-page .overview .prices .price {
    font-family: var(--wm-font-serif);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--wm-ink) !important;
}
.product-details-page .overview .delivery,
.product-details-page .overview [class*=shipping] { color: var(--wm-pine); font-size: .9375rem; }

/* buy row: quantity + primary; customize as full-width secondary under it */
.wm-buy-row { gap: .75rem; }
.wm-buy-row .add-to-cart-button { min-height: 52px; font-size: 1.0625rem; }
.wm-buy-row > .btn-wm-customize { flex: 1 1 100%; min-height: 48px; }
.btn.btn-wm-customize.btn-wm-secondary { background: var(--wm-surface); color: var(--wm-ink); border-color: var(--wm-ink); }
.btn.btn-wm-customize.btn-wm-secondary:hover { background: var(--wm-ink); color: #fff; }
.product-details-page .add-to-wishlist-button { min-width: var(--wm-tap); }

.wm-request-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: .25rem 0 1rem; }
.wm-request-links a { min-height: var(--wm-tap); display: inline-flex; align-items: center; }
.wm-maker-card--product { margin-bottom: 1rem; }
.wm-maker-card__cta { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--wm-primary-dark); white-space: nowrap; }
.wm-trust-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--wm-border);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1rem;
    font-size: .875rem;
    color: #3a332e;
}
.product-details-page ul.wm-trust-list { list-style: none !important; padding-left: 0; } /* common.css forces disc bullets */
.product-details-page .overview-buttons .btn-group > .add-to-wishlist-button { flex: 0 0 auto; width: 52px; min-height: 48px; border-radius: var(--wm-radius-sm) !important; }
.wm-trust-list li::before { content: "✓"; color: var(--wm-pine); font-weight: 600; margin-right: .4rem; }

/* description tabs: left aligned, ink underline */
.product-details-page .nav-tabs { justify-content: flex-start !important; border-bottom: 1px solid var(--wm-border); }
.product-details-page .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--wm-muted); font-weight: 600; }
.product-details-page .nav-tabs .nav-link.active { color: var(--wm-ink); border-bottom-color: var(--wm-ink); background: none; }
.product-details-page .tab-content { max-width: 75ch; line-height: 1.65; }

.wm-sticky-buy { display: none; }
@media (max-width: 767.98px) {
    .wm-sticky-buy:not([hidden]) {
        display: flex;
        align-items: center;
        gap: .75rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 64px; /* above the phone bottom bar */
        z-index: 1030;
        padding: .625rem 1rem;
        background: var(--wm-surface);
        border-top: 1px solid var(--wm-border);
        box-shadow: var(--wm-shadow-overlay);
    }
    .wm-sticky-buy__info { display: flex; flex-direction: column; min-width: 0; }
    .wm-sticky-buy__name { font-size: .75rem; color: var(--wm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wm-sticky-buy .btn { flex: 1; min-height: 48px; }
    .wm-trust-list { grid-template-columns: minmax(0, 1fr); }
}

/* 15. Cart (shared CartSummary partial, styled here) ---------------------- */
.wm-cart-title { text-align: left; margin: 1rem 0 .25rem; }
.wm-cart-note { color: var(--wm-muted); margin: 0 0 1rem; }
.wm-cart-empty-body .no-data { display: none; }
.shopping-cart-page .no-data { background: var(--wm-surface); }

.shopping-cart-container { border: 0 !important; }
.shopping-cart.table {
    background: var(--wm-surface);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius-md);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}
.shopping-cart.table th {
    background: #f7f2eb;
    border: 0;
    border-bottom: 1px solid var(--wm-border);
    color: var(--wm-muted);
    font-size: .8125rem;
    font-weight: 600;
    text-transform: none;
}
.shopping-cart.table td { border-top: 1px solid #f0e9df; vertical-align: middle; }
.shopping-cart .product-picture img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--wm-radius-sm); background: var(--wm-sunken); }
.shopping-cart .product-name { color: var(--wm-ink); font-weight: 600; text-decoration: none; }
.shopping-cart .subtotal, .shopping-cart .subtotal * { color: var(--wm-ink) !important; font-weight: 600; }
.shopping-cart .remove-from-cart .btn, .shopping-cart .remove-from-cart a { color: var(--wm-muted); }

.shopping-cart-page .totals-inner {
    background: var(--wm-surface);
    border: 1px solid var(--wm-border);
    border-radius: var(--wm-radius-md);
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}
/* gift voucher / coupon: the core wraps each button in a card + header, which inside the
   framed totals box drew three nested borders. Only the button keeps its frame. */
.cart-collaterals .deals .card { border: 0; background: transparent; border-radius: 0; }
.cart-collaterals .deals .card-header { padding: 0 !important; background: transparent; border: 0; }
.cart-collaterals .deals .card-body { padding: .75rem 0 .25rem; }
.cart-collaterals .deals .coupon-button { min-height: 44px; }
/* "empty the cart" is destructive: a quiet link, never the loudest thing on the page */
.shopping-cart-page .removeAll-cart-button {
    background: none !important;
    border: 0 !important;
    color: var(--wm-muted) !important;
    text-decoration: underline;
    font-weight: 400;
    order: 2;
}
.shopping-cart-page .continue-shopping-button {
    background: var(--wm-surface);
    border-color: var(--wm-border-strong);
    color: var(--wm-ink);
    border-radius: var(--wm-radius-sm) !important;
}
.shopping-cart-page .common-buttons, .shopping-cart-page .cart-buttons { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.shopping-cart-page .checkout-buttons { display: flex; flex-direction: column; gap: .5rem; }
.shopping-cart-page .checkout-button { width: 100%; min-height: 52px; font-size: 1.0625rem; }
.shopping-cart-page .checkout-as-guest-button { width: 100%; margin: 0 !important; }

@media (max-width: 767.98px) {
    /* each cart line becomes a card: picture | name, price, quantity | remove */
    .shopping-cart.table { border: 0; background: transparent; }
    .shopping-cart.table thead { display: none; }
    .shopping-cart.table tbody tr {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) auto;
        grid-template-areas:
            "pic name remove"
            "pic price price"
            "pic qty total";
        gap: .25rem .75rem;
        align-items: center;
        background: var(--wm-surface);
        border: 1px solid var(--wm-border);
        border-radius: var(--wm-radius-md);
        padding: .875rem;
        margin-bottom: .75rem;
    }
    .shopping-cart.table td { display: block; border: 0 !important; padding: 0 !important; text-align: left !important; }
    .shopping-cart.table td.onhold-cart { display: none; }
    .shopping-cart.table td.product-picture { grid-area: pic; align-self: start; }
    .shopping-cart.table td.product-picture img { width: 76px; height: 76px; }
    .shopping-cart.table td.product { grid-area: name; }
    .shopping-cart.table td.unit-price { grid-area: price; color: var(--wm-muted); font-size: .875rem; }
    .shopping-cart.table td.quantity { grid-area: qty; }
    .shopping-cart.table td.quantity input { max-width: 72px; }
    .shopping-cart.table td.subtotal { grid-area: total; justify-self: end; }
    .shopping-cart.table td.remove-from-cart { grid-area: remove; justify-self: end; align-self: start; }
    .shopping-cart-page .totals-inner { position: static; }
}

/* 16. Checkout (one-page checkout of the core, styled here) --------------- */
.checkout-page > .generalTitle, .checkout-page h1 { text-align: left; }

/* the six step buttons become a compact progress row instead of six big pills */
.checkout-page .opc-header {
    display: flex;
    flex-direction: row !important; /* common.css stacks them in a column */
    flex-wrap: nowrap !important;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--wm-border);
    scrollbar-width: thin;
}
.checkout-page .opc-header .card-header { flex: 0 0 auto; padding: 0; background: none; border: 0; }
.checkout-page .opc-header .btn {
    min-height: 36px;
    padding: .25rem .875rem;
    border-radius: var(--wm-radius-pill) !important;
    background: var(--wm-surface) !important;
    border: 1px solid var(--wm-border) !important;
    color: var(--wm-muted) !important;
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
}
.checkout-page .opc-header .btn::after,
.checkout-page .opc-header .btn::before,
.checkout-page .opc-header .card-header::before,
.checkout-page .opc-header .card-header::after { display: none !important; content: none !important; }
.checkout-page .opc-header .btn.not-collapsed { background: var(--wm-ink) !important; border-color: var(--wm-ink) !important; color: #fff !important; }

.checkout-page .card { border-color: var(--wm-border); }
.checkout-page .card-body { padding: 1.25rem; }
.checkout-page .opc-totals {
    border: 1px solid var(--wm-border) !important;
    border-radius: var(--wm-radius-md);
    background: var(--wm-surface);
    padding: 1rem;
}
.checkout-page .opc-totals .product-picture img, .checkout-page .opc-totals img { border-radius: var(--wm-radius-sm); }
.checkout-page .opc-totals .text-info, .checkout-page .opc-totals .badge-info { color: var(--wm-ink) !important; }
/* the summary is already a framed box: the product table inside it stays unframed */
.checkout-page .opc-totals .shopping-cart.table { border: 0; border-radius: 0; background: transparent; }
.checkout-page .opc-totals .shopping-cart.table th { background: transparent; }
.checkout-page .opc-totals .shopping-cart.table th:first-child,
.checkout-page .opc-totals .shopping-cart.table td:first-child { padding-left: 0; }
.checkout-page .opc-totals .shopping-cart.table th:last-child,
.checkout-page .opc-totals .shopping-cart.table td:last-child { padding-right: 0; }
/* quantity: the core paints it as a cyan bubble, off palette */
.checkout-page .qty-opc {
    background: var(--wm-sunken) !important;
    color: var(--wm-ink) !important;
    font-weight: 600;
}
/* the step panels: white like every other card, not the grey of common.css */
.checkout-page #checkout-steps .card-body { background: var(--wm-surface); border: 1px solid var(--wm-border); border-radius: var(--wm-radius-md); }
@media (min-width: 992px) {
    /* on desktop the six steps fit on two lines at most: no scrollbar */
    .checkout-page .opc-header { flex-wrap: wrap !important; overflow: visible; }
}
.checkout-page .opc-header::-webkit-scrollbar { display: none; }
@media (max-width: 991.98px) {
    /* on phones the summary scrolls with the page instead of covering the form */
    .checkout-page .opc-totals { position: static !important; margin-top: 1.5rem; }
}
.checkout-page .new-address-next-step-button,
.checkout-page [class*=next-step-button],
.checkout-page .confirm-order-next-step-button { min-height: 52px; width: 100%; max-width: 360px; }

/* 17. Makers: list and public shop page ----------------------------------- */
.wm-page-lead { color: var(--wm-muted); margin: 0 0 1.5rem; max-width: 60ch; }
.wm-makers--list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 2rem; }
.wm-monogram--img { object-fit: cover; background: var(--wm-sunken); }
@media (max-width: 991.98px) { .wm-makers--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .wm-makers--list { grid-template-columns: minmax(0, 1fr); } }

.vendor-page > .card { border: 0; background: transparent; }
.vendor-page > .card > .card-body { padding: 0; }
.vendor-page .generalTitle { text-align: left; }
.vendor-page .contact-us-button {
    background: var(--wm-surface);
    color: var(--wm-ink);
    border: 1px solid var(--wm-ink);
    margin: .25rem .5rem .25rem 0 !important;
}
.vendor-page .contact-us-button:hover { background: var(--wm-ink); color: #fff; }
.vendor-page .contact-us-button .fa { display: none; }
.vendor-page .text-info { color: var(--wm-pine) !important; }
/* empty review boxes were grey text on pale pink/blue: readable neutral instead */
.vendor-page .alert, .product-details-page .tab-content .alert {
    background: var(--wm-surface);
    color: var(--wm-muted);
    border: 1px dashed var(--wm-border-strong);
}

/* 18. Account, login, register --------------------------------------------- */
.login-page .card, .registration-page .card, .account-page .card { border-color: var(--wm-border); border-radius: var(--wm-radius-md); }
.login-page .card-header, .registration-page .card-header {
    background: var(--wm-surface);
    border-bottom: 1px solid var(--wm-border);
    font-family: var(--wm-font-serif);
    font-size: 1.25rem;
    color: var(--wm-ink);
}
.login-page .card-footer, .registration-page .card-footer { background: var(--wm-surface); }
.login-page .login-button, .registration-page .register-button { min-width: 200px; min-height: 48px; }
.generalLeftSide .list-group-item { border-color: var(--wm-border); color: var(--wm-ink); }
.generalLeftSide .list-group-item.active, .generalLeftSide .list-group-item:active {
    background: var(--wm-primary-tint);
    border-color: var(--wm-border);
    color: var(--wm-primary-dark);
    font-weight: 600;
}

/* 19. CMS pages: readable line length -------------------------------------- */
.page.page-block-page .page-body, .topic-page .page-body, .html-page .page-body,
.generalMarginSupporter .page-block-body { max-width: 75ch; line-height: 1.7; }

/* 20. Product page fixes kept from the August pass ------------------------ */
.product-details-page ul.nav-tabs { list-style: none !important; padding-left: 0; }
.gallery .thumb-image { border-radius: var(--wm-radius-sm); }
.gallery .main-image { border-radius: var(--wm-radius-lg); background-color: var(--wm-sunken); }
