/* =========================================================
   ITreservdelar – modern produktside
   LÆS VIGTIGT:
   Denne fil skal indlæses EFTER /template/fm87ny/style.css
   HTML-struktur, classes, IDs og eksisterende JavaScript bevares.
   ========================================================= */

:root {
    --itd-green: #74AB2D;
    --itd-green-dark: #286D51;
    --itd-green-darker: #1F5740;
    --itd-green-soft: #F2F8EC;
    --itd-text: #1F2924;
    --itd-muted: #657169;
    --itd-border: #E2E8E4;
    --itd-surface: #FFFFFF;
    --itd-surface-soft: #F7F9F8;
    --itd-yellow: #FFEC00;
    --itd-orange: #F1911F;
    --itd-shadow: 0 14px 38px rgba(31, 55, 43, 0.10);
}

/* ---------- Titel og Trustpilot ---------- */
.DM_ProductTitle {
  /*  display: grid;
    grid-template-columns: auto minmax(0, 1fr);*/
    align-items: center;
    gap: 6px 18px;
    width: 100%;
    margin: 12px 0 26px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--itd-border);
}

.DM_ProductTitle > h1 {
    grid-column: 1 / -1;
    margin: 0 !important;
    color: var(--itd-text);
    font-family: 'Overpass', sans-serif !important;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.DM_ProductTitle > .container__tp-title {
    grid-column: 1;
    margin: 0;
}

.DM_ProductTitle .tp-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--itd-text);
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.DM_ProductTitle .tp-link:hover,
.DM_ProductTitle .tp-link:focus {
    color: var(--itd-green-dark);
    text-decoration: none;
}

.DM_ProductTitle .tp-link img {
    display: block;
    width: auto;
    max-width: 96px;
    height: 22px;
}

.DM_ProductTitle .tp-rating {
    font-weight: 700;
}

.DM_ProductTitle .tp-extra-text {
    color: var(--itd-muted);
}

.DM_ProductTitle > p {
    grid-column: 2;
    margin: 0;
    padding: 0;
    color: var(--itd-muted);
    border: 0;
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px;
    font-weight: 400;
}

/* ---------- De to øverste kolonner ---------- */
.DM_ProductShowOff {
    width: 100%;
    margin: 0 0 30px;
}

.DM_ProductShowOff > .DM_LeftContainer,
.DM_ProductShowOff > .DM_ProductShortInfoBox {
    box-sizing: border-box;
}

.DM_ProductShowOff > .DM_LeftContainer {
    width: 55%;
    padding-right: 24px;
}

.DM_ProductShowOff > .DM_ProductShortInfoBox {
    width: 45%;
    padding: clamp(20px, 2.5vw, 32px);
    background: var(--itd-surface);
    border: 1px solid var(--itd-border);
    border-radius: 16px;
    box-shadow: var(--itd-shadow);
}

/* Undgå at faner og efterfølgende indhold lægger sig omkring floats. */
.DM_ProductShowOff > #ReadMore,
.DM_ProductShowOff > .tab-parent,
.DM_ProductShowOff > .tab-content,
.DM_ProductShowOff > .rel-pro {
    clear: both;
}

/* ---------- Produktbilledet: den injicerede tabel bevares ---------- */
.DM_ProductImage {
    width: 100%;
    min-height: 510px;
    padding: 18px;
    overflow: hidden;
    background: var(--itd-surface);
    border: 1px solid var(--itd-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31, 55, 43, 0.07);
    box-sizing: border-box;
}

/*
 * {image} injicerer en tabel med hovedbilledet i første række og
 * thumbnails i sidste række. Vi beholder præcis den struktur og giver
 * især hovedrækkens td en rigtig bredde. Uden dette kan flex-layoutet
 * ende med en td på 0 px, selv om thumbnails fortsat vises.
 */
.DM_ProductImage > table {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    table-layout: auto !important;
}

.DM_ProductImage > table > tbody {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    width: 100%;
    min-height: 470px;
}

.DM_ProductImage > table > tbody > tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 470px !important;
}

.DM_ProductImage > table > tbody > tr:first-child {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0 !important;
}

.DM_ProductImage > table > tbody > tr:first-child > td {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    height: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.DM_ProductImage > table > tbody > tr:first-child > td > a,
.DM_ProductImage > table > tbody > tr:first-child > td > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

#largeProductImage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 440px !important;
    margin: auto !important;
    object-fit: contain;
    object-position: center;
}

.DM_ProductImage > table > tbody > tr:last-child {
    display: block;
    flex: 0 0 88px;
    width: 88px;
    min-width: 88px;
    max-height: 470px;
    margin: 0 18px 0 0 !important;
    padding: 0 12px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--itd-border);
    direction: ltr;
    box-sizing: border-box;
}

.DM_ProductImage > table > tbody > tr > td.product_thumbnail_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    min-width: 68px;
    height: 68px;
    min-height: 68px;
    margin: 0 0 9px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--itd-border);
    border-radius: 10px;
    box-sizing: border-box;
}

.DM_ProductImage > table > tbody > tr > td.product_thumbnail_img > img {
    display: block;
    width: 100%;
    max-width: 56px;
    height: 100%;
    max-height: 56px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 7px;
}

.DM_ProductImage > table > tbody > tr > td.product_thumbnail_img > img.cloudzoom-gallery-active {
    outline: 2px solid var(--itd-green);
    outline-offset: 4px;
    border: 0;
}


/* ---------- Købsboks ---------- */
.DM_ProductInfo {
    display: grid;
    width: 100%;
}

/* Den gamle mobilregel flyttede hele købsektionen foran lager og tekst. */
@media (max-width: 1200px) {
    div.DM_ProductInfo .DM_BuyInfo {
        order: initial;
    }
}

.DM_ProductInfo > div.DM_StockCount {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    margin: 0 0 17px;
    padding: 8px 13px 8px 31px;
    color: var(--itd-green-darker);
    background: var(--itd-green-soft);
    border: 1px solid rgba(116, 171, 45, 0.34);
    border-radius: 999px;
}

.DM_ProductInfo > div.DM_StockCount::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 50%;
    width: 9px;
    height: 9px;
    background: var(--itd-green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(116, 171, 45, 0.15);
    transform: translateY(-50%);
}

.DM_ProductInfo > div.DM_StockCount > p,
.DM_ProductInfo > div.DM_StockCount > p > span,
.DM_ProductInfo > div.DM_StockCount > p > span > span {
    margin: 0;
    color: var(--itd-green-darker) !important;
    background: transparent !important;
    background-color: transparent !important;
    font-family: 'Overpass', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.DM_ProductInfo > .DM_KortForklaring {
    margin: 0;
    padding: 0 0 18px;
    color: #39443E;
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px;
    line-height: 1.65;
}

.DM_ProductInfo > .DM_KortForklaring .DM_ShortExplain {
    margin: 0 0 12px;
}

.DM_ProductInfo > .DM_KortForklaring .DM_ShortExplain:last-child {
    margin-bottom: 0;
}

.DM_BuyInfo.buy {
    padding: 18px 0 0;
    border-top: 1px solid var(--itd-border);
}

/* ---------- Pris og omvendt moms ---------- */
.price-grade-warranty {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 6px 12px;
    margin: 0 0 16px;
}

.price-grade-warranty > h4 {
    margin: 0 !important;
}

.DM_BuyInfo.buy #Pris,
.DM_BuyInfo.buy .price-grade-warranty > h4.b_prices {
    color: var(--itd-text);
    font-family: 'Overpass', sans-serif !important;
    font-size: clamp(32px, 3.4vw, 44px) !important;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
}

.DM_BuyInfo.buy #Pris > div > span,
.DM_BuyInfo.buy #Pris > span,
.DM_BuyInfo.buy #Pris > span > span,
.DM_BuyInfo.buy .price-grade-warranty > h4.b_prices > div > span,
.DM_BuyInfo.buy .price-grade-warranty > h4.b_prices > span,
.DM_BuyInfo.buy .price-grade-warranty > h4.b_prices > span > span {
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    font-family: 'Overpass', sans-serif !important;
    font-size: inherit !important;
    font-weight: 900;
    line-height: inherit;
}

/* Rabatprisen beholder den kendte gule/orange kampagnefarve. */
div.DM_ProductInfo:not([data-discounted="none"]) #Pris {
    margin: 13px 0 0 !important;
    padding: 21px 17px 11px !important;
    background: var(--itd-yellow);
    border-radius: 10px;
}

div.DM_ProductInfo:not([data-discounted="none"]) #Pris::before {
    display: none;
}

div.DM_ProductInfo:not([data-discounted="none"]) #Pris::after {
    content: "Spara " attr(data-savings) ":-";
    top: -13px;
    left: 12px;
    right: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 5px 11px;
    color: #fff;
    background: var(--itd-orange);
    border-radius: 5px;
    font-family: 'Overpass', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

/* Teksten må kun vises, når de eksisterende data-attributter siger omvendt moms. */
.price-grade-warranty > p:not(.leveringInfo) {
    display: none;
    width: 100%;
    margin: 2px 0 0;
    color: var(--itd-muted);
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px;
}

.price-grade-warranty[data-ili="1"][data-irv="1"] > p:not(.leveringInfo) {
    display: block;
}

.price-grade-warranty > p.leveringInfo:empty,
.price-grade-warranty > p.leveringInfo {
    display: none;
}

.DM_BuyInfo .detail-pricewithout {
    display: flex !important;
    float: none !important;
    flex-wrap: wrap;
    gap: 5px 12px;
    width: 100% !important;
    margin: 11px 0 0;
    color: var(--itd-muted);
}

.DM_BuyInfo .detail-pricewithout > h5 {
    margin: 0;
    color: var(--itd-muted);
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px;
    font-weight: 400;
}

/* ---------- Primær købsknap ---------- */
html[lang="se"] .DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket,
html[lang="da"] .DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: 100% !important;
    min-height: 54px;
    height: auto !important;
    margin: 0 !important;
    padding: 14px 52px 14px 22px !important;
    color: #fff;
    background: var(--itd-green-dark) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px rgba(40, 109, 81, 0.20);
    font-family: 'Overpass', sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

/* Sørg for at en usynlig layoutflade ikke kan blokere knappen.
 * .adding beholder fortsat den eksisterende pointer-events:none-regel. */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:not(.adding) {
    z-index: 5;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket::after {
    pointer-events: none;
}

.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:hover,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:focus {
    padding: 14px 52px 14px 22px !important;
    background: var(--itd-green-darker) !important;
    box-shadow: 0 11px 24px rgba(40, 109, 81, 0.27);
    transform: translateY(-1px);
}

.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket::after,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:hover::after,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket.adding::after,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket.added::after {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* ---------- Tilvalg og tilbehør ---------- */
.DM_BuyInfo .additional_choices,
.DM_BuyInfo .choice-container {
    clear: both;
    width: 100%;
}

.DM_BuyInfo .choice-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 24px 0 0;
}

.DM_BuyInfo .choice-container > h3,
.DM_BuyInfo .additional_choices h3 {
    margin: 0 0 2px;
    color: var(--itd-text);
    font-family: 'Overpass', sans-serif !important;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.DM_BuyInfo .choice-container > .choice,
.DM_BuyInfo .additional_choices > .choice-container > .choice {
    position: relative;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    overflow: visible;
    background: #fff !important;
    border: 1px solid var(--itd-border);
    border-radius: 12px;
    cursor: default;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.DM_BuyInfo .choice-container > .choice:hover,
.DM_BuyInfo .choice-container > .choice:focus-within {
    z-index: 5;
    border-color: rgba(116, 171, 45, 0.70);
    box-shadow: 0 7px 20px rgba(31, 55, 43, 0.09);
    transform: translateY(-1px);
}

.DM_BuyInfo .choice-container > .choice > label {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 62px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 80px;
    margin: 0;
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.DM_BuyInfo .choice-container > .choice[data-image]:not([data-image=""]) > label {
    grid-template-columns: 72px minmax(0, 1fr) 62px;
}

.DM_BuyInfo .choice-container > .choice > label > div {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0 !important;
}

.DM_BuyInfo .choice-container > .choice[data-image]:not([data-image=""]) > label > div {
    grid-column: 2;
}

.DM_BuyInfo .choice-container > .choice > label > input,
.DM_BuyInfo .choice-container > .choice > label > select {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.DM_BuyInfo .choice-container > .choice[data-image]:not([data-image=""]) > label > input,
.DM_BuyInfo .choice-container > .choice[data-image]:not([data-image=""]) > label > select {
    grid-column: 3;
}

.DM_BuyInfo .choice-container > .choice > label > input[type="number"] {
    width: 56px !important;
    min-width: 56px;
    height: 42px;
    margin: 0 !important;
    padding: 4px 3px;
    color: var(--itd-text);
    background: var(--itd-surface-soft);
    border: 1px solid #CCD6D0;
    border-radius: 8px;
    outline: none;
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.DM_BuyInfo .choice-container > .choice > label > input[type="number"]:focus {
    background: #fff;
    border-color: var(--itd-green);
    box-shadow: 0 0 0 3px rgba(116, 171, 45, 0.16);
}

.DM_BuyInfo .choice-container .option_product_headline {
    display: -webkit-box;
    width: 100%;
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--itd-text);
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.DM_BuyInfo .choice-container .option_product_headline:hover,
.DM_BuyInfo .choice-container .option_product_headline:focus {
    color: var(--itd-green-dark);
    text-decoration: underline;
}

.DM_BuyInfo .choice-container .option_product_price {
    display: block;
    color: var(--itd-green-dark);
    font-family: 'Overpass', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
}

.DM_BuyInfo .choice-container .option_product_delivery_time {
    display: none;
}

/* Det lille tilbehørsbillede tvinges ind i en kvadratisk ramme. */
.DM_BuyInfo .choice-container > .choice > label > img:not(.enlarged) {
    grid-column: 1;
    grid-row: 1;
    display: block !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 6px;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
    border: 1px solid var(--itd-border);
    border-radius: 9px;
    box-sizing: border-box;
    cursor: default;
}

/* Den eksisterende hover-forstørrelse bevares, men gøres kvadratisk. */
.DM_BuyInfo .choice-container > .choice > label > img.enlarged {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    bottom: auto;
    left: auto;
    z-index: 1000;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    height: 240px;
    min-height: 240px;
    max-height: 240px;
    margin: 0;
    padding: 14px;
    opacity: 0;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: 1px solid var(--itd-border);
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(31, 55, 43, 0.20);
    pointer-events: none !important;
    transform: translateY(-50%);
    transition: opacity .18s ease;
    box-sizing: border-box;
}

.DM_BuyInfo .choice-container > .choice > label > img:not(.enlarged):hover + img.enlarged,
.DM_BuyInfo .choice-container > .choice > label > img.enlarged:hover {
    opacity: 1;
    pointer-events: auto !important;
}

/* Bevar “Visa mer”-funktionen og gør den mindre dominerende. */
.DM_BuyInfo span.option_product_readmore_btn {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    margin: 7px 0 0;
    padding: 4px 0;
    color: var(--itd-green-dark);
    background: transparent;
    border: 0;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px;
    font-weight: 500;
}

.DM_BuyInfo span.option_product_readmore_btn:hover {
    color: var(--itd-green-darker);
    background: transparent;
    text-decoration: underline;
}

.DM_BuyInfo div.option_product_readmore_content {
    padding: 0;
    background: var(--itd-surface-soft);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.55;
}

.DM_BuyInfo div.option_product_readmore_content.expnd {
    max-height: 420px;
    margin-top: 7px;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid var(--itd-border);
}

.DM_BuyInfo div.option_product_readmore_content h2,
.DM_BuyInfo div.option_product_readmore_content h3 {
    margin-top: 18px;
    font-size: 16px;
}

/* ---------- Levering og fri fragt ---------- */
.DM_ProductInfo > .freight_price_info_product_detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 21px 0 0;
    padding-top: 18px !important;
    border-top: 1px solid var(--itd-border);
}

.DM_ProductInfo > .freight_price_info_product_detail > p {
    position: relative;
    min-height: 64px;
    margin: 0;
    padding: 12px 12px 12px 43px;
    color: #4E5B54;
    background: var(--itd-surface-soft);
    border: 1px solid var(--itd-border);
    border-radius: 10px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    box-sizing: border-box;
}

.DM_ProductInfo > .freight_price_info_product_detail > p::before {
    position: absolute;
    left: 14px;
    top: 15px;
    color: var(--itd-green-dark);
    font-family: 'Font Awesome 5 Free';
    font-size: 17px;
    font-weight: 900;
}

.DM_ProductInfo > .freight_price_info_product_detail > p.leveringInfo::before {
    content: '\f0d1';
}

.DM_ProductInfo > .freight_price_info_product_detail > p.priserTilaeg::before {
    content: '\f466';
}

/* Den eksisterende specialregel skal fortsat kunne skjule fragtinformationen. */
.DM_ProductInfo > .freight_price_info_product_detail.tag_1060 {
    display: none;
}

/* ---------- Faner ---------- */
.DM_ProductShowOff > .tab-parent {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    width: auto;
    max-width: 100%;
    margin: 42px 0 0 !important;
    padding: 5px;
    background: var(--itd-surface-soft);
    border: 1px solid var(--itd-border);
    border-radius: 11px 11px 0 0;
}

.DM_ProductShowOff > .tab-parent > div {
    min-height: 42px;
    margin: 0;
    padding: 10px 17px;
    color: var(--itd-muted);
    background: transparent;
    border: 0 !important;
    border-radius: 8px;
    font-family: 'Overpass', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 22px;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.DM_ProductShowOff > .tab-parent > div:hover,
.DM_ProductShowOff > .tab-parent > div:focus {
    color: var(--itd-text);
    background: rgba(255, 255, 255, 0.70);
}

.DM_ProductShowOff > .tab-parent > div.active {
    color: #fff !important;
    background: var(--itd-green-dark);
    border: 0 !important;
    box-shadow: 0 5px 13px rgba(40, 109, 81, 0.18);
}

.DM_ProductShowOff > .tab-parent > div::after {
    display: none !important;
}

.DM_ProductShowOff > .tab-content {
    width: 100%;
    margin: 0 0 24px;
    padding: clamp(20px, 3vw, 34px);
    color: #354039;
    background: #fff;
    border: 1px solid var(--itd-border);
    border-radius: 0 12px 12px 12px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    box-sizing: border-box;
}

.DM_ProductShowOff > .tab-content dl {
    margin: 0 0 22px;
}

.DM_ProductShowOff > .tab-content dd {
    margin: 0;
}

.DM_ProductShowOff > .tab-content img {
    max-width: 100%;
    height: auto;
}

.DM_ProductShowOff > .tab-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.DM_ProductShowOff > .tab-content th,
.DM_ProductShowOff > .tab-content td {
    padding: 10px 12px;
    border-right: 1px solid var(--itd-border);
    border-bottom: 1px solid var(--itd-border);
    text-align: left;
    vertical-align: top;
}

.DM_ProductShowOff > .tab-content tr:first-child th,
.DM_ProductShowOff > .tab-content tr:first-child td {
    border-top: 1px solid var(--itd-border);
}

.DM_ProductShowOff > .tab-content th:first-child,
.DM_ProductShowOff > .tab-content td:first-child {
    border-left: 1px solid var(--itd-border);
}

/* ---------- Relaterede produkter uden at ændre Slick-strukturen ---------- */
.DM_ProductShowOff .rel-pro {
    clear: both;
    width: 100%;
    margin-top: 46px;
}

.DM_ProductShowOff .rel-pro > h3 {
    margin: 0 0 18px !important;
    padding: 0 0 13px;
    color: var(--itd-text);
    border-bottom: 1px solid var(--itd-border) !important;
    font-family: 'Overpass', sans-serif !important;
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 900;
    line-height: 1.25;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .DM_ProductShowOff {
        display: block;
    }

    .DM_ProductShowOff > .DM_LeftContainer,
    .DM_ProductShowOff > .DM_ProductShortInfoBox {
        float: none;
        width: 100% !important;
    }

    .DM_ProductShowOff > .DM_LeftContainer {
        margin-bottom: 22px;
        padding-right: 0;
    }

    .DM_ProductImage {
        min-height: 390px;
        margin: 0 !important;
    }

    .DM_ProductImage > table > tbody {
        min-height: 350px;
    }

    .DM_ProductImage > table > tbody > tr {
        height: 350px !important;
    }

    .DM_ProductImage > table > tbody > tr:last-child {
        max-height: 350px;
    }

    #largeProductImage {
        max-height: 330px !important;
    }

    .DM_BuyInfo .choice-container > .choice > label > img.enlarged {
        display: none !important;
    }
}

@media (max-width: 700px) {
    .DM_ProductTitle {
        display: block;
        margin-bottom: 18px;
        padding-bottom: 15px;
    }

    .DM_ProductTitle > h1 {
        margin-bottom: 10px !important;
        font-size: 25px;
    }

    .DM_ProductTitle > p {
        margin-top: 8px;
    }

    .DM_ProductShowOff > .DM_ProductShortInfoBox {
        padding: 17px;
        border-radius: 13px;
    }

    .DM_ProductImage {
        min-height: 0;
        padding: 12px;
        border-radius: 13px;
    }

    .DM_ProductImage > table > tbody {
        flex-direction: column;
        min-height: 0;
    }

    .DM_ProductImage > table > tbody > tr {
        height: auto !important;
    }

    .DM_ProductImage > table > tbody > tr:first-child {
        width: 100%;
        min-height: 290px;
        margin: 0 !important;
    }

    .DM_ProductImage > table > tbody > tr:last-child {
        display: flex;
        flex: none;
        flex-direction: row;
        gap: 8px;
        width: 100%;
        min-width: 0;
        max-height: none;
        margin: 10px 0 0 !important;
        padding: 10px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        border: 0;
        border-top: 1px solid var(--itd-border);
    }

    .DM_ProductImage > table > tbody > tr > td.product_thumbnail_img {
        flex: 0 0 62px;
        width: 62px;
        min-width: 62px;
        height: 62px;
        min-height: 62px;
        margin: 0;
    }

    #largeProductImage {
        max-height: 290px !important;
    }

    .DM_ProductInfo > .freight_price_info_product_detail {
        grid-template-columns: 1fr;
    }

    .DM_ProductShowOff > .tab-parent {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        border-radius: 10px 10px 0 0;
        box-sizing: border-box;
    }

    .DM_ProductShowOff > .tab-parent > div {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 8px !important;
        text-align: center;
    }

    .DM_ProductShowOff > .tab-content {
        padding: 17px;
        border-radius: 0 0 10px 10px;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .DM_BuyInfo .choice-container > .choice[data-image]:not([data-image=""]) > label {
        grid-template-columns: 62px minmax(0, 1fr) 50px;
        gap: 8px;
        min-height: 74px;
        padding: 8px;
    }

    .DM_BuyInfo .choice-container > .choice > label > img:not(.enlarged) {
        width: 62px !important;
        min-width: 62px !important;
        max-width: 62px !important;
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
    }

    .DM_BuyInfo .choice-container > .choice > label > input[type="number"] {
        width: 48px !important;
        min-width: 48px;
    }

    .DM_BuyInfo .choice-container .option_product_headline {
        font-size: 13px;
    }
}

/* ---------- Slutjusteringer mod ældre regler længere oppe ---------- */
.price-grade-warranty {
    flex-direction: row !important;
    align-items: flex-end;
}

.DM_ProductShowOff .rel-pro > h3 {
    color: var(--itd-text) !important;
    background: transparent !important;
    text-align: left !important;
    white-space: normal;
    overflow-wrap: anywhere;
}

div.DM_ProductInfo div.DM_StockCount > p {
    background-color:transparent !important;
}

.tab-parent .nav-link {
	cursor: pointer;
	user-select: none;
}

/* =========================================================
   ANIMATION PÅ "LÄGG I KORGEN"
   ========================================================= */
   
   .DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket {
	overflow: hidden;
	animation: itdBasketPulse 5s ease-in-out infinite;
}

/* Lysrefleks hen over knappen */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket::before {
	content: "";
	position: absolute;
	top: -30%;
	left: -55%;
	width: 35%;
	height: 160%;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.35),
		transparent
	);
	transform: skewX(-20deg);
	opacity: 0;
}

/* Start refleks ved hover eller tastaturfokus */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:hover::before,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:focus-visible::before {
	animation: itdBasketShine 0.75s ease forwards;
}

/* Lille bevægelse af kurveikonet */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:not(.adding):hover::after {
	transform: translateY(-50%) scale(1.15) rotate(-8deg);
	transition: transform 0.2s ease;
}

/* Knappen trykkes fysisk ned */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:not(.adding):active {
	transform: translateY(1px) scale(0.985);
	box-shadow: 0 4px 10px rgba(40, 109, 81, 0.22);
	transition-duration: 0.08s;
}

/* Stop pulsen under hover og indlæsning */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket:hover,
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket.adding {
	animation: none;
}

/* Effekt hvis systemet tilføjer class="added" */
.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket.added {
	animation: itdBasketAdded 0.55s ease;
}

@keyframes itdBasketShine {
	0% {
		left: -55%;
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	100% {
		left: 125%;
		opacity: 0;
	}
}

@keyframes itdBasketPulse {
	0%,
	78%,
	100% {
		box-shadow: 0 8px 18px rgba(40, 109, 81, 0.20);
	}

	86% {
		box-shadow:
			0 10px 24px rgba(40, 109, 81, 0.28),
			0 0 0 0 rgba(116, 171, 45, 0.30);
	}

	93% {
		box-shadow:
			0 10px 24px rgba(40, 109, 81, 0.25),
			0 0 0 8px rgba(116, 171, 45, 0);
	}
}

@keyframes itdBasketAdded {
	0% {
		transform: scale(1);
	}

	45% {
		transform: scale(1.025);
	}

	100% {
		transform: scale(1);
	}
}

/* Respekter brugere, der har slået animationer fra */
@media (prefers-reduced-motion: reduce) {
	.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket,
	.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket::before,
	.DM_ProductInfo .DM_BuyInfo > a.btn_addToBasket::after {
		animation: none !important;
		transition: none !important;
	}
}

/* -------------------------------------- */
/* DEFAULT (MOBIL)                        */
/* -------------------------------------- */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent[data-discount] {
  position: relative;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent[data-discount]::before {
  content: "-" attr(data-discount) "%";
  position: absolute;
  top: 70px;
  right: 20px;

  width: 40px;
  height: 40px;

  background: #2a363c;
  color: #ffd02b;
  font-size: 11px;
  font-weight: bold;
  
  border-radius: 50%;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);

  /* Center text */
  display: flex;
  align-items: center;
  justify-content: center;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent[data-discount="0"]::before {
  content: none;
}


/* -------------------------------------- */
/* TABLET (min-width: 600px)              */
/* -------------------------------------- */

@media (min-width: 600px) {
  .DM_ProductShowOff .rel-pro .related-parent .related-product-parent[data-discount]::before {
    width: 50px;
    height: 50px;
    font-size: 13px;
    top: 65px;
    right: 25px;
  }
}


/* -------------------------------------- */
/* DESKTOP (min-width: 992px)             */
/* -------------------------------------- */

@media (min-width: 992px) {
  .DM_ProductShowOff .rel-pro .related-parent .related-product-parent[data-discount]::before {
    width: 60px;
    height: 60px;
    font-size: 16px;
    top: 70px;
    right: 30px;
  }
}

/* =========================================================
   MODERNE PRODUKTKORT – KOMPATIBEL MED EKSISTERENDE TEMA
   Skal placeres efter den oprindelige style.css
   ========================================================= */


/* =========================================================
   YDRE BOOTSTRAP-KOLONNE
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent {
	display: flex;
	margin-bottom: 24px;
	padding-right: 12px;
	padding-left: 12px;
	box-sizing: border-box;
}


/* =========================================================
   SELVE PRODUKTKORTET
   Overskriver den gamle faste højde på 375px
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin-top: 0 !important;
	padding: 0 !important;
	overflow: visible;
	background: #ffffff;
	border: 1px solid #e0e7e2;
	border-radius: 15px;
	box-shadow: 0 6px 20px rgba(28, 58, 44, 0.07);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv {
	height: 100% !important;
	margin-top: 0 !important;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv:hover {
	border-color: rgba(116, 171, 45, 0.55);
	box-shadow: 0 14px 34px rgba(40, 109, 81, 0.14);
	transform: translateY(-4px);
}


/* =========================================================
   TOPDELEN

   Den gamle CSS bruger:
   height: 65px
   position: absolute på produktlinket
   margin-top: 48px på billedet

   Alt dette nulstilles her.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
}


/* =========================================================
   PRODUKTTITEL
   Billedet vises først, titlen bagefter
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a {
	position: static !important;
	inset: auto !important;
	order: 2;
	z-index: auto !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 15px 17px 9px !important;
	color: #1c2d25;
	text-decoration: none;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a:hover,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a:focus {
	color: #286d51;
	text-decoration: none;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a > p {
	display: -webkit-box !important;
	width: 100% !important;
	height: auto !important;
	min-height: 44px;
	max-height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	color: #1c2d25;
	font-family: "Roboto", sans-serif !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.45;
	text-align: left;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color 0.18s ease;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv:hover .pl_top_part > a > p {
	color: #286d51;
}


/* =========================================================
   PRODUKTBILLEDE

   Den gamle margin-top på 48px fjernes.
   Billedet ligger nu helt øverst.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div {
	position: relative !important;
	order: 1;
	width: 100% !important;
	height: 230px !important;
	min-height: 230px;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: #f8faf8;
	border: 0 !important;
	border-bottom: 1px solid #edf1ee !important;
	border-radius: 14px 14px 0 0;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div > .overlay {
	position: relative !important;
	display: flex !important;
	align-items: center;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 20px;
	overflow: hidden;
	background:
		radial-gradient(
			circle at center,
			#ffffff 0%,
			#ffffff 60%,
			#f4f7f5 100%
		);
	box-sizing: border-box;
}


/* =========================================================
   INJICERET BILLEDSTRUKTUR
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container > div,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container > a,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: 100%;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container img,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent img.product_katalog_img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	margin: auto !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	transition: transform 0.32s ease;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv:hover .product-image-container img {
	transform: scale(1.045);
}


/* =========================================================
   LINKLAG OVER PRODUKTBILLEDET

   Linket dækker kun billedområdet og ikke købsknappen.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-tooltiptext {
	position: absolute !important;
	z-index: 3;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}


/* =========================================================
   SHORT DESCRIPTION

   Den originale styling skjuler allerede .prod_info.
   Vi gør det eksplicit, så teksten ikke ændrer kortets højde
   eller skubber billedet.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .prod_info {
	display: none !important;
	float: none !important;
	width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	box-shadow: none !important;
}


/* =========================================================
   NEDERSTE DEL

   Den gamle CSS positionerer denne absolut ved bottom: 45px.
   Den nulstilles til almindeligt dokumentflow.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .lower_div {
	position: static !important;
	inset: auto !important;
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 17px 16px !important;
	background: #ffffff;
	text-align: left;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .lower_div::after {
	display: none !important;
	content: none !important;
}


/* =========================================================
   PRISSEKTION
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price {
	position: relative;
	z-index: 5;
	display: flex !important;
	float: none !important;
	flex-direction: column !important;
	align-items: stretch;
	width: 100% !important;
	height: auto !important;
	margin-top: auto;
	padding: 13px 0 0 !important;
	border-top: 1px solid #edf1ee;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > div:first-child {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin: 0 0 12px !important;
	padding: 0 !important;
	text-align: left;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price p {
	margin: 0;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price .medMoms {
	color: #17251e;
	font-family: "Roboto", sans-serif !important;
	font-size: 22px !important;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price .udenMoms {
	margin-top: 4px !important;
	color: #78827c;
	font-family: "Roboto", sans-serif !important;
	font-size: 11px !important;
	font-weight: 500;
	line-height: 1.3;
}


/* =========================================================
   LÄGG I KORGEN

   Klassen .btn_addToBasket bevares, så den eksisterende
   JavaScript-handler fortsat virker.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket {
	position: relative;
	z-index: 10;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 45px;
	margin: 0 !important;
	padding: 11px 43px 11px 18px !important;
	overflow: hidden;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	background: #286d51;
	border: 1px solid #286d51;
	border-radius: 9px;
	box-shadow: 0 6px 15px rgba(40, 109, 81, 0.18);
	cursor: pointer;
	pointer-events: auto;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease,
		box-shadow 0.18s ease;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket::before {
	content: "";
	position: absolute;
	top: -40%;
	left: -60%;
	width: 34%;
	height: 180%;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.32),
		transparent
	);
	opacity: 0;
	transform: skewX(-22deg);
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket::after {
	content: "\f07a";
	position: absolute;
	top: 50%;
	right: 17px;
	color: #ffffff;
	font-family: "Font Awesome 5 Free", "FontAwesome";
	font-size: 14px;
	font-weight: 900;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:hover,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:focus {
	color: #ffffff !important;
	text-decoration: none !important;
	background: #205d44;
	border-color: #205d44;
	box-shadow: 0 9px 20px rgba(40, 109, 81, 0.26);
	transform: translateY(-2px);
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:hover::before,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:focus::before {
	animation: itdProductCardShine 0.7s ease forwards;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:hover::after {
	transform: translateY(-50%) scale(1.13) rotate(-7deg);
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket:active {
	box-shadow: 0 4px 10px rgba(40, 109, 81, 0.22);
	transform: translateY(0) scale(0.985);
}


/* Eksisterende JavaScript tilføjer class="adding" */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket.adding {
	padding-right: 43px !important;
	pointer-events: none !important;
	opacity: 0.75;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket.adding::after {
	content: "\f1ce";
	animation: itdProductCardRotate 1s linear infinite;
}


/* Eksisterende JavaScript kan tilføje class="added" */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket.added::after {
	content: "\f00c";
	animation: none;
}

@keyframes itdProductCardShine {
	0% {
		left: -60%;
		opacity: 0;
	}

	20% {
		opacity: 1;
	}

	100% {
		left: 130%;
		opacity: 0;
	}
}

@keyframes itdProductCardRotate {
	from {
		transform: translateY(-50%) rotate(0deg);
	}

	to {
		transform: translateY(-50%) rotate(360deg);
	}
}


/* =========================================================
   LAGERSTATUS OG VARENUMMER
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	float: none !important;
	width: auto !important;
	min-height: 48px;
	margin: 0 17px;
	padding: 11px 0 13px;
	color: #68756e;
	background: transparent !important;
	border-top: 1px solid #edf1ee;
	box-sizing: border-box;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv > div:first-child {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
	text-align: left;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p {
	margin: 0;
	font-size: 11px;
	line-height: 1.3;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p:first-child {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #286d51;
	font-weight: 700;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p:first-child::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	background: #74ab2d;
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(116, 171, 45, 0.14);
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p:first-child i {
	display: none;
}

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p:last-child {
	max-width: 50%;
	overflow: hidden;
	color: #8a938e;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   GRADE

   Skjules ikke, fordi den oprindelige styling bruger den
   til Grade A/B/C-markeringer og popovers.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv > .grade {
	display: flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	min-height: 32px;
	margin: 0 0 0 8px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}


/* =========================================================
   DISCOUNT-BADGES

   Bevarer de eksisterende badges over billedet.
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .discount,
.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .discount-container {
	z-index: 6;
}


/* =========================================================
   FOKUS
   ========================================================= */

.DM_ProductShowOff .rel-pro .related-parent .related-product-parent a:focus-visible {
	outline: 3px solid rgba(116, 171, 45, 0.4);
	outline-offset: 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div {
		height: 215px !important;
		min-height: 215px;
	}
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent {
		margin-bottom: 18px;
		padding-right: 8px;
		padding-left: 8px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv {
		border-radius: 12px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div {
		height: 190px !important;
		min-height: 190px;
		border-radius: 11px 11px 0 0;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div > .overlay {
		padding: 14px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a {
		padding: 13px 14px 8px !important;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .pl_top_part > a > p {
		min-height: 40px;
		max-height: 40px;
		font-size: 14px !important;
		line-height: 1.4;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .lower_div {
		padding: 0 14px 14px !important;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price .medMoms {
		font-size: 20px !important;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.addToBasket.btn_addToBasket {
		min-height: 43px;
		font-size: 13px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv {
		margin-right: 14px;
		margin-left: 14px;
	}
}


/* =========================================================
   MEGET SMÅ SKÆRME
   ========================================================= */

@media (max-width: 430px) {
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div {
		height: 165px !important;
		min-height: 165px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .upper_div > .overlay {
		padding: 11px;
	}

	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .stockDiv p:last-child {
		display: none;
	}
}


/* =========================================================
   REDUCERET BEVÆGELSE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent > .productDiv,
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .product-image-container img,
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket,
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket::before,
	.DM_ProductShowOff .rel-pro .related-parent .related-product-parent .price > a.btn_addToBasket::after {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================
   MODERNE BASKET NOTIFIER – ITRESERVDELAR
   Isoleret til .basket-notifier-container.
   HTML og eksisterende JavaScript bevares.
   ========================================================= */

.basket-notifier-container {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(18px, 4vh, 48px) 18px;
	overflow-x: hidden;
	overflow-y: auto;
	background: rgba(18, 29, 24, 0.66);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	box-sizing: border-box;
}

.basket-notifier-container:not(.hidden) {
	display: flex;
}

.basket-notifier-container.despawn {
	pointer-events: none;
	animation: itdNotifierBackdropOut 0.3s ease forwards;
}

.basket-notifier-container > .basket-notifier {
	position: relative;
	display: block;
	width: min(1060px, 100%);
	max-height: calc(100dvh - 50px);
	margin: auto;
	overflow-x: hidden;
	overflow-y: auto;
	color: var(--itd-text, #1f2924);
	background: #fff;
	border: 1px solid rgba(226, 232, 228, 0.95);
	border-radius: 18px;
	box-shadow:
		0 28px 80px rgba(10, 26, 18, 0.30),
		0 8px 26px rgba(31, 55, 43, 0.13);
	animation: itdNotifierEnter 0.34s cubic-bezier(.2, .8, .2, 1);
	box-sizing: border-box;
}

.basket-notifier-container.despawn > .basket-notifier {
	animation: itdNotifierExit 0.28s ease forwards;
}


/* =========================================================
   LUK-KNAP
   Bevarer det tomme direkte child-span, som eksisterende JS lytter på.
   ========================================================= */

.basket-notifier-container .basket-notifier > span:first-child {
	position: sticky;
	top: 14px;
	right: 14px;
	z-index: 50;
	display: flex;
	float: right;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 14px 14px -56px 0;
	color: #435149;
	background: rgba(247, 249, 248, 0.96);
	border: 1px solid var(--itd-border, #e2e8e4);
	border-radius: 50%;
	box-shadow: 0 5px 16px rgba(31, 55, 43, 0.11);
	cursor: pointer;
	transition:
		color .18s ease,
		background-color .18s ease,
		border-color .18s ease,
		transform .18s ease;
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier > span:first-child::before,
.basket-notifier-container .basket-notifier > span:first-child::after {
	content: "";
	position: absolute;
	width: 17px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.basket-notifier-container .basket-notifier > span:first-child::before {
	transform: rotate(45deg);
}

.basket-notifier-container .basket-notifier > span:first-child::after {
	transform: rotate(-45deg);
}

.basket-notifier-container .basket-notifier > span:first-child:hover,
.basket-notifier-container .basket-notifier > span:first-child:focus {
	color: #fff;
	background: var(--itd-green-dark, #286d51);
	border-color: var(--itd-green-dark, #286d51);
	transform: rotate(4deg) scale(1.04);
}


/* =========================================================
   PRODUKT TILFØJET + KURVOVERSIGT
   ========================================================= */

.basket-notifier-container .basket-notifier > div:nth-child(2) {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
	gap: 20px;
	padding: 28px 72px 24px 28px;
	background:
		linear-gradient(135deg, rgba(242, 248, 236, 0.92), rgba(255, 255, 255, 0.98) 58%);
	border-bottom: 1px solid var(--itd-border, #e2e8e4);
	box-sizing: border-box;
}

/* Den tilføjede vare */
.basket-notifier-container .basket-notifier > div:nth-child(2) > div:first-child {
	display: grid;
	grid-template-columns: 46px 82px minmax(0, 1fr);
	align-items: center;
	gap: 15px;
	min-width: 0;
	padding: 15px;
	background: #fff;
	border: 1px solid var(--itd-border, #e2e8e4);
	border-radius: 13px;
	box-shadow: 0 7px 22px rgba(31, 55, 43, 0.07);
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier > div:nth-child(2) > div:first-child > i.fa-check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	color: #fff;
	background: var(--itd-green, #74ab2d);
	border-radius: 50%;
	box-shadow: 0 0 0 7px rgba(116, 171, 45, 0.14);
	font-size: 18px;
}

.basket-notifier-container .basket-notifier-image {
	display: block;
	width: 82px !important;
	min-width: 82px;
	max-width: 82px !important;
	height: 82px !important;
	min-height: 82px;
	max-height: 82px !important;
	margin: 0 !important;
	padding: 7px;
	object-fit: contain;
	object-position: center;
	background: #fff;
	border: 1px solid var(--itd-border, #e2e8e4);
	border-radius: 11px;
	box-sizing: border-box;
}

.basket-notifier-container .basket-product-name {
	display: block;
	min-width: 0;
	color: var(--itd-text, #1f2924);
	font-family: "Overpass", sans-serif !important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

/* Kurvstatus og handlinger */
.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 15px;
	min-width: 0;
	padding: 17px;
	background: #fff;
	border: 1px solid var(--itd-border, #e2e8e4);
	border-radius: 13px;
	box-shadow: 0 7px 22px rgba(31, 55, 43, 0.07);
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child > div:first-child {
	display: block;
	margin: 0;
	padding: 0 0 13px;
	border-bottom: 1px solid var(--itd-border, #e2e8e4);
}

.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child > div:first-child > div {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 15px;
}

.basket-notifier-container .basket-notifier-basket-items {
	display: block;
	color: var(--itd-muted, #657169);
	font-family: "Roboto", sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.basket-notifier-container .basket-notifier-basket-price {
	color: var(--itd-text, #1f2924);
	font-family: "Overpass", sans-serif !important;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.15;
	text-align: right;
}

/* Vi ændrer ikke eksisterende forretningslogik for synlighed af kurvprisen. */

.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child > div:last-child {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
}

.basket-notifier-container .notifier-close,
.basket-notifier-container .notifier-basket {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0 !important;
	padding: 12px 17px !important;
	border-radius: 9px !important;
	font-family: "Overpass", sans-serif !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition:
		background-color .18s ease,
		border-color .18s ease,
		color .18s ease,
		box-shadow .18s ease,
		transform .18s ease;
	box-sizing: border-box;
}

.basket-notifier-container .notifier-close {
	color: var(--itd-green-dark, #286d51) !important;
	background: #fff !important;
	border: 1px solid rgba(40, 109, 81, 0.35) !important;
}

.basket-notifier-container .notifier-close:hover,
.basket-notifier-container .notifier-close:focus {
	color: var(--itd-green-darker, #1f5740) !important;
	background: var(--itd-green-soft, #f2f8ec) !important;
	border-color: var(--itd-green, #74ab2d) !important;
	transform: translateY(-1px);
}

.basket-notifier-container .notifier-basket {
	padding-right: 42px !important;
	color: #fff !important;
	background: var(--itd-green-dark, #286d51) !important;
	border: 1px solid var(--itd-green-dark, #286d51) !important;
	box-shadow: 0 7px 17px rgba(40, 109, 81, 0.20);
}

.basket-notifier-container .notifier-basket::after {
	content: "\f07a";
	position: absolute;
	top: 50%;
	right: 16px;
	font-family: "Font Awesome 5 Free", "FontAwesome";
	font-size: 14px;
	font-weight: 900;
	transform: translateY(-50%);
}

.basket-notifier-container .notifier-basket:hover,
.basket-notifier-container .notifier-basket:focus {
	color: #fff !important;
	background: var(--itd-green-darker, #1f5740) !important;
	border-color: var(--itd-green-darker, #1f5740) !important;
	box-shadow: 0 10px 23px rgba(40, 109, 81, 0.28);
	transform: translateY(-1px);
}


/* =========================================================
   OVERSKRIFT TIL RELATEREDE VARER
   ========================================================= */

.basket-notifier-container .basket-notifier > div:nth-child(3) {
	margin: 0 !important;
	padding: 23px 28px 13px;
	background: #fff !important;
}

.basket-notifier-container .basket-notifier > div:nth-child(3) > div {
	display: flex;
	align-items: center;
	gap: 11px;
}

.basket-notifier-container .basket-notifier > div:nth-child(3) > div::before {
	content: "\f290";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	color: var(--itd-green-dark, #286d51);
	background: var(--itd-green-soft, #f2f8ec);
	border-radius: 9px;
	font-family: "Font Awesome 5 Free", "FontAwesome";
	font-size: 16px;
	font-weight: 900;
}

.basket-notifier-container .basket-notifier > div:nth-child(3) h3 {
	margin: 0 !important;
	color: var(--itd-text, #1f2924) !important;
	background: transparent !important;
	font-family: "Overpass", sans-serif !important;
	font-size: clamp(20px, 2.2vw, 25px) !important;
	font-weight: 900;
	line-height: 1.25;
}


/* =========================================================
   RELATEREDE PRODUKTKORT I NOTIFIER
   ========================================================= */

.basket-notifier-container .basket-notifier-related-products {
	position: relative;
	margin: 0;
	padding: 0 18px 30px;
	background: #fff;
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier-related-products .slick-list {
	margin: 0;
	padding: 5px 0 8px;
	overflow: hidden;
}

.basket-notifier-container .basket-notifier-related-products .slick-track {
	display: flex !important;
	align-items: stretch;
	height: auto !important;
}

.basket-notifier-container .basket-notifier-related-product {
	display: flex !important;
	flex-direction: column;
	height: auto !important;
	min-height: 355px;
	margin: 0 7px;
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--itd-border, #e2e8e4);
	border-radius: 13px;
	box-shadow: 0 5px 16px rgba(31, 55, 43, 0.06);
	transition:
		border-color .18s ease,
		box-shadow .18s ease,
		transform .18s ease;
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier-related-product:hover {
	border-color: rgba(116, 171, 45, 0.62);
	box-shadow: 0 11px 27px rgba(40, 109, 81, 0.13);
	transform: translateY(-2px);
}

/* Titel */
.basket-notifier-container .basket-notifier-related-product > div:first-child {
	display: flex;
	align-items: flex-start;
	min-height: 66px;
	padding: 14px 14px 8px;
}

.basket-notifier-container .basket-notifier-related-product > div:first-child > span {
	display: block;
	width: 100%;
	font-size: inherit !important;
	line-height: inherit;
}

.basket-notifier-container .basket-notifier-related-product > div:first-child a {
	display: -webkit-box;
	min-height: 42px;
	max-height: 42px;
	overflow: hidden;
	color: var(--itd-text, #1f2924) !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.basket-notifier-container .basket-notifier-related-product > div:first-child a:hover {
	color: var(--itd-green-dark, #286d51) !important;
	text-decoration: underline;
}

/* Billede */
.basket-notifier-container .basket-notifier-related-product > a:nth-child(2) {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 170px;
	margin: 0 14px;
	padding: 12px;
	overflow: hidden;
	background: var(--itd-surface-soft, #f7f9f8);
	border: 1px solid #edf1ee !important;
	border-radius: 10px;
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier-related-product > a:nth-child(2) > img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	margin: auto !important;
	padding: 0;
	object-fit: contain !important;
	object-position: center;
	transition: transform .25s ease;
}

.basket-notifier-container .basket-notifier-related-product:hover > a:nth-child(2) > img {
	transform: scale(1.045);
}

/* Pris + køb */
.basket-notifier-container .basket-notifier-related-product > div:last-child {
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	height: auto !important;
	min-height: 108px;
	margin: 0;
	padding: 12px 14px 14px;
	background: #fff;
}

.basket-notifier-container .basket-notifier-related-product > div:last-child > div:first-child:empty {
	display: none;
}

.basket-notifier-container .basket-notifier-related-product > div:last-child > div:last-child {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
}

.basket-notifier-container .basket-notifier-related-product > div:last-child > div:last-child > div:first-child {
	display: flex;
	align-items: baseline;
	gap: 4px;
	color: var(--itd-text, #1f2924);
	font-family: "Overpass", sans-serif !important;
}

.basket-notifier-container .basket-notifier-related-product > div:last-child > div:last-child > div:first-child > span:first-child {
	font-size: 20px;
	font-weight: 900;
	line-height: 1.1;
}

.basket-notifier-container .basket-notifier-related-product > div:last-child > div:last-child > div:first-child > span:last-child {
	color: var(--itd-muted, #657169);
	font-size: 11px;
	font-weight: 600;
}

.basket-notifier-container .basket-notifier-related-product .inBasketNotifier.btn_addToBasket {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	margin: 0 !important;
	padding: 10px 38px 10px 14px !important;
	overflow: hidden;
	color: #fff !important;
	background: var(--itd-green-dark, #286d51) !important;
	border: 1px solid var(--itd-green-dark, #286d51) !important;
	border-radius: 8px !important;
	box-shadow: 0 5px 13px rgba(40, 109, 81, 0.17);
	font-family: "Overpass", sans-serif !important;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	transition:
		background-color .18s ease,
		box-shadow .18s ease,
		transform .18s ease;
	box-sizing: border-box;
}

.basket-notifier-container .basket-notifier-related-product .inBasketNotifier.btn_addToBasket::after {
	content: "\f07a";
	position: absolute;
	top: 50%;
	right: 13px;
	font-family: "Font Awesome 5 Free", "FontAwesome";
	font-size: 12px;
	font-weight: 900;
	transform: translateY(-50%);
}

.basket-notifier-container .basket-notifier-related-product .inBasketNotifier.btn_addToBasket:hover,
.basket-notifier-container .basket-notifier-related-product .inBasketNotifier.btn_addToBasket:focus {
	color: #fff !important;
	background: var(--itd-green-darker, #1f5740) !important;
	border-color: var(--itd-green-darker, #1f5740) !important;
	box-shadow: 0 8px 18px rgba(40, 109, 81, 0.25);
	transform: translateY(-1px);
}

.basket-notifier-container .basket-notifier-related-product .inBasketNotifier.btn_addToBasket.adding {
	pointer-events: none;
	opacity: .72;
}


/* =========================================================
   SLICK DOTS
   ========================================================= */

.basket-notifier-container .basket-notifier-related-products .slick-dots {
	position: static;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.basket-notifier-container .basket-notifier-related-products .slick-dots li {
	width: auto;
	height: auto;
	margin: 0;
}

.basket-notifier-container .basket-notifier-related-products .slick-dots li button {
	display: block;
	width: 9px;
	height: 9px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: transparent;
	background: #ccd6d0;
	border: 0;
	border-radius: 999px;
	font-size: 0;
	cursor: pointer;
	transition:
		width .18s ease,
		background-color .18s ease;
}

.basket-notifier-container .basket-notifier-related-products .slick-dots li button::before {
	display: none !important;
	content: none !important;
}

.basket-notifier-container .basket-notifier-related-products .slick-dots li.slick-active button {
	width: 27px;
	background: var(--itd-green-dark, #286d51);
}


/* =========================================================
   UDEN RELATEREDE PRODUKTER
   ========================================================= */

.basket-notifier-container .basket-notifier.no-related-products > div:nth-child(3),
.basket-notifier-container .basket-notifier.no-related-products > .basket-notifier-related-products {
	display: none !important;
}


/* =========================================================
   RESPONSIV
   ========================================================= */

@media (max-width: 800px) {
	.basket-notifier-container {
		align-items: flex-end;
		padding: 12px;
	}

	.basket-notifier-container > .basket-notifier {
		width: 100%;
		max-height: calc(100dvh - 24px);
		margin: auto 0 0;
		border-radius: 17px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px 58px 18px 18px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(3) {
		padding: 20px 18px 11px;
	}

	.basket-notifier-container .basket-notifier-related-products {
		padding-right: 11px;
		padding-left: 11px;
	}
}

@media (max-width: 540px) {
	.basket-notifier-container {
		padding: 0;
		background: rgba(18, 29, 24, 0.70);
	}

	.basket-notifier-container > .basket-notifier {
		max-height: 94dvh;
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 18px 18px 0 0;
	}

	.basket-notifier-container .basket-notifier > span:first-child {
		top: 10px;
		right: 10px;
		width: 38px;
		height: 38px;
		margin: 10px 10px -48px 0;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) {
		padding: 19px 53px 15px 13px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) > div:first-child {
		grid-template-columns: 38px 64px minmax(0, 1fr);
		gap: 10px;
		padding: 11px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) > div:first-child > i.fa-check {
		width: 34px;
		height: 34px;
		box-shadow: 0 0 0 5px rgba(116, 171, 45, 0.13);
		font-size: 14px;
	}

	.basket-notifier-container .basket-notifier-image {
		width: 64px !important;
		min-width: 64px;
		max-width: 64px !important;
		height: 64px !important;
		min-height: 64px;
		max-height: 64px !important;
	}

	.basket-notifier-container .basket-product-name {
		font-size: 13px;
		line-height: 1.4;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child {
		padding: 13px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(2) > div:last-child > div:last-child {
		grid-template-columns: 1fr;
	}

	.basket-notifier-container .notifier-close,
	.basket-notifier-container .notifier-basket {
		min-height: 45px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(3) {
		padding: 18px 13px 9px;
	}

	.basket-notifier-container .basket-notifier > div:nth-child(3) h3 {
		font-size: 19px !important;
	}

	.basket-notifier-container .basket-notifier-related-product {
		min-height: 330px;
		margin-right: 5px;
		margin-left: 5px;
	}

	.basket-notifier-container .basket-notifier-related-product > a:nth-child(2) {
		height: 150px;
	}
}


/* =========================================================
   ANIMATIONER
   ========================================================= */

@keyframes itdNotifierEnter {
	from {
		opacity: 0;
		transform: translateY(18px) scale(.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes itdNotifierExit {
	to {
		opacity: 0;
		transform: translateY(14px) scale(.985);
	}
}

@keyframes itdNotifierBackdropOut {
	to {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.basket-notifier-container,
	.basket-notifier-container > .basket-notifier,
	.basket-notifier-container .basket-notifier-related-product,
	.basket-notifier-container .basket-notifier-related-product img,
	.basket-notifier-container .notifier-close,
	.basket-notifier-container .notifier-basket,
	.basket-notifier-container .inBasketNotifier {
		animation: none !important;
		transition: none !important;
	}
}