/* hero */

  .lw-hero{
    --lw-blush:#f7e9e6;
    --lw-rose:#b8657a;
    --lw-rose-deep:#8f3f56;
    --lw-gold:#c9a15f;
    --lw-ink:#2b2320;
    --lw-cream:#fffaf7;
    font-family:'Cairo',sans-serif;

    position:relative;
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    height:88vh;
    height:88svh;
    min-height:520px;
    max-height:820px;
    overflow:hidden;
    background:var(--lw-ink);
  }
  .lw-hero *{ box-sizing:border-box; }

  /* -------- الصور: كروس فيد + كين برنز -------- */
  .lw-hero-stage{ position:absolute; inset:0; }

  .lw-hero-slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 1.4s ease;
  }
  .lw-hero-slide.is-active{
    opacity:1;
    z-index:2;
  }
  .lw-hero-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    animation:lwKenBurns 9s ease-in-out infinite alternate;
  }
  .lw-hero-slide picture{ display:block; width:100%; height:100%; }
  .lw-hero-slide.is-active img{ animation-play-state:running; }
  .lw-hero-slide:not(.is-active) img{ animation-play-state:paused; }

  @keyframes lwKenBurns{
    0%   { transform:scale(1) translate(0,0); }
    100% { transform:scale(1.14) translate(-1.5%, -1.5%); }
  }
  @keyframes lwKenBurnsSoft{
    0%   { transform:scale(1) translate(0,0); }
    100% { transform:scale(1.06) translate(-1%, -1%); }
  }

  .lw-hero-vignette{
    position:absolute; inset:0; z-index:3;
    background:
      linear-gradient(180deg, rgba(43,35,32,.35) 0%, rgba(43,35,32,0) 30%, rgba(43,35,32,0) 60%, rgba(43,35,32,.55) 100%);
    pointer-events:none;
  }

  /* -------- المحتوى فوق الصور -------- */
  .lw-hero-content{
    position:relative;
    z-index:4;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:22px;
    padding:0 20px;
    text-align:center;
  }

  .lw-hero-eyebrow{
    font-family:'Aref Ruqaa', serif;
    font-weight:700;
    font-size:clamp(40px,7vw,88px);
    color:var(--lw-cream);
    text-shadow:0 4px 30px rgba(0,0,0,.45);
    letter-spacing:2px;
    opacity:0;
    transform:translateY(28px);
    animation:lwFadeUp 1s ease .3s forwards;
  }

  .lw-hero-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:var(--lw-cream);
    color:var(--lw-rose-deep);
    font-weight:700;
    font-size:17px;
    padding:16px 36px;
    border-radius:999px;
    text-decoration:none;
    border:1.5px solid var(--lw-gold);
    box-shadow:0 0 0 0 rgba(201,161,95,.55);
    opacity:0;
    transform:translateY(28px);
    animation:
      lwFadeUp 1s ease .6s forwards,
      lwPulse 2.6s ease-in-out 1.6s infinite;
  }
  .lw-hero-cta svg{ transition:transform .25s ease; }
  .lw-hero-cta:hover{
    background:var(--lw-rose-deep);
    color:var(--lw-cream);
    transform:translateY(-4px) scale(1.03);
  }
  .lw-hero-cta:hover svg{ transform:translateX(-4px); }

  @keyframes lwFadeUp{
    to{ opacity:1; transform:translateY(0); }
  }
  @keyframes lwPulse{
    0%   { box-shadow:0 0 0 0 rgba(201,161,95,.55); }
    70%  { box-shadow:0 0 0 18px rgba(201,161,95,0); }
    100% { box-shadow:0 0 0 0 rgba(201,161,95,0); }
  }

  /* -------- نقاط التنقل -------- */
  .lw-hero-dots{
    position:absolute;
    z-index:4;
    bottom:22px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:9px;
  }
  .lw-dot{
    width:9px;
    height:9px;
    border-radius:50%;
    background:rgba(255,255,255,.4);
    border:1.5px solid var(--lw-cream);
    transition:background .3s ease, transform .3s ease;
    cursor:pointer;
  }
  .lw-dot.active{
    background:var(--lw-gold);
    transform:scale(1.25);
  }

  /* ================= موبايل ================= */
  @media (max-width:768px){
    .lw-hero{
      height:72vh;
      height:72svh;
      min-height:420px;
      max-height:640px;
    }
    .lw-hero-content{ gap:14px; padding:0 16px; }
    .lw-hero-eyebrow{ font-size:34px; letter-spacing:1px; }
    .lw-hero-cta{
      font-size:14px;
      padding:13px 24px;
      min-height:46px; /* مساحة لمس مريحة على اللمس */
    }
    .lw-hero-dots{ bottom:calc(14px + env(safe-area-inset-bottom, 0px)); }
    /* تهدئة حركة الزوم على الموبايل عشان متبقاش عنيفة على الصور الطولية */
    .lw-hero-slide img{ animation-name:lwKenBurnsSoft; animation-duration:7s; }
    /* الصورة تظهر كاملة من غير قص على الموبايل */
    .lw-hero-slide{ background:var(--lw-blush); }
    .lw-hero-slide img{ object-fit:contain; }
  }

  /* شاشات موبايل صغيرة جدًا */
  @media (max-width:380px){
    .lw-hero{ min-height:380px; }
    .lw-hero-eyebrow{ font-size:28px; }
    .lw-hero-cta{ font-size:13px; padding:11px 20px; gap:8px; }
    .lw-hero-dots{ gap:7px; }
  }

  /* موبايل بالعرض (لاندسكيب) عشان السيكشن متاخدش الشاشة كلها */
  @media (max-height:480px) and (orientation:landscape){
    .lw-hero{ height:100svh; min-height:280px; max-height:420px; }
    .lw-hero-content{ gap:10px; }
    .lw-hero-eyebrow{ font-size:26px; }
  }

  @media (prefers-reduced-motion: reduce){
    .lw-hero-slide img{ animation:none !important; }
    .lw-hero-eyebrow, .lw-hero-cta{ animation:none !important; opacity:1; transform:none; }
  }

/* categories scroller */


.lw{font-family:'Tajawal',sans-serif;direction:rtl;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw;padding:2rem 0 2.5rem;background:#f8f7f5}

.lw-head{text-align:center;padding:0 1rem;margin-bottom:1.75rem}
.lw-eye{font-size:10px;letter-spacing:.2em;color:#aaa;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px}
.lw-eye::before,.lw-eye::after{content:'';width:24px;height:.5px;background:#ccc}
.lw-title{font-size:24px;font-weight:800;color:#1a1a1a;margin:0 0 5px}
.lw-desc{font-size:13px;color:#777}

.lw-wrap{position:relative;padding:0 4vw}

.lw-scroll{display:flex;flex-direction:row;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-behavior:smooth;cursor:grab;user-select:none}
.lw-scroll::-webkit-scrollbar{display:none}
.lw-scroll.dragging{cursor:grabbing;scroll-behavior:auto}

button.lw-arrow{-webkit-appearance:none;appearance:none;box-sizing:border-box;position:absolute !important;top:50% !important;transform:translateY(-50%);width:38px;height:38px;min-width:38px;min-height:38px;border-radius:50%;background:#ffffff !important;border:1px solid rgba(0,0,0,.12) !important;box-shadow:0 4px 14px rgba(0,0,0,.18);display:flex !important;align-items:center;justify-content:center;cursor:pointer;z-index:999 !important;opacity:1 !important;visibility:visible !important;padding:0;margin:0;transition:transform .2s ease}
button.lw-arrow:hover{transform:translateY(-50%) scale(1.06)}
button.lw-arrow:active{transform:translateY(-50%) scale(.95)}
.lw-arrow svg{width:16px;height:16px;stroke:#ff2d92;flex-shrink:0;display:block}
.lw-arrow.lw-arrow-prev{right:10px}
.lw-arrow.lw-arrow-next{left:10px}
.lw-arrow.lw-arrow-hide{opacity:0 !important;pointer-events:none}

.lwc{position:relative;display:block;text-decoration:none;border-radius:16px;overflow:hidden;border:.5px solid rgba(0,0,0,.07);background:#d6d3ce;flex:0 0 auto;scroll-snap-align:start}
.lwc-wide{width:190px;aspect-ratio:2/3}
.lwc-sq{width:145px;aspect-ratio:1/1}

.lwc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.lwc:hover img{transform:scale(1.05)}

.lwov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.80) 0%,rgba(0,0,0,.1) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:10px 12px}

.lwb{display:inline-block;font-size:9px;letter-spacing:.1em;font-weight:700;color:rgba(255,255,255,.9);background:rgba(255,255,255,.15);border:.5px solid rgba(255,255,255,.3);border-radius:20px;padding:3px 10px;margin-bottom:6px;width:fit-content}
.lwcname{font-size:15px;font-weight:800;color:#fff;margin:0 0 2px;line-height:1.2}
.lwccount{font-size:11px;color:rgba(255,255,255,.6)}
.lwcta{margin-top:5px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:rgba(255,255,255,.8);background:rgba(255,255,255,.12);border:.5px solid rgba(255,255,255,.25);border-radius:20px;padding:4px 10px;width:fit-content;font-family:'Tajawal',sans-serif}
.lwcta svg{width:10px;height:10px}

@media (max-width:480px){
  .lw-arrow{width:32px;height:32px}
  .lw-arrow svg{width:14px;height:14px}
}

/* collections */

/* =============================================
   LWLYA — Product Collections Section
   ============================================= */

.lwlya-collections {
  background: #faf8f5;
  padding: 72px 20px 80px;
  font-family: 'Tajawal', 'Cairo', sans-serif;
}

.lwlya-collections__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.lwlya-collections__header {
  text-align: center;
  margin-bottom: 48px;
}

.lwlya-collections__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #c9a96e;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lwlya-collections__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.2;
}

.lwlya-collections__subtitle {
  font-size: 16px;
  color: #777;
  margin: 0;
}

/* ---- Grid Layout ---- */
.lwlya-collections__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.lwlya-card--tall {
  grid-column: 1;
  grid-row: 1 / 3;
}

.lwlya-card--portrait {
  grid-column: 2;
  grid-row: 1 / 3;
}

.lwlya-card--wide:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.lwlya-card--wide:nth-of-type(4) {
  grid-column: 3;
  grid-row: 2;
}

/* ---- Card Base ---- */
.lwlya-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  background: #e8e4de;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lwlya-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  transform: translateY(-4px);
}

/* Image */
.lwlya-card__img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.lwlya-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.lwlya-card:hover .lwlya-card__img-wrap img {
  transform: scale(1.06);
}

/* Overlay */
.lwlya-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.75) 0%, rgba(10,8,6,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  transition: background 0.3s ease;
}

.lwlya-card:hover .lwlya-card__overlay {
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.22) 60%, transparent 100%);
}

.lwlya-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a96e;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,169,110,0.5);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  width: fit-content;
}

.lwlya-card__name {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.2;
}

.lwlya-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lwlya-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #c9a96e;
  letter-spacing: 0.05em;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lwlya-card:hover .lwlya-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* Footer CTA */
.lwlya-collections__footer {
  text-align: center;
  margin-top: 40px;
}

.lwlya-collections__btn {
  display: inline-block;
  padding: 14px 40px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, transform 0.2s ease;
}

.lwlya-collections__btn:hover {
  background: #c9a96e;
  transform: translateY(-2px);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 900px) {
  .lwlya-collections__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 240px 240px;
  }

  .lwlya-card--tall {
    grid-column: 1;
    grid-row: 1;
  }

  .lwlya-card--portrait {
    grid-column: 2;
    grid-row: 1;
  }

  .lwlya-card--wide:nth-of-type(3) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .lwlya-card--wide:nth-of-type(4) {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}

@media (max-width: 560px) {
  .lwlya-collections {
    padding: 48px 14px 56px;
  }

  .lwlya-collections__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 260px);
    gap: 12px;
  }

  .lwlya-card--tall,
  .lwlya-card--portrait,
  .lwlya-card--wide:nth-of-type(3),
  .lwlya-card--wide:nth-of-type(4) {
    grid-column: 1;
    grid-row: auto;
  }

  .lwlya-card__cta {
    opacity: 1;
    transform: translateY(0);
  }
}
