/* =====================================================================
   PRESTIGE — DZCOM storefront theme (own stylesheet)
   ---------------------------------------------------------------------
   • Luxury: centred logo + menu row, full-bleed hero, large cards, gold.
   • Does NOT inherit matjari's identity CSS. Functional component CSS is
     kept only for pages whose markup is kept (product.css, cms-page.css,
     error-page.css) and this file loads after them.
   • Colours & fonts come from the Customizer (style-generated.css):
     --primary-color, --secondary-color (gold), --light-color (paper),
     --dark-color, --site-font-heading, --site-font-body. The theme only
     seeds defaults on activation.
   • NO letter-spacing on Arabic text (it breaks glyph joining).
   ===================================================================== */

:root{
  --pr-ink:var(--dark-color,#1B1A17);
  --pr-brand:var(--primary-color,#1B1A17);
  --pr-gold:var(--secondary-color,#C8A24A);
  --pr-paper:var(--light-color,#F6F3EC);
  --pr-mut:#7a756b;
  --pr-line:rgba(27,26,23,.12);
  --pr-head:var(--site-font-heading,'Playfair Display','Amiri',serif);
  --pr-body:var(--site-font-body,'Tajawal',system-ui,sans-serif);
  --pr-ease:cubic-bezier(.22,.61,.36,1);
  --pr-hd-h:92px;
}

/* ---------------------------------------------------------------------
   0. Base
   --------------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--pr-ink);font-family:var(--pr-body);font-size:15.5px;line-height:1.8;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,h4,h5,h6{line-height:1.25;margin:0 0 .5em}
.site-content{display:block;min-height:40vh}
.container{width:100%;max-width:1288px;margin-inline:auto;padding-inline:clamp(16px,3vw,24px)}
[hidden]{display:none!important}

/* Buttons (also used by kept pages: .btn-primary, .hero-btn …) */
.btn,.btn-primary,.pr-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 34px;
  border:1px solid var(--pr-gold);border-radius:0;background:var(--pr-gold);color:#fff;font:500 14.5px var(--pr-body);line-height:1;
  cursor:pointer;text-decoration:none;transition:background .3s,color .3s,border-color .3s}
.btn:hover,.btn-primary:hover,.pr-btn:hover{background:transparent;color:var(--pr-gold)}
.pr-btn--ghost{background:transparent;border-color:rgba(255,255,255,.75);color:#fff}
.pr-btn--ghost:hover{background:#fff;color:var(--pr-ink);border-color:#fff}
.pr-btn--dark{background:var(--pr-brand);border-color:var(--pr-brand);color:#fff}
.pr-btn--dark:hover{background:transparent;color:var(--pr-brand)}
.pr-link{display:inline-flex;gap:8px;align-items:center;padding-bottom:4px;border-bottom:1px solid var(--pr-gold);font:500 14px var(--pr-body)}

/* Ornamented, centred section heading */
.pr-sec{padding-block:clamp(70px,9vw,120px)}
.pr-sec--tight{padding-top:0}
.pr-head{position:relative;text-align:center;margin-bottom:clamp(34px,4vw,54px)}
.pr-kicker{display:inline-flex;align-items:center;gap:14px;color:var(--pr-gold);font:500 13px var(--pr-body)}
.pr-kicker::before,.pr-kicker::after{content:"";width:34px;height:1px;background:currentColor;opacity:.7}
.pr-kicker--start::after{display:none}
.pr-title{margin:14px 0 10px;font:500 clamp(30px,3.6vw,46px)/1.3 var(--pr-head);color:var(--pr-ink)}
.pr-sub{margin:0 auto;max-width:56ch;color:var(--pr-mut)}
.pr-orn{display:block;width:9px;height:9px;margin:18px auto 0;background:var(--pr-gold);transform:rotate(45deg)}
.pr-more{text-align:center;margin-top:58px}

/* Scroll reveal: content is only hidden when JS is confirmed running */
.pr-js .reveal{opacity:0;transform:translateY(20px);transition:opacity .9s var(--pr-ease),transform .9s var(--pr-ease)}
.pr-js .reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.pr-js .reveal{opacity:1;transform:none;transition:none}}

/* ---------------------------------------------------------------------
   1. Announcement bar (home-sections "top_bar")
   --------------------------------------------------------------------- */
.pr-ann{position:relative;height:36px;overflow:hidden;background:var(--top-bar-bg,var(--pr-ink));color:var(--top-bar-fc,#F3EAD3);font:400 13px var(--pr-body)}
.pr-ann--static .pr-ann-item{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-inline:16px;opacity:0;
  transition:opacity .6s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-ann--static .pr-ann-item.is-on{opacity:1}
.pr-ann--marquee{display:flex;align-items:center;direction:ltr;justify-content:flex-start}
.pr-ann-track{display:flex;white-space:nowrap;direction:ltr;animation:prAnn 38s linear infinite;will-change:transform}
.pr-ann--marquee .pr-ann-item{display:inline-flex;align-items:center;gap:22px;padding-inline:22px;direction:rtl}
html[dir="ltr"] .pr-ann--marquee .pr-ann-item{direction:ltr}
.pr-ann--marquee .pr-ann-item::after{content:"";width:5px;height:5px;background:var(--pr-gold);transform:rotate(45deg)}
.pr-ann--marquee:hover .pr-ann-track{animation-play-state:paused}
@keyframes prAnn{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.pr-ann-track{animation:none}}

/* ---------------------------------------------------------------------
   2. Header — centred logo, menu row below
   --------------------------------------------------------------------- */
.site-header.pr-hd{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--pr-line);box-shadow:none}
.pr-hd .header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;min-height:var(--pr-hd-h)}
.pr-hd-start{display:flex;align-items:center;gap:4px}
.pr-hd .header-cta{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.pr-ic{position:relative;width:44px;height:44px;display:inline-grid;place-items:center;padding:0;border:0;background:none;color:var(--pr-ink);
  font-size:19px;line-height:0;cursor:pointer;transition:color .2s}
.pr-ic:hover{color:var(--pr-gold)}
.pr-hd .header-menu-btn{display:none;font-size:24px}
.pr-count{position:absolute;top:4px;inset-inline-end:2px;min-width:17px;height:17px;padding-inline:4px;border-radius:9px;background:var(--pr-gold);
  color:#fff;font:700 10px/17px var(--pr-body);text-align:center}
.pr-hd .header-logo{justify-self:center;margin:0;text-align:center;line-height:1}
.pr-hd .header-logo a{display:inline-flex;flex-direction:column;align-items:center}
.pr-hd .header-logo img{display:block;height:54px;width:auto;max-width:220px;object-fit:contain}
.pr-wordmark{display:block;font:700 34px/1.1 var(--pr-head);color:var(--pr-ink)}
.pr-tagline{display:block;margin-top:7px;font:500 10px var(--pr-body);letter-spacing:.42em;color:var(--pr-gold);white-space:nowrap}
.pr-tagline--ar{letter-spacing:0;font-size:12px}
.pr-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px clamp(22px,3vw,46px);min-height:50px;align-items:center;border-top:1px solid var(--pr-line)}
.pr-nav a{position:relative;padding:6px 0;font:500 14.5px var(--pr-body)}
.pr-nav a::after{content:"";position:absolute;inset-inline:0;bottom:0;height:1px;background:var(--pr-gold);transform:scaleX(0);transition:transform .35s var(--pr-ease)}
.pr-nav a:hover::after,.pr-nav a.is-active::after{transform:scaleX(1)}
.pr-hd .header-product-info{display:none}

/* search bar (opened by search-overlay.js via .site-header.search-visible) */
.header-search-bar{display:none;position:sticky;top:var(--pr-hd-h);z-index:99;background:#fff;border-bottom:1px solid var(--pr-line);padding:14px 0}
.site-header.search-visible + .header-search-bar{display:block;animation:prDrop .3s var(--pr-ease)}
@keyframes prDrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.header-search-bar form{position:relative}
.header-search-bar input{width:100%;height:54px;padding-inline:52px 18px;border:1px solid var(--pr-line);border-bottom-color:var(--pr-gold);border-radius:0;background:#fff;
  font:400 16px var(--pr-body);color:var(--pr-ink);outline:none}
.header-search-bar form::before{content:"\F52A";font-family:"bootstrap-icons";position:absolute;inset-inline-start:18px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--pr-gold)}
.search-overlay{display:none}

/* mobile drawer (#mobileMenuPanel / #mobileMenuOverlay) */
.mobile-menu-overlay{position:fixed;inset:0;z-index:300;display:none;background:rgba(27,26,23,.5)}
.mobile-menu-overlay.is-open{display:block}
.mobile-menu-panel{position:fixed;top:0;bottom:0;inset-inline-start:0;z-index:301;width:min(360px,88vw);display:none;flex-direction:column;
  background:#fff;box-shadow:30px 0 60px rgba(0,0,0,.18);overflow-y:auto}
.mobile-menu-panel.is-open{display:flex;animation:prSlide .4s var(--pr-ease)}
@keyframes prSlide{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
html[dir="ltr"] .mobile-menu-panel.is-open{animation-name:prSlideL}
@keyframes prSlideL{from{transform:translateX(-24px);opacity:0}to{transform:none;opacity:1}}
.mobile-menu-header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid var(--pr-line)}
.mobile-menu-header strong{flex:1;font:500 19px var(--pr-head)}
.mobile-menu-close{width:40px;height:40px;border:1px solid var(--pr-line);border-radius:50%;background:#fff;font-size:18px;cursor:pointer}
.mobile-menu-search{padding:16px 20px}
.mobile-menu-search input{width:100%;height:48px;padding-inline:14px;border:1px solid var(--pr-line);border-radius:0;font:400 15px var(--pr-body);outline:none}
.mobile-menu-search input:focus{border-color:var(--pr-gold)}
.mobile-menu-links{display:flex;flex-direction:column;padding:4px 20px 24px}
.mobile-menu-links a{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--pr-line);font:500 16px var(--pr-body)}
.mobile-menu-links a::after{content:"\F284";font-family:"bootstrap-icons";font-size:13px;color:var(--pr-gold)}
html[dir="ltr"] .mobile-menu-links a::after{content:"\F285"}

/* product page sticky header: product name/price replace logo + menu while scrolling (phones/tablets) */
@media (max-width:992px){
  .product-page .pr-hd.scrolled .pr-nav{display:none}
  .product-page .pr-hd.scrolled .header-inner{display:flex;align-items:center;justify-content:space-between;gap:10px}
  .product-page .pr-hd.scrolled .pr-hd-start,
  .product-page .pr-hd.scrolled .header-logo,
  .product-page .pr-hd.scrolled .header-cta{display:none!important}
  .product-page .pr-hd.scrolled .header-product-info{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;width:100%;align-items:center;justify-content:space-between;gap:10px}
  .product-page .pr-hd.scrolled .header-product-right{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
  .product-page .pr-hd.scrolled .header-product-title-row{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;width:100%;min-width:0}
  .product-page .pr-hd.scrolled .header-product-right{max-width:none}
  .product-page .pr-hd.scrolled .header-product-name{font:500 16px/1.3 var(--pr-head);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .product-page .pr-hd.scrolled .header-product-badge{flex:none;padding:2px 8px;border:1px solid var(--pr-gold);color:var(--pr-ink);font:500 10.5px var(--pr-body)}
  .product-page .pr-hd.scrolled .header-product-left{flex:none;white-space:nowrap}
  .product-page .pr-hd.scrolled .header-product-price{font:700 15px var(--pr-body);color:var(--pr-gold)}
}

/* ---------------------------------------------------------------------
   3. Home — full-bleed hero, centred copy
   --------------------------------------------------------------------- */
.pr-hero{position:relative;height:min(84vh,760px);min-height:520px;overflow:hidden;background:#111;color:#fff}
.pr-hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1s ease,visibility 0s linear 1s}
.pr-hero-slide.is-active{opacity:1;visibility:visible;transition:opacity 1s ease,visibility 0s}
.pr-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.04)}
.pr-hero-slide.is-active .pr-hero-img{animation:prKen 8s ease-out both}
@keyframes prKen{from{transform:scale(1.1)}to{transform:scale(1.02)}}
.pr-hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25) 0%,rgba(0,0,0,.35) 45%,rgba(0,0,0,.72) 100%)}
body.pr-ov-light .pr-hero-slide::after{background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.55) 100%)}
body.pr-ov-strong .pr-hero-slide::after{background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.82) 100%)}
.pr-hero-copy{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;
  padding-bottom:clamp(64px,10vh,116px)}
.pr-hero .hero-title{margin:0 0 14px;max-width:20ch;font:500 clamp(38px,5.6vw,76px)/1.2 var(--pr-head);color:#fff;text-wrap:balance}
.pr-hero .hero-subtitle{margin:0 0 30px;max-width:46ch;font-size:17px;line-height:1.85;opacity:.92;color:#fff}
.pr-hero-cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.pr-hero-slide.is-active .pr-hero-copy > *{animation:prUp 1s var(--pr-ease) both}
.pr-hero-slide.is-active .pr-hero-copy > *:nth-child(2){animation-delay:.1s}
.pr-hero-slide.is-active .pr-hero-copy > *:nth-child(3){animation-delay:.2s}
@keyframes prUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.pr-hero-dots{position:absolute;z-index:3;bottom:28px;inset-inline:0;display:flex;justify-content:center;gap:10px}
.pr-hero-dot{width:28px;height:2px;padding:0;border:0;background:rgba(255,255,255,.4);cursor:pointer;transition:width .3s,background .3s}
.pr-hero-dot.is-active{width:44px;background:var(--pr-gold)}

/* ---------------------------------------------------------------------
   4. Assurances strip (theme section)
   --------------------------------------------------------------------- */
.pr-assure{border-bottom:1px solid var(--pr-line)}
.pr-assure-row{display:grid;grid-auto-flow:column;grid-auto-columns:1fr}
.pr-as{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:34px 16px}
.pr-as + .pr-as{border-inline-start:1px solid var(--pr-line)}
.pr-as i{font-size:24px;color:var(--pr-gold)}
.pr-as b{font:700 15px var(--pr-body)}
.pr-as span{font-size:13px;line-height:1.6;color:var(--pr-mut)}

/* ---------------------------------------------------------------------
   5. Products grid / row  (.products-row-wrapper .is-grid / .is-slider)
   --------------------------------------------------------------------- */
.products-row-wrapper{position:relative}
/* grid = centred flex rows, so 1–2 products stay centred under the centred heading */
.products-row-wrapper.is-grid .products-cards-grid{--pr-cols:3;--pr-gap-x:32px;display:flex;flex-wrap:wrap;justify-content:center;gap:56px var(--pr-gap-x)}
.products-row-wrapper.is-grid .products-cards-grid > *{flex:0 0 calc((100% - (var(--pr-cols) - 1) * var(--pr-gap-x)) / var(--pr-cols));min-width:0}
.products-row-wrapper.is-slider .products-cards-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/3);gap:32px;
  overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.products-row-wrapper.is-slider .products-cards-grid::-webkit-scrollbar{display:none}
.products-row-wrapper.is-slider .products-cards-grid > *{scroll-snap-align:start}
.pr-row-nav{display:flex;justify-content:center;gap:10px;margin-top:22px}
.pr-row-nav button{width:44px;height:44px;border:1px solid var(--pr-gold);border-radius:50%;background:#fff;color:var(--pr-gold);cursor:pointer;
  display:grid;place-items:center;transition:background .2s,color .2s}
.pr-row-nav button:hover{background:var(--pr-gold);color:#fff}
.products-empty-state{padding:56px 20px;text-align:center;color:var(--pr-mut);border:1px dashed var(--pr-line)}
.products-empty-icon{font-size:34px;margin-bottom:8px}
/* /products archive (markup kept: Bootstrap-style utility classes, no Bootstrap CSS on the storefront) */
.products-archive-page{padding-block:clamp(40px,6vw,80px)}
.products-archive-page > .container > header{margin-bottom:48px;text-align:center}
.products-archive-page h1{margin:0 0 10px;font:500 clamp(30px,3.6vw,46px)/1.3 var(--pr-head);color:var(--pr-ink)}
.products-archive-page .text-muted{color:var(--pr-mut)}
.products-archive-page .alert{padding:48px 20px;border:1px dashed var(--pr-line);text-align:center;color:var(--pr-mut)}
.products-archive-page .pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:56px 0 0;padding:0;list-style:none}
.products-archive-page .page-link{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--pr-line);
  font:500 14px var(--pr-body);color:var(--pr-ink);transition:border-color .2s,background .2s,color .2s}
.products-archive-page .page-link:hover{border-color:var(--pr-gold);color:var(--pr-gold)}
.products-archive-page .page-item.active .page-link{background:var(--pr-ink);border-color:var(--pr-ink);color:#fff}

/* ---------------------------------------------------------------------
   6. Product card  (theme partial; also used by archive, related, search)
   --------------------------------------------------------------------- */
.pr-card{position:relative;display:flex;flex-direction:column;min-width:0;text-align:center}
.pr-card-media{position:relative;display:block;aspect-ratio:4/5;background:var(--pr-paper);overflow:hidden}
.pr-card-media .product-thumb{position:absolute;inset:0;display:block;height:auto}
.pr-card-media .product-thumb-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;padding:0;
  opacity:0;visibility:hidden;transition:opacity .75s ease,transform 1.2s var(--pr-ease),visibility 0s linear .75s}
.pr-card-media .product-thumb-image.is-visible{opacity:1;visibility:visible;transition:opacity .75s ease,transform 1.2s var(--pr-ease),visibility 0s}
.pr-card:hover .product-thumb-image.is-visible{transform:scale(1.04)}
.pr-badge{position:absolute;top:16px;inset-inline-start:16px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;
  border:1px solid var(--pr-gold);background:rgba(255,255,255,.92);color:var(--pr-ink);font:500 11.5px var(--pr-body);pointer-events:none}
.pr-badge > span[aria-hidden]{display:none}  /* preset emoji: kept in markup, hidden for the luxury look */
.pr-badge--sale{background:var(--pr-ink);color:#fff;border-color:var(--pr-ink)}
.pr-quick{position:absolute;z-index:2;inset-inline:16px;bottom:16px;height:48px;display:flex;align-items:center;justify-content:center;gap:8px;
  border:0;background:rgba(27,26,23,.92);color:#fff;font:500 14px var(--pr-body);cursor:pointer;text-decoration:none;
  transform:translateY(calc(100% + 20px));transition:transform .45s var(--pr-ease),background .2s}
.pr-quick:hover{background:var(--pr-gold)}
.pr-card:hover .pr-quick,.pr-card:focus-within .pr-quick{transform:none}
.pr-card-body{display:grid;justify-items:center;gap:6px;padding-top:22px}
.pr-card-cat{color:var(--pr-gold);font:500 12.5px var(--pr-body)}
.pr-card-name{margin:0;font:500 21px/1.45 var(--pr-head);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pr-card-name a:hover{color:var(--pr-gold)}
.pr-price{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 10px;font-family:var(--pr-body)}
.pr-price .price-current{font-weight:500;font-size:16.5px;color:var(--pr-ink)}
.pr-price small{font-size:12px;color:var(--pr-mut)}
.pr-price .price-old{font-size:14px;color:var(--pr-mut);text-decoration:line-through}
/* touch devices: no hover bar → round add button (cart on); otherwise tap the card */
@media (hover:none){
  .pr-quick{display:none}
  .pr-quick.sc-card-cart{display:grid;place-items:center;inset-inline:auto;inset-inline-end:12px;bottom:12px;width:42px;height:42px;padding:0;
    border-radius:50%;transform:none;gap:0;box-shadow:0 6px 16px rgba(0,0,0,.18)}
  .pr-quick.sc-card-cart span{display:none}
  .pr-quick.sc-card-cart i{font-size:18px}
}

/* generic card classes used by kept pages (legacy markup safety net) */
.product-thumb{position:relative;display:block;overflow:hidden}
.product-thumb-image{display:block;width:100%}
.product-body,.product-body-top{display:grid;gap:6px}
.product-name{font:500 17px/1.5 var(--pr-head);margin:0}
.product-rating{color:var(--pr-gold);font-size:12px}
.price-current{font-family:var(--pr-body);font-weight:500}
.price-old{color:var(--pr-mut);text-decoration:line-through}
.product-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;background:var(--pr-brand);color:#fff;
  font:500 14px var(--pr-body);border:0;border-radius:0}

/* ---------------------------------------------------------------------
   7. Home — editorial ad tiles
   --------------------------------------------------------------------- */
.pr-ads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.pr-ads--1{grid-template-columns:1fr}
.pr-ad{position:relative;display:flex;align-items:flex-end;justify-content:center;aspect-ratio:5/6;overflow:hidden;color:#fff;text-align:center;background:#222}
.pr-ads--1 .pr-ad{aspect-ratio:auto;min-height:clamp(380px,56vh,560px)}
.pr-ad img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--pr-ease)}
a.pr-ad:hover img{transform:scale(1.05)}
.pr-ad::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.62))}
.pr-ad-copy{position:relative;z-index:2;padding:0 24px 44px}
.pr-ad-rot{display:block;min-height:1.6em;margin-bottom:6px;font:italic 500 15px var(--pr-head);color:var(--pr-gold);transition:opacity .3s,transform .3s}
.pr-ad-rot.is-out{opacity:0;transform:translateY(6px)}
.pr-ad-copy h3{margin:0 0 18px;font:500 clamp(26px,2.6vw,36px)/1.3 var(--pr-head);color:#fff}
.pr-ad-copy .pr-link{color:#fff}

/* ---------------------------------------------------------------------
   8. Brand story (theme section)
   --------------------------------------------------------------------- */
.pr-story{background:var(--pr-paper)}
.pr-story-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(36px,6vw,96px)}
.pr-story-media{position:relative;aspect-ratio:4/5}
.pr-story-media::before{content:"";position:absolute;inset:-18px auto auto -18px;width:100%;height:100%;border:1px solid var(--pr-gold)}
.pr-story-media img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover}
.pr-story-copy h2{margin:16px 0 18px;font:500 clamp(30px,3.4vw,46px)/1.3 var(--pr-head)}
.pr-story-copy p{margin:0 0 16px;max-width:52ch;color:#4a463f}
.pr-sign{margin:26px 0 30px;font:700 30px var(--pr-head);color:var(--pr-gold)}

/* ---------------------------------------------------------------------
   9. FAQ (home .pr-faq; generic .faq-item also styles landing FAQ)
   --------------------------------------------------------------------- */
.faq-grid{display:block}
.pr-faq{max-width:820px;margin-inline:auto}
.faq-item{border-top:1px solid var(--pr-line)}
.faq-item:last-child{border-bottom:1px solid var(--pr-line)}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 4px;border:0;background:none;
  color:var(--pr-ink);text-align:start;cursor:pointer;font:500 18px/1.5 var(--pr-head)}
.faq-question-text{margin:0;font:inherit}
.faq-toggle{position:relative;flex:none;width:22px;height:22px;font-size:0;color:var(--pr-gold)}
.faq-toggle::before,.faq-toggle::after{content:"";position:absolute;top:50%;inset-inline:3px;height:1.5px;background:currentColor;transform:translateY(-50%)}
.faq-toggle::after{transform:translateY(-50%) rotate(90deg);transition:transform .35s var(--pr-ease)}
.faq-item.is-open .faq-toggle::after,.faq-item.open .faq-toggle::after{transform:translateY(-50%) rotate(0)}
/* collapse: works for the home FAQ (.is-open) AND the landing-builder FAQ (.open) */
.faq-answer{max-height:0;overflow:hidden;transition:max-height .45s var(--pr-ease)}
.faq-item.is-open .faq-answer,.faq-item.open .faq-answer{max-height:1400px}
.faq-answer-inner{padding:0 4px 24px;max-width:68ch;color:#56514a;line-height:1.95}
.faq-list .faq-answer{color:#56514a;line-height:1.95}
.faq-list .faq-item.open .faq-answer{padding-bottom:22px}

/* ---------------------------------------------------------------------
   10. Generic hero (landing-builder sections/hero.php keeps its markup)
   --------------------------------------------------------------------- */
.hero-section:not(.pr-hero){position:relative;overflow:hidden;background:var(--pr-ink)}
.hero-section:not(.pr-hero) .hero-overlay{position:relative;display:flex;align-items:flex-end;min-height:clamp(380px,60vh,600px);
  background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.15) 60%)}
.hero-section:not(.pr-hero) .hero-content{padding-block:clamp(28px,5vw,64px);display:grid;gap:18px;justify-items:center;text-align:center;color:#fff}
.hero-section:not(.pr-hero) .hero-title{margin:0;font:500 clamp(32px,4.6vw,62px)/1.2 var(--pr-head);color:#fff}
.hero-section:not(.pr-hero) .hero-subtitle{margin:0;font-size:17px;opacity:.92;color:#fff}
.hero-btn{background:var(--pr-gold);color:#fff;border-color:var(--pr-gold)}
.hero-btn:hover{background:transparent;color:#fff}

/* ---------------------------------------------------------------------
   11. Product page restyle layer (markup + product.css kept; identity only)
       `body.pr` raises specificity above product.css and the page's
       inline <style>, without touching layout or any JS-driven state.
   --------------------------------------------------------------------- */
body.pr .product-title{font-family:var(--pr-head);font-weight:500;color:var(--pr-ink)}
body.pr .price-new,body.pr .product-price{font-family:var(--pr-body);font-weight:700;color:var(--pr-gold)}
body.pr .price-old{color:var(--pr-mut)}
body.pr .product-image,body.pr .gal-thumb{border-radius:0}
body.pr .product-image{background:var(--pr-paper)}
body.pr .order-box{border:1px solid var(--pr-line);border-top:2px solid var(--pr-gold);border-radius:0;box-shadow:none;background:#fff}
body.pr .order-box-title{font-family:var(--pr-head);font-weight:500}
body.pr .field-icon{border-radius:0;border-color:var(--pr-line);background:#fff}
body.pr .field-icon:focus-within{border-color:var(--pr-gold)}
body.pr .order-box input,body.pr .order-box select,body.pr .order-box textarea{font-family:var(--pr-body)}
body.pr .summary-row{border-color:var(--pr-line)}
body.pr .order-summary{border-radius:0;background:var(--pr-paper)}
body.pr .btn-confirm{border-radius:0;background:var(--pr-brand);background-image:none;font-family:var(--pr-body);font-weight:700}
body.pr .btn-confirm:hover{background:var(--pr-gold)}
body.pr .btn-whatsapp{border-radius:0;font-family:var(--pr-body);font-weight:700}
body.pr .variant-item,body.pr .variant-size{border-radius:0;font-family:var(--pr-body)}
body.pr .variant-label{font-family:var(--pr-body);font-weight:700}
body.pr .product-sticky-bar{border-radius:0}
body.pr .product-sticky-bar .sticky-buy{border-radius:0;background:var(--pr-brand);background-image:none;font-family:var(--pr-body);font-weight:700}
body.pr .related-products .related-head h2{font-family:var(--pr-head);font-weight:500}
body.pr .related-products .products-cards-grid{--pr-cols:4;--pr-gap-x:24px}
body.pr .review-card-arhasoft,body.pr .product-review-form{border-radius:0}

/* order success / cms / contact / error pages (markup kept) */
body.pr .order-row.total{font-family:var(--pr-body);font-weight:700}
body.pr .cms-page h1,body.pr .cms-page h2,body.pr .error-page h1{font-family:var(--pr-head);font-weight:500}

/* ---------------------------------------------------------------------
   12. Add-on: ShoppingCart (header icon + restyled drawer)
       cart.css loads later in the body → `body` prefix wins.
   --------------------------------------------------------------------- */
body.pr .sc-fab{display:none!important}       /* the header cart icon replaces the floating button */
body .sc-overlay{position:fixed;inset:0;z-index:400;background:rgba(27,26,23,.5)}
body.pr .sc-panel:not(.sc-inline){position:fixed;top:0;bottom:0;inset-inline-end:0;z-index:401;width:min(440px,100%);display:flex;flex-direction:column;
  border-radius:0;box-shadow:-30px 0 60px rgba(0,0,0,.18);animation:prScIn .45s var(--pr-ease)}
@keyframes prScIn{from{transform:translateX(-30px);opacity:0}to{transform:none;opacity:1}}
body.pr .sc-panel{background:#fff;color:var(--pr-ink);font-family:var(--pr-body)}
body.pr .sc-overlay[hidden],body.pr .sc-panel[hidden],body.pr .sc-foot[hidden]{display:none!important}
body.pr .sc-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;background:#fff;color:var(--pr-ink);border-bottom:1px solid var(--pr-line)}
body.pr .sc-head-title{display:flex;align-items:center;gap:10px;font:500 20px var(--pr-head)}
body.pr .sc-close{width:40px;height:40px;border-radius:50%;border:1px solid var(--pr-line);background:#fff;color:var(--pr-ink);font-size:22px;line-height:1;cursor:pointer}
body.pr .sc-view{flex:1;min-height:0;overflow:auto}
body.pr .sc-items{padding:4px 26px}
body.pr .sc-item{display:grid;grid-template-columns:86px 1fr auto;gap:16px;align-items:start;padding:20px 0;border-bottom:1px solid var(--pr-line)}
body.pr .sc-item-img{width:86px;height:106px;object-fit:cover;background:var(--pr-paper);border:0;border-radius:0}
body.pr .sc-item-title{margin:0 0 4px;font:500 16px/1.5 var(--pr-head)}
body.pr .sc-item-opts{margin-bottom:6px;font-size:12.5px;color:var(--pr-mut)}
body.pr .sc-item-price{margin-bottom:12px;font:700 15px var(--pr-body);color:var(--pr-gold)}
body.pr .sc-qty{display:inline-flex;align-items:center;height:36px;border:1px solid var(--pr-line);border-radius:0;background:#fff}
body.pr .sc-qty button{width:34px;height:34px;border:0;background:transparent;color:var(--pr-ink);font-size:17px;cursor:pointer}
body.pr .sc-qty span{min-width:22px;text-align:center;font:600 14px var(--pr-body)}
body.pr .sc-item-rm{padding:6px;border:0;background:transparent;color:var(--pr-mut);font-size:16px;cursor:pointer}
body.pr .sc-item-rm:hover{color:var(--pr-ink)}
body.pr .sc-empty{padding:60px 26px;text-align:center;color:var(--pr-mut)}
body.pr .sc-foot{position:sticky;bottom:0;display:grid;gap:16px;padding:22px 26px 26px;background:#fff;border-top:1px solid var(--pr-line)}
body.pr .sc-total-row{display:flex;align-items:baseline;justify-content:space-between;font-size:14.5px}
body.pr .sc-total-row strong{font:700 20px var(--pr-body);color:var(--pr-ink)}
body.pr .sc-field label{font:600 13px var(--pr-body)}
body.pr .sc-field input,body.pr .sc-field select{height:50px;border:1px solid var(--pr-line);border-radius:0;font-family:var(--pr-body)}
body.pr .sc-field input:focus,body.pr .sc-field select:focus{border-color:var(--pr-gold);outline:none;box-shadow:none}
body.pr .sc-btn{min-height:54px;border:1px solid var(--pr-ink);border-radius:0;font:600 15px var(--pr-body);cursor:pointer}
body.pr .sc-btn-primary{background:var(--pr-brand);border-color:var(--pr-brand);color:#fff}
body.pr .sc-btn-primary:hover{background:var(--pr-gold);border-color:var(--pr-gold)}
body.pr .sc-btn-ghost{background:#fff;color:var(--pr-ink)}
body.pr .sc-toast{border-radius:0;background:var(--pr-ink);color:#fff;font-family:var(--pr-body)}
body.pr .sc-card-cart.sc-pop{animation:prPop .35s var(--pr-ease)}
@keyframes prPop{50%{transform:scale(.94)}}

/* ---------------------------------------------------------------------
   13. Add-on: LoyaltyDiscount (field + summary row; inline styles softened)
   --------------------------------------------------------------------- */
body.pr .ld-discount-wrap .field-icon{border-radius:0!important}
body.pr #ld-apply-btn{border-radius:0!important;background:var(--pr-ink)!important;font-family:var(--pr-body)}
body.pr #ld-apply-result{border-radius:0!important}

/* ---------------------------------------------------------------------
   14. Footer
   --------------------------------------------------------------------- */
.pr-ft{background:var(--pr-ink);color:#e9e4d8}
.pr-ft a{color:inherit}
.pr-ft-top{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(64px,8vw,96px) 0 54px;border-bottom:1px solid rgba(255,255,255,.1)}
.pr-ft-logo{display:inline-flex;flex-direction:column;align-items:center;line-height:1}
.pr-ft-logo img{display:block;max-width:180px;max-height:70px;width:auto}
.pr-ft-logo--white img{filter:brightness(0) invert(1)}
.pr-ft-logo--plate img{box-sizing:content-box;padding:12px 20px;background:var(--pr-paper);max-height:58px}
.pr-ft-logo .pr-wordmark{color:#fff}
.pr-ft-top p{margin:22px auto 0;max-width:56ch;color:rgba(233,228,216,.72);line-height:1.9}
.pr-ft-top .pr-btn{margin-top:28px}
.pr-ft-cols{display:flex;flex-wrap:wrap;justify-content:center;gap:40px clamp(40px,8vw,120px);padding-block:52px;text-align:center}
.pr-ft-cols > div{min-width:160px}
.pr-ft-cols h4{margin:0 0 18px;color:var(--pr-gold);font:500 13px var(--pr-body)}
.pr-ft-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:14.5px}
.pr-ft-cols ul a{color:rgba(233,228,216,.85);transition:color .2s}
.pr-ft-cols ul a:hover{color:var(--pr-gold)}
.pr-soc{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.pr-soc a{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(200,162,74,.45);border-radius:50%;color:var(--pr-gold);transition:background .2s,color .2s}
.pr-soc a:hover{background:var(--pr-gold);color:var(--pr-ink)}
.pr-ft-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding-block:22px;border-top:1px solid rgba(255,255,255,.1);
  font-size:12.5px;color:rgba(233,228,216,.55)}
.pr-cod{padding:5px 12px;border:1px solid rgba(200,162,74,.4);color:var(--pr-gold)}

/* ---------------------------------------------------------------------
   15. Theme options (Admin › Customize / Header — theme card) + preloader
   --------------------------------------------------------------------- */
@media (min-width:1101px){
  body.pr-cols-4 .products-row-wrapper.is-grid .products-cards-grid{--pr-cols:4;--pr-gap-x:24px;row-gap:48px}
  body.pr-cols-4 .products-row-wrapper.is-slider .products-cards-grid{grid-auto-columns:calc((100% - 72px)/4);gap:24px}
  body.pr-cols-4 .pr-card-name{font-size:18px}
}
body.pr-fit-contain .pr-card-media .product-thumb-image{object-fit:contain;padding:9%;mix-blend-mode:multiply}
body.pr-hd-static .site-header.pr-hd{position:relative}
body.pr-hd-static .header-search-bar{position:relative;top:auto}
.pr-preloader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#fff;transition:opacity .4s ease}
.pr-preloader img{max-width:min(160px,40vw);max-height:120px;object-fit:contain}
.pr-preloader.is-done{opacity:0;pointer-events:none}

/* ---------------------------------------------------------------------
   16. Responsive
   --------------------------------------------------------------------- */
@media (max-width:1100px){
  body.pr .related-products .products-cards-grid{--pr-cols:3}
}
@media (max-width:992px){
  :root{--pr-hd-h:72px}
  .pr-nav{display:none}
  .pr-hd .header-menu-btn{display:inline-grid}
  .pr-hd .header-logo img{height:44px;max-width:160px}
  .pr-wordmark{font-size:26px}
  .pr-tagline{font-size:8.5px;letter-spacing:.3em;margin-top:5px}
  .pr-tagline--ar{letter-spacing:0;font-size:11px}
  .products-row-wrapper.is-grid .products-cards-grid{--pr-cols:2;--pr-gap-x:16px;row-gap:40px}
  .products-row-wrapper.is-slider .products-cards-grid{grid-auto-columns:calc((100% - 16px)/2);gap:16px}
  .pr-assure-row{grid-auto-flow:row;grid-template-columns:repeat(2,1fr)}
  .pr-as:nth-child(odd){border-inline-start:0}
  .pr-as:nth-child(n+3){border-top:1px solid var(--pr-line)}
  .pr-story-row{grid-template-columns:1fr}
  .pr-story-media{max-width:520px;width:calc(100% - 24px);margin-inline:auto}
  .pr-story-media::before{inset:-12px auto auto -12px}
}
@media (max-width:640px){
  .pr-hd .pr-ic--wa{display:none}
  .pr-hd .header-logo img{height:40px;max-width:150px}
  .pr-tagline{font-size:7.5px;letter-spacing:.2em}
  .pr-hero{height:78vh;min-height:480px}
  .pr-hero .hero-subtitle{font-size:15px}
  .pr-ads{grid-template-columns:1fr;gap:16px}
  .pr-card-name{font-size:17px}
  .pr-card-body{padding-top:14px}
  .pr-card-cat{font-size:11.5px}
  .pr-price .price-current{font-size:15px}
  .pr-as{padding:24px 10px}
  .pr-ft-cols{flex-direction:column;align-items:center;gap:34px}
  .pr-ft-bottom{justify-content:center;text-align:center}
  body.pr .related-products .products-cards-grid{--pr-cols:2;--pr-gap-x:16px}
}

/* Countdown: the shared product.css pins it absolutely on desktop (tuned for matjari), which lands on the order box here — keep it in the flow above the box, as on mobile. */
@media (min-width:992px){body.pr .product-countdown{position:static;inset:auto;max-width:440px;margin:14px 0;z-index:auto}}
