:root {
    --pmdn-green: #0b513d;
    --pmdn-green-dark: #073b2d;
    --pmdn-green-soft: #edf7f2;
    --pmdn-orange: #ff5a0a;
    --pmdn-ink: #14211d;
    --pmdn-muted: #62706b;
    --pmdn-line: #dfe6e2;
    --pmdn-panel: #ffffff;
    --pmdn-soft: #f5f7f6;
}

.pmdn-source-variation-form { display: none !important; }
.pmdn-bulk-order [hidden] { display: none !important; }

.pmdn-bulk-order {
    width: 100%;
    margin: 22px 0 30px;
    color: var(--pmdn-ink);
    font-size: 14px;
    line-height: 1.45;
}

.pmdn-configurator-intro { margin-bottom: 16px; }
.pmdn-configurator-intro h2 {
    margin: 0 0 5px;
    color: var(--pmdn-ink);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.1;
}
.pmdn-configurator-intro > p:last-child { margin: 0; color: var(--pmdn-muted); }
.pmdn-bulk-order__eyebrow {
    margin: 0 0 5px;
    color: var(--pmdn-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pmdn-config-panel {
    margin: 9px 0;
    padding: 15px;
    border: 1px solid var(--pmdn-line);
    border-radius: 10px;
    background: var(--pmdn-panel);
    box-shadow: 0 1px 1px rgba(10, 52, 39, .025);
}
.pmdn-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.pmdn-panel-heading h3 {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: var(--pmdn-ink);
    font-size: 17px;
    line-height: 1.25;
}
.pmdn-panel-heading h3 small {
    margin-left: 5px;
    color: var(--pmdn-muted);
    font-size: 12px;
    font-weight: 500;
}
.pmdn-bulk-order__step {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    border-radius: 7px;
    background: var(--pmdn-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.pmdn-selected-colour,
.pmdn-live-stock-label,
.pmdn-branding-help,
.pmdn-setup-chip {
    flex: 0 0 auto;
    color: var(--pmdn-green);
    font-size: 12px;
    font-weight: 700;
}
.pmdn-setup-chip {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--pmdn-green-soft);
}

.pmdn-colour-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.pmdn-colour-swatch {
    position: relative;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    padding: 3px !important;
    border: 2px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}
.pmdn-colour-swatch:hover { border-color: #9fb2aa !important; }
.pmdn-colour-swatch.is-selected { border-color: var(--pmdn-green) !important; }
.pmdn-colour-swatch__paint {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 999px;
    background: var(--pmdn-swatch);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.pmdn-colour-swatch__paint.has-variation-image {
    background: #f5f6f5;
}
.pmdn-colour-swatch__paint.has-variation-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pmdn-colour-swatch.is-selected::after {
    position: absolute;
    right: -3px;
    bottom: -2px;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--pmdn-green);
    color: #fff;
    content: '✓';
    font-size: 9px;
    font-weight: 900;
}
.pmdn-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pmdn-bulk-order__status {
    margin: 10px 0 0;
    padding: 0;
    color: var(--pmdn-muted);
    font-size: 13px;
    font-weight: 600;
}
.pmdn-bulk-order__status:empty { display: none; }
.pmdn-bulk-order__status.is-error {
    padding: 9px 11px;
    border-radius: 7px;
    background: #fff0ed;
    color: #a12a16;
}

.pmdn-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 7px;
}
.pmdn-size-card {
    min-width: 0;
    padding: 9px 6px 8px;
    border: 1px solid var(--pmdn-line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.pmdn-size-card.has-quantity {
    border-color: var(--pmdn-green);
    background: var(--pmdn-green-soft);
    box-shadow: 0 0 0 1px var(--pmdn-green);
}
.pmdn-size-card.is-unavailable { opacity: .42; }
.pmdn-size-card__size { display: block; font-size: 14px; }
.pmdn-size-card__stock {
    display: block;
    min-height: 16px;
    margin: 1px 0 7px;
    overflow: hidden;
    color: var(--pmdn-muted);
    font-size: 9px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pmdn-qty-control {
    display: grid;
    grid-template-columns: 21px minmax(26px, 1fr) 21px;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    border: 1px solid #ccd6d1;
    border-radius: 6px;
    background: #fff;
}
.pmdn-qty-btn,
.pmdn-bulk-order__qty {
    width: auto !important;
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--pmdn-ink) !important;
    box-shadow: none !important;
}
.pmdn-qty-btn { font-size: 15px !important; line-height: 1 !important; cursor: pointer; }
.pmdn-qty-btn:hover:not(:disabled) { background: #eef3f0 !important; }
.pmdn-bulk-order__qty {
    border-right: 1px solid #dce3df !important;
    border-left: 1px solid #dce3df !important;
    font-size: 12px !important;
    font-weight: 800;
    text-align: center;
    -moz-appearance: textfield;
}
.pmdn-bulk-order__qty::-webkit-outer-spin-button,
.pmdn-bulk-order__qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.pmdn-row-price {
    display: block;
    margin-top: 6px;
    color: var(--pmdn-green);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}
.pmdn-price-fallback::after { content: ' *'; opacity: .55; }
.pmdn-bulk-pricing-note {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    margin-top: 11px;
    padding: 9px 11px;
    border-radius: 7px;
    background: var(--pmdn-soft);
    color: var(--pmdn-muted);
    font-size: 11px;
}
.pmdn-bulk-pricing-note strong { color: var(--pmdn-ink); }
.pmdn-current-tier {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff;
    color: var(--pmdn-green);
    font-weight: 800;
}

.pmdn-branding-method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.pmdn-method-card {
    position: relative;
    display: flex !important;
    align-items: center;
    min-width: 0;
    min-height: 68px;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid var(--pmdn-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--pmdn-ink) !important;
    box-shadow: none !important;
    text-align: left;
    cursor: pointer;
}
.pmdn-method-card:hover { border-color: #9fb2aa !important; }
.pmdn-method-card.is-selected {
    border-color: var(--pmdn-green) !important;
    background: var(--pmdn-green-soft) !important;
    box-shadow: 0 0 0 1px var(--pmdn-green) !important;
}
.pmdn-method-card__icon {
    flex: 0 0 auto;
    margin-right: 8px;
    color: var(--pmdn-green);
    font-size: 21px;
    font-weight: 700;
}
.pmdn-method-card strong,
.pmdn-method-card small { display: block; }
.pmdn-method-card strong { font-size: 12px; line-height: 1.2; }
.pmdn-method-card small { margin-top: 3px; color: var(--pmdn-muted); font-size: 9px; line-height: 1.25; }
.pmdn-method-card__check {
    position: absolute;
    top: 6px;
    left: 6px;
    display: none;
    width: 15px;
    height: 15px;
    border-radius: 4px;
    background: var(--pmdn-green);
    color: #fff;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
}
.pmdn-method-card.is-selected .pmdn-method-card__check { display: block; }

.pmdn-decoration-builder { overflow: hidden; }
.pmdn-setup-note {
    margin: -1px 0 13px;
    padding: 9px 11px;
    border-radius: 7px;
    background: var(--pmdn-soft);
    color: var(--pmdn-muted);
    font-size: 11px;
}
.pmdn-decoration-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pmdn-decoration-method {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--pmdn-line);
    border-radius: 9px;
    background: #fbfcfb;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pmdn-decoration-method.is-highlighted {
    border-color: var(--pmdn-green);
    box-shadow: 0 0 0 3px rgba(11, 81, 61, .12);
}
.pmdn-decoration-method__header h4 { margin: 0 0 2px; color: var(--pmdn-ink); font-size: 14px; }
.pmdn-decoration-method__header p { margin: 0 0 9px; color: var(--pmdn-muted); font-size: 10px; }
.pmdn-decoration-grid { display: grid; gap: 6px; }
.pmdn-decoration-option {
    display: block;
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--pmdn-line);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.pmdn-decoration-option:hover { border-color: #a8b8b1; }
.pmdn-decoration-option.is-selected {
    border-color: var(--pmdn-green);
    box-shadow: 0 0 0 1px var(--pmdn-green);
}
.pmdn-decoration-option.is-conflicting { opacity: .38; cursor: not-allowed; }
.pmdn-decoration-option__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pmdn-decoration-option__top > input {
    flex: 0 0 auto;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    accent-color: var(--pmdn-green);
}
.pmdn-placement-icon {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 32px;
    place-items: center;
    border: 1px solid #d7e0dc;
    border-radius: 6px;
    background: var(--pmdn-soft);
    color: var(--pmdn-green);
}
.pmdn-placement-icon::before { content: '◎'; font-size: 14px; }
.pmdn-decoration-option__copy { min-width: 0; flex: 1; }
.pmdn-decoration-option__copy strong,
.pmdn-decoration-option__copy small { display: block; }
.pmdn-decoration-option__copy strong { font-size: 11px; line-height: 1.2; }
.pmdn-decoration-option__copy small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--pmdn-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pmdn-decoration-option__price { flex: 0 0 auto; color: var(--pmdn-green); font-size: 10px; font-weight: 800; }
.pmdn-artwork-upload {
    display: block;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px dashed #ccd7d2;
}
.pmdn-artwork-upload__label { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 800; }
.pmdn-file-control { position: relative; display: block; }
.pmdn-artwork-file {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.pmdn-artwork-filename {
    display: block;
    padding: 7px 9px;
    overflow: hidden;
    border: 1px solid var(--pmdn-line);
    border-radius: 6px;
    background: var(--pmdn-soft);
    color: var(--pmdn-green);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pmdn-artwork-upload small { display: block; margin-top: 4px; color: var(--pmdn-muted); font-size: 9px; }

.pmdn-artwork-guidance { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pmdn-artwork-guidance > div {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--pmdn-soft);
}
.pmdn-artwork-guidance > div.is-positive { background: var(--pmdn-green-soft); }
.pmdn-artwork-guidance strong,
.pmdn-artwork-guidance span { display: block; }
.pmdn-artwork-guidance strong { font-size: 11px; }
.pmdn-artwork-guidance span { margin-top: 2px; color: var(--pmdn-muted); font-size: 9px; }

.pmdn-bulk-order__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr);
    gap: 16px;
    align-items: stretch;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid var(--pmdn-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 52, 39, .07);
}
.pmdn-bulk-order__totals { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; align-content: center; }
.pmdn-bulk-order__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #eef1ef;
    color: var(--pmdn-muted);
    font-size: 11px;
}
.pmdn-bulk-order__totals strong { color: var(--pmdn-ink); text-align: right; }
.pmdn-bulk-order__actions { min-width: 0; }
.pmdn-order-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pmdn-order-total span { color: var(--pmdn-muted); font-size: 12px; }
.pmdn-order-total strong { color: var(--pmdn-ink); font-size: 26px; line-height: 1; }
.pmdn-branding-summary {
    margin: 7px 0;
    overflow: hidden;
    color: var(--pmdn-muted);
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
}
.pmdn-bulk-order__submit {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--pmdn-orange) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.pmdn-bulk-order__submit:hover:not(:disabled) { background: #e84d00 !important; }
.pmdn-bulk-order__submit:disabled { opacity: .45; cursor: not-allowed; }
.pmdn-bulk-order__actions > small { display: block; margin-top: 5px; color: var(--pmdn-muted); font-size: 8px; text-align: center; }

@media (max-width: 900px) {
    .pmdn-branding-method-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pmdn-decoration-methods { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .pmdn-config-panel { padding: 12px; }
    .pmdn-panel-heading { align-items: flex-start; }
    .pmdn-panel-heading h3 { font-size: 15px; }
    .pmdn-panel-heading h3 small { display: none; }
    .pmdn-selected-colour, .pmdn-live-stock-label, .pmdn-branding-help { max-width: 38%; text-align: right; }
    .pmdn-size-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pmdn-branding-method-cards { grid-template-columns: 1fr 1fr; }
    .pmdn-method-card { min-height: 64px; }
    .pmdn-artwork-guidance { grid-template-columns: 1fr; }
    .pmdn-bulk-order__footer { grid-template-columns: 1fr; }
    .pmdn-order-total strong { font-size: 24px; }
}

@media (max-width: 390px) {
    .pmdn-branding-method-cards { grid-template-columns: 1fr; }
    .pmdn-bulk-order__totals { grid-template-columns: 1fr; }
}

/* v0.7 product presentation */
.single-product .woocommerce-breadcrumb {
    margin-bottom: 24px;
    color: #78847f;
    font-size: 12px;
}
.single-product .woocommerce-breadcrumb a {
    color: var(--pmdn-green);
    text-decoration-color: rgba(11, 81, 61, .3);
    text-underline-offset: 3px;
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery,
.single-product div.product .summary {
    box-sizing: border-box;
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery {
    align-self: start;
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery .flex-viewport,
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
    overflow: hidden;
    border: 1px solid var(--pmdn-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #fbfcfb, #f3f6f4);
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(620px, 66vw);
    padding: 20px;
    box-sizing: border-box;
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto !important;
    max-height: 620px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery__trigger {
    top: 16px;
    right: 16px;
    z-index: 6;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--pmdn-line);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 20px rgba(11, 81, 61, .08);
}
.single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs {
    display: flex;
    gap: 9px;
    margin: 12px 0 0 !important;
    padding: 0;
    list-style: none;
}
.single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs li {
    width: 72px !important;
    margin: 0 !important;
    float: none !important;
}
.single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs img {
    width: 72px;
    height: 86px;
    padding: 5px;
    border: 1px solid var(--pmdn-line);
    border-radius: 9px;
    background: #fff;
    object-fit: contain;
    box-sizing: border-box;
    opacity: .66;
    transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs img:hover,
.single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs img.flex-active {
    border-color: var(--pmdn-green);
    box-shadow: 0 0 0 2px rgba(11, 81, 61, .13);
    opacity: 1;
}
.single-product div.product .summary .product_title {
    margin: 7px 0 12px;
    color: var(--pmdn-ink);
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.04;
}
.single-product div.product .summary .price {
    margin: 0 0 4px;
    color: var(--pmdn-green-dark);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;
}
.single-product div.product .summary .woocommerce-product-details__short-description {
    margin: 20px 0 22px;
    color: #33443e;
    font-size: 16px;
    line-height: 1.6;
}
.single-product div.product .summary .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.pmdn-product-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    color: var(--pmdn-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.pmdn-product-sku {
    color: #7a8681;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .04em;
}
.pmdn-price-note {
    margin: 0 0 12px;
    color: #7a8681;
    font-size: 11px;
}
.single-product div.product .summary .product_meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--pmdn-line);
    color: #7a8681;
    font-size: 11px;
}
.single-product div.product .summary .product_meta a { color: var(--pmdn-green); }

.pmdn-product-assurances {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    clear: both;
    gap: 0;
    margin: 36px 0 30px;
    padding: 18px 0;
    border-top: 1px solid var(--pmdn-line);
    border-bottom: 1px solid var(--pmdn-line);
}
.pmdn-assurance {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 4px 18px;
    border-right: 1px solid var(--pmdn-line);
}
.pmdn-assurance:first-child { padding-left: 0; }
.pmdn-assurance:last-child { padding-right: 0; border-right: 0; }
.pmdn-assurance__icon {
    display: grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: var(--pmdn-green-soft);
    color: var(--pmdn-green);
}
.pmdn-assurance__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.pmdn-assurance strong,
.pmdn-assurance small { display: block; }
.pmdn-assurance strong { color: var(--pmdn-ink); font-size: 12px; }
.pmdn-assurance small {
    margin-top: 2px;
    overflow: hidden;
    color: #74807b;
    font-size: 9px;
    line-height: 1.3;
    text-overflow: ellipsis;
}

@media (min-width: 981px) {
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery {
        position: sticky;
        top: 24px;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        width: 44%;
        column-gap: 13px;
        float: left;
    }
    .single-product:not(.pmdn-shoptimizer) div.product .summary {
        width: 52%;
        float: right;
    }
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery .flex-viewport,
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
        grid-row: 1;
        grid-column: 2;
        min-width: 0;
    }
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery .flex-control-thumbs {
        grid-row: 1;
        grid-column: 1;
        flex-direction: column;
        margin: 0 !important;
    }
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { right: 16px; }
}

@media (max-width: 980px) {
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery,
    .single-product:not(.pmdn-shoptimizer) div.product .summary {
        width: 100%;
        float: none;
    }
    .single-product:not(.pmdn-shoptimizer) div.product .summary { margin-top: 26px; }
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery__image a { min-height: min(640px, 90vw); }
    .pmdn-product-assurances { grid-template-columns: 1fr 1fr; }
    .pmdn-assurance:nth-child(2) { border-right: 0; }
    .pmdn-assurance:nth-child(n+3) { margin-top: 14px; }
    .pmdn-assurance:nth-child(3) { padding-left: 0; }
}

@media (max-width: 560px) {
    .single-product div.product .summary .product_title { font-size: 32px; }
    .single-product:not(.pmdn-shoptimizer) div.product .woocommerce-product-gallery__image a { min-height: 105vw; padding: 12px; }
    .single-product:not(.pmdn-shoptimizer) div.product .flex-control-thumbs { overflow-x: auto; padding-bottom: 3px; }
    .pmdn-product-assurances { grid-template-columns: 1fr; }
    .pmdn-assurance,
    .pmdn-assurance:first-child,
    .pmdn-assurance:nth-child(3),
    .pmdn-assurance:last-child {
        margin: 0;
        padding: 10px 0;
        border-right: 0;
        border-bottom: 1px solid var(--pmdn-line);
    }
    .pmdn-assurance:last-child { border-bottom: 0; }
}

/* v0.8 lower product information */
.pmdn-bulk-order .pmdn-product-assurances {
    margin: 12px 0 0;
    padding: 14px 0 2px;
    border-bottom: 0;
}
.single-product div.product .summary .product_meta { display: none; }

.single-product div.product .woocommerce-tabs {
    clear: both;
    width: 100%;
    margin: 34px 0 46px;
    padding-top: 8px;
}
.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
}
.single-product div.product .woocommerce-tabs ul.tabs::before,
.single-product div.product .woocommerce-tabs ul.tabs::after,
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--pmdn-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 9px 14px !important;
    color: #52615b !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.2;
    text-decoration: none !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li:hover,
.single-product div.product .woocommerce-tabs ul.tabs li.active {
    border-color: var(--pmdn-green) !important;
    background: var(--pmdn-green) !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li:hover a,
.single-product div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.single-product div.product .woocommerce-tabs .panel {
    margin: 0 !important;
    padding: clamp(20px, 3vw, 34px) !important;
    border: 1px solid var(--pmdn-line);
    border-radius: 14px;
    background: #fff;
    color: #415049;
    box-shadow: 0 8px 30px rgba(11, 81, 61, .045);
    line-height: 1.65;
}
.single-product div.product .woocommerce-tabs .panel > h2:first-child,
.single-product div.product .woocommerce-tabs .panel .pmdn-tab-intro h2 {
    margin: 0 0 10px;
    color: var(--pmdn-ink);
    font-size: clamp(24px, 2.5vw, 34px);
    letter-spacing: -.025em;
    line-height: 1.12;
}
.single-product div.product .woocommerce-tabs .panel ul:not(.woocommerce-error):not(.woocommerce-message) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.single-product div.product .woocommerce-tabs .panel ul:not(.woocommerce-error):not(.woocommerce-message) li {
    position: relative;
    padding-left: 20px;
}
.single-product div.product .woocommerce-tabs .panel ul:not(.woocommerce-error):not(.woocommerce-message) li::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--pmdn-orange);
    content: '';
}
.single-product div.product .woocommerce-product-attributes {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--pmdn-line);
    border-radius: 10px;
}
.single-product div.product .woocommerce-product-attributes th,
.single-product div.product .woocommerce-product-attributes td {
    padding: 12px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pmdn-line) !important;
    background: #fff !important;
    font-size: 12px;
    text-align: left;
}
.single-product div.product .woocommerce-product-attributes tr:last-child th,
.single-product div.product .woocommerce-product-attributes tr:last-child td { border-bottom: 0 !important; }
.single-product div.product .woocommerce-product-attributes th {
    width: 28%;
    color: var(--pmdn-ink);
    font-weight: 800;
}
.single-product div.product .woocommerce-product-attributes td { color: #607069; }
.single-product div.product .woocommerce-product-attributes p { margin: 0; }

.pmdn-tab-intro { max-width: 760px; margin-bottom: 20px; }
.pmdn-tab-intro p:last-child { margin: 0; color: #65736d; }
.pmdn-tab-eyebrow {
    margin: 0 0 5px;
    color: var(--pmdn-green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.pmdn-size-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pmdn-size-pills span {
    display: grid;
    min-width: 48px;
    min-height: 42px;
    padding: 6px 10px;
    place-items: center;
    border: 1px solid var(--pmdn-line);
    border-radius: 8px;
    background: var(--pmdn-soft);
    color: var(--pmdn-ink);
    font-size: 12px;
    font-weight: 800;
}
.pmdn-tab-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.pmdn-info-card {
    position: relative;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--pmdn-line);
    border-radius: 11px;
    background: var(--pmdn-soft);
}
.pmdn-info-card__number {
    display: block;
    margin-bottom: 20px;
    color: var(--pmdn-orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}
.pmdn-info-card h3 { margin: 0 0 7px; color: var(--pmdn-ink); font-size: 16px; }
.pmdn-info-card p { margin: 0; color: #65736d; font-size: 12px; line-height: 1.55; }
.pmdn-tab-callout {
    display: flex;
    align-items: flex-start;
    gap: 8px 18px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 9px;
    background: var(--pmdn-green-soft);
    color: #506159;
    font-size: 11px;
}
.pmdn-tab-callout strong { flex: 0 0 auto; color: var(--pmdn-green-dark); }
.pmdn-tab-callout.is-orange { background: #fff3ec; }
.pmdn-tab-callout.is-orange strong { color: #b84000; }

.single-product .related.products {
    clear: both;
    margin: 42px 0 34px;
}
.single-product .related.products > h2 {
    margin-bottom: 20px;
    color: var(--pmdn-ink);
    font-size: clamp(24px, 2.5vw, 34px);
    letter-spacing: -.025em;
}
.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.single-product .related.products ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    float: none !important;
    border: 1px solid var(--pmdn-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(11, 81, 61, .035);
}
.single-product .related.products ul.products li.product img {
    aspect-ratio: 4 / 5;
    margin-bottom: 12px !important;
    border-radius: 8px;
    background: var(--pmdn-soft);
    object-fit: contain;
}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    min-height: 36px;
    margin: 0 !important;
    color: var(--pmdn-ink);
    font-size: 11px !important;
    line-height: 1.35;
}
.single-product .related.products ul.products li.product .price {
    display: block;
    margin: 7px 0;
    color: var(--pmdn-green);
    font-size: 12px;
    font-weight: 800;
}
.single-product .related.products ul.products li.product .button {
    width: 100%;
    margin-top: 6px;
    padding: 9px 10px;
    border-radius: 7px;
    background: var(--pmdn-green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}
.single-product .related.products ul.products li.product .button:hover { background: var(--pmdn-green-dark); }

@media (max-width: 980px) {
    .pmdn-tab-card-grid { grid-template-columns: 1fr; }
    .single-product .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .single-product div.product .woocommerce-tabs ul.tabs {
        flex-wrap: nowrap;
        padding-bottom: 5px !important;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .single-product div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
    .single-product div.product .woocommerce-tabs .panel ul:not(.woocommerce-error):not(.woocommerce-message) { grid-template-columns: 1fr; }
    .pmdn-tab-callout { display: block; }
    .pmdn-tab-callout strong { display: block; margin-bottom: 5px; }
    .single-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v0.9 Shoptimizer presentation layer */
.pmdn-shoptimizer {
    background: #fff;
    color: var(--pmdn-ink);
}
.pmdn-shoptimizer .site-header,
.pmdn-shoptimizer .main-header,
.pmdn-shoptimizer .header-widget-region {
    background: #fff;
}
.pmdn-shoptimizer .site-header-cart .cart-contents .count,
.pmdn-shoptimizer .cart-contents .count {
    background: var(--pmdn-orange);
    color: #fff;
}
/* Shoptimizer owns its page container and gallery/summary columns.
   Do not override its flex/grid display or mix custom widths with CommerceKit. */

.pmdn-store-benefits {
    position: relative;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100vw;
    margin: 0 0 18px -50vw;
    padding: 12px max(20px, calc((100vw - 1400px) / 2));
    background: var(--pmdn-green-dark);
    color: #fff;
}
.pmdn-store-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: 3px 16px;
    border-right: 1px solid rgba(255, 255, 255, .28);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .015em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}
.pmdn-store-benefit:last-child { border-right: 0; }
.pmdn-store-benefit__icon { display: inline-grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; }
.pmdn-store-benefit__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.pmdn-gallery-features { display: none; }
.pmdn-gallery-features.is-mounted {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: 12px;
}
.pmdn-gallery-features > div {
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid var(--pmdn-line);
    border-radius: 9px;
    background: #f7f8f7;
    text-align: center;
}
.pmdn-gallery-features strong,
.pmdn-gallery-features span { display: block; }
.pmdn-gallery-features strong { color: var(--pmdn-ink); font-size: 10px; line-height: 1.2; }
.pmdn-gallery-features span { margin-top: 4px; color: var(--pmdn-muted); font-size: 8px; line-height: 1.35; }

.pmdn-workwear-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 1.15fr);
    clear: both;
    gap: 28px;
    align-items: center;
    margin: 28px 0 24px;
    padding: 28px 34px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(120deg, #10281f 0%, var(--pmdn-green-dark) 58%, #153b2c 100%);
    color: #fff;
}
.pmdn-workwear-banner::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 42%;
    width: 8px;
    background: var(--pmdn-orange);
    content: '';
    transform: skewX(-18deg);
}
.pmdn-workwear-banner__copy,
.pmdn-workwear-banner__points { position: relative; z-index: 1; }
.pmdn-workwear-banner__copy strong {
    display: block;
    color: #fff;
    font-size: clamp(24px, 3vw, 39px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .95;
}
.pmdn-workwear-banner__copy span { display: block; max-width: 500px; margin-top: 10px; color: rgba(255, 255, 255, .76); font-size: 11px; }
.pmdn-workwear-banner__points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.pmdn-workwear-banner__points span {
    padding: 8px 18px;
    border-right: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}
.pmdn-workwear-banner__points span:last-child { border-right: 0; }

@media (max-width: 980px) {
    .pmdn-store-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pmdn-store-benefit:nth-child(3) { border-right: 0; }
    .pmdn-store-benefit:nth-child(n+4) { display: none; }
    .pmdn-workwear-banner { grid-template-columns: 1fr; }
    .pmdn-workwear-banner::before { top: 44%; right: 0; bottom: auto; left: 0; width: auto; height: 7px; transform: skewY(-2deg); }
}

@media (max-width: 640px) {
    .pmdn-store-benefits { grid-template-columns: 1fr; padding: 10px 12px; }
    .pmdn-store-benefit { border-right: 0; }
    .pmdn-store-benefit:not(:first-child) { display: none; }
    .pmdn-gallery-features.is-mounted { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pmdn-workwear-banner { gap: 22px; padding: 23px 20px; }
    .pmdn-workwear-banner__points { grid-template-columns: 1fr; }
    .pmdn-workwear-banner__points span { padding: 8px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
    .pmdn-workwear-banner__points span:last-child { border-bottom: 0; }
}

/* v0.11.1: adapt the configurator to its column, not the browser width. */
.pmdn-bulk-order {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    container: pmdn-order / inline-size;
}
.pmdn-bulk-order *, .pmdn-bulk-order *::before, .pmdn-bulk-order *::after {
    box-sizing: border-box;
}
.pmdn-price-note {
    clear: both;
    display: block;
    width: 100%;
}
.pmdn-shoptimizer.single-product .pmdn-store-benefits {
    left: auto;
    width: 100%;
    margin-left: 0;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
}
@container pmdn-order (max-width: 600px) {
    .pmdn-branding-method-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pmdn-decoration-methods { grid-template-columns: 1fr; }
    .pmdn-bulk-order__footer { grid-template-columns: 1fr; }
    .pmdn-assurance { gap: 6px; padding-right: 8px; padding-left: 8px; }
}
@container pmdn-order (max-width: 420px) {
    .pmdn-panel-heading { flex-wrap: wrap; gap: 6px; }
    .pmdn-panel-heading h3 { flex-wrap: wrap; }
    .pmdn-artwork-guidance { grid-template-columns: 1fr; }
    .pmdn-product-assurances { grid-template-columns: 1fr 1fr; }
    .pmdn-assurance:nth-child(2) { border-right: 0; }
    .pmdn-assurance:nth-child(n+3) { margin-top: 12px; }
}
@container pmdn-order (max-width: 330px) {
    .pmdn-branding-method-cards, .pmdn-bulk-order__totals { grid-template-columns: 1fr; }
    .pmdn-selected-colour, .pmdn-live-stock-label, .pmdn-branding-help, .pmdn-setup-chip {
        max-width: 100%;
        white-space: normal;
    }
}
