/**
 * Amari — product gallery + clean typography/field polish across ALL product pages.
 * Uses natural aspect + object-fit:contain on a soft warm background (#faf7f2) so
 * portrait/landscape blessing prints never crop Hebrew text or spacers. No grey box.
 * Rollback: dequeue 'amari-gallery'.
 */
.single-product .woocommerce-product-gallery .product-gallery-slider{
  border-radius:16px;
  overflow:hidden;
  background:#faf7f2;
  box-shadow:0 10px 30px rgba(26,20,16,.10), 0 2px 6px rgba(26,20,16,.06);
}
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a{
  display:block;
  background:#faf7f2;
}
.single-product .woocommerce-product-gallery__image img{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
  border-radius:16px;
}
/* Desktop stacked gallery: give every photo card the rounded 16px frame + shadow */
@media (min-width:850px){
  .single-product .product-gallery-stacked .woocommerce-product-gallery__image{
    border-radius:16px;
    overflow:hidden;
    margin-bottom:18px;
    box-shadow:0 10px 30px rgba(26,20,16,.10), 0 2px 6px rgba(26,20,16,.06);
  }
  .single-product .product-gallery-stacked{
    box-shadow:none !important;
    background:transparent !important;
    overflow:visible !important;
  }
}
/* Thumbnails */
.single-product .product-thumbnails .col a,
.single-product .product-thumbnails img{border-radius:10px;overflow:hidden}
.single-product .product-thumbnails .col a{display:block;background:#faf7f2;box-shadow:0 2px 8px rgba(26,20,16,.08)}
.single-product .product-thumbnails img{aspect-ratio:1 / 1;object-fit:cover;height:auto}
.single-product .product-thumbnails .is-nav-selected a{box-shadow:0 0 0 2px #8d6b32, 0 2px 8px rgba(26,20,16,.10)}

/* Class (d) & (c): Keep the family-name / personalization TM EPO field prominent & clean */
.single-product form.cart .cpf-type-textfield{
  background:#faf4e8;
  border:1.5px solid rgba(196,161,90,.55);
  border-radius:8px;
  padding:12px 14px;
  margin:0 0 14px;
}
.single-product form.cart .cpf-type-textfield .tm-epo-element-label{
  font-family:"Noto Sans Hebrew",sans-serif;
  font-size:14px;
  font-weight:700;
  color:#1a1410;
  margin-bottom:8px;
}
.single-product form.cart .cpf-type-textfield input.tmcp-textfield{
  font-family:"Noto Sans Hebrew",sans-serif;
  font-size:15px;
  min-height:42px;
  padding:8px 12px;
  border:1.5px solid rgba(26,20,16,.22);
  border-radius:6px;
  background:#fff;
  color:#1a1410;
  width:100%;
  box-shadow:none;
}
.single-product form.cart .cpf-type-textfield input.tmcp-textfield:focus{
  border-color:#8d6b32;
  outline:none;
  box-shadow:0 0 0 2px rgba(196,161,90,.28);
}

.single-product .tm-extra-product-options ul,
.single-product .tm-extra-product-options li,
.single-product form.cart .cpf-type-textfield ul,
.single-product form.cart .cpf-type-textfield li{
  list-style:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
.single-product form.cart .cpf-type-textfield .tc-price-wrap{
  display:none !important;
}
