.kf-pdp {
  padding-top: 26px;
  padding-bottom: 60px;
}

.kf-pdp__breadcrumb {
  font: 300 13px/1 var(--kf-font-sans);
  color: var(--kf-text-muted-2);
  margin-bottom: 16px;
}

.kf-pdp__breadcrumb a {
  color: var(--kf-text-muted-2);
}

.kf-pdp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.kf-pdp__gallery .woocommerce-product-gallery {
  position: relative;
}

.kf-pdp__gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
  padding: 0;
}

.kf-pdp__gallery .woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: var(--kf-radius-card);
  object-fit: cover;
}

.kf-pdp__gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.kf-pdp__gallery .flex-control-thumbs li {
  list-style: none;
  flex: 1;
}

.kf-pdp__gallery .flex-control-thumbs img {
  border-radius: var(--kf-radius-card);
  cursor: pointer;
  opacity: .6;
}

.kf-pdp__gallery .flex-control-thumbs img.flex-active {
  opacity: 1;
}

.kf-pdp__summary {
  border-top: 1px solid var(--kf-border-3);
  padding-top: 26px;
}

.kf-pdp__title {
  font: 300 34px/1.05 var(--kf-font-serif);
  margin-top: 10px;
}

.kf-pdp__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 16px;
  font: 300 26px/1 var(--kf-font-serif);
}

.kf-pdp__price .woocommerce-Price-amount {
  font-family: var(--kf-font-serif);
}

.kf-pdp__tax-note {
  font: 300 13px/1 var(--kf-font-sans);
  color: var(--kf-text-muted-2);
}

.kf-pdp__excerpt {
  font: 300 15px/1.7 var(--kf-font-sans);
  color: var(--kf-text-muted);
  margin-top: 20px;
}

.kf-pdp__excerpt p {
  margin: 0;
}

/* Variations */
.kf-variations {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kf-variations__label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.kf-variations__label {
  font: 500 11px/1 var(--kf-font-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.kf-variations__reset {
  font: 300 12px/1 var(--kf-font-sans);
  color: var(--kf-bronze);
  border-bottom: 1px solid #E0D9C6;
}

.kf-variations__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kf-variations__pills .kf-size-pill {
  flex: none;
  min-width: 56px;
  padding: 14px 12px;
}

.kf-single-variation-wrap .woocommerce-variation-price {
  margin: 10px 0;
}

/*
 * WooCommerce's core stylesheet targets these buttons with `.button.alt`
 * (background #7f54b3, the default WC purple) wrapped in a zero-specificity
 * `:where()` guard — but the visible part of that selector still has 3
 * classes + 1 element, which beats a plain 2-class override. We match that
 * specificity (and add !important as a safety net against future core CSS
 * changes) so the brand color always wins here.
 */
.kf-pdp form.cart .single_add_to_cart_button.button,
.kf-pdp .kf-single-variation-wrap .single_add_to_cart_button.button {
  font: 500 12px/1 var(--kf-font-sans) !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--kf-ink) !important;
  color: var(--kf-cream) !important;
  border: 0 !important;
  border-radius: var(--kf-radius-pill) !important;
  padding: 18px 0 !important;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  box-shadow: none !important;
  text-shadow: none !important;
}

.kf-pdp form.cart .single_add_to_cart_button.button:hover,
.kf-pdp .kf-single-variation-wrap .single_add_to_cart_button.button:hover {
  background: var(--kf-bronze) !important;
  color: var(--kf-cream) !important;
}

.kf-pdp form.cart .single_add_to_cart_button.button.disabled,
.kf-pdp form.cart .single_add_to_cart_button.button:disabled,
.kf-pdp .kf-single-variation-wrap .single_add_to_cart_button.button.disabled,
.kf-pdp .kf-single-variation-wrap .single_add_to_cart_button.button:disabled {
  background: var(--kf-border) !important;
  color: var(--kf-text-muted-2) !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

form.cart .quantity {
  display: none;
}

/* Accordion */
.kf-pdp__accordion {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
}

.kf-accordion {
  border-top: 1px solid var(--kf-border-3);
}

.kf-accordion:last-child {
  border-bottom: 1px solid var(--kf-border-3);
}

.kf-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 400 14px/1 var(--kf-font-sans);
}

.kf-accordion summary::-webkit-details-marker {
  display: none;
}

.kf-accordion__glyph {
  font: 300 18px/1 var(--kf-font-sans);
  color: var(--kf-text-muted-2);
}

.kf-accordion__body {
  padding: 0 0 20px;
  font: 300 14px/1.7 var(--kf-font-sans);
  color: var(--kf-text-muted);
}

/* WhatsApp */
.kf-pdp__whatsapp {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font: 300 13px/1 var(--kf-font-sans);
  color: var(--kf-text-muted);
}

.kf-whatsapp-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--kf-whatsapp);
  display: block;
  flex: none;
}

.kf-pdp__whatsapp a {
  color: var(--kf-ink);
  border-bottom: 1px solid var(--kf-border);
}

@media (min-width: 1024px) {
  .kf-pdp {
    padding-top: 50px;
    padding-bottom: 90px;
  }

  .kf-pdp__grid {
    grid-template-columns: 1fr 480px;
    gap: 0;
  }

  .kf-pdp__gallery {
    padding-right: 40px;
  }

  .kf-pdp__summary {
    border-top: 0;
    border-left: 1px solid var(--kf-border-3);
    padding: 0 0 0 40px;
    align-self: start;
    position: sticky;
    top: calc(var(--kf-header-height) + 24px);
  }

  .kf-pdp__title {
    font-size: 52px;
  }
}
