/**
 * PromoShowcase storefront presentation layer.
 *
 * Applies only to WooCommerce's published shop/archive and three product
 * templates. Elite Core's Builder continues to own composition/theme tokens.
 * The site's published Advanced CSS is enqueued AFTER this file, so customer
 * overrides take precedence. Do not style admin/Builder canvases here.
 */

/* Shared, site-themed materials. Never hard-code a customer's brand colour. */
.ps-shop-archive,
.asi-product-template,
.ps-promoworld-product {
    --ps-store-ink: var(--ps-text, #142033);
    --ps-store-muted: var(--ps-muted, #657387);
    --ps-store-brand: var(--ps-primary, #b91c1c);
    --ps-store-line: var(--ps-line, #e3e8ef);
    --ps-store-surface: var(--ps-surface, #fff);
    --ps-store-soft: var(--ps-soft, #f6f8fb);
    --ps-store-shadow: 0 10px 34px rgba(20, 32, 51, .055);
    color: var(--ps-store-ink);
    font-family: var(--ps-site-font, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    line-height: 1.55;
}

.ps-shop-archive *,
.asi-product-template *,
.ps-promoworld-product * { box-sizing: border-box; }

.ps-shop-archive :is(a, button, input, select, textarea):focus-visible,
.asi-product-template :is(a, button, input, select, textarea, .tab-menu li):focus-visible,
.ps-promoworld-product :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--ps-store-brand);
    outline-offset: 3px;
}

.ps-shop-archive :is(button, input, select),
.asi-product-template :is(button, input, select, textarea),
.ps-promoworld-product :is(button, input, select) {
    font: inherit;
}

.ps-shop-archive :is(button, .button),
.asi-product-template :is(button, .button),
.ps-promoworld-product :is(button, .button) {
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* --- Archive hero and native WooCommerce results --- */
.ps-shop-archive {
    background: var(--ps-store-soft);
    padding: 0 0 clamp(56px, 6vw, 96px);
}

.ps-shop-archive__heading {
    width: 100%;
    max-width: none;
    margin: 0 0 clamp(28px, 4vw, 42px);
    padding: clamp(38px, 6vw, 76px) max(24px, calc((100vw - 1420px)/2));
    background: var(--ps-store-surface);
    border-bottom: 1px solid var(--ps-store-line);
    display: block;
}

.ps-shop-archive__heading > div {
    width: min(100%, 1420px);
    margin-inline: auto;
}

/* The native WooCommerce breadcrumb now lives inside the Showcase hero. */
.ps-shop-archive__breadcrumb.woocommerce-breadcrumb {
    display: block;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ps-store-muted);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
}

.ps-shop-archive__breadcrumb.woocommerce-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ps-shop-archive__breadcrumb.woocommerce-breadcrumb a:hover {
    color: var(--ps-store-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ps-shop-archive__eyebrow {
    margin: 0 0 13px;
    color: var(--ps-store-brand);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ps-shop-archive__title {
    max-width: 1000px;
    margin: 0;
    color: var(--ps-store-ink);
    font-size: clamp(2.25rem, 4vw, 4.5rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -.048em;
    overflow-wrap: anywhere;
}

.ps-shop-archive__description {
    max-width: 750px;
    margin-top: 18px;
    font-size: clamp(.95rem, 1.1vw, 1.1rem);
    line-height: 1.75;
    color: var(--ps-store-muted);
}

.ps-shop-archive__description > :last-child { margin-bottom: 0; }
.ps-shop-archive > .woocommerce-notices-wrapper,
.ps-shop-archive > .woocommerce-result-count,
.ps-shop-archive > .woocommerce-ordering,
.ps-shop-archive > ul.products,
.ps-shop-archive > nav.woocommerce-pagination,
.ps-shop-archive > .woocommerce-info {
    width: min(100% - 48px, 1420px);
    margin-inline: auto !important;
}

.ps-shop-archive .woocommerce-result-count {
    float: none;
    margin-bottom: 18px;
    padding-top: 10px;
    color: var(--ps-store-muted);
    font-size: .88rem;
}

.ps-shop-archive .woocommerce-ordering {
    float: none;
    margin-bottom: 20px;
}

.ps-shop-archive .woocommerce-ordering select {
    min-width: min(100%, 230px);
    min-height: 46px;
    border: 1px solid var(--ps-store-line);
    border-radius: 12px;
    padding: 10px 38px 10px 13px;
    background-color: var(--ps-store-surface);
    color: var(--ps-store-ink);
}

.ps-shop-archive ul.products {
    display: grid !important;
    /* Site Builder controls desktop columns. Existing tablet/phone breakpoints
       continue to keep cards readable on smaller screens. */
    grid-template-columns: repeat(var(--ps-shop-cols-desktop, 4), minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.7vw, 24px) !important;
    align-items: stretch;
}

.ps-shop-archive ul.products li.product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--ps-store-line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ps-shop-archive ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--ps-store-brand) 25%, var(--ps-store-line));
    box-shadow: 0 18px 44px rgba(20,32,51,.10);
}

.ps-shop-archive ul.products li.product > .woocommerce-LoopProduct-link,
.ps-shop-archive ul.products li.product > a.woocommerce-loop-product__link {
    display: flex;
    flex: 1 0 auto;
    min-width: 0;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.ps-shop-archive ul.products li.product a img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0 !important;
    padding: clamp(14px, 2vw, 28px);
    object-fit: contain;
    background: var(--ps-store-soft);
    border-bottom: 1px solid var(--ps-store-line);
}

.ps-shop-archive ul.products li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    padding: 18px 18px 9px !important;
    font-size: clamp(.92rem, 1vw, 1.03rem) !important;
    font-weight: 760;
    line-height: 1.48;
    letter-spacing: -.012em;
    color: var(--ps-store-ink);
}

.ps-shop-archive ul.products li.product .price {
    display: block;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 0 18px 18px;
    font-size: .94rem !important;
    font-weight: 750;
    line-height: 1.45;
    color: var(--ps-store-brand) !important;
}

.ps-shop-archive ul.products li.product :is(.button, .added_to_cart) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 36px);
    min-height: 44px;
    margin: 0 18px 18px !important;
    padding: 10px 14px;
    border: 1px solid var(--ps-store-brand);
    border-radius: 11px;
    background: var(--ps-store-brand);
    color: #fff !important;
    font-size: .86rem;
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ps-shop-archive ul.products li.product :is(.button, .added_to_cart):hover {
    filter: brightness(.94);
    transform: translateY(-1px);
}

.ps-shop-archive ul.products li.product .added_to_cart {
    margin-top: -7px !important;
    background: var(--ps-store-surface);
    color: var(--ps-store-brand) !important;
}

.ps-shop-archive .woocommerce-pagination {
    clear: both;
    padding-top: 38px;
    text-align: center;
}
.ps-shop-archive nav.woocommerce-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border: 0;
}
.ps-shop-archive nav.woocommerce-pagination ul li { border: 0; }
.ps-shop-archive nav.woocommerce-pagination ul li :is(a, span) {
    display: grid;
    place-items: center;
    min-width: 43px;
    min-height: 43px;
    padding: 8px 10px;
    border: 1px solid var(--ps-store-line);
    border-radius: 10px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    font-weight: 700;
}
.ps-shop-archive nav.woocommerce-pagination ul li :is(.current, a:hover) {
    border-color: var(--ps-store-brand);
    background: var(--ps-store-brand);
    color: #fff;
}
.ps-shop-archive .woocommerce-info,
.ps-shop-archive .woocommerce-no-products-found {
    border: 1px solid var(--ps-store-line);
    border-radius: 16px;
    padding: 24px;
    background: var(--ps-store-surface);
    color: var(--ps-store-muted);
}

/* Keep the existing filter HTML/query behavior and improve presentation only. */
.ps-catalog-layout {
    width: min(100% - 48px, 1420px);
    grid-template-columns: minmax(220px, 278px) minmax(0, 1fr);
    gap: clamp(20px, 2.5vw, 36px);
    align-items: start;
}
.ps-catalog-filters {
    top: 24px;
    border: 1px solid var(--ps-store-line);
    border-radius: 19px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
}
.ps-catalog-filters__panel { gap: 0; }
.ps-catalog-filter { padding-inline: 19px; border-top: 1px solid var(--ps-store-line); }
.ps-catalog-filter summary {
    padding-block: 16px;
    color: var(--ps-store-ink);
    font-size: .92rem;
    font-weight: 760;
}
.ps-catalog-filter summary::marker { color: var(--ps-store-brand); }
.ps-catalog-filter__options { gap: 10px; padding-bottom: 18px; }
.ps-catalog-filter__option {
    min-width: 0;
    gap: 10px;
    color: var(--ps-store-muted);
    font-size: .85rem;
    cursor: pointer;
}
.ps-catalog-filter__option input { accent-color: var(--ps-store-brand); }
.ps-catalog-filter__option span:nth-child(2) { overflow-wrap: anywhere; }
.ps-catalog-filter__count { color: var(--ps-store-muted); font-size: .75rem; }
.ps-catalog-filter__price input { min-height: 42px; padding: 10px; border-color: var(--ps-store-line); border-radius: 10px; }
.ps-catalog-filters__actions {
    padding: 18px 19px;
    border-top: 1px solid var(--ps-store-line);
}
.ps-catalog-filters__actions .button {
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--ps-store-brand);
    color: #fff;
    font-weight: 750;
}
.ps-catalog-filters__actions > a { color: var(--ps-store-muted); text-decoration: underline; text-underline-offset: 3px; }
.ps-catalog-results { min-width: 0; }
.ps-catalog-filters__toggle {
    min-height: 48px;
    padding: 12px 18px;
    color: var(--ps-store-ink);
    font-size: .96rem;
    font-weight: 760;
}

/* The Builder's product-grid/card widgets may be placed inside the archive. */
.ps-shop-canvas .ps-product-card {
    border: 1px solid var(--ps-store-line, #e3e8ef);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 9px 26px rgba(20,32,51,.055);
}
.ps-shop-canvas .ps-product-card__name { padding: 15px 15px 5px; line-height: 1.45; }
.ps-shop-canvas .ps-product-card__supplier,
.ps-shop-canvas .ps-product-card__price { padding-left: 15px; padding-right: 15px; }
.ps-shop-canvas .ps-product-card__image { padding: 10px; }

/* --- Shared single-product composition for ASI and Elite Core Custom --- */
.asi-product-template {
    width: min(100% - 48px, 1420px);
    margin: 0 auto;
    padding: clamp(28px, 4vw, 56px) 0 clamp(60px, 6vw, 100px);
}
.asi-product-template .rank-math-breadcrumb,
.asi-product-template .rank-math-breadcrumb p,
.asi-product-template > nav {
    margin: 0 0 24px;
    color: var(--ps-store-muted);
    font-size: .83rem;
}
.asi-product-container {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(22px, 3.25vw, 54px);
    align-items: start;
    width: 100%;
}
.asi-product-container > .product-left-sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
    align-self: start;
}
.asi-product-container .main-product-image {
    display: grid;
    place-items: center;
    min-height: 350px;
    aspect-ratio: 1/1;
    padding: clamp(24px, 4vw, 55px);
    border: 1px solid var(--ps-store-line);
    border-radius: 23px;
    overflow: hidden;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
}
.asi-product-container .main-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 610px;
    object-fit: contain;
}
.asi-product-container .product-image-slideshow {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 15px;
}
.asi-product-container .product-image-slideshow .thumbnail {
    width: clamp(64px, 7vw, 82px);
    height: clamp(64px, 7vw, 82px);
    margin: 0;
    padding: 8px;
    border: 1px solid var(--ps-store-line);
    border-radius: 12px;
    background: var(--ps-store-surface);
    object-fit: contain;
    cursor: pointer;
}
.asi-product-container .product-image-slideshow .thumbnail:hover {
    border-color: var(--ps-store-brand);
}
.asi-product-container .product-right-sidebar {
    min-width: 0;
    padding: clamp(20px, 2.8vw, 42px);
    border: 1px solid var(--ps-store-line);
    border-radius: 24px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
}
.asi-product-template .product-id,
.asi-product-template .product-is-new {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 6px 11px;
    border: 1px solid var(--ps-store-line);
    border-radius: 999px;
    background: var(--ps-store-soft);
    color: var(--ps-store-muted);
    font-size: .76rem;
    font-weight: 760;
    line-height: 1.25;
    letter-spacing: .035em;
    overflow-wrap: anywhere;
}
.asi-product-template .product-is-new {
    color: var(--ps-store-brand);
    background: color-mix(in srgb, var(--ps-store-brand) 8%, white);
    border-color: color-mix(in srgb, var(--ps-store-brand) 16%, white);
}
.asi-product-template .product-right-sidebar > h1 {
    margin: 0 0 19px;
    color: var(--ps-store-ink);
    font-size: clamp(1.9rem, 3vw, 3.35rem);
    line-height: 1.11;
    font-weight: 810;
    letter-spacing: -.043em;
    overflow-wrap: anywhere;
}
.asi-product-template .product-meta-data {
    margin-bottom: 19px;
    color: var(--ps-store-muted);
    font-size: .9rem;
}
.asi-product-template .product-meta-data p { margin: 0; }
.asi-product-template :is(.stock-info, .in-stock) { color: #166534; font-weight: 740; }
.asi-product-template .min-order-info { margin-top: 9px; color: var(--ps-store-muted); }
.asi-product-template .price-section {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
    padding: 21px 23px;
    border: 1px solid var(--ps-store-line);
    border-radius: 17px;
    background: var(--ps-store-soft);
}
.asi-product-template .price-section::before {
    content: "Order total";
    color: var(--ps-store-muted);
    font-size: .75rem;
    font-weight: 790;
    text-transform: uppercase;
    letter-spacing: .095em;
}
.asi-product-template .price-section #total-price {
    margin: 0;
    color: var(--ps-store-ink);
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
    font-weight: 820;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.asi-product-template .price-section #price-breakdown { color: var(--ps-store-muted); font-size: .85rem; }
.asi-product-template .product-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 30px;
}
.asi-product-template .product-action-bar :is(.button, button) {
    display: inline-flex;
    flex: 1 1 180px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid var(--ps-store-brand);
    border-radius: 12px;
    background: var(--ps-store-brand);
    color: #fff !important;
    font-size: .9rem;
    font-weight: 780;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
}
.asi-product-template .product-action-bar #product-inquiry {
    background: var(--ps-store-surface);
    color: var(--ps-store-brand) !important;
}
.asi-product-template .product-action-bar :is(.button, button):hover { filter: brightness(.94); transform: translateY(-1px); }
.asi-product-template .product-action-bar button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Existing dynamic option fields, variants, logo upload and calculations. */
.asi-product-template .variations-container { margin-top: 10px; min-width: 0; }
.asi-product-template .request-info-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
    margin: 0 0 16px;
    padding: 22px;
    border: 1px solid var(--ps-store-line);
    border-radius: 17px;
    background: var(--ps-store-surface);
}
.asi-product-template .request-info-options > .option-header {
    grid-column: 1 / -1;
    color: var(--ps-store-ink);
    font-size: 1.1rem;
    font-weight: 810;
    letter-spacing: -.02em;
}
.asi-product-template .request-info-options > :is(.imprinting-options, .imprinting-details, .decoration-instructions, .logo-upload) {
    grid-column: 1 / -1;
}
.asi-product-template .request-info-options :is(.color-options, .size-options, .quantity-options, .imprinting-options, .imprint-size, .imprint-location, .imprint-color) { min-width: 0; }
.asi-product-template .request-info-options h5 {
    margin: 0 0 8px;
    font-size: .81rem;
    font-weight: 790;
    line-height: 1.45;
    color: var(--ps-store-ink);
}
.asi-product-template .request-info-options :is(select, input[type="number"], input[type="text"], textarea),
.asi-product-template .request-info-options input[type="file"] {
    width: 100%;
    max-width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid var(--ps-store-line);
    border-radius: 11px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    font-size: .88rem;
}
.asi-product-template .request-info-options textarea { min-height: 102px; resize: vertical; }
.asi-product-template .request-info-options input[type="file"] { padding: 10px; }
.asi-product-template .request-info-options :is(select, input, textarea):focus {
    border-color: var(--ps-store-brand);
}
.asi-product-template .logo-upload-preview {
    display: grid;
    place-items: center;
    min-height: 95px;
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed var(--ps-store-line);
    border-radius: 12px;
    background: var(--ps-store-soft);
}
.asi-product-template .logo-preview {
    max-width: 170px;
    max-height: 160px;
    object-fit: contain;
}
.asi-product-template .btn-add-more {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid var(--ps-store-line);
    border-radius: 11px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    font-weight: 760;
    cursor: pointer;
}
.asi-product-template .btn-add-more:hover { border-color: var(--ps-store-brand); color: var(--ps-store-brand); }

/* The original JS changes only .active; retain that contract. */
.asi-product-template .product-tabs {
    min-width: 0;
    margin-top: 30px;
    border-top: 1px solid var(--ps-store-line);
    padding-top: 24px;
}
.asi-product-template .tab-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.asi-product-template .tab-menu li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 13px;
    border: 1px solid var(--ps-store-line);
    border-radius: 11px;
    background: var(--ps-store-soft);
    color: var(--ps-store-muted);
    font-size: .82rem;
    font-weight: 760;
    cursor: pointer;
    user-select: none;
}
.asi-product-template .tab-menu li:hover { color: var(--ps-store-ink); border-color: var(--ps-store-brand); }
.asi-product-template .tab-menu li.active {
    border-color: var(--ps-store-brand);
    background: var(--ps-store-brand);
    color: #fff;
}
.asi-product-template .tab-content { display: none; min-width: 0; color: var(--ps-store-ink); }
.asi-product-template .tab-content.active { display: block; }
.asi-product-template .tab-content :is(h3, h4) {
    margin: 0 0 15px;
    color: var(--ps-store-ink);
    font-weight: 800;
    letter-spacing: -.02em;
}
.asi-product-template .tab-content h3 { font-size: 1.24rem; }
.asi-product-template .tab-content h4 { margin-top: 18px; font-size: 1rem; }
.asi-product-template .tab-content p { color: var(--ps-store-muted); line-height: 1.72; overflow-wrap: anywhere; }
.asi-product-template .tab-content > :last-child { margin-bottom: 0; }
.asi-product-template .tab-content table,
.asi-product-template table.pricing-table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 24px;
    border: 1px solid var(--ps-store-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow-x: auto;
    background: var(--ps-store-surface);
    font-size: .82rem;
}
.asi-product-template .tab-content :is(th, td),
.asi-product-template table.pricing-table :is(th, td) {
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid var(--ps-store-line);
    text-align: left;
    white-space: normal;
    vertical-align: top;
}
.asi-product-template .tab-content th,
.asi-product-template table.pricing-table th {
    background: var(--ps-store-soft);
    color: var(--ps-store-ink);
    font-weight: 790;
}
.asi-product-template .tab-content tr:last-child td,
.asi-product-template table.pricing-table tr:last-child td { border-bottom: 0; }
.asi-product-template .tab-content .price-amount { color: var(--ps-store-brand); font-weight: 770; }

/* --- Normalized PromoWorld product detail --- */
.ps-promoworld-product {
    width: min(100% - 48px, 1420px);
    max-width: 1420px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 52px) 0 clamp(60px, 6vw, 100px);
}
.ps-promoworld-product__breadcrumbs { margin: 0 0 26px; color: var(--ps-store-muted); font-size: .84rem; }
.ps-promoworld-product__breadcrumbs a { color: inherit; }
.ps-promoworld-product__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(24px, 3.5vw, 62px);
    align-items: start;
}
.ps-promoworld-product__media,
.ps-promoworld-product__summary { min-width: 0; }
.ps-promoworld-product__gallery { display: grid; gap: 15px; }
.ps-promoworld-product__main-image,
.ps-promoworld-product__image-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: clamp(25px, 4vw, 60px);
    border: 1px solid var(--ps-store-line);
    border-radius: 24px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
    object-fit: contain;
}
.ps-promoworld-product__image-placeholder {
    display: grid;
    place-items: center;
    background: var(--ps-store-soft);
    color: var(--ps-store-muted);
    font-weight: 720;
    text-align: center;
}
.ps-promoworld-product__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ps-promoworld-product__thumb {
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--ps-store-line);
    border-radius: 13px;
    background: var(--ps-store-surface);
    cursor: pointer;
    overflow: hidden;
}
.ps-promoworld-product__thumb.is-active,
.ps-promoworld-product__thumb:hover { border-color: var(--ps-store-brand); box-shadow: 0 0 0 1px var(--ps-store-brand); }
.ps-promoworld-product__thumb img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.ps-promoworld-product__summary {
    padding: clamp(22px, 2.7vw, 40px);
    border: 1px solid var(--ps-store-line);
    border-radius: 24px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
}
.ps-promoworld-product__source {
    color: var(--ps-store-brand);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.ps-promoworld-product__title {
    margin: 12px 0 15px;
    font-size: clamp(1.95rem, 3vw, 3.55rem);
    line-height: 1.12;
    font-weight: 820;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.ps-promoworld-product__number { color: var(--ps-store-muted); font-size: .86rem; overflow-wrap: anywhere; }
.ps-promoworld-product__price {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: baseline;
    margin: 24px 0;
    padding: 17px 0;
    border-top: 1px solid var(--ps-store-line);
    border-bottom: 1px solid var(--ps-store-line);
    color: var(--ps-store-ink);
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    line-height: 1.25;
    font-weight: 830;
}
.ps-promoworld-product__short-description { color: var(--ps-store-muted); font-size: .97rem; line-height: 1.75; }
.ps-promoworld-product__short-description > :last-child { margin-bottom: 0; }
.ps-promoworld-product__status-list,
.ps-promoworld-product__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.ps-promoworld-product__status,
.ps-promoworld-product__chips span {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--ps-store-soft);
    color: var(--ps-store-muted);
    font-size: .76rem;
    font-weight: 720;
}
.ps-promoworld-product__actions { margin-top: 28px; }
.ps-promoworld-product__selectors { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; margin-bottom: 15px; }
.ps-promoworld-product__selectors label { display: grid; gap: 8px; min-width: 0; color: var(--ps-store-ink); font-size: .83rem; font-weight: 770; }
.ps-promoworld-product__selectors select {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid var(--ps-store-line);
    border-radius: 12px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
}
.ps-promoworld-product__variant-status { grid-column: 1 / -1; color: var(--ps-store-muted); font-size: .83rem; }
.ps-promoworld-product__cart-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ps-promoworld-product__cart-row .quantity { margin: 0 !important; }
.ps-promoworld-product__cart-row .quantity input.qty {
    width: 80px;
    min-height: 50px;
    border: 1px solid var(--ps-store-line);
    border-radius: 12px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    text-align: center;
}
.ps-promoworld-product__cart-row :is(button.single_add_to_cart_button, a.button),
.ps-promoworld-product__actions > a.button {
    display: inline-flex;
    flex: 1 1 190px;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--ps-store-brand);
    color: #fff !important;
    font-size: .93rem;
    font-weight: 770;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.ps-promoworld-product__cart-row button:disabled { opacity: .5; cursor: not-allowed; }
.ps-promoworld-product__section {
    margin-top: clamp(26px, 3.5vw, 45px);
    padding: clamp(24px, 3vw, 39px);
    border: 1px solid var(--ps-store-line);
    border-radius: 20px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
}
.ps-promoworld-product__section :is(h2, h3) { margin: 0 0 15px; font-weight: 820; letter-spacing: -.025em; }
.ps-promoworld-product__section h2 { font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.ps-promoworld-product__section h3 { font-size: 1.16rem; }
.ps-promoworld-product__section p { color: var(--ps-store-muted); line-height: 1.73; }
.ps-promoworld-product__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.ps-promoworld-product__table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--ps-store-line); border-radius: 13px; }
.ps-promoworld-product__table { min-width: 520px; width: 100%; margin: 0; border-collapse: collapse; }
.ps-promoworld-product__table :is(th, td) { padding: 13px 16px; border-bottom: 1px solid var(--ps-store-line); text-align: left; font-size: .84rem; }
.ps-promoworld-product__table th { background: var(--ps-store-soft); color: var(--ps-store-ink); font-weight: 780; }
.ps-promoworld-product__table tr:last-child td { border-bottom: 0; }
.ps-promoworld-product__resources { display: grid; gap: 12px; margin: 0; padding-left: 20px; }
.ps-promoworld-product__resources a { color: var(--ps-store-brand); font-weight: 730; text-underline-offset: 3px; }

/* Responsive: never clip filter controls, variant tables or logo fields. */
@media (max-width: 1160px) {
    .ps-shop-archive ul.products { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
    .ps-catalog-layout { grid-template-columns: 230px minmax(0, 1fr); }
    .asi-product-container { gap: 22px; }
}
@media (max-width: 900px) {
    .ps-catalog-layout { grid-template-columns: 1fr; }
    .ps-catalog-filters { position: static; }
    .ps-catalog-filters__toggle { display: block; }
    .ps-shop-archive ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .asi-product-container, .ps-promoworld-product__hero { grid-template-columns: 1fr; }
    .asi-product-container > .product-left-sidebar { position: static; }
    .asi-product-container .main-product-image { max-height: 650px; }
}
@media (max-width: 700px) {
    .ps-shop-archive__heading { padding: 42px 22px; }
    .ps-shop-archive > .woocommerce-notices-wrapper,
    .ps-shop-archive > .woocommerce-result-count,
    .ps-shop-archive > .woocommerce-ordering,
    .ps-shop-archive > ul.products,
    .ps-shop-archive > nav.woocommerce-pagination,
    .ps-shop-archive > .woocommerce-info,
    .ps-catalog-layout { width: calc(100% - 32px); }
    .ps-shop-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
    .ps-shop-archive ul.products li.product { border-radius: 15px; }
    .ps-shop-archive ul.products li.product .woocommerce-loop-product__title { padding: 12px 12px 8px !important; }
    .ps-shop-archive ul.products li.product .price { padding: 0 12px 14px; }
    .ps-shop-archive ul.products li.product :is(.button, .added_to_cart) { width: calc(100% - 24px); margin: 0 12px 12px !important; font-size: .79rem; }
    .asi-product-template, .ps-promoworld-product { width: calc(100% - 32px); padding-block: 22px 58px; }
    .asi-product-container .product-right-sidebar, .ps-promoworld-product__summary { padding: 22px 18px; border-radius: 18px; }
    .asi-product-container .main-product-image, .ps-promoworld-product__main-image { padding: 24px; border-radius: 18px; }
    .asi-product-template .request-info-options { grid-template-columns: 1fr; padding: 18px; }
    .asi-product-template .request-info-options > * { grid-column: 1 / -1; }
    .asi-product-template .tab-menu { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .asi-product-template .tab-menu li { flex: none; white-space: nowrap; }
    .ps-promoworld-product__facts, .ps-promoworld-product__selectors { grid-template-columns: 1fr; }
    .ps-promoworld-product__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ps-promoworld-product__section { padding: 22px 18px; }
}
@media (max-width: 420px) {
    .ps-shop-archive ul.products li.product .woocommerce-loop-product__title { font-size: .85rem !important; }
    .ps-shop-archive ul.products li.product .price { font-size: .83rem !important; }
    .ps-shop-archive__title { font-size: 2.25rem; }
    .asi-product-template .product-action-bar :is(button, .button) { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-shop-archive ul.products li.product,
    .asi-product-template :is(button, .button),
    .ps-promoworld-product :is(button, .button) { transition: none !important; transform: none !important; }
}


/* --- Verified-catalogue-data states: avoid empty inventory, fake $0 and dead CTAs --- */
.ps-shop-archive .ps-price-on-request {
    display: inline-block;
    color: var(--ps-store-muted);
    font-size: .85rem;
    font-weight: 750;
}

.ps-promoworld-product__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.ps-promoworld-product__breadcrumbs > [aria-current="page"] {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ps-store-ink);
}
.ps-promoworld-product__zoom {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    cursor: zoom-in;
    text-align: center;
}
.ps-promoworld-product__zoom .ps-promoworld-product__main-image {
    width: 100%;
    display: block;
}
.ps-promoworld-product__zoom-label {
    position: absolute;
    right: 19px;
    bottom: 19px;
    padding: 8px 13px;
    border: 1px solid var(--ps-store-line);
    border-radius: 999px;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    box-shadow: var(--ps-store-shadow);
    font-size: .78rem;
    font-weight: 760;
}
.ps-promoworld-product__lightbox {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(95vw, 1000px);
    max-width: 1000px;
    max-height: 92vh;
    margin: auto;
    padding: 42px 22px 22px;
    border: 0;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 30px 100px rgba(0,0,0,.25);
    overflow: auto;
}
.ps-promoworld-product__lightbox::backdrop { background: rgba(5, 15, 32, .82); }
.ps-promoworld-product__lightbox:not([open]) { display: none; }
.ps-promoworld-product__lightbox img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 90px);
    object-fit: contain;
}
.ps-promoworld-product__lightbox-close {
    position: absolute;
    top: 9px;
    right: 11px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 100%;
    color: #142033;
    background: #f3f5f8;
    font-size: 1.5rem;
    cursor: pointer;
}
.ps-promoworld-product__quick-specs {
    display: grid;
    gap: 14px;
    margin-top: 23px;
    padding: 18px 0;
    border-top: 1px solid var(--ps-store-line);
    border-bottom: 1px solid var(--ps-store-line);
}
.ps-promoworld-product__quick-specs > div {
    display: grid;
    grid-template-columns: minmax(80px, 100px) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    font-size: .88rem;
}
.ps-promoworld-product__quick-specs strong { font-weight: 780; }
.ps-promoworld-product__quick-specs span { color: var(--ps-store-muted); overflow-wrap: anywhere; }
.ps-promoworld-product__price--quote { color: var(--ps-store-brand); font-size: clamp(1.14rem, 1.5vw, 1.35rem); }
.ps-promoworld-product__quote {
    display: grid;
    justify-items: start;
    gap: 15px;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid var(--ps-store-line);
    border-radius: 16px;
    background: var(--ps-store-soft);
}
.ps-promoworld-product__quote > p {
    max-width: 520px;
    margin: 0;
    color: var(--ps-store-muted);
    font-size: .91rem;
    line-height: 1.65;
}
.ps-promoworld-product__quote > a.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 245px);
    min-height: 49px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--ps-store-brand);
    color: #fff !important;
    font-weight: 790;
    text-decoration: none;
}
.ps-promoworld-product__quote > a.button:hover { filter: brightness(.94); }
.ps-promoworld-product__section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 20px;
    align-items: baseline;
    margin-bottom: 14px;
}
.ps-promoworld-product__section-heading > h2 { margin: 0; }
.ps-promoworld-product__section-heading > p {
    max-width: 580px;
    margin: 0;
    color: var(--ps-store-muted);
    font-size: .86rem;
}
.ps-promoworld-product__table .ps-promoworld-product__sku {
    color: var(--ps-store-ink);
    font-weight: 760;
    overflow-wrap: anywhere;
}
.ps-promoworld-product__price-pending {
    display: inline-block;
    color: var(--ps-store-muted);
    font-weight: 730;
}
.ps-promoworld-product__chips { margin: 14px 0 2px; }
.ps-promoworld-product__chips span {
    background: var(--ps-store-soft);
    border: 1px solid var(--ps-store-line);
    border-radius: 10px;
    padding: 8px 12px;
}
@media (max-width: 700px) {
    .ps-promoworld-product__zoom { border-radius: 18px; }
    .ps-promoworld-product__zoom-label { right: 12px; bottom: 12px; font-size: .74rem; }
    .ps-promoworld-product__quick-specs > div { grid-template-columns: 88px minmax(0, 1fr); }
    .ps-promoworld-product__quote > a.button { width: 100%; }
}

.ps-promoworld-product__spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 0;
}
.ps-promoworld-product__spec-list > div {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--ps-store-line);
    border-radius: 12px;
    background: var(--ps-store-soft);
}
.ps-promoworld-product__spec-list dt {
    color: var(--ps-store-muted);
    font-size: .78rem;
    font-weight: 790;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ps-promoworld-product__spec-list dd {
    margin: 7px 0 0;
    color: var(--ps-store-ink);
    font-size: .9rem;
    font-weight: 730;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
@media (max-width: 700px) {
    .ps-promoworld-product__spec-list { grid-template-columns: 1fr; }
}


/* --- Product media gallery: thumbnails, swipe-friendly image stage and lightbox --- */
.ps-promoworld-product__gallery-stage {
    position: relative;
    min-width: 0;
    border-radius: 24px;
    isolation: isolate;
}
.ps-promoworld-product__gallery-stage .ps-promoworld-product__zoom {
    overflow: hidden;
    border-radius: inherit;
}
.ps-promoworld-product__gallery-stage .ps-promoworld-product__main-image {
    width: 100%;
    max-height: 680px;
    padding: clamp(20px, 3.6vw, 50px);
    object-fit: contain;
    transition: transform .28s ease;
}
.ps-promoworld-product__gallery-stage .ps-promoworld-product__zoom:hover .ps-promoworld-product__main-image {
    transform: scale(1.018);
}
.ps-promoworld-product__gallery-navigation {
    position: absolute;
    left: clamp(15px, 2vw, 25px);
    right: clamp(15px, 2vw, 25px);
    bottom: 18px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 9px;
    pointer-events: none;
}
.ps-promoworld-product__gallery-navigation button {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(20,32,51,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--ps-store-ink);
    box-shadow: 0 5px 20px rgba(20,32,51,.14);
    cursor: pointer;
    pointer-events: auto;
}
.ps-promoworld-product__gallery-navigation button span {
    line-height: 1;
    font-family: inherit;
    font-size: 2rem;
    transform: translateY(-2px);
}
.ps-promoworld-product__gallery-navigation button:hover {
    border-color: var(--ps-store-brand);
    color: var(--ps-store-brand);
    background: #fff;
}
.ps-promoworld-product__gallery-counter {
    display: inline-block;
    min-width: 57px;
    padding: 6px 12px;
    border: 1px solid rgba(20,32,51,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--ps-store-ink);
    box-shadow: 0 4px 16px rgba(20,32,51,.10);
    text-align: center;
    font-size: .77rem;
    font-weight: 780;
    pointer-events: auto;
}
.ps-promoworld-product__gallery-stage:has(.ps-promoworld-product__gallery-navigation) .ps-promoworld-product__zoom-label {
    right: 50%;
    bottom: 78px;
    transform: translateX(50%);
}
.ps-promoworld-product__thumbs {
    display: flex;
    gap: 12px;
    padding: 5px 3px 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--ps-store-line) transparent;
}
.ps-promoworld-product__thumb {
    flex: 0 0 clamp(73px, 7vw, 91px);
    width: clamp(73px, 7vw, 91px);
    height: clamp(73px, 7vw, 91px);
    scroll-snap-align: start;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ps-promoworld-product__thumb:hover {
    transform: translateY(-2px);
}
.ps-promoworld-product__thumb.is-active {
    border-color: var(--ps-store-brand);
    box-shadow: 0 0 0 2px var(--ps-store-brand);
}
.ps-promoworld-product__thumb img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.ps-promoworld-product__lightbox[open] {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: min(95vw, 1100px);
    max-width: 1100px;
    max-height: 94vh;
    overflow: hidden;
}
.ps-promoworld-product__lightbox-header {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 15px 18px;
    border-bottom: 1px solid #e6ebf2;
    color: #152135;
}
.ps-promoworld-product__lightbox-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 780;
}
.ps-promoworld-product__lightbox-counter {
    flex: 0 0 auto;
    color: #64748b;
    font-size: .78rem;
    font-weight: 780;
}
.ps-promoworld-product__lightbox-header .ps-promoworld-product__lightbox-close {
    position: static;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    margin-left: 7px;
}
.ps-promoworld-product__lightbox-stage {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 18px;
    background: #f8fafc;
}
.ps-promoworld-product__lightbox-stage img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(72vh, 830px);
    object-fit: contain;
    margin: auto;
}
.ps-promoworld-product__lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e3e8ef;
    border-radius: 50%;
    background: rgba(255,255,255,.97);
    color: #142033;
    box-shadow: 0 5px 20px rgba(20,32,51,.12);
    font-size: 2rem;
    cursor: pointer;
}
.ps-promoworld-product__lightbox-arrow[data-promoworld-dialog-step="-1"] { left: 17px; }
.ps-promoworld-product__lightbox-arrow[data-promoworld-dialog-step="1"] { right: 17px; }
.ps-promoworld-product__lightbox-arrow:hover { border-color: var(--ps-store-brand); color: var(--ps-store-brand); }
.ps-promoworld-product__lightbox-hint {
    margin: 0;
    padding: 12px 18px;
    border-top: 1px solid #e6ebf2;
    text-align: center;
    font-size: .76rem;
    font-weight: 660;
    color: #657387;
}

/* --- WooCommerce-native related products in a horizontal showcase rail --- */
.ps-promoworld-product__related {
    margin-top: clamp(48px, 6vw, 84px);
    padding-top: clamp(30px, 4vw, 48px);
    border-top: 1px solid var(--ps-store-line);
}
.ps-promoworld-product__related-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-bottom: 24px;
}
.ps-promoworld-product__related-heading { min-width: 0; }
.ps-promoworld-product__related-eyebrow {
    color: var(--ps-store-brand);
    font-size: .76rem;
    font-weight: 830;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.ps-promoworld-product__related-heading h2 {
    margin: 8px 0 9px;
    color: var(--ps-store-ink);
    font-size: clamp(1.6rem, 2.7vw, 2.45rem);
    font-weight: 820;
    line-height: 1.15;
    letter-spacing: -.035em;
}
.ps-promoworld-product__related-heading p {
    margin: 0;
    color: var(--ps-store-muted);
    font-size: .89rem;
}
.ps-promoworld-product__related-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}
.ps-promoworld-product__related-controls[hidden] { display: none !important; }
.ps-promoworld-product__related-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ps-store-line);
    border-radius: 50%;
    background: var(--ps-store-surface);
    color: var(--ps-store-ink);
    font-size: 1.9rem;
    font-weight: 680;
    line-height: 1;
    cursor: pointer;
}
.ps-promoworld-product__related-controls button:hover:not(:disabled) {
    border-color: var(--ps-store-brand);
    color: var(--ps-store-brand);
}
.ps-promoworld-product__related-controls button:disabled { opacity: .35; cursor: not-allowed; }
.ps-promoworld-product__related-track {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--ps-store-line) transparent;
    padding: 2px 2px 20px;
}
.ps-promoworld-product__related-track ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content;
    min-width: 100%;
    gap: clamp(13px, 2vw, 22px);
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    align-items: stretch;
}
.ps-promoworld-product__related-track ul.products::before,
.ps-promoworld-product__related-track ul.products::after { display: none !important; }
.ps-promoworld-product__related-track ul.products li.product {
    display: flex !important;
    flex-direction: column;
    flex: 0 0 clamp(220px, 22vw, 295px) !important;
    float: none !important;
    min-width: 0;
    width: clamp(220px, 22vw, 295px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--ps-store-line);
    border-radius: 19px;
    background: var(--ps-store-surface);
    box-shadow: var(--ps-store-shadow);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ps-promoworld-product__related-track ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(20,32,51,.10);
}
.ps-promoworld-product__related-track ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    text-decoration: none;
}
.ps-promoworld-product__related-track ul.products li.product a img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 18px !important;
    background: var(--ps-store-soft);
    object-fit: contain;
    border-bottom: 1px solid var(--ps-store-line);
}
.ps-promoworld-product__related-track ul.products li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    padding: 15px 16px 8px !important;
    color: var(--ps-store-ink);
    font-size: .94rem !important;
    font-weight: 790;
    line-height: 1.48;
    letter-spacing: -.012em;
}
.ps-promoworld-product__related-track ul.products li.product .price {
    display: block;
    margin: auto 0 0 !important;
    padding: 0 16px 14px;
    color: var(--ps-store-brand) !important;
    font-size: .93rem !important;
    font-weight: 780;
}
.ps-promoworld-product__related-track ul.products li.product .ps-price-on-request {
    color: var(--ps-store-muted);
}
.ps-promoworld-product__related-track ul.products li.product :is(.button, .added_to_cart) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 32px);
    min-height: 43px;
    margin: auto 16px 16px !important;
    padding: 10px 13px;
    border: 1px solid var(--ps-store-brand);
    border-radius: 11px;
    background: var(--ps-store-brand);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 780;
}
.ps-promoworld-product__related-track ul.products li.product :is(.button, .added_to_cart):hover {
    filter: brightness(.95);
}
@media (max-width: 760px) {
    .ps-promoworld-product__gallery-stage,
    .ps-promoworld-product__gallery-stage .ps-promoworld-product__zoom { border-radius: 18px; }
    .ps-promoworld-product__gallery-navigation { bottom: 12px; left: 12px; right: 12px; }
    .ps-promoworld-product__gallery-navigation button { width: 39px; height: 39px; flex-basis: 39px; }
    .ps-promoworld-product__gallery-stage:has(.ps-promoworld-product__gallery-navigation) .ps-promoworld-product__zoom-label { bottom: 65px; }
    .ps-promoworld-product__lightbox-arrow { width: 38px; height: 38px; }
    .ps-promoworld-product__related-header { align-items: center; }
    .ps-promoworld-product__related-track ul.products li.product {
        width: clamp(212px, 47vw, 275px) !important;
        flex-basis: clamp(212px, 47vw, 275px) !important;
    }
}
@media (max-width: 420px) {
    .ps-promoworld-product__lightbox-header { padding: 11px 12px; }
    .ps-promoworld-product__lightbox-stage { padding: 7px; }
    .ps-promoworld-product__lightbox-arrow[data-promoworld-dialog-step="-1"] { left: 8px; }
    .ps-promoworld-product__lightbox-arrow[data-promoworld-dialog-step="1"] { right: 8px; }
    .ps-promoworld-product__related-track ul.products li.product {
        width: min(77vw, 258px) !important;
        flex-basis: min(77vw, 258px) !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ps-promoworld-product__gallery-stage .ps-promoworld-product__main-image,
    .ps-promoworld-product__thumb,
    .ps-promoworld-product__related-track ul.products li.product {
        transition: none !important;
        transform: none !important;
    }
}

/* Two side-by-side product cards are cramped on medium desktop/tablet widths. */
@media (min-width: 761px) and (max-width: 1100px) {
    .ps-promoworld-product__hero {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(22px, 3vw, 34px);
    }
    .ps-promoworld-product__media {
        width: min(100%, 760px);
        margin-inline: auto;
    }
    .ps-promoworld-product__summary {
        width: min(100%, 760px);
        margin-inline: auto;
    }
}

/* Shared Builder font defaults are injected by the Showcase site runtime.
   Keep icon fonts intact by targeting text and form controls, never '*' globally. */
.ps-promoworld-product__price-block {
    display: grid;
    gap: 8px;
    padding: 19px 0 18px;
    border-bottom: 1px solid var(--ps-store-line);
}
.ps-promoworld-product__price-label {
    color: var(--ps-store-muted);
    font-family: var(--ps-site-font, inherit);
    font-size: .75rem;
    font-weight: 810;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ps-promoworld-product__price-block .ps-promoworld-product__price {
    display: block;
    margin: 0;
    font-size: clamp(1.32rem, 2vw, 1.75rem);
    line-height: 1.33;
    letter-spacing: -.025em;
    color: var(--ps-store-ink);
    overflow-wrap: anywhere;
}
.ps-promoworld-product__iso {
    color: var(--ps-store-muted);
    font-size: .72em;
    font-weight: 780;
    white-space: nowrap;
}
.ps-promoworld-product__price-note {
    max-width: 620px;
    margin: 0;
    color: var(--ps-store-muted);
    font-size: .79rem;
    font-weight: 530;
    line-height: 1.65;
}
.ps-promoworld-product__option-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    color: var(--ps-store-ink);
    font-weight: 770;
}
.ps-promoworld-product__option-price small {
    color: var(--ps-store-muted);
    font-size: .73rem;
    font-weight: 570;
}
.ps-promoworld-product__tiers {
    margin-top: 8px;
    color: var(--ps-store-muted);
}
.ps-promoworld-product__tiers summary {
    cursor: pointer;
    font-size: .76rem;
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ps-promoworld-product__tiers > div {
    display: grid;
    gap: 6px;
    margin-top: 9px;
    border-top: 1px solid var(--ps-store-line);
    padding-top: 9px;
}
.ps-promoworld-product__tiers > div > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px 12px;
    font-size: .8rem;
}
.ps-promoworld-product__tiers strong {
    color: var(--ps-store-ink);
    font-weight: 760;
}
.ps-promoworld-product__quote p { line-height: 1.6; }
@media (max-width: 720px) {
    .ps-promoworld-product__price-block { padding: 16px 0 14px; }
    .ps-promoworld-product__price-block .ps-promoworld-product__price { font-size: 1.37rem; }
}

/* Source-currency-aware price previews on native WooCommerce archive cards.
   These are catalogue references, not converted store-currency checkout totals. */
.ps-shop-archive .ps-price-on-request--reference,
.ps-promoworld-product__related-track .ps-price-on-request--reference,
.woocommerce .ps-price-on-request--reference {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.48;
}
.ps-shop-archive .ps-price-on-request__value,
.ps-promoworld-product__related-track .ps-price-on-request__value {
    color: var(--ps-store-ink);
    font-size: .91rem;
    font-weight: 790;
}
.ps-price-on-request__note {
    display: block;
    color: var(--ps-store-muted, #66758a);
    font-size: .74rem;
    font-weight: 600;
}


/* PromoWorld related cards: supplier JSON is the source for images and prices,
   independent of WooCommerce's one-currency _price and placeholder image. */
.ps-promoworld-product__related-track .ps-promoworld-product__related-items {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(12px, 1.55vw, 20px);
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0;
}
.ps-promoworld-product__related-track .ps-promoworld-product__related-card {
    display: flex;
    flex: 0 0 clamp(220px, 21.8vw, 292px);
    flex-direction: column;
    min-width: 0;
    width: clamp(220px, 21.8vw, 292px);
    overflow: hidden;
    border: 1px solid var(--ps-store-line);
    border-radius: 18px;
    background: var(--ps-store-surface);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
    scroll-snap-align: start;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ps-promoworld-product__related-track .ps-promoworld-product__related-card:hover {
    box-shadow: 0 14px 30px rgba(15, 23, 42, .11);
    transform: translateY(-3px);
}
.ps-promoworld-product__related-media {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: clamp(14px, 2.1vw, 26px);
    background: var(--ps-store-soft, #f7f8fa);
    border-bottom: 1px solid var(--ps-store-line);
    text-decoration: none !important;
}
.ps-promoworld-product__related-media img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    max-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .2s ease;
}
.ps-promoworld-product__related-media:hover img { transform: scale(1.035); }
.ps-promoworld-product__related-image-empty {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--ps-store-line, #dbe2ea);
    border-radius: 12px;
    color: var(--ps-store-muted, #65748b);
    font-size: .84rem;
    font-weight: 650;
}
.ps-promoworld-product__related-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    min-height: 194px;
    gap: 10px;
    padding: 17px 16px 16px;
}
.ps-promoworld-product__related-sku {
    display: inline-block;
    color: var(--ps-store-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .025em;
}
.ps-promoworld-product__related-name {
    display: -webkit-box;
    width: fit-content;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--ps-store-ink) !important;
    font-size: .91rem;
    font-weight: 770;
    line-height: 1.45;
    letter-spacing: -.01em;
    text-decoration: none !important;
}
.ps-promoworld-product__related-name:hover {
    color: var(--ps-store-brand) !important;
}
.ps-promoworld-product__related-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    padding-top: 8px;
}
.ps-promoworld-product__related-price-label {
    color: var(--ps-store-muted);
    font-size: .68rem;
    font-weight: 770;
    letter-spacing: .065em;
    text-transform: uppercase;
}
.ps-promoworld-product__related-price-value {
    color: var(--ps-store-ink);
    font-size: .86rem;
    font-weight: 790;
    line-height: 1.43;
}
.ps-promoworld-product__related-price-value .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.ps-promoworld-product__related-price-value .ps-promoworld-product__iso {
    font-size: .75rem;
    color: var(--ps-store-muted);
}
.ps-promoworld-product__related-price-quote {
    color: var(--ps-store-muted);
    font-size: .85rem;
    font-weight: 720;
}
.ps-promoworld-product__related-action {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 43px;
    padding: 11px 13px;
    margin-top: 8px;
    border: 1px solid var(--ps-store-brand);
    border-radius: 10px;
    background: var(--ps-store-brand);
    color: #fff !important;
    text-decoration: none !important;
    font-size: .8rem;
    font-weight: 790;
    line-height: 1.3;
}
.ps-promoworld-product__related-action:hover {
    filter: brightness(.93);
    color: #fff !important;
}
.ps-promoworld-product__related-action span {
    font-size: 1.14rem;
    font-weight: 750;
    line-height: 1;
}
@media (max-width: 760px) {
    .ps-promoworld-product__related-track .ps-promoworld-product__related-card {
        flex-basis: clamp(204px, 46vw, 265px);
        width: clamp(204px, 46vw, 265px);
    }
    .ps-promoworld-product__related-content {
        min-height: 180px;
        padding: 14px 13px 13px;
    }
}
@media (max-width: 420px) {
    .ps-promoworld-product__related-track .ps-promoworld-product__related-card {
        flex-basis: min(76vw, 260px);
        width: min(76vw, 260px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ps-promoworld-product__related-track .ps-promoworld-product__related-card,
    .ps-promoworld-product__related-media img {
        transform: none !important;
        transition: none !important;
    }
}


/* JS-enhanced related rails use visible arrows; without JS, the native
   scrollbar remains available as a keyboard/mouse fallback. */
.ps-promoworld-product__related-track.is-enhanced {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ps-promoworld-product__related-track.is-enhanced::-webkit-scrollbar {
    display: none;
}
.ps-shop-archive .ps-showcase-remote-thumbnail,
.woocommerce ul.products li.product img.ps-showcase-remote-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--ps-store-soft, #f7f8fa);
}


/* --- PromoWorld archive: source-aware promotional product cards ---
   Rendered only in /shop and product taxonomy archives. Keep the Builder,
   WooCommerce filters/sorting, other provider cards and published brand tokens. */
.ps-shop-archive ul.products li.product.ps-shop-card--promoworld {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: var(--ps-store-surface, #fff);
    border: 1px solid var(--ps-store-line, #e3e8ef);
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(20, 32, 51, .055);
}
.ps-shop-archive ul.products li.product.ps-shop-card--promoworld:hover {
    box-shadow: 0 15px 33px rgba(20, 32, 51, .105);
}
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__media {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    margin: 13px 13px 0;
    min-width: 0;
    padding: clamp(12px, 1.6vw, 22px);
    overflow: hidden;
    background: var(--ps-store-soft, #f6f8fb);
    border-radius: 13px;
    text-decoration: none;
}
.ps-shop-archive ul.products li.product.ps-shop-card--promoworld .ps-shop-card__media img.ps-shop-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain;
    aspect-ratio: auto;
    border: 0;
    background: none;
    transition: transform .2s ease;
}
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__media:hover img {
    transform: scale(1.035);
}
.ps-shop-archive .ps-shop-card__no-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--ps-store-line, #e3e8ef);
    border-radius: 10px;
    color: var(--ps-store-muted, #657387);
    font-size: .82rem;
    font-weight: 620;
}
.ps-shop-archive .ps-shop-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    gap: 0;
    padding: 14px 15px 15px;
    font-family: var(--ps-site-font, inherit);
}
.ps-shop-archive .ps-shop-card__source {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin-bottom: 5px;
    color: var(--ps-store-muted, #657387);
    font-size: .69rem;
    line-height: 1.3;
    font-weight: 620;
}
.ps-shop-archive .ps-shop-card__source span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ps-shop-archive .ps-shop-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 4.3em;
    overflow: hidden;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: var(--ps-store-ink, #142033);
    font-size: clamp(.86rem, .93vw, 1.04rem) !important;
    font-weight: 800;
    line-height: 1.43;
    letter-spacing: -.022em;
}
.ps-shop-archive .ps-shop-card__title a {
    color: inherit;
    text-decoration: none;
}
.ps-shop-archive .ps-shop-card__title a:hover {
    color: var(--ps-store-brand, #b91c1c);
}
.ps-shop-archive .ps-shop-card__description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.7em;
    max-height: 2.9em;
    margin: 0 0 12px;
    color: var(--ps-store-muted, #657387);
    font-size: .77rem;
    line-height: 1.43;
    font-weight: 470;
}
.ps-shop-archive .ps-shop-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 13px;
    padding: 0;
}
.ps-shop-archive .ps-shop-card__chip {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 6px 7px;
    border: 1px solid var(--ps-store-line, #e3e8ef);
    border-radius: 8px;
    background: var(--ps-store-soft, #f6f8fb);
    line-height: 1.25;
}
.ps-shop-archive .ps-shop-card__chip dt {
    display: block;
    color: var(--ps-store-muted, #657387);
    font-size: .59rem;
    letter-spacing: .04em;
    font-weight: 600;
    text-transform: uppercase;
}
.ps-shop-archive .ps-shop-card__chip dd {
    display: block;
    margin: 3px 0 0;
    color: var(--ps-store-ink, #142033);
    font-size: .73rem;
    font-weight: 780;
    overflow-wrap: anywhere;
}
.ps-shop-archive .ps-shop-card__facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 9px 8px;
    min-width: 0;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid var(--ps-store-line, #e3e8ef);
}
.ps-shop-archive .ps-shop-card__pricing {
    display: flex;
    flex: 1 1 100px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 3px;
}
.ps-shop-archive .ps-shop-card__price-label,
.ps-shop-archive .ps-shop-card__colours-label {
    display: block;
    color: var(--ps-store-muted, #657387);
    font-size: .63rem;
    font-weight: 760;
    line-height: 1.25;
}
.ps-shop-archive .ps-shop-card__price {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ps-store-brand, #b91c1c) !important;
    font-size: clamp(.94rem, 1.22vw, 1.22rem);
    font-weight: 840;
    line-height: 1.2;
    letter-spacing: -.028em;
    white-space: normal;
}
.ps-shop-archive .ps-shop-card__price .woocommerce-Price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.ps-shop-archive .ps-shop-card__price .ps-promoworld-product__iso {
    display: inline-block;
    margin-left: 2px;
    color: var(--ps-store-ink, #142033);
    font-size: .7em;
    font-weight: 730;
    white-space: nowrap;
}
.ps-shop-archive .ps-shop-card__price-caption {
    color: var(--ps-store-muted, #657387);
    font-size: .63rem;
    line-height: 1.3;
}
.ps-shop-archive .ps-shop-card__price-pending {
    margin-top: 8px;
    font-size: .88rem;
    font-weight: 750;
    color: var(--ps-store-ink, #142033);
}
.ps-shop-archive .ps-shop-card__colours {
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 100%;
}
.ps-shop-archive .ps-shop-card__swatches {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 23px;
}
.ps-shop-archive .ps-shop-card__swatch {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: var(--ps-swatch, #fff);
    border: 1px solid rgba(20,32,51,.16);
    border-radius: 50%;
}
.ps-shop-archive .ps-shop-card__swatch-more {
    display: inline-grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 4px;
    border: 1px solid var(--ps-store-line, #e3e8ef);
    border-radius: 999px;
    background: var(--ps-store-surface, #fff);
    color: var(--ps-store-ink, #142033);
    font-size: .63rem;
    font-weight: 760;
}
.ps-shop-archive .ps-shop-card__colours-count {
    font-size: .76rem;
    color: var(--ps-store-muted, #657387);
}
.ps-shop-archive .ps-shop-card__actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 14px;
}
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__cta,
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 41px;
    margin: 0 !important;
    padding: 10px 25px;
    border: 1px solid var(--ps-store-brand, #b91c1c);
    border-radius: 9px;
    color: #fff !important;
    background: var(--ps-store-brand, #b91c1c);
    font-family: var(--ps-site-font, inherit);
    font-size: .79rem;
    font-weight: 790;
    line-height: 1.28;
    text-align: center;
    text-decoration: none;
    transition: filter .18s ease, background-color .18s ease, transform .18s ease;
}
.ps-shop-archive .ps-shop-card__cta span,
.ps-shop-archive .ps-shop-card__secondary span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.14rem;
    line-height: 1;
}
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__cta:hover { filter: brightness(.93); }
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__secondary {
    border-color: var(--ps-store-line, #e3e8ef);
    background: var(--ps-store-surface, #fff);
    color: var(--ps-store-ink, #142033) !important;
}
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__secondary:hover {
    background: var(--ps-store-soft, #f6f8fb);
    border-color: var(--ps-store-brand, #b91c1c);
}
@media (max-width: 1160px) {
    .ps-shop-archive .ps-shop-card__body { padding: 13px 12px 12px; }
    .ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__media { margin: 11px 11px 0; }
}
@media (max-width: 700px) {
    .ps-shop-archive .ps-shop-card__price { font-size: 1.02rem; }
    .ps-shop-archive .ps-shop-card__description { font-size: .76rem; }
    .ps-shop-archive .ps-shop-card__chip { flex-grow: 0; }
}
@media (max-width: 550px) {
    /* Information-rich B2B cards need one readable column on narrow phones. */
    .ps-shop-archive ul.products:has(> li.ps-shop-card--promoworld) {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .ps-shop-archive ul.products li.product.ps-shop-card--promoworld {
        max-width: 440px !important;
        width: 100% !important;
        margin-inline: auto !important;
    }
    .ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__media { aspect-ratio: 1.3 / 1; padding: 14px 24px; }
    .ps-shop-archive .ps-shop-card__body { padding: 18px; }
    .ps-shop-archive .ps-shop-card__title { font-size: 1.05rem !important; }
    .ps-shop-archive .ps-shop-card__facts { gap: 20px; }
    .ps-shop-archive .ps-shop-card__price { font-size: 1.22rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ps-shop-archive ul.products li.product.ps-shop-card--promoworld,
    .ps-shop-archive .ps-shop-card--promoworld :is(img, a) {
        transition: none !important;
        transform: none !important;
    }
}


/* Only real multi-image catalogue products show a small photo-count hint.
   Link remains directly accessible to the full, keyboard-friendly gallery. */
.ps-shop-archive .ps-shop-card--promoworld .ps-shop-card__media,
.ps-promoworld-product__related-media {
    position: relative;
}
.ps-shop-archive .ps-shop-card__photo-count,
.ps-promoworld-product__related-photo-count {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: var(--ps-store-ink, #142033);
    box-shadow: 0 2px 9px rgba(15,23,42,.065);
    font-size: .7rem;
    font-weight: 760;
    line-height: 1.25;
}

/* Shop archive copy and optional Site Builder sections. The native Woo
   product loop remains the only dynamic archive on the page. */
.ps-shop-builder-intro {
    max-width: 76ch;
    margin: 0 0 18px;
    color: var(--ps-store-muted, #64748b);
    line-height: 1.65;
}
.ps-shop-builder-sections {
    width: 100%;
    margin: 0 auto 22px;
}
.ps-shop-builder-sections--after {
    margin: 22px auto 0;
}
.ps-shop-builder-sections .ps-shell__body {
    width: 100%;
    max-width: none;
}


/* --- Customer account: WooCommerce keeps its real dashboard/forms/endpoints. ---
   Scope entirely to managed Showcase storefronts and an account container with
   WooCommerce's native navigation, so login and other WordPress pages retain
   their normal layout. */
body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce:has(> .woocommerce-MyAccount-navigation) {
    --ps-account-ink: var(--ps-text, #142033);
    --ps-account-muted: var(--ps-muted, #657387);
    --ps-account-line: var(--ps-line, #e3e8ef);
    --ps-account-surface: var(--ps-surface, #fff);
    --ps-account-soft: var(--ps-soft, #f6f8fb);
    --ps-account-accent: var(--ps-primary, #b91c1c);
    display: grid;
    grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
    gap: clamp(20px, 3.5vw, 46px);
    width: min(1180px, calc(100% - 40px));
    margin: clamp(28px, 4vw, 56px) auto clamp(48px, 6vw, 84px);
    align-items: start;
    font-family: var(--ps-site-font, Inter, system-ui, sans-serif);
    color: var(--ps-account-ink);
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation {
    width: auto;
    float: none;
    margin: 0;
    border: 1px solid var(--ps-account-line, #e3e8ef);
    border-radius: 16px;
    background: var(--ps-account-surface, #fff);
    overflow: hidden;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 10px;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 14px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
    color: var(--ps-account-ink, #142033);
    transition: background-color .15s ease, color .15s ease;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation a:hover,
body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation .is-active a {
    background: var(--ps-account-soft, #f6f8fb);
    color: var(--ps-account-accent, #b91c1c);
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-navigation a:focus-visible,
body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--ps-account-accent, #b91c1c);
    outline-offset: 2px;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content {
    width: 100%;
    min-width: 0;
    float: none;
    margin: 0;
    padding: clamp(22px, 3.5vw, 40px);
    border: 1px solid var(--ps-account-line, #e3e8ef);
    border-radius: 16px;
    background: var(--ps-account-surface, #fff);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content > :first-child { margin-top: 0; }
body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content > :last-child { margin-bottom: 0; }

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content :is(input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], select, textarea) {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid var(--ps-account-line, #e3e8ef);
}

body.elite-core-promoshowcase-storefront.woocommerce-account
.woocommerce-MyAccount-content :is(button, .button) {
    border-radius: 8px;
}

@media (max-width: 760px) {
    body.elite-core-promoshowcase-storefront.woocommerce-account
    .woocommerce:has(> .woocommerce-MyAccount-navigation) {
        grid-template-columns: minmax(0, 1fr);
        width: min(100% - 28px, 600px);
        gap: 18px;
        margin-top: 24px;
    }
    body.elite-core-promoshowcase-storefront.woocommerce-account
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    body.elite-core-promoshowcase-storefront.woocommerce-account
    .woocommerce-MyAccount-navigation a {
        padding: 10px 12px;
    }
}
