/* Manpreet WooCommerce Product Detail – front-end styles */

.mppd {
    --mp-burgundy-dark: #3F1C28;
    --mp-burgundy-light: #6A2F40;
    --mp-gold: #E7CC98;
    --mp-gold-soft: #F0DBAE;
    --mp-offwhite: #EBEBEB;
    --mp-white: #FFFFFF;
    --mp-border: #E7CC98D7;
    --mp-font: "Cormorant Garamond", Georgia, serif;
    --mppd-ratio: 1 / 1.08;
    --mppd-img-max: 660px;
    --mppd-sticky-top: 24px;
    width: 100%;
    box-sizing: border-box;
    padding: 28px;
    padding: 28px max(28px, calc((100% - 1320px) / 2));
    color: var(--mp-offwhite);
    background: var(--mp-burgundy-light);
    font-family: var(--mp-font);
    font-size: 18px;
    line-height: 1.6;
}
.mppd *, .mppd *::before, .mppd *::after { box-sizing: border-box; }
.mppd a { color: inherit; }
.mppd img { max-width: 100%; height: auto; }

/* Visually hidden (price screen-reader text, live regions) */
.mppd .screen-reader-text, .mppd-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mppd :focus-visible { outline: 2px solid var(--mp-gold); outline-offset: 2px; }
.mppd button:focus:not(:focus-visible), .mppd a:focus:not(:focus-visible) { outline: none; }

.mppd-admin-note { padding: 14px 18px; border: 1px dashed #b32d2e; color: #b32d2e; background: #fff; font: 14px/1.5 sans-serif; }

/* Breadcrumb */
.mppd-breadcrumb { margin: 0 0 26px; font-size: 15px; letter-spacing: .4px; }
.mppd-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.mppd-breadcrumb li { display: inline-flex; align-items: center; margin: 0; padding: 0; }
.mppd-breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--mp-gold); opacity: .7; }
.mppd-breadcrumb a { color: var(--mp-offwhite); text-decoration: none; }
.mppd-breadcrumb a:hover { color: var(--mp-gold); }
.mppd-breadcrumb [aria-current="page"] span { color: var(--mp-gold); }

/* Top: gallery + summary */
.mppd-top { --mppd-rail: 98px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-columns: minmax(0, min(calc(var(--mppd-img-max) + var(--mppd-rail)), 52%)) minmax(0, 1fr); gap: 56px; align-items: start; }
.mppd-top.is-single { --mppd-rail: 0px; }

/* Gallery */
.mppd-gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumbs main"; gap: 14px; position: sticky; top: var(--mppd-sticky-top); }
.mppd-gallery[data-count="0"], .mppd-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.mppd-main { grid-area: main; position: relative; min-width: 0; }
.mppd-thumbs { grid-area: thumbs; display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; }
.mppd-main-link { display: block; position: relative; overflow: hidden; aspect-ratio: var(--mppd-ratio); border: 1px solid var(--mp-border); background: rgba(0,0,0,.08); cursor: zoom-in; }
.mppd-main-link.mppd-noimg { cursor: default; }
.mppd-main-img, .mppd-main-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
    .mppd-main.is-zoom .mppd-main-img { transform: scale(1.7); transform-origin: var(--mppd-zx, 50%) var(--mppd-zy, 50%); }
}
.mppd-badge { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 5px 13px; background: var(--mp-gold); color: var(--mp-burgundy-dark); font-size: 15px; font-weight: 600; letter-spacing: .5px; line-height: 1.3; pointer-events: none; }
.mppd-nav { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--mp-border); background: rgba(63,28,40,.72); color: var(--mp-gold); font-size: 28px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.mppd-prev { left: 10px; } .mppd-next { right: 10px; }
.mppd-main:hover .mppd-nav, .mppd-nav:focus-visible { opacity: 1; }
@media (hover: none) { .mppd-nav { opacity: 1; } }
.mppd-thumb { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; border: 1px solid var(--mp-border); background: rgba(0,0,0,.08); cursor: pointer; opacity: .65; transition: opacity .2s ease, border-color .2s ease; }
.mppd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mppd-thumb:hover, .mppd-thumb.is-active { opacity: 1; }
.mppd-thumb.is-active { border-color: var(--mp-gold); box-shadow: 0 0 0 1px var(--mp-gold); }

/* Summary */
.mppd-summary { min-width: 0; }
.mppd-title { margin: 0 0 12px; color: var(--mp-white); font-family: var(--mp-font); font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; line-height: 1.04; letter-spacing: .2px; }
.mppd-rating { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; }
.mppd-stars { display: inline-block; font-size: 20px; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, var(--mp-gold) var(--mppd-r, 0%), rgba(231,204,152,.28) var(--mppd-r, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.mppd-review-link { text-decoration: none; }
.mppd-review-link:hover { color: var(--mp-gold); text-decoration: underline; }

.mppd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; color: var(--mp-gold); font-size: 32px; font-weight: 500; line-height: 1.1; }
.mppd-price del { opacity: .62; font-size: 23px; text-decoration-thickness: 1px; }
.mppd-price ins { text-decoration: none; font-weight: 600; }
.mppd-price .woocommerce-Price-amount { white-space: nowrap; }

.mppd-short { max-width: 56ch; margin: 0 0 20px; font-size: 20px; line-height: 1.55; color: var(--mp-offwhite); }
.mppd-short > :first-child { margin-top: 0; }
.mppd-short > :last-child { margin-bottom: 0; }

.mppd-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.mppd-facts li { margin: 0; padding: 5px 14px; border: 1px solid var(--mp-border); border-radius: 50px; font-size: 16px; line-height: 1.3; }
.mppd-facts-k { color: var(--mp-gold); }
.mppd-stock { margin: 0 0 16px; font-size: 16px; }
.mppd-stock.is-out { color: #ffb3b3; }
.mppd-stock.is-low { color: var(--mp-gold); }

/* Add to cart (WooCommerce form, restyled) */
.mppd-cart { margin: 0 0 26px; }
.mppd-cart form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin: 0; }
.mppd-cart form.cart .woocommerce-variation-add-to-cart, .mppd-cart form.cart .single_variation_wrap { display: contents; }
.mppd-cart form.variations_form { display: block; }
.mppd-cart form.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.mppd-cart .variations { width: 100%; margin: 0 0 16px; border: 0; border-collapse: collapse; }
.mppd-cart .variations tr { display: block; margin: 0 0 14px; }
.mppd-cart .variations th, .mppd-cart .variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.mppd-cart .variations label { display: block; margin: 0 0 8px; color: var(--mp-gold); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.mppd-cart .variations select { width: 100%; max-width: 320px; height: 48px; padding: 0 14px; border: 1px solid var(--mp-gold) !important; border-radius: 2px !important; background-color: #FFFFFF !important; color: #3F1C28 !important; font-family: var(--mp-font); font-size: 17px; }
.mppd-cart .reset_variations { display: inline-block; margin-left: 12px; color: var(--mp-gold); font-size: 15px; }
.mppd-cart .woocommerce-variation { width: 100%; margin: 0 0 14px; }
.mppd-cart .woocommerce-variation-price .price { color: var(--mp-gold); font-size: 26px; }
.mppd-cart .woocommerce-variation-availability p { margin: 6px 0 0; }
.mppd-cart .stock { margin: 0 0 12px; color: var(--mp-gold); font-size: 16px; }

.mppd-cart .quantity { display: inline-flex; align-items: stretch; height: 54px; border: 1px solid var(--mp-border); background: transparent; }
.mppd-cart .quantity .screen-reader-text { position: absolute !important; }
.mppd-cart .quantity input.qty { width: 56px; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--mp-white) !important; text-align: center; font-family: var(--mp-font); font-size: 20px; box-shadow: none !important; -moz-appearance: textfield; appearance: textfield; }
.mppd-cart .quantity input.qty::-webkit-outer-spin-button, .mppd-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mppd-qty-btn { width: 44px; padding: 0; border: 0; background: transparent; color: var(--mp-gold); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease; }
.mppd-qty-btn:hover { background: var(--mp-gold); color: var(--mp-burgundy-dark); }

.mppd .single_add_to_cart_button, .mppd .mppd-sticky-btn, .mppd #review_form #submit, .mppd .mppd-cart a.button {
    display: inline-flex; align-items: center; justify-content: center; flex: 1 1 200px; min-height: 54px; margin: 0; padding: 0 34px;
    border: 1px solid var(--mp-gold) !important; border-radius: 0 !important; background: var(--mp-gold) !important; color: var(--mp-burgundy-dark) !important;
    font-family: var(--mp-font); font-size: 14px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: none !important;
    transition: background .2s ease, color .2s ease;
}
.mppd .single_add_to_cart_button:hover, .mppd .mppd-sticky-btn:hover, .mppd #review_form #submit:hover, .mppd .mppd-cart a.button:hover { background: var(--mp-gold-soft) !important; color: var(--mp-burgundy-dark) !important; }
.mppd .single_add_to_cart_button.disabled, .mppd .single_add_to_cart_button:disabled, .mppd .single_add_to_cart_button.wc-variation-selection-needed { opacity: .5; cursor: not-allowed; }
.mppd .single_add_to_cart_button.loading { opacity: .7; }
.mppd .added_to_cart { margin-left: 12px; color: var(--mp-gold); }

/* Meta */
.mppd-meta { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--mp-border); }
.mppd-meta-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: 17px; }
.mppd-meta dt { margin: 0; color: var(--mp-gold); }
.mppd-meta dd { margin: 0; }
.mppd-meta a { text-decoration: none; }
.mppd-meta a:hover { color: var(--mp-gold); text-decoration: underline; }

/* Tabs */
.mppd-tabs { margin: 64px 0 0; }
.mppd-tablist { display: flex; flex-wrap: wrap; gap: 6px 34px; border-bottom: 1px solid var(--mp-border); }
.mppd-tab { position: relative; margin: 0 0 -1px; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; background: transparent !important; color: var(--mp-offwhite) !important; font-family: var(--mp-font); font-size: 21px; letter-spacing: .5px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.mppd-tab:hover { color: var(--mp-gold) !important; }
.mppd-tab.is-active { color: var(--mp-gold) !important; border-bottom-color: var(--mp-gold); font-weight: 600; }
.mppd-panel { padding: 30px 0 0; max-width: 82ch; font-size: 19px; line-height: 1.75; }
.mppd-panel[hidden] { display: none; }
.mppd-panel > :first-child { margin-top: 0; }
.mppd-panel h2, .mppd-panel h3 { margin: 0 0 14px; color: var(--mp-white); font-family: var(--mp-font); font-weight: 500; font-size: 28px; line-height: 1.15; }
.mppd-panel p { margin: 0 0 1em; }
.mppd-panel table { width: 100%; border-collapse: collapse; }
.mppd-panel th, .mppd-panel td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--mp-border); text-align: left; vertical-align: top; background: none; }
.mppd-panel th { width: 30%; color: var(--mp-gold); font-weight: 500; }

/* Reviews (WooCommerce markup) */
.mppd #reviews .woocommerce-Reviews-title { font-size: 28px; }
.mppd #reviews ol.commentlist { margin: 0 0 30px; padding: 0; list-style: none; }
.mppd #reviews ol.commentlist li { margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--mp-border); }
.mppd #reviews .comment_container { display: flex; gap: 16px; }
.mppd #reviews .comment_container img.avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; }
.mppd #reviews .comment-text { flex: 1 1 auto; min-width: 0; }
.mppd #reviews .meta { margin: 0 0 6px; font-size: 16px; }
.mppd #reviews .woocommerce-review__author { color: var(--mp-white); }
.mppd #reviews .star-rating, .mppd #review_form p.stars a { color: var(--mp-gold); }
.mppd #review_form #respond { margin: 0; }
.mppd #review_form .comment-reply-title { display: block; margin: 0 0 12px; color: var(--mp-white); font-size: 26px; }
.mppd #review_form label { display: block; margin: 0 0 6px; color: var(--mp-gold); font-size: 15px; }
.mppd #review_form input[type="text"], .mppd #review_form input[type="email"], .mppd #review_form textarea, .mppd #review_form select { width: 100%; max-width: 640px; padding: 10px 12px; border: 1px solid var(--mp-gold); border-radius: 2px; background: #FFFFFF; color: #3F1C28; font-family: var(--mp-font); font-size: 17px; }
.mppd #review_form .comment-form-cookies-consent label { display: inline; color: var(--mp-offwhite); }
.mppd #review_form #submit { flex: 0 0 auto; }
.mppd .woocommerce-noreviews, .mppd .woocommerce-verification-required { margin: 0 0 20px; }

/* Notices (inside the container; the :has() copy also styles notices a theme prints above it) */
.mppd .woocommerce-message, .mppd .woocommerce-info, .mppd .woocommerce-error { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; margin: 0 0 28px; padding: 16px 22px 16px 68px !important; list-style: none; border: 1px solid #E7CC98D7 !important; border-left: 4px solid #E7CC98 !important; border-radius: 0 !important; background: #3F1C28 !important; color: #EBEBEB !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.mppd .woocommerce-message::before, .mppd .woocommerce-info::before, .mppd .woocommerce-error::before { content: "\2713"; position: absolute; left: 22px; top: 50%; width: 30px; height: 30px; margin: -15px 0 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #E7CC98; color: #3F1C28; font: 700 16px/1 Arial, sans-serif; text-indent: 0; }
.mppd .woocommerce-info::before { content: "i"; }
.mppd .woocommerce-error { display: block; border-left-color: #ffb3b3 !important; }
.mppd .woocommerce-error::before { content: "!"; background: #ffb3b3; }
.mppd .woocommerce-error li { margin: 0; padding: 2px 0; list-style: none; }
.mppd .woocommerce-message a:not(.button), .mppd .woocommerce-info a:not(.button), .mppd .woocommerce-error a:not(.button) { color: #E7CC98; }
.mppd .mppd-notice-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; min-width: 0; }
.mppd .mppd-notice-text strong { color: #FFFFFF; font-size: 21px; font-weight: 600; line-height: 1.2; }
.mppd .mppd-notice-text span { color: #EBEBEB; font-size: 18px; }
.mppd .mppd-notice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.mppd .mppd-notice-actions a, .mppd .woocommerce-message > a.button, .mppd .woocommerce-info > a.button { display: inline-flex; align-items: center; justify-content: center; float: none !important; order: 3; min-height: 44px; margin: 0 !important; padding: 0 24px; border: 1px solid #E7CC98 !important; border-radius: 0 !important; background: transparent !important; color: #E7CC98 !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; text-transform: uppercase; text-decoration: none !important; transition: background .2s ease, color .2s ease; }
.mppd .woocommerce-message > a.button { margin-left: auto !important; }
.mppd .mppd-notice-actions .mppd-btn-primary { background: #E7CC98 !important; color: #3F1C28 !important; }
.mppd .mppd-notice-actions .mppd-btn-primary:hover { background: #F0DBAE !important; }
.mppd .mppd-notice-actions a:hover, .mppd .woocommerce-message > a.button:hover { background: #E7CC98 !important; color: #3F1C28 !important; }
.mppd .woocommerce-message a:focus-visible { outline: 2px solid #E7CC98; outline-offset: 2px; }
@media (max-width: 767px) {
    .mppd .woocommerce-message, .mppd .woocommerce-info, .mppd .woocommerce-error { padding: 14px 16px 14px 60px !important; font-size: 18px; }
    .mppd .woocommerce-message::before, .mppd .woocommerce-info::before, .mppd .woocommerce-error::before { left: 16px; }
    .mppd .mppd-notice-actions { width: 100%; margin-left: 0; }
    .mppd .mppd-notice-actions a { flex: 1 1 0; padding: 0 12px; }
}

body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; margin: 0 0 28px; padding: 16px 22px 16px 68px !important; list-style: none; border: 1px solid #E7CC98D7 !important; border-left: 4px solid #E7CC98 !important; border-radius: 0 !important; background: #3F1C28 !important; color: #EBEBEB !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; line-height: 1.35; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message::before, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info::before, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error::before { content: "\2713"; position: absolute; left: 22px; top: 50%; width: 30px; height: 30px; margin: -15px 0 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #E7CC98; color: #3F1C28; font: 700 16px/1 Arial, sans-serif; text-indent: 0; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info::before { content: "i"; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error { display: block; border-left-color: #ffb3b3 !important; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error::before { content: "!"; background: #ffb3b3; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error li { margin: 0; padding: 2px 0; list-style: none; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message a:not(.button), body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info a:not(.button), body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error a:not(.button) { color: #E7CC98; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; min-width: 0; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-text strong { color: #FFFFFF; font-size: 21px; font-weight: 600; line-height: 1.2; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-text span { color: #EBEBEB; font-size: 18px; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions a, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message > a.button, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info > a.button { display: inline-flex; align-items: center; justify-content: center; float: none !important; order: 3; min-height: 44px; margin: 0 !important; padding: 0 24px; border: 1px solid #E7CC98 !important; border-radius: 0 !important; background: transparent !important; color: #E7CC98 !important; font-family: "Cormorant Garamond", Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; text-transform: uppercase; text-decoration: none !important; transition: background .2s ease, color .2s ease; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message > a.button { margin-left: auto !important; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions .mppd-btn-primary { background: #E7CC98 !important; color: #3F1C28 !important; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions .mppd-btn-primary:hover { background: #F0DBAE !important; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions a:hover, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message > a.button:hover { background: #E7CC98 !important; color: #3F1C28 !important; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message a:focus-visible { outline: 2px solid #E7CC98; outline-offset: 2px; }
@media (max-width: 767px) {
    body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error { padding: 14px 16px 14px 60px !important; font-size: 18px; }
    body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message::before, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info::before, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-error::before { left: 16px; }
    body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions { width: 100%; margin-left: 0; }
    body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-actions a { flex: 1 1 0; padding: 0 12px; }
}

/* Notice close button, countdown line and dismiss animation */
.mppd .woocommerce-message.has-close, .mppd .woocommerce-info.has-close { padding-right: 64px !important; overflow: hidden; }
.mppd .mppd-notice-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 0; background: transparent; color: #E7CC98; font: 400 26px/1 Arial, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.mppd .mppd-notice-close:hover { background: #E7CC98; color: #3F1C28; }
.mppd .mppd-notice-close:focus-visible { outline: 2px solid #E7CC98; outline-offset: 2px; }
.mppd .mppd-notice-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #E7CC98; opacity: .75; transform-origin: left center; animation: mppd-notice-timer var(--mppd-notice-ms, 4000ms) linear forwards; pointer-events: none; }
.mppd .is-paused > .mppd-notice-timer { animation-play-state: paused; }
.mppd .woocommerce-message.mppd-notice-leaving, .mppd .woocommerce-info.mppd-notice-leaving { height: 0 !important; min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border-top-width: 0 !important; border-bottom-width: 0 !important; opacity: 0; transition: height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease, opacity .25s ease; }
@media (max-width: 767px) {
    .mppd .woocommerce-message.has-close, .mppd .woocommerce-info.has-close { padding-right: 56px !important; }
    .mppd .mppd-notice-close { top: 6px; right: 6px; }
}

body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message.has-close, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info.has-close { padding-right: 64px !important; overflow: hidden; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 0; background: transparent; color: #E7CC98; font: 400 26px/1 Arial, sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-close:hover { background: #E7CC98; color: #3F1C28; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-close:focus-visible { outline: 2px solid #E7CC98; outline-offset: 2px; }
body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-timer { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #E7CC98; opacity: .75; transform-origin: left center; animation: mppd-notice-timer var(--mppd-notice-ms, 4000ms) linear forwards; pointer-events: none; }
body:has(.mppd) .woocommerce-notices-wrapper .is-paused > .mppd-notice-timer { animation-play-state: paused; }
body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message.mppd-notice-leaving, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info.mppd-notice-leaving { height: 0 !important; min-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border-top-width: 0 !important; border-bottom-width: 0 !important; opacity: 0; transition: height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease, opacity .25s ease; }
@media (max-width: 767px) {
    body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-message.has-close, body:has(.mppd) .woocommerce-notices-wrapper .woocommerce-info.has-close { padding-right: 56px !important; }
    body:has(.mppd) .woocommerce-notices-wrapper .mppd-notice-close { top: 6px; right: 6px; }
}

@keyframes mppd-notice-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Related products */
.mppd-related { margin: 72px 0 0; padding-top: 34px; border-top: 1px solid var(--mp-border); }
.mppd-related-title { margin: 0 0 26px; color: var(--mp-white); font-family: var(--mp-font); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.1; }
.mppd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 26px; }
.mppd-card { min-width: 0; }
.mppd-card-image { display: block; aspect-ratio: 1 / 1.16; overflow: hidden; border: 1px solid var(--mp-border); background: rgba(0,0,0,.08); }
.mppd-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mppd-card:hover .mppd-card-image img { transform: scale(1.025); }
.mppd-card-body { padding-top: 12px; }
.mppd-card-title { display: block; color: var(--mp-white); text-decoration: none; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.1; }
.mppd-card-title:hover { color: var(--mp-gold); }
.mppd-card-price { margin: 8px 0 0; font-size: 22px; }
.mppd-card-price del { font-size: 17px; }

/* Lightbox (created by script) */
.mppd-lb { position: fixed; z-index: 100000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(28,11,17,.94); }
.mppd-lb[hidden] { display: none; }
.mppd-lb-fig { margin: 0; max-width: 100%; max-height: 100%; }
.mppd-lb-img { display: block; max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; margin: 0 auto; border: 1px solid rgba(231,204,152,.5); }
.mppd-lb button { position: absolute; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(231,204,152,.6); background: rgba(63,28,40,.85); color: #E7CC98; font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mppd-lb button:hover { background: #E7CC98; color: #3F1C28; }
.mppd-lb button:focus-visible { outline: 2px solid #E7CC98; outline-offset: 2px; }
.mppd-lb-close { top: 12px; right: 12px; }
.mppd-lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.mppd-lb-next { right: 12px; top: 50%; margin-top: -24px; }
body.mppd-no-scroll { overflow: hidden; }

/* Sticky add-to-cart bar (phones) */
.mppd-sticky { display: none; }

/* Tablet */
@media (max-width: 1100px) {
    .mppd-top { gap: 36px; }
    .mppd-gallery { grid-template-columns: 70px minmax(0, 1fr); }
    .mppd-thumb { width: 70px; height: 70px; }
    .mppd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Stack: gallery on top, thumbnails beneath as a scrolling row */
@media (max-width: 900px) {
    .mppd { padding: 20px 16px; }
    .mppd-top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .mppd-gallery, .mppd-gallery[data-count] { position: static; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "thumbs"; width: 100%; max-width: 560px; margin: 0 auto; }
    .mppd-thumbs { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x proximity; }
    .mppd-thumb { scroll-snap-align: start; width: 72px; height: 72px; }
    .mppd-main-link { cursor: pointer; }
}

@media (max-width: 767px) {
    .mppd { font-size: 17px; }
    .mppd-breadcrumb { margin-bottom: 18px; font-size: 14px; }
    .mppd-price { font-size: 28px; }
    .mppd-short { font-size: 18px; }
    .mppd-meta-row { grid-template-columns: 92px minmax(0, 1fr); }
    .mppd-tabs { margin-top: 44px; }
    .mppd-tablist { gap: 4px 24px; }
    .mppd-tab { font-size: 19px; min-height: 44px; }
    .mppd-panel { font-size: 18px; }
    .mppd-related { margin-top: 52px; }
    .mppd-grid { gap: 26px 12px; }
    .mppd-lb { padding: 56px 12px; }
    .mppd-cart .quantity { height: 52px; }
    .mppd .single_add_to_cart_button { min-height: 52px; padding: 0 20px; }
    .mppd-qty-btn { width: 48px; }

    .mppd-has-sticky { padding-bottom: 92px; }
    .mppd-sticky { display: flex; align-items: center; gap: 14px; position: fixed; z-index: 99990; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--mp-burgundy-dark); border-top: 1px solid var(--mp-border); box-shadow: 0 -10px 30px rgba(0,0,0,.3); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
    .mppd-sticky.is-visible { transform: translateY(0); visibility: visible; transition: transform .25s ease, visibility 0s; }
    .mppd-sticky-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
    .mppd-sticky-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mp-white); font-size: 17px; line-height: 1.2; }
    .mppd-sticky-price.mppd-price { margin: 0; font-size: 19px; }
    .mppd-sticky-price del { font-size: 15px; }
    .mppd .mppd-sticky-btn { flex: 0 0 auto; min-height: 48px; padding: 0 22px; }
}

@media (max-width: 430px) {
    .mppd-title { font-size: 32px; }
    .mppd-facts li { font-size: 15px; }
    .mppd-cart form.cart { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .mppd *, .mppd *::before, .mppd *::after, .mppd-lb *, .mppd-sticky { transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .mppd-main.is-zoom .mppd-main-img { transform: none; }
    .mppd-notice-timer { display: none; }
}


/* Alternating layout: odd sections = Cream, even sections = Burgundy Light */
.mppd {
    --mp-cream: #F2EADF;
    padding: 0;
    background: var(--mp-cream);
}
.mppd-primary,
.mppd-secondary,
.mppd-tertiary {
    padding: 28px max(28px, calc((100% - 1320px) / 2));
}
.mppd-primary {
    color: var(--mp-black, #1A1A1A);
    background: var(--mp-cream);
}
.mppd-secondary {
    padding-top: 56px;
    padding-bottom: 56px;
    color: var(--mp-offwhite);
    background: var(--mp-burgundy-light);
}

.mppd-tertiary {
    padding-top: 56px;
    padding-bottom: 56px;
    color: var(--mp-black, #1A1A1A);
    background: var(--mp-cream);
}

/* Section 3 (Related products) returns to Cream */
.mppd-tertiary .mppd-related {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    border-top: 0;
}
.mppd-tertiary .mppd-related-title,
.mppd-tertiary .mppd-card-title a {
    color: var(--mp-burgundy-dark);
}
.mppd-tertiary .mppd-card-price {
    color: var(--mp-burgundy-light);
}
.mppd-tertiary .mppd-card-image {
    border-color: rgba(106,47,64,.35);
}

/* Section 1 text colours for the light cream background */
.mppd-primary .mppd-breadcrumb a,
.mppd-primary .mppd-review-link,
.mppd-primary .mppd-short,
.mppd-primary .mppd-stock,
.mppd-primary .mppd-meta dd,
.mppd-primary .mppd-meta a,
.mppd-primary .mppd-facts-v {
    color: #1A1A1A;
}
.mppd-primary .mppd-title {
    color: var(--mp-burgundy-dark);
}
.mppd-primary .mppd-price,
.mppd-primary .mppd-facts-k,
.mppd-primary .mppd-meta dt,
.mppd-primary .mppd-cart .variations label,
.mppd-primary .mppd-cart .reset_variations,
.mppd-primary .mppd-cart .woocommerce-variation-price .price,
.mppd-primary .mppd-cart .stock,
.mppd-primary .mppd-stock.is-low,
.mppd-primary .mppd-breadcrumb [aria-current="page"] span,
.mppd-primary .mppd-breadcrumb li + li::before {
    color: var(--mp-burgundy-light);
}
.mppd-primary .mppd-breadcrumb a:hover,
.mppd-primary .mppd-review-link:hover,
.mppd-primary .mppd-meta a:hover {
    color: var(--mp-burgundy-light);
}
.mppd-primary .mppd-stars {
    background: linear-gradient(90deg, var(--mp-burgundy-light) var(--mppd-r, 0%), rgba(106,47,64,.22) var(--mppd-r, 0%));
    -webkit-background-clip: text;
    background-clip: text;
}
.mppd-primary .mppd-facts li,
.mppd-primary .mppd-meta,
.mppd-primary .mppd-cart .quantity,
.mppd-primary .mppd-main-link,
.mppd-primary .mppd-thumb {
    border-color: rgba(106,47,64,.35);
}
.mppd-primary .mppd-thumb.is-active {
    border-color: var(--mp-burgundy-light);
    box-shadow: 0 0 0 1px var(--mp-burgundy-light);
}
.mppd-primary .mppd-cart .quantity input.qty {
    color: var(--mp-burgundy-dark) !important;
}
.mppd-primary .mppd-qty-btn {
    color: var(--mp-burgundy-light);
}
.mppd-primary .mppd-qty-btn:hover {
    background: var(--mp-burgundy-light);
    color: var(--mp-white);
}
.mppd-primary .single_add_to_cart_button,
.mppd-primary .mppd-cart a.button {
    border-color: var(--mp-burgundy-light) !important;
    background: var(--mp-burgundy-light) !important;
    color: var(--mp-white) !important;
}
.mppd-primary .single_add_to_cart_button:hover,
.mppd-primary .mppd-cart a.button:hover {
    background: var(--mp-burgundy-dark) !important;
    color: var(--mp-white) !important;
}
.mppd-primary .mppd-cart .variations select {
    border-color: var(--mp-burgundy-light) !important;
    color: var(--mp-burgundy-dark) !important;
}

/* Section 2 starts directly on Burgundy Light and keeps the existing light/gold text system */
.mppd-secondary .mppd-tabs {
    margin-top: 0;
}

@media (max-width: 900px) {
    .mppd { padding: 0; }
    .mppd-primary,
    .mppd-secondary,
    .mppd-tertiary { padding-left: 16px; padding-right: 16px; }
    .mppd-primary { padding-top: 20px; padding-bottom: 32px; }
    .mppd-secondary,
    .mppd-tertiary { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 767px) {
    .mppd-secondary .mppd-tabs { margin-top: 0; }
    .mppd-has-sticky { padding-bottom: 0; }
    .mppd-has-sticky .mppd-tertiary { padding-bottom: 112px; }
}

/* Delivery checker: placed above stock and add-to-cart. */
.mppd .mppd-postcode-checker{padding:18px 20px;margin:22px 0 16px;border:1px solid #dac9bf;background:rgba(255,255,255,.3);border-radius:5px;color:#4e3339}
.mppd .mppd-postcode-checker h3{font:600 18px/1.3 inherit;margin:0 0 7px;color:#672c40}
.mppd .mppd-postcode-intro{font-size:14px;line-height:1.5;margin:0 0 14px}
.mppd .mppd-postcode-entry label{font-weight:600;font-size:13px;display:block;margin-bottom:6px}
.mppd .mppd-postcode-form{display:flex;gap:8px;align-items:stretch}
.mppd .mppd-postcode-input{min-width:0;flex:1;border:1px solid #c9aaa7;border-radius:3px;background:#fff;padding:11px 12px;font-size:15px;color:#35262a}
.mppd .mppd-postcode-submit{border:0;border-radius:3px;background:#682d41;color:#fff;padding:10px 18px;font-size:14px;font-weight:600;cursor:pointer}
.mppd .mppd-postcode-detect{background:transparent;color:#682d41;border:0;text-decoration:underline;cursor:pointer;font-size:13px;padding:10px 0 4px}
.mppd .mppd-postcode-checker button:disabled{opacity:.55;cursor:wait}
.mppd .mppd-postcode-message{font-size:14px;line-height:1.5;margin:10px 0 0!important}
.mppd .mppd-postcode-message.is-available{color:#25723b;font-weight:600}
.mppd .mppd-postcode-message.is-unavailable{color:#9d2939}
.mppd .mppd-postcode-contact{font-size:13px;line-height:1.7;margin-top:8px}
.mppd .mppd-postcode-contact[hidden]{display:none!important}
.mppd .mppd-postcode-contact a{color:#682d41;text-decoration:underline;margin-left:8px;overflow-wrap:anywhere}
@media(max-width:450px){.mppd .mppd-postcode-checker{padding:15px}.mppd .mppd-postcode-submit{padding:9px 12px}}


/* v1.4.1: Larger, full-width delivery checker with readable type on all devices. */
.mppd .mppd-postcode-checker {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: none;
  padding: 25px 28px;
  margin: 26px 0 22px;
}
.mppd .mppd-postcode-checker h3 {
  font-family: inherit;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
.mppd .mppd-postcode-intro {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.mppd .mppd-postcode-entry label {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.mppd .mppd-postcode-form { width: 100%; gap: 12px; }
.mppd .mppd-postcode-input {
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  min-height: 54px;
  padding: 13px 16px;
  font-size: 19px;
}
.mppd .mppd-postcode-submit {
  min-height: 54px;
  padding: 13px 24px;
  font-size: 18px;
}
.mppd .mppd-postcode-detect {
  font-size: 18px;
  line-height: 1.5;
  padding: 14px 0 7px;
}
.mppd .mppd-postcode-message {
  font-size: 19px;
  line-height: 1.6;
  margin-top: 15px !important;
}
.mppd .mppd-postcode-contact {
  font-size: 18px;
  line-height: 1.65;
  margin-top: 12px;
}
.mppd .mppd-postcode-contact a {
  display: inline-block;
  margin: 4px 12px 0 0;
  font-size: inherit;
}
@media (max-width: 600px) {
  .mppd .mppd-postcode-checker { padding: 20px 16px; }
  .mppd .mppd-postcode-checker h3 { font-size: 22px; }
  .mppd .mppd-postcode-intro,
  .mppd .mppd-postcode-entry label,
  .mppd .mppd-postcode-message { font-size: 17px; }
  .mppd .mppd-postcode-input,
  .mppd .mppd-postcode-submit,
  .mppd .mppd-postcode-detect,
  .mppd .mppd-postcode-contact { font-size: 16px; }
  .mppd .mppd-postcode-submit { padding-inline: 17px; }
}
