/* -------------------------------------------------------------------------
   WooCommerce product gallery – square thumbs, no stretch (crop overflow)
   ------------------------------------------------------------------------- */
.woocommerce div.product div.images .flex-control-thumbs,
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 72px !important;
  height: 72px !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.woocommerce div.product div.images .flex-control-thumbs li img,
.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* Elementor WooCommerce widget gallery thumbs (if used) */
.elementor-widget-woocommerce-product-images .flex-control-thumbs li {
  width: 72px !important;
  height: 72px !important;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.elementor-widget-woocommerce-product-images .flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.amb-pt {
  color: var(--amb-navy);
  font-family: var(--amb-font-display);
  max-width: var(--amb-content-max, 1400px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--amb-content-pad, 1.25rem);
  padding-right: var(--amb-content-pad, 1.25rem);
  box-sizing: border-box;
}

.amb-pt__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.amb-pt__gallery-main {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.amb-pt__gallery-main-img {
  display: block;
  width: 100%;
  height: auto;
}

.amb-pt__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.amb-pt__thumb {
  border: 1px solid #d9d2c6;
  background: #fff;
  padding: 0 !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px;
  min-height: 72px;
  aspect-ratio: 1 / 1;
  flex: 0 0 72px;
  cursor: pointer;
  overflow: hidden;
  display: block !important;
  position: relative;
  line-height: 0;
  box-sizing: border-box;
}

.amb-pt__thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.amb-pt__thumb:focus-visible,
.amb-pt__thumb:hover,
.amb-pt__thumb.is-active {
  border-color: var(--amb-gold);
}

.amb-pt__eyebrow {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amb-red);
}

.amb-pt__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

.amb-pt__excerpt {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--amb-muted);
}

.amb-pt__excerpt p {
  margin: 0 0 1rem;
}

.amb-pt__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.25rem 0;
}

.amb-pt__price-label {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--amb-muted);
}

.amb-pt__price {
  font-size: 1.75rem;
  font-weight: 600;
}

.amb-pt__cart .quantity,
.amb-pt__cart .single_add_to_cart_button {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.amb-pt__cart .single_add_to_cart_button,
.amb-pt__cart button.button {
  background: var(--amb-red) !important;
  border-color: var(--amb-red) !important;
  color: #fff !important;
  border-radius: 2px !important;
  padding: 0.85rem 1.4rem !important;
}

.amb-pt__highlights {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.amb-pt__highlight {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.amb-pt__highlight-icon {
  color: var(--amb-gold);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amb-pt__highlight-icon svg,
.amb-pt__highlight-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.amb-pt__expressions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid #e6dfd3;
}

.amb-pt__section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  font-weight: 500;
}

.amb-pt__section-text {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--amb-muted);
  line-height: 1.6;
}

.amb-pt__expressions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.amb-pt__expression {
  text-align: center;
}

.amb-pt__expression-media {
  margin: 0 0 0.85rem;
}

.amb-pt__expression-media img {
  max-width: 100%;
  height: auto;
}

.amb-pt__expression-name {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.amb-pt__expression-sub {
  margin: 0 0 0.5rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--amb-red);
}

.amb-pt__expression-desc {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--amb-muted);
  line-height: 1.5;
}

.amb-pt__impact {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 1.5rem;
  background: var(--amb-cream);
  margin: 1rem 0 2.5rem;
}

.amb-pt__impact-photo,
.amb-pt__impact-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.amb-pt__text-link {
  color: var(--amb-red);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-decoration: none;
  font-weight: 600;
}

.amb-pt__text-link:hover {
  text-decoration: underline;
}

.amb-pt__steps {
  padding: 1rem 0 3rem;
}

.amb-pt__steps-eyebrow {
  margin: 0 0 1.25rem;
  text-align: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--amb-gold);
}

.amb-pt__steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.amb-pt__step {
  text-align: center;
  padding: 0 0.75rem;
  border-right: 1px solid #e6dfd3;
}

.amb-pt__step:last-child {
  border-right: 0;
}

.amb-pt__step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--amb-red);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.amb-pt__step-title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.amb-pt__step-text {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--amb-muted);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .amb-pt__hero,
  .amb-pt__expressions,
  .amb-pt__impact {
    grid-template-columns: 1fr;
  }

  .amb-pt__expressions-grid,
  .amb-pt__steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .amb-pt__step {
    border-right: 0;
    border-bottom: 1px solid #e6dfd3;
    padding-bottom: 1rem;
  }
}

@media (max-width: 560px) {
  .amb-pt__expressions-grid,
  .amb-pt__steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Collection CTA under product */
.amb-pt__collection-cta {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--amb-cream, #fdf7f0);
  border: 1px solid rgba(3, 32, 70, 0.08);
  border-radius: var(--amb-radius, 2px);
}

.amb-pt__collection-cta-eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--amb-font-body, system-ui, sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amb-red, #c35e3e);
}

.amb-pt__collection-cta-title {
  margin: 0 0 0.65rem;
  font-family: var(--amb-font-display, Georgia, serif);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--amb-navy, #032046);
}

.amb-pt__collection-cta-text {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  font-family: var(--amb-font-body, system-ui, sans-serif);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--amb-navy, #032046);
  opacity: 0.85;
}

body.theme-hello-elementor .amb-pt__collection-cta-btn,
.amb-pt__collection-cta-btn {
  border-radius: 999px !important;
  background: var(--amb-blue, #335da4) !important;
  border-color: var(--amb-blue, #335da4) !important;
  color: #fff !important;
  padding-left: 1.4rem !important;
  padding-right: 1.4rem !important;
}

body.theme-hello-elementor .amb-pt__collection-cta-btn:hover,
.amb-pt__collection-cta-btn:hover {
  background: var(--amb-navy, #032046) !important;
  border-color: var(--amb-navy, #032046) !important;
  color: #fff !important;
}
