/* ORIGO reference product card — uses the catalog image as-is. */
/* This component owns its layout. The repeated scope ID deliberately outranks
   legacy appearance rules, including rules loaded after this stylesheet. */
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card {
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  border:1px solid #e9e4e5!important;border-radius:18px!important;
  background:#fff!important;box-shadow:0 6px 22px #21141812!important;
  padding:8px!important;overflow:hidden!important;transform:none!important;
}
html body #storefront-main#storefront-main#storefront-main#storefront-main #home .home-product-row-track {
  display:flex!important;gap:18px!important;padding:6px 4px 14px!important;align-items:stretch!important;
}
html body #storefront-main#storefront-main#storefront-main#storefront-main #home .home-product-row-track>.origo-exact-product-card {
  flex:0 0 calc((100% - 72px)/5)!important;width:calc((100% - 72px)/5)!important;min-width:220px!important;max-width:none!important;
}
@media(min-width:701px){
  html:not([data-catalog-layout="list"]) body #storefront-main#storefront-main#storefront-main#storefront-main :is(.catalog-product-grid,.pdp-products-row) {grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:18px!important}
  html body #storefront-main#storefront-main#storefront-main#storefront-main :is(.catalog-product-grid,.pdp-products-row)>.origo-exact-product-card {width:100%!important;min-width:0!important;max-width:none!important}
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-image {
  position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:1.25!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-media-link {
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;padding:6px!important;background:transparent!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-media-link img {
  position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:contain!important;transform:none!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-info {
  display:flex!important;flex-direction:column!important;flex:1!important;gap:12px!important;padding:10px 2px 0!important;min-width:0!important;background:#fff!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-data-grid {
  display:grid!important;direction:ltr!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 6px!important;width:100%!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-brand {font-size:14px!important;line-height:1.3!important;color:#a96b10!important;font-weight:800!important;letter-spacing:0!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating {font-size:13px!important;gap:3px!important;white-space:nowrap!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating small {font-size:11px!important;color:#8d898a!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name {font-size:20px!important;padding:0!important;border:0!important;line-height:1.3!important;min-height:26px!important;white-space:nowrap!important;overflow:visible!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name a {font:inherit!important;display:block!important;width:100%!important;color:#090707!important;text-decoration:none!important;overflow:visible!important;white-space:nowrap!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-old-price {font-size:13px!important;direction:inherit!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price {font-size:22px!important;direction:inherit!important;color:#850020!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price-discount {font-size:14px!important;padding:4px 8px!important;border:1px solid #850020!important;border-radius:8px!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-bottom {
  position:static!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:auto 0 0!important;padding:0!important;border:0!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-actions {
  position:static!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-actions .card-add-button {
  position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;min-height:48px!important;margin:0!important;padding:8px!important;gap:8px!important;
  border:1px solid #850020!important;border-radius:10px!important;background:#fff!important;color:#850020!important;opacity:1!important;visibility:visible!important;
  font:700 16px/1.2 var(--origo-font-body,var(--font-ar),sans-serif)!important;transform:none!important;box-shadow:none!important;direction:ltr!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .card-add-button>span {display:block!important;flex:0 1 auto!important;width:auto!important;font:inherit!important;white-space:nowrap!important;overflow:visible!important;direction:inherit!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .card-add-button>svg {display:block!important;flex:0 0 25px!important;width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-top-actions {
  position:absolute!important;inset:auto 8px 8px!important;width:auto!important;display:flex!important;justify-content:space-between!important;direction:inherit!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card:is(:hover,:focus-within,.show-card-actions) .product-card-top-actions {opacity:1!important;visibility:visible!important;pointer-events:auto!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-top-actions .card-action-button {display:grid!important;position:static!important;width:38px!important;height:38px!important;padding:8px!important;border-radius:50%!important;background:#fff!important;color:#850020!important;box-shadow:0 4px 12px #85002018!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-top-actions .card-action-button.active {background:#850020!important;color:#fff!important}
@media(max-width:700px){
  html body #storefront-main#storefront-main#storefront-main#storefront-main #home .home-product-row-track {gap:10px!important}
  html body #storefront-main#storefront-main#storefront-main#storefront-main #home .home-product-row-track>.origo-exact-product-card {flex:0 0 calc((100% - 10px)/2)!important;width:calc((100% - 10px)/2)!important;min-width:0!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating {font-size:10px!important;gap:2px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating small {font-size:8px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-brand {font-size:12px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price {font-size:18px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-old-price {font-size:10px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-actions .card-add-button {font-size:13px!important;height:44px!important;min-height:44px!important;gap:5px!important}
}
body #storefront-main .origo-exact-product-card,
body .product-overlay .origo-exact-product-card {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(34, 20, 24, .09) !important;
  border-radius: clamp(18px, 1.8vw, 28px) !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(33, 20, 24, .09) !important;
  transform: none !important;
  transition: none !important;
}

/* Bilingual three-row product summary from the approved ORIGO card reference. */
body #storefront-main .origo-exact-product-card .product-card-data-grid,
body .product-overlay .origo-exact-product-card .product-card-data-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: repeat(3, minmax(0, auto)) !important;
  align-items: center !important;
  gap: clamp(3px, .35vw, 6px) clamp(8px, 1vw, 16px) !important;
  width: 100% !important;
  min-width: 0 !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid > *,
body .product-overlay .origo-exact-product-card .product-card-data-grid > * {
  min-width: 0 !important;
  margin: 0 !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .product-brand,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-brand,
body #storefront-main .origo-exact-product-card .product-card-data-grid .exact-card-product-name,
body .product-overlay .origo-exact-product-card .product-card-data-grid .exact-card-product-name,
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-old-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-old-price {
  grid-column: 1 !important;
  justify-self: start !important;
  text-align: start !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .exact-card-rating,
body .product-overlay .origo-exact-product-card .product-card-data-grid .exact-card-rating,
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price-discount,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price-discount,
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price {
  grid-column: 2 !important;
  justify-self: end !important;
  text-align: end !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .product-brand,
body #storefront-main .origo-exact-product-card .product-card-data-grid .exact-card-rating,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-brand,
body .product-overlay .origo-exact-product-card .product-card-data-grid .exact-card-rating { grid-row: 1 !important; }
body #storefront-main .origo-exact-product-card .product-card-data-grid .exact-card-product-name,
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price-discount,
body .product-overlay .origo-exact-product-card .product-card-data-grid .exact-card-product-name,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price-discount { grid-row: 2 !important; }
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-old-price,
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-old-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price { grid-row: 3 !important; }

/* RTL mirrors the two information columns without changing number direction. */
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .product-brand,
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .exact-card-product-name,
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .product-old-price,
body .product-overlay .origo-exact-product-card[dir="rtl"] .product-card-data-grid :is(.product-brand,.exact-card-product-name,.product-old-price) {
  grid-column: 2 !important;
  justify-self: end !important;
  text-align: end !important;
}
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .exact-card-rating,
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .product-price-discount,
body #storefront-main .origo-exact-product-card[dir="rtl"] .product-card-data-grid .product-price,
body .product-overlay .origo-exact-product-card[dir="rtl"] .product-card-data-grid :is(.exact-card-rating,.product-price-discount,.product-price) {
  grid-column: 1 !important;
  justify-self: start !important;
  text-align: start !important;
}

body #storefront-main .origo-exact-product-card h3.exact-card-product-name,
body .product-overlay .origo-exact-product-card h3.exact-card-product-name,
body #storefront-main .origo-exact-product-card h3.exact-card-product-name :is(a,button),
body .product-overlay .origo-exact-product-card h3.exact-card-product-name :is(a,button) {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  -webkit-line-clamp: 1 !important;
}

body #storefront-main .origo-exact-product-card .product-price-discount,
body .product-overlay .origo-exact-product-card .product-price-discount {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.8em !important;
  padding: .25em .65em !important;
  border: 1px solid #850020 !important;
  border-radius: .65em !important;
  color: #850020 !important;
  background: #fff !important;
  font-size: clamp(9px, .85vw, 13px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  direction: ltr !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .product-old-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-old-price {
  color: #8d898a !important;
  font-size: clamp(9px, .78vw, 12px) !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price {
  color: #850020 !important;
  font-size: clamp(13px, 1.2vw, 19px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .product-card-data-grid .is-empty,
body .product-overlay .origo-exact-product-card .product-card-data-grid .is-empty {
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
}

body #storefront-main .origo-exact-product-card .product-bottom,
body .product-overlay .origo-exact-product-card .product-bottom {
  margin-top: clamp(4px, .45vw, 7px) !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* Image actions sit at the lower edge: favorite first in LTR and at the right in RTL. */
body #storefront-main .origo-exact-product-card .product-card-top-actions,
body .product-overlay .origo-exact-product-card .product-card-top-actions {
  top: auto !important;
  right: clamp(9px, 1vw, 15px) !important;
  bottom: clamp(9px, 1vw, 15px) !important;
  left: clamp(9px, 1vw, 15px) !important;
  inset-inline: clamp(9px, 1vw, 15px) !important;
  justify-content: space-between !important;
  direction: inherit !important;
  transform: translateY(6px) !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button {
  border-color: rgba(133, 0, 32, .13) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 4px 12px rgba(35, 20, 24, .09) !important;
  transition: color 140ms ease, background-color 140ms ease !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-favorite-button.active,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-favorite-button.active {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 700px) {
  body #storefront-main .origo-exact-product-card .product-card-data-grid,
  body .product-overlay .origo-exact-product-card .product-card-data-grid { gap: 3px 6px !important; }
  body #storefront-main .origo-exact-product-card .product-card-top-actions,
  body .product-overlay .origo-exact-product-card .product-card-top-actions {
    top: auto !important;
    right: 7px !important;
    bottom: 7px !important;
    left: 7px !important;
    inset-inline: 7px !important;
  }
  body #storefront-main .origo-exact-product-card h3.exact-card-product-name.product-name-very-long,
  body .product-overlay .origo-exact-product-card h3.exact-card-product-name.product-name-very-long { font-size: 9.5px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body #storefront-main .origo-exact-product-card .product-card-top-actions,
  body .product-overlay .origo-exact-product-card .product-card-top-actions,
  body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button,
  body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button {
    transition: none !important;
    transform: none !important;
  }
}

body #storefront-main .origo-exact-product-card:hover,
body .product-overlay .origo-exact-product-card:hover {
  border-color: rgba(34, 20, 24, .09) !important;
  box-shadow: 0 8px 28px rgba(33, 20, 24, .09) !important;
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .product-image,
body .product-overlay .origo-exact-product-card .product-image {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  aspect-ratio: 1 / 1.06 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body #storefront-main .origo-exact-product-card .product-image::before,
body #storefront-main .origo-exact-product-card .product-image::after,
body .product-overlay .origo-exact-product-card .product-image::before,
body .product-overlay .origo-exact-product-card .product-image::after {
  display: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-media-link,
body .product-overlay .origo-exact-product-card .product-card-media-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(34px, 4vw, 62px) clamp(18px, 2.2vw, 34px) clamp(12px, 1.5vw, 24px) !important;
  border: 0 !important;
  background: transparent !important;
}

body #storefront-main .origo-exact-product-card .product-card-media-link img,
body .product-overlay .origo-exact-product-card .product-card-media-link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 84% !important;
  max-height: 91% !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

body #storefront-main .origo-exact-product-card:hover .product-card-media-link img,
body .product-overlay .origo-exact-product-card:hover .product-card-media-link img {
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions,
body .product-overlay .origo-exact-product-card .product-card-top-actions {
  position: absolute !important;
  z-index: 8 !important;
  top: clamp(10px, 1.15vw, 18px) !important;
  right: clamp(10px, 1.15vw, 18px) !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(7px, .8vw, 12px) !important;
  direction: ltr !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-4px) !important;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease !important;
}

body #storefront-main .origo-exact-product-card:is(:hover, :focus-within, .show-card-actions) .product-card-top-actions,
body .product-overlay .origo-exact-product-card:is(:hover, :focus-within, .show-card-actions) .product-card-top-actions {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-image-meta,
body .product-overlay .origo-exact-product-card .product-card-image-meta {
  position: absolute !important;
  z-index: 8 !important;
  right: clamp(10px, 1.15vw, 18px) !important;
  bottom: clamp(10px, 1.15vw, 18px) !important;
  left: clamp(10px, 1.15vw, 18px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: #5f5558 !important;
  font-size: clamp(9px, .8vw, 12px) !important;
  font-weight: 750 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(4px) !important;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease !important;
}

body #storefront-main .origo-exact-product-card .product-card-image-meta > span,
body .product-overlay .origo-exact-product-card .product-card-image-meta > span {
  min-width: 0 !important;
  max-width: 48% !important;
  padding: 6px 9px !important;
  overflow: hidden !important;
  border: 1px solid rgba(92, 0, 23, .12) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 3px 10px rgba(35, 20, 24, .07) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card:is(:hover, :focus-within, .show-card-actions) .product-card-image-meta,
body .product-overlay .origo-exact-product-card:is(:hover, :focus-within, .show-card-actions) .product-card-image-meta {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Keep availability/new status with the other image features instead of covering the product. */
body #storefront-main .origo-exact-product-card .product-card-image-meta > .product-feature-badge,
body .product-overlay .origo-exact-product-card .product-card-image-meta > .product-feature-badge {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  flex: 0 1 auto !important;
  max-width: 42% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  color: #7d001f !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 3px 10px rgba(35, 20, 24, .07) !important;
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-image-meta > .product-feature-badge svg,
body .product-overlay .origo-exact-product-card .product-card-image-meta > .product-feature-badge svg {
  width: 12px !important;
  height: 12px !important;
  flex: none !important;
}

/* Brand and rating share one row; the complete perfume name owns the row below. */
body #storefront-main .origo-exact-product-card .exact-card-heading,
body .product-overlay .origo-exact-product-card .exact-card-heading {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

body #storefront-main .origo-exact-product-card h3.exact-card-product-name,
body .product-overlay .origo-exact-product-card h3.exact-card-product-name {
  width: 100% !important;
  overflow: visible !important;
  font-family: var(--origo-font-display, var(--origo-font-body, var(--font-ar)), sans-serif) !important;
  font-size: clamp(15px, 1.4vw, 22px) !important;
  line-height: 1.25 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body #storefront-main .origo-exact-product-card h3.exact-card-product-name.product-name-long,
body .product-overlay .origo-exact-product-card h3.exact-card-product-name.product-name-long {
  font-size: clamp(13px, 1.15vw, 18px) !important;
}

body #storefront-main .origo-exact-product-card h3.exact-card-product-name.product-name-very-long,
body .product-overlay .origo-exact-product-card h3.exact-card-product-name.product-name-very-long {
  font-size: clamp(11px, .95vw, 15px) !important;
}

body #storefront-main .origo-exact-product-card h3.exact-card-product-name :is(a,button),
body .product-overlay .origo-exact-product-card h3.exact-card-product-name :is(a,button) {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
}

@media (max-width: 700px) {
  body #storefront-main .origo-exact-product-card h3.exact-card-product-name,
  body .product-overlay .origo-exact-product-card h3.exact-card-product-name {
    font-size: 13px !important;
  }

  body #storefront-main .origo-exact-product-card h3.exact-card-product-name.product-name-long,
  body .product-overlay .origo-exact-product-card h3.exact-card-product-name.product-name-long {
    font-size: 11px !important;
  }

  body #storefront-main .origo-exact-product-card h3.exact-card-product-name.product-name-very-long,
  body .product-overlay .origo-exact-product-card h3.exact-card-product-name.product-name-very-long {
    font-size: 9.5px !important;
  }
}

/* Stable image controls: one top row and equal metadata chips below. */
body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
body .product-overlay .origo-exact-product-card .product-image > .product-badge {
  top: clamp(7px, .7vw, 11px) !important;
  right: auto !important;
  left: clamp(7px, .7vw, 11px) !important;
  max-width: calc(100% - 88px) !important;
  z-index: 9 !important;
}
body #storefront-main .origo-exact-product-card .product-card-image-meta,
body .product-overlay .origo-exact-product-card .product-card-image-meta {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 4px !important;
}
body #storefront-main .origo-exact-product-card .product-card-image-meta > span,
body .product-overlay .origo-exact-product-card .product-card-image-meta > span {
  width: auto !important;
  max-width: none !important;
  min-height: 25px !important;
  padding: 4px 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border: 1px solid rgba(92, 0, 23, .12) !important;
  border-radius: 999px !important;
  color: #5f5558 !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 3px 10px rgba(35, 20, 24, .07) !important;
  text-align: center !important;
}
body #storefront-main .origo-exact-product-card .product-card-media-link,
body .product-overlay .origo-exact-product-card .product-card-media-link {
  padding-top: clamp(38px, 4vw, 58px) !important;
  padding-bottom: clamp(38px, 4vw, 54px) !important;
}
@media (max-width: 700px) {
  body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
  body .product-overlay .origo-exact-product-card .product-image > .product-badge {
    top: 7px !important;
    left: 7px !important;
    min-width: 39px !important;
    max-width: calc(100% - 76px) !important;
  }
  body #storefront-main .origo-exact-product-card .product-card-image-meta,
  body .product-overlay .origo-exact-product-card .product-card-image-meta {
    right: 6px !important;
    bottom: 6px !important;
    left: 6px !important;
    gap: 3px !important;
    font-size: 6.8px !important;
  }
  body #storefront-main .origo-exact-product-card .product-card-image-meta > span,
  body .product-overlay .origo-exact-product-card .product-card-image-meta > span {
    min-height: 22px !important;
    padding: 3px 2px !important;
  }
  body #storefront-main .origo-exact-product-card .product-card-media-link,
  body .product-overlay .origo-exact-product-card .product-card-media-link {
    padding: 39px 9px 34px !important;
  }
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  width: clamp(34px, 3.3vw, 50px) !important;
  height: clamp(34px, 3.3vw, 50px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: clamp(7px, .75vw, 11px) !important;
  border: 1px solid rgba(92, 0, 23, .2) !important;
  border-radius: 50% !important;
  color: #850020 !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button:hover,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button:hover {
  color: #850020 !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button.active,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button.active {
  color: #fff !important;
  background: #850020 !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions svg,
body .product-overlay .origo-exact-product-card .product-card-top-actions svg {
  width: 100% !important;
  height: 100% !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body #storefront-main .origo-exact-product-card .product-card-top-actions .card-favorite-button.active svg,
body .product-overlay .origo-exact-product-card .product-card-top-actions .card-favorite-button.active svg {
  fill: currentColor !important;
}

body #storefront-main .origo-exact-product-card .product-feature-badge,
body .product-overlay .origo-exact-product-card .product-feature-badge {
  position: absolute !important;
  z-index: 8 !important;
  top: clamp(10px, 1.15vw, 18px) !important;
  left: clamp(10px, 1.15vw, 18px) !important;
  right: auto !important;
  inset-inline: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(5px, .55vw, 8px) !important;
  max-width: 42% !important;
  padding: clamp(7px, .75vw, 11px) clamp(10px, 1.05vw, 16px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: clamp(9px, .9vw, 14px) !important;
  color: #fff !important;
  background: #8a001f !important;
  box-shadow: 0 5px 12px rgba(92, 0, 23, .14) !important;
  font-size: clamp(10px, .95vw, 15px) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .product-feature-badge svg,
body .product-overlay .origo-exact-product-card .product-feature-badge svg {
  width: clamp(14px, 1.4vw, 21px) !important;
  height: clamp(14px, 1.4vw, 21px) !important;
  flex: none !important;
  fill: none !important;
  stroke: #d89b27 !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body #storefront-main .origo-exact-product-card .product-feature-badge span,
body .product-overlay .origo-exact-product-card .product-feature-badge span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body #storefront-main .origo-exact-product-card .product-badge,
body .product-overlay .origo-exact-product-card .product-badge {
  position: absolute !important;
  z-index: 8 !important;
  top: clamp(49px, 4.5vw, 68px) !important;
  left: clamp(10px, 1.15vw, 18px) !important;
  right: auto !important;
  inset-inline: auto !important;
  max-width: 42% !important;
  padding: 5px 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #850020 !important;
  background: #fff5f6 !important;
  box-shadow: none !important;
  font-size: clamp(8px, .75vw, 11px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

body #storefront-main .origo-exact-product-card .product-info,
body .product-overlay .origo-exact-product-card .product-info {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(5px, .65vw, 10px) !important;
  padding: clamp(13px, 1.5vw, 23px) clamp(14px, 1.7vw, 26px) clamp(14px, 1.7vw, 26px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body #storefront-main .origo-exact-product-card .product-brand,
body .product-overlay .origo-exact-product-card .product-brand {
  margin: 0 !important;
  color: #c88618 !important;
  font-size: clamp(10px, .9vw, 14px) !important;
  font-weight: 850 !important;
  letter-spacing: .04em !important;
  line-height: 1.15 !important;
  text-align: start !important;
  text-transform: uppercase !important;
}

body #storefront-main .origo-exact-product-card .exact-card-title-row,
body .product-overlay .origo-exact-product-card .exact-card-title-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(8px, 1vw, 16px) !important;
}

body #storefront-main .origo-exact-product-card h3,
body .product-overlay .origo-exact-product-card h3 {
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  color: #090707 !important;
  font-family: var(--origo-font-body, var(--font-ar)) !important;
  font-size: clamp(16px, 1.55vw, 25px) !important;
  font-weight: 850 !important;
  line-height: 1.28 !important;
  text-align: start !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card h3 button,
body .product-overlay .origo-exact-product-card h3 button {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  color: inherit !important;
  background: transparent !important;
  font: inherit !important;
  text-align: inherit !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .exact-card-rating,
body .product-overlay .origo-exact-product-card .exact-card-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(4px, .45vw, 7px) !important;
  color: #090707 !important;
  font-size: clamp(14px, 1.35vw, 21px) !important;
  font-weight: 850 !important;
  direction: ltr !important;
}

body #storefront-main .origo-exact-product-card .exact-card-rating b,
body .product-overlay .origo-exact-product-card .exact-card-rating b {
  color: #d49217 !important;
  font-size: 1.2em !important;
  line-height: 1 !important;
}

body #storefront-main .origo-exact-product-card .product-card-secondary-name,
body .product-overlay .origo-exact-product-card .product-card-secondary-name {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #8a8587 !important;
  font-size: clamp(10px, .95vw, 15px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: start !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body #storefront-main .origo-exact-product-card .exact-card-specs,
body .product-overlay .origo-exact-product-card .exact-card-specs {
  display: none !important;
}

body #storefront-main .origo-exact-product-card .product-bottom,
body .product-overlay .origo-exact-product-card .product-bottom {
  display: grid !important;
  gap: clamp(11px, 1.15vw, 17px) !important;
  margin-top: clamp(5px, .65vw, 10px) !important;
  padding-top: clamp(12px, 1.25vw, 19px) !important;
  border: 0 !important;
  border-top: 1px solid #eee9ea !important;
}

body #storefront-main .origo-exact-product-card .exact-card-prices,
body .product-overlay .origo-exact-product-card .exact-card-prices {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  direction: ltr !important;
}

body #storefront-main .origo-exact-product-card .product-price,
body .product-overlay .origo-exact-product-card .product-price {
  color: #900020 !important;
  font-size: clamp(20px, 2vw, 32px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  direction: rtl !important;
}

body #storefront-main .origo-exact-product-card .exact-card-prices del,
body .product-overlay .origo-exact-product-card .exact-card-prices del {
  color: #908b8d !important;
  font-size: clamp(10px, 1vw, 15px) !important;
  font-weight: 650 !important;
  text-decoration-thickness: 1.5px !important;
  direction: rtl !important;
}

body #storefront-main .origo-exact-product-card .exact-card-actions,
body .product-overlay .origo-exact-product-card .exact-card-actions {
  display: block !important;
  width: 100% !important;
}

body #storefront-main .origo-exact-product-card .exact-card-actions .card-add-button,
body .product-overlay .origo-exact-product-card .exact-card-actions .card-add-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(8px, .9vw, 14px) !important;
  width: 100% !important;
  min-height: clamp(40px, 4vw, 60px) !important;
  padding: clamp(8px, .9vw, 13px) clamp(12px, 1.4vw, 22px) !important;
  border: 1.5px solid #850020 !important;
  border-radius: clamp(10px, 1vw, 15px) !important;
  color: #850020 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: clamp(12px, 1.25vw, 20px) !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  transform: none !important;
  transition: none !important;
}

body #storefront-main .origo-exact-product-card .exact-card-actions .card-add-button:hover,
body .product-overlay .origo-exact-product-card .exact-card-actions .card-add-button:hover {
  color: #850020 !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

body #storefront-main .origo-exact-product-card .exact-card-actions .card-add-button svg,
body .product-overlay .origo-exact-product-card .exact-card-actions .card-add-button svg {
  width: clamp(19px, 1.85vw, 28px) !important;
  height: clamp(19px, 1.85vw, 28px) !important;
  flex: none !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 768px) {
  body .store-bottom-nav,
  body.mobile-nav-hidden .store-bottom-nav,
  body.commerce-route .store-bottom-nav {
    position: fixed !important;
    z-index: 1200 !important;
    right: 12px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    display: grid !important;
    width: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 700px) {
  body #storefront-main .origo-exact-product-card,
  body .product-overlay .origo-exact-product-card {
    border-radius: 13px !important;
    box-shadow: 0 4px 14px rgba(33, 20, 24, .08) !important;
  }

  body #storefront-main .origo-exact-product-card .product-image,
  body .product-overlay .origo-exact-product-card .product-image {
    aspect-ratio: 1 / 1.08 !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-media-link,
  body .product-overlay .origo-exact-product-card .product-card-media-link {
    padding: 36px 10px 8px !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-media-link img,
  body .product-overlay .origo-exact-product-card .product-card-media-link img {
    max-width: 86% !important;
    max-height: 93% !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-top-actions,
  body .product-overlay .origo-exact-product-card .product-card-top-actions {
    top: 7px !important;
    right: 7px !important;
    gap: 5px !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-top-actions .card-action-button,
  body .product-overlay .origo-exact-product-card .product-card-top-actions .card-action-button {
    width: 27px !important;
    height: 27px !important;
    padding: 6px !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-image-meta,
  body .product-overlay .origo-exact-product-card .product-card-image-meta {
    right: 7px !important;
    bottom: 7px !important;
    left: 7px !important;
    gap: 5px !important;
    font-size: 7px !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-image-meta > span,
  body .product-overlay .origo-exact-product-card .product-card-image-meta > span {
    padding: 4px 6px !important;
  }

  body #storefront-main .origo-exact-product-card .product-feature-badge,
  body .product-overlay .origo-exact-product-card .product-feature-badge {
    top: 7px !important;
    left: 7px !important;
    gap: 4px !important;
    max-width: 42% !important;
    padding: 6px 7px !important;
    border-radius: 7px !important;
    font-size: 8px !important;
  }

  body #storefront-main .origo-exact-product-card .product-feature-badge svg,
  body .product-overlay .origo-exact-product-card .product-feature-badge svg {
    width: 11px !important;
    height: 11px !important;
  }

  body #storefront-main .origo-exact-product-card .product-badge,
  body .product-overlay .origo-exact-product-card .product-badge {
    top: 35px !important;
    left: 7px !important;
    padding: 4px 6px !important;
    border-radius: 6px !important;
    font-size: 7px !important;
  }

  body #storefront-main #home .origo-exact-product-card .product-image > .product-badge {
    top: 37px !important;
    right: auto !important;
    left: 7px !important;
    inset-inline: auto !important;
  }

  body #storefront-main .origo-exact-product-card .product-info,
  body .product-overlay .origo-exact-product-card .product-info {
    gap: 4px !important;
    padding: 9px 9px 10px !important;
  }

  body #storefront-main .origo-exact-product-card .product-brand,
  body .product-overlay .origo-exact-product-card .product-brand {
    font-size: 8px !important;
  }

  body #storefront-main .origo-exact-product-card h3,
  body .product-overlay .origo-exact-product-card h3 {
    font-size: clamp(12px, 3.45vw, 15px) !important;
  }

  body #storefront-main .origo-exact-product-card .exact-card-rating,
  body .product-overlay .origo-exact-product-card .exact-card-rating {
    gap: 3px !important;
    font-size: 11px !important;
  }

  body #storefront-main .origo-exact-product-card .product-card-secondary-name,
  body .product-overlay .origo-exact-product-card .product-card-secondary-name {
    font-size: 8.5px !important;
  }

  body #storefront-main .origo-exact-product-card .product-bottom,
  body .product-overlay .origo-exact-product-card .product-bottom {
    gap: 8px !important;
    margin-top: 3px !important;
    padding-top: 8px !important;
  }

  body #storefront-main .origo-exact-product-card .product-price,
  body .product-overlay .origo-exact-product-card .product-price {
    font-size: 16px !important;
  }

  body #storefront-main .origo-exact-product-card .exact-card-prices del,
  body .product-overlay .origo-exact-product-card .exact-card-prices del {
    font-size: 8px !important;
  }

  body #storefront-main .origo-exact-product-card .exact-card-actions .card-add-button,
  body .product-overlay .origo-exact-product-card .exact-card-actions .card-add-button {
    min-height: 31px !important;
    padding: 6px 8px !important;
    border-width: 1px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
  }

  body #storefront-main .origo-exact-product-card .exact-card-actions .card-add-button svg,
  body .product-overlay .origo-exact-product-card .exact-card-actions .card-add-button svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* Make the discount percentage easier to read without overpowering the image. */
body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
body .product-overlay .origo-exact-product-card .product-image > .product-badge {
  min-width: 45px !important;
  padding: 7px 11px !important;
  border-radius: 9px !important;
  font-size: clamp(10px, .9vw, 14px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

@media (max-width: 700px) {
  body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
  body .product-overlay .origo-exact-product-card .product-image > .product-badge {
    min-width: 39px !important;
    padding: 6px 9px !important;
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body #storefront-main .origo-exact-product-card .product-card-top-actions,
  body .product-overlay .origo-exact-product-card .product-card-top-actions,
  body #storefront-main .origo-exact-product-card .product-card-image-meta,
  body .product-overlay .origo-exact-product-card .product-card-image-meta {
    transform: none !important;
    transition: none !important;
  }
}

/*
 * Keep every image control in its own physical corner.  Older storefront
 * styles use logical RTL insets, so reset those first and declare the final
 * physical positions last.  This prevents the status/discount chips from
 * being pushed beneath the favorite and compare controls in Arabic.
 */
body #storefront-main #home .origo-exact-product-card .product-image > .product-card-top-actions,
body .product-overlay .origo-exact-product-card .product-image > .product-card-top-actions {
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  left: auto !important;
  right: clamp(7px, 0.7vw, 11px) !important;
}

body #storefront-main #home .origo-exact-product-card .product-image > .product-feature-badge,
body .product-overlay .origo-exact-product-card .product-image > .product-feature-badge {
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  right: auto !important;
  left: clamp(7px, 0.7vw, 11px) !important;
}

body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
body .product-overlay .origo-exact-product-card .product-image > .product-badge {
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  right: auto !important;
  left: clamp(7px, 0.7vw, 11px) !important;
}

@media (max-width: 700px) {
  body #storefront-main #home .origo-exact-product-card .product-image > .product-card-top-actions,
  body .product-overlay .origo-exact-product-card .product-image > .product-card-top-actions {
    right: 7px !important;
  }

  body #storefront-main #home .origo-exact-product-card .product-image > .product-feature-badge,
  body .product-overlay .origo-exact-product-card .product-image > .product-feature-badge {
    top: 7px !important;
    left: 7px !important;
  }

  body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
  body .product-overlay .origo-exact-product-card .product-image > .product-badge {
    top: 37px !important;
    left: 7px !important;
  }
}

/* Final precedence guard: no image control may cover another. */
body #storefront-main #home .origo-exact-product-card .product-image > .product-badge,
body .product-overlay .origo-exact-product-card .product-image > .product-badge{
  top:clamp(7px,.7vw,11px)!important;
  right:auto!important;
  left:clamp(7px,.7vw,11px)!important;
  max-width:calc(100% - 88px)!important;
  z-index:9!important;
}
body #storefront-main .origo-exact-product-card .product-card-image-meta,
body .product-overlay .origo-exact-product-card .product-card-image-meta{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:4px!important;
}
body #storefront-main .origo-exact-product-card .product-card-image-meta>span,
body .product-overlay .origo-exact-product-card .product-card-image-meta>span{
  position:static!important;
  inset:auto!important;
  width:auto!important;
  max-width:none!important;
  min-height:25px!important;
  padding:4px 5px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  border:1px solid rgba(92,0,23,.12)!important;
  border-radius:999px!important;
  color:#5f5558!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 3px 10px rgba(35,20,24,.07)!important;
  text-align:center!important;
}
body #storefront-main .origo-exact-product-card .product-card-media-link,
body .product-overlay .origo-exact-product-card .product-card-media-link{
  padding-top:clamp(38px,4vw,58px)!important;
  padding-bottom:clamp(38px,4vw,54px)!important;
}
@media(max-width:700px){
  body #storefront-main #home .origo-exact-product-card .product-image>.product-badge,
  body .product-overlay .origo-exact-product-card .product-image>.product-badge{
    top:7px!important;
    left:7px!important;
    min-width:39px!important;
    max-width:calc(100% - 76px)!important;
  }
  body #storefront-main .origo-exact-product-card .product-card-image-meta,
  body .product-overlay .origo-exact-product-card .product-card-image-meta{
    right:6px!important;
    bottom:6px!important;
    left:6px!important;
    gap:3px!important;
    font-size:6.8px!important;
  }
  body #storefront-main .origo-exact-product-card .product-card-image-meta>span,
  body .product-overlay .origo-exact-product-card .product-card-image-meta>span{
    min-height:22px!important;
    padding:3px 2px!important;
  }
  body #storefront-main .origo-exact-product-card .product-card-media-link,
  body .product-overlay .origo-exact-product-card .product-card-media-link{
    padding:39px 9px 34px!important;
  }
}

/* Final precedence for the bilingual card layout (kept last intentionally). */
body #storefront-main .origo-exact-product-card h3.exact-card-product-name,
body .product-overlay .origo-exact-product-card h3.exact-card-product-name,
body #storefront-main .origo-exact-product-card h3.exact-card-product-name :is(a,button),
body .product-overlay .origo-exact-product-card h3.exact-card-product-name :is(a,button){display:block!important;width:100%!important;overflow:hidden!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow-wrap:normal!important;-webkit-line-clamp:1!important}
body #storefront-main .origo-exact-product-card .product-card-data-grid .product-price,
body .product-overlay .origo-exact-product-card .product-card-data-grid .product-price{color:#850020!important;font-size:clamp(13px,1.2vw,19px)!important;font-weight:900!important;line-height:1.05!important;white-space:nowrap!important}
body #storefront-main .origo-exact-product-card .product-card-top-actions,
body .product-overlay .origo-exact-product-card .product-card-top-actions{top:auto!important;right:clamp(9px,1vw,15px)!important;bottom:clamp(9px,1vw,15px)!important;left:clamp(9px,1vw,15px)!important;inset-inline:clamp(9px,1vw,15px)!important;justify-content:space-between!important;direction:inherit!important;transform:translateY(6px)!important}
body #storefront-main .origo-exact-product-card:is(:hover,:focus-within,.show-card-actions) .product-card-top-actions,
body .product-overlay .origo-exact-product-card:is(:hover,:focus-within,.show-card-actions) .product-card-top-actions{transform:none!important}
@media(max-width:700px){body #storefront-main .origo-exact-product-card .product-card-top-actions,body .product-overlay .origo-exact-product-card .product-card-top-actions{top:auto!important;right:7px!important;bottom:7px!important;left:7px!important;inset-inline:7px!important}}
@media(prefers-reduced-motion:reduce){body #storefront-main .origo-exact-product-card .product-card-top-actions,body .product-overlay .origo-exact-product-card .product-card-top-actions{transform:none!important;transition:none!important}}

/* Approved bilingual card: keep the complete product name on one fitted line. */
body #storefront-main .origo-exact-product-card [data-fit-product-name],
body .product-overlay .origo-exact-product-card [data-fit-product-name],
body #storefront-main .origo-exact-product-card [data-fit-product-name] :is(a,button),
body .product-overlay .origo-exact-product-card [data-fit-product-name] :is(a,button){
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

body #storefront-main .origo-exact-product-card .card-add-button.is-restock,
body .product-overlay .origo-exact-product-card .card-add-button.is-restock{font-size:clamp(8px,1vw,15px)!important;gap:clamp(3px,.5vw,9px)!important;white-space:nowrap!important;letter-spacing:-.015em!important}
body #storefront-main .origo-exact-product-card .card-add-button.is-restock>svg,
body .product-overlay .origo-exact-product-card .card-add-button.is-restock>svg{width:clamp(16px,1.65vw,25px)!important;height:clamp(16px,1.65vw,25px)!important}
body #storefront-main .origo-exact-product-card .card-add-button>span,
body .product-overlay .origo-exact-product-card .card-add-button>span{min-width:0!important;flex:1 1 auto!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;text-align:center!important}
@media(max-width:420px){body #storefront-main .origo-exact-product-card .card-add-button.is-restock,body .product-overlay .origo-exact-product-card .card-add-button.is-restock{font-size:8px!important;gap:3px!important;padding-inline:6px!important;letter-spacing:-.03em!important}}

/* Keep the long product view scrollable instead of trapping the pointer at a
   nested section, and give desktop fragrance-note artwork enough presence. */
body .product-overlay{
  display:block!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  padding:clamp(18px,3vw,40px)!important;
}
body .product-overlay .product-dialog{
  width:min(1180px,100%)!important;
  margin:0 auto 40px!important;
}
@media(min-width:901px){
  body .product-overlay .pdp-page .dialog-pyramid-row > div{grid-template-columns:repeat(auto-fill,minmax(122px,1fr))!important;gap:18px 14px!important}
  body .product-overlay .pdp-page .dialog-note-chip img{height:126px!important}
  body .product-overlay .pdp-page .dialog-note-chip b{font-size:13px!important;line-height:1.4!important}
}

/* Final product-card type scale and logical alignment. */
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-data-grid{
  direction:inherit!important;
  row-gap:5px!important;
  column-gap:10px!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-data-grid :is(.product-brand,.exact-card-product-name,.product-old-price){
  grid-column:1!important;
  width:100%!important;
  justify-self:stretch!important;
  text-align:start!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-data-grid :is(.exact-card-rating,.product-price-discount,.product-price){
  grid-column:2!important;
  justify-self:end!important;
  text-align:end!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-brand{
  font-size:clamp(11px,.8vw,13px)!important;
  line-height:1.35!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating{
  font-size:clamp(11px,.78vw,13px)!important;
  line-height:1.25!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating small{font-size:.82em!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name,
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name>a{
  font-size:clamp(16px,1.15vw,19px)!important;
  line-height:1.3!important;
}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price-discount{font-size:clamp(10px,.75vw,12px)!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-old-price{font-size:clamp(10px,.72vw,12px)!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price{font-size:clamp(17px,1.25vw,21px)!important}
html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-actions .card-add-button{font-size:clamp(13px,.95vw,15px)!important}

@media(max-width:700px){
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-card-data-grid{row-gap:4px!important;column-gap:7px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-brand{font-size:10.5px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-rating{font-size:10px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name,
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card h3.exact-card-product-name>a{font-size:16px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price-discount{font-size:10px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-old-price{font-size:10px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .product-price{font-size:18px!important}
  html body :is(#storefront-main#storefront-main#storefront-main#storefront-main,.product-overlay.product-overlay.product-overlay.product-overlay) .origo-exact-product-card .exact-card-actions .card-add-button{font-size:13px!important}
}
