.product-show {
  width: 85%;
  max-width: 85%;
  margin: 0 auto;
  padding: 48px 0 80px;
  box-sizing: border-box;
  background: #fff;
}

.product-show__breadcrumb {
  margin: 0 0 24px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #999;
}

.product-show__breadcrumb a {
  color: #999;
  text-decoration: none;
}

.product-show__breadcrumb a:hover {
  color: #1c1c1c;
}

.product-show__breadcrumb-sep {
  margin: 0 8px;
}

.product-show__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 64px);
}

.product-gallery {
  flex: 1 1 420px;
  max-width: 100%;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f5f5f5;
  cursor: zoom-in;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.08s ease-out;
  will-change: transform;
}

.product-gallery__main.is-zoomed .product-gallery__image {
  transition: none;
}

.product-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #999;
}

.product-gallery__zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.product-gallery__zoom-icon svg {
  width: 20px;
  height: 20px;
  fill: #1c1c1c;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.product-gallery__thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: #1c1c1c;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-show__info {
  flex: 1 1 380px;
  max-width: 100%;
}

.product-show__title {
  margin: 0 0 28px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  color: #1c1c1c;
}

.product-tabs__nav {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.product-tabs__tab {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: #f3ede3;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1c1c1c;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-tabs__tab.is-active {
  background: #e8e8e8;
}

.product-tabs__tab:first-child {
  border-radius: 6px 0 0 6px;
}

.product-tabs__tab:last-child {
  border-radius: 0 6px 6px 0;
}

.product-tabs__panel {
  background: #fafafa;
  padding: 24px;
  border-radius: 6px;
}

.product-show__intro {
  margin: 0 0 20px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: #555;
}

.product-show__intro p {
  margin: 0 0 0.75em;
}

.product-show__intro p:last-child {
  margin-bottom: 0;
}

.product-specs {
  width: 100%;
  border-collapse: collapse;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.product-specs th,
.product-specs td {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.product-specs th {
  width: 42%;
  background: #fafafa;
  font-weight: 600;
  color: #1c1c1c;
}

.product-specs td {
  color: #555;
}

.product-show__empty {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #999;
}

.product-show__description {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.product-show__description p {
  margin: 0 0 16px;
}

.product-show__description p:last-child {
  margin-bottom: 0;
}

.product-show__description ul,
.product-show__description ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.product-show__description h2,
.product-show__description h3 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1c;
}

.product-show__description img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.product-show__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 48px;
  border: none;
  border-radius: 999px;
  background: #1c1c1c;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-show__cta:hover {
  background: #333;
}

@media (max-width: 768px) {
  .product-gallery__main {
    cursor: default;
  }

  .product-gallery__zoom-icon {
    display: none;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .product-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Products listing */
.products-page {
  width: 85%;
  max-width: 85%;
  margin: 0 auto;
  padding: 48px 0 80px;
  box-sizing: border-box;
}

.products-page__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.product-nav__anchor {
  grid-column: 1;
  align-self: start;
}

.product-nav__sidebar-placeholder {
  display: block;
}

.product-nav__sidebar-placeholder[hidden] {
  display: none;
}

.product-nav {
  margin: 0;
  padding-bottom: 16px;
  background: #fff;
}

.product-nav.is-sidebar-fixed {
  position: fixed;
  z-index: 100;
  background: #fff;
  box-sizing: border-box;
}

.product-nav__root {
  margin: 0;
  padding: 0 0 12px;
}

.products-page__main {
  grid-column: 2;
  min-width: 0;
}

.product-nav__root-link {
  display: block;
  padding: 14px 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #d3b574;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-nav__root.is-active .product-nav__root-link,
.product-nav__root-link.is-active {
  color: #1c1c1c;
  font-weight: 700;
}

.product-nav__root-link:hover {
  color: #1c1c1c;
}

.product-nav__divider {
  height: 4px;
  background: #1c1c1c;
  margin: 0 0 12px;
}

.product-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-nav__subitem {
  margin: 0;
}

.product-nav__sublink {
  display: block;
  padding: 12px 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #7a7a7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-nav__sublink:hover,
.product-nav__sublink.is-active {
  color: #1c1c1c;
  font-weight: 600;
}

.products-page__breadcrumb {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: #999;
}

.products-page__breadcrumb a {
  color: #999;
  text-decoration: none;
}

.products-page__breadcrumb a:hover {
  color: #1c1c1c;
}

.products-page__breadcrumb-sep {
  margin: 0 8px;
}

.products-page__title {
  margin: 0 0 32px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  color: #1c1c1c;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.product-card {
  margin: 0;
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 14px;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-card__link:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #999;
}

.product-card__title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #1c1c1c;
}

.products-page__empty {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #999;
}

.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.products-pagination__link {
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 600;
}

.products-pagination__link:hover {
  color: #d3b574;
}

.products-pagination__info {
  color: #999;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .products-page {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px 48px;
  }

  .products-page__layout {
    display: block;
  }

  .product-nav__anchor {
    display: block;
  }

  .product-nav {
    padding-bottom: 0;
    background: transparent;
  }

  .product-nav.is-sidebar-fixed {
    position: static;
    z-index: auto;
  }

  .product-nav__root {
    padding-bottom: 10px;
  }

  .product-nav__root-link {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1c1c1c;
  }

  .product-nav__sticky-bar {
    z-index: 150;
    margin: 0 -16px 16px;
    padding: 0 16px 12px;
    background: #fff;
  }

  .product-nav__sticky-bar.is-fixed {
    position: fixed;
    top: 46px;
    left: 0;
    right: 0;
    z-index: 1190;
    margin: 0;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .product-nav__sticky-placeholder {
    display: block;
  }

  .product-nav__sticky-placeholder[hidden] {
    display: none;
  }

  .product-nav__divider {
    margin-bottom: 12px;
  }

  .product-nav__submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-nav__subitem {
    margin: 0;
  }

  .product-nav__sublink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #d3b574;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #1c1c1c;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .product-nav__sublink:hover,
  .product-nav__sublink.is-active {
    background: #1c1c1c;
    border-color: #1c1c1c;
    color: #fff;
    font-weight: 500;
  }

  .products-page__title {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
