/* قالب Signature: تصميم كامل مستقل يمكن تفعيله من لوحة التحكم */
body[data-theme="signature"]{
  --navy:#14161b;
  --navy2:#25282f;
  --orange:#b78a43;
  --orange2:#d9b879;
  --cream:#f3f0e8;
  --white:#fff;
  --ink:#1d2026;
  --muted:#777b80;
  --line:#ddd8cc;
  color:var(--ink);
  background:
    linear-gradient(90deg,rgba(183,138,67,.025) 1px,transparent 1px),
    var(--cream);
  background-size:46px 46px;
}

/* الهيدر والتنقل */
body[data-theme="signature"] .site-header{
  height:112px!important;
  min-height:112px!important;
  padding:10px clamp(24px,6vw,100px)!important;
  gap:30px;
  color:var(--ink);
  background:rgba(247,245,239,.94)!important;
  border-top:5px solid var(--navy);
  border-bottom:1px solid #d8d2c5;
  box-shadow:0 14px 45px rgba(32,27,20,.07);
  backdrop-filter:blur(18px);
}
body[data-theme="signature"] .site-header::after{
  content:"";
  position:absolute;
  bottom:-1px;
  right:6vw;
  width:90px;
  height:2px;
  background:linear-gradient(90deg,var(--orange),transparent);
}
body[data-theme="signature"] .site-header .logo-wrap{
  width:220px!important;
  height:88px!important;
  flex:0 0 220px!important;
}
body[data-theme="signature"] .site-header .logo-wrap img{
  filter:drop-shadow(0 8px 15px rgba(34,28,18,.14))!important;
  animation:none;
}
body[data-theme="signature"] .logo-fallback{color:var(--navy);text-shadow:none}
body[data-theme="signature"] .search{
  max-width:610px;
  height:54px;
  margin:auto;
  padding:4px;
  background:#fff;
  border:1px solid #d8d2c6;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(38,32,23,.055);
}
body[data-theme="signature"] .search input{color:var(--ink);padding-inline:18px}
body[data-theme="signature"] .search input::placeholder{color:#9a978f}
body[data-theme="signature"] .search button{
  width:45px;
  height:45px;
  flex:0 0 45px;
  color:#ead5aa;
  background:var(--navy);
  border-radius:9px;
  box-shadow:none;
}
body[data-theme="signature"] .admin-link,
body[data-theme="signature"] .back-link{
  color:var(--ink);
  padding:10px 13px;
  border:1px solid #d6d0c4;
  border-radius:9px;
  background:#fff;
  font-size:12px;
}
body[data-theme="signature"] .categories{
  top:112px;
  gap:7px;
  padding:11px 6vw;
  background:rgba(20,22,27,.97);
  border-bottom:0;
  box-shadow:0 12px 35px rgba(18,19,23,.12);
}
body[data-theme="signature"] .category{
  color:#c5c3bd;
  background:transparent;
  border-color:#383b42;
  border-radius:8px;
  font-size:12px;
}
body[data-theme="signature"] .category:hover,
body[data-theme="signature"] .category.active{
  color:#19150e;
  background:linear-gradient(145deg,#e0c184,#a9782e);
  border-color:#d9b66f;
}

/* الواجهة الرئيسية */
body[data-theme="signature"] .hero-store{
  position:relative;
  min-height:620px;
  padding:80px clamp(30px,9vw,145px);
  color:var(--ink);
  background:
    radial-gradient(circle at 79% 45%,rgba(183,138,67,.13),transparent 24%),
    linear-gradient(112deg,#f8f6f1 0 65%,#e5ded0 65%)!important;
  border-bottom:1px solid #d9d2c5;
}
body[data-theme="signature"] .hero-store::before{
  content:"SIGNATURE";
  position:absolute;
  left:4vw;
  bottom:10px;
  color:rgba(27,29,34,.035);
  font-family:Arial,sans-serif;
  font-size:clamp(70px,12vw,190px);
  font-weight:900;
  letter-spacing:-8px;
  line-height:1;
}
body[data-theme="signature"] .hero-store::after{
  content:"";
  position:absolute;
  top:52px;
  right:5vw;
  width:125px;
  height:125px;
  border:1px solid rgba(183,138,67,.34);
  border-radius:50%;
  box-shadow:0 0 0 22px rgba(183,138,67,.035),0 0 0 44px rgba(183,138,67,.025);
}
body[data-theme="signature"] .hero-copy{position:relative;z-index:3;max-width:700px}
body[data-theme="signature"] .hero-store .kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  color:#8d672a;
  background:#eee5d4;
  border:1px solid #dfcfaf;
  border-radius:6px;
  font-size:11px;
  letter-spacing:.4px;
}
body[data-theme="signature"] .hero-store .kicker::before{content:"";width:22px;height:1px;background:#a77b35}
body[data-theme="signature"] .hero-store h1{
  max-width:760px;
  margin:23px 0 20px;
  color:#1b1d22;
  font-size:clamp(47px,6.4vw,88px);
  font-weight:800;
  line-height:1.14;
  letter-spacing:-2px;
}
body[data-theme="signature"] .hero-store h1 em{
  position:relative;
  color:#a8782d;
}
body[data-theme="signature"] .hero-store h1 em::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-4px;
  width:65%;
  height:3px;
  background:linear-gradient(90deg,#b78a43,transparent);
}
body[data-theme="signature"] .hero-store p{max-width:580px;color:#696d73;font-size:18px;line-height:1.9}
body[data-theme="signature"] .shop-now{
  min-width:170px;
  justify-content:space-between;
  color:#f7eacf;
  background:var(--navy);
  border:1px solid var(--navy);
  border-radius:8px;
  box-shadow:0 14px 30px rgba(20,22,27,.16);
  transition:.25s ease;
}
body[data-theme="signature"] .shop-now:hover{transform:translateY(-3px);background:#292c32}

body[data-theme="signature"] .hero-showcase{width:min(36vw,500px);height:420px}
body[data-theme="signature"] .showcase-frame{
  width:325px;
  height:365px;
  color:#202229;
  background:linear-gradient(152deg,#fff 0 66%,#ebe6dc 66%);
  border:1px solid #d7c8a7;
  border-radius:4px;
  box-shadow:26px 26px 0 #1b1d22,0 40px 90px rgba(49,39,21,.22);
  transform:rotate(-2deg);
}
body[data-theme="signature"] .showcase-frame::before{height:5px;background:#b78a43}
body[data-theme="signature"] .showcase-frame strong{font-size:44px}
body[data-theme="signature"] .showcase-frame i{background:#b78a43}
body[data-theme="signature"] .floating-tag{
  width:76px;
  height:76px;
  color:#211a0f;
  background:linear-gradient(145deg,#e2c486,#ae7d30);
  border-radius:50%;
  box-shadow:0 15px 35px rgba(60,43,17,.2);
  font-size:11px;
}
body[data-theme="signature"] .tag-two{color:#eee3ca;background:#1a1c21;border-radius:5px}

/* الأقسام والمنتجات */
body[data-theme="signature"] .products-section{max-width:1460px;padding-block:85px}
body[data-theme="signature"] .curated-section.curated-alt{
  background:
    linear-gradient(90deg,rgba(183,138,67,.025) 1px,transparent 1px),
    #eae5da;
  background-size:42px 42px;
  border-color:#d8d0c0;
}
body[data-theme="signature"] .section-heading{position:relative;padding-right:22px}
body[data-theme="signature"] .section-heading::before{
  content:"";
  position:absolute;
  top:3px;
  right:0;
  width:4px;
  height:58px;
  background:linear-gradient(#c9a35e,#8d6220);
  border-radius:99px;
}
body[data-theme="signature"] .section-heading span{color:#9a6f27;font-size:11px;letter-spacing:.5px}
body[data-theme="signature"] .section-heading h2{color:#202229;font-size:clamp(31px,3vw,43px)}
body[data-theme="signature"] .section-subtitle{color:#777b80!important}

body[data-theme="signature"] .product-card{
  color:#25282e;
  background:#fff;
  border:1px solid #ded8cc;
  border-radius:18px;
  box-shadow:0 14px 38px rgba(46,37,25,.055);
}
body[data-theme="signature"] .product-card:hover{
  border-color:#c9ad77;
  box-shadow:0 28px 55px rgba(61,45,22,.13);
  transform:translateY(-9px)!important;
}
body[data-theme="signature"] .card-image{background:#eeeae2}
body[data-theme="signature"] .card-image::after{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:11px;
  pointer-events:none;
}
body[data-theme="signature"] .card-image img{object-fit:cover}
body[data-theme="signature"] .sale{top:20px;right:20px;color:#f8ebcf;background:#191b20;border-radius:7px}
body[data-theme="signature"] .views-badge{right:auto;left:15px;color:#5b503e;background:rgba(250,247,240,.9);border-color:#d9d0bf}
body[data-theme="signature"] .video-badge{right:14px;left:auto;color:#f3e5c7;background:#191b20}
body[data-theme="signature"] .card-body{padding:20px}
body[data-theme="signature"] .card-category{color:#9c7129}
body[data-theme="signature"] .card-body h3{color:#24272d;font-weight:800}
body[data-theme="signature"] .card-body p{color:#777d84}
body[data-theme="signature"] .card-bottom{border-color:#ebe7df}
body[data-theme="signature"] .price strong{color:#2a2d32}
body[data-theme="signature"] .arrow{color:#ecd9b2;background:#1a1c21;transition:.25s}
body[data-theme="signature"] .product-card:hover .arrow{color:#20180c;background:#d2ad67;transform:translateX(-3px)}
body[data-theme="signature"] .loader i{border-color:#d9d3c8;border-top-color:#a8792e}

body[data-theme="signature"][data-categories-style="cards"] .categories{
  top:auto;
  padding:0;
  background:transparent;
  box-shadow:none;
}
body[data-theme="signature"][data-categories-style="cards"] .category{
  color:#26292f;
  background:#fff;
  border-color:#ded8cc;
  border-radius:14px;
}
body[data-theme="signature"][data-categories-style="cards"] .category.active{color:#f5e8cc;background:#181a1f}
body[data-theme="signature"][data-categories-style="cards"] .category-mark{color:#9c7129;background:#f7f0e3;border-color:#e5d3ae}

/* صفحة المنتج */
body[data-theme="signature"] .detail-main{
  padding-block:65px 90px;
  background:
    radial-gradient(circle at 90% 5%,rgba(183,138,67,.09),transparent 24%),
    var(--cream);
}
body[data-theme="signature"] .swipe-stage{background:#e8e2d7;border:1px solid #d8d0c0;border-radius:22px}
body[data-theme="signature"] .product-detail{
  overflow:hidden;
  background:#fff;
  border-radius:20px;
  box-shadow:0 30px 80px rgba(42,34,22,.12);
}
body[data-theme="signature"] .detail-image{background:#eae6dd}
body[data-theme="signature"] .detail-image::after{
  content:"";
  position:absolute;
  inset:20px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:12px;
  pointer-events:none;
}
body[data-theme="signature"] .detail-info{padding:clamp(35px,5vw,70px)}
body[data-theme="signature"] .detail-category{display:inline-flex;padding:6px 9px;color:#8f6624;background:#f6efe1;border:1px solid #e6d4b1;border-radius:6px}
body[data-theme="signature"] .detail-info h1{color:#202229;font-size:clamp(36px,4vw,54px);line-height:1.25}
body[data-theme="signature"] .product-meta span{color:#6f747a;background:#f7f5f0;border-color:#e0dbd1}
body[data-theme="signature"] .detail-price strong{color:#a57529}
body[data-theme="signature"] .description{color:#676d74;border-color:#e5e0d7}
body[data-theme="signature"] .countdown{color:#f5e8cf;background:#191b20;border-radius:10px}
body[data-theme="signature"] .countdown b{color:#d8b46f}
body[data-theme="signature"] .buy-button{
  color:#f8ebd0;
  background:linear-gradient(135deg,#23262c,#111318);
  border:1px solid #111318;
  border-radius:9px;
  box-shadow:0 15px 32px rgba(20,22,27,.16);
}
body[data-theme="signature"] .product-swipe-nav a{color:#34383e;background:#fff;border-color:#d8d2c7}
body[data-theme="signature"] .product-swipe-nav a:hover{color:#8d6523;border-color:#c6a568}
body[data-theme="signature"] .swipe-hint i{background:#b78a43;box-shadow:0 0 0 4px rgba(183,138,67,.11)}
body[data-theme="signature"] .product-video{background:#181a1f;border-radius:18px;box-shadow:0 25px 65px rgba(20,22,27,.14)}
body[data-theme="signature"] .product-video>div:first-child span{color:#d6b36f}

/* التذييل */
body[data-theme="signature"] footer{
  position:relative;
  padding:58px;
  color:#8f9297;
  background:
    radial-gradient(circle at 50% 0,rgba(183,138,67,.12),transparent 30%),
    #111318;
  border-top:1px solid #2b2e34;
}
body[data-theme="signature"] .footer-logo{color:#eee3cc;letter-spacing:4px}
body[data-theme="signature"] .footer-logo span{color:#c99f55}

/* الموبايل */
@media(max-width:760px){
  body[data-theme="signature"] .site-header,
  body[data-theme="signature"] .product-header{
    min-height:0!important;
    height:auto!important;
    padding:12px 16px 18px!important;
    background:
      radial-gradient(circle at 50% 35%,rgba(183,138,67,.1),transparent 35%),
      #f4f1e9!important;
    border-top:5px solid #17191e;
    border-bottom:1px solid #d8d1c4!important;
  }
  body[data-theme="signature"] .site-header::after{display:none}
  body[data-theme="signature"] .site-header .logo-wrap{
    width:min(66vw,270px)!important;
    height:175px!important;
    margin:0 auto 10px!important;
    flex:none!important;
  }
  body[data-theme="signature"] .product-header .logo-wrap{
    width:min(55vw,230px)!important;
    height:150px!important;
  }
  body[data-theme="signature"] .site-header .menu-toggle,
  body[data-theme="signature"] .product-header .menu-toggle{
    top:18px;
    right:16px;
    color:#d6b573;
    background:#17191e;
    border-color:#292d33;
    box-shadow:0 9px 24px rgba(20,21,24,.16);
  }
  body[data-theme="signature"] .product-header .back-link{
    top:30px;
    left:16px;
    color:#34373d;
    background:#fff;
    border-color:#d9d2c6;
  }
  body[data-theme="signature"] .site-header .search{
    height:58px;
    background:#fff;
    border-color:#d5cec0;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(45,36,23,.07);
  }
  body[data-theme="signature"] .site-header .search input{color:#282b31}
  body[data-theme="signature"] .site-header .search input::placeholder{color:#98958e}
  body[data-theme="signature"] .site-header .search button{color:#ead7af;background:#17191e}
  body[data-theme="signature"] .site-header .mobile-menu,
  body[data-theme="signature"] .product-header .mobile-menu{
    color:#fff;
    background:rgba(20,22,27,.98);
    border-color:#35383e;
    border-top-color:#c69e55;
    box-shadow:0 24px 60px rgba(0,0,0,.34);
  }
  body[data-theme="signature"] .mobile-menu-title{color:#d6b573}

  body[data-theme="signature"] .hero-store{
    min-height:auto;
    padding:58px 20px 32px;
    color:#202229;
    text-align:center;
    background:
      radial-gradient(circle at 50% 35%,rgba(183,138,67,.12),transparent 27%),
      linear-gradient(180deg,#f7f5ef,#e9e3d7)!important;
    border-bottom-color:#d6cebf;
  }
  body[data-theme="signature"] .hero-store::before{left:-15px;bottom:220px;color:rgba(27,29,34,.028);font-size:70px;letter-spacing:-4px}
  body[data-theme="signature"] .hero-store::after{right:-65px;bottom:175px;top:auto;width:170px;height:170px;border-color:rgba(183,138,67,.18)}
  body[data-theme="signature"] .hero-store h1{margin:22px 0 18px;color:#1d1f24;font-size:clamp(37px,10vw,51px);line-height:1.3;letter-spacing:-1px}
  body[data-theme="signature"] .hero-store p{color:#686d73;font-size:15px}
  body[data-theme="signature"] .hero-store .kicker{color:#8b6425;background:#eee5d5;border-color:#decba6}
  body[data-theme="signature"] .hero-store .shop-now{display:none}
  body[data-theme="signature"] .mobile-features{border-top-color:#cfc6b6}
  body[data-theme="signature"] .mobile-features article{
    color:#eee1c7;
    background:linear-gradient(150deg,#202329,#13151a);
    border-color:#363940;
    box-shadow:0 12px 27px rgba(20,22,27,.12);
  }
  body[data-theme="signature"] .mobile-features svg{stroke:#d1ac65}
  body[data-theme="signature"] .products-section{padding-block:55px}
  body[data-theme="signature"] .section-heading{padding-right:15px}
  body[data-theme="signature"] .section-heading::before{height:48px}
  body[data-theme="signature"] .product-card{border-radius:14px}
  body[data-theme="signature"] .card-image::after{inset:8px}
  body[data-theme="signature"] .views-badge{left:9px;bottom:9px;padding:5px 7px}
  body[data-theme="signature"] .detail-main{padding:26px 4vw 50px}
  body[data-theme="signature"] .product-detail{border-radius:15px}
  body[data-theme="signature"] .detail-info{padding:28px 22px}
  body[data-theme="signature"] .detail-info h1{font-size:31px}
  body[data-theme="signature"] footer{padding:45px 20px}
}

@media(max-width:430px){
  body[data-theme="signature"] .site-header .logo-wrap{width:min(68vw,245px)!important;height:155px!important}
  body[data-theme="signature"] .hero-store{padding-top:48px}
  body[data-theme="signature"] .hero-store h1{font-size:37px}
  body[data-theme="signature"] .mobile-features{margin-top:52px}
}

@media(prefers-reduced-motion:reduce){
  body[data-theme="signature"] .product-card,
  body[data-theme="signature"] .shop-now,
  body[data-theme="signature"] .arrow{transition:none!important}
}
