:root{
  --green:#17463d;
  --green2:#0f352f;
  --gold:#c9a45c;
  --gold2:#ead7a2;
  --burgundy:#6a1e30;
  --cream:#f8f2e7;
  --white:#fff;
  --text:#211b18;
  --muted:#786e65;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0!important;
  background:
    radial-gradient(circle,rgba(201,164,92,.10) 1px,transparent 1.5px) 0 0/26px 26px,
    var(--cream)!important;
  color:var(--text);
}

/* الشريط العلوي */
body:before{
  content:"✦  LUBABA LUXURY  •  لبابة الفخامة  ✦";
  display:block;
  height:29px;
  line-height:29px;
  overflow:hidden;
  text-align:center;
  background:var(--green);
  color:var(--gold2);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
}

/* الرأس */
header,.header{
  background:rgba(255,255,255,.98)!important;
  border-bottom:0!important;
  box-shadow:0 3px 18px rgba(23,70,61,.08)!important;
}

header:after,.header:after{
  content:"";
  display:block;
  height:4px;
  background:
    linear-gradient(45deg,transparent 35%,var(--gold) 36% 44%,transparent 45%) 0 0/14px 14px,
    linear-gradient(-45deg,transparent 35%,var(--gold) 36% 44%,transparent 45%) 7px 0/14px 14px;
  opacity:.8;
}

.header-in{
  min-height:64px!important;
}

.logo{
  color:var(--green)!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
}

.logo small,.logo-ar{
  color:var(--burgundy)!important;
  font-weight:800;
}

.header-actions{
  gap:6px!important;
}

.action,.back{
  border:1px solid rgba(201,164,92,.55)!important;
  border-radius:10px!important;
  color:var(--green)!important;
  background:#fff!important;
  font-weight:800;
}

.action:hover,.back:hover{
  background:var(--green)!important;
  color:#fff!important;
}

/* العناوين */
main h1,.section-title{
  color:var(--green)!important;
  font-weight:950!important;
}

main h1{
  font-size:clamp(28px,7vw,42px)!important;
  margin:20px 0 5px!important;
}

main h1:after,.section-title:after{
  content:"✦";
  display:block;
  width:max-content;
  margin:5px auto 0;
  color:var(--gold);
  font-size:16px;
}

.sub,.section-subtitle{
  color:var(--muted)!important;
}

/* المنتجات */
.products{
  gap:12px!important;
}

.card,.product{
  background:#fff!important;
  border:1px solid rgba(201,164,92,.30)!important;
  border-radius:14px!important;
  box-shadow:0 5px 20px rgba(23,70,61,.07)!important;
  overflow:hidden;
}

.card img,.product-image img{
  background:#eee5d6!important;
}

.card img{
  transition:transform .25s ease;
}

.card:hover img,.product:hover img{
  transform:scale(1.025);
}

.body,.product-info{
  padding:11px!important;
}

.name,.product-name{
  color:var(--green)!important;
  font-weight:900!important;
  line-height:1.45!important;
}

.price,.product-price{
  color:var(--burgundy)!important;
  font-weight:950!important;
}

.meta,.product-meta{
  color:var(--muted)!important;
}

/* أزرار المنتجات */
.view,.primary-btn{
  display:block;
  width:100%;
  text-align:center;
  background:var(--green)!important;
  color:#fff!important;
  border:0!important;
  border-radius:9px!important;
  font-weight:900!important;
  padding:11px!important;
  box-shadow:0 4px 10px rgba(23,70,61,.16);
}

.view:before{
  content:"🛍 ";
}

.view:hover,.primary-btn:hover{
  background:var(--burgundy)!important;
}

/* صفحة المنتج */
.detail{
  gap:18px!important;
  margin:14px 0 40px!important;
}

.gallery,.info{
  background:#fff!important;
  border:1px solid rgba(201,164,92,.32)!important;
  border-radius:18px!important;
  box-shadow:0 7px 25px rgba(23,70,61,.08)!important;
}

.main-image{
  background:
    radial-gradient(circle,rgba(201,164,92,.10) 1px,transparent 1.5px) 0 0/24px 24px,
    #eee6da!important;
  border-radius:14px!important;
}

.thumbs{
  display:flex!important;
  gap:8px!important;
  overflow-x:auto!important;
  padding:8px 2px 6px!important;
}

.thumb{
  flex:0 0 68px!important;
  width:68px!important;
  height:78px!important;
  border:2px solid #ded2c0!important;
  border-radius:9px!important;
}

.thumb.active{
  border-color:var(--gold)!important;
  box-shadow:0 0 0 2px rgba(201,164,92,.20);
}

.info h1{
  color:var(--green)!important;
  font-weight:950!important;
}

.option-title{
  color:var(--green)!important;
  font-weight:950!important;
}

.options{
  gap:7px!important;
}

.opt{
  min-width:52px!important;
  padding:10px 13px!important;
  border:1px solid #d7cbbb!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--green)!important;
  font-weight:850!important;
  text-align:center;
}

.opt.active{
  background:var(--green)!important;
  color:#fff!important;
  border-color:var(--green)!important;
}

.add{
  background:var(--burgundy)!important;
  border-radius:11px!important;
  font-weight:950!important;
  box-shadow:0 6px 15px rgba(106,30,48,.18);
}

.add:hover{
  background:var(--green)!important;
}

/* الكمية */
.qty button{
  border-color:#d7cbbb!important;
  color:var(--green)!important;
  background:#fff!important;
  border-radius:9px!important;
}

.qty input{
  border-color:#d7cbbb!important;
  border-radius:9px!important;
}

/* الصفحة الرئيسية */
.hero-box{
  border-radius:20px!important;
  overflow:hidden;
}

.categories{
  gap:10px!important;
}

.category{
  border:1px solid rgba(201,164,92,.35)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(23,70,61,.06);
}

.category h3{
  color:var(--green)!important;
}

/* الموبايل */
@media(max-width:800px){

  body:before{
    height:26px;
    line-height:26px;
    font-size:9px;
  }

  .wrap{
    width:calc(100% - 14px)!important;
  }

  .header-in{
    min-height:56px!important;
  }

  .header-actions{
    gap:4px!important;
  }

  .action{
    padding:7px 8px!important;
    font-size:11px!important;
  }

  main h1{
    margin-top:14px!important;
    font-size:27px!important;
  }

  .sub{
    margin-bottom:13px!important;
    font-size:12px!important;
  }

  .products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .card{
    border-radius:11px!important;
  }

  .card img{
    aspect-ratio:4/5!important;
  }

  .body{
    padding:8px!important;
  }

  .name{
    font-size:12.5px!important;
  }

  .price{
    font-size:15px!important;
    margin-top:5px!important;
  }

  .meta{
    font-size:10.5px!important;
    line-height:1.5!important;
  }

  .view{
    padding:9px 4px!important;
    font-size:11.5px!important;
  }

  .detail{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:10px!important;
  }

  .gallery,.info{
    padding:9px!important;
    border-radius:14px!important;
  }

  .back{
    margin-top:7px!important;
    padding:7px 9px!important;
    font-size:11px!important;
  }

  .info h1{
    font-size:24px!important;
  }

  .option{
    margin-top:13px!important;
  }

  .opt{
    min-width:48px!important;
    padding:9px 10px!important;
    font-size:13px!important;
  }

  .thumb{
    flex-basis:61px!important;
    width:61px!important;
    height:70px!important;
  }

  .add{
    padding:14px!important;
    font-size:15px!important;
  }
}

/* صورة المستخدم الأصلية داخل مربع أناقة تليق بك */
.hero-box {
  min-height: 0 !important;
  aspect-ratio: 921 / 1516;
  background:
    linear-gradient(
      90deg,
      rgba(20, 15, 8, .38),
      rgba(20, 15, 8, .04)
    ),
    var(--hero-image, url('/lubaba-hero.jpg')) center top / cover no-repeat !important;
  display: flex;
  align-items: flex-end !important;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100% !important;
  padding: 24px 16px !important;
  text-align: center;
  color: #fff !important;
  background: linear-gradient(
    0deg,
    rgba(0, 35, 28, .78),
    rgba(0, 35, 28, 0)
  );
}

.hero h1,
.hero p,
.hero .eyebrow {
  color: #fff !important;
  text-shadow: 0 2px 5px rgba(0,0,0,.7);
}

.hero .primary-btn {
  background: #064c3f !important;
  color: #fff !important;
  border: 1px solid #c99632 !important;
}

@media (min-width: 700px) {
  .hero-box {
    aspect-ratio: 16 / 9;
    background-size: auto 100% !important;
    background-color: #f5ead7 !important;
  }
}


/* تحسين وضوح الكتابة في بانر لبابة */
.hero .eyebrow {
  display: none !important;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem) !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
}

.hero p {
  font-size: clamp(1.15rem, 4vw, 1.5rem) !important;
  line-height: 2 !important;
  font-weight: 600 !important;
}

/* Compact emerald and gold header */
header.header {
  background: #064c3f !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.18) !important;
  border: 0 !important;
  padding: 0 !important;
}

header.header:after {
  display: none !important;
}

header.header .brand-ribbon {
  display: flex !important;
}

header.header .header-inner {
  min-height: 54px !important;
  height: auto !important;
  padding: 7px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: #064c3f !important;
}

header.header .logo {
  color: #e5c477 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

header.header .logo-ar {
  display: none !important;
}

header.header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

header.header .icon-btn {
  color: #f3dfaa !important;
  background: transparent !important;
  border: 1px solid rgba(229,196,119,.55) !important;
  border-radius: 50% !important;
  min-width: 38px !important;
  min-height: 38px !important;
}

header.header .nav {
  display: none !important;
}

@media (min-width: 700px) {
  header.header .nav {
    display: flex !important;
  }
}

/* ===== LUBABA: compact green luxury header ===== */

.header .brand-ribbon {
  display: flex !important;
}

header.header {
  background: #064c3f !important;
  border-bottom: 1px solid #c9a45c !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.16) !important;
}

header.header:after {
  display: none !important;
}

header.header .header-inner {
  min-height: 58px !important;
  height: 58px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
}

header.header .logo {
  color: #f3d27a !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

header.header .logo-ar {
  color: #fff !important;
  font-size: 13px !important;
}

header.header .nav a {
  color: #fff !important;
}

header.header .icon-btn {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(201,164,92,.7) !important;
}

header.header .icon-btn:hover {
  background: #c9a45c !important;
  color: #064c3f !important;
}

@media (max-width: 699px) {
  header.header .header-inner {
    min-height: 54px !important;
    height: 54px !important;
    padding: 0 8px !important;
  }

  header.header .logo {
    font-size: 15px !important;
  }

  header.header .logo-ar {
    font-size: 11px !important;
  }
}


/* نجمتان ذهبيتان بجانب شعار لبابة */
header.header .logo::before,
header.header .logo::after {
  content: "✦";
  display: inline-block;
  color: #f3d27a;
  font-size: 15px;
  margin: 0 7px;
  text-shadow: 0 0 5px rgba(243,210,122,.45);
  vertical-align: middle;
}


/* LUBABA: hide top generated brand text */
/* الشريط العلوي */
body:before {
  display: none !important;
  content: none !important;
}


/* LUBABA_SMALL_GREEN_STATS_BAR */
header.header > #storeBrandRibbon {
  display: flex !important;
  width: 100% !important;
  min-height: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 2px 10px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  background: #064c3f !important;
  color: #fff !important;
  border-bottom: 1px solid #c9a45c !important;
  overflow: hidden !important;
}

header.header > #storeBrandRibbon #storeStatsRibbon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  direction: ltr !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

header.header > #storeBrandRibbon #storeStatsRibbon span {
  color: #fff !important;
  white-space: nowrap !important;
}

