:root{--accent:#0066cc;--muted:#666;--bg:#f7f7f9}
    *{box-sizing:border-box}

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:Inter,system-ui,Segoe UI,Roboto,Arial;
    margin:0;
    background:var(--bg);
    color:#111;
}

button{
  background:var(--accent);
  color:#fff;
  border:none;
  padding:12px 14px;
  border-radius:10px;
  cursor:pointer;
  font-size:15px;
  font-weight:600;
}
    button.ghost{background:transparent;color:var(--accent);border:1px solid var(--accent)}

    input,textarea,select{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:15px;
}

label{font-weight:600;font-size:13px;margin-bottom:6px;display:block}
.empty{padding:36px;text-align:center;color:var(--muted)}  
.muted{color:var(--muted);font-size:13px}  
.price{font-weight:700;color:var(--accent)}
.mrp{
    color:#d00;
    text-decoration:line-through;
    margin-left:8px;
}
/* Discount badge */
    .discount-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;

  background: #fff4f4;
  color: #c00;
  border: 1px solid #ffd6d6;
  border-radius: 999px;
}

.thumbs {
  display: flex;
  gap: 6px;
}

.thumbs .thumb {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.thumbs .thumb:hover {
  border-color: #0066cc;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
/* Product Details Main Image */
#productDetailsView .main-img {
  width: 100%;
  max-width: 520px;      /* desktop limit */
  max-height: 420px;     /* prevent oversized image */
  object-fit: contain;  /* show full image without crop */
  border-radius: 12px;
  background: #f7f7f7;
}
/* Product details layout container */
.product-details-container{
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:20px;
}
/* Related products images */
#relatedProducts img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}
#relatedProducts .card {
  cursor: pointer;
}
#productDetailsView {
  display: flex;
  justify-content: center;
}

/* ✅ PERFECT mobile + desktop fit */
#productDetailsView img.main-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

/* 🔽 Product details thumbnails (SMALL & CONTROLLED) */
#productDetailsView #detailsThumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

#productDetailsView #detailsThumbs img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

#productDetailsView #detailsThumbs img:hover {
  transform: scale(1.08);
  border-color: #0066cc;
}


/* ✅ Product DETAILS image must NOT be cropped */
#productDetailsView .product-gallery{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;

    width:100%;
    max-width:520px;
    margin:0 auto;

    height:auto !important;
    overflow:visible !important;
}
.cart{background:#fff;padding:12px;border:1px solid #eee;border-radius:10px;position:sticky;top:20px}
    .cart h2{margin:0 0 8px}
    .cart-list{max-height:360px;overflow:auto;margin-bottom:12px}
    .cart-item{display:flex;gap:8px;align-items:center;border-bottom:1px dashed #eee;padding:8px 0}
    .cart-item img{width:56px;height:56px;object-fit:cover;border-radius:6px}
    .qty{display:flex;align-items:center;gap:6px}
 footer{padding:18px;text-align:center;color:var(--muted);font-size:14px}
 .cart-count{background:#ff3b30;color:#fff;padding:4px 8px;border-radius:999px;font-weight:700;font-size:13px}
 .filters{display:flex;gap:8px;flex-wrap:wrap}
    .filter-btn{background:#fff;border:1px solid #ddd;padding:6px 8px;border-radius:8px;cursor:pointer}
    .product-meta{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:8px}

     .modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;

  z-index: 1000000; /* ✅ MUST be higher than cartBox */
}
    .modal{background:#fff;padding:18px;border-radius:12px;max-width:720px;width:100%;max-height:90vh;overflow:auto}
    .form-row{display:flex;gap:8px}
    .form-row .col{flex:1}

     /* ===== SIDE MENU ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 2500; /* ABOVE HEADER */
}

.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  padding: 16px;
  transition: left 0.3s ease;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu.open {
  left: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.menu-header button {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.side-menu a {
  text-decoration: none;
  color: #111;
  padding: 10px;
  border-radius: 6px;
  font-weight: 500;
}

.side-menu a:hover {
  background: #f1f1f1;
}

/* 🙈 Hide Aghori AI when cart is open */
body.cart-open #aghori-root,
body.cart-open #aghori-frame,
body.cart-open #aghori-avatar {
  display: none !important;
}

/* =========================
   🔥 HERO CAMPAIGN SLIDER
========================= */

.hero-slide{
  position:relative;
  min-height:360px;
  border-radius:22px;
  overflow:hidden;
  display:flex;
  align-items:center;
  padding:40px;
  background:#7c2d12;
  color:#fff;
}

.hero-slide img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-overlay{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.55) 35%,
      rgba(0,0,0,0.15) 70%,
      rgba(0,0,0,0.05) 100%
    );

  backdrop-filter: blur(1px);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:540px;
}

.hero-title{
  font-size:52px;
  font-weight:900;
  line-height:1.05;
  text-shadow:0 4px 16px rgba(0,0,0,0.45);
}

.hero-subtitle{
  margin-top:16px;
  font-size:19px;
  line-height:1.6;
  opacity:0.96;
  text-shadow:0 2px 10px rgba(0,0,0,0.4);
}

.hero-btn{
  margin-top:28px;
  background:#fff;
  color:#7c2d12;
  border:none;
  padding:16px 28px;
  border-radius:16px;
  font-weight:800;
  cursor:pointer;
  font-size:17px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25);

  transition:0.25s;
}

.hero-btn:hover{
  transform:translateY(-2px) scale(1.03);
}

.hero-countdown{
  margin-top:20px;
  display:inline-flex;
  align-items:center;
  gap:10px;

  background:rgba(255,255,255,0.14);

  padding:12px 18px;

  border-radius:16px;

  font-weight:800;

  backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.2);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.18);
}
@keyframes heroFade{

  from{
    opacity:0;
    transform:scale(1.02);
  }

  to{
    opacity:1;
    transform:scale(1);
  }

}
.service-hero {
  background: linear-gradient(90deg,#fff3e0,#ffe0b2);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
  text-align: center;
}
.service-hero h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #7a3e00;
}

.service-hero .services-line {
  font-size: 15px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: #7a3e00;
  font-weight: 500;
}

.service-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== Service Dropdown ===== */
.service-dropdown{
  position:relative;
  display:inline-block;
}

.service-secondary{
  display:flex;
  align-items:center;
  gap:6px;
}

.arrow{
  font-size:12px;
  transition:0.2s ease;
}

.service-menu{
  position:absolute;
  top:110%;
  left:0;
  min-width:150px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  padding:8px 0;
  display:none;
  border:1px solid #eee;
}

.service-menu a{
  display:block;
  padding:12px 18px;
  text-decoration:none;
  color:#222;
  font-size:14px;
  font-weight:500;
  transition:0.2s ease;
}

.service-menu a:hover{
  background:#f7f7f9;
}

.seo-content{
  margin-top:50px;
  padding:25px;
  background:#fff;
  border-radius:12px;
  border:1px solid #eee;
}

.seo-content h2{
  margin-top:0;
  font-size:28px;
}

.seo-content p{
  color:#444;
  line-height:1.8;
}

.service-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:14px;
margin-top:20px;
margin-bottom:20px;
}

.service-card{
    cursor:pointer;

    background:linear-gradient(180deg,#ffffff,#fafafa);

    border:1px solid #ececec;

    border-radius:18px;

    padding:14px;

    min-height:120px;

    text-align:center;

    text-decoration:none;

    color:#111;

    transition:.3s;
}

.service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.service-card h3{
  margin:8px 0 4px;
  font-size:18px;
}

.service-card p{
  margin:0;
  font-size:14px;
  color:#666;
}

.service-card:nth-child(1){
  border-top:4px solid #ff7a00;
}

.service-card:nth-child(2){
  border-top:4px solid #7c3aed;
}

.service-card:nth-child(3){
  border-top:4px solid #16a34a;
}
.account-btn{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}

.service-primary {
  background: #ff7a00;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.service-secondary {
  background: #fff;
  border: 2px solid #ff7a00;
  color: #ff7a00;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}