
:root{
  --bg:#0b0f14;
  --panel:#0f1623;
  --panel2:#111826;
  --gold:#d4af37;
  --gold2:#b08d57;
  --text:#e9eef7;
  --muted:#b9c0cc;
  --shadow: 0 12px 30px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Tahoma, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 70% 20%, rgba(212,175,55,.10), transparent 60%),
              radial-gradient(900px 500px at 30% 60%, rgba(176,141,87,.12), transparent 55%),
              var(--bg);
  color:var(--text);
  direction: rtl;
}

a{color:inherit}
.container{max-width:1180px;margin:0 auto;padding:0 16px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(90deg, rgba(11,15,20,.95), rgba(17,24,38,.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212,175,55,.22);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  min-width:240px;
}
.brand img{width:48px;height:48px;border-radius:12px; box-shadow: 0 8px 18px rgba(0,0,0,.45)}
.brand .name{
  font-weight:900; letter-spacing:.5px;
  background: linear-gradient(135deg, #ffd700, var(--gold2), #ffcc66);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow: 0 0 22px rgba(212,175,55,.20);
  font-size:18px;
}
.brand .sub{color:var(--muted); font-size:12px; margin-top:2px}

.nav{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  padding:10px 12px; border-radius:12px;
  text-decoration:none;
  color:rgba(233,238,247,.92);
  border:1px solid rgba(212,175,55,.10);
  background: rgba(15,22,35,.35);
}
.nav a.active{border-color: rgba(212,175,55,.35); background: rgba(212,175,55,.10)}
.nav a:hover{border-color: rgba(212,175,55,.28)}

.actions{display:flex; gap:10px; align-items:center; justify-content:flex-end; min-width:240px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:14px; text-decoration:none; font-weight:800;
  border:1px solid rgba(212,175,55,.22);
  background: rgba(15,22,35,.55);
  color:var(--text);
}
.btn.gold{
  background: linear-gradient(135deg, #ffd700, var(--gold2));
  color:#0b0f14;
  border-color: rgba(255,215,0,.25);
  box-shadow: 0 12px 24px rgba(212,175,55,.12);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}

.hero{
  padding:44px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background: linear-gradient(180deg, rgba(15,22,35,.92), rgba(11,15,20,.92));
  border:1px solid rgba(212,175,55,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:18px}
.hero h1{
  margin:0 0 10px;
  font-size:42px; line-height:1.2;
}
.brand-big{
  font-weight:1000;
  background: linear-gradient(135deg, #ffd700, var(--gold2), #ffcc66);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow: 0 0 26px rgba(212,175,55,.22);
}
.hero p{margin:0;color:var(--muted);line-height:1.9}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background: rgba(17,24,38,.6);
  border:1px solid rgba(212,175,55,.16);
  color:rgba(233,238,247,.92);
  font-size:13px; font-weight:700;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}

.hero-logo{
  display:flex; align-items:center; justify-content:center; padding:18px;
  position:relative; overflow:hidden;
}
.hero-logo:before{
  content:"";
  position:absolute; inset:-60px;
  background: radial-gradient(circle at 50% 40%, rgba(212,175,55,.20), transparent 55%);
  filter: blur(2px);
}
.hero-logo img{
  width:min(360px, 80%);
  height:auto;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  position:relative;
}

.section{padding:22px 0}
.section h2{margin:0 0 10px; font-size:22px}
.muted{color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:12px;
}
.cat{
  padding:14px 12px;
  border-radius:16px;
  text-decoration:none;
  background: rgba(15,22,35,.65);
  border:1px solid rgba(212,175,55,.14);
  text-align:center;
  font-weight:900;
}
.cat small{display:block; color:var(--muted); font-weight:700; margin-top:6px}
.cat:hover{border-color: rgba(212,175,55,.30)}

.filters{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin-top:10px;
}
.input, select{
  background: rgba(15,22,35,.65);
  border:1px solid rgba(212,175,55,.14);
  border-radius:14px;
  padding:10px 12px;
  color:var(--text);
  outline:none;
}
.input{min-width:240px}
.products{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.product{
  overflow:hidden;
  display:flex; flex-direction:column;
}
.product .thumb{
  aspect-ratio: 16/10;
  background: rgba(0,0,0,.2);
  display:flex; align-items:center; justify-content:center;
}
.product .thumb img{width:100%; height:100%; object-fit:cover}
.product .body{padding:14px}
.product h3{margin:0 0 8px; font-size:18px}
.price{font-weight:1000; color:var(--gold); margin:6px 0}
.tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.pill{
  padding:6px 10px; border-radius:999px;
  background: rgba(17,24,38,.65);
  border:1px solid rgba(212,175,55,.12);
  font-size:12px; color:rgba(233,238,247,.92); font-weight:800;
}
.product .actions2{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.smallbtn{padding:9px 12px; border-radius:12px; font-weight:900; font-size:13px}

.footer{
  padding:26px 0 34px;
  color:var(--muted);
  border-top:1px solid rgba(212,175,55,.14);
  margin-top:24px;
}

.notice{
  margin-top:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed rgba(212,175,55,.28);
  background: rgba(15,22,35,.35);
  color:rgba(233,238,247,.92);
}

@media(max-width: 1020px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(3, 1fr)}
  .products{grid-template-columns: repeat(2, 1fr)}
  .brand{min-width:auto}
  .actions{min-width:auto}
}
@media(max-width: 560px){
  .grid{grid-template-columns: repeat(2, 1fr)}
  .products{grid-template-columns: 1fr}
  .hero h1{font-size:34px}
}
/* === Mobile Fixes (SouVeniR) === */
html, body { overflow-x: hidden; }

@media (max-width: 768px){

  /* Topbar layout */
  .topbar{ padding: 10px 12px; }
  .topbar-inner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  /* Brand */
  .brand{
    justify-content: center;
    gap: 10px;
  }
  .brand img{ width: 44px; height: 44px; }

  /* Nav buttons */
  .nav{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .nav a{
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    border-radius: 14px;
  }

  /* Actions buttons (call / whatsapp) */
  .actions{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
  }
  .actions .btn{ width: 100%; justify-content: center; }

  /* Hero + sections spacing */
  .hero, .section{ padding-top: 16px; }
  h1{ font-size: 28px; line-height: 1.2; }
  h2{ font-size: 22px; }

  /* Product cards images */
  .thumb img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
  }

  /* Make cards breathe */
  .card{ padding: 14px; }
}
/* === Fix overlap in shop page (desktop) === */
#catGrid{
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.filters{
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
  clear: both;
}

.filters .input,
.filters select,
.filters button{
  height: 42px;
}

/* make sure product grid starts after filters */
.products{
  margin-top: 14px;
  clear: both;
}

/* Responsive tweaks */
@media (max-width: 1200px){
  #catGrid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  #catGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Categories grid (Shop) */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

/* Filters under categories */
.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 1200px){
  .cat-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .cat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cat-grid{
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 1200px){ .cat-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 768px){ .cat-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }