/*
 * Artizana Syria — Product Details / P3-C editorial product presentation
 * Single scoped stylesheet for clean AR/EN product routes.
 * No navbar, mega-menu, home, category-grid, CMS or footer selectors.
 * Keep source-data / ratings / comments / media behaviors intact.
 */
.artizana-product-detail {
  --az-wine: var(--brand-wine);
  --az-wine-deep: var(--brand-deep);
  --az-muted: #786b6c;
  --az-line: #ebe4e1;
  --az-cream: #faf7f5;
  --az-gold: #bd9049;
  background: #fff;
  color: #373031;
  padding-block: clamp(132px, 10.4vw, 172px) clamp(72px, 7vw, 110px);
  font-family: inherit;
}
.artizana-product-detail *,
.artizana-product-detail *::before,
.artizana-product-detail *::after { box-sizing: border-box; }
.artizana-product-detail .artizana-product-detail-shell {
  max-width: 1330px;
  padding-inline: clamp(18px, 3.2vw, 48px);
  margin-inline: auto;
}
.artizana-product-detail .artizana-product-detail-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 17px;
  font-size: 13px;
  line-height: 1.8;
  color: #817778;
}
.artizana-product-detail .artizana-product-detail-crumbs a,
.artizana-product-detail .artizana-product-detail-facts a {
  color: var(--az-wine);
  text-decoration: none;
  transition: color .16s ease;
}
.artizana-product-detail .artizana-product-detail-crumbs a:hover,
.artizana-product-detail .artizana-product-detail-facts a:hover {
  color: var(--az-wine-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.artizana-product-detail .artizana-product-detail-crumbs [aria-current] {
  color: #60595a;
  overflow-wrap: anywhere;
}
.artizana-product-detail .artizana-product-detail-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(22px, 2.5vw, 33px);
}
.artizana-product-detail .artizana-product-detail-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.45vw, 34px);
  font-weight: 750;
  line-height: 1.4;
  color: var(--az-wine-deep);
}
.artizana-product-detail .artizana-product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 410px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3.7vw, 46px);
}
.artizana-product-detail .artizana-product-detail-media,
.artizana-product-detail .artizana-product-detail-info { min-width: 0; }
.artizana-product-detail .artizana-product-detail-media {
  width: 100%;
  max-width: 410px;
}
.artizana-product-detail .artizana-product-detail-main-image,
.artizana-product-detail .artizana-product-detail-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 410px;
  overflow: hidden;
  margin: 0;
  border: 1px solid #ede4e0;
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(69, 42, 40, .045);
}
.artizana-product-detail .artizana-product-detail-zoom-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
}
.artizana-product-detail .artizana-product-detail-zoom-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 410px;
  padding: clamp(12px, 2.1vw, 24px);
  object-fit: contain;
  transition: transform .3s ease;
}
@media (hover: hover) {
  .artizana-product-detail .artizana-product-detail-zoom-trigger:hover img {transform: scale(1.025);}
}
.artizana-product-detail .artizana-product-detail-zoom-icon {
  position: absolute;
  inset-inline-end: 15px;
  inset-block-end: 15px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #f3eae7;
  border-radius: 50%;
  background: #fff;
  color: var(--az-wine);
  box-shadow: 0 5px 17px #351a1822;
  font-size: 29px;
  line-height: 1;
}
/* P3-C thumbnail arrows: arrows navigate a clipped, touch-swipeable strip, not a visible scrollbar. */
.artizana-product-detail .artizana-product-detail-thumb-carousel {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 35px;
  gap: 8px;
  width: 100%;
  margin: 13px 0 0;
  align-items: center;
  min-width: 0;
}
.artizana-product-detail .artizana-product-detail-thumb-carousel[data-thumb-overflow="false"] {
  grid-template-columns: minmax(0, 1fr);
}
.artizana-product-detail .artizana-product-detail-thumbs {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 9px;
  margin: 0;
  padding: 3px 2px 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.artizana-product-detail .artizana-product-detail-thumbs::-webkit-scrollbar {
  display: none;
}
.artizana-product-detail .artizana-product-detail-thumb-arrow {
  display: grid;
  place-items: center;
  width: 35px;
  height: 42px;
  padding: 0;
  border: 1px solid #e8dcda;
  border-radius: 12px;
  background: #fff;
  color: var(--az-wine);
  box-shadow: 0 3px 12px rgba(85, 41, 44, .06);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.artizana-product-detail .artizana-product-detail-thumb-arrow > span {
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-2px);
}
.artizana-product-detail .artizana-product-detail-thumb-arrow:hover:not(:disabled) {
  border-color: var(--brand-gradient-light);
  background: var(--az-wine);
  color: #fff;
}
.artizana-product-detail .artizana-product-detail-thumb-arrow:disabled {
  cursor: default;
  opacity: .32;
  box-shadow: none;
}
.artizana-product-detail .artizana-product-detail-thumb-arrow[hidden] {display: none;}
.artizana-product-detail .artizana-product-detail-thumb-arrow:focus-visible {
  outline: 2px solid var(--az-wine);
  outline-offset: 3px;
}
.artizana-product-detail .artizana-product-detail-thumb {
  display: flex;
  flex: 0 0 clamp(60px, 5.4vw, 72px);
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 5px;
  border: 1px solid #e9e1de;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.artizana-product-detail .artizana-product-detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.artizana-product-detail .artizana-product-detail-thumb:hover { border-color: var(--brand-gradient-light); transform: translateY(-2px); }
.artizana-product-detail .artizana-product-detail-thumb[aria-pressed="true"] {
  border-color: var(--az-wine);
  box-shadow: 0 0 0 2px rgba(var(--brand-wine-rgb), .15);
}
.artizana-product-detail .artizana-product-detail-image-hint {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #978988;
  text-align: center;
}
.artizana-product-detail .artizana-product-detail-no-image {
  flex-direction: column;
  gap: 14px;
  color: #8c7d7d;
  font-size: 14px;
}
.artizana-product-detail .artizana-product-detail-no-image img {opacity:.5;}
.artizana-product-detail .artizana-product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.artizana-product-detail .artizana-product-detail-summary {
  padding: clamp(22px, 2.7vw, 34px);
  border: 1px solid var(--az-line);
  border-radius: 21px;
  background: var(--az-cream);
}
.artizana-product-detail .artizana-product-detail-eyebrow {
  margin: 0 0 9px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: #9b7f80;
}
.artizana-product-detail .artizana-product-detail-info h1 {
  margin: 0;
  color: var(--az-wine-deep);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.artizana-product-detail .artizana-product-detail-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 11px;
  margin: 15px 0 0;
  color: #6d5e5d;
  font-size: 13px;
}
.artizana-product-detail .artizana-product-detail-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 21px;
  line-height: 1.15;
  color: #c9c0bc;
}
.artizana-product-detail .artizana-product-detail-stars .is-filled {color: var(--az-gold);}
.artizana-product-detail .artizana-product-detail-rating-value {
  color: var(--az-wine-deep);
  font-weight: 700;
}
.artizana-product-detail .artizana-product-detail-rating-count {color:#807574;}
.artizana-product-detail .artizana-product-detail-divider {
  height: 1px;
  width: 100%;
  margin: 22px 0 17px;
  border: 0;
  background: linear-gradient(to left, #dccac7 0%, #efe5e1 65%, transparent 100%);
}
.artizana-product-detail .artizana-product-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.artizana-product-detail .artizana-product-detail-facts > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid #ece5e1;
  border-radius: 12px;
  background: #fff;
}
.artizana-product-detail .artizana-product-detail-facts dt {
  margin: 0;
  color: #857778;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}
.artizana-product-detail .artizana-product-detail-facts dd {
  margin: 0;
  color: #413336;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.artizana-product-detail .artizana-product-detail-description,
.artizana-product-detail .artizana-product-detail-comments {
  margin: 0;
  padding: clamp(20px, 2.45vw, 29px);
  border: 1px solid var(--az-line);
  border-radius: 19px;
  background: #fff;
}
.artizana-product-detail .artizana-product-detail-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.artizana-product-detail .artizana-product-detail-section-label h2 {
  margin: 0;
  color: var(--az-wine-deep);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.55;
}
.artizana-product-detail .artizana-product-detail-section-label h2 small {
  font-size: 12px;
  font-weight: 600;
  color: #a28c89;
}
.artizana-product-detail .artizana-product-detail-description-body {
  max-width: none;
  font-size: 15px;
  line-height: 1.95;
  color: #5f5556;
  overflow-wrap: anywhere;
}
.artizana-product-detail .artizana-product-detail-description-body :is(p, ul, ol, blockquote, table) {
  margin-block: 0 13px;
}
.artizana-product-detail .artizana-product-detail-description-body :is(ul,ol) {
  padding-inline-start: 1.5em;
}
.artizana-product-detail .artizana-product-detail-description-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.artizana-product-detail .artizana-product-detail-comment-list {
  display: grid;
  gap: 12px;
  max-height: 480px;
  padding-inline-end: 3px;
  overflow: auto;
}
.artizana-product-detail .artizana-product-detail-comment {
  border: 1px solid #f0e9e6;
  border-radius: 13px;
  padding: 15px 17px;
  background: #fffdfb;
  overflow-wrap: anywhere;
}
.artizana-product-detail .artizana-product-detail-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-block-end: 8px;
}
.artizana-product-detail .artizana-product-detail-comment-head strong {font-size: 14px; color: var(--az-wine-deep);}
.artizana-product-detail .artizana-product-detail-comment-head time {font-size: 12px; color:#948786;}
.artizana-product-detail .artizana-product-detail-comment p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #594f50;
}
.artizana-product-detail .artizana-product-detail-comments-empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed #ebded9;
  border-radius: 11px;
  background: #fdfaf8;
  color: #897e7e;
  font-size: 13px;
  line-height: 1.8;
}
.artizana-product-detail .artizana-product-detail-return {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 45px;
  margin: 3px 0 0;
  padding: 9px 18px;
  border: 1px solid var(--az-wine);
  border-radius: 12px;
  background: #fff;
  color: var(--az-wine);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color .16s ease, background-color .16s ease;
}
.artizana-product-detail .artizana-product-detail-return:hover {background:var(--az-wine);color:#fff;}
.artizana-product-detail :is(.artizana-product-detail-thumb, .artizana-product-detail-zoom-trigger, .artizana-product-detail-return):focus-visible {
  outline: 2px solid var(--az-wine);
  outline-offset: 3px;
}
/* Native accessible fullscreen gallery, with optional licensed Fancybox adapter already provided by JS. */
.artizana-product-lightbox:not([open]) { display: none; }
.artizana-product-lightbox[open] {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  width: min(96vw, 1360px);
  height: min(94dvh, 940px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 14px 18px 16px;
  border: 1px solid #5b4d4f;
  border-radius: 16px;
  background: #161416;
  color: #fff;
  box-shadow: 0 32px 95px #0008;
  z-index: 10050;
}
.artizana-product-lightbox::backdrop {background: rgba(8, 6, 8, .89);}
.artizana-product-lightbox-header,
.artizana-product-lightbox-actions,
.artizana-product-lightbox-body {display:flex; align-items:center;}
.artizana-product-lightbox-header {justify-content:space-between;min-height:45px;}
.artizana-product-lightbox-actions {gap:8px;}
.artizana-product-lightbox button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid #ffffff4a;
  border-radius: 9px;
  background: #ffffff18;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}
.artizana-product-lightbox button:hover {background:#ffffff30;}
.artizana-product-lightbox button:focus-visible {outline:2px solid #e2b1ad;outline-offset:2px;}
.artizana-product-lightbox-body {flex:1;gap:12px;min-height:0;justify-content:space-between;}
.artizana-product-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
}
.artizana-product-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--detail-zoom, 1));
  transform-origin: center;
  transition: transform .15s ease;
}
.artizana-product-lightbox-counter {font-size:14px;color:#e1d8d5;}
.artizana-product-lightbox-caption {margin: 10px 0 0;text-align:center;font-size:13px;line-height:1.7;color:#e9dfe0;}
@media (min-width: 1100px) and (min-height: 760px) {
  .artizana-product-detail .artizana-product-detail-media {position: sticky;top: 120px;}
}
@media (max-width: 920px) {
  .artizana-product-detail .artizana-product-detail-layout {grid-template-columns: minmax(0, 1fr);gap:24px;}
  .artizana-product-detail .artizana-product-detail-media {max-width:520px;margin-inline:auto;}
  .artizana-product-detail .artizana-product-detail-info {width:100%;}
}
@media (max-width: 560px) {
  .artizana-product-detail {padding-block:clamp(110px, 26vw, 145px) 62px;}
  .artizana-product-detail .artizana-product-detail-heading {margin-block-end:18px;}
  .artizana-product-detail .artizana-product-detail-summary {padding:20px 16px;border-radius:16px;}
  .artizana-product-detail .artizana-product-detail-description,
  .artizana-product-detail .artizana-product-detail-comments {padding:19px 16px;border-radius:16px;}
  .artizana-product-detail .artizana-product-detail-facts {grid-template-columns:1fr;}
  .artizana-product-detail .artizana-product-detail-main-image,
  .artizana-product-detail .artizana-product-detail-no-image {max-height:390px;}
  .artizana-product-detail .artizana-product-detail-thumb {flex-basis:62px;}
  .artizana-product-detail .artizana-product-detail-thumb-carousel {grid-template-columns:31px minmax(0,1fr) 31px;gap:6px;}
  .artizana-product-detail .artizana-product-detail-thumb-arrow {width:31px;height:39px;border-radius:10px;}
  .artizana-product-lightbox[open] {width:100vw;height:100dvh;border:0;border-radius:0;padding:10px;}
  .artizana-product-lightbox-body {gap:4px;}
  .artizana-product-lightbox-body > button {min-width:33px;min-height:45px;}
}
@media (prefers-reduced-motion:reduce) {
  .artizana-product-detail :is(.artizana-product-detail-zoom-trigger img,.artizana-product-detail-thumb,.artizana-product-detail-return),
  .artizana-product-lightbox-stage img,
  .artizana-product-detail .artizana-product-detail-thumb-arrow {transition:none;}
}

/* ARTIZANA RTL ARROWS R1: keep arrow icons and their JS actions paired.
   For an overflowing RTL thumbnail strip, put Previous at the physical right
   and Next at the physical left; the media track itself stays RTL.
   LTR and short/non-overflowing galleries retain approved layout. */
html[dir="rtl"] .artizana-product-detail .artizana-product-detail-thumb-carousel[data-thumb-overflow="true"] {
  direction: ltr;
}
html[dir="rtl"] .artizana-product-detail .artizana-product-detail-thumb-carousel[data-thumb-overflow="true"] [data-product-thumbs-prev] {
  grid-column: 3;
  grid-row: 1;
}
html[dir="rtl"] .artizana-product-detail .artizana-product-detail-thumb-carousel[data-thumb-overflow="true"] [data-product-thumbs-track] {
  grid-column: 2;
  grid-row: 1;
  direction: rtl;
}
html[dir="rtl"] .artizana-product-detail .artizana-product-detail-thumb-carousel[data-thumb-overflow="true"] [data-product-thumbs-next] {
  grid-column: 1;
  grid-row: 1;
}
.artizana-product-detail .artizana-related-products {
  margin-block-start: clamp(32px, 5vw, 64px);
  padding: 0;
  min-width: 0;
}
.artizana-related-products #artizana-related-heading {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.artizana-related-products .artizana-related-track {
  padding: 12px 4px 24px;
}
html[dir="rtl"] .artizana-related-products .artizana-related-track,
html[dir="rtl"] .artizana-related-products .swiper-wrapper {
  direction: rtl;
}
.artizana-related-products .swiper-slide {
  height: auto;
}
.artizana-related-products .artizana-related-track:not(.swiper-container-initialized) {
  overflow-x: auto;
}
.artizana-related-products .artizana-related-track:not(.swiper-container-initialized) .swiper-wrapper {
  gap: 30px;
}
.artizana-related-products .artizana-related-track:not(.swiper-container-initialized) .swiper-slide {
  width: var(--related-slide-width, 100%);
}
@media (min-width: 640px) {
  .artizana-related-products { --related-slide-width: calc((100% - 30px) / 2); }
  .artizana-related-products #artizana-related-heading { font-size: 22px; }
}
@media (min-width: 992px) {
  .artizana-related-products { --related-slide-width: calc((100% - 60px) / 3); }
  .artizana-related-products #artizana-related-heading { font-size: 24px; }
}
@media (min-width: 1280px) {
  .artizana-related-products { --related-slide-width: calc((100% - 90px) / 4); }
}
.artizana-related-products .artizana-related-navigation {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.artizana-related-products .artizana-related-navigation[hidden] { display: none; }
.artizana-related-products .artizana-related-navigation button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brand-deep);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-deep);
}
.artizana-related-products .artizana-related-navigation button:not(:disabled):hover {
  background: var(--brand-deep);
  color: #fff;
}
.artizana-related-products .artizana-related-navigation button:disabled { opacity: .45; }
.artizana-related-products :is(button, .artizana-catalog-card):focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}
