/* ---- moved from style.css 2026-10-03 (same order as before: ahead of the rules below) ---- */

/* category label under the breadcrumb on the product page — a label, not a title */
.prod-category {
  margin: 0;
  padding: 2px 0 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  line-height: 1.3;
}

/* category sits directly on the product title – no double gap between them */
.prod-category + .page-title {
  padding-top: 0;
}
ul.buttonlist {
  display: flex;
  align-items: center;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.buttonlist li {
  display: block;
  padding: 3px 5px;
  border: 1px solid gray;
  margin: 3px;
  background-color: #ddd;
  border-radius: 3px;
  cursor: pointer;
  min-width: 30px;
  text-align: center;
}

ul.buttonlist li.selected {
  background-color: #bbb;
}

ul.buttonlist li.enabled 
{
  pointer-events: auto; 
  opacity:1;       
}

ul.buttonlist li.disabled
{
  pointer-events: none;
  opacity:0.5;
}

/* out-of-stock colour: visible but greyed, still clickable to view the colour */
ul.buttonlist li.unavailable
{
  opacity: 0.45;
  text-decoration: line-through;
}

  .thumbnails {
    display: flex;
    margin: 1rem auto 0;
    padding: 0;
    justify-content: center;
  }

  div#splide .thumbnail {
    width: 70px;
    height: 70px;
    overflow: hidden;
    list-style: none;
    margin: 0 0.2rem;
    cursor: pointer;
  }

  div#splide .thumbnail img {
    width: 100%;
    height: auto;
  }

  div#splide .splide__slide img {
    --width: 100%;
    max-height: 300px;
    width: auto;
  }

  div#splide li.splide__slide
    {
      text-align: center;
    }
.prod-container .price {
    font-size: 18px;

    font-weight: bold;
    margin: 10px 0;
}

/* ---- product.css ---- */
/*
div.two-col
{
    display: flex;
}

div.two-col-col1 {
    flex: 1;
    padding: 10px;
}   

div.two-col-col2 {
    flex: 1;
    padding: 10px;
}

*/


.collapsible-header {
    position: relative;
    padding-right: 25px;
    border-top: 1px solid #ccc;
}

.collapsible-header::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1em;
}

.collapsible-header[aria-expanded="true"]::after {
    content: "−"; /* minus */
}

.thumbnail img
{
 border-radius: 3px;
 border: 1px solid #ccc;
}

button#addbasket {
  background-color: #1e921e; /* vivid green, 4.0:1 with white text */
  border: none;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

/* same hover shade as the basket's checkout button */
button#addbasket:hover:not([disabled]) {
  background-color: #197a19;
}

button#addbasket[disabled] {
  background-color: #aaa;
  cursor: not-allowed;
}


.my-custom-arrow svg 
{
  width: 50px;
  height: 50px;
}



.splide__arrow {
	/*
    -ms-flex-align: center;
    align-items: center;
    background: #ccc;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 2em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    z-index: 1;
	*/
	width: 50px;
	height: 50px;
}

.two-col.row > .two-col-col1,
.two-col.row > .two-col-col2 {
  min-width: 0;
}

#splide,
#main-carousel,
#main-carousel .splide__track {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

/* ── Lightbox ────────────────────────────────────────────────── */
#img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  overflow: hidden;
  cursor: zoom-out;
}
#img-lightbox.open {
  display: flex;
}
#lightbox-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: row;
  will-change: transform;
}
.lb-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-slide img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}
#img-lightbox-close {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 2.8rem;
  line-height: 1;
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  user-select: none;
  z-index: 1;
}
#img-lightbox-close:hover {
  opacity: 1;
}
#img-lightbox-prev,
#img-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  line-height: 1;
  color: #fff;
  opacity: 0.7;
  cursor: pointer;
  user-select: none;
  padding: 0 18px;
  z-index: 1;
}
#img-lightbox-prev { left: 0; }
#img-lightbox-next { right: 0; }
#img-lightbox-prev:hover,
#img-lightbox-next:hover {
  opacity: 1;
}
.splide__slide img {
  cursor: zoom-in;
}

/* ---- linked products (accessories) slider: third child of the product row ----
   One column (< 992px): it follows the description (DOM order). Two columns: a grid
   puts it under the gallery / buttons in the left column, the description spans
   both rows on the right; rows "auto 1fr" so no gap opens under the buttons. */
@media (min-width: 992px) {
  .two-col.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "col1 col2"
                         "rel  col2";
  }
  .two-col.row > .two-col-col1 { grid-area: col1; }
  .two-col.row > .two-col-col2 { grid-area: col2; }
  .two-col.row > .two-col-related { grid-area: rel; align-self: start; }
}

.two-col-related {
  min-width: 0; /* a wide slider must not widen the grid */
  margin-top: 10px;
}
.related-tile {
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
#related-carousel .splide__slide img {
  cursor: pointer; /* not the zoom-in of the image carousel */
  display: block;
  width: 100%;
  height: 140px;
  object-fit: contain;
}
.related-noimg {
  height: 140px;
  background: #f3f3f3;
}
.related-name {
  font-size: 13px;
  margin-top: 4px;
}
.related-price {
  font-size: 13px;
  font-weight: bold;
}
#related-carousel .splide__arrow {
  width: 36px;
  height: 36px;
}

/* images inside the product description: never wider than the column */
.two-col-col2 img {
  max-width: 100%;
  height: auto;
}

/* the product's properties under the description (TermekJellErtek) */
table.prod-props {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 14px;
}
table.prod-props th,
table.prod-props td {
  padding: 6px 10px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}
table.prod-props th {
  width: 40%;
  font-weight: normal;
  color: #666;
}
