/**
 * Boutique Judaica PDP 2.0, Slide-Out Cart Drawer, Sticky Mobile Purchase Bar,
 * Personalization Cards, and Guide Product Showcases.
 * Strictly zero gradients, RTL logical properties, >=14px mobile / >=15px desktop.
 */

/* ==========================================================================
   1. PDP Layout, Spacing & RTL Alignment Discipline
   ========================================================================== */

body.single-product .elementor-location-single > .e-con,
body.single-product .elementor-element-be04811 {
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding-inline: 20px !important;
  padding-block: 18px 28px !important;
  gap: 36px !important;
  align-items: flex-start !important;
}

html:has(body.single-product),
body.single-product {
  overflow-x: clip;
}

body.single-product .elementor-element-234377b,
body.single-product .elementor-element-26a6193,
body.single-product .woocommerce-product-gallery {
  text-align: start !important;
  align-items: stretch !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip;
}

/* Breadcrumbs: compact, calm, single-line scrollable on mobile */
body.single-product .woocommerce-breadcrumb {
  font-size: 13.5px !important;
  color: var(--ytz-muted, #60717b) !important;
  margin-block: 0 10px !important;
  line-height: 1.45 !important;
  text-align: start !important;
}
body.single-product .woocommerce-breadcrumb a {
  color: var(--ytz-muted, #60717b) !important;
  text-decoration: none !important;
}
body.single-product .woocommerce-breadcrumb a:hover {
  color: var(--ytz-ink, #102f4b) !important;
  text-decoration: underline !important;
}

/* Warm Parchment Boutique Gallery Frame (safe with Flexslider multi-slide track!) */
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
  background-color: var(--ytz-parchment, #faf7f2) !important;
  border: 1px solid var(--ytz-parchment-border, #eae2d3) !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  max-height: none !important;
}

body.single-product .woocommerce-product-gallery__image {
  position: relative !important;
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery img.wp-post-image {
  border-radius: 10px !important;
}

body.single-product ol.flex-control-thumbs li img {
  background-color: var(--ytz-parchment, #faf7f2) !important;
  border: 1.5px solid var(--ytz-parchment-border, #eae2d3) !important;
  border-radius: 10px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  opacity: 0.82 !important;
}

body.single-product ol.flex-control-thumbs li img:hover,
body.single-product ol.flex-control-thumbs li img.flex-active {
  opacity: 1 !important;
  border-color: var(--ytz-gold, #c4932c) !important;
  box-shadow: 0 0 0 1px var(--ytz-gold, #c4932c) !important;
}

/* ==========================================================================
   2. Product Title, Boutique Kicker Bar & Price Hierarchy
   ========================================================================== */

body.single-product h1.product_title,
body.single-product .elementor-widget-woocommerce-product-title .product_title {
  font-size: 29px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--ytz-ink, #102f4b) !important;
  text-align: start !important;
  margin-block: 0 8px !important;
}

/* Hide legacy raw English supplier subtitle if cached anywhere */
body.single-product .bee1-xls-en-subtitle,
body.single-product .product_title + p[dir="ltr"] {
  display: none !important;
}

.ytz-pdp-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 6px 12px;
}

.ytz-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.ytz-kicker-pill--stock {
  background-color: var(--ytz-emerald-soft, #eef8f3);
  color: var(--ytz-emerald, #1c7c54);
  border: 1px solid #cce8da;
}

.ytz-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ytz-emerald, #1c7c54);
  display: inline-block;
}

.ytz-kicker-pill--out {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.ytz-kicker-pill--tag {
  background-color: var(--ytz-gold-soft, #fbf6eb);
  color: #7c5812;
  border: 1px solid var(--ytz-gold-border, #e6d5b0);
}

.ytz-kicker-pill--freeship {
  background-color: var(--ytz-emerald-soft, #eef8f3);
  color: var(--ytz-emerald, #1c7c54);
  border: 1px solid #a7dfC2;
  font-weight: 700;
}

.ytz-kicker-sku {
  font-size: 13.5px;
  color: var(--ytz-muted, #60717b);
  margin-inline-start: auto;
}

/* Price Block: right-aligned, authoritative Royal Navy + Savings Pill */
body.single-product .elementor-widget-woocommerce-product-price,
body.single-product .elementor-widget-woocommerce-product-price .elementor-widget-container,
body.single-product div.product p.price {
  text-align: start !important;
}

body.single-product div.product p.price,
body.single-product .elementor-widget-woocommerce-product-price .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px 10px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--ytz-ink, #102f4b) !important;
  margin-block: 0 6px !important;
  line-height: 1.25 !important;
}

body.single-product div.product p.price ins,
body.single-product .elementor-widget-woocommerce-product-price .price ins {
  color: var(--ytz-ink, #102f4b) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  background: transparent !important;
  order: 1;
}

body.single-product div.product p.price del,
body.single-product .elementor-widget-woocommerce-product-price .price del {
  color: var(--ytz-muted, #60717b) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  order: 2;
}

.bee1-ytz-savings-pill {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 999px;
  background-color: var(--ytz-gold-soft, #fbf6eb);
  border: 1px solid var(--ytz-gold-border, #e6d5b0);
  color: #8a6110;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.single-product .bee1-ytz-installments {
  order: 10;
  flex-basis: 100%;
  width: 100% !important;
  box-sizing: border-box;
  margin-block: 4px 2px !important;
  padding: 8px 12px !important;
  background-color: var(--ytz-parchment, #faf7f2) !important;
  border: 1px solid var(--ytz-parchment-border, #eae2d3) !important;
  border-inline-start: 3px solid var(--ytz-gold, #c4932c) !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  color: var(--ytz-ink, #102f4b) !important;
}

/* ==========================================================================
   3. Add-to-Cart Form, Quantity Stepper, Royal Navy CTA & Quick-Buy Button
   ========================================================================== */

body.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin-block: 8px 10px !important;
  width: 100% !important;
}

body.single-product form.cart.variations_form .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
}

body.single-product form.cart.variations_form > *,
body.single-product form.cart .ytz-personalize-box,
body.single-product form.cart .ytz-halachic-seal,
body.single-product form.cart .wapf-wrapper,
body.single-product form.cart table.group_table {
  flex: 1 1 100%;
  width: 100%;
}

/* Quantity box */
body.single-product form.cart :is(.quantity, .qib-button-wrapper) {
  display: inline-flex !important;
  align-items: center !important;
  height: 52px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  border: 1.5px solid var(--ytz-rule, #dfe5e8) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  overflow: hidden;
}

body.single-product form.cart .qib-button {
  width: 38px !important;
  height: 50px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ytz-ink, #102f4b) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
}

body.single-product form.cart input.qty {
  width: 44px !important;
  height: 50px !important;
  border: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--ytz-ink, #102f4b) !important;
  text-align: center !important;
  background: transparent !important;
}

/* Primary Add to Cart Button — Royal Navy + Gold bottom accent */
body.single-product form.cart button.single_add_to_cart_button {
  flex: 1 1 180px !important;
  min-height: 52px !important;
  padding: 12px 22px !important;
  background-color: var(--ytz-ink, #102f4b) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--ytz-ink, #102f4b) !important;
  border-bottom: 3px solid var(--ytz-gold, #c4932c) !important;
  border-radius: 10px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.1px;
  cursor: pointer !important;
  transition: background-color 0.18s ease, transform 0.15s ease !important;
  box-shadow: 0 4px 12px rgba(16, 47, 75, 0.14) !important;
}

body.single-product form.cart button.single_add_to_cart_button:hover:not(.disabled) {
  background-color: var(--ytz-ink-deep, #0b2238) !important;
  border-color: var(--ytz-ink-deep, #0b2238) !important;
  border-bottom-color: var(--ytz-gold, #c4932c) !important;
  color: #ffffff !important;
}

body.single-product form.cart button.single_add_to_cart_button.is-loading {
  opacity: 0.75 !important;
  pointer-events: none;
}

/* Quick-Buy ("קנייה מהירה") Secondary Button */
body.single-product form.cart button.ytz-buy-now-btn {
  flex: 0 1 auto !important;
  min-height: 52px !important;
  padding: 12px 18px !important;
  background-color: var(--ytz-gold-soft, #fbf6eb) !important;
  color: var(--ytz-ink, #102f4b) !important;
  border: 1.5px solid var(--ytz-gold, #c4932c) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background-color 0.18s ease, color 0.18s ease !important;
}

body.single-product form.cart button.ytz-buy-now-btn:hover {
  background-color: var(--ytz-gold, #c4932c) !important;
  color: #ffffff !important;
}

/* Inline validation alert inside form.cart */
.ytz-pdp-inline-error {
  flex: 1 1 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 14.5px;
  font-weight: 600;
}

/* ==========================================================================
   4. Personalization Boxes (Kippot & Embroidery) + Halachic Seal + WAPF
   ========================================================================== */

.ytz-personalize-box {
  background-color: var(--ytz-parchment, #faf7f2);
  border: 1.5px solid var(--ytz-gold-border, #e6d5b0);
  border-radius: 12px;
  padding: 14px 16px;
  margin-block: 4px 10px;
  box-sizing: border-box;
}

.ytz-personalize-box__label {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ytz-ink, #102f4b);
  margin-block-end: 8px;
}

.ytz-personalize-box__opt {
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ytz-muted, #60717b);
}

.ytz-personalize-box__input {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: var(--ytz-ink, #102f4b) !important;
  font-family: inherit !important;
}

.ytz-personalize-box__input:focus {
  outline: none !important;
  border-color: var(--ytz-ink, #102f4b) !important;
  box-shadow: 0 0 0 2px rgba(16, 47, 75, 0.12) !important;
}

.ytz-personalize-box__hint {
  margin-block-start: 6px;
  font-size: 13.5px;
  color: var(--ytz-muted, #60717b);
  line-height: 1.45;
}

/* Prestigious Halachic Certification Seal for Scrolls & Tefillin */
.ytz-halachic-seal {
  background-color: var(--ytz-gold-soft, #fbf6eb);
  border: 1.5px solid var(--ytz-gold, #c4932c);
  border-radius: 12px;
  padding: 14px 16px;
  margin-block: 4px 10px;
}

.ytz-halachic-seal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ytz-ink, #102f4b);
  font-size: 16px;
  margin-block-end: 8px;
}

.ytz-halachic-seal__list {
  margin: 0 !important;
  padding-inline-start: 20px !important;
  color: var(--ytz-ink, #102f4b);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Harmonize WAPF Tying Radios with Royal Navy & Gold */
body.single-product .wapf-radios .wapf-input-label:hover {
  border-color: var(--ytz-ink, #102f4b) !important;
  background-color: var(--ytz-parchment, #faf7f2) !important;
}
body.single-product .wapf-radios .wapf-checked .wapf-input-label,
body.single-product .wapf-radios .wapf-input-label:focus-within {
  border-color: var(--ytz-ink, #102f4b) !important;
  background-color: var(--ytz-gold-soft, #fbf6eb) !important;
  box-shadow: inset 0 0 0 1px var(--ytz-ink, #102f4b) !important;
}
body.single-product .wapf-radios input[type="radio"] {
  accent-color: var(--ytz-ink, #102f4b) !important;
}
body.single-product .wapf-radios .wapf-pricing-hint,
body.single-product .wapf .wapf-pricing-hint {
  color: #8a6110 !important;
}

/* ==========================================================================
   5. Contextual WhatsApp CTA & 4-Tile Boutique Trust Strip
   ========================================================================== */

.ytz-pdp-post-cta {
  margin-block: 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ytz-pdp-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1.5px solid #1f8a5b;
  color: #166542 !important;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.ytz-pdp-wa-btn:hover {
  background-color: #eef8f3;
  color: #0f4c31 !important;
}

.ytz-pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ytz-pdp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  background-color: var(--ytz-parchment, #faf7f2);
  border: 1px solid var(--ytz-parchment-border, #eae2d3);
  border-radius: 10px;
}

.ytz-pdp-trust-icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1px solid var(--ytz-gold-border, #e6d5b0);
  color: var(--ytz-gold, #c4932c);
  display: grid;
  place-items: center;
}

.ytz-pdp-trust-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ytz-pdp-trust-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ytz-pdp-trust-copy strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ytz-ink, #102f4b);
  line-height: 1.3;
}

.ytz-pdp-trust-copy span {
  font-size: 13.5px;
  color: var(--ytz-muted, #60717b);
  line-height: 1.35;
}

/* Short Description (now positioned cleanly below buy-box & companions) */
body.single-product .woocommerce-product-details__short-description {
  margin-block: 6px 12px !important;
  padding: 14px 16px;
  background-color: #ffffff;
  border: 1px solid var(--ytz-rule, #dfe5e8);
  border-radius: 12px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ytz-ink, #102f4b);
}

body.single-product .woocommerce-product-details__short-description p:last-child,
body.single-product .bee1-ytz-excerpt-bullets {
  margin-block-end: 0 !important;
}

/* Accordions: clean borders & Royal Navy headers */
body.single-product .e-n-accordion-item-title {
  background-color: #ffffff !important;
  border: 1px solid var(--ytz-rule, #dfe5e8) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  color: var(--ytz-ink, #102f4b) !important;
  font-weight: 700 !important;
}

body.single-product .e-n-accordion-item[open] > .e-n-accordion-item-title {
  background-color: var(--ytz-parchment, #faf7f2) !important;
  border-color: var(--ytz-gold-border, #e6d5b0) !important;
}

/* De-collide redundant floating WhatsApp bubble & lift accessibility icon on PDP */
body.single-product div#footer_link_wrapper {
  display: none !important;
}

body.single-product #pojo-a11y-toolbar {
  top: 44% !important;
  bottom: auto !important;
}

/* ==========================================================================
   6. Boutique Slide-Out Mini-Cart Drawer (#ytz-cart-drawer)
   ========================================================================== */

.ytz-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
}

.ytz-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.ytz-drawer__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 34, 56, 0.52);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.ytz-drawer.is-open .ytz-drawer__backdrop {
  opacity: 1;
}

.ytz-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0; /* Slides from left on RTL Hebrew screens */
  width: min(410px, 92vw);
  background-color: #ffffff;
  box-shadow: 0 12px 40px rgba(16, 47, 75, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not([dir="rtl"]) .ytz-drawer__panel {
  transform: translateX(100%);
}

.ytz-drawer.is-open .ytz-drawer__panel {
  transform: translateX(0);
}

.ytz-drawer-fragment {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100dvh;
  font-family: var(--ytz-font, 'Assistant', sans-serif);
}

.ytz-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--ytz-ink, #102f4b);
  color: #ffffff;
  border-bottom: 3px solid var(--ytz-gold, #c4932c);
}

.ytz-drawer__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.ytz-drawer__badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 999px;
  background-color: var(--ytz-gold, #c4932c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.ytz-drawer__close {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  width: 36px;
  height: 36px;
  border-radius: 8px !important;
  font-size: 24px !important;
  line-height: 1 !important;
  padding: 0 !important;
  cursor: pointer;
}

.ytz-drawer__shipbar,
.ytz-drawer__shipnote {
  padding: 10px 18px;
  background-color: var(--ytz-parchment, #faf7f2);
  border-bottom: 1px solid var(--ytz-parchment-border, #eae2d3);
  font-size: 14px;
  color: var(--ytz-ink, #102f4b);
}

.ytz-drawer__shipbar p {
  margin: 0 0 6px !important;
  font-size: 14px;
}

.ytz-drawer__shipbar p.is-unlocked {
  color: var(--ytz-emerald, #1c7c54);
  font-weight: 700;
}

.ytz-drawer__progress {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.ytz-drawer__progress span {
  display: block;
  height: 100%;
  background-color: var(--ytz-emerald, #1c7c54);
  transition: width 0.3s ease;
}

.ytz-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 14px;
  color: var(--ytz-muted, #60717b);
  font-size: 16px;
}

.ytz-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ytz-drawer__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ytz-rule, #dfe5e8);
}

.ytz-drawer__thumb img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background-color: var(--ytz-parchment, #faf7f2);
  border: 1px solid var(--ytz-parchment-border, #eae2d3);
  border-radius: 8px;
  display: block;
}

.ytz-drawer__info {
  flex: 1;
  min-width: 0;
}

.ytz-drawer__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ytz-ink, #102f4b) !important;
  text-decoration: none !important;
  line-height: 1.35;
  margin-bottom: 4px;
}

.ytz-drawer__meta dl.variation {
  margin: 0 0 4px !important;
  font-size: 13px;
  color: var(--ytz-muted, #60717b);
}
.ytz-drawer__meta dl.variation dt,
.ytz-drawer__meta dl.variation dd {
  display: inline;
  margin: 0 0 0 4px !important;
}
.ytz-drawer__meta dl.variation dd p {
  display: inline;
  margin: 0 !important;
}

.ytz-drawer__qty-price {
  font-size: 14.5px;
  color: var(--ytz-ink, #102f4b);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ytz-drawer__remove {
  background: #f8fafc !important;
  border: 1px solid var(--ytz-rule, #dfe5e8) !important;
  color: var(--ytz-muted, #60717b) !important;
  width: 28px;
  height: 28px;
  border-radius: 6px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  padding: 0 !important;
  cursor: pointer;
}
.ytz-drawer__remove:hover {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

.ytz-drawer__footer {
  padding: 16px 20px 20px;
  background-color: #ffffff;
  border-top: 1px solid var(--ytz-rule, #dfe5e8);
  box-shadow: 0 -4px 16px rgba(16, 47, 75, 0.06);
}

.ytz-drawer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 17px;
  color: var(--ytz-ink, #102f4b);
  margin-bottom: 12px;
}

.ytz-drawer__subtotal strong {
  font-size: 21px;
  font-weight: 800;
}

.ytz-drawer__checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  background-color: var(--ytz-ink, #102f4b) !important;
  border-bottom: 3px solid var(--ytz-gold, #c4932c);
  color: #ffffff !important;
  font-size: 17.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.18s ease;
}

.ytz-drawer__checkout-btn:hover {
  background-color: var(--ytz-ink-deep, #0b2238) !important;
  color: #ffffff !important;
}

.ytz-drawer__sublinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 14px;
}

.ytz-drawer__sublinks a,
.ytz-drawer__sublinks button {
  background: transparent !important;
  border: 0 !important;
  padding: 4px 0 !important;
  color: var(--ytz-muted, #60717b) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  cursor: pointer;
}

/* ==========================================================================
   7. Sticky Mobile Bottom Purchase Bar (#ytz-sticky-atc) & Mobile Viewport Fit
   ========================================================================== */

.ytz-sticky-atc {
  display: none;
}

@media (max-width: 767px) {
  body.single-product {
    padding-bottom: 76px !important;
  }

  body.single-product .elementor-element-be04811 {
    padding-inline: 14px !important;
    padding-block: 10px 20px !important;
    gap: 14px !important;
  }

  /* Compact gallery on mobile so Title + Price + CTA appear on Screen 1 without breaking Flexslider! */
  body.single-product .woocommerce-product-gallery .flex-viewport,
  body.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
    max-height: 300px !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-height: 298px !important;
  }

  body.single-product .woocommerce-product-gallery__image img,
  body.single-product .woocommerce-product-gallery img.wp-post-image {
    max-height: 286px !important;
    width: auto !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    object-fit: contain !important;
  }

  body.single-product img.zoomImg {
    display: none !important;
    pointer-events: none !important;
  }

  body.single-product ol.flex-control-thumbs li {
    width: 54px !important;
    flex: 0 0 54px !important;
  }

  body.single-product h1.product_title,
  body.single-product .elementor-widget-woocommerce-product-title .product_title {
    font-size: 22.5px !important;
    line-height: 1.3 !important;
    margin-block-end: 4px !important;
  }

  .ytz-pdp-kicker {
    margin-block: 4px 8px;
    gap: 6px;
  }
  .ytz-kicker-pill {
    font-size: 13.5px;
    padding: 3px 9px;
  }

  body.single-product div.product p.price,
  body.single-product .elementor-widget-woocommerce-product-price .price {
    font-size: 25px !important;
    gap: 6px 8px !important;
  }

  body.single-product form.cart button.single_add_to_cart_button {
    flex: 1 1 140px !important;
    min-height: 48px !important;
    font-size: 16px !important;
    padding: 10px 14px !important;
  }

  body.single-product form.cart :is(.quantity, .qib-button-wrapper) {
    height: 48px !important;
  }

  body.single-product form.cart button.ytz-buy-now-btn {
    flex: 1 1 100% !important;
    min-height: 46px !important;
    font-size: 15.5px !important;
  }

  .ytz-pdp-trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ytz-pdp-trust-item {
    padding: 9px 10px;
    gap: 8px;
  }

  .ytz-pdp-trust-icon {
    flex: 0 0 30px;
    height: 30px;
  }

  .ytz-pdp-trust-copy strong {
    font-size: 14px;
  }

  .ytz-pdp-trust-copy span {
    font-size: 13px;
  }

  /* Sticky Bottom Bar */
  .ytz-sticky-atc {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background-color: #ffffff;
    border-top: 2px solid var(--ytz-gold-border, #e6d5b0);
    box-shadow: 0 -6px 20px rgba(16, 47, 75, 0.14);
    transform: translateY(110%);
    transition: transform 0.24s ease;
  }

  .ytz-sticky-atc.is-visible {
    transform: translateY(0);
  }

  .ytz-sticky-atc__thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--ytz-parchment, #faf7f2);
    border: 1px solid var(--ytz-parchment-border, #eae2d3);
    flex-shrink: 0;
  }

  .ytz-sticky-atc__info {
    flex: 1;
    min-width: 0;
  }

  .ytz-sticky-atc__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ytz-ink, #102f4b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ytz-sticky-atc__price {
    font-size: 16px;
    font-weight: 800;
    color: var(--ytz-ink, #102f4b);
  }
  .ytz-sticky-atc__price del {
    font-size: 13px;
    font-weight: 400;
    color: var(--ytz-muted, #60717b);
    margin-inline-end: 4px;
  }
  .ytz-sticky-atc__price ins {
    text-decoration: none;
  }
  .ytz-sticky-atc__price .bee1-ytz-savings-pill {
    display: none;
  }

  .ytz-sticky-atc__btn.button {
    flex: 0 0 auto;
    min-height: 44px !important;
    padding: 10px 18px !important;
    border-radius: 9px !important;
    background-color: var(--ytz-ink, #102f4b) !important;
    border-bottom: 2px solid var(--ytz-gold, #c4932c) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap;
  }
}

/* ==========================================================================
   8. Shoppable Guide Product Showcase (.ytz-guide-showcase)
   ========================================================================== */

.ytz-guide-showcase {
  margin-block: 36px 24px;
  padding: 24px;
  background-color: var(--ytz-parchment, #faf7f2);
  border: 1px solid var(--ytz-parchment-border, #eae2d3);
  border-radius: 16px;
}

.ytz-guide-showcase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 18px;
}

.ytz-guide-showcase__head h3 {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--ytz-ink, #102f4b) !important;
}

.ytz-guide-showcase__all {
  font-size: 15px;
  font-weight: 700;
  color: var(--ytz-ink, #102f4b) !important;
  text-decoration: underline !important;
}

.ytz-guide-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 767px) {
  .ytz-guide-showcase {
    padding: 16px;
  }
  .ytz-guide-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.ytz-guide-card {
  background-color: #ffffff;
  border: 1px solid var(--ytz-rule, #dfe5e8);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ytz-guide-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: var(--ytz-parchment, #faf7f2);
  border-radius: 8px;
  display: block;
}

.ytz-guide-card__title {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.ytz-guide-card__title a {
  color: var(--ytz-ink, #102f4b) !important;
  text-decoration: none !important;
}

.ytz-guide-card__price {
  margin-block-start: auto;
  font-size: 17px;
  font-weight: 800;
  color: var(--ytz-ink, #102f4b);
}
.ytz-guide-card__price del {
  font-size: 14px;
  font-weight: 400;
  color: var(--ytz-muted, #60717b);
}
.ytz-guide-card__price ins {
  text-decoration: none;
}

.ytz-guide-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background-color: var(--ytz-ink, #102f4b);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
}

/* 1.7.14 — embroidery letter counter (inc/embroidery-pricing.php) */
.ytz-personalize-box__counter{display:inline-block;margin-top:8px;padding:6px 12px;border-radius:10px;background:#eaf7fd;color:var(--ytz-ink,#102f4b);font-weight:700;font-size:15px}
.ytz-personalize-box__counter[hidden]{display:none}

/* ==========================================================================
   1.7.29 — Complementary PDP Cross-Sell Strip ("השלימו את הסט" — xpass.co.il pattern)
   ========================================================================== */
.ytz-complete {
  width: 100%;
  margin-block: 12px 32px;
  padding: 24px;
  background-color: var(--ytz-parchment, #faf7f2);
  border: 1px solid var(--ytz-parchment-border, #eae2d3);
  border-block-start: 3px solid var(--ytz-ink, #102f4b);
  direction: rtl;
  box-sizing: border-box;
  font-family: YtzadikHeebo, Heebo, Arial, sans-serif;
}

.ytz-complete__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 18px;
  margin-block-end: 18px;
}

.ytz-complete__title {
  margin: 0 !important;
  font-family: YtzadikHeebo, Heebo, Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--ytz-ink, #102f4b) !important;
  line-height: 1.25 !important;
}

.ytz-complete__all {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ytz-blue, #007ca5) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.ytz-complete__all:hover,
.ytz-complete__all:focus-visible {
  text-decoration: underline !important;
}

.ytz-complete__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ytz-complete__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--ytz-paper, #ffffff);
  border: 1px solid var(--ytz-rule, #dfe5e8);
  padding: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ytz-complete__card:hover {
  border-color: var(--ytz-ink, #102f4b);
  box-shadow: 0 6px 18px rgba(16, 47, 75, 0.08);
}

.ytz-complete__link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit !important;
  flex: 1;
}

.ytz-complete__role {
  align-self: flex-start;
  display: inline-block;
  margin-block-end: 10px;
  padding-block: 3px;
  padding-inline: 9px;
  background-color: var(--ytz-ink, #102f4b);
  color: #ffffff;
  border-inline-start: 3px solid var(--ytz-gold, #c4932c);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

.ytz-complete__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin-block-end: 12px;
  overflow: hidden;
  background-color: var(--ytz-media, #f6f7f7);
}

.ytz-complete__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
  transition: transform 0.2s ease;
}

.ytz-complete__card:hover .ytz-complete__media img {
  transform: scale(1.03);
}

.ytz-complete__name {
  margin: 0 0 8px !important;
  font-family: YtzadikHeebo, Heebo, Arial, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: var(--ytz-ink, #102f4b) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.ytz-complete__price {
  margin-block-start: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ytz-ink, #102f4b);
}

.ytz-complete__price del {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ytz-muted, #60717b);
}

.ytz-complete__price ins {
  text-decoration: none;
  color: #b42318;
}

.ytz-complete__cat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 12px;
  padding: 7px 12px;
  border: 1px solid var(--ytz-rule, #dfe5e8);
  background-color: var(--ytz-paper, #ffffff);
  color: var(--ytz-blue, #007ca5) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ytz-complete__cat-link:hover,
.ytz-complete__cat-link:focus-visible {
  background-color: var(--ytz-ink, #102f4b);
  border-color: var(--ytz-ink, #102f4b);
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .ytz-complete__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ytz-complete {
    padding: 16px 14px;
    margin-block: 8px 24px;
  }
  .ytz-complete__title {
    font-size: 20px !important;
  }
  .ytz-complete__grid {
    gap: 10px;
  }
  .ytz-complete__card {
    padding: 10px;
  }
  .ytz-complete__role {
    font-size: 11.5px;
    padding-inline: 7px;
  }
  .ytz-complete__name {
    font-size: 14px !important;
  }
  .ytz-complete__price {
    font-size: 15px;
  }
}
