body.herba-single-product .page-wrapper > .page-top,
body.herba-single-product #breadcrumbs-boxed > .page-top {
    display: none;
}

.hm-sp {
    --hm-sp-green: var(--hm-green, #217373);
    --hm-sp-dark: #185e5c;
    --hm-sp-ink: #263b3a;
    --hm-sp-muted: #536865;
    --hm-sp-line: #dce8e3;
    --hm-sp-mint: #e6f4f1;
    --hm-sp-paper: #f4f7f4;
    max-width: 1352px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px) 55px;
    color: var(--hm-sp-ink);
}
.hm-sp *, .hm-sp *::before, .hm-sp *::after { box-sizing: border-box; }
.hm-sp [hidden] { display: none !important; }
.hm-sp :focus-visible { outline: 2px solid var(--hm-sp-green); outline-offset: 3px; }

.hm-sp .hm-sp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 9px;
    padding: 24px 0;
    color: var(--hm-sp-muted);
    font-size: 12px;
    line-height: 1.5;
}
.hm-sp .hm-sp-breadcrumb a { color: var(--hm-sp-muted); }
.hm-sp .hm-sp-breadcrumb a:hover { color: var(--hm-sp-green); }

.hm-sp .hm-sp-product { margin: 0; }
.hm-sp .hm-sp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(26px, 6vw, 80px);
}
.hm-sp .hm-sp-gallery { min-width: 0; }
.hm-sp .hm-sp-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 1.14;
    border-radius: 14px;
    background: var(--hm-sp-paper);
}
.hm-sp .hm-sp-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 71%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--hm-sp-mint);
}
.hm-sp .product-type-variable .hm-sp-stage::before { background: #f3e6ed; }
.hm-sp .hm-sp-stage-detail::before { display: none; }
.hm-sp .hm-sp-stage-link { position: absolute; inset: 0; display: grid; place-items: center; }
.hm-sp .hm-sp-stage-link > img {
    display: block;
    width: 86%;
    height: 91%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.hm-sp .hm-sp-stage-detail .hm-sp-stage-link > img { width: 92%; mix-blend-mode: multiply; }
.hm-sp .hm-sp-badge, .hm-sp-gallery-nav > span {
    padding: 4px 8px;
    border-radius: 5px;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}
.hm-sp .hm-sp-badge {
    position: absolute;
    z-index: 1;
    top: 15px;
    left: 15px;
    background: #fae7f3;
    color: #792655;
}
.hm-sp .hm-sp-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hm-sp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--hm-sp-dark);
    font-size: 24px;
    padding-bottom:4px;
}
.hm-sp .hm-sp-gallery-nav {
    position: absolute;
    inset: auto 13px 13px 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}
.hm-sp .hm-sp-gallery-nav button, .hm-sp .hm-sp-lightbox button {
    width: 37px;
    height: 37px;
    margin: 0 2px;
    padding: 0;
    border: 1px solid var(--hm-sp-line);
    border-radius: 50%;
    background: #fff;
    color: var(--hm-sp-dark);
    line-height: 1;
    font: inherit;
    font-size: 23px;
    pointer-events: auto;
    cursor: pointer;
}
.hm-sp .hm-sp-thumbs {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 8px 3px;
    margin-top: 4px;
}
.hm-sp .hm-sp-thumbs a {
    flex: 0 0 65px;
    height: 62px;
    padding: 3px;
    border: 1px solid var(--hm-sp-line);
    border-radius: 8px;
    background: var(--hm-sp-paper);
}
.hm-sp-gallery-nav button {padding-bottom:8px!important;}
.hm-sp .hm-sp-thumbs a[aria-current=true] { border: 2px solid var(--hm-sp-green); }
.hm-sp .hm-sp-thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.hm-sp .hm-sp-lightbox {
    max-width: min(820px, 100% - 24px);
    width: 100%;
    margin: auto;
    padding: 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--hm-sp-ink);
}
.hm-sp .hm-sp-lightbox::backdrop { background: rgb(21 50 49 / 55%); }
.hm-sp .hm-sp-lightbox img { width: 100%; max-height: 73vh; object-fit: contain; }
.hm-sp .hm-sp-lightbox-head { display: flex; justify-content: flex-end; }
.hm-sp .hm-sp-lightbox-nav { display: flex; gap: 8px; justify-content: center; padding-top: 8px; }
.hm-sp-lightbox-nav button {
    padding-bottom:8px!important;
}
.single-product .hm-sp .hm-sp-summary {
    float: none;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 5px 0 0;
}
.hm-sp .hm-sp-kicker {
    display: block;
    margin: 0 0 10px;
    color: var(--hm-sp-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.4;
    text-transform: uppercase;
}
.hm-sp .hm-sp-kicker a { color: inherit; }
.single-product .hm-sp .hm-sp-title {
    margin: 0;
    color: var(--hm-sp-ink);
    font-size: clamp(27px, 3.25vw, 36px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-transform: none;
    overflow-wrap: anywhere;
}
.hm-sp .hm-sp-subtitle {
    margin: 11px 0 0;
    color: var(--hm-sp-dark);
    font: italic clamp(16px, 1.6vw, 21px)/1.4 Georgia, serif;
}
.hm-sp .hm-sp-short { margin-top: 15px; color: var(--hm-sp-muted); }
.hm-sp .hm-sp-short p { color: inherit; margin: 0 0 8px; }
.hm-sp .hm-sp-more { color: var(--hm-sp-dark); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hm-sp .hm-sp-purchase { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--hm-sp-line); }
.hm-sp .hm-sp-price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; }
.single-product .hm-sp .hm-sp-price, .hm-sp .hm-sp-card-price { color: var(--hm-sp-dark); font-weight: 800; }
.single-product .hm-sp .hm-sp-price { margin: 0; font-size: clamp(24px, 2.7vw, 31px)!important; line-height: 1.25;      color: var(--hm-green) !important;}
.hm-sp .hm-sp-price del, .hm-sp .hm-sp-card-price del { color: var(--hm-sp-muted); font-size: .75em; font-weight: 500; }
.hm-sp .hm-sp-price ins, .hm-sp .hm-sp-card-price ins { text-decoration: none; }
.hm-sp .hm-sp-choice-status { color: var(--hm-sp-muted); font-size: 12px; }
.hm-sp .hm-sp-choice-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #9b7339; }
.hm-sp .hm-sp-choice-status[data-hm-sp-state=available]::before { background: #2d8468; }
.hm-sp .hm-sp-buy { margin-top: 11px; }
.single-product .hm-sp .hm-sp-buy form.cart { margin: 0; padding: 0; border: 0; }
.hm-sp .hm-sp-buy .variations { width: 100%; margin: 0 0 10px; border: 0; }
.hm-sp .hm-sp-buy .variations tbody, .hm-sp .hm-sp-buy .variations tr,
.hm-sp .hm-sp-buy .variations th, .hm-sp .hm-sp-buy .variations td {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    text-align: left;
}
.hm-sp .hm-sp-buy .variations th { margin: 9px 0 4px; }
.hm-sp .hm-sp-buy .variations select { max-width: 100%; min-height: 36px; margin: 0; }
.hm-sp .hm-sp-buy .variations .hm-sp-native-select { display: none !important; }
.hm-sp .hm-sp-buy .reset_variations { color: var(--hm-sp-dark); font-size: 12px; }
.hm-sp .hm-sp-filters { display: flex; gap: 4px; flex-wrap: wrap; margin: 5px 0 7px; }
.hm-sp .hm-sp-filters button, .hm-sp .hm-sp-swatch {
    border: 1px solid var(--hm-sp-line);
    background: #fff;
    border-radius: 6px;
    color: var(--hm-sp-ink);
    font: inherit;
    cursor: pointer;
}
.hm-sp .hm-sp-filters button { min-height: 30px; padding: 3px 8px; font-size: 11px; }
.hm-sp .hm-sp-swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.hm-sp .hm-sp-palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); }
.hm-sp .hm-sp-swatch {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 43px;
    min-width: 0;
    padding: 4px 9px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.hm-sp .hm-sp-palette .hm-sp-swatch { padding: 3px; }
.hm-sp .hm-sp-swatch img { width: 50px; height: 28px; object-fit: contain; border-radius: 3px; }
.hm-sp .hm-sp-palette .hm-sp-swatch img { width: 100%; object-fit: cover; object-position: center top; }
.hm-sp .hm-sp-filters button[aria-pressed=true], .hm-sp .hm-sp-swatch[aria-pressed=true] { border-color: var(--hm-sp-green); background: var(--hm-sp-mint); color: var(--hm-sp-dark); box-shadow: inset 0 0 0 1px var(--hm-sp-green); }
.hm-sp .hm-sp-swatch:disabled { opacity: .44; cursor: not-allowed; }
.hm-sp .hm-sp-buy .woocommerce-variation-price { margin: 4px 0; }
.hm-sp .hm-sp-buy.hm-sp-variation-enhanced .woocommerce-variation-price { display: none; }

.single-product .hm-sp .hm-sp-buy form.cart:not(.variations_form),
.single-product .hm-sp .hm-sp-buy .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
}
.single-product .hm-sp .hm-sp-buy .quantity { display: inline-flex; float: none; align-items: stretch; margin: 0;
background: #fff;
    overflow: hidden;
        border: 1px solid var(--hm-sp-line);
        border-radius:6px;
}
.hm-sp-quantity button:hover {
    background: var(--mint);
}
.hm-sp .hm-sp-buy .quantity.hm-sp-quantity > :is(.plus,.minus):not([data-hm-sp-quantity]) { display: none; }
.hm-sp .hm-sp-buy .hm-sp-quantity button, .hm-sp .hm-sp-buy .hm-sp-quantity input.qty {
    min-width: 35px;
    margin: 0;
    padding: 0 5px;
    border: 1px solid var(--hm-sp-line);
    background: #fff;
    color: var(--hm-sp-ink);
    text-align: center;
    height:46px;
    border:none;
}
.hm-sp .hm-sp-buy .hm-sp-quantity input.qty { appearance: textfield; width: 45px; border-inline: 0; }
.hm-sp .hm-sp-buy .hm-sp-quantity input.qty::-webkit-inner-spin-button,
.hm-sp .hm-sp-buy .hm-sp-quantity input.qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.hm-sp .hm-sp-buy .hm-sp-quantity button:first-child { border-radius: 6px 0 0 6px; }
.hm-sp .hm-sp-buy .hm-sp-quantity button:last-child { border-radius: 0 6px 6px 0; }
.single-product .hm-sp .hm-sp-buy .single_add_to_cart_button {
    flex: 1 1 175px;
    min-height: 46px;
    margin: 0;
    border: 1px solid var(--hm-sp-green)!important;
    border-radius: 6px;
    background: var(--hm-sp-green)!important;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    font-family: 'Open Sans'!important;
        height: 46px !important;
}
.single-product .hm-sp .hm-sp-buy .single_add_to_cart_button:hover { background: var(--hm-sp-dark)!important; }
.single-product .hm-sp .hm-sp-buy .single_add_to_cart_button:is(:disabled,.disabled) { background: #e5eeea; border-color: var(--hm-sp-line); color: var(--hm-sp-muted);     color: #fff;
    opacity: .7; }
.hm-sp .hm-sp-meta, .hm-sp .hm-sp-summary-extras { margin: 9px 0 0; color: var(--hm-sp-muted); font-size: 12px; }
.hm-sp .hm-sp-summary-extras:empty { display: none; }
.hm-sp .hm-sp-service {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--hm-sp-mint);
    color: var(--hm-sp-dark);
    font-size: 12px;
    font-weight: 700;
        justify-content: space-evenly;
}
.hm-sp .hm-sp-service > * { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.hm-sp .hm-sp-service .hm-icon { width: 17px; height: 17px; }

.hm-sp .hm-sp-details {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(24px, 5.5vw, 76px);
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid var(--hm-sp-line);
}
.hm-sp :is(.hm-sp-details, .hm-sp-related) h2 {
    margin: 6px 0 13px;
    color: var(--hm-sp-ink);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -.035em;
    text-transform: none;
}
.hm-sp .hm-sp-description { color: var(--hm-sp-muted); overflow-wrap: anywhere; }
.hm-sp .hm-sp-description img { max-width: 100%; height: auto; }
.hm-sp .hm-sp-specs { align-self: start; padding: 19px 22px; border-radius: 14px; background: #f6f1e8; }
.hm-sp .hm-sp-specs h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.hm-sp .hm-sp-specs dl { margin: 0; }
.hm-sp .hm-sp-specs dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #e8e0d3; font-size: 13px; }
.hm-sp .hm-sp-specs dd { margin: 0; text-align: right; font-weight: 700; }
.hm-sp .hm-sp-more-info { padding: 12px 0; border-bottom: 1px solid var(--hm-sp-line); }
.hm-sp .hm-sp-more-info summary { color: var(--hm-sp-dark); cursor: pointer; font-weight: 700; }
.hm-sp .hm-sp-more-info > div { padding-top: 12px; }
.hm-sp .hm-sp-related { margin-top: 49px; }
.hm-sp .hm-sp-tabs { display: flex; flex-wrap: wrap; gap: 5px clamp(14px, 3vw, 34px); border-bottom: 1px solid var(--hm-sp-line); }
.hm-sp .hm-sp-tabs button { padding: 8px 0 10px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--hm-sp-muted); font: inherit; font-weight: 700; font-size: 13px; text-align: left; cursor: pointer; }
.hm-sp .hm-sp-tabs button[aria-selected=true] { color: var(--hm-sp-dark); border-color: var(--hm-sp-green); }
.hm-sp .hm-sp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 19px; margin: 17px 0 0; padding: 0; list-style: none; }
.hm-sp .hm-sp-card { display: flex; min-width: 0; flex-direction: column; }
.hm-sp .hm-sp-card-image { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.07; border-radius: 10px; background: var(--hm-sp-paper); }
.hm-sp .hm-sp-card-image img { display: block; width: 88%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.hm-sp .hm-sp-card .hm-sp-kicker { margin: 10px 0 0; font-size: 9px; }
.hm-sp .hm-sp-card h3 { margin: 6px 0 9px; color: var(--hm-sp-ink); font-size: 14px; line-height: 1.4; font-weight: 500; }
.hm-sp .hm-sp-card h3 a { color: inherit; }
.hm-sp .hm-sp-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin-top: auto; }
.hm-sp .hm-sp-card-price { font-size: 13px; }
.hm-sp .hm-sp-card-bottom .button { padding: 6px 8px; border: 1px solid var(--hm-sp-line); border-radius: 5px; background: #fff; color: var(--hm-sp-dark); font-size: 12px; font-weight: 400; line-height: 1; text-transform: none!important; white-space: normal; display: inline-flex;
    align-items: center;
    justify-content: center;    border: 1px solid #bdd9d4;
    color: #217373;
    background: transparent !important;
}

@media (max-width: 700px) {
    .hm-sp .hm-sp-hero, .hm-sp .hm-sp-details { grid-template-columns: minmax(0, 1fr); gap: 17px; }
    .hm-sp .hm-sp-stage { aspect-ratio: 1.24; }
    .hm-sp .hm-sp-breadcrumb { padding: 15px 0; }
    .hm-sp .hm-sp-details { margin-top: 34px; padding-top: 23px; }
    .hm-sp .hm-sp-related { margin-top: 36px; }
    .hm-sp .hm-sp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}




.hm-sp .hm-sp-salon-note {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 10px 0;
    padding: 7px 10px;
    border-radius: 5px;
    background: #f7e4f0;
    color: #842354;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.hm-sp-detail-links {
        display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}
.hm-sp-detail-links a:hover {
    opacity:.84;
}
.hm-sp-specs dt {
    font-weight:400;
}
.hm-sp .hm-sp-salon-note svg { flex: 0 0 16px; }

.hm-sp-buy a.wc-forward,
.single-product .woocommerce-message,
.hm-sp-variation-enhanced .filter-item-list{display:none!important;}

.hm-sp-cards .hm-sp-card-image:hover {
        background: #e6f4f1 !important;
}

.hm-sp-cards .hm-sp-card-image:hover img {
    transform:scale(1.03);
}
.hm-sp-cards .hm-sp-card-image img {
    transition:all .23s ease;
}
.hm-sp-cards .hm-sp-card-price ins .amount,
.hm-sp-cards .hm-sp-card-price > .amount{
        font-size: 14px;
    font-weight: 700;
}

.resp-htabs {
    display:none!important;
}

/* Jasno obaveštenje iznad cene i kupovine. */
.hm-sp .hm-sp-out-of-stock {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #edc1ce;
    border-radius: 7px;
    background: #fff0f4;
    color: #9b2450;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.hm-sp .hm-sp-out-of-stock svg {
    flex: 0 0 20px;
}

/* WooCommerce sale flash preko fotografije proizvoda. */
.hm-sp .hm-sp-stage {
    position: relative;
}

.hm-sp .hm-sp-stage > .onsale {
    position: absolute;
    inset: 14px auto auto 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 7px 12px;
    border-radius: 5px;
    background: #f7e4f0;
    color: #94245f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.hm-sp-gallery .labels {
        position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    max-width: calc(100% - 66px);
    pointer-events: none;
    background: #fae7f3;
    display: inline-flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 6px 10px;
}
.hm-sp-gallery .labels .rasprodaja {
        display: block;
    width: 100%;
    margin: 0 0 4px !important;
    padding: 0 0 4px !important;
    border-bottom: 1px solid rgb(133 38 82 / 25%) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .1em !important;
    color: var(--sale, #852652) !important;
    position: static !important;
}
.hm-sp-gallery .labels .onsale {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--sale, #852652) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-align: left !important;
    transform: none !important;
    box-shadow: none !important;
}
.hm-sp-gallery .labels .onsale b {
        font-size: 14px !important;
    font-weight: 700;
}


.hm-sp-short span[style="color: #ff0000;"],
.hm-sp-details span[style="color: #ff0000;"] {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #edc1ce;
    border-radius: 7px;
    background: #fff0f4;
    color: #9b2450!important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
}



/* PDF linkovi u kratkom i glavnom opisu proizvoda. */
:where(
    .woocommerce-product-details__short-description,
    .woocommerce-Tabs-panel--description,
    .hm-sp
) a:not(.hm-sp-more):is(
    [href$=".pdf" i],
    [href*=".pdf?" i],
    [href*=".pdf#" i]
) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 6px 0;
    padding: 12px 16px;
    border: 1px solid #d5e4de;
    border-radius: 10px;
    background: #f3f8f5;
    color: #254b40;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

:where(
    .woocommerce-product-details__short-description,
    .woocommerce-Tabs-panel--description,
    .hm-sp
) a:not(.hm-sp-more):is(
    [href$=".pdf" i],
    [href*=".pdf?" i],
    [href*=".pdf#" i]
)::before {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 28px;
    background-color: currentColor;
    -webkit-mask: var(--hm-pdf-icon) center / contain no-repeat;
    mask: var(--hm-pdf-icon) center / contain no-repeat;

    --hm-pdf-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H5a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9Z'/%3E%3Cpath d='M14 2v7h7M7 14h10M7 18h7M7 22h5'/%3E%3C/svg%3E");
}

:where(
    .woocommerce-product-details__short-description,
    .woocommerce-Tabs-panel--description,
    .hm-sp
) a:not(.hm-sp-more):is(
    [href$=".pdf" i],
    [href*=".pdf?" i],
    [href*=".pdf#" i]
)::after {
    content: "PDF";
    flex-shrink: 0;
    margin-left: auto;
    padding: 3px 6px;
    border-radius: 4px;
    background: #e3eee8;
    color: #426457;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

:where(
    .woocommerce-product-details__short-description,
    .woocommerce-Tabs-panel--description,
    .hm-sp
) a:not(.hm-sp-more):is(
    [href$=".pdf" i],
    [href*=".pdf?" i],
    [href*=".pdf#" i]
):hover {
    border-color: #a9c6b8;
    background: #e9f3ed;
    color: #183e30;
}

:where(
    .woocommerce-product-details__short-description,
    .woocommerce-Tabs-panel--description,
    .hm-sp
) a:not(.hm-sp-more):is(
    [href$=".pdf" i],
    [href*=".pdf?" i],
    [href*=".pdf#" i]
):focus-visible {
    outline: 2px solid #426457;
    outline-offset: 3px;
}