/*
File: product.css
Theme Name: Botiga Child Historicum - Single Product
Description: Final organized product page layout.
*/

:root {
    --hp-paper: #f5f0e6;
    --hp-paper-rip: var(--hp-paper);
    --hp-paper-soft: #fbf7ed;
    --hp-paper-field: #ece3d2;
    --hp-text: #111111;
    --hp-text-soft: #4a4339;
    --hp-text-muted: #7a7164;
    --hp-border: rgba(17, 17, 17, 0.18);
    --hp-border-strong: rgba(17, 17, 17, 0.34);
    --hp-accent: #ebbc00;
    --hp-accent-hover: #d4a900;
    --hp-black: #050604;
    --hp-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
    --hp-rip-mask: url("https://historicum.pl/wp-content/uploads/2026/04/torn-edge.svg");
}

body.single-product,
body.historicum-single-product-page {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #000000 !important;
    background-image:
        linear-gradient(
            135deg,
            rgba(58, 41, 0, 0.72) 0%,
            rgba(20, 14, 0, 0.88) 22%,
            rgba(4, 3, 0, 0.96) 48%,
            #000000 78%,
            #000000 100%
        ),
        url("https://historicum.pl/wp-content/uploads/2026/04/Workshop2.jpg") !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center top, center top !important;
    background-size: cover, cover !important;
    background-attachment: scroll, scroll !important;
    color: var(--hp-text);
}

body.single-product header:not(#h-header):not(.h-header),
body.single-product footer:not(#h-site-footer):not(.h-site-footer),
body.single-product .site-header:not(#h-header):not(.h-header),
body.single-product .site-footer:not(#h-site-footer):not(.h-site-footer),
body.single-product #masthead,
body.single-product #colophon,
body.single-product .botiga-header,
body.single-product .botiga-footer,
body.single-product .footer-widgets,
body.single-product .botiga-copyright,
body.single-product .botiga-page-header,
body.single-product .entry-header,
body.single-product .page-header,
body.single-product .woocommerce-breadcrumb,
body.single-product .product_meta,
body.single-product .woocommerce-tabs,
body.single-product .yith-wcwl-add-to-wishlist {
    display: none !important;
}

body.single-product .historicum-product-main,
body.single-product .site-content,
body.single-product #page,
body.single-product .content-wrapper,
body.single-product main,
body.single-product .site-main,
body.single-product .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.single-product .historicum-product-main::after {
    display: none !important;
}

body.single-product .woocommerce-notices-wrapper {
    max-width: 1460px;
    margin: 96px auto 0;
    padding: 0 24px;
}

body.single-product .woocommerce-message,
body.single-product .woocommerce-notices-wrapper .woocommerce-message,
body.single-product .added_to_cart.wc-forward,
body.single-product a.added_to_cart,
body.single-product .button.wc-forward {
    display: none !important;
}

body.single-product .hp-cart-toast {
    position: fixed;
    top: var(--hp-cart-toast-top, 92px);
    right: var(--hp-cart-toast-right, 28px);
    z-index: 10050;
    display: grid;
    width: min(340px, calc(100vw - 32px));
    gap: 7px;
    padding: 15px 18px 16px;
    border: 1px solid rgba(235, 188, 0, 0.52);
    border-radius: 12px;
    background: rgba(5, 6, 4, 0.94);
    color: #f5f0e6;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

body.single-product a.hp-cart-toast:hover,
body.single-product a.hp-cart-toast:focus-visible {
    border-color: var(--hp-accent);
    color: #f5f0e6;
    text-decoration: none;
    transform: translateY(0) scale(1.01);
}

body.single-product .hp-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.single-product .hp-cart-toast::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(235, 188, 0, 0.52);
    border-left: 1px solid rgba(235, 188, 0, 0.52);
    background: rgba(5, 6, 4, 0.94);
    transform: rotate(45deg);
}

body.single-product .hp-cart-toast strong {
    color: var(--hp-accent);
    font-family: var(--h-font-cinzel);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .hp-cart-toast span {
    color: #f5f0e6;
    font-family: var(--h-font-cormorant);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

body.single-product .h-cart-count.hp-cart-count-bump {
    animation: hpCartCountBump 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes hpCartCountBump {
    0% {
        transform: scale(1);
    }
    38% {
        transform: scale(1.42);
    }
    100% {
        transform: scale(1);
    }
}

body.single-product .historicum-product-shell {
    position: relative;
    z-index: 1;
    display: block !important;
    width: min(94vw, 1480px);
    max-width: 1480px;
    margin: 118px auto 240px;
    padding: 0;
    background: var(--hp-paper) !important;
    background-color: var(--hp-paper) !important;
    box-shadow: none;
    filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.34));
    overflow: visible;
    isolation: isolate;
    list-style: none;
}

body.single-product .historicum-product-shell *,
body.single-product .historicum-product-shell *::before,
body.single-product .historicum-product-shell *::after {
    box-sizing: border-box;
}

body.single-product .historicum-product-shell::before,
body.single-product .historicum-product-shell::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--hp-paper) !important;
    background-color: var(--hp-paper) !important;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: var(--hp-rip-mask);
    -webkit-mask-size: 140% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-mode: alpha;
    mask-image: var(--hp-rip-mask);
    mask-size: 140% 100%;
    mask-repeat: no-repeat;
    mask-mode: alpha;
}

body.single-product .historicum-product-shell::before {
    top: -55px;
    -webkit-mask-position: 38% bottom;
    mask-position: 38% bottom;
}

body.single-product .historicum-product-shell::after {
    bottom: -55px;
    transform: scaleY(-1);
    -webkit-mask-position: 62% bottom;
    mask-position: 62% bottom;
}

body.single-product .historicum-product-paper {
    position: relative;
    z-index: 2;
    display: block;
    padding: 54px 60px 64px;
    background: var(--hp-paper) !important;
    background-color: var(--hp-paper) !important;
    box-shadow: none;
    opacity: 1 !important;
}

body.single-product .hp-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px;
    align-items: stretch !important;
}

body.single-product .hp-left-column,
body.single-product .hp-buybox,
body.single-product .historicum-product-shell .summary.entry-summary,
body.single-product div.product .summary.entry-summary {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

body.single-product .hp-left-column,
body.single-product .hp-buybox {
    align-self: stretch !important;
    min-height: clamp(742px, 58vw, 900px);
}

body.single-product .hp-left-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.single-product .hp-buybox {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    justify-content: stretch;
    gap: 14px;
}

body.single-product .hp-buybox .product_title,
body.single-product .hp-buybox .hp-cart-card,
body.single-product .hp-buybox .historicum-wait-card {
    flex: 0 0 auto;
}

body.single-product .hp-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
}

body.single-product .hp-categories a,
body.single-product .hp-cat-sep {
    color: var(--hp-text-muted);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}

body.single-product .hp-categories a:hover {
    color: var(--hp-accent);
}

body.single-product .hp-gallery {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    height: 100%;
    min-height: inherit;
    flex: 1 1 auto;
    min-width: 0;
}

body.single-product .hp-gallery.has-single-image {
    grid-template-rows: minmax(0, 1fr);
}

body.single-product .woocommerce-product-gallery__trigger,
body.single-product .zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.single-product .hp-sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 12px;
    background: var(--hp-accent);
    color: var(--hp-text);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.single-product .hp-main-image {
    --hp-zoom-x: 50%;
    --hp-zoom-y: 50%;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 6px;
    background-color: var(--hp-paper-soft);
}

body.single-product .hp-gallery.has-single-image .hp-main-image {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
}

body.single-product .hp-main-image-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    touch-action: pan-y;
}

body.single-product .hp-main-image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 1;
    transform: scale(1);
    transform-origin: var(--hp-zoom-x) var(--hp-zoom-y);
    transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 0.8, 0.22, 1), transform-origin 80ms linear;
    will-change: transform, transform-origin;
}

body.single-product .hp-main-image.is-switching .hp-main-image-img {
    opacity: 0;
}

body.single-product .hp-main-image.is-zooming .hp-main-image-img {
    transform: scale(1.78);
}

body.single-product .hp-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.single-product .hp-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

body.single-product .hp-gallery-thumb {
    display: block;
    flex: 0 0 calc((100% - 20px) / 3);
    width: calc((100% - 20px) / 3);
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    border-radius: 4px;
    background: var(--hp-paper-soft);
    cursor: pointer;
    opacity: 0.68;
    transition: border-color 0.18s ease, opacity 0.18s ease;
}

body.single-product .hp-gallery-thumb:hover,
body.single-product .hp-gallery-thumb.is-active {
    border-color: var(--hp-accent);
    opacity: 1;
}

body.single-product .hp-gallery-thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.single-product .hp-gallery .woocommerce-product-gallery {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

body.single-product .hp-gallery .woocommerce-product-gallery__wrapper,
body.single-product .hp-gallery .flex-viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--hp-border);
    border-radius: 6px;
    background: var(--hp-paper-soft);
}

body.single-product .hp-gallery .woocommerce-product-gallery__image {
    aspect-ratio: 4 / 5;
    min-height: 520px;
    background: var(--hp-paper-soft);
}

body.single-product .hp-gallery .woocommerce-product-gallery__image a {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: default;
    pointer-events: none;
}

body.single-product .hp-gallery .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.single-product .hp-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.single-product .hp-gallery .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}

body.single-product .hp-gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--hp-border);
    border-radius: 4px;
    opacity: 0.68;
    cursor: pointer;
    transition: border-color 0.18s ease, opacity 0.18s ease;
}

body.single-product .hp-gallery .flex-control-thumbs img:hover,
body.single-product .hp-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--hp-accent);
    opacity: 1;
}

body.single-product .hp-gallery .onsale {
    display: none !important;
}

body.single-product .historicum-product-shell .product_title,
body.single-product .hp-buybox .product_title,
body.single-product div.product .product_title {
    margin: 0 0 2px;
    color: #000000 !important;
    font-family: var(--h-font-cinzel);
    font-size: clamp(40px, 3.8vw, 48px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-fill-color: #000000;
    text-rendering: geometricPrecision;
}

body.single-product .hp-product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

body.single-product .hp-product-title-main {
    min-width: 0;
}

body.single-product .hp-product-title-main .product_title {
    margin-bottom: 0;
}

body.single-product .hp-current-rating {
    flex: 0 0 194px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--hp-text);
    text-align: right;
}

body.single-product .hp-current-rating-label,
body.single-product .hp-current-rating-score {
    display: block;
    font-family: var(--h-font-cinzel);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .hp-current-rating-stars {
    display: block;
    margin: 8px 0 6px;
    color: #ebbc00;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

body.single-product .hp-current-rating-score {
    font-size: 18px;
    letter-spacing: 0.03em;
}

body.single-product .hp-info-card,
body.single-product .historicum-wait-card {
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    background: var(--hp-paper-soft) !important;
    background-color: var(--hp-paper-soft) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.single-product .hp-info-card:hover,
body.single-product .historicum-wait-card:hover {
    border-color: var(--hp-border) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
}

body.single-product .hp-customization-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 10px;
    flex: 1 1 auto !important;
    align-items: stretch;
}

body.single-product .hp-customization-options,
body.single-product .hp-specs--buybox {
    min-height: 100%;
    padding: 22px 22px 18px;
}

body.single-product .hp-customization-options .hp-section-title,
body.single-product .hp-specs--buybox .hp-section-title {
    margin-bottom: 18px;
    font-size: 20px;
    letter-spacing: 0.08em;
}

body.single-product .hp-addon-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.single-product .hp-addon-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.single-product .hp-addon-label {
    color: var(--hp-text);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .hp-addon-label .required {
    color: #a43f35;
}

body.single-product .hp-addon-select,
body.single-product .hp-addon-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 40px 10px 14px;
    border: 1px solid var(--hp-border-strong);
    border-radius: 4px;
    background-color: #fffaf0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a4339' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    background-size: 12px;
    color: #111111 !important;
    font-family: var(--h-font-instrument);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

body.single-product .hp-addon-select option {
    background: #ffffff;
    color: #111111;
    font-family: var(--h-font-instrument);
    font-weight: 600;
}

body.single-product .hp-addon-select:focus,
body.single-product .hp-addon-input:focus {
    outline: none;
    border-color: var(--hp-accent);
}

body.single-product .hp-addon-input {
    background-image: none;
}

body.single-product .hp-customization-specs-grid--single {
    grid-template-columns: 1fr;
}

body.single-product .hp-yith-customization-options .hp-section-title,
body.single-product .hp-customization-options--yith .hp-section-title {
    margin-bottom: 18px;
    font-size: 20px;
    letter-spacing: 0.08em;
}

body.single-product .hp-yith-customization-options .hp-yith-addon-fields,
body.single-product .hp-customization-options--yith .hp-yith-addon-fields,
body.single-product .hp-yith-customization-options #yith-wapo-container,
body.single-product .hp-customization-options--yith #yith-wapo-container,
body.single-product .hp-yith-customization-options .yith-wapo-container,
body.single-product .hp-customization-options--yith .yith-wapo-container,
body.single-product .hp-yith-customization-options .yith-wapo-block,
body.single-product .hp-customization-options--yith .yith-wapo-block,
body.single-product .hp-yith-customization-options #yith_wapo_groups_container,
body.single-product .hp-customization-options--yith #yith_wapo_groups_container,
body.single-product .hp-yith-customization-options .ywapo_group_container,
body.single-product .hp-customization-options--yith .ywapo_group_container {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

body.single-product .hp-yith-customization-options .yith-wapo-addon,
body.single-product .hp-customization-options--yith .yith-wapo-addon,
body.single-product .hp-yith-customization-options .ywapo_input_container,
body.single-product .hp-customization-options--yith .ywapo_input_container {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    float: none !important;
    clear: none !important;
}

body.single-product .hp-yith-customization-options .addon-header,
body.single-product .hp-customization-options--yith .addon-header,
body.single-product .hp-yith-customization-options .label_container,
body.single-product .hp-customization-options--yith .label_container {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .hp-yith-customization-options .wapo-addon-title,
body.single-product .hp-customization-options--yith .wapo-addon-title,
body.single-product .hp-yith-customization-options .yith-wapo-addon-title,
body.single-product .hp-customization-options--yith .yith-wapo-addon-title,
body.single-product .hp-yith-customization-options .yith-wapo-addon-label,
body.single-product .hp-customization-options--yith .yith-wapo-addon-label,
body.single-product .hp-yith-customization-options .ywapo_label,
body.single-product .hp-customization-options--yith .ywapo_label,
body.single-product .hp-yith-customization-options .hp-yith-field-title,
body.single-product .hp-customization-options--yith .hp-yith-field-title,
body.single-product .hp-yith-customization-options .addon-header > label,
body.single-product .hp-customization-options--yith .addon-header > label,
body.single-product .hp-yith-customization-options .label_container > label,
body.single-product .hp-customization-options--yith .label_container > label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 5px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(17, 17, 17, 0.22) !important;
    background: transparent !important;
    color: var(--hp-text) !important;
    font-family: var(--h-font-cinzel) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
}

body.single-product .hp-yith-customization-options .yith-wapo-options,
body.single-product .hp-customization-options--yith .yith-wapo-options,
body.single-product .hp-yith-customization-options .options,
body.single-product .hp-customization-options--yith .options,
body.single-product .hp-yith-customization-options .options-container,
body.single-product .hp-customization-options--yith .options-container {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

body.single-product .hp-yith-customization-options select,
body.single-product .hp-customization-options--yith select,
body.single-product .hp-yith-customization-options .hp-yith-addon-select,
body.single-product .hp-customization-options--yith .hp-yith-addon-select,
body.single-product .hp-yith-customization-options input[type="text"],
body.single-product .hp-customization-options--yith input[type="text"],
body.single-product .hp-yith-customization-options input[type="number"],
body.single-product .hp-customization-options--yith input[type="number"],
body.single-product .hp-yith-customization-options textarea,
body.single-product .hp-customization-options--yith textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.single-product .hp-yith-customization-options select,
body.single-product .hp-customization-options--yith select,
body.single-product .hp-yith-customization-options .hp-yith-addon-select,
body.single-product .hp-customization-options--yith .hp-yith-addon-select {
    display: block !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 38px 9px 12px !important;
    border: 1px solid var(--hp-border-strong) !important;
    border-radius: 4px !important;
    background-color: #fffaf0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a4339' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 14px) center !important;
    background-size: 12px !important;
    color: #111111 !important;
    font-family: var(--h-font-readable, var(--h-font-instrument)) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.single-product .hp-yith-customization-options select option,
body.single-product .hp-customization-options--yith select option {
    background: #ffffff;
    color: #111111;
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: 13px;
    font-weight: 400;
}

body.single-product .hp-yith-customization-options select:focus,
body.single-product .hp-customization-options--yith select:focus,
body.single-product .hp-yith-customization-options .hp-yith-addon-select:focus,
body.single-product .hp-customization-options--yith .hp-yith-addon-select:focus {
    outline: none;
    border-color: var(--hp-accent) !important;
}

body.single-product .hp-yith-customization-options input[type="text"],
body.single-product .hp-customization-options--yith input[type="text"],
body.single-product .hp-yith-customization-options input[type="number"],
body.single-product .hp-customization-options--yith input[type="number"],
body.single-product .hp-yith-customization-options textarea,
body.single-product .hp-customization-options--yith textarea {
    min-height: 44px !important;
    padding: 9px 12px !important;
    border: 1px solid var(--hp-border-strong) !important;
    border-radius: 4px !important;
    background-color: #fffaf0 !important;
    color: #111111 !important;
    font-family: var(--h-font-readable, var(--h-font-instrument)) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

body.single-product .hp-yith-customization-options textarea,
body.single-product .hp-customization-options--yith textarea {
    min-height: 96px !important;
    resize: vertical;
}

body.single-product .hp-yith-customization-options .option-price,
body.single-product .hp-customization-options--yith .option-price,
body.single-product .hp-yith-customization-options .yith-wapo-option-price,
body.single-product .hp-customization-options--yith .yith-wapo-option-price,
body.single-product .hp-yith-customization-options .ywapo_option_price,
body.single-product .hp-customization-options--yith .ywapo_option_price,
body.single-product .hp-yith-customization-options .price,
body.single-product .hp-customization-options--yith .price,
body.single-product .hp-yith-customization-options .description,
body.single-product .hp-customization-options--yith .description,
body.single-product .hp-yith-customization-options .clear,
body.single-product .hp-customization-options--yith .clear {
    display: none !important;
}

body.single-product .hp-yith-customization-options #wapo-total-price-table,
body.single-product .hp-customization-options--yith #wapo-total-price-table,
body.single-product .hp-yith-customization-options .wapo-total-price-table,
body.single-product .hp-customization-options--yith .wapo-total-price-table,
body.single-product .hp-yith-customization-options .yith-wapo-total-order,
body.single-product .hp-customization-options--yith .yith-wapo-total-order,
body.single-product .hp-yith-customization-options .yith-wapo-total-price,
body.single-product .hp-customization-options--yith .yith-wapo-total-price,
body.single-product .hp-yith-customization-options .yith-wapo-total,
body.single-product .hp-customization-options--yith .yith-wapo-total {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

body.single-product .hp-yith-customization-options .hp-yith-addon-dropdown-ready .hp-yith-native-choice-row,
body.single-product .hp-customization-options--yith .hp-yith-addon-dropdown-ready .hp-yith-native-choice-row,
body.single-product .hp-yith-customization-options .hp-yith-addon-dropdown-ready .yith-wapo-option:not(.hp-yith-select-host),
body.single-product .hp-customization-options--yith .hp-yith-addon-dropdown-ready .yith-wapo-option:not(.hp-yith-select-host),
body.single-product .hp-yith-customization-options .hp-yith-addon-dropdown-ready .ywapo_option:not(.hp-yith-select-host),
body.single-product .hp-customization-options--yith .hp-yith-addon-dropdown-ready .ywapo_option:not(.hp-yith-select-host) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

body.single-product .hp-spec-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    border-top: 0;
}

body.single-product .hp-spec-row {
    display: grid;
    grid-template-columns: minmax(100px, 0.42fr) minmax(0, 0.58fr);
    gap: 12px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--hp-border);
}

body.single-product .hp-spec-row:last-child {
    border-bottom: 0;
}

body.single-product .hp-spec-label,
body.single-product .hp-spec-value {
    margin: 0;
}

body.single-product .hp-spec-label {
    color: var(--hp-text-muted);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.single-product .hp-spec-value {
    color: var(--hp-text);
    font-family: var(--h-font-cormorant);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

body.single-product .hp-tags,
body.single-product .hp-fit-for {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--hp-border);
}

body.single-product .hp-tags-label {
    margin: 0 0 10px;
    color: var(--hp-text-muted);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.single-product .hp-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.single-product .hp-tags-list a,
body.single-product .hp-tags-list span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 4px 13px;
    border: 1px solid var(--hp-border-strong);
    border-radius: 999px;
    color: var(--hp-text-soft);
    font-family: var(--h-font-cormorant);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.single-product .hp-fit-for .hp-tags-list span {
    border-color: rgba(235, 188, 0, 0.62);
    background: rgba(235, 188, 0, 0.13);
    color: var(--hp-text);
}

body.single-product .hp-buybox .hp-specs--summary {
    display: none;
}

body.single-product .hp-purchase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

body.single-product .hp-purchase-grid > .hp-cart-card {
    grid-column: 1;
}

body.single-product .hp-purchase-grid .hp-cart-card {
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px 18px 22px;
    border-color: rgba(235, 188, 0, 0.42) !important;
    background: var(--hp-paper-soft) !important;
    background-color: var(--hp-paper-soft) !important;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(235, 188, 0, 0.18),
        0 0 22px rgba(235, 188, 0, 0.12) !important;
}

body.single-product .hp-cart-price-col {
    display: flex;
    width: 100%;
    min-height: 170px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

body.single-product .hp-price-stack {
    display: grid;
    width: min(100%, 280px);
    min-height: 142px;
    grid-template-rows: auto minmax(104px, 1fr) auto;
    align-items: center;
    justify-items: center;
    gap: 8px;
}

body.single-product .hp-cart-label {
    display: block;
    color: var(--hp-text-muted);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .hp-price-stack > .hp-cart-label {
    align-self: end;
    color: #111111;
    font-size: clamp(13px, 0.95vw, 16px);
    font-weight: 800;
}

body.single-product .hp-price-block,
body.single-product .hp-cart-card .hp-price-block {
    display: flex;
    width: 100%;
    min-height: 104px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}

body.single-product .historicum-product-shell .price,
body.single-product div.product .price,
body.single-product .hp-price-block .price {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 2px;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 0;
    color: var(--hp-text);
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: clamp(23px, 1.75vw, 29px);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

body.single-product .historicum-product-shell .price del,
body.single-product div.product .price del,
body.single-product .hp-price-block .price del {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    color: var(--hp-text-muted);
    font-size: 20px;
    font-weight: 400;
    opacity: 0.72;
}

body.single-product .historicum-product-shell .price ins,
body.single-product div.product .price ins,
body.single-product .hp-price-block .price ins,
body.single-product .hp-price-block .price > .woocommerce-Price-amount {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    color: var(--hp-text);
    background: transparent;
    font-size: clamp(25px, 1.9vw, 31px);
    font-weight: 800;
    text-decoration: none;
}

body.single-product .h-lowest-price-note,
body.single-product .hp-price-block .price .h-lowest-price-note {
    grid-column: 1 / -1;
    grid-row: 3;
    position: static;
    display: block;
    justify-self: center;
    margin: 0;
    color: #7a7164 !important;
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.05;
    opacity: 0.72;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

body.single-product .h-lowest-price-note *,
body.single-product .h-lowest-price-note .amount,
body.single-product .h-lowest-price-note .woocommerce-Price-amount,
body.single-product .h-lowest-price-note .woocommerce-Price-amount bdi,
body.single-product .h-lowest-price-note .woocommerce-Price-currencySymbol,
body.single-product .hp-price-block .price .h-lowest-price-note *,
body.single-product .hp-price-block .price .h-lowest-price-note .amount,
body.single-product .hp-price-block .price .h-lowest-price-note .woocommerce-Price-amount,
body.single-product .hp-price-block .price .h-lowest-price-note .woocommerce-Price-amount bdi,
body.single-product .hp-price-block .price .h-lowest-price-note .woocommerce-Price-currencySymbol {
    color: #7a7164 !important;
    font-family: var(--h-font-readable, var(--h-font-instrument)) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    text-decoration: none !important;
}

body.single-product .hp-price-saving {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 4px 9px;
    border: 1px solid rgba(17, 17, 17, 0.42);
    border-radius: 999px;
    background: var(--hp-accent);
    color: var(--hp-text);
    font-family: var(--h-font-instrument);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

body.single-product .hp-cart-form-col {
    display: flex;
    width: 100%;
    min-width: 0;
    align-self: stretch;
    align-items: center !important;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center !important;
}

body.single-product .historicum-product-shell form.cart,
body.single-product div.product form.cart,
body.single-product .hp-purchase-grid .hp-cart-form-col form.cart,
body.single-product .hp-purchase-grid .hp-cart-form-col form.hp-cart-actions,
body.single-product .hp-purchase-grid .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

body.single-product .hp-cart-quantity-field {
    display: flex;
    width: min(100%, 196px) !important;
    min-width: 0 !important;
    max-width: 196px !important;
    flex-direction: column;
    align-self: center !important;
    gap: 9px;
    margin-bottom: 4px !important;
    box-sizing: border-box;
}

body.single-product .hp-cart-label--amount {
    white-space: nowrap;
}

body.single-product .historicum-product-shell form.cart .quantity,
body.single-product div.product form.cart .quantity,
body.single-product .hp-purchase-grid .quantity.hp-quantity-control {
    display: flex !important;
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hp-border-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.28);
    float: none !important;
    overflow: hidden;
}

body.single-product .historicum-product-shell form.cart .quantity::before,
body.single-product div.product form.cart .quantity::before {
    content: none !important;
    display: none !important;
}

body.single-product .historicum-product-shell form.cart .quantity .qty,
body.single-product div.product form.cart .quantity .qty,
body.single-product .hp-purchase-grid .hp-quantity-control .qty {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 36px !important;
    padding: 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--hp-text);
    font-family: var(--h-font-instrument);
    font-size: 15px !important;
    font-weight: 400;
    line-height: 36px !important;
    text-align: center;
}

body.single-product .hp-qty-step {
    display: inline-flex;
    width: 36px;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--hp-text);
    font-family: var(--h-font-instrument);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

body.single-product .hp-qty-step:hover {
    background: #111111;
    color: var(--hp-accent);
}

body.single-product .historicum-product-shell form.cart .single_add_to_cart_button,
body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product .hp-purchase-grid .hp-cart-form-col form.hp-cart-actions .single_add_to_cart_button,
body.single-product .hp-purchase-grid .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
body.single-product .hp-purchase-grid .hp-cart-form-col form.cart > .single_add_to_cart_button {
    display: inline-flex !important;
    width: min(100%, 196px) !important;
    min-width: 0 !important;
    max-width: 196px !important;
    min-height: 48px !important;
    height: auto !important;
    align-items: center;
    justify-content: center;
    align-self: center !important;
    margin-top: 10px !important;
    padding: 0 14px;
    border: 1px solid rgba(17, 17, 17, 0.58);
    border-radius: 8px;
    background: var(--hp-accent);
    background-image: linear-gradient(90deg, #111111 0%, #111111 50%, var(--hp-accent) 50%, var(--hp-accent) 100%);
    background-position: 100% 0;
    background-size: 220% 100%;
    color: var(--hp-text);
    font-family: var(--h-font-instrument);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    float: none !important;
    clear: none !important;
    box-shadow: none;
    white-space: nowrap !important;
    transition: background-position 0.28s cubic-bezier(0.25, 0.9, 0.25, 1), color 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
}

body.single-product .historicum-product-shell form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart .single_add_to_cart_button:hover {
    border-color: #111111;
    background-position: 0 0;
    color: var(--hp-accent);
    transform: none;
}

body.single-product .historicum-product-shell form.cart .single_add_to_cart_button:active,
body.single-product div.product form.cart .single_add_to_cart_button:active {
    transform: translateY(1px);
    box-shadow: none;
}

body.single-product .historicum-product-shell form.cart .single_add_to_cart_button.disabled,
body.single-product .historicum-product-shell form.cart .single_add_to_cart_button:disabled,
body.single-product div.product form.cart .single_add_to_cart_button.disabled,
body.single-product div.product form.cart .single_add_to_cart_button:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

body.single-product .hp-quantity-control input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

body.single-product .hp-quantity-control input[type="number"]::-webkit-inner-spin-button,
body.single-product .hp-quantity-control input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

body.single-product .historicum-product-shell form.cart .quantity .minus:not(.hp-qty-step),
body.single-product .historicum-product-shell form.cart .quantity .plus:not(.hp-qty-step),
body.single-product .historicum-product-shell form.cart .quantity .qty-button:not(.hp-qty-step),
body.single-product .historicum-product-shell form.cart .quantity .quantity-button:not(.hp-qty-step),
body.single-product .historicum-product-shell form.cart .quantity button:not(.hp-qty-step):not([type="submit"]) {
    display: none !important;
}

body.single-product .historicum-wait-title,
body.single-product .historicum-wait-source,
body.single-product .historicum-wait-note {
    display: none !important;
}

body.single-product .historicum-wait-eyebrow::before,
body.single-product .historicum-wait-meta-label::before {
    content: none !important;
    display: none !important;
}

/* Lower sections sit on the continuous paper layer. The paper provides the
   cream background for the whole shell; "What it is" and "Recent reviews"
   get a transparent card box on top of it so you see paper THROUGH them,
   with just a 1px border + drop-shadow defining each box. The related
   rails section stays as plain paper surface (no card). */
body.single-product .hp-content-section,
body.single-product .historicum-product-reviews {
    width: auto;
    margin: 32px 28px 0;
    padding: 34px 38px;
    border: 1px solid var(--hp-border) !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    clear: both;
    float: none !important;
}

body.single-product .hp-product-rails {
    width: 100%;
    margin: 0;
    padding: 60px 0 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    clear: both;
    float: none !important;
}

body.single-product .hp-description {
    margin-top: 0;
}

body.single-product .hp-section-title,
body.single-product .historicum-product-reviews h2,
body.single-product .hp-product-rail h2,
body.single-product .hp-product-rail .related > h2 {
    margin: 0 0 18px;
    color: var(--hp-text);
    font-family: var(--h-font-cinzel);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
}

body.single-product .hp-description-body {
    color: var(--hp-text-soft);
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: 18px;
    line-height: 1.68;
}

body.single-product .hp-description-body p {
    margin: 0 0 14px;
}

body.single-product .hp-description-body p:last-child {
    margin-bottom: 0;
}

body.single-product .hp-product-rails {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    overflow: hidden;
}

body.single-product .historicum-product-reviews + .hp-product-rails {
    padding-top: 18px;
}

body.single-product .hp-product-rail-carousel {
    margin-right: 0;
    margin-left: 0;
}

body.single-product .hp-product-rail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: end;
    justify-content: space-between;
    margin: 0 0 24px;
    padding: 0 66px;
}

body.single-product .hp-product-rail-header h2 {
    margin: 0;
}

body.single-product .hp-product-rail-header p {
    max-width: 360px;
    margin: 0 0 4px;
    color: var(--hp-text-muted);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.single-product .hp-related-hero-carousel {
    margin: 0;
    overflow: hidden;
}

body.single-product .hp-related-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2px 0 0;
}

body.single-product .hp-related-carousel {
    display: flex;
    gap: 24px;
    align-items: stretch;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-behavior: auto;
    touch-action: pan-y;
}

body.single-product .hp-related-carousel.is-dragging,
body.single-product .hp-related-carousel.is-dragging * {
    cursor: grabbing !important;
    user-select: none;
}

body.single-product .hp-related-slide {
    position: relative;
    flex: 0 0 clamp(232px, 23vw, 318px);
    min-width: 232px;
    padding: 0;
}

body.single-product .hp-related-bs-card,
body.single-product .hp-related-product-card,
body.single-product .h-bs-card {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.78);
    border-radius: 10px;
    background: #0b0b0b;
    color: inherit;
    cursor: default;
    text-decoration: none;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.32) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.single-product .hp-related-bs-card:hover,
body.single-product .hp-related-product-card:hover,
body.single-product .h-bs-card:hover {
    border-color: var(--hp-accent);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.39) !important;
    transform: none;
}

body.single-product .hp-related-bs-card .h-bs-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 8px;
    background: var(--hp-accent);
    color: #111111;
    font-size: 14px;
    font-weight: 700;
}

body.single-product .hp-related-bs-card.is-sale::before {
    content: "SALE";
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 11px;
    background: var(--hp-accent);
    color: #111111;
    font-family: var(--h-font-cinzel);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

body.single-product .hp-related-bs-card .h-bs-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    isolation: isolate;
    background: #111111;
}

body.single-product .hp-related-bs-card .h-bs-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 !important;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.36s ease;
}

body.single-product .hp-related-bs-card .h-bs-image .h-card-image-secondary {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

body.single-product .hp-related-bs-card:hover .h-card-image-primary:not(.h-card-image-only) {
    opacity: 0;
}

body.single-product .hp-related-bs-card:hover .h-card-image-secondary {
    opacity: 1;
}

body.single-product .hp-related-bs-card:hover .h-bs-image img {
    transform: scale(1.05);
}

body.single-product .hp-related-bs-card .h-bs-image img.h-shop-card-watermark {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 4;
    width: 42px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    opacity: 0.98;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
    transition: none;
}

body.single-product .hp-related-bs-card:hover .h-bs-image img.h-shop-card-watermark {
    transform: none;
}

body.single-product .hp-related-bs-card .h-bs-info {
    position: relative;
    display: flex;
    min-height: 118px;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    overflow: hidden;
    padding: 10px 12px 12px;
    background: #000000;
}

body.single-product .hp-related-bs-card .h-bs-info::after,
body.single-product .hp-related-bs-card:hover .h-bs-info::after,
body.single-product .hp-related-bs-card.added::after,
body.single-product .hp-related-bs-card.is-added::after {
    content: none !important;
    display: none !important;
}

body.single-product .hp-related-bs-card .h-bs-title {
    min-height: 30px;
    margin: 0 0 6px;
    color: #ffffff;
    font-family: var(--h-font-instrument);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .hp-related-bs-card .h-bs-bottom-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    justify-content: space-between;
}

body.single-product .hp-related-bs-card .h-bs-reviews .h-stars,
body.single-product .hp-related-bs-card .h-bs-reviews .star-rating {
    color: var(--hp-accent);
    font-size: 11px;
    letter-spacing: 1.5px;
}

body.single-product .hp-related-bs-card .h-bs-price {
    display: inline-flex;
    min-height: 34px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 10px;
    border: 0.5px solid rgba(235, 188, 0, 0.9);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--hp-accent);
    font-family: var(--h-font-instrument);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

body.single-product .hp-related-bs-card .h-bs-price *,
body.single-product .hp-related-bs-card .h-bs-price .woocommerce-Price-amount {
    color: inherit !important;
    font-family: inherit;
    font-size: inherit;
    line-height: 1;
}

body.single-product .hp-related-bs-card .h-bs-price ins,
body.single-product .hp-related-bs-card .h-bs-price ins *,
body.single-product .hp-related-bs-card .h-bs-price > .woocommerce-Price-amount {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}

body.single-product .hp-related-bs-card .h-bs-price del {
    color: #ffffff !important;
    font-size: 0.58em;
    line-height: 1;
    opacity: 1;
    text-decoration: line-through;
}

body.single-product .hp-related-actions {
    position: absolute;
    top: auto !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 118px;
    min-height: 118px;
    max-height: 118px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.08s ease, transform 0.28s ease;
}

body.single-product .hp-related-bs-card:hover .hp-related-actions,
body.single-product .hp-related-bs-card.is-adding .hp-related-actions,
body.single-product .hp-related-bs-card.is-added .hp-related-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.single-product .hp-related-bs-card:not(:hover):not(.is-adding):not(.is-added) .hp-related-actions {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(100%);
}

body.single-product .hp-related-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 18px;
    border: 0;
    color: #111111 !important;
    font-family: var(--h-font-instrument), var(--h-font-cinzel);
    font-size: clamp(12px, 0.95vw, 16px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color 0.08s ease, color 0.08s ease, filter 0.08s ease;
}

body.single-product .hp-related-action-cart {
    background: #ebbc00 !important;
}

body.single-product .hp-related-action-view {
    background: #080907 !important;
    color: #fff8dd !important;
}

body.single-product .hp-related-action:hover,
body.single-product .hp-related-action:focus-visible {
    filter: brightness(1.08);
}

body.single-product .hp-related-bs-card.is-adding .hp-related-actions,
body.single-product .hp-related-bs-card.is-added .hp-related-actions {
    grid-template-columns: 1fr;
}

body.single-product .hp-related-bs-card.is-adding .hp-related-action-view,
body.single-product .hp-related-bs-card.is-added .hp-related-action-view {
    display: none !important;
}

body.single-product .hp-related-bs-card.is-adding .hp-related-action-cart,
body.single-product .hp-related-bs-card.is-added .hp-related-action-cart {
    grid-column: 1 / -1;
    background: #ebbc00 !important;
}

body.single-product .hp-related-bs-card.is-added .hp-related-action-cart::before {
    content: "\2713";
    margin-right: 0.5em;
    font-size: 1.08em;
    line-height: 1;
}

body.single-product .hp-related-carousel-wrapper .h-carousel-controls {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
    padding: 0 44px;
}

body.single-product .hp-related-carousel-wrapper .h-carousel-arrow,
body.single-product .historicum-product-review-controls .h-carousel-arrow {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1.5px solid var(--hp-text);
    border-radius: 999px;
    background: transparent;
    color: transparent;
    cursor: pointer;
    font-size: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.single-product .hp-related-carousel-wrapper .h-carousel-arrow:hover,
body.single-product .historicum-product-review-controls .h-carousel-arrow:hover,
body.single-product .historicum-product-review-controls .h-carousel-arrow:focus-visible {
    border-color: var(--hp-text);
    background: var(--hp-text);
    color: transparent;
    transform: none;
}

body.single-product .hp-related-carousel-wrapper .h-carousel-arrow::before,
body.single-product .historicum-product-review-controls .h-carousel-arrow::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--hp-text);
    border-right: 1.5px solid var(--hp-text);
    transition: border-color 0.2s ease;
}

body.single-product .hp-related-carousel-wrapper .h-carousel-arrow:hover::before,
body.single-product .historicum-product-review-controls .h-carousel-arrow:hover::before,
body.single-product .historicum-product-review-controls .h-carousel-arrow:focus-visible::before {
    border-color: var(--hp-paper);
}

body.single-product .hp-related-carousel-wrapper .h-carousel-prev::before,
body.single-product .historicum-product-review-controls .h-carousel-prev::before {
    transform: rotate(-135deg) translate(-1px, 1px);
}

body.single-product .hp-related-carousel-wrapper .h-carousel-next::before,
body.single-product .historicum-product-review-controls .h-carousel-next::before {
    transform: rotate(45deg) translate(-1px, 1px);
}

body.single-product .hp-related-carousel-wrapper .h-carousel-page-indicator {
    min-width: 46px;
    color: #111111;
    font-family: var(--h-font-cinzel);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body.single-product .historicum-product-reviews,
body.single-product .historicum-product-reviews:hover {
    margin-left: 28px !important;
    margin-right: 28px !important;
    padding: 34px 38px !important;
    border: 1px solid var(--hp-border) !important;
    border-radius: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.single-product .historicum-product-reviews-header {
    display: block !important;
    margin-bottom: 22px;
}

body.single-product .historicum-product-reviews--empty,
body.single-product .historicum-product-reviews--empty:hover {
    padding-bottom: 0 !important;
}

body.single-product .historicum-product-reviews--empty .historicum-product-reviews-header {
    margin-bottom: 14px;
}

body.single-product .historicum-product-review-empty {
    display: grid;
    gap: 8px;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 18px 20px;
    border: 1px solid var(--hp-border) !important;
    border-radius: 8px !important;
    background: var(--hp-paper-soft) !important;
    background-color: var(--hp-paper-soft) !important;
    color: var(--hp-text-soft);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    float: none !important;
    overflow: visible !important;
}

body.single-product .historicum-product-review-empty::before,
body.single-product .historicum-product-review-empty::after {
    content: none !important;
    display: none !important;
}

body.single-product .historicum-product-review-empty .historicum-review-stars {
    color: var(--hp-accent);
    font-size: 14px;
    letter-spacing: 1.5px;
    line-height: 1;
}

body.single-product .historicum-product-review-empty .historicum-review-author {
    color: var(--hp-text);
    font-family: var(--h-font-cinzel);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .historicum-product-review-empty p {
    margin: 0;
    color: var(--hp-text-soft);
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: 17px;
    line-height: 1.55;
}

body.single-product .historicum-product-reviews--empty + .hp-product-rails {
    padding-top: 18px !important;
}

body.single-product .historicum-product-card-kicker,
body.single-product .historicum-product-reviews-header p {
    display: none !important;
}

body.single-product .historicum-product-review-carousel {
    position: relative;
    overflow: visible;
    padding-bottom: 72px;
}

body.single-product .historicum-product-review-viewport {
    overflow: visible;
    clip-path: inset(0 0 -260px 0);
    padding-bottom: 20px;
}

body.single-product .historicum-product-review-track {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transform: translate3d(0, 0, 0);
    transition: transform 360ms cubic-bezier(0.22, 0.8, 0.22, 1);
    will-change: transform;
}

body.single-product .historicum-product-review-card,
body.single-product .historicum-product-review-card:hover {
    flex: 0 0 clamp(292px, 31.5%, 418px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 250px;
    overflow: visible;
    padding: 20px;
    border: 1px solid var(--hp-border) !important;
    border-radius: 8px !important;
    background: var(--hp-paper-soft) !important;
    background-color: var(--hp-paper-soft) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08) !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

body.single-product .historicum-product-review-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 76px;
}

body.single-product .historicum-product-review-person {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

body.single-product .historicum-product-review-card .historicum-review-body {
    width: calc(100% - 28px);
    margin: 0 auto;
}

body.single-product .historicum-product-review-card .historicum-review-text {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 0 0;
    border-top: 0;
    color: var(--hp-text-soft);
    font-family: var(--h-font-readable, var(--h-font-instrument));
    font-size: 18px;
    font-weight: 400;
    line-height: 1.68;
    overflow-wrap: anywhere;
}

body.single-product .historicum-product-review-card .historicum-review-body.has-review-more:not(.is-expanded) .historicum-review-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-width: 100%;
}

body.single-product .historicum-product-review-card .historicum-review-body.has-review-more.is-expanded .historicum-review-text {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

body.single-product .historicum-product-review-card .historicum-review-read-more {
    display: inline-flex;
    width: fit-content;
    margin: 8px 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--h-accent, #ebbc00);
    font-family: var(--h-font-cinzel);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

body.single-product .historicum-product-review-card .historicum-review-read-more:hover,
body.single-product .historicum-product-review-card .historicum-review-read-more:focus-visible {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.single-product .historicum-product-review-card .historicum-review-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(46%, 156px);
    height: 0.5px;
    background: rgba(17, 17, 17, 0.24);
}

body.single-product .historicum-product-review-card .historicum-review-stars {
    margin: 0;
    color: #ebbc00;
    font-size: clamp(24px, 1.8vw, 30px);
    letter-spacing: 0;
    line-height: 1;
}

body.single-product .historicum-product-review-card .historicum-review-author {
    margin: 0;
    color: var(--hp-text);
    font-family: var(--h-font-cinzel);
    font-size: 14.7px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.single-product .historicum-review-photo-link {
    flex: 0 0 76px;
    display: block;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid var(--hp-border);
    border-radius: 4px;
    overflow: hidden;
    background: var(--hp-paper);
    cursor: pointer;
}

body.single-product .historicum-review-photo-link .historicum-review-photo {
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
}

body.single-product .historicum-product-review-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    pointer-events: auto;
}

body.single-product .historicum-review-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.single-product .historicum-review-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.single-product .historicum-review-lightbox-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.84);
    cursor: pointer;
}

body.single-product .historicum-review-lightbox-frame {
    position: relative;
    z-index: 2;
    display: inline-flex;
    max-width: min(92vw, 1120px);
    max-height: 84vh;
}

body.single-product .historicum-review-lightbox img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 84vh;
    border: 1px solid rgba(245, 240, 230, 0.34);
    background: #000;
    object-fit: contain;
}

body.single-product .historicum-review-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(245, 240, 230, 0.34);
    background: #000;
    color: var(--hp-paper) !important;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

body.single-product .h-site-footer {
    margin-top: 0 !important;
    border-top: 0;
    background: #000000 !important;
    background-image: none !important;
}

/* ============================================================
   LAYOUT FIX - Purchase grid on left, stacked wait units on right
   Replaces previous dormant .hp-purchase-grid > .historicum-wait-card
   rules that never fired (wait card is a sibling of purchase grid,
   not a child). Promotes .hp-buybox to a CSS grid and uses named
   areas to place cart card on the left and wait card on the right.
   Wait card itself becomes a 2-row grid for equal-height units.
   ============================================================ */

body.single-product .hp-buybox:has(> .historicum-wait-card) {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title         title"
        "customization customization"
        "cart          wait";
    align-items: stretch;
    column-gap: 18px;
    row-gap: 14px;
    height: 100%;
    min-width: 0;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .hp-product-title-row {
    grid-area: title;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .hp-customization-specs-grid {
    grid-area: customization;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .hp-purchase-grid {
    grid-area: cart;
    grid-template-columns: 1fr !important;
    align-self: stretch;
    height: 100%;
    margin: 0 !important;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card {
    grid-area: wait;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 18px !important;
    align-self: stretch;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card > .historicum-wait-unit {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 22px;
    margin: 0 !important;
    border: 1px solid rgba(235, 188, 0, 0.38);
    border-radius: 8px;
    background: var(--hp-paper-soft) !important;
    background-color: var(--hp-paper-soft) !important;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(235, 188, 0, 0.16),
        0 0 20px rgba(235, 188, 0, 0.1);
    min-height: 0;
    height: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card > .historicum-wait-unit .historicum-wait-eyebrow,
body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card > .historicum-wait-unit .historicum-wait-meta-label {
    color: var(--hp-text) !important;
    font-family: var(--h-font-cinzel) !important;
    font-size: clamp(13px, 1vw, 16px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card > .historicum-wait-unit .historicum-wait-value,
body.single-product .hp-buybox:has(> .historicum-wait-card) > .historicum-wait-card > .historicum-wait-unit .historicum-wait-meta-value {
    color: var(--hp-text) !important;
    font-family: var(--h-font-cinzel) !important;
    font-size: clamp(20px, 1.35vw, 26px) !important;
    font-weight: 800 !important;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    body.single-product .historicum-product-paper {
        padding: 42px 34px 52px;
    }

    body.single-product .hp-hero {
        grid-template-columns: 1fr !important;
        align-items: start;
    }

    body.single-product .hp-left-column,
    body.single-product .hp-buybox {
        min-height: 0;
    }

    body.single-product .hp-buybox .hp-specs--summary,
    body.single-product .hp-buybox > .hp-customization-specs-grid {
        flex: 0 0 auto;
    }

    body.single-product .hp-gallery {
        display: grid;
        grid-template-rows: minmax(500px, auto) auto;
        height: auto;
    }

    body.single-product .hp-gallery.has-single-image {
        grid-template-rows: minmax(500px, auto);
    }

    body.single-product .hp-main-image,
    body.single-product .hp-gallery .woocommerce-product-gallery__image {
        min-height: 500px;
    }

    body.single-product .hp-gallery.has-single-image .hp-main-image {
        height: auto;
        min-height: 500px;
        aspect-ratio: 4 / 5;
    }

    body.single-product .hp-product-rails {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    body.single-product .hp-product-rail-header {
        padding-right: 66px;
        padding-left: 66px;
    }

    body.single-product .hp-related-carousel-wrapper .h-carousel-controls {
        padding-right: 0;
        padding-left: 0;
    }

    body.single-product .hp-customization-specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 820px) {
    body.single-product .historicum-product-shell {
        width: calc(100vw - 24px);
        margin-top: 94px;
        margin-bottom: 78px;
    }

    body.single-product .historicum-product-shell::before,
    body.single-product .historicum-product-shell::after {
        height: 42px;
    }

    body.single-product .historicum-product-shell::before {
        top: -41px;
    }

    body.single-product .historicum-product-shell::after {
        bottom: -41px;
    }

    body.single-product .historicum-product-paper {
        padding: 28px 18px 36px;
    }

    body.single-product .hp-hero {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body.single-product .hp-left-column,
    body.single-product .hp-buybox {
        min-height: 0 !important;
    }

    body.single-product .hp-buybox {
        gap: 14px !important;
    }

    /* Mobile: collapse the buybox grid to a single column with wait card last */
    body.single-product .hp-buybox:has(> .historicum-wait-card) {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "title"
            "customization"
            "cart"
            "wait" !important;
    }

    body.single-product .hp-product-title-row {
        margin-bottom: 8px !important;
    }

    body.single-product .historicum-product-shell .product_title,
    body.single-product div.product .product_title {
        font-size: 34px;
    }

    body.single-product .historicum-product-reviews-header {
        grid-template-columns: 1fr;
    }

    body.single-product .hp-main-image,
    body.single-product .hp-gallery .woocommerce-product-gallery__image {
        min-height: min(65vw, 380px);
    }

    body.single-product .hp-gallery,
    body.single-product .hp-gallery.has-single-image {
        grid-template-rows: minmax(min(65vw, 380px), auto) auto;
    }

    body.single-product .hp-gallery.has-single-image {
        grid-template-rows: minmax(min(65vw, 380px), auto);
    }

    body.single-product .hp-gallery.has-single-image .hp-main-image {
        min-height: min(65vw, 380px);
    }

    body.single-product .hp-content-section {
        margin: 20px 14px 0;
        padding: 24px 22px;
    }

    body.single-product .historicum-product-reviews {
        margin-top: 20px;
        margin-left: 14px;
        margin-right: 14px;
    }

    body.single-product .hp-product-rails {
        margin-top: 20px;
    }

    body.single-product .hp-product-rails {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
        overflow: visible;
    }

    body.single-product .historicum-product-reviews + .hp-product-rails {
        padding-top: 16px;
    }

    body.single-product .hp-spec-row {
        grid-template-columns: 1fr;
    }

    body.single-product .hp-product-rail-header {
        align-items: flex-start;
        flex-direction: column;
        padding-right: 36px;
        padding-left: 36px;
    }

    body.single-product .hp-product-rail-carousel {
        margin-right: 0;
        margin-left: 0;
    }

    body.single-product .hp-related-carousel {
        gap: 16px;
    }

    body.single-product .hp-related-carousel-wrapper {
        overflow: hidden;
        padding-right: 0;
        padding-left: 0;
    }

    body.single-product .hp-related-slide {
        flex-basis: min(78vw, 300px);
        min-width: min(78vw, 300px);
    }

    body.single-product .hp-related-carousel-wrapper .h-carousel-controls {
        justify-content: center;
        padding-right: 18px;
        padding-left: 18px;
    }

    body.single-product .hp-customization-options,
    body.single-product .hp-specs--buybox {
        padding: 18px;
    }

    body.single-product .hp-addon-fields {
        gap: 14px;
    }

    body.single-product .hp-addon-select,
    body.single-product .hp-addon-input {
        min-height: 42px;
        font-size: 16px;
    }

    body.single-product .hp-purchase-grid .hp-cart-form-col form.hp-cart-actions .single_add_to_cart_button,
    body.single-product .hp-purchase-grid .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
    body.single-product .hp-purchase-grid .hp-cart-form-col form.cart > .single_add_to_cart_button {
        margin-top: 14px !important;
    }
}

@media (max-width: 760px) {
    body.single-product .hp-product-title-row {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    body.single-product .hp-current-rating {
        flex: 0 0 auto;
        width: 100%;
        margin-left: 0;
        text-align: left;
    }

    body.single-product .historicum-product-reviews,
    body.single-product .historicum-product-reviews:hover {
        margin-left: 14px !important;
        margin-right: 14px !important;
        padding: 24px 22px !important;
    }

    body.single-product .historicum-product-review-carousel {
        padding-bottom: 0;
    }

    body.single-product .historicum-product-review-viewport {
        overflow: hidden;
        clip-path: none;
        padding-bottom: 0;
    }

    body.single-product .historicum-product-review-track {
        gap: 0;
        align-items: stretch;
    }

    body.single-product .historicum-product-review-card,
    body.single-product .historicum-product-review-card:hover {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        min-height: 260px;
    }

    body.single-product .historicum-product-review-controls {
        position: static;
        justify-content: center;
        margin: 16px auto 0;
    }

    body.single-product .historicum-review-photo-link {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 640px) {
    body.single-product .hp-cart-card {
        grid-template-columns: 1fr;
        max-width: none;
    }

    body.single-product .hp-cart-price-col,
    body.single-product .hp-cart-form-col {
        grid-column: 1;
    }

    body.single-product .hp-cart-form-col form.cart,
    body.single-product .hp-cart-form-col form.hp-cart-actions,
    body.single-product .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr !important;
    }

    body.single-product .hp-purchase-grid .hp-cart-quantity-field {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.single-product .hp-purchase-grid .hp-cart-form-col .single_add_to_cart_button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.single-product .hp-cart-form-col form.hp-cart-actions .quantity,
    body.single-product .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart .quantity,
    body.single-product .hp-cart-form-col form.cart > .quantity,
    body.single-product .hp-cart-form-col form.hp-cart-actions .single_add_to_cart_button,
    body.single-product .hp-cart-form-col form.cart .woocommerce-variation-add-to-cart .single_add_to_cart_button,
    body.single-product .hp-cart-form-col form.cart > .single_add_to_cart_button {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.single-product .hp-related-actions {
        position: static;
        height: auto;
        min-height: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    body.single-product .hp-related-action {
        min-height: 52px;
        padding: 12px;
    }
}

@media screen and (max-width: 767px) {
    body.single-product,
    body.historicum-single-product-page {
        overflow-x: clip !important;
        background-attachment: scroll, scroll !important;
    }

    body.single-product .historicum-product-shell {
        width: calc(100vw - 24px) !important;
        max-width: 1480px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        overflow: visible !important;
    }

    body.single-product .historicum-product-paper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body.single-product .hp-hero,
    body.single-product .hp-left-column,
    body.single-product .hp-buybox,
    body.single-product .hp-customization-specs-grid,
    body.single-product .hp-purchase-grid,
    body.single-product .hp-info-card,
    body.single-product .hp-content-section,
    body.single-product .historicum-product-reviews,
    body.single-product .hp-gallery,
    body.single-product .hp-main-image {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.single-product .hp-related-hero-carousel,
    body.single-product .hp-related-carousel-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.single-product .hp-product-rails {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        overflow: hidden !important;
    }

    body.single-product .hp-product-rail-header {
        padding-right: 36px !important;
        padding-left: 36px !important;
    }

    body.single-product .hp-related-carousel {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        scroll-padding-inline: 0 !important;
        scroll-snap-type: none !important;
        overscroll-behavior-x: contain !important;
        touch-action: pan-x pan-y !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    body.single-product .hp-related-carousel::-webkit-scrollbar {
        display: none !important;
    }

    body.single-product .hp-related-slide {
        flex-basis: min(78vw, 280px) !important;
        min-width: min(78vw, 280px) !important;
        max-width: min(78vw, 280px) !important;
    }

    body.single-product .hp-related-carousel-wrapper .h-carousel-controls {
        display: none !important;
    }

    body.single-product .h-site-footer {
        padding: 34px 18px 44px !important;
        background: #000000 !important;
    }

    body.single-product .h-site-footer-inner {
        max-width: 100%;
    }

    body.single-product .h-site-footer-body {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 16px 18px;
        padding-top: 0 !important;
        text-align: center;
    }

    body.single-product .h-site-footer-panel,
    body.single-product .h-site-footer-panel-left,
    body.single-product .h-site-footer-panel-right {
        display: contents !important;
        min-height: 0;
    }

    body.single-product .h-site-footer-nav-row,
    body.single-product .h-site-footer-nav-right {
        order: 1;
        width: auto;
    }

    body.single-product .h-site-footer-nav-row {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.single-product .h-site-footer-top-button {
        display: none !important;
    }

    body.single-product .h-site-footer-nav,
    body.single-product .h-site-footer-nav-left,
    body.single-product .h-site-footer-nav-right {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }

    body.single-product .h-site-footer-nav a {
        font-size: clamp(9px, 2.55vw, 11px);
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    body.single-product .h-site-footer-contact {
        order: 2;
        flex: 0 0 100%;
        margin-top: 4px;
        text-align: center;
    }

    body.single-product .h-site-footer-social {
        order: 3;
        flex: 0 0 100%;
        align-self: center;
        margin-top: 4px;
        text-align: center;
    }

    body.single-product .h-site-footer-social h2,
    body.single-product .h-site-footer-social p {
        text-align: center;
    }

    body.single-product .h-site-footer-social-links {
        justify-content: center;
    }

    body.single-product .h-site-footer-copy {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .hp-main-image-img,
    body.single-product .hp-related-actions,
    body.single-product .hp-cart-toast,
    body.single-product .historicum-product-review-track {
        transition: none !important;
    }
}