/*
 * Single product page — visual layer.
 *
 * Loaded after woocommerce.css on product pages only.
 * Controls presentation exclusively: layout rhythm, typography,
 * spacing, cards, buttons and responsive behaviour. No markup,
 * section order or business logic is changed here.
 */

.single-product {
  --ags-gold: #c49564;
  --ags-gold-dark: #8d6235;
  --ags-gold-soft: #f5ede5;
  --ags-ink: #201600;
  --ags-body: #565049;
  --ags-muted: #6f6a63;
  --ags-line: #e8e2d9;
  --ags-line-soft: #efe9df;
  --ags-cream: #f8f4ee;
  --ags-radius: 10px;
}

/* ------------------------------------------------------------
 * Hero — gallery
 * ---------------------------------------------------------- */

/*
 * Let Swiper's adaptive-height mode follow the intrinsic ratio of the
 * active image. The clipping is owned by the carousel itself so arrows,
 * overlays and images always share one clean radius.
 */
.single-product #wpgs-gallery,
.single-product #wpgs-gallery .wcgs-carousel,
.single-product #wpgs-gallery .wcgs-carousel .spswiper-slide,
.single-product #wpgs-gallery .wcgs-carousel .wcgs-slider-image {
  min-height: 0;
}

.single-product #wpgs-gallery .wcgs-carousel {
  border-radius: 14px;
  overflow: hidden;
  background: var(--ags-cream);
  isolation: isolate;
}

.single-product #wpgs-gallery .wcgs-carousel .spswiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

.single-product #wpgs-gallery .wcgs-carousel .spswiper-slide,
.single-product #wpgs-gallery .wcgs-carousel .wcgs-slider-image {
  height: auto !important;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-slider-image-tag,
.single-product #wpgs-gallery .wcgs-carousel .spswiper-slide:first-child .wcgs-slider-image-tag {
  display: block;
  width: 100%;
  height: auto !important;
  border-radius: 14px;
  object-fit: contain !important;
}

@media screen and (min-width: 960px) {
  .single-product div.product #wpgs-gallery {
    grid-template-rows: auto;
    align-self: flex-start;
  }
}

.single-product #wpgs-gallery .gallery-navigation-carousel .wcgs-thumb {
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ags-cream);
}

.single-product #wpgs-gallery .gallery-navigation-carousel .wcgs-thumb img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid var(--ags-line) !important;
  border-radius: 8px;
  object-fit: cover;
  transition: border-color 0.25s ease;
}

.single-product #wpgs-gallery .gallery-navigation-carousel .wcgs-thumb.spswiper-slide-thumb-active img,
.single-product #wpgs-gallery .gallery-navigation-carousel .wcgs-thumb:hover img {
  border-color: var(--ags-ink) !important;
}

/* ------------------------------------------------------------
 * Hero — summary column
 * ---------------------------------------------------------- */

.single-product .product-details-wrapper .product_title {
  margin: 0 0 10px;
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: clamp(1.875rem, 2.8vw, 2.375rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.single-product .product-details-wrapper .product-subtitle {
  margin: 0 0 20px;
  color: var(--ags-gold-dark);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  line-height: 1.5;
  text-transform: uppercase;
}

.single-product .product-details-wrapper .product-size {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  width: fit-content;
  min-height: 32px;
  margin: 0 0 20px;
  padding: 8px 15px;
  border: 1px solid var(--ags-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ags-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper {
  min-height: 26px;
  margin: 0;
  padding: 0 0 22px;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .sku_wrapper {
  padding: 6px 13px;
  border: 1px solid var(--ags-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ags-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.single-product .product-details-wrapper .woocommerce-product-rating .star-rating {
  color: var(--ags-gold);
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .woocommerce-review-link {
  color: var(--ags-muted);
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .woocommerce-review-link:hover {
  color: var(--ags-gold-dark);
}

/* Lead description beside the gallery */
.single-product .ags-top-description,
.single-product .product-details-wrapper .woocommerce-product-details__short-description {
  margin: 0 0 4px;
  padding: 24px 0 26px;
  border-top: 1px solid var(--ags-line);
  border-bottom: 0;
  color: var(--ags-body);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.75;
}

.single-product .ags-top-description p:last-child {
  margin-bottom: 0;
}

.single-product .product-details-wrapper .woocommerce-product-details__short-description li {
  align-items: flex-start;
  margin-bottom: 6px;
}

/* Price, stock, delivery */
.single-product .product-details-wrapper .price {
  margin: 0 0 10px;
  padding-top: 22px;
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.single-product .product-details-wrapper .price del {
  color: var(--ags-muted);
  font-size: 1.0625rem;
  font-weight: 400;
}

.single-product .product-details-wrapper .stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.single-product .product-details-wrapper .stock::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.single-product .product-details-wrapper .product-delivery-notice {
  max-width: 480px;
  padding-top: 0;
  color: var(--ags-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

/* Buy buttons — uniform 12px rhythm, all controls 52px tall */
.single-product .product-details-wrapper .product-buttons-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 0;
  margin-top: 24px;
  padding: 0;
}

.single-product .product-details-wrapper .product-buttons-wrapper > .wlr-product-message {
  grid-column: 1 / -1;
  justify-self: start;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  width: 100%;
  margin: 0;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .quantity {
  display: flex;
  align-items: stretch;
  flex: 0 0 120px;
  width: 120px;
  height: 52px;
  overflow: hidden;
  border: 1px solid #dcd3c3;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.25s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .quantity input {
  flex: 1 1 auto;
  width: 42px;
  min-width: 0;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ags-ink);
  appearance: textfield;
  text-align: center;
  box-shadow: none;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .quantity input::-webkit-inner-spin-button,
.single-product .product-details-wrapper .product-buttons-wrapper .cart .quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .quantity:focus-within {
  border-color: var(--ags-gold);
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .ags-quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ags-ink);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .ags-quantity-button:hover:not(:disabled),
.single-product .product-details-wrapper .product-buttons-wrapper .cart .ags-quantity-button:focus-visible {
  background: var(--ags-gold-soft);
  color: var(--ags-gold-dark);
  outline: none;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .ags-quantity-button:disabled {
  color: #c9c3ba;
  cursor: default;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .single_add_to_cart_button {
  flex: 1 1 auto;
  width: auto;
  height: 52px;
  border-radius: 8px;
  background: var(--ags-ink);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.25s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .single_add_to_cart_button:hover {
  background: var(--ags-gold);
  color: #fff;
}

.single-product .product-details-wrapper .product-buttons-wrapper .cart .single_add_to_cart_button::before {
  display: none;
}

/* Installment-payment notice below the add-to-cart form. */
.single-product .product-details-wrapper .ags-product-installment-notice {
  grid-column: 1 / -1;
  display: grid;
  margin: 14px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--ags-line);
  color: var(--ags-ink);
  line-height: 1.3;
}

.single-product .product-details-wrapper .ags-product-installment-notice__title {
  color: var(--ags-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-product .product-details-wrapper .ags-product-installment-notice__brands {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.single-product .product-details-wrapper .ags-product-installment-notice__method {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.single-product .product-details-wrapper .ags-product-installment-notice__method + .ags-product-installment-notice__method {
  padding-left: 20px;
  border-left: 1px solid var(--ags-line);
}

.single-product .product-details-wrapper .ags-product-installment-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1f1f26;
  flex: 0 0 40px;
}

.single-product .product-details-wrapper .ags-product-installment-notice__brand {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.single-product .product-details-wrapper .ags-product-installment-notice__brand--mono {
  width: 26px;
  height: 26px;
}

.single-product .product-details-wrapper .ags-product-installment-notice__copy {
  display: grid;
  min-width: 0;
}

.single-product .product-details-wrapper .ags-product-installment-notice__copy strong {
  color: var(--ags-ink);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.single-product .product-details-wrapper .ags-product-installment-notice__copy small {
  margin-top: 2px;
  color: var(--ags-muted);
  font-size: 0.625rem;
  line-height: 1.2;
}

.single-product .product-details-wrapper .ags-product-installment-notice__note {
  margin-top: 8px;
  color: var(--ags-muted);
  font-size: 0.625rem;
  line-height: 1.4;
}

@media (max-width: 540px) {
  .single-product .product-details-wrapper .ags-product-installment-notice {
    margin-top: 12px;
    padding-top: 12px;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__brands {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__method + .ags-product-installment-notice__method {
    padding-left: 0;
    border-left: 0;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__brand {
    width: 24px;
    height: 24px;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__brand--mono {
    width: 23px;
    height: 23px;
  }

  .single-product .product-details-wrapper .ags-product-installment-notice__copy strong {
    font-size: 0.6875rem;
  }
}

/* Ghost actions: buy in 1 click, consultation — full-width rows,
   same height, radius and rhythm as the primary button */
.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  grid-column: 1 / -1;
  width: 100%;
  height: 52px;
  margin: 12px 0 0;
  padding: 10px 20px;
  border: 1px solid #dcd3c3;
  border-radius: 8px;
  background: #fff;
  color: var(--ags-ink);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-fast-buy:hover,
.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-consultation:hover {
  border-color: var(--ags-gold);
  background: #fbf7f0;
  color: var(--ags-gold-dark);
}

.single-product .product-details-wrapper .uk-payment-info {
  color: var(--ags-muted);
  font-size: 0.8125rem !important;
}

/* Wishlist circle (top right of the summary) */
.single-product .product-details-wrapper .product-buttons-wrapper .yith-wcwl-add-to-wishlist .single_add_to_wishlist,
.single-product .product-details-wrapper .product-buttons-wrapper .yith-wcwl-add-to-wishlist.exists {
  border: 1px solid var(--ags-line);
  background: #fff;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .yith-wcwl-add-to-wishlist:hover .single_add_to_wishlist,
.single-product .product-details-wrapper .product-buttons-wrapper .yith-wcwl-add-to-wishlist.exists:hover {
  border-color: var(--ags-gold);
  background: #fbf7f0;
}

.ags-product-traits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding: 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ags-product-trait {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  color: var(--ags-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.ags-product-trait .ags-product-trait__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

/*
 * Compact summary rhythm. Keep these selectors more specific than the
 * legacy WooCommerce layer so spacing remains deterministic.
 */
.single-product div.product .product-details-wrapper .product_title {
  margin-bottom: 8px;
}

.single-product div.product .product-details-wrapper .product-subtitle {
  margin-bottom: 14px;
}

.single-product div.product .product-details-wrapper .product-size {
  margin-bottom: 14px;
}

.single-product div.product .product-details-wrapper .product-sku-rating-wrapper {
  min-height: 0;
  padding-bottom: 16px;
}

.single-product div.product .product-details-wrapper .ags-top-description,
.single-product div.product .product-details-wrapper .woocommerce-product-details__short-description {
  margin-bottom: 0;
  padding-top: 18px;
  padding-bottom: 20px;
  line-height: 1.65;
}

.single-product div.product .product-details-wrapper .price {
  margin-bottom: 8px;
  padding-top: 0;
}

.single-product div.product .product-details-wrapper .stock {
  margin-bottom: 8px;
}

.single-product div.product .product-details-wrapper .product-buttons-wrapper {
  margin-top: 18px;
}

.single-product div.product .product-details-wrapper .ags-product-traits {
  padding-top: 22px;
}

@media screen and (min-width: 960px) {
  .single-product div.product .product-details-wrapper .summary {
    display: flex;
    align-self: stretch;
    flex-direction: column;
  }
}

/* ------------------------------------------------------------
 * Marketing content below the hero
 * ---------------------------------------------------------- */

.ags-marketing-product {
  margin-top: 0;
  color: var(--ags-ink);
}

/* Shared section heading */
.ags-key-ingredients h2,
.ags-product-faq h2 {
  margin: 0 0 clamp(38px, 4.5vw, 54px);
  color: var(--ags-ink);
  font-family: "TanPearl", serif;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
}

/* Details accordions */
.ags-product-details {
  border-top: 0;
}

.ags-detail {
  border-bottom: 1px solid var(--ags-line);
}

.ags-detail__toggle {
  display: flex;
  width: 100%;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  color: var(--ags-ink);
  cursor: pointer;
  font: inherit;
  font-family: "Neue Haas Unica", sans-serif;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  letter-spacing: 0.01em;
  text-align: left;
  transition: color 0.25s ease;
}

.ags-detail__toggle:hover {
  color: var(--ags-gold-dark);
}

.ags-detail__chevron {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin: 0;
  border: 0;
  background: transparent;
  transform: rotate(0deg);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease;
}

.ags-detail__chevron::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translate(-50%, -65%) rotate(45deg);
  transition: border-color 0.25s ease;
}

.ags-detail.is-open .ags-detail__chevron {
  color: var(--ags-gold-dark);
  transform: rotate(180deg);
}

.ags-detail.is-open .ags-detail__chevron::before {
  border-color: currentColor;
}

.ags-detail__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  will-change: grid-template-rows, opacity;
  transition:
    grid-template-rows 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    visibility 0s linear 0.42s;
}

.ags-detail.is-open .ags-detail__panel {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.ags-detail__content {
  min-height: 0;
  max-width: 740px;
  overflow: hidden;
  padding: 0 0 0 20px;
  color: var(--ags-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  transition: padding-bottom 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.ags-detail.is-open .ags-detail__content {
  padding-bottom: 36px;
}

.ags-detail__content > :first-child {
  margin-top: 0;
}

.ags-detail__content > :last-child {
  margin-bottom: 0;
}

.ags-detail__content ul,
.ags-detail__content ol {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.ags-detail__content ol {
  counter-reset: ags-detail-list;
}

.ags-detail__content li {
  position: relative;
  margin-bottom: 0.35em;
}

.ags-detail__content ul > li::before,
.ags-detail__content ol > li::before {
  position: absolute;
  right: calc(100% + 9px);
  color: var(--ags-gold-dark);
}

.ags-detail__content ul > li::before {
  content: "•";
}

.ags-detail__content ol > li {
  counter-increment: ags-detail-list;
}

.ags-detail__content ol > li::before {
  content: counter(ags-detail-list) ".";
}

@media (prefers-reduced-motion: reduce) {
  .ags-detail__chevron,
  .ags-detail__panel,
  .ags-detail__content {
    transition-duration: 0.01ms;
  }
}

/* Service benefits — full-bleed cream band */
.ags-product-service-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 60px);
  width: 100vw;
  margin: clamp(56px, 7vw, 96px) 0 0 calc(50% - 50vw);
  padding: clamp(60px, 7vw, 92px) max(24px, calc(50vw - 590px));
  border-top: 1px solid var(--ags-line-soft);
  border-bottom: 1px solid var(--ags-line-soft);
  background: var(--ags-cream);
}

.ags-product-service-benefit {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.ags-product-service-benefit img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.ags-product-service-benefit strong {
  max-width: 280px;
  color: #3a342c;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* Key ingredients */
.ags-key-ingredients {
  margin-top: clamp(60px, 7.5vw, 104px);
  padding: 0;
}

.ags-key-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ags-key-ingredient {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid #e9e1d3;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ags-key-ingredient:hover {
  border-color: #d8c4a2;
  box-shadow: 0 16px 34px rgba(32, 22, 0, 0.08);
  transform: translateY(-3px);
}

.ags-key-ingredient h3 {
  margin: 0 0 10px;
  color: var(--ags-ink);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.ags-key-ingredient p {
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.ags-key-ingredient img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.ags-key-ingredient__mark {
  color: var(--ags-gold);
  font-size: 42px;
  line-height: 1;
  text-align: center;
}

/* Quality claims — inset cream checklist */
.ags-product-claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 40px;
  margin-top: 20px;
  padding: clamp(28px, 3.5vw, 42px) clamp(24px, 4vw, 48px);
  border: 0;
  border-radius: 12px;
  background: var(--ags-cream);
  color: var(--ags-body);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
}

.ags-product-claims div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ags-product-claims span {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--ags-gold);
  color: #fff;
  font-size: 10px;
}

/* FAQ — calm narrow column */
.ags-product-faq {
  max-width: 860px;
  margin: clamp(64px, 8vw, 110px) auto 0;
  padding: 0;
  border-top: 0;
  background: transparent;
}

.ags-product-faq__items {
  border-top: 1px solid var(--ags-line);
}

/* ------------------------------------------------------------
 * Upsell / related headings (keep site-wide card styles)
 * ---------------------------------------------------------- */

.single-product .up-sells {
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: clamp(56px, 6.5vw, 92px);
  border-top: 1px solid var(--ags-line);
}

.single-product .up-sells > h2,
.single-product .related > h2,
.related-products-wrapper h2 {
  color: var(--ags-ink);
  font-family: "TanPearl", serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
}

.single-product .up-sells > h2 {
  margin: 0 0 clamp(30px, 4vw, 44px);
}

.related-products-wrapper {
  margin-top: clamp(56px, 7vw, 96px);
}

@media (min-width: 960px) {
  .single-product .up-sells ul.products {
    justify-content: center;
  }
}

/* ------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------- */

@media (max-width: 959px) {
  .ags-product-traits {
    margin-top: 30px;
  }

  .ags-product-service-benefits {
    margin-top: clamp(48px, 8vw, 72px);
  }
}

@media (max-width: 900px) {
  .ags-key-ingredients__grid {
    grid-template-columns: 1fr;
  }

  .ags-product-claims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ags-product-service-benefits {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px max(24px, 12%);
  }

  .ags-product-service-benefit strong {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .ags-product-traits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
    padding: 24px 0 0;
  }

  .ags-key-ingredient {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 18px;
    padding: 24px 20px;
  }

  .ags-key-ingredient img {
    width: 48px;
    height: 48px;
  }

  .ags-key-ingredient__mark {
    font-size: 34px;
  }

  .ags-product-claims {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .single-product .product-details-wrapper .product_title {
    font-size: 1.75rem;
  }

  .single-product .product-details-wrapper .price {
    font-size: 1.75rem;
  }

  .ags-detail__toggle {
    padding: 18px 0;
    font-size: 1.0625rem;
  }

  .ags-detail__content {
    padding: 0 0 0 16px;
    font-size: 0.875rem;
  }

  .ags-detail.is-open .ags-detail__content {
    padding-bottom: 28px;
  }

  .ags-product-faq {
    margin-top: 64px;
  }

}
