.product-page {
  background: white;
}

.mobile-buy-bar {
  display: none;
}

.single-product-section {
  min-height: 700px;
  padding: 16px 0 0;
  background: #f7f7f7;
}

.product-breadcrumbs {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
  padding: 0 0 22px;
  color: #333;
  font-size: 14px;
}

.product-breadcrumbs a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.product-breadcrumbs span {
  margin: 0 8px;
  color: #888;
}

.single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 62px;
  width: min(calc(100% - 64px), var(--content));
  min-height: 640px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.product-loading {
  grid-column: 1 / -1;
  padding: 80px 0;
  color: var(--muted);
  text-align: center;
}

.product-gallery {
  position: sticky;
  top: 82px;
  align-self: start;
}

.single-product-media {
  position: relative;
  top: auto;
  display: grid;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1.08;
  place-items: center;
  overflow: hidden;
  background: #f0f0f0;
}

.single-product-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  transition: transform 320ms ease;
}

.single-product-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-product-media.is-zoomed img {
  cursor: zoom-out;
  transform: scale(1.65);
}

.image-zoom {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1c1c1c;
  cursor: pointer;
}

.image-zoom svg {
  width: 19px;
  height: 19px;
}

.image-counter {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 3px;
  background: rgba(20, 20, 20, 0.78);
  color: white;
  font-size: 11px;
}

.product-thumbnails {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}

.product-thumbnails button {
  display: grid;
  width: 68px;
  height: 68px;
  padding: 2px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  background: white;
  cursor: pointer;
}

.product-thumbnails button.is-active {
  border: 2px solid var(--gold-dark);
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-product-info {
  padding-top: 28px;
}

.single-product-info h1 {
  margin: 0;
  font-size: clamp(35px, 3.6vw, 51px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.product-community {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 24px;
  padding: 12px 0;
}

.community-avatars {
  display: flex;
  flex: 0 0 auto;
}

.community-avatars img {
  width: 34px;
  height: 34px;
  margin-left: -9px;
  border: 2px solid white;
  border-radius: 50%;
  background: #f1f1f1;
  object-fit: cover;
}

.community-avatars img:first-child {
  margin-left: 0;
}

.community-stat,
.community-note {
  display: flex;
  flex-direction: column;
}

.community-stat strong,
.community-note strong {
  font-size: 13px;
}

.community-stat span,
.community-note span {
  color: #6b6b6b;
  font-size: 11px;
}

.community-note {
  margin-left: auto;
  text-align: right;
}

.community-note strong {
  color: #e9b431;
  letter-spacing: 2px;
}

.single-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: #2461df;
  font-size: clamp(24px, 2.3vw, 31px);
  font-weight: 700;
}

.single-product-price del {
  color: #888;
  font-size: 18px;
  font-weight: 400;
}

.price-verified {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-left: 4px;
  padding: 0 11px;
  border-radius: 5px;
  background: #2863e6;
  color: white;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.price-per-pack {
  margin: 0 0 20px;
  color: #777;
  font-size: 12px;
}

.single-product-sale {
  margin: 0 0 3px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.single-product-stock {
  margin: 17px 0 22px;
  padding: 18px 0;
  border-top: 1px solid #ddd;
  color: #397447;
  font-size: 14px;
  font-weight: 600;
}

.single-product-stock::before {
  margin-right: 10px;
  content: "✓";
}

.single-product-description {
  margin: 0 0 24px;
  color: #515151;
  font-size: 15px;
  line-height: 1.75;
}

.bundle-save-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 6px 0 15px;
}

.bundle-save-heading span {
  height: 1px;
  background: #9a9a9a;
}

.bundle-save-heading strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.bundle-options {
  display: grid;
  gap: 10px;
}

.bundle-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 24px 17px 12px;
  border: 2px solid #d6e1fa;
  border-radius: 15px;
  background: white;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.bundle-option:hover {
  border-color: #8aa9ed;
}

.bundle-option.is-selected {
  border-color: #2863e6;
  background: #eef4ff;
  box-shadow: 0 0 0 1px #2863e6;
}

.bundle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bundle-radio {
  position: relative;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #a9c0ec;
  border-radius: 50%;
  background: white;
}

.bundle-option.is-selected .bundle-radio {
  border-color: #2863e6;
}

.bundle-option.is-selected .bundle-radio::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2863e6;
  content: "";
}

.bundle-copy {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 5px 8px;
  min-width: 0;
}

.bundle-copy strong {
  font-size: 19px;
  line-height: 1;
}

.bundle-copy small {
  padding: 3px 8px;
  border: 1px solid #2863e6;
  border-radius: 4px;
  color: #2863e6;
  font-size: 11px;
  font-weight: 700;
}

.bundle-copy em {
  grid-column: 1 / -1;
  color: #323b4f;
  font-size: 13px;
  font-style: normal;
  line-height: 1.3;
}

.bundle-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  padding-left: 8px;
}

.bundle-price strong {
  color: #2863e6;
  font-size: 17px;
}

.bundle-price del {
  color: #777;
  font-size: 12px;
}

.bundle-price small {
  color: #777;
  font-size: 11px;
}

.bundle-ribbon {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #2863e6;
  color: white;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.bundle-option:hover .bundle-ribbon,
.bundle-option.is-selected .bundle-ribbon {
  opacity: 1;
  transform: translateY(0);
}

.multi-buy-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 17px;
  padding: 0 22px;
  border-radius: 7px;
  background: #2863e6;
  color: white;
  font-size: 16px;
}

.multi-buy-button strong {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 16px;
}

.multi-buy-button:hover {
  background: #1b50c9;
}

.bundle-footnote {
  margin: 10px 0 0;
  color: #757575;
  font-size: 11px;
  text-align: center;
}

.product-options {
  margin: 0 0 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.product-options > span {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.flavour-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavour-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d2d2d2;
  background: white;
  color: #4b4b4b;
  font-size: 11px;
}

.flavour-links a:hover,
.flavour-links a.is-active {
  border-color: var(--gold-dark);
  background: var(--gold-pale);
  color: #3d321f;
}

.purchase-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  margin-top: 25px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 24px 28px 24px;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  border: 1px solid #cfcfcf;
  background: white;
}

.quantity-control button {
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.quantity-control input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.detail-add-button {
  min-height: 49px;
  background: var(--gold-soft);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.detail-add-button:hover {
  background: var(--gold-dark);
}

.detail-add-button.multi-buy-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 17px;
  padding: 0 22px;
  border-radius: 7px;
  background: #2863e6;
  font-size: 16px;
}

.detail-add-button.multi-buy-button:hover {
  background: #1b50c9;
}

.product-promises {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: #404040;
  font-size: 14px;
  list-style: none;
}

.product-promises li::before {
  margin-right: 9px;
  color: #606060;
  content: "◎";
}

.product-meta-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.product-meta-tags a {
  text-decoration: underline;
}

.product-details-section {
  padding: 54px 0 38px;
  background: white;
}

.product-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto 45px;
}

.product-tabs button {
  position: relative;
  padding: 0 0 11px;
  background: transparent;
  color: #444;
  cursor: pointer;
  font-size: 18px;
}

.product-tabs button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.product-tabs button.is-active {
  color: var(--ink);
  font-weight: 600;
}

.product-tabs button.is-active::after {
  background: var(--gold);
}

.product-tabs button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 3px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #5d4620;
  font-size: 10px;
}

.product-tab-panels {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
}

.product-tab-panel[hidden] {
  display: none;
}

.description-panel h2 {
  margin: 0 0 17px;
  font-size: clamp(33px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.description-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.description-panel ul {
  margin: 0 0 34px;
  padding-left: 19px;
}

.description-panel li {
  margin: 7px 0;
  font-size: 16px;
}

.description-panel p {
  max-width: 980px;
  margin: 0 0 18px;
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.information-panel table {
  width: 100%;
  border-collapse: collapse;
}

.information-panel th,
.information-panel td {
  padding: 15px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.information-panel th {
  width: 230px;
  background: #f5f5f5;
  font-weight: 600;
}

.reviews-panel {
  padding: 35px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.related-section {
  width: min(calc(100% - 64px), var(--content));
  margin: 0 auto;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.related-section h2 {
  margin: 0 0 32px;
  font-size: 31px;
  font-weight: 600;
}

.product-grid--related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--related .product-card {
  min-width: 0;
}

@media (max-width: 900px) {
  .product-page {
    padding-bottom: 82px;
  }

  .single-product-section {
    padding-top: 12px;
  }

  .product-breadcrumbs {
    width: calc(100% - 28px);
    padding-bottom: 13px;
    font-size: 10px;
  }

  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    width: calc(100% - 28px);
    min-height: 0;
    padding-bottom: 40px;
  }

  .single-product-media {
    position: relative;
    top: auto;
    min-height: 0;
    aspect-ratio: 1 / 1.02;
  }

  .product-gallery {
    position: relative;
    top: auto;
  }

  .product-thumbnails button {
    width: 58px;
    height: 58px;
  }

  .single-product-info {
    padding-top: 0;
  }

  .single-product-info h1 {
    font-size: 32px;
  }

  .product-community {
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
  }

  .community-note {
    margin-left: 0;
    text-align: left;
  }

  .single-product-price {
    flex-wrap: wrap;
    font-size: 27px;
  }

  .price-verified {
    order: 4;
    width: fit-content;
    margin-left: 0;
  }

  .bundle-option {
    grid-template-columns: 18px 1fr;
    min-height: 118px;
    padding: 28px 15px 14px;
    border-radius: 12px;
  }

  .bundle-copy {
    align-self: start;
  }

  .bundle-copy strong {
    font-size: 18px;
  }

  .bundle-price {
    grid-column: 2;
    justify-items: start;
    padding-left: 0;
  }

  .bundle-price strong {
    font-size: 18px;
  }

  .bundle-ribbon {
    right: 10px;
  }

  .mobile-buy-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 75;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 7px 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    background: #191919;
    color: white;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-buy-bar.is-suppressed {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .mobile-buy-bar > span {
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-buy-bar > button {
    min-width: 124px;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 6px;
    background: #2863e6;
    color: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
  }

  .product-page .offer-bubble {
    display: none;
  }

  .product-page.no-scroll .mobile-buy-bar {
    display: none;
  }

  .multi-buy-button {
    min-height: 54px;
    font-size: 15px;
  }

  .product-details-section {
    padding-top: 36px;
  }

  .product-tabs {
    justify-content: flex-start;
    gap: 22px;
    width: calc(100% - 28px);
    margin-bottom: 30px;
    overflow-x: auto;
  }

  .product-tabs button {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .product-tab-panels {
    width: calc(100% - 28px);
  }

  .description-panel h2 {
    font-size: 30px;
  }

  .description-panel h3 {
    font-size: 21px;
  }

  .description-panel li,
  .description-panel p {
    font-size: 14px;
  }

  .information-panel th {
    width: 42%;
  }

  .related-section {
    width: calc(100% - 28px);
    padding-top: 46px;
  }

  .related-section h2 {
    font-size: 26px;
  }

  .product-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }
}
