/* ==========================================================
   PRODUCT DETAIL — External styles
   ========================================================== */


/* Shop section */

.pd-page {
    background: #fff;
    font-family: var(--font-serif)
}

.pd-shop-section {
    padding: 5rem 0;
    background: #fff
}

.pd-shop-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 3.5rem;
    align-items: center;
    background: #f6f6f6;
    padding: 3.5rem;
    border-radius: 24px
}


/* Image + gallery thumbnails */

.pd-shop-image-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .75rem
}

.pd-shop-image {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f6f6f6;
    border-radius: 12px;
    padding: 1.5rem
}

.pd-shop-image img#pdPurchaseImage {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    transition: opacity .2s
}


/* Vertical thumbnail strip — left of main image */

.pd-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
    order: -1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 560px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
    padding-right: 2px;
    position: absolute;
    width: fit-content;
}

.pd-gallery-thumbnails::-webkit-scrollbar {
    width: 3px
}

.pd-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px
}

.pd-gallery-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color .2s, box-shadow .2s
}

.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.pd-gallery-thumb.active {
    border-color: #111;
    border-width: 2px;
    box-shadow: 0 0 0 1px #111
}

.pd-gallery-thumb:hover:not(.active) {
    border-color: #888
}


/* Card */

.pd-shop-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e9e4df;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .03)
}

/* "EDICIÓN LIMITADA DE 499 UNIDADES." — Nuevaweb_16: was .65rem grey and
   barely visible; now a maroon outlined badge so the limited run stands out. */
.pd-shop-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.35;
    text-transform: uppercase;
    color: #7A010B;
    border: 1px solid #7A010B;
    border-radius: 999px;
    padding: .38rem .9rem;
    margin-bottom: .9rem
}

.pd-shop-title {
    color: #111;
    font-size: 1.55rem !important;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1.1rem;
    letter-spacing: -.01em
}

.pd-shop-price-box {
    margin-bottom: 1.25rem
}

.pd-shop-price-box .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

.pd-shop-price-box .price del {
    color: #000;
    font-weight: 500
}

.pd-shop-price-box .price ins {
    text-decoration: none
}


/* Feature tags */

.pd-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.4rem
}

.pd-tag {
    background: #efeded;
    color: #555;
    font-size: .66rem;
    font-weight: 600;
    padding: .32rem .7rem;
    border-radius: 4px;
    letter-spacing: .05em
}

.pd-separator {
    height: 1px;
    background: #eee8e2;
    margin: 1.4rem 0 0 0;
}


/* Colour variant selector */

.woocommerce div.product form.cart {
    margin: 0 !important;
}


/* Hide WC native variation dropdowns when product has no custom colour variants */

.pd-shop-card:not(.has-custom-variants) .variations_form .variations {
    display: none !important
}

.pd-color-label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    color: #000;
    margin-bottom: .85rem;
    letter-spacing: .05em
}

.pd-color-label strong {
    font-weight: 800;
    color: #333
}

.pd-shop-variants {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap
}

.pd-shop-variant {
    width: 78px;
    height: 92px;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-shop-variant img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.pd-shop-variant.active {
    border: 2px solid #000;
    outline: none;
    border-radius: 12px;
}

.pd-shop-variant:hover:not(.active) {
    border-color: #aaa
}


/* Hide WC variation dropdowns when using the custom image selector */

.pd-shop-card.has-custom-variants .pd-add-to-cart-wrapper .variations,
.pd-shop-card.has-custom-variants .pd-add-to-cart-wrapper .reset_variations {
    display: none !important
}


/* WC add to cart */

.pd-add-to-cart-wrapper {
    margin-bottom: .5rem
}

.pd-add-to-cart-wrapper .single_add_to_cart_button,
.pd-add-to-cart-wrapper .button.alt,
.pd-add-to-cart-wrapper .button {
    width: 100%;
    min-height: 48px;
    border-radius: 50px;
    background: #111;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .2s;
    margin-top: .75rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.pd-add-to-cart-wrapper .single_add_to_cart_button:hover,
.pd-add-to-cart-wrapper .button:hover {
    background: #333
}

.pd-add-to-cart-wrapper .quantity {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem
}


/* Only 1 unit left: hide qty selector, show notice */

.pd-only-one-msg {
    display: inline-block;
    background: #f3f3f3;
    color: #111;
    font-size: .82rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 6px;
    margin: .75rem 0;
}

.pd-add-to-cart-wrapper.pd-only-one .quantity {
    display: none !important
}

.pd-add-to-cart-wrapper input.qty {
    width: 48px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: .4rem;
    font-size: .9rem
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    transition: background .15s
}

.qty-btn:hover {
    background: #f0f0f0
}

.pd-add-to-cart-wrapper .variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: .75rem
}

.pd-add-to-cart-wrapper .variations td,
.pd-add-to-cart-wrapper .variations th {
    padding: .35rem 0;
    vertical-align: middle
}

.pd-add-to-cart-wrapper .variations label {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #333
}

.pd-add-to-cart-wrapper .variations select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .5rem .75rem;
    font-size: .85rem;
    color: #333;
    background: #fff;
    cursor: pointer
}

.pd-add-to-cart-wrapper .reset_variations {
    font-size: .72rem;
    color: #888;
    text-decoration: underline;
    display: block;
    margin-top: .25rem
}


/* Mode toggle — full width row below the image+thumbnails pair */

.pd-mode-controls {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding: .75rem 0 0 0;
}

.pd-mode-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    min-width: 150px;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer
}

.pd-mode-toggle i {
    font-size: 1.35rem
}


/* Stock */

.pd-shop-card .stock,
.pd-shop-card .woocommerce-variation-availability {
    display: none !important;
}

.pd-stock-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font-size: .78rem;
    color: #666;
    margin-bottom: 1.75rem;
    font-family: 'Inter', sans-serif;
    flex-wrap: wrap
}

.pd-stock-status {
    font-weight: 600
}

.pd-stock-separator {
    color: #ccc;
    font-weight: 300
}

.pd-shipping-status {
    font-weight: 400;
    color: #777
}


/* Accordion */

.pd-accordion {
    border-top: 1px solid #eee8e2;
    margin-bottom: 1.5rem
}

.pd-accordion-item {
    border-bottom: 1px solid #eee8e2
}

.pd-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    transition: color .2s;
    font-family: var(--font-serif)
}

.pd-accordion-header:hover {
    color: #8d725b
}

.pd-accordion-header i {
    font-size: .75rem;
    color: #666;
    transition: transform .3s ease
}

.pd-accordion-item.active .pd-accordion-header i {
    transform: rotate(180deg)
}

.pd-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1)
}

.pd-accordion-body {
    padding-bottom: 1.2rem;
    font-size: .85rem;
    color: #555;
    line-height: 1.65;
    font-family: 'Inter', sans-serif
}

.pd-accordion-body h1,
.pd-accordion-body h2 {
    font-size: 1.05rem !important;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .6rem;
    color: #111;
    letter-spacing: -.01em
}

.pd-accordion-body h3,
.pd-accordion-body h4 {
    font-size: .9rem !important;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .5rem;
    color: #111
}

.pd-accordion-body h5,
.pd-accordion-body h6 {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .4rem;
    color: #333
}

.pd-accordion-body p {
    font-size: .85rem;
    margin: 0 0 .75rem;
    line-height: 1.65;
    color: #555
}

.pd-accordion-body p:last-child,
.pd-accordion-body h1:last-child,
.pd-accordion-body h2:last-child,
.pd-accordion-body h3:last-child,
.pd-accordion-body h4:last-child,
.pd-accordion-body h5:last-child,
.pd-accordion-body h6:last-child {
    margin-bottom: 0
}

.pd-accordion-body ul,
.pd-accordion-body ol {
    font-size: .85rem;
    padding-left: 1.25rem;
    margin: 0 0 .75rem;
    color: #555
}

.pd-accordion-body li {
    margin-bottom: .3rem;
    line-height: 1.6
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse
}

.pd-specs-table tr {
    border-bottom: 1px solid #f6f3f0
}

.pd-specs-table tr:last-child {
    border-bottom: none
}

.pd-specs-table td {
    padding: .5rem 0;
    font-size: .82rem
}

.pd-specs-table td:first-child {
    color: #888;
    width: 42%
}

.pd-specs-table td:last-child {
    color: #111;
    font-weight: 600
}


/* Engraving */


/* Engraving */

.pd-engraving-section {
    border: 1px solid #e9e4df;
    border-radius: 12px;
    padding: 1.5rem;
    background: #fff;
    margin: 1.5rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.pd-engraving-header {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.pd-engraving-icon {
    color: #111;
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-engraving-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.pd-engraving-text {
    text-align: left;
}

.pd-engraving-title {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.35rem;
}

.pd-engraving-desc {
    font-family: var(--font-serif), Georgia, serif;
    font-style: italic;
    font-size: 0.82rem;
    color: #555;
    margin: 0;
    line-height: 1.45;
}

.pd-engraving-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid #e2dcd8;
    border-radius: 8px;
    font-family: var(--font-serif), Georgia, serif;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    background: #fafaf9;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.pd-engraving-input::placeholder {
    font-family: var(--font-serif), Georgia, serif;
    font-style: italic;
    color: #777;
    opacity: 0.85;
}

.pd-engraving-input:focus {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.05);
}


/* ── Night mode ─────────────────────────────────────────────────────────── */

.pd-shop-section.is-night {
    background: #000
}

.pd-shop-section.is-night .pd-shop-grid {
    background: #0d0d0d
}


/* Image column */

.pd-shop-section.is-night .pd-shop-image {
    background: #0d0d0d
}

.pd-shop-section.is-night .pd-gallery-thumb {
    background: #1a1a1a;
    border-color: #333
}

.pd-shop-section.is-night .pd-gallery-thumb.active {
    border-color: #aaa;
    box-shadow: 0 0 0 1px #aaa
}


/* Night vision toggle button */

.pd-shop-section.is-night .pd-mode-controls {
    color: #fff
}

.pd-shop-section.is-night .pd-mode-toggle {
    color: #fff
}


/* Card */

.pd-shop-section.is-night .pd-shop-card {
    background: #111;
    border-color: #333;
    color: #fff
}

.pd-shop-section.is-night .pd-shop-eyebrow {
    color: #f0c9c9;
    border-color: #f0c9c9
}

.pd-shop-section.is-night .pd-shop-title {
    color: #fff
}

.pd-shop-section.is-night .pd-shop-price-box .price {
    color: #fff
}

.pd-shop-section.is-night .pd-shop-price-box .price del {
    color: #666
}

.pd-shop-section.is-night .pd-tag {
    background: #222;
    color: #bbb
}

.pd-shop-section.is-night .pd-separator {
    background: #333
}


/* Colour variant selector */

.pd-shop-section.is-night .pd-color-label {
    color: #fff
}

.pd-shop-section.is-night .pd-shop-variant {
    background: #1e1e1e;
    border-color: #333
}

.pd-shop-section.is-night .pd-shop-variant.active {
    border-color: #fff;
    background: #2a2a2a
}

.pd-shop-section.is-night .pd-variant-name {
    color: #aaa
}


/* Engraving */

.pd-shop-section.is-night .pd-engraving-section {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: none;
}

.pd-shop-section.is-night .pd-engraving-title {
    color: #fff;
}

.pd-shop-section.is-night .pd-engraving-icon {
    color: #fff;
}

.pd-shop-section.is-night .pd-engraving-desc {
    color: #888;
}

.pd-shop-section.is-night .pd-engraving-input {
    background: #111;
    border-color: #333;
    color: #fff;
}

.pd-shop-section.is-night .pd-engraving-input::placeholder {
    color: #666;
}

.pd-shop-section.is-night .pd-engraving-input:focus {
    border-color: #888;
}


/* PPOM Price Table Night Mode */

.pd-shop-section.is-night #ppom-price-container,
.pd-shop-section.is-night #ppom-price-container table,
.pd-shop-section.is-night #ppom-price-container table tr,
.pd-shop-section.is-night #ppom-price-container table th,
.pd-shop-section.is-night #ppom-price-container table td,
.pd-shop-section.is-night #ppom-price-container table span,
.pd-shop-section.is-night #ppom-price-container table strong {
    color: #fff !important;
    background-color: transparent !important;
    background: transparent !important;
    border-color: #333 !important;
}


/* Add to cart */

.pd-shop-section.is-night .pd-add-to-cart-wrapper .single_add_to_cart_button,
.pd-shop-section.is-night .pd-add-to-cart-wrapper .button {
    background: #fff;
    color: #000
}

.pd-shop-section.is-night .pd-add-to-cart-wrapper .single_add_to_cart_button:hover,
.pd-shop-section.is-night .pd-add-to-cart-wrapper .button:hover {
    background: #ddd
}

.pd-shop-section.is-night .qty-btn {
    background: #1e1e1e;
    border-color: #444;
    color: #fff
}

.pd-shop-image-wrapper .last-item {
    margin-top: auto;
}

.pd-shop-section.is-night .pd-add-to-cart-wrapper input.qty {
    background: #1e1e1e;
    border-color: #444;
    color: #fff
}


/* Stock info */

.pd-shop-section.is-night .pd-stock-separator {
    color: #555
}

.pd-shop-section.is-night .pd-shipping-status {
    color: #888
}


/* Accordion */

.pd-shop-section.is-night .pd-accordion-item {
    border-color: #333
}

.pd-shop-section.is-night .pd-accordion {
    border-color: #333
}

.pd-shop-section.is-night .pd-accordion-header {
    color: #fff
}

.pd-shop-section.is-night .pd-accordion-header i {
    color: #aaa
}

.pd-shop-section.is-night .pd-accordion-body,
.pd-shop-section.is-night .pd-accordion-body p,
.pd-shop-section.is-night .pd-accordion-body h1,
.pd-shop-section.is-night .pd-accordion-body h2,
.pd-shop-section.is-night .pd-accordion-body h3,
.pd-shop-section.is-night .pd-accordion-body h4,
.pd-shop-section.is-night .pd-accordion-body h5,
.pd-shop-section.is-night .pd-accordion-body h6,
.pd-shop-section.is-night .pd-accordion-body li {
    color: #bbb
}

.pd-shop-section.is-night .pd-specs-table td:first-child {
    color: #666
}

.pd-shop-section.is-night .pd-specs-table td:last-child {
    color: #ddd
}

.pd-shop-section.is-night .pd-specs-table tr {
    border-color: #2a2a2a
}


/* Video */

.pd-video-section {
    background: #000;
    padding: 4rem 0
}

.pd-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px
}

.pd-video-wrapper iframe,
.pd-video-wrapper video,
.pd-video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important
}


/* Artistry / description */

.pd-artistry-section {
    padding: 5rem 0 4.5rem;
    background: #fafaf9
}

.pd-artistry-eyebrow {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: .75rem
}

.pd-artistry-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-serif);
    line-height: 1.2;
    margin: 0 auto 2rem;
    color: #111;
    font-weight: 800;
    max-width: 700px
}

.pd-artistry-heading em {
    font-family: var(--font-ibarra, var(--font-serif));
    font-style: italic;
    font-weight: 400
}

.pd-full-description-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    color: #444;
    font-size: .95rem;
    font-family: 'Inter', sans-serif
}

.pd-full-description-text p {
    margin-bottom: 1.1em
}


/* Professional, responsive typography for editor content */

.pd-full-description-text h1,
.pd-full-description-text h2,
.pd-full-description-text h3,
.pd-full-description-text h4,
.pd-full-description-text h5,
.pd-full-description-text h6 {
    font-family: var(--font-serif);
    color: #111;
    font-weight: 700;
    line-height: 1.25;
    margin: .2em 0 .6em;
}

.pd-full-description-text h1:first-child,
.pd-full-description-text h2:first-child,
.pd-full-description-text h3:first-child,
.pd-full-description-text h4:first-child,
.pd-full-description-text h5:first-child,
.pd-full-description-text h6:first-child {
    margin-top: 0;
}

.pd-full-description-text h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.pd-full-description-text h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

.pd-full-description-text h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.pd-full-description-text h4 {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.pd-full-description-text h5 {
    font-size: clamp(.95rem, 1.5vw, 1.05rem);
}

.pd-full-description-text h6 {
    font-size: clamp(.9rem, 1.3vw, 1rem);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pd-full-description-text p,
.pd-full-description-text li {
    font-size: clamp(.9rem, 1.1vw, 1rem);
    line-height: 1.8;
}


/* Manual/PDF links */

.pd-manuals-row {
    display: flex;
    gap: 1.75rem 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

/* "Descargar manual de usuario" — Nuevaweb_16: text and icon were almost
   invisible; now a larger outlined button with a full-size PDF icon. */
.pd-manual-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem 1.5rem;
    border: 1px solid #8D725B;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #5f4633;
    text-decoration: none;
    transition: color .2s, background-color .2s, border-color .2s
}

.pd-manual-link:hover {
    color: #fff;
    background: #7A010B;
    border-color: #7A010B;
    text-decoration: none
}

.pd-manual-link i {
    font-size: 1.35rem;
    opacity: 1;
    color: #7A010B;
    flex-shrink: 0;
    transition: color .2s
}

.pd-manual-link:hover i {
    color: #fff
}


/* ACF Spec groups */

.pd-specs-section {
    padding: 4.8rem 0;
    background: #fbf6f1
}

.pd-specs-section-title {
    color: #111;
    font-weight: 600;
    line-height: 1;
    margin: 0 0 2.5rem;
    font-family: var(--font-serif);
    text-align: center
}

.pd-specs-section-title em {
    font-family: var(--font-ibarra, var(--font-serif));
    font-style: italic;
    font-weight: 400
}

.pd-specs-panel {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 0
}

/* Spec groups are <details> accordions: "+" when closed, "×" when open. */
.pd-spec-group {
    border-bottom: 1px solid #d8cec4
}

.pd-spec-group-heading {
    color: #111;
    font-family: var(--font-ibarra, var(--font-serif));
    font-style: italic;
    font-weight: 400;
    margin: 0;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none
}

.pd-spec-group-heading::-webkit-details-marker {
    display: none
}

.pd-spec-toggle {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .25s ease
}

.pd-spec-toggle::before,
.pd-spec-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #111;
    transform: translateY(-50%)
}

.pd-spec-toggle::after {
    transform: translateY(-50%) rotate(90deg)
}

.pd-spec-group[open] .pd-spec-toggle {
    transform: rotate(45deg)
}

.pd-spec-group[open] > dl {
    padding-bottom: 2rem
}

.pd-spec-group dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    margin: 0
}

.pd-spec-group div {
    min-width: 0
}

.pd-spec-group dt {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: .3rem;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif
}

.pd-spec-group dd {
    color: #000;
    font-size: 15px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5
}


/* ── Customer Reviews ────────────────────────────────────────────────────── */

.pd-reviews-section {
    padding: 5rem 0 1rem 0;
    background: #fafaf9;
    border-top: 1px solid #eee8e2
}

.pd-reviews-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem
}

.pd-reviews-heading {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 2.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 2px solid #111;
    font-family: var(--font-serif)
}

.cr-reviews-ajax-reviews .cr-ajax-reviews-nosummary .cr-nosummary-add {
    background: #111;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px
}


/* Hide the WC "X reviews for Product" title — we use our own heading */

.pd-reviews-section .woocommerce-Reviews-title {
    display: none
}


/* Review list */

.pd-reviews-section .commentlist {
    list-style: none;
    margin: 0 0 3rem;
    padding: 0
}

.pd-reviews-section .commentlist li.comment {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #eee8e2
}

.pd-reviews-section .commentlist li.comment:first-child {
    padding-top: 0
}

.pd-reviews-section .commentlist li.comment:last-child {
    border-bottom: none
}


/* Avatar */

.pd-reviews-section .comment-author .avatar,
.pd-reviews-section .woocommerce-review__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: #e2dcd8
}


/* Review body */

.pd-reviews-section .comment-text {
    flex: 1;
    min-width: 0
}

.pd-reviews-section .woocommerce-review__author,
.pd-reviews-section .comment-author strong {
    font-size: .9rem;
    font-weight: 700;
    color: #111;
    font-family: var(--font-serif)
}

.pd-reviews-section .woocommerce-review__verified {
    font-size: .72rem;
    color: #8d725b;
    font-style: italic;
    margin-left: .3rem
}

.pd-reviews-section .woocommerce-review__dash {
    color: #ddd;
    margin: 0 .4rem
}

.pd-reviews-section .woocommerce-review__published-date {
    font-size: .72rem;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    float: right
}

.pd-reviews-section .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .5rem;
    margin-bottom: .5rem
}

.pd-reviews-section .star-rating {
    display: inline-flex;
    margin-bottom: .4rem
}

.pd-reviews-section .star-rating::before,
.pd-reviews-section .star-rating span::before {
    color: #e8a020
}

.pd-reviews-section .description p,
.pd-reviews-section .comment-text .description {
    font-size: .88rem;
    color: #555;
    line-height: 1.7;
    margin: .4rem 0 0;
    font-family: 'Inter', sans-serif
}


/* Add a review form */

.pd-reviews-section #respond {
    padding-top: 2.5rem;
    border-top: 1px solid #eee8e2
}

.pd-reviews-section #reply-title,
.pd-reviews-section .comment-reply-title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #111;
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif)
}

.pd-reviews-section .comment-notes,
.pd-reviews-section .woocommerce-noreviews {
    font-size: .82rem;
    color: #888;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6
}

.pd-reviews-section .comment-form-rating {
    margin-bottom: 1.25rem
}

.pd-reviews-section .comment-form-rating label,
.pd-reviews-section .comment-form-comment label,
.pd-reviews-section .comment-form-author label,
.pd-reviews-section .comment-form-email label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: .45rem;
    font-family: 'Inter', sans-serif
}

.pd-reviews-section .stars a {
    font-size: 1.5rem;
    color: #e0d8d2;
    text-decoration: none;
    transition: color .15s
}

.pd-reviews-section .stars a:hover,
.pd-reviews-section .stars a.active,
.pd-reviews-section .stars.selected a.active {
    color: #e8a020
}

.pd-reviews-section .comment-form-comment textarea,
.pd-reviews-section .comment-form-author input,
.pd-reviews-section .comment-form-email input {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid #e0dbd6;
    border-radius: 8px;
    font-size: .88rem;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    resize: vertical
}

.pd-reviews-section .comment-form-comment textarea {
    min-height: 120px
}

.pd-reviews-section .comment-form-comment textarea:focus,
.pd-reviews-section .comment-form-author input:focus,
.pd-reviews-section .comment-form-email input:focus {
    border-color: #111
}

.pd-reviews-section .comment-form p {
    margin-bottom: 1.1rem
}

.pd-reviews-section .form-submit .submit,
.pd-reviews-section #submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 2.5rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: var(--font-serif);
    cursor: pointer;
    transition: background .2s
}

.pd-reviews-section .form-submit .submit:hover,
.pd-reviews-section #submit:hover {
    background: #8d725b
}

.pd-reviews-section .woocommerce-noreviews {
    padding: 1rem 0
}


/* Responsive */

@media(max-width:1199.98px) {
    .pd-shop-grid {
        grid-template-columns: minmax(0, 1fr) 460px
    }
}

@media(max-width:991.98px) {
    .pd-shop-section,
    .pd-artistry-section,
    .pd-specs-section {
        padding: 3.5rem 0
    }
    .pd-shop-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        padding: 2rem;
        margin: 0 auto;
        gap: 1.75rem;
        align-items: stretch
    }
    .pd-spec-group dl {
        grid-template-columns: 1fr 1fr
    }
    /* Tablet/mobile: gallery as a horizontal strip below the image */
    .pd-shop-image-wrapper {
        flex-direction: column;
        flex-wrap: nowrap
    }
    .pd-gallery-thumbnails {
        position: relative;
        width: 100%;
        max-width: 100%;
        order: 0;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding: 6px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch
    }
    .pd-gallery-thumbnails::-webkit-scrollbar {
        width: auto;
        height: 3px
    }
    .pd-gallery-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px
    }
    .pd-mode-controls {
        flex: 0 0 auto;
        width: 100%
    }
}

@media(max-width:767.98px) {
    .pd-shop-grid {
        padding: 1rem
    }
    .pd-shop-card {
        padding: 1.25rem
    }
    .pd-shop-image {
        padding: .75rem
    }
    .pd-shop-image img#pdPurchaseImage {
        max-height: 300px
    }
    /* Smaller thumbnails on phones (gallery already horizontal from 991) */
    .pd-gallery-thumb {
        flex: 0 0 56px;
        width: 56px;
        height: 56px
    }
    .pd-spec-group dl {
        grid-template-columns: 1fr
    }
    .pd-manuals-row {
        gap: .85rem;
        flex-direction: column;
        align-items: center
    }
    .pd-artistry-section {
        padding: 3rem 0
    }
    .pd-shop-variants {
        gap: .5rem
    }
    .pd-video-section {
        padding: 2.5rem 0
    }
}


/* ════════════════════════════════════════════════════════════════
   Product detail — 2026 client revisions
   ════════════════════════════════════════════════════════════════ */


/* ── Star rating (black stars) below product name ── */

.pd-shop-rating {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1rem;
}

.pd-stars {
    position: relative;
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    color: #d8d2cb;
    /* empty star colour */
}

.pd-stars::before {
    content: "\2605\2605\2605\2605\2605";
    letter-spacing: 2px;
}

.pd-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #111;
    /* filled (black) stars */
}

.pd-stars-fill::before {
    content: "\2605\2605\2605\2605\2605";
    letter-spacing: 2px;
}

.pd-stars-sm {
    font-size: .85rem;
}

.pd-rating-count {
    font-size: .78rem;
    color: #777;
    font-weight: 500;
}


/* ── Subtitle (replaces feature tags) ── */

.pd-shop-subtitle {
    font-size: .92rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 1.3rem;
}


/* ── Free shipping + See more (matches .pd-stock-info style) ── */

.pd-free-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .78rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    margin-top: .5rem;
}

.pd-free-shipping i {
    color: #777;
}

.pd-seemore-link {
    color: #777;
    font-weight: 400;
    text-decoration: underline;
}

.pd-seemore-link:hover {
    color: #111;
}


/* ── Product gallery carousel ── */

.pd-gallery-carousel-section {
    padding: 1rem 0 3.5rem;
}

.pd-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pd-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px;
    flex: 1;
}

.pd-carousel-track::-webkit-scrollbar {
    display: none;
}

.pd-carousel-slide {
    flex: 0 0 auto;
    width: clamp(200px, 24%, 300px);
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

.pd-carousel-slide:hover:not(.active) {
    border-color: #bbb;
}

.pd-carousel-slide.active {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}

.product-card-video-pill {
    display: none !important;
}

.pd-carousel-slide img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.pd-carousel-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s, color .2s, opacity .2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.pd-carousel-arrow:hover {
    background: #111;
    color: #fff;
}

.pd-carousel-arrow.is-disabled {
    opacity: .35;
    pointer-events: none;
}


/* ── Interactive watch image (hotspots) ── */

.pd-hotspot-section {
    --pd-hotspot-color: #8b0000;
    padding: 4rem 0 0 0;
}

.pd-hotspot-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 0;
}

.pd-hotspot-bg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.pd-hotspot-point {
    position: absolute;
    /* "double size" hotspot circle */
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--pd-hotspot-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
    transition: transform .2s, box-shadow .2s;
    z-index: 2;
}

.pd-hotspot-point::after {
    /* pulse ring */
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--pd-hotspot-color);
    opacity: .55;
    animation: pdHotspotPulse 2s ease-out infinite;
}

@keyframes pdHotspotPulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pd-hotspot-plus {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 300;
    pointer-events: none;
}

.pd-hotspot-point:hover,
.pd-hotspot-point.active {
    transform: scale(1.12);
}

.pd-hotspot-point.active::after {
    animation: none;
    opacity: 0;
}

.pd-hotspot-tip {
    position: absolute;
    /* --pd-tip-shift is set by the hotspot script: it nudges the card sideways so
       it never sticks out of .pd-hotspot-wrap (which used to push the page wider
       than the screen on phones). The arrow below cancels the same shift so it
       keeps pointing at its dot. */
    transform: translate(calc(-50% + var(--pd-tip-shift, 0px)), calc(-100% - 30px));
    width: max-content;
    max-width: min(400px, 100%);
    background: #fff;
    color: #222;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .22);
    line-height: 1.45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, visibility .2s;
    z-index: 3;
}

.pd-hotspot-tip::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: calc(50% - var(--pd-tip-shift, 0px));
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fff;
}

.pd-hotspot-tip.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pd-hotspot-tip-title {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
}

.pd-hotspot-tip-desc {
    display: block;
    font-size: .82rem;
    color: #555;
}


/* ── Reviews carousel ── */

.pd-reviews-track {
    padding: 4px 4px 8px;
}

.pd-review-card {
    width: clamp(260px, 32%, 360px);
    background: #faf9f7;
    border: 1px solid #eee8e2;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.pd-review-text {
    font-size: .9rem;
    line-height: 1.55;
    color: #444;
    margin: 0;
}

.pd-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: .78rem;
}

.pd-review-author {
    font-weight: 700;
    color: #111;
}

.pd-review-date {
    color: #999;
}

.pd-review-form {
    margin-top: 2.5rem;
}


/* Tablet: show 4 gallery thumbnails per view */

@media (min-width: 768px) and (max-width: 991.98px) {
    .pd-gallery-carousel-section .pd-carousel-slide {
        width: calc((100% - 48px) / 4);
    }
}

@media (max-width: 767.98px) {
    /* Mobile: show 2 gallery thumbnails per view */
    .pd-gallery-carousel-section .pd-carousel-slide {
        width: calc((100% - 16px) / 2);
    }
    .pd-carousel-slide img {
        height: 200px;
    }
    .pd-review-card {
        width: 82%;
    }
    .pd-page .det-feat-img-col img {
        height: auto;
        min-height: auto;
    }
    .pd-page .det-feature-item {
        padding: 2rem clamp(1rem, 5vw, 5.5rem);
    }
    .pd-page .det-feat-title,
    .pd-page .det-feat-desc {
        max-width: 100%;
    }
    .pd-hotspot-tip {
        width: max-content;
        max-width: min(240px, calc(100% - 16px));
        padding: 11px 13px;
    }
}


/* ── Feature rows: always the whole photo (client request, 2026-10-15) ──
   Each photo carries the model name and the detail the text talks about, so
   it must never be cropped. Up to 1023px the row stacks — photo on top at full
   width, text below — the same way it already did on phones.
   From 1024px up a long text is cut to 5 lines (about what Cosmos needs) with a
   "Leer más" button that opens the full text in a popup, so the text column
   never makes the row taller than its photo. */
.pd-page .det-feat-img-col img {
    object-fit: contain;
}

.pd-page .det-feat-more {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0 0 2px;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}

.pd-page .det-feat-more:hover {
    border-color: #fff;
    opacity: .8;
}

.pd-page .det-feat-more[hidden] {
    display: none;
}

@media (min-width: 1024px) {
    .pd-page .det-feature-row .det-feat-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
    }
}

/* Full-text popup */
.det-feat-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.det-feat-modal[hidden] {
    display: none;
}

.det-feat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.det-feat-modal__dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    background: #000;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.det-feat-modal__img {
    display: flex;
    align-items: center;
    background: #080808;
}

.det-feat-modal__img[hidden] {
    display: none;
}

.det-feat-modal__img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    object-fit: contain;
}

.det-feat-modal__img[hidden] + .det-feat-modal__body {
    grid-column: 1 / -1;
}

.det-feat-modal__body {
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    overflow-y: auto;
    max-height: calc(100vh - 48px);
}

.det-feat-modal__body .det-feat-num {
    color: #fff;
}

.det-feat-modal__body .det-feat-title {
    color: #fff;
    font-size: var(--fs-h6) !important;
}

.det-feat-modal__body .det-feat-divider {
    background: #fff;
}

.det-feat-modal__body .det-feat-desc {
    color: rgba(255, 255, 255, .8);
    line-height: 1.75;
    margin: 0;
}

.det-feat-modal__body .det-feat-desc a {
    color: #fff;
    text-decoration: underline;
}

.det-feat-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(0, 0, 0, .6);
    color: #fff;
    cursor: pointer;
}

.det-feat-modal__close:hover {
    background: #fff;
    color: #000;
}

body.det-feat-modal-open {
    overflow: hidden;
}

@media (max-width: 1023.98px) {
    .pd-page .det-feature-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .pd-page .det-feat-img-col {
        border-right: 0;
        border-bottom: 0;
    }
    .pd-page .det-feat-img-col img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
    }
    .pd-page .det-feature-item {
        padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 3rem;
    }
    .pd-page .det-feat-title,
    .pd-page .det-feat-desc {
        max-width: 100%;
    }
}


/* ── Interactive image — tablet/mobile accordion fallback ── */

.pd-hotspot-accordion {
    display: none;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    border-top: 1px solid #eee;
}

.pd-hs-acc-item {
    border-bottom: 1px solid #eee;
}

.pd-hs-acc-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .95rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    text-align: left;
}

.pd-hs-acc-header i {
    flex-shrink: 0;
    color: var(--pd-hotspot-color, #8b0000);
    transition: transform .25s;
}

.pd-hs-acc-item.open .pd-hs-acc-header i {
    transform: rotate(180deg);
}

.pd-hs-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.pd-hs-acc-item.open .pd-hs-acc-body {
    max-height: 600px;
}

.pd-hs-acc-body-inner {
    padding: 0 4px 16px;
    font-size: .86rem;
    line-height: 1.55;
    color: #555;
}


/* On tablet & mobile: keep the on-image hotspots (smaller dots) AND show the accordion below */

@media (max-width: 991.98px) {
    .pd-hotspot-accordion {
        display: block;
    }
    /* Tablet — slightly smaller dots */
    .pd-hotspot-point {
        width: 30px;
        height: 30px;
        margin: -15px 0 0 -15px;
        border-width: 2px;
    }
    .pd-hotspot-plus {
        font-size: 1.15rem;
    }
}


/* Phone — smallest dots */

@media (max-width: 575.98px) {
    .pd-hotspot-point {
        width: 24px;
        height: 24px;
        margin: -12px 0 0 -12px;
    }
    .pd-hotspot-plus {
        font-size: 1rem;
    }
}


/* ──────────────────────────────────────────────────────────────────────────
   "Write a review" form (template-parts/product-review-form.php)
   Client request 2026-09-16 — reviews can be added from the product page, in
   the site's own design instead of WooCommerce's default block.
   ────────────────────────────────────────────────────────────────────────── */

.pdrf-section {
    padding: 0 0 4.5rem;
}

.pdrf-sent {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: #f1f7f1;
    border: 1px solid #cfe4cf;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    color: #2f6b34;
    text-align: center;
}


/* Modal --------------------------------------------------------------- */

body.pdrf-modal-open {
    overflow: hidden;
}

.pdrf-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.pdrf-modal[hidden] {
    display: none;
}

.pdrf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .55);
    backdrop-filter: blur(2px);
}

.pdrf-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 2.5rem clamp(1.25rem, 4vw, 2.75rem);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
    animation: pdrfIn .22s ease-out;
}

@keyframes pdrfIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.pdrf-modal__close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #e8e3dc);
    background: #fff;
    color: #6a6a6a;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.pdrf-modal__close:hover {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #fff;
}

.pdrf-note {
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    color: #6a6a6a;
    text-align: center;
    margin: .9rem 0 0;
}

.pdrf-head {
    text-align: center;
    margin-bottom: 2rem;
}

.pdrf-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--color-gold, #8D725B);
    margin-bottom: .75rem;
}

.pdrf-title {
    font-family: var(--font-serif, 'Fraunces', serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 500;
    text-transform: uppercase;
    color: #0A0A0A;
    margin: 0 0 .75rem;
}

.pdrf-title em {
    font-family: var(--font-ibarra, 'Ibarra Real Nova', serif);
    font-style: italic;
    text-transform: none;
}

.pdrf-sub {
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    line-height: 1.65;
    color: #6a6a6a;
    margin: 0;
}

.pdrf-locked {
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    text-align: center;
    color: #6a6a6a;
    background: #FBF6F1;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 0;
}

.pdrf-locked a {
    color: var(--color-gold, #8D725B);
    text-decoration: underline;
}


/* Fields */

.pdrf-field {
    margin: 0 0 1.15rem;
}

.pdrf-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin-bottom: .45rem;
}

.pdrf-req {
    color: #9e1515;
}

.pdrf-form input[type="text"],
.pdrf-form input[type="email"],
.pdrf-form textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #ddd6cd;
    border-radius: 6px;
    padding: .75rem .9rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pdrf-form textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.pdrf-form input[type="text"]:focus,
.pdrf-form input[type="email"]:focus,
.pdrf-form textarea:focus {
    border-color: #0A0A0A;
    box-shadow: 0 0 0 3px rgba(10, 10, 10, .06);
}


/* Star picker — radios rendered right-to-left so `~` can fill the ones before
   the hovered/checked star. */

.pdrf-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: .3rem;
}

.pdrf-stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pdrf-stars label {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #ded4c8;
    transition: color .15s ease, transform .15s ease;
}

.pdrf-stars label:hover,
.pdrf-stars label:hover~label,
.pdrf-stars input:checked~label {
    color: var(--color-gold, #8D725B);
}

.pdrf-stars label:hover {
    transform: scale(1.12);
}


/* Keyboard focus has to stay visible even though the radio itself is hidden. */

.pdrf-stars input:focus-visible+label {
    outline: 2px solid #0A0A0A;
    outline-offset: 3px;
    border-radius: 4px;
}


/* Two columns for name + email from tablet up. */

@media (min-width: 640px) {
    /* Inline-block leaves a whitespace gap between the two <p>s, so the widths
       have to leave room for it as well as for the margin — at 50% - .5rem they
       wrapped onto separate lines. */
    .pdrf-form .pdrf-field--author,
    .pdrf-form .pdrf-field--email {
        display: inline-block;
        width: calc(50% - 1rem);
        vertical-align: top;
    }
    .pdrf-form .pdrf-field--author {
        margin-right: .9rem;
    }
}


/* Other versions of the model — see cas_format_variant_links() (NuevaWeb_10, page 1) */

.pd-variant-links {
    display: block;
    margin: 1rem 0 .25rem;
}

.pd-variant-links .pd-variant-link {
    display: block;
    width: fit-content;
    color: #0A0A0A;
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.7;
}

.pd-variant-links .pd-variant-link:hover {
    color: #6a6a6a;
}


/* Privacy consent (NuevaWeb_10, page 3) */

.pdrf-form .pdrf-field--privacy {
    margin: .4rem 0 0;
}

.pdrf-form .pdrf-privacy {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    line-height: 1.5;
    color: #4a4a4a;
    cursor: pointer;
}

.pdrf-form .pdrf-privacy input[type="checkbox"] {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: #0A0A0A;
}

.pdrf-form .pdrf-privacy a {
    color: #0A0A0A !important;
    text-decoration: underline;
}


/* Submit */

.pdrf-form .form-submit {
    margin: 1.5rem 0 0;
    text-align: center;
}

.pdrf-form .pdrf-submit {
    display: inline-block;
    min-width: 220px;
    padding: .9rem 2rem;
    background: #0A0A0A;
    border: 1px solid #0A0A0A;
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.pdrf-form .pdrf-submit:hover {
    background: #32302F;
    border-color: #32302F;
}


/* WordPress prints a cookie-consent checkbox and a reply-cancel link we do not
   style anywhere else. */

.pdrf-form .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    color: #6a6a6a;
    margin: .25rem 0 0;
}

.pdrf-form .comment-form-cookies-consent input {
    margin-top: .2rem;
    accent-color: #0A0A0A;
}

.pdrf-form #cancel-comment-reply-link {
    display: none;
}

@media (max-width: 575.98px) {
    .pdrf-modal__dialog {
        padding: 2rem 1.15rem;
        border-radius: 10px;
    }
    .pdrf-stars label {
        font-size: 1.35rem;
    }
}


/* WPML prints a "show only reviews in <language>" link just before the form.
   It filters WooCommerce's own comment list, which this layout never renders —
   the Colomer Reviews section above does the listing — so here it is only a
   stray unstyled line. :has() hides the wrapping <p>; the second rule is the
   fallback for browsers without it. */

.pdrf-modal__dialog p:has(> #lang-comments-link) {
    display: none;
}

.pdrf-modal__dialog #lang-comments-link {
    display: none;
}


/* Rating line — "write a review" opens the popup from here, in both the
   populated and the no-reviews-yet state (client request 2026-09-16). */

.pd-shop-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem .7rem;
}

.pd-shop-rating--empty {
    cursor: default;
}

.pd-shop-rating--empty .pd-rating-count {
    color: #8a8a8a;
}

.pd-rating-write {
    background: none;
    border: 0;
    padding: 0;
    margin-left: .15rem;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    color: var(--color-gold, #8D725B);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color .2s ease;
}

.pd-rating-write:hover {
    color: #0A0A0A;
}