/*
 * Single product page — visual layer, in the header's language: Neue Haas Unica, brand ink
 * and gold, hairlines, white photo tiles with 14px corners, round 44px icon buttons, the gold
 * tracked-capitals button.
 *
 * 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: #a97b4b;
  --ags-gold-soft: #f5ede5;
  --ags-ink: #201600;
  --ags-body: #565049;
  --ags-muted: #6f6a63;
  --ags-line: #e3ded6;
  --ags-line-soft: #ece7df;
  --ags-cream: #f4f6f5;
  --ags-border: #dcd3c3;
  --ags-radius: 14px;
  --ags-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------
 * 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: 1px solid var(--ags-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

/* The plugin hides the gallery behind a spinner until its script runs, and the speed plugin holds
   scripts back until the first tap: show the photos (already laid out, the first one in view) from
   the start. The thumbnails wait for the script (they are not laid out before it). Its spinner still covers the variation photo swaps (the gallery is visible by then). */
.single-product #wpgs-gallery:not(.wcgs-visible) .wcgs-carousel {
  opacity: 1;
  visibility: visible;
}

.single-product #wpgs-gallery:not(.wcgs-visible) .wcgs-gallery-preloader {
  display: none;
}

/* Arrows and the zoom button: round, white, a hairline, the ink chevron (the plugin's own
   inline rules use #wpgs-gallery, so these are more specific). */
.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev,
.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin-top: -22px;
  border: 1px solid var(--ags-line);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--ags-ink);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-prev {
  left: 12px;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow.wcgs-spswiper-button-next {
  right: 12px;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow::before {
  color: inherit;
  font-size: 12px;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow:hover {
  border-color: var(--ags-ink);
  background-color: var(--ags-ink);
  color: #fff;
}

.single-product #wpgs-gallery .wcgs-carousel .wcgs-spswiper-arrow:hover::before {
  color: #fff;
}

.single-product #wpgs-gallery .wcgs-lightbox .sp_wgs-lightbox {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ags-line);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--ags-ink);
  font-size: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.single-product #wpgs-gallery .wcgs-lightbox .sp_wgs-lightbox:hover {
  border-color: var(--ags-ink);
  background-color: var(--ags-ink);
  color: #fff;
}

.single-product #wpgs-gallery .spswiper-pagination .spswiper-pagination-bullet {
  background-color: var(--ags-line);
}

.single-product #wpgs-gallery .spswiper-pagination .spswiper-pagination-bullet.spswiper-pagination-bullet-active {
  background-color: var(--ags-ink);
}

.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;
}

/* Side by side, the gallery rides down just below the sticky header while the summary has room. */
@media screen and (min-width: 960px) {
  .single-product div.product #wpgs-gallery {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ags-header-h, 128px) + 24px);
    grid-template-rows: auto;
    align-self: flex-start;
  }
}

.single-product #wpgs-gallery .gallery-navigation-carousel .wcgs-thumb {
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.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: 10px !important;
  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
 * ---------------------------------------------------------- */

/*
 * Head of the summary: title with the wishlist circle level with its first line, the subtitle,
 * then one meta row (inc/woocommerce-single.php): size chip, rating, SKU at the far end.
 * The title's size and line height are variables so the circle can be centred on that line.
 */
.single-product .product-details-wrapper .summary {
  --ags-title-size: clamp(1.875rem, 2.8vw, 2.375rem);
  --ags-title-lh: 1.15;
  --ags-wish-size: 44px;
}

.single-product .product-details-wrapper .product_title {
  margin: 0 0 6px;
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: var(--ags-title-size);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: var(--ags-title-lh);
}

.single-product .product-details-wrapper .product-subtitle {
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.single-product .product-details-wrapper .product-subtitle p {
  margin: 0;
}

.single-product .product-details-wrapper .product-sale-text {
  margin-top: 12px;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-height: 0;
  margin: 20px 0 0;
  padding: 0 0 22px;
}

.single-product .product-details-wrapper .product-size {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 30px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid var(--ags-line);
  border-radius: 999px;
  color: var(--ags-ink);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.single-product .product-details-wrapper .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.single-product .product-details-wrapper .woocommerce-product-rating .star-rating {
  float: none;
  margin: 0;
  color: var(--ags-gold);
  font-size: 0.875rem;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .woocommerce-review-link {
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.8125rem;
  line-height: 1;
  text-decoration: underline;
  text-decoration-color: var(--ags-line);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .woocommerce-review-link:hover {
  color: var(--ags-ink);
  text-decoration-color: currentColor;
}

/* SKU: quiet reference text, pushed to the end of the row. */
.single-product .product-details-wrapper .product-sku-rating-wrapper .sku_wrapper {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ags-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.single-product .product-details-wrapper .product-sku-rating-wrapper .sku {
  color: var(--ags-ink);
}

/* 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;
}

/*
 * Benefit list: one column, a thin gold check before each item.
 * Text pasted from editors brings inline colours and weights; they are evened out here,
 * and items typed in lower case start with a capital.
 */
.single-product .product-details-wrapper .woocommerce-product-details__short-description ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .product-details-wrapper .woocommerce-product-details__short-description li {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 26px;
  color: var(--ags-body);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.single-product .product-details-wrapper .woocommerce-product-details__short-description li::first-letter {
  text-transform: uppercase;
}

.single-product .product-details-wrapper .woocommerce-product-details__short-description li::before {
  position: absolute;
  top: calc(0.75em - 8px);
  left: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  background: var(--ags-gold);
  content: "";
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ph/check.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ph/check.svg') center / contain no-repeat;
}

.single-product .product-details-wrapper .woocommerce-product-details__short-description li * {
  color: inherit !important;
  font-weight: inherit !important;
}

/* Price, stock, bonuses */
.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: 400;
  letter-spacing: -0.015em;
  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;
}

/* The dot sits in a 15px column so the text lines up with the benefit list above. */
.single-product .product-details-wrapper .stock::before {
  display: inline-block;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

/* 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;
}

/*
 * Price row (inc/woocommerce-single.php): price and stock status on the left, the bonuses
 * this purchase earns on the right, centred on both — "+63 бонуси" and the club link under it.
 */
.single-product div.product .product-details-wrapper .product-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 0 8px;
}

.single-product div.product .product-details-wrapper .product-price-row .price {
  margin: 0;
  padding: 0;
}

.single-product div.product .product-details-wrapper .product-price-row .stock {
  margin: 0;
}

.single-product .product-bonus {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

.single-product .product-bonus__points::before {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  background: var(--ags-gold);
  content: "";
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ph/gift.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ph/gift.svg') center / contain no-repeat;
}

.single-product .product-bonus__points {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ags-ink);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.single-product .product-bonus__link {
  color: var(--ags-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: var(--ags-line);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.single-product a.product-bonus__link:hover {
  color: var(--ags-ink);
  text-decoration-color: currentColor;
}

.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 var(--ags-border);
  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-ink);
}

.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-cream);
  color: var(--ags-ink);
  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-gold);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 400;
  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-dark);
  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: 50%;
  background: var(--ags-ink);
  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;
  }
}

/*
 * Secondary actions (buy in 1 click, consultation): one row of two quiet outlined buttons
 * right under the add to cart row, line icons in the text colour; on phones one under the
 * other. The instalment notice and discount table move below them.
 */
.single-product .product-details-wrapper .product-buttons-wrapper > .ags-product-installment-notice {
  order: 2;
}

.single-product .product-details-wrapper .product-buttons-wrapper > .wdp_bulk_table_content {
  order: 3;
}

.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 1;
  gap: 8px;
  grid-column: auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 12px 0 0;
  padding: 0 14px;
  border: 1px solid var(--ags-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-button::before {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
}

.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-fast-buy::before {
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ph/lightning.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ph/lightning.svg') center / contain no-repeat;
}

.single-product .product-details-wrapper .product-buttons-wrapper .woo-product-consultation::before {
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ph/chat-circle-dots.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ph/chat-circle-dots.svg') center / contain no-repeat;
}

.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-ink);
  background: var(--ags-cream);
  color: var(--ags-ink);
}

@media (max-width: 600px) {
  .single-product .product-details-wrapper .product-buttons-wrapper .woo-product-button {
    grid-column: 1 / -1;
    margin-top: 10px;
  }
}

/*
 * Wishlist circle (top right of the summary; css/wishlist.css), centred on the title's first line.
 * As on the product cards: a borderless circle, ink outline heart, gold filled once saved;
 * on white it sits on a porcelain tint instead of the cards' frosted white.
 */
.single-product .product-details-wrapper .summary .ags-wishlist-btn--single {
  top: calc(4px + var(--ags-title-size) * var(--ags-title-lh) / 2 - var(--ags-wish-size) / 2);
  width: var(--ags-wish-size);
  height: var(--ags-wish-size);
  border: 0;
  background: var(--ags-cream);
}

@media (hover: hover) {
  .single-product .product-details-wrapper .summary .ags-wishlist-btn--single:hover {
    background: #eceeed;
  }
}

.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: 6px;
}

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

.single-product div.product .product-details-wrapper .product-sku-rating-wrapper {
  padding-bottom: 22px;
}

.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: as on the home page */
.ags-key-ingredients h2 {
  margin: 0 0 clamp(28px, 3vw, 44px);
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-align: left;
}

/* 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: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ph/caret-down.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ph/caret-down.svg') center / contain no-repeat;
  content: "";
  transform: translate(-50%, -50%);
}

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



.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;
}

/* ------------------------------------------------------------
 * "For best results": upsells, then related (inc/woocommerce-single.php)
 * ---------------------------------------------------------- */

.single-product .related {
  margin-top: clamp(64px, 8vw, 112px);
  padding: 0 0 clamp(56px, 5.6vw, 80px); /* bottom: as the catalog before the footer */
  border-top: 0;
}

.single-product .related ul.products {
  max-width: none;
}

/* ------------------------------------------------------------
 * 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 .summary {
    --ags-title-size: 1.75rem;
  }

  .single-product .product-details-wrapper .product-sku-rating-wrapper {
    margin-top: 16px;
    padding-bottom: 20px;
  }
}

/* Narrow phones: the SKU may drop to its own line, so it starts there instead of hanging right. */
@media (max-width: 400px) {
  .single-product .product-details-wrapper .product-sku-rating-wrapper .sku_wrapper {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .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;
  }

}

/* ------------------------------------------------------------
 * The header's language below the summary (2026-11): the benefits band, the tabs,
 * the FAQ.
 * ---------------------------------------------------------- */

/* Benefits band: a quiet field in the footer's tint, so the tabs' line is the only rule here */
.single-product .product-advantages-wrapper {
  margin-top: 0; /* the summary's own bottom padding is the gap */
  border: 0;
  background: var(--ags-cream);
}

.single-product .product-advantages {
  gap: 24px;
  padding: 18px 24px;
}

.single-product .product-advantages__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.single-product .product-advantages__img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
}

.single-product .product-advantages__img .ags-icon {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ags-ink);
}

/* An uploaded icon (a text with no icon of its own) is a gold bitmap: drawn in ink here. */
.single-product .product-advantages__img img {
  filter: brightness(0) saturate(100%) invert(7%) sepia(40%) saturate(1200%) hue-rotate(20deg);
}

.single-product .product-advantages__text {
  color: var(--ags-ink);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
}

.single-product .product-advantages__text br {
  display: none;
}

/* Tabs: the header menu's small tracked capitals, a gold line under the open one */
.single-product .woocommerce-tabs {
  padding-top: clamp(48px, 6vw, 80px);
}

/* The section after the tabs (FAQ, «for best results») sets the gap on its own */
.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs .wc-tab {
  padding-bottom: 0;
}

.single-product .woocommerce-tabs ul.tabs {
  gap: 36px;
  border-bottom: 1px solid var(--ags-line);
}

.single-product .woocommerce-tabs ul.tabs li a {
  position: relative;
  padding: 0 0 16px;
  color: var(--ags-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transition: color 0.2s;
}

.single-product .woocommerce-tabs ul.tabs li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--ags-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ags-ease);
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 0;
  color: var(--ags-ink);
}

.single-product .woocommerce-tabs ul.tabs li.active a::after,
.single-product .woocommerce-tabs ul.tabs li a:hover::after {
  transform: scaleX(1);
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--ags-ink);
}

/* Every section heading on the page: Light, one scale, left-aligned (as .pd-title) */
.single-product .woocommerce-tabs .panel h2:first-of-type,
.single-product .woocommerce-Reviews .woocommerce-Reviews-title,
.single-product .related > h2,
.single-product .ags-product-faq h2 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: var(--ags-ink);
  font-family: "Neue Haas Unica", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
}

/* The plain tabs (how to use, ingredients): a readable measure, the description's type */
.single-product .woocommerce-Tabs-panel--method_tab,
.single-product .woocommerce-Tabs-panel--ingredients {
  max-width: 760px;
  color: var(--ags-ink);
  font-size: 17px;
  line-height: 1.7;
}

.single-product .woocommerce-Tabs-panel--ingredients {
  max-width: 880px;
  color: var(--ags-body);
  font-size: 15px;
  line-height: 1.8;
}

.single-product .woocommerce-Tabs-panel--method_tab p,
.single-product .woocommerce-Tabs-panel--ingredients p {
  margin: 0 0 1em;
}


@media (max-width: 1100px) {
  .single-product .product-advantages {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  /* One line that scrolls sideways (css/rail.css), edge to edge */
  .single-product .product-advantages {
    flex-direction: row;
    justify-content: flex-start;
    gap: 28px;
    padding: 14px 16px;
  }

  .single-product .product-advantages__item {
    flex: 0 0 auto;
    gap: 10px;
    white-space: nowrap;
  }

  .single-product .product-advantages__img {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .single-product .product-advantages__text {
    font-size: 13px;
  }

  .single-product .woocommerce-tabs ul.tabs {
    gap: 24px;
  }
}

/* ------------------------------------------------------------
 * Reviews (woocommerce/single-product-reviews.php): the summary on the left, sticky
 * below the header; reviews as hairline-separated rows with an initial; the form in
 * the site's fields and the gold button.
 * ---------------------------------------------------------- */

.single-product .ags-reviews {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
  color: var(--ags-body);
  font-family: "Neue Haas Unica", sans-serif;
}

.single-product .ags-reviews__summary {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ags-header-h, 128px) + 24px);
  display: grid;
  gap: 22px;
}

/* The heading keeps the tab panels' size (.woocommerce-Reviews-title above); only the gap goes. */
.single-product .ags-reviews .ags-reviews__title {
  margin: 0;
}

.single-product .ags-reviews__score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.single-product .ags-reviews__average {
  color: var(--ags-ink);
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.single-product .ags-reviews__score .star-rating {
  float: none;
  margin: 0 0 6px;
  color: var(--ags-gold);
  font-size: 1rem;
}

.single-product .ags-reviews__count,
.single-product .ags-reviews__empty {
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.single-product .ags-reviews__bars {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .ags-reviews__bar {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.75rem;
  line-height: 1;
}

.single-product .ags-reviews__bar-count {
  text-align: right;
}

.single-product .ags-reviews__bar-track {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: var(--ags-line-soft);
}

.single-product .ags-reviews__bar-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ags-gold);
}

.single-product .ags-reviews__write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ags-ink);
  border-radius: 8px;
  color: var(--ags-ink);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.single-product .ags-reviews__write:hover {
  background: var(--ags-ink);
  color: #fff;
}

/* Review rows */
.single-product .ags-reviews .commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .ags-reviews .commentlist li {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--ags-line);
}

.single-product .ags-reviews .commentlist li:first-child {
  padding-top: 0;
}

.single-product .ags-reviews .comment_container {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
}

.single-product .ags-review__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ags-cream);
  color: var(--ags-ink);
  font-size: 1rem;
  line-height: 1;
}

.single-product .ags-reviews .comment-text {
  display: grid;
  grid-template-areas: "meta rating" "desc desc";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.single-product .ags-reviews .comment-text .star-rating {
  grid-area: rating;
  float: none;
  margin: 0;
  color: var(--ags-gold);
  font-size: 0.8125rem;
}

.single-product .ags-reviews .comment-text .meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  grid-area: meta;
  gap: 4px 12px;
  margin: 0;
  color: var(--ags-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.single-product .ags-reviews .woocommerce-review__author {
  color: var(--ags-ink);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: capitalize;
}

/* Ukrainian month names come capitalised ("13 Травня 2024"). */
.single-product .ags-reviews .woocommerce-review__published-date {
  text-transform: lowercase;
}

.single-product .ags-reviews .woocommerce-review__verified {
  color: var(--ags-gold-dark);
  font-style: normal;
}

.single-product .ags-reviews .comment-text .description {
  grid-area: desc;
  color: var(--ags-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.single-product .ags-reviews .comment-text .description p {
  margin: 0 0 8px;
}

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

/* A reply (the store's, as a rule) sits under the review it answers: indented to the text, on a
   quiet field, a smaller avatar; not a review of its own. */
.single-product .ags-reviews .commentlist .children {
  margin: 18px 0 0 60px;
  padding: 0;
  list-style: none;
}

.single-product .ags-reviews .commentlist .children li,
.single-product .ags-reviews .commentlist .children li:first-child {
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--ags-cream);
}

.single-product .ags-reviews .commentlist .children li + li {
  margin-top: 8px;
}

.single-product .ags-reviews .children .comment_container {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
}

.single-product .ags-reviews .children .ags-review__avatar {
  width: 32px;
  height: 32px;
  background: #fff;
  font-size: 0.8125rem;
}

.single-product .ags-reviews .children .comment-text {
  gap: 6px 16px;
}

.single-product .ags-review__avatar--shop {
  position: relative;
}

.single-product .ags-review__avatar--shop::before {
  position: absolute;
  inset: 22%;
  background: var(--ags-gold);
  -webkit-mask: url('/wp-content/themes/agskindermo/css/../img/ag-mark.svg') center / contain no-repeat;
  mask: url('/wp-content/themes/agskindermo/css/../img/ag-mark.svg') center / contain no-repeat;
  content: "";
}

@media (max-width: 767px) {
  .single-product .ags-reviews .commentlist .children {
    margin-left: 0;
  }
}

.single-product .ags-reviews .woocommerce-pagination {
  margin-top: 24px;
}

/* Form */
.single-product .ags-reviews #review_form_wrapper {
  margin-top: 40px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--ags-radius);
  background: var(--ags-cream);
}

.single-product .ags-reviews .comment-respond {
  margin: 0;
}

.single-product .ags-reviews .comment-reply-title {
  display: block;
  margin: 0 0 6px;
  text-align: left;
  color: var(--ags-ink);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.single-product .ags-reviews .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0;
}

.single-product .ags-reviews .comment-form > * {
  grid-column: 1 / -1;
  float: none;
  width: auto;
  margin: 0;
}

.single-product .ags-reviews .comment-form > .comment-form-author {
  grid-column: 1;
}

.single-product .ags-reviews .comment-form > .comment-form-email {
  grid-column: 2;
}

.single-product .ags-reviews .comment-notes {
  color: var(--ags-muted);
  font-size: 0.8125rem;
}

.single-product .ags-reviews .comment-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--ags-ink);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.single-product .ags-reviews .comment-form .required {
  color: var(--ags-gold-dark);
}

.single-product .ags-reviews .comment-form p.stars {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.single-product .ags-reviews .comment-form p.stars a {
  margin-right: 6px;
}

.single-product .ags-reviews .comment-form .form-submit {
  margin: 4px 0 0;
}

.single-product .ags-reviews .comment-form .form-submit .submit {
  height: 52px;
  padding: 0 36px;
  border: 0;
  border-radius: 8px;
  background: var(--ags-gold);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.single-product .ags-reviews .comment-form .form-submit .submit:hover {
  background: var(--ags-gold-dark);
}

@media (max-width: 899px) {
  .single-product .ags-reviews {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-product .ags-reviews__summary {
    position: static;
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .single-product .ags-reviews .comment_container {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .single-product .ags-review__avatar {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .single-product .ags-reviews .comment-text {
    grid-template-areas: "meta" "rating" "desc";
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .single-product .ags-reviews .comment-text .description {
    margin-top: 4px;
  }

  .single-product .ags-reviews .comment-form > .comment-form-author,
  .single-product .ags-reviews .comment-form > .comment-form-email {
    grid-column: 1 / -1;
  }

  .single-product .ags-reviews .comment-form .form-submit .submit {
    width: 100%;
  }
}
