/* ====== Copy of provided template styles (index + details) ====== */

:root{
  --blue:#0d6efd;
  --dark:#0b1220;
  --muted:#6b7280;
  --bg:#f6f7fb;
  --card:#ffffff;
  --border:#e6e8ef;
  --green:#198754;
  --shadow: 0 10px 28px rgba(11,18,32,.08);
  --radius:14px;
}

*{ margin:0; padding:0; box-sizing:border-box; font-family: Arial, sans-serif; }
body{ background:var(--bg); color:#111827; }
a{ text-decoration:none; color:inherit; }

/* Header */
.header{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}
.brand-logo{
  width:40px; height:40px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--blue), #22c55e);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:900;
  box-shadow:0 8px 20px rgba(13,110,253,.25);
}
.brand-title{
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.1;
}
.brand-title small{
  display:block;
  font-size:12px;
  color:var(--muted);
  font-weight:600;
  margin-top:2px;
}

.search-wrap{
  flex:1;
  display:flex;
  gap:10px;
  align-items:center;
}
.search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  background:#f3f4f6;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
}
.search input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  font-size:14px;
}
.search button{
  border:0;
  background:transparent;
  cursor:pointer;
  font-weight:800;
  color:var(--blue);
  font-size:14px;
}

.call{
  min-width:260px;
  text-align:right;
}
.call b{ color:#111827; }
.call small{
  display:block;
  color:var(--muted);
  margin-top:2px;
  font-weight:600;
}

/* Nav */
.nav{
  background:#0b1220;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.nav-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
}
.nav-links a{
  color:#fff;
  font-weight:700;
  font-size:14px;
  opacity:.95;
}
.nav-links a:hover{ color:#93c5fd; }
.nav-badge{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  color:#e5e7eb;
}

/* Slider */
.slider{
  max-width:1200px;
  margin:16px auto 0;
  padding:0 16px;
}
.slider-card{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  background:#fff;
}
.slider-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:0;
  min-height:220px;
}
.slider-left{
  padding:22px;
  background:linear-gradient(135deg, rgba(13,110,253,.12), rgba(34,197,94,.10));
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
}
.slider-left h1{
  font-size:26px;
  line-height:1.2;
  color:#0b1220;
}
.slider-left p{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  max-width:520px;
}
.slider-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}
.btn{
  border:0;
  cursor:pointer;
  font-weight:900;
  border-radius:12px;
  padding:11px 14px;
  font-size:14px;
}
.btn-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 24px rgba(13,110,253,.25);
}
.btn-outline{
  background:#fff;
  border:1px solid var(--border);
  color:#111827;
}

.slider-right{
  background-image:url('https://images.unsplash.com/photo-1512496015851-a90fb38ba796?auto=format&fit=crop&w=1200&q=80');
  background-size:cover;
  background-position:center;
  position:relative;
  min-height:220px;
}
.slider-right::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(11,18,32,.55), rgba(11,18,32,.05));
}
.slider-stats{
  position:absolute;
  bottom:14px;
  left:14px;
  right:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  z-index:2;
}
.stat{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  padding:10px 12px;
  min-width:140px;
}
.stat b{ display:block; font-size:16px; color:#0b1220; }
.stat small{ color:var(--muted); font-weight:700; }

.slider-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.30);
  color:#fff;
  cursor:pointer;
  font-size:22px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  user-select:none;
}
.slider-nav.prev{ left:12px; }
.slider-nav.next{ right:12px; }
#sliderBg{ transition: background-image .6s ease; }

/* Main */
.container{
  max-width:1200px;
  margin:18px auto 40px;
  padding:0 16px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:26px 0 14px;
}
.section-head h2{
  font-size:20px;
  color:#0b1220;
  font-weight:900;
}
.section-head p{
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: 0 6px 18px rgba(11,18,32,.04);
  overflow:hidden;
  transition:.2s transform, .2s box-shadow;
  display:flex;
  flex-direction:column;
  min-height:320px;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11,18,32,.10);
}
.thumb{
  height:170px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.thumb img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.card-body{
  padding:12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.model{
  font-weight:900;
  font-size:14px;
  line-height:1.25;
  color:#0b1220;
  min-height:36px;
}
.sub{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  min-height:16px;
}
.price-row{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.price{
  color:var(--green);
  font-weight:1000;
  font-size:16px;
  white-space:nowrap;
}
.details-link{
  background:rgba(13,110,253,.10);
  color:var(--blue);
  border:1px solid rgba(13,110,253,.20);
  padding:8px 10px;
  border-radius:12px;
  font-weight:900;
  font-size:12px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* Footer */
footer{
  background:#0b1220;
  color:#e5e7eb;
  padding:22px 16px;
  text-align:center;
  font-weight:700;
}

/* ====== Details page styles ====== */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:50;
}
.topbar-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.back{
  border:0;
  background:rgba(13,110,253,.10);
  border:1px solid rgba(13,110,253,.22);
  color:var(--blue);
  font-weight:900;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}

.wrap{
  max-width:1200px;
  margin:18px auto 40px;
  padding:0 16px;
}
.hero{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:0;
}
.left{
  padding:18px;
  border-right:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(13,110,253,.08), transparent);
}
.left img{
  max-width:360px;
  width:100%;
  height:auto;
  object-fit:contain;
  background:#f3f4f6;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
}
.right{ padding:18px; }
.title{
  font-size:26px;
  font-weight:1000;
  line-height:1.2;
  margin-bottom:8px;
}
.price-detail{
  color:var(--green);
  font-weight:1000;
  font-size:22px;
  margin-bottom:14px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}
.chip{
  background:#f3f4f6;
  border:1px solid var(--border);
  border-radius:999px;
  padding:9px 12px;
  font-weight:900;
  font-size:13px;
  color:#111827;
}
.chip small{
  color:var(--muted);
  font-weight:800;
  margin-right:6px;
}

.specs{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:10px;
}
.spec{
  background:#fafafa;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
}
.spec small{
  display:block;
  color:var(--muted);
  font-weight:800;
  margin-bottom:6px;
}
.spec strong{
  font-size:14px;
  line-height:1.35;
  word-break:break-word;
}

.table-wrap{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
table{ width:100%; border-collapse:collapse; }
th, td{
  padding:12px 12px;
  border-bottom:1px solid #f0f0f0;
  text-align:left;
  font-size:14px;
  vertical-align:top;
}
th{
  width:35%;
  background:#fafafa;
  color:#374151;
  font-weight:900;
}
tr:last-child td, tr:last-child th{ border-bottom:0; }

.empty{
  padding:14px;
  background:#fff3cd;
  border:1px solid #ffeeba;
  border-radius:14px;
  color:#7a5a00;
  font-weight:900;
  display:none;
  margin-top:14px;
}

/* Offer highlight */
.offer-wrap{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.offer-price{
  color:var(--green);
  font-weight:1000;
  font-size:22px;
}
.offer-old{
  color:#6b7280;
  font-weight:900;
  text-decoration: line-through;
  font-size:14px;
}
.offer-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(13,110,253,.10);
  border:1px solid rgba(13,110,253,.20);
  color:var(--blue);
  font-weight:1000;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  width:max-content;
}

/* responsive */
@media (max-width: 1100px){
  .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .call{ min-width:220px; }
}
@media (max-width: 820px){
  .header-inner{ flex-wrap:wrap; }
  .brand{ min-width:unset; }
  .call{ text-align:left; min-width:unset; width:100%; }
  .slider-inner{ grid-template-columns:1fr; }
  .slider-right{ min-height:180px; }
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-grid{ grid-template-columns:1fr; }
  .left{ border-right:0; border-bottom:1px solid var(--border); }
  .specs{ grid-template-columns:1fr; }
}
@media (max-width: 480px){
  .grid{ grid-template-columns: 1fr; }
  .nav-links{ gap:12px; }
  .nav-badge{ width:100%; text-align:center; }
}
/* Product card offer style */
.product-card{
  position:relative;
}

.discount-badge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:6;
  background:#000;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  padding:8px 10px;
  border-radius:2px;
}

.price-wrap-offer{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}

.old-price{
  color:#b9b9b9;
  font-size:14px;
  text-decoration:line-through;
  font-weight:400;
}

.new-price{
  color:#111;
  font-size:16px;
  font-weight:500;
}
.price-wrap-offer{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.old-price-red{
  color:#000000;              /* লাল কালি */
  font-weight:900;
  font-size:14px;
  text-decoration: line-through; /* কেটে দেবে */
  text-decoration-thickness: 1.5px;
}

.new-price{
  color:var(--green);
  font-weight:1000;
  font-size:16px;
  white-space:nowrap;
}
/* Custom logo image */
.brand-logo-image-link{
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-logo-image{
  display:block;
  max-height:48px;
  width:auto;
  height:auto;
  max-width:220px;
  border-radius:0 !important;
  object-fit:contain;
  box-shadow:none;
}
.brand-logo-image-link{ display:flex; align-items:center; justify-content:center; }

.brand-logo-image{
  display:block;
  max-height:48px;
  width:auto;
  height:auto;
  max-width:220px;
  border-radius:0 !important;     /* গোল করবে না */
  object-fit:contain;            /* এটাচ করা ইমেজের মত দেখাবে */
	.topbar-brand-logo{
  display:block;
  max-height:28px;   /* আপনার topbar অনুযায়ী অ্যাডজাস্ট করুন */
  width:auto;
  height:auto;
  border-radius:0 !important;
  object-fit:contain;
}
}