.single-product .contact__intro {
    display: none;
}

.range__body p:not(.price) {
    display: none;
}

.single-product .woocommerce-tabs ul.tabs.wc-tabs {
    display: none !important;
}

.single-product .woocommerce-Tabs-panel--description > h2 {
    display: none;
}

/* Hide the theme's price at the top of the product page */
.single-product .price.price--lg {
    display: none;
}

/* Add "Price: " in front of the WooCommerce price */
.single-product .summary .price::before {
    content: "Price: ";
}
.single-product #jp-relatedposts {
    display: none !important;
}
.single-product .product_meta {
    display: none;
}
/* Quantity box + button in one row (simple and size products) */
.single-product form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.single-product form.cart .quantity {
    margin: 0 !important;
}

.single-product form.cart .quantity input.qty {
    width: 70px;
    height: 100%;
    min-height: 46px;
    font-size: 1.1rem;
    text-align: center;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.single-product .single_add_to_cart_button {
    white-space: nowrap;
}

/* Size selector: label above, larger dropdown */
.single-product table.variations,
.single-product table.variations tr,
.single-product table.variations th,
.single-product table.variations td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
}

.single-product table.variations {
    margin-bottom: 15px;
}

.single-product table.variations th.label {
    margin-bottom: 6px;
    font-weight: 600;
}

.single-product table.variations select {
    width: 100%;
    max-width: 300px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 1rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

/* Hide the "Clear" link */
.single-product .reset_variations {
    display: none !important;
}

/* Hide the price range on products with sizes (the selected size's price shows instead) */
.single-product .product-type-variable .summary > .price {
    display: none;
}

/* Button in the header colour */
.single-product .single_add_to_cart_button {
    min-height: 46px;
    background-color: #0d1114 !important;
    color: #ffffff !important;
    border-color: #0d1114 !important;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}
/* Remove the photo at the top of the product page */
.single-product .page-hero__media {
    display: none !important;
}

/* Make the top bar small and dark, like the header */
.single-product .page-hero {
    background-color: #0d1114;
    min-height: 0 !important;
    padding: 5px 0 !important;
}
/* Bigger price in the blue colour */
.single-product .summary .price,
.single-product .summary .price .amount,
.single-product .summary .price::before {
    color: #2f6b8f !important;
    font-size: 2rem !important;
}
/* Hide the theme's photo row on product pages */
.single-product .page-hero + .section:not([style]) {
    display: none;
}
/* Size buttons linking between products */
.size-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.size-links .size-label {
    font-weight: 600;
    margin-right: 4px;
}

.size-links .size-btn {
    padding: 10px 18px;
    border: 2px solid #0d1114;
    border-radius: 4px;
    color: #0d1114;
    text-decoration: none;
    font-weight: 600;
}

.size-links a.size-btn:hover {
    background-color: #f0f0f0;
}

.size-links .size-btn.active {
    background-color: #0d1114;
    color: #ffffff;
    cursor: default;
}
/* Smaller size buttons */
.size-links .size-btn {
    padding: 5px 12px;
    font-size: 0.9rem;
    border-width: 1px;
}
/* Space between the price and the product title */
.single-product .summary > .price {
    margin-bottom: 6px !important;
}

/* Space between the product title and the description */
.single-product .woocommerce-product-details__short-description h3 {
    margin-bottom: 12px !important;
}
/* Coming soon page: white text */
.woocommerce-coming-soon-store-only h1,
.woocommerce-coming-soon-store-only p {
    color: #ffffff !important;
}
/* ===== Nordic Overland – product pages ===== */

/* --- Dropdowns (tent-dd) --- */
html body .tent-dd {
  --accent: #2f6b8f;
  --accent-soft: #eaf1f5;
  max-width: 800px;
  margin: 0 auto;
}
html body .tent-dd .intro {
  text-align: left;
}
html body .tent-dd details {
  border: 1px solid #e5e5e5;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  margin: 12px 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
html body .tent-dd details:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
html body .tent-dd summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 1.17em;
  font-weight: 600;
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
html body .tent-dd summary::-webkit-details-marker {
  display: none;
}
html body .tent-dd summary::after,
html body .tent-dd details[open] summary::after {
  content: "";
  width: 9px;
  height: 9px;
  font-size: 0;
  margin-left: 16px;
  vertical-align: middle;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex-shrink: 0;
}
html body .tent-dd details[open] summary {
  background: var(--accent);
  color: #fff;
}
html body .tent-dd details[open] summary::after {
  border-color: #fff;
  transform: rotate(-135deg);
}
html body .tent-dd summary:hover {
  background: var(--accent-soft);
}
html body .tent-dd details[open] summary:hover {
  background: var(--accent);
}
html body .tent-dd .dd-content {
  margin-top: 0;
  padding: 4px 20px 20px;
  text-align: left;
}
html body .tent-dd .dd-content ul {
  padding-left: 20px;
}
html body .tent-dd .dd-content li::marker {
  color: var(--accent);
}
html body .tent-dd .dd-content a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Key features with check marks, two columns --- */
html body .tent-dd .intro ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 10px 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 12px 0 24px !important;
  width: 100% !important;
}
html body .tent-dd .intro ul li {
  position: relative !important;
  list-style: none !important;
  padding-left: 30px !important;
  margin: 0 !important;
}
html body .tent-dd .intro ul li::marker {
  content: "" !important;
}
html body .tent-dd .intro ul li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #2f6b8f !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  text-align: center !important;
  display: block !important;
}

/* --- Easier-to-read text --- */
html body .tent-dd p,
html body .tent-dd li {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* --- Hide repeated title + duplicate intro paragraph --- */
html body .tent-dd .intro > h2,
html body .tent-dd .intro > p:nth-of-type(2) {
  display: none !important;
}

/* --- Add to cart in brand colour --- */
html body form.cart button[type="submit"],
html body .single_add_to_cart_button,
html body button.single_add_to_cart_button.button.alt,
html body .wc-block-components-product-button__button,
html body .wp-block-add-to-cart-form button {
  background: #2f6b8f !important;
  background-color: #2f6b8f !important;
  border-color: #2f6b8f !important;
  color: #fff !important;
  border-radius: 6px !important;
}
html body form.cart button[type="submit"]:hover,
html body .single_add_to_cart_button:hover,
html body .wc-block-components-product-button__button:hover,
html body .wp-block-add-to-cart-form button:hover {
  background: #24546f !important;
  background-color: #24546f !important;
  border-color: #24546f !important;
}

/* --- Price label per language --- */
html[lang^="is"] .single-product .summary .price::before {
  content: "Verð: " !important;
}
html[lang^="en"] .single-product .summary .price::before {
  content: "Price: " !important;
}

/* --- Wider product area (header/title left untouched) --- */
html body.single-product main .wrap:not(.page-hero__inner) {
  max-width: 1140px !important;
}
html body.single-product main .wrap:not(.page-hero__inner) .prose,
html body.single-product main .woocommerce,
html body.single-product main .single-product,
html body.single-product div.product {
  max-width: none !important;
  width: 100% !important;
}
html body.single-product .tent-dd {
  max-width: 100% !important;
}
html body.single-product div.product::after {
  content: "";
  display: table;
  clear: both;
}
@media (min-width: 900px) {
  html body.single-product div.product .woocommerce-product-gallery {
    width: 45% !important;
  }
  html body.single-product div.product .summary {
    width: 50% !important;
  }
}

/* Smaller gallery thumbnails */
html body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 16.66% !important;
  clear: none !important;
}
/* Header: title block centred, breadcrumb aligned with title's left edge */
html body.single-product .page-hero .page-hero__inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  width: fit-content !important;
  max-width: min(1140px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.single-product .page-hero h1#page-title {
  max-width: 100% !important;
  width: auto !important;
  text-align: left !important;
  text-wrap: wrap !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Homepage tagline – Icelandic only */
html[lang^="is"] body .hero__tagline {
  font-size: 0 !important;
  width: auto !important;
  min-width: max-content !important;
}
html[lang^="is"] body .hero__tagline::after {
  content: "Græjaðu þig fyrir næsta ævintýri";
  display: block;
  white-space: nowrap;
  font-size: clamp(1.3rem, 1.2rem + .8vw, 1.75rem);
}

/* Allow wrapping on small phones so it doesn't run off the screen */
@media (max-width: 480px) {
  html[lang^="is"] body .hero__tagline {
    min-width: 0 !important;
  }
  html[lang^="is"] body .hero__tagline::after {
    white-space: normal;
  }
}
/* Category product count – brand colour, no yellow highlight */
html body .woocommerce ul.products li.product-category mark.count {
  display: none !important;
}
/* Homepage carousel – larger, taller tiles */
html body .no-carousel{ --no-card-w:300px !important; --no-gap:24px !important; }

/* release the theme's frame around the photo (only the element that holds the photo) */
html body .no-carousel .no-track > * *:has(> img),
html body .no-carousel .no-track > * *:has(> picture){
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  padding-top:0 !important;
}

/* the photo itself */
html body .no-carousel .no-track > * img{
  display:block !important;
  position:static !important;
  width:100% !important;
  height:320px !important;
  max-height:none !important;
  object-fit:cover !important;
}

/* bigger title and button */
html body .no-carousel .no-track > * h3{ font-size:22px !important; }
html body .no-carousel .no-track > * a.no-shop-btn{ font-size:14px !important; padding:8px 16px !important; }

/* phones */
@media (max-width:600px){
  html body .no-carousel{ --no-card-w:240px !important; --no-gap:16px !important; }
  html body .no-carousel .no-track > * img{ height:240px !important; }
}

/* slider in light grey */
html body .no-carousel{ --no-accent:#9a9a9a !important; }