.product-detail-page {
  margin: 0;
  background: var(--white, #fff);
  color: var(--black, #111);
  font-family: var(--ff-urbanist, 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  line-height: 1.6;
}

.product-detail-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-bottom: 1px solid var(--black_10, #eee);
  position: sticky;
  top: 0;
  background: var(--white, #fff);
  z-index: 10;
}

.product-detail-header-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black, #111);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.product-detail-header .header-actions {
  display: flex;
  align-items: center;
}

.product-detail-header .header-action-btn {
  position: relative;
  font-size: 26px;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.product-detail-header .header-action-btn .btn-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background-color: var(--black, #111);
  color: var(--white, #fff);
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 20px;
}

.product-detail-header .header-action-btn .btn-text {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .product-detail-header .header-action-btn .btn-text {
    display: none;
  }
}

.detail-brand:hover {
  opacity: 0.8;
}

.product-detail-main {
  max-width: 1100px;
  margin: 0 auto;
}

.detail-count {
  padding: 16px 22px;
  text-align: right;
  font-size: 15px;
  color: var(--gray-web, #777);
  letter-spacing: .08em;
  font-weight: 500;
}

.detail-gallery {
  width: 100%;
}

.detail-main-photo {
  width: 100%;
  height: min(76vh, 850px);
  min-height: 360px;
  background: var(--cultured-1, #f8f8f8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-3, 4px);
}

.detail-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 22px 20px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

.detail-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 104px;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--black_10, #eee);
  border-radius: var(--radius-3, 4px);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.detail-thumb:hover {
  border-color: var(--black_50, #999);
}

.detail-thumb[aria-current="true"] {
  border: 2px solid var(--black, #111);
  padding: 2px;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-info {
  padding: 0 22px 36px;
}

.detail-brand-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--hoockers-green, #425c5a);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.detail-info h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 4px 0 14px;
  color: var(--black, #111);
  font-family: var(--ff-urbanist, 'Urbanist', sans-serif);
}

.detail-info p {
  font-size: 16px;
  color: var(--gray-web, #666);
  line-height: 1.7;
  margin: 0 0 20px;
}

.detail-price {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--black, #111);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.detail-add-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--hoockers-green, #425c5a);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-3, 4px);
  letter-spacing: .03em;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
  box-shadow: 0 4px 12px rgba(66, 92, 90, 0.2);
}

.detail-add-cart-btn:hover {
  background: #2f4442;
  transform: translateY(-1px);
}

.detail-add-cart-btn ion-icon {
  font-size: 20px;
}

.detail-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-3, 4px);
  letter-spacing: .03em;
  transition: background-color .2s ease, transform .15s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.detail-whatsapp-btn:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-1px);
}

.detail-shop-link {
  display: inline-block;
  padding: 14px 28px;
  background: var(--black, #111);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: var(--radius-3, 4px);
  transition: background-color .2s ease, transform .15s ease;
}

.detail-shop-link:hover {
  background: var(--hoockers-green, #425c5a);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 760px) {
  .product-detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    align-items: start;
    gap: 40px;
    padding: 32px 24px;
  }
  .detail-count {
    grid-column: 1;
    padding-inline: 0;
  }
  .detail-gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .detail-main-photo {
    height: min(75vh, 760px);
  }
  .detail-info {
    grid-column: 2;
    grid-row: 2;
    padding: 24px 0;
  }
  .detail-thumbnails {
    padding-inline: 0;
  }
}

@media (max-width: 420px) {
  .detail-main-photo {
    height: 64vh;
    min-height: 320px;
  }
  .detail-thumbnails {
    gap: 9px;
    padding-inline: 14px;
  }
  .detail-thumb {
    flex-basis: 72px;
    width: 72px;
    height: 90px;
  }
  .detail-info {
    padding-inline: 16px;
  }
}
