/* MOMENT — صفحة المنتج (PDP) */
.pdp { background: #0a0a0a; color: #f5f2ec; }

/* ===== هيرو ===== */
.pdp-hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center;
  background-size: cover; background-position: center; overflow: hidden; text-align: center;
}
.pdp-hero-veil { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,6,5,.55) 0%, rgba(8,6,5,.2) 38%, rgba(8,6,5,.9) 100%); }
.pdp-hero-in { position: relative; padding: 0 22px 64px; max-width: 640px; }
.pdp-kicker { letter-spacing: 4px; font-size: 12px; color: #e3dbcd; }
.pdp-name { font-family: 'Prata', serif; font-size: clamp(38px, 9vw, 72px); font-weight: 400; letter-spacing: 3px; margin: 10px 0 2px; text-shadow: 0 6px 30px rgba(0,0,0,.5); }
.pdp-ar { color: #caa24a; font-size: clamp(18px, 4vw, 24px); font-weight: 700; }
.pdp-vibe { color: #e7ded0; font-size: clamp(15px, 2.6vw, 18px); line-height: 1.9; margin: 14px auto 0; max-width: 34em; }
.pdp-meta { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.pdp-price { font-weight: 800; font-size: 22px; color: #fff; }
.pdp-deal { color: #caa24a; font-size: 13.5px; font-weight: 700; margin-top: 10px; }
.pdp-buy .pdp-deal { margin-top: 6px; font-size: 12.5px; }
.pdp-badge { font-size: 12px; font-weight: 800; letter-spacing: .4px; padding: 6px 13px; border-radius: 16px; }
.pdp-badge.feat { background: #0a0a0a; color: #f5f2ec; border: 1px solid rgba(245,242,236,.5); }
.pdp-badge.rare { background: linear-gradient(135deg, #8a6d2f, #caa24a); color: #1a1205; }
.pdp-badge.st-avail { background: #1f7a34; color: #fff; }
.pdp-badge.st-few { background: #caa24a; color: #1a1205; }
.pdp-badge.st-soon { background: #d2691e; color: #fff; }
.pdp-badge.st-last { background: #b3261e; color: #fff; }
.pdp-badge.st-out { background: #4a463f; color: #e8e3d8; }
.pdp-badge.st-back { background: linear-gradient(135deg, #8a6d2f, #caa24a); color: #1a1205; }
.pdp-actions .btn.disabled.back { background: #2b2316; color: #e9d29a; border: 1.5px solid #caa24a; }
.pdp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pdp-actions .btn { background: #f5f2ec; color: #0a0a0a; font-size: 16px; padding: 14px 30px; }
.pdp-actions .btn.ghost { background: transparent; color: #f5f2ec; border: 1.5px solid #f5f2ec; }
.pdp-actions .btn.disabled { background: #5E2828; color: #f5f2ec; pointer-events: none; opacity: .8; }
.pdp-notes { color: #b9b2a4; font-size: 12px; letter-spacing: 1px; margin-top: 16px; }
.pdp-notes.plain { letter-spacing: 0; font-size: 13px; line-height: 1.8; max-width: 34em; margin-inline: auto; }
.pdp-scroll { position: absolute; bottom: 14px; inset-inline-start: 50%; transform: translateX(50%); color: #d8d3c8; font-size: 24px; animation: pdpbob 1.8s ease-in-out infinite; }
@keyframes pdpbob { 0%,100% { transform: translateX(50%) translateY(0); } 50% { transform: translateX(50%) translateY(7px); } }

/* ===== المحتوى ===== */
.pdp-wrap { max-width: 920px; margin: 0 auto; padding: 56px 18px 40px; }
.pdp-sec-h { text-align: center; margin-bottom: 26px; }
.pdp-sec-h small { letter-spacing: 4px; color: #caa24a; font-size: 12px; }
.pdp-sec-h h2 { font-family: 'Prata', serif; font-weight: 400; font-size: clamp(24px, 5vw, 34px); margin-top: 6px; }

.pdp-card-sec { margin-bottom: 64px; }
.pdp-card { display: block; width: 100%; max-width: 640px; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.6); }

.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.pdp-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; }
.pdp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; aspect-ratio: 4/5; }
.pdp-gallery figure:hover img { transform: scale(1.06); }

.pdp-buy {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 20px 22px; margin-bottom: 64px;
}
.pdp-buy-name b { font-size: 20px; letter-spacing: 2px; display: block; }
.pdp-buy-name span { color: #caa24a; font-size: 14px; }
.pdp-buy-right { display: flex; align-items: center; gap: 16px; }
.pdp-buy-right .btn { background: #f5f2ec; color: #0a0a0a; }

/* ===== تسجيل الرغبة (العطر اللي نفد) ===== */
.pdp-actions .btn.want-go { background: transparent; color: #caa24a; border: 1.5px solid #caa24a; text-decoration: none; }
.pdp-want {
  position: relative; text-align: center; scroll-margin-top: 90px;
  background: linear-gradient(180deg, rgba(202,162,74,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(202,162,74,.35); border-radius: 18px; padding: 28px 22px; margin-bottom: 64px;
}
.pdp-want-txt small { letter-spacing: 4px; color: #caa24a; font-size: 12px; }
.pdp-want-txt h2 { font-family: 'Tajawal', sans-serif; font-weight: 800; font-size: clamp(24px, 5vw, 32px); margin: 6px 0 10px; }
html[lang="en"] .pdp-want-txt h2 { font-family: 'Prata', serif; font-weight: 400; }
.pdp-want-txt p { color: #d9d1c3; font-size: 15px; line-height: 1.9; max-width: 36em; margin: 0 auto; }
.want-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; max-width: 700px; margin: 24px auto 0; text-align: start; }
.want-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #b9b2a4; }
.want-field input {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  color: #f5f2ec; font-family: inherit; font-size: 16px; padding: 12px 14px; outline: none; transition: border-color .2s;
}
.want-field input:focus { border-color: #caa24a; }
.want-form .btn { background: #caa24a; color: #1a1205; font-family: inherit; font-size: 16px; font-weight: 800; padding: 13px 26px; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap; }
.want-form .btn:disabled { opacity: .6; cursor: wait; }
.want-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.want-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #b9b2a4; text-align: center; }
.want-msg:empty { display: none; }
.want-msg.err { color: #ff8a80; }
.want-msg.ok { color: #8fdca6; font-weight: 700; line-height: 1.9; margin-top: 18px; }
.want-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #8d877b; text-align: center; }
/* «وبلّغني بالإصدارات القادمة» — اختيارية */
.want-news { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; color: #d9d1c3; cursor: pointer; }
.want-news input { width: 18px; height: 18px; margin: 0; accent-color: #caa24a; flex: none; }

/* عطور ذات صلة */
/* «قد يعجبك أيضًا»: المتوفّر بس، فغالبًا أقل من ٥ — نفس مقاس البطاقة ومتوسّطة بدل ما تتكدّس على طرف */
.pdp-rel-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pdp-rel-grid > .pdp-rel { flex: 0 1 calc((100% - 48px) / 5); min-width: 0; }
.pdp-rel { text-decoration: none; color: inherit; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: transform .3s, box-shadow .3s; }
.pdp-rel:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.pdp-rel img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.pdp-rel-txt { padding: 10px 10px 12px; text-align: center; }
.pdp-rel-txt b { display: block; font-size: 12px; letter-spacing: 1px; }
.pdp-rel-txt span { display: block; color: #caa24a; font-size: 12px; margin-top: 2px; }
.pdp-rel-txt em { display: block; color: #b9b2a4; font-size: 12px; font-style: normal; margin-top: 4px; }
/* انتهت كميته: رمادي وبدون سعر */
.pdp-rel.sold img { filter: grayscale(1) brightness(.65); }
.pdp-rel.sold .pdp-rel-txt b { color: #a39e95; }
.pdp-rel.sold .pdp-rel-txt span { color: #7d786f; }

/* عطر ليلة الإطلاق (window.DROP): الموعد والعدّاد بدل التسجيل */
.pdp-badge.st-drop { background: linear-gradient(135deg, #8a6d2f, #caa24a); color: #1a1205; }
.pdp-drop { text-align: center; }
.pdp-drop .drop-count { display: inline-block; margin-top: 18px; color: #e9d29a; font-weight: 800; font-size: 16px;
  border: 1.5px solid rgba(202,162,74,.6); border-radius: 30px; padding: 9px 22px; }

/* شريط شراء ثابت (جوال) */
.buybar { position: fixed; bottom: 0; inset-inline: 0; z-index: 80; background: rgba(10,10,10,.92); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); transform: translateY(110%); transition: transform .35s ease; }
.buybar.show { transform: translateY(0); }
.buybar-in { max-width: 920px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom,0)); }
.buybar-name b { font-size: 15px; } .buybar-name span { color: #caa24a; font-size: 13px; margin-inline-start: 8px; }
.buybar .btn { background: #f5f2ec; color: #0a0a0a; }
.buybar a.btn { display: inline-flex; align-items: center; padding: 10px 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* منتج بدون صور بعد: خلفية بلون الهوية بدل السواد */
.pdp-hero.noimg { background: radial-gradient(ellipse 80% 60% at 50% 30%, #5E2828, #2a1414 62%, #0a0a0a 100%); }
.pdp-rel-ph { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 6px;
  background: linear-gradient(160deg, #2a1414, #5E2828 72%, #3a2020); color: #ecd9d0; font-size: 11px; letter-spacing: 2px; font-weight: 700; }

/* وصف المنتج + سطور الطمأنة تحت صندوق الشراء */
.pdp-desc { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.pdp-desc p { color: #d9d1c3; font-size: 15.5px; line-height: 2; }
.pdp-assure { list-style: none; display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin: -40px 0 64px; padding: 0; color: #b9b2a4; font-size: 13px; }
.pdp-buy .btn, .buybar .btn { box-shadow: none; }
.buybar .btn { font-size: 15px; padding: 11px 22px; }

/* حركات الظهور */
.pdp .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.pdp .reveal.in { opacity: 1; transform: none; }

@media (max-width: 680px) {
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-rel-grid > .pdp-rel { flex-basis: calc((100% - 24px) / 3); }
  .pdp-rel-txt b { font-size: 11px; letter-spacing: .3px; overflow-wrap: anywhere; }
  .pdp-buy { justify-content: center; text-align: center; }
  .want-form { grid-template-columns: 1fr; }
  .want-form .btn { width: 100%; }
  /* على الجوال: خانة «الإصدارات القادمة» قبل الزر */
  .want-news { order: 1; } .want-form .btn { order: 2; } .want-msg, .want-note { order: 3; }
  .pdp-assure { flex-direction: column; align-items: center; }
}
