.detail-wrap {
  margin:auto;
  display:block;
  background: white;
  padding: 0%;
  border-radius: 8px;
  box-sizing: border-box;
}

/*
  .detail-gallery {flex:1; min-width:0px; position:relative; box-sizing: border-box;}
  .detail-image-wrapper {position:relative; border-radius:0px; overflow:hidden; background:var(--muted);box-sizing: border-box;}
*/

.detail-meta svg {
  vertical-align: middle;
}

  .detail-gallery {
    max-width: 100%;
    overflow: hidden;
  }

  .detail-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible; /* DÔLEŽITÉ */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #detail-main-img {
    max-width: 100%;
    height: auto;
    display: block;
    transition:opacity .9s;
    box-sizing: border-box;
  }


  .detail-wrap,
  .detail-info,
  .detail-gallery {
    min-width: 0;
  }


  .detail-prev,
  .detail-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    font-family: arial,'Neue Frutiger', Outfit, Inter, poppins;
    font-size:22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px white solid;
}

  .detail-prev {
    left: 8px;
  }

  .detail-next {
    right: 8px;
  }


  .detail-bullets {display:flex; gap:8px; justify-content:center; margin-top:10px;box-sizing: border-box;}
  .detail-bullet {width:15px; height:15px; border-radius:50%; background:#ccc; cursor:pointer; border: 1px #ddd solid;}
  .detail-bullet.active {background:black;}
  .detail-info {flex:1; min-width:0px;box-sizing: border-box;padding:1%;border-radius: 8px;}
  .detail-title {font-size:1.9rem; margin:0;padding:0 0 0 0;line-height: 1.5;}

.detail-next:hover, .detail-prev:hover {
  background: #dceafd;
  color: blue;
  border: 2px black solid;
  cursor:pointer;
}

.detail-price {
  font-weight:600;
  font-weight: 600;
  font-size: 1.9rem;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  display: flex;
  align-items: center;
  gap: 15px;
  box-sizing: border-box;
  justify-content: space-between;
  margin: 0 0 3% 0;
}

.detail-price div {
  margin: 0;
}

#detail-price span {
  font-size: .8rem;
  vertical-align: middle;
}

.detail-acc-content img {
  vertical-align: middle;
  filter: grayscale(100%);
  margin: 0 5% 0 0;
  display: inline-block;
  transition: all 0.5s;
  width: 32px;
}

.detail-acc-content img:hover {
  filter: grayscale(0%);
  transition: all 0.5s
}

.detail-acc-content span {
  padding: 0 1rem 0 0;
  white-space: nowrap;
  margin: 0% 0 5% 0;
  display: inline-block;
}

.detail-multiflex {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  justify-content: space-between;
  padding: 1%;
  border-bottom: 1px #f6f8f9 solid;
}

.detail-multiflex:last-child {
  border-bottom: 0px;
}

.detail-multibox a {
  font-weight: normal !important;
  font-size: 1rem !important;
}

  .detail-controls {margin-top:15px;}
//  select,input[type="text"] {padding:8px; border-radius:8px;}
  .detail-qty {display:inline-flex; align-items:center; border: 1px #dadadb solid;border-radius: 8px;box-sizing: border-box;}
  .detail-qty button {width:46px; height:46px; background:none; font-size:22px; cursor:pointer; color:black; box-sizing: border-box; border: 0px black solid;}
  .detail-qty button:hover {background:transparent; color:#9b7853;}
  .detail-qty input {width:60px; text-align:center;  border-radius:8px; }

  .detail-add {
    padding:9px 7px;
    background:#292933;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-family: 'Neue Frutiger', Outfit, Inter, poppins;
    font-size: 1rem;
    border: 1px #292933 solid;
    display: flex;
    align-items: center;
    gap: 3px;
    box-sizing: border-box;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

.detail-add:hover {
    background:transparent;
    color:#9b7853;
    border:1px #9b7853 solid;
}

  /* color swatches */
.detail-colors {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding: 3%;
  background: #f5f5f5;
  border-radius: 8px;
  box-sizing: border-box;
}

.detail-color-swatch {
  width:34px;height:34px;border-radius:6px;border:2px solid transparent; cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}
.detail-color-swatch.selected { outline:3px solid rgba(0,0,0,0.08); transform:scale(1.04); }

#detail-minus {
  border-right: 1px #dadadb solid;
}

#detail-plus {
  border-left: 1px #dadadb solid;
}

.detail-qty button:hover {
  background: #f3f4ff;
  border-radius: 8px;
}

.products-indetail {
    margin: 0% 0%;
}

.detail-info a {
  font-size: 1.05rem;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  color: #555a74;
}

.detail-info a:hover {
  color:#9b7853;
}

.detail-act {
  display:flex;
  gap: 0px;
  align-items:center;
  flex-wrap:nowrap;
  justify-content: space-between;
  padding: 1% 2%;
  margin: 10% 0 3% 0;
  border: 1px #eee solid;
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.05);
}

#detail-napln, #detail-napis  {
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  padding: 18px;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  text-transform: uppercase;
}

#detail-napln:focus, #detail-napis:focus {
  outline: none;
  background: #f3f4ff;
  color: #6469aa;
}

#detail-napis  {
  padding-right: 45px;
}

#detail-qty {
  border:0;
  background: transparent;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  font-size: 1rem;
}


.detail-field-fillings, .detail-field-colors, .detail-field-text {
  margin: 0 0 5% 0;
}

.detail-btn {
  margin: 1% 0;
}

.detail-head, .detail-controls {
  padding: 0 2% 2% 2%;
  border-radius: 8px;
  margin: 0 0 2% 0;
  box-sizing: border-box;
}

.detail-head h4 {
  font-weight: normal;
  margin: 2% 0.5%;
}

.detail-controls {
  margin: 2% 0;
}

.detail-controls label, .detail-head label {
  text-transform: uppercase;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  margin: 1% 0;
  display: inline-block;
}

.is-hide {
  display:none;
}

.detail-color-swatch {
  width: 32px;
  height: 32px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.1s ease;
}

.detail-color-swatch:hover {
  transform: scale(1.05);
}


.detail-color-swatch.active {
  border-color: #000;
  box-shadow: 0 0 0 2px #fff, 0 0 5px rgba(0, 0, 0, 0.4);
}


.detail-accordion {
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

.detail-acc-item {
  border: 1px solid #eee;
  margin: 3% 0;
  box-shadow: 0 6px 10px rgba(0,0,0,0.05);
  border-radius: 10px;
}

/* základný štýl tlačidla */
.detail-acc-header {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 14px 10px;
  font-size: 1rem;
  font-family: 'Neue Frutiger', Outfit, Inter, poppins;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}

/* efekt pri hover */
.detail-acc-header:hover {
  background: white;
  color: #9b7853;
}

/* ikona + / - */
.detail-acc-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
}

/* obsah */
.detail-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 10px;
  background: white;
}

.detail-acc-content p {
  margin: 10px 0;
  color: #444;
  font-size: 15px;
  line-height: 1.4em;
}

/* >>> aktívny (rozbalený) stav */
.detail-acc-item.active .detail-acc-header {
  background: white;
  color: #6469aa;
}

/* voliteľne – zmena farby ikony pri aktívnom stave */
.detail-acc-item.active .detail-acc-icon {
  color: #0056b3;
  transform: rotate(180deg);
}

/* rozbalenie obsahu */
.detail-acc-item.active .detail-acc-content {
  max-height: 800px;
  padding-bottom: 10px;
}

button svg {
  vertical-align: middle;
}

.detail-metadata {
  display: flex;
  justify-content: space-between;
  padding: 2% 0;
  border-bottom: 1px #f0f0f0 solid;
}

.product-avaiable, .product-made-to-order, .product-temp-unavailable, .product-unavaiable {
/*  text-align: right !important; */
}

.detail-meta {
/*  flex: 1; */
}

.detail-desc-inner h3 {
  text-transform: uppercase;
}


.detail-catt {
  box-sizing: border-box;
  display: flex;
  gap:0px;
  align-items: center;
  margin: 0 0 0 0;
  padding: 0 0 15px 0;
  justify-content: space-between;
  width: 100%;
}

.detail-catt div {
  box-sizing: border-box;
}

.detail-catt span {
  display: block;
  padding-right: 0px;
}

.detail-page,
.detail-hero,
.detail-hero-inner,
.products-indetail {
  max-width: 100%;
  overflow-x: hidden;
}


.detail-napis-box {
  position: relative;
  box-sizing: border-box;
}

#char-counter {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
}

.detail-nav {
  display: none;
}

.product-nav-mobile {
  display: flex;
  justify-content: space-between;
  margin: 3% 0%;
  box-sizing: border-box;
  border-radius: 5px;
}

.product-nav-mobile img {
  width: 70px;
  vertical-align: middle;
  border-radius: 5px;
}

.product-nav-mobile div {
  padding: 1% 0%;
  width:50%;
  box-sizing: border-box;
}

.product-nav-mobile a {
  font-size: 1.15rem;
}

.product-nav-mobile div:last-child {
  text-align: right;
  border-left: 1px #ddd solid;
}

.navision-header {
  width: 94%;
  margin: 7% 3%;
  border-radius: 7px;
  box-sizing: border-box;
}

.navision-header h3 {
  margin: 0%;
  color: #866d4d;
  font-size: 1rem;
  text-transform: uppercase;
}


.divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 15px; /* medzera medzi čiarou a textom */
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #866d4d; /* farba čiary */
}


.slide_related {
  margin-top: 50px;
  width: 100%;
}

.slide_related-title {
  text-align: left;
  margin-bottom: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  padding: 1% 0 0 0;
  margin: 0% 2%;
}

/* wrapper */
.slide_related-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  margin: 0 0%;
  border-radius: 10px;
  width:100%;
  box-sizing: border-box;
  position: relative;
}

.slide_right {
  position: absolute;
  right: 0;
}

.slide_left {
  position: absolute;
  left: 0;
}

/* list */
.slide_related-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  flex: 1 1 auto;        /* 🔑 kľúčové */
  min-width: 0;
  padding: 1% 0;
}

.slide_related-list::-webkit-scrollbar {
  display: none; /* Chrome */
}

/* item */
.slide_related-item {
  min-width: 220px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-sizing: border-box;
  text-align: center;
}

.slide_related-thumb {
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}

.slide_related-thumb img {
  width: 100%;
}

.slide_related-name {
  font-size: 1.05rem;
  box-sizing: border-box;
}

/* arrows */

.slide_related-arrow {
    display: none !important;
  }


.arw-disp {
  display: inline-block;
  background: aliceblue;
  padding: 0 2%;
  margin: 0 2%;
}

.slide_related-wrapper {
  position: relative;
}

.slide_related-swipe-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  pointer-events: none;
  animation: swipeHint 1.6s infinite ease-in-out;
  opacity: 0;
}

@keyframes swipeHint {
  0%   { transform: translate(-50%, 0); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translate(-60%, 0); }
  80%  { opacity: 1; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}


.borderbottom {
   border-bottom: 1px #e1e1e1 solid;
   width: 100%;
   margin: 5% 0%;
   box-sizing: border-box;
}


/* ******************   DESKTOP *********************** */
@media (min-width: 769px) {

  .detail-catt div {
    padding: 0%;
    border: 0px;
  }

  .detail-catt span {
    display: inline;
    padding-right: 3px;
  }


  .slide_related-swipe-hint {
      display: none !important;
  }

  .borderbottom {
     margin: 1% 0%;
  }


  .slide_related-title {
    margin: 0%;
  }


  .arw-disp {
    display: none;
  }


  .slide_related-wrapper {
    margin: 0%;
  }


  .slide_related-arrow {
    display: block !important;
    border: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
    justify-content: center;
    line-height: 1;
  }

  .slide_related-arrow:hover {
    background: #dcdef2;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    color: #6e73aa;
    width: 40px;
    height: 40px;
  }

  .navision-header {
    width: 100%;
    margin: 5% 0% 0% 0%;
  }

  .navision-header h3 {
    font-size: 1.25rem;
  }


  .product-nav-mobile {
    display: none;
  }

  .detail-acc-item {
    margin: 1% 0;
    box-shadow: none;
  }

  .detail-nav {
    margin: 0%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
  }

  .detail-nav div {
    margin: 1% 0%;
    padding: 0.5% 0%;
    border-radius: 5px;
  }

  .detail-nav div:hover {
    background: #f7f7f7;
  }


  .detail-nav img {
    width: 70px;
    vertical-align: middle;
    border-radius: 5px;
  }

.detail-nav a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}


.detail-acc-item {
    border: 0px;
    border-bottom: 1px solid #ddd;
    margin: 0px;
    border-radius: 0px;
}


  .detail-catt {
    gap: 20px;
    margin: 0 0 0 0;
    justify-content:space-between;
  }

.detail-gallery {
  flex:6;
}

.detail-info {
  flex:4;
  padding: 0%;
}

.detail-gallery,
.detail-info {
  min-width: 320px;
}

.products-indetail {
    margin: 5% 10%;
}

.detail-title {
  font-size:2.5rem;
  line-height: 1;
}



.detail-act {
  gap:15px;
  justify-content: normal;
  border: 0px;
  border-radius: none;
  box-shadow: none;
  padding: 4% 0% 1% 0%;
  margin: 0;
}

.detail-price {
justify-content: left;
}


.detail-wrap {
  gap: 30px;
  padding: 2.5%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  background: white;
  border-radius: 8px;
  box-sizing: border-box;
}

.detail-image-wrapper {
  border-radius:8px;
}

.detail-add {
  padding:9px 20px;
  gap: 5px;
}




}
