.product-single {
  padding: 120px 0 80px;
}

.product-gallery__hero {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  display: block;
}

.product-gallery__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.product-gallery__thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-gallery__thumb {
  width: 82px;
  height: 82px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-modal .modal-dialog {
  max-width: 1440px;
}

.product-gallery-modal__content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.product-gallery-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-gallery-modal__grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 100px;
  padding: 48px 24px 24px 60px;
  background: #fff;
}

.product-gallery-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 80px);
  gap: 15px;
  align-content: start;
  max-height: 76vh;
  overflow: auto;
}

.product-gallery-modal__thumb {
  width: 82px;
  height: 82px;
  border: 1px solid #ddd;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.product-gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-modal__thumb.is-active {
  border: 1px solid #000;
}

.product-gallery-modal__preview {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82vh;
}

.product-gallery-modal__big {
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  padding: 0 40px;
}

.product-summary {
  height: 100%;
  border: 1px solid rgba(111, 80, 43, 0.18);
  border-radius: 18px;
  padding: 56px;
}

.product-summary__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-summary__small-title {
  font-size: 22px;
  margin-bottom: 44px;
}

.product-summary__price {
  margin-bottom: 105px;
}

.product-summary__price-label,
.product-summary__order h2 {
  font-weight: 700;
  font-size: 22px;
}

.product-summary__price-value {
  font-size: 24px;
  font-weight: 700;
}

.product-summary__price-value span {
    font-size: 14px;
    font-weight: normal;
}

.product-summary__order p {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: 15px;
}

.product-summary__order a {
  color: #8a6438;
  font-weight: 600;
  text-decoration: none;
}

.btn-product-order {
  border: 0;
  border-radius: 999px;
  background: #6f502b;
  color: #fff;
  padding: 13px 34px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-product-order:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.product-gallery__thumb--more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
}

.product-gallery__thumb--more span {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

@media (max-width: 991.98px) {
  .product-single {
    padding: 60px 0;
  }

  .product-summary {
    padding: 34px 26px;
  }

  .product-gallery-modal__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 20px 20px;
  }

  .product-gallery-modal__thumbs {
    display: flex;
    order: 2;
    max-height: none;
    overflow-x: auto;
  }

  .product-gallery-modal__preview {
    height: 60vh;
  }

  .product-gallery-modal__big {
    padding: 0;
  }
}



.product-gallery__mobile {
  display: none;
}

.product-gallery__mobile.product-gallery-slider {
  position: relative;
  overflow: hidden;
  background: #f5f1eb;
  border-radius: 18px;
}

.product-gallery__mobile .product-gallery-slider__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.product-gallery__mobile .product-gallery-slider__viewport::-webkit-scrollbar {
  display: none;
}

.product-gallery__mobile .product-gallery-slider__viewport.is-dragging {
  cursor: grabbing;
}

.product-gallery__mobile .product-gallery-slider__track {
  display: flex;
}

.product-gallery__mobile .product-gallery-slider__slide {
  flex: 0 0 100%;
}

.product-gallery__mobile .product-gallery-slider__slide img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.product-gallery__mobile .product-gallery-slider__dots {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.product-gallery__mobile .product-gallery-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
}

.product-gallery__mobile .product-gallery-slider__dots button.active {
  background: #fff;
}

@media (max-width: 767.98px) {
  .product-gallery__desktop {
    display: none;
  }

  .product-gallery__mobile {
    display: block;
  }
}



/* =================================================
   PRODUCT TABS
================================================= */

.product-tabs-section {
  padding: 45px 0 110px;
}

.product-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  margin-bottom: 70px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 40px;
}

.product-tabs-nav__btn {
  border: 0;
  background: transparent;
  padding: 6px 20px;
  border-radius: 999px;
  color: #6f502b;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
    border: 1px solid rgba(255, 255, 255, 1.0);
}

.product-tabs-nav__btn::after {
  display: none;
}

.product-tabs-nav__btn:hover {
  color: #3f2c17;
}

.product-tabs-nav__btn.is-active {
  color: #6f502b;
  border: 1px solid rgba(111, 80, 43, .75);
  background: transparent;
}

.product-tabs-content {
  max-width: 1120px;
  margin: 0 auto;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
}

.product-tab-wysiwyg {
  max-width: 100%;
  margin: 0 auto;
  color: #2a2a2a;
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 400;
}

.product-tab-wysiwyg p {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 16px;
}

.product-tab-wysiwyg p:last-child {
  margin-bottom: 0;
}

.product-tab-wysiwyg h2,
.product-tab-wysiwyg h3,
.product-tab-wysiwyg h4 {
  color: #111;
  font-weight: 700;
  margin-bottom: 18px;
}

.product-tab-wysiwyg ul,
.product-tab-wysiwyg ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

/* =================================================
   PRODUCT ACCORDION MOBILE
================================================= */

.product-tabs-mobile {
  border-top: 1px solid rgba(111, 80, 43, .18);
}

.product-accordion-item {
  border-bottom: 1px solid rgba(111, 80, 43, .18);
}

.product-accordion-btn {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #6f502b;
  font-weight: 700;
  font-size: 17px;
}

.product-accordion-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.product-accordion-icon::before,
.product-accordion-icon::after {
  content: "";
  position: absolute;
  background: #6f502b;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.product-accordion-icon::before {
  width: 16px;
  height: 2px;
}

.product-accordion-icon::after {
  width: 2px;
  height: 16px;
}

.product-accordion-item.is-open .product-accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.product-accordion-content {
  display: none;
}

.product-accordion-item.is-open .product-accordion-content {
  display: block;
}

.product-accordion-inner {
  padding-bottom: 28px;
}

@media (max-width: 991.98px) {
  .product-tabs-section {
    padding: 30px 0 70px;
  }

  .product-tab-wysiwyg {
    font-size: 15px;
    line-height: 1.7;
  }
}


/* =================================================
   PRODUCT TECHNICAL TAB
================================================= */

.product-technical {
  max-width: 987px;
  margin: 0 auto;
}

.product-technical__row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}

.product-technical__row:last-child {
  margin-bottom: 0;
}

.product-technical__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-technical__icon img {
  max-width: 50px;
  max-height: 50px;
  width: auto;
  height: auto;
  display: block;
}

.product-technical__content strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.product-technical__content span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #333;
}

.product-technical__dimensions-wrap {
  display: inline-block;
}

.product-technical__dimensions {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.product-technical__dimension {
  position: relative;
  padding: 0 26px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.product-technical__dimension:first-child {
  padding-left: 0;
}

.product-technical__dimension:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 0;
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,.55);
}

.product-technical__dimensions-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.3;
  color: #333;
}
.product-technical-note {
  border: 1px solid #eaeaea;
  padding: 25px 25px 5px 25px;
  border-radius: 10px;
}

@media (max-width: 767.98px) {
  .product-technical {
    max-width: 100%;
  }

  .product-technical__row {
    grid-template-columns: 42px 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .product-technical__icon {
    width: 42px;
    height: 42px;
  }

  .product-technical__icon img {
    max-width: 42px;
    max-height: 42px;
  }

  .product-technical__dimensions {
    display: block;
  }

  .product-technical__dimension {
    padding: 0 0 8px;
  }

  .product-technical__dimension:not(:last-child)::after {
    display: none;
  }

  .product-technical__dimensions-desc {
    margin-top: 2px;
  }
}


/* =================================================
   PRODUCT COLORS TAB
================================================= */

.product-colors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px 24px;
}

.product-color-card {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
}

.product-color-card__image {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f0eb;
}

.product-color-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.product-color-card:hover .product-color-card__image img {
  transform: scale(1.04);
}

.product-color-card__name {
  display: block;
  margin-top: 10px;
  color: #111;
  font-size: 14px;
  font-weight: 500;
}
.product-colors-note {
  margin-bottom: 40px;
}

/* Modal */
.product-colors-modal .modal-dialog {
  max-width: 980px;
}

.product-colors-modal__content {
  position: relative;
  border: 0;
  border-radius: 20px;
  padding: 60px;
  background: #fff;
}

.product-colors-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  font-size: 34px;
  line-height: 1;
}

.product-colors-modal__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-colors-modal__image {
  max-width: 620px;
  max-height: 70vh;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.product-colors-modal__name {
  margin-top: 24px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.product-colors-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  transform: translateY(-50%);
}

.product-colors-modal__arrow--prev {
  left: 24px;
}

.product-colors-modal__arrow--next {
  right: 24px;
}

.product-colors-modal__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
}

.product-colors-modal__arrow--prev::before {
  transform: rotate(-135deg);
}

.product-colors-modal__arrow--next::before {
  transform: rotate(45deg);
}

@media (max-width: 1199.98px) {
  .product-colors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767.98px) {
  .product-colors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .product-colors-modal__content {
    padding: 60px 20px 30px;
  }

  .product-colors-modal__arrow {
    width: 42px;
    height: 42px;
  }

  .product-colors-modal__arrow--prev {
    left: 12px;
  }

  .product-colors-modal__arrow--next {
    right: 12px;
  }

  .product-colors-modal__name {
    font-size: 20px;
  }
}


/* =================================================
   PRODUCT 3D VIEWER
================================================= */

.product-3d-viewer {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: #f3f0eb;
  border-radius: 22px;
  overflow: hidden;
}

.product-3d-viewer model-viewer {
  width: 100%;
  height: 620px;
  display: block;
  background: #f3f0eb;
}

.product-3d-viewer__hint {
  padding: 18px 24px 24px;
  text-align: center;
  color: #6f502b;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .product-3d-viewer model-viewer {
    height: 480px;
  }
}

@media (max-width: 575.98px) {
  .product-3d-viewer {
    border-radius: 16px;
  }

  .product-3d-viewer model-viewer {
    height: 360px;
  }
}



/* =================================================
   PRODUCT CARD PDF TAB
================================================= */

.product-card-pdf {
  width: 100%;
  max-width: 674px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(111, 80, 43, .22);
  border-radius: 8px;
  background: #fff;
}

.product-card-pdf__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.product-card-pdf__icon {
  flex: 0 0 auto;
  color: #9b6a3d;
  display: flex;
}

.product-card-pdf__text {
  min-width: 0;
}

.product-card-pdf__title {
  color: #111;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  word-break: break-word;
}

.product-card-pdf__meta {
  margin-top: 3px;
  color: #666;
  font-size: 14px;
  line-height: 1.3;
}

.product-card-pdf__download {
  flex: 0 0 auto;
  color: #9b6a3d;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .25s ease;
}

.product-card-pdf__download:hover {
  color: #9b6a3d;
  opacity: .7;
}

@media (max-width: 575.98px) {
  .product-card-pdf {
    max-width: 100%;
    padding: 18px;
    gap: 16px;
  }

  .product-card-pdf__title {
    font-size: 15px;
  }

  .product-card-pdf__meta {
    font-size: 13px;
  }
}



/* =================================================
   PRODUCT DOWNLOAD 3D TAB
================================================= */

.product-download-3d {
  text-align: center;
  padding: 10px 0 20px;
}

.product-download-3d__title {
  margin-bottom: 38px;
  color: #5b421f;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.25;
  font-weight: 700;
}

.product-download-3d__btn {
  border: 0;
  border-radius: 999px;
  background: #6f502b;
  color: #fff;
  padding: 14px 34px;
  min-width: 206px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.product-download-3d__btn:hover {
  color: #fff;
  background: #5b421f;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.product-download-3d-modal .modal-dialog {
  max-width: 620px;
}

.product-download-3d-modal__content {
  position: relative;
  border: 0;
  border-radius: 20px;
  padding: 52px;
  background: #fff;
}

.product-download-3d-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  font-size: 34px;
  line-height: 1;
}

.product-download-3d-modal__title {
  margin-bottom: 28px;
  color: #5b421f;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 575.98px) {
  .product-download-3d__title {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .product-download-3d__btn {
    width: 100%;
  }

  .product-download-3d-modal__content {
    padding: 52px 22px 30px;
    border-radius: 16px;
  }
}
/* =================================================
   GLOBAL PRODUCT COLOR GROUPS
================================================= */

.product-colors-row {
  margin-bottom: 56px;
}

.product-colors-row:last-child {
  margin-bottom: 0;
}

.product-colors-row__title {
  margin: 0 0 24px;
  color: #111;
  font-size: clamp(18px, 2.2vw, 18px);
  line-height: 1.2;
  font-weight: 600;
}

.product-colors-row .product-colors-grid {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .product-colors-row {
    margin-bottom: 42px;
  }

  .product-colors-row__title {
    margin-bottom: 18px;
    font-size: 22px;
  }
}
