/* === OVERORDNET === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.DM_ProductShowOff {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 3rem 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* === BILLEDE/SLIDER === */
.DM_LeftContainer {
  flex: 1 1 48%;
  max-width: 600px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.DM_ProductImage {
  position: relative;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.detail_image_container img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}

/* === THUMBNAILS === */
.detail_thumbnail_container {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow-x: auto;
  max-width: 100%;
}

.detail_thumbnail_container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.detail_thumbnail_container img:hover,
.detail_thumbnail_container img.slick-current {
  border-color: #0077cc;
}

/* === HØJRE INFO-BOKS === */
.DM_ProductShortInfoBox {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.DM_StockCount p {
  font-weight: 600;
  color: #008000;
  margin: 0;
}

/* === COUNTDOWN === */
.countdown_container {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

.countdown_container ul {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}

.countdown_container li {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  min-width: 60px;
}

.countdown_container span {
  display: block;
}

/* === KORT FORKLARING === */
.DM_KortForklaring {
  font-size: 1rem;
  color: #333;
}

/* === PRIS === */
.price-grade-warranty h4 {
  margin: 0.5rem 0;
  font-weight: bold;
  font-size: 1.8rem;
  color: #222;
}

.detail-pricewithout h5 {
  margin: 0.5rem 0;
  font-weight: bold;
  font-size: 1rem;
  color: #666;
}

.b_prices p {
  font-size: 0.9rem;
  color: #777;
}

/* === SOFTWAREVALG / TILVALG === */
.additional_choices {
  padding: 20px 15px;
  margin-top: 20px;
  font-family: inherit;
  overflow-wrap: break-word;
  max-width: 100%;
}

.additional_choices h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  background: white;
  transition: border 0.3s;
  max-width: 100%;
  overflow-wrap: break-word;
}

.choice:hover {
  border-color: #999;
}

.choice input[type="radio"] {
  margin-top: 5px;
  transform: scale(1.2);
  accent-color: #0077cc;
}

.choice label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  flex-wrap: wrap;
}

.choice label > div {
  flex: 1;
  min-width: 0;
}

.option_product_headline {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  word-break: break-word;
}

.option_product_price {
  font-size: 0.95rem;
  color: #007c36;
  margin-top: 4px;
  word-break: break-word;
}

.option_product_readmore_btn {
  margin-top: 8px;
  color: #0056b3;
  font-size: 0.9rem;
  cursor: pointer;
}

.option_product_readmore_content {
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.5;
  color: #444;
}

/* === LEVERING === */
.freight_price_info_product_detail {
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

/* === LÆS MERE (LONG INFO / VIDEO / TEKST) === */
#ReadMore,
.DM_LongInfo {
  padding: 2rem 1rem;
  background: #fff;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  overflow-x: hidden;
}

#ReadMore h2,
#ReadMore h3 {
  color: #111;
  font-weight: 600;
  line-height: 1.3;
}

#ReadMore p {
  margin-bottom: 1rem;
  color: #444;
}

#ReadMore ul {
  margin: 1rem 0 2rem 1.2rem;
  padding-left: 1rem;
  list-style-type: disc;
}

#ReadMore ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === SPECIFIKATIONSTABEL === */
#ReadMore .product-specs-table,
.product-specs-table {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: #f9f9f9;
  border-radius: 6px;
  overflow-x: auto;
  padding: 1rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.03);
}

.product-specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs-table th,
.product-specs-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95rem;
}

.product-specs-table th {
  background: #f0f0f0;
  font-weight: 600;
  color: #222;
}

#ReadMore .product-specs-table > div > div {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === RESPONSIV VIDEO === */
#ReadMore iframe {
  display: block;
  max-width: 100%;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  margin: 2rem 0;
  border-radius: 8px;
}

/* === RELATEREDE PRODUKTER === */
#ReadMore .rp-headline h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: #222;
  text-align: center;
}

/* === RESPONSIVITET === */
@media (max-width: 768px) {
  .DM_ProductShowOff {
    flex-direction: column;
    gap: 2rem;
  }

  .DM_LeftContainer,
  .DM_ProductShortInfoBox {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .addToBasket {
    width: 100%;
  }

  .detail_thumbnail_container {
    justify-content: center;
    overflow-x: auto;
  }

  .choice {
    flex-direction: column;
    align-items: flex-start;
  }

  .choice label {
    flex-direction: column;
    align-items: flex-start;
  }

  .option_product_price {
    margin-top: 8px;
  }

  #ReadMore {
    padding: 1.5rem 1rem;
  }

  #ReadMore h2 {
    font-size: 1.25rem;
  }

  #ReadMore h3 {
    font-size: 1.1rem;
  }

  #ReadMore .product-specs-table th,
  #ReadMore .product-specs-table td {
    font-size: 0.9rem;
  }
}

.DM_ProductImage {
  max-width: 100%;
  overflow: hidden;
}

.detail_image_container {
  max-width: 100%;
  overflow: hidden;
  display: block;
}

@media (min-width: 769px) {
  .detail_image_container img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* === CLEAN SOFTWARE TILVALG === */
.additional_choices {
  padding: 2rem;
  background-color: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: #333;
}

.additional_choices h3 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: #222;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fafafa;
  transition: border 0.3s ease;
}

.choice:hover {
  border-color: #0077cc;
}

.choice input[type="radio"] {
  margin-top: 0.3rem;
  transform: scale(1.2);
  accent-color: #0077cc;
  flex-shrink: 0;
}

.choice label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
  width: 100%;
}

.choice label > div,
.option_product_readmore_btn,
.option_product_price {
  line-height: 1.5;
}

.option_product_headline {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
}

.option_product_headline:hover {
  text-decoration: underline;
}

.option_product_price {
  font-size: 0.95rem;
  color: #007c36;
}

.option_product_readmore_btn {
  color: #0056b3;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.5rem;
}

.option_product_readmore_content {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.75rem;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 2px solid #eee;
}

.choice-description {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* === RESPONSIVT === */
@media (max-width: 768px) {
  .additional_choices {
    padding: 1.5rem 1rem;
  }

  .choice {
    flex-direction: column;
    align-items: flex-start;
  }

  .choice label {
    flex-direction: column;
  }

  .option_product_readmore_content {
    padding-left: 0;
    border-left: none;
  }
}

.option_product_readmore_btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0056b3;
  cursor: pointer;
  transition: color 0.2s;
}

.option_product_readmore_btn:hover {
  color: #003c80;
}

.option_product_readmore_btn i {
  transition: transform 0.3s ease;
}

.option_product_readmore_btn.active i {
  transform: rotate(180deg);
}

.option_product_readmore_content {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  padding-left: 1rem;
  border-left: 2px solid #eee;
}

.choice-description {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  padding-left: 1rem;
  border-left: 2px solid #eee;
}

.product_quantity {
  width: 70px;
  padding: 8px;
  font-size: 16px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.product_quantity:focus {
  border-color: #0070f3;
}

.addToBasket:hover {
  background: linear-gradient(to right, #00a94f, #00d167);
}

/* Fade out the real text and cart icon */
.addToBasket i,
.addToBasket::first-line {
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.addToBasket:hover i {
  opacity: 0;
}

/* Hide all text after icon (Læg i kurv) by matching exact text content */
.addToBasket:hover {
  color: transparent;
}

/* Inject a new icon that slides in from the left */
.addToBasket::after {
  content: '\f07a'; /* Font Awesome cart */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: white;
  font-size: 16px;
  z-index: 2;
  transition: left 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.addToBasket:hover::after {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.basket-container {
  display: flex;
  align-items: center;
  font-size: 0; /* removes inline spacing between children */
  width: 100%;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Fake 1px divider between input and button */
.basket-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 60px;
  width: 1px;
  height: 100%;
  background: #ccc;
  z-index: 2;
}

/* Quantity input */
.basket-container .product_quantity {
  width: 60px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  background: white;
  color: #333;
  border: none;
  outline: none;
  border-radius: 0;
  margin: 0;
  height: 48px;
  line-height: 48px;
  z-index: 1;
  position: relative;
}

/* Button styles */
.basket-container .addToBasket {
  flex: 1;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  background: linear-gradient(to right, #00589f, #0071c8);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.4s ease;
  font-family: inherit;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Hover state */
.basket-container .addToBasket:hover {
  background: linear-gradient(to right, #00589f, #0071c8);
  color: transparent; /* fade out text */
}

/* Fade out default icon */
.basket-container .addToBasket i {
  transition: opacity 0.4s ease;
  z-index: 2;
  position: relative;
}

.basket-container .addToBasket:hover i {
  opacity: 0;
}

.basket-container .addToBasket:hover::after {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* Wash-over shine effect */
.basket-container .addToBasket::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-20deg);
  z-index: 2;
  transition: left 0.6s ease;
  pointer-events: none;
}

.basket-container .addToBasket:hover::before {
  left: 125%;
}

.cloudzoom-tint, .cloudzoom-blank, .cloudzoom-fade-1 {
    opacity: 0 !important;
    display: none;
    background-color: transparent !important;
}

.img-max-width img{
    max-width:100%;
}

.additional_choices {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.choice-container {
  width: 100%;
}

.choice {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.option_product_readmore_content {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.choice-description {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.option_product_readmore_content iframe {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.multivariants>div{
    height:auto !important;
}

/*related products*/
.related-products > .slick-list > .slick-track > .single-product{
    border:none;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
  margin: 0 0.5rem;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .image-container {
  padding: 20px;
  text-align: center;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > h2 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0;
  min-height: 40px;
  line-height: 1.4;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > h2 > a {
  color: #222;
  text-decoration: none;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > h2 > a:hover {
  color: #0061aa;
  text-decoration: underline;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > div:last-of-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > div:last-of-type span {
  font-size: 18px;
  font-weight: bold;
  color: #0061aa;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > div:last-of-type a {
  background: #0061aa;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.related-products > .slick-list > .slick-track > .single-product > .single-product-container > .info-container > div:last-of-type a:hover {
  background: #004f8e;
}

.related-products > .slick-prev,
.related-products > .slick-next {
  top: 50%;
  z-index: 10;
  cursor: pointer;

}

/* Hover-effekt */
.related-products > .slick-prev:hover,
.related-products > .slick-next:hover {
  background: #004f8e;
}

/* Positionering */
.related-products > .slick-prev {
  left: -15px !important;
}

.related-products > .slick-next {
  right: -15px !important;
}

/* Tilføj pile vha. pseudo-element */
.related-products > .slick-prev::before,
.related-products > .slick-next::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  margin: auto;
}

.related-products > .slick-prev::before {
  transform: rotate(225deg);
}

.related-products > .slick-next::before {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
    .related-products > .slick-prev {
  left: -10px !important;
}

.related-products > .slick-next {
  right: -10px !important;
}
}

/*Dialog inden kurv*/
.basket-notifier-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Arial, sans-serif;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}

/* Hovedboks */
.basket-notifier {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  width: 100%;
}

/* Bekræftelse og billede */
.basket-notifier > div:first-of-type {
  display: flex;
  gap: 16px;
  align-items: center;
}

.basket-notifier i.fa-check {
  color: #2ecc71;
  font-size: 20px;
  margin-right: 10px;
}

.basket-notifier-image {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.basket-product-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

/* Kurvinfo og knapper */
.basket-notifier > div:nth-of-type(2) {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.basket-notifier-basket-items {
  font-weight: 600;
  color: #444;
}

.basket-notifier-basket-price {
  font-weight: bold;
  font-size: 18px;
  color: #0061aa;
  margin-left: 10px;
}

.notifier-close,
.notifier-basket {
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notifier-close {
  background: #eee;
  border: 1px solid #ccc;
  color: #333;
}

.notifier-close:hover {
  background: #ddd;
}

.notifier-basket {
  background: #0061aa;
  color: white;
  border: none;
}

.notifier-basket:hover {
  background: #004f8e;
}

/* Relaterede produkter */
.basket-notifier h3 {
  font-size: 18px;
  margin: 30px 0 10px;
  color: #222;
}

.basket-notifier-related-products {
  margin-top: 10px;
}

/* Slick dots */
.basket-notifier-related-products .slick-dots {
  text-align: center;
  margin-top: 10px;
}

.basket-notifier-related-products .slick-dots li button {
  background: #ccc;
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  padding: 0;
}

.basket-notifier-related-products .slick-dots li.slick-active button {
  background: #0061aa;
}

/* RESPONSIVT */
@media (max-width: 768px) {
  .basket-notifier > div:first-of-type {
    flex-direction: column;
    align-items: flex-start;
  }

  .basket-notifier > div:nth-of-type(2) {
    flex-direction: column;
    gap: 12px;
  }

  .basket-notifier-basket-price {
    display: block;
    margin: 6px 0 0;
  }

  .notifier-close,
  .notifier-basket {
    width: 100%;
    text-align: center;
  }
}
