:root{
  /* Light theme palette */
  --bg: #f7fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --muted: #475569;
  --text: #0f172a;
  --text-soft: #1f2937;
  --brand: #2a55e5;
  --brand-dark: #1d3fa6;
  --brand-light: #eaf1ff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(42,85,229,0.08);
  --container: clamp(280px, 92vw, 1200px);
  --gap: clamp(.85rem, 1.5vw, 1.25rem);
  --h1: clamp(2rem, 4vw + 1rem, 3.4rem);
  --h2: clamp(1.3rem, 1.8vw + .8rem, 2rem);
  --h3: clamp(1rem, 1.1vw + .7rem, 1.15rem);
}
/* Ensure box-sizing for all elements */
*, *::before, *::after {
  box-sizing: border-box;
}
html{scroll-behavior:smooth}
body{
  margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
  color: var(--text);
}
img{max-width:100%; display:block}
.container{width:var(--container); margin-inline:auto; padding-inline:clamp(12px,2vw,24px)}

/* Header (light) */
header{position:sticky; top:0; z-index:40; backdrop-filter:saturate(140%) blur(10px); background:rgba(255,255,255,.9); border-bottom:1px solid var(--border)}
.nav{display:flex; align-items:center; justify-content:space-between; gap:10px; height:66px}
.brand{display:flex; align-items:center; gap:.7rem; text-decoration:none; color:var(--text)}
.logo{width:36px; height:36px; border-radius:10px; background: radial-gradient(circle at 30% 30%, #e5e7eb, #ffffff 65%); display:grid; place-items:center; box-shadow: var(--shadow); border:1px solid var(--border)}
.logo svg{width:22px; height:22px}
.brand span{font-weight:800; letter-spacing:.2px}
.nav a.link{color:var(--text-soft); text-decoration:none; padding:.5rem .8rem; border-radius:999px}
.nav a.link:hover{background:#eef2ff}
.nav-actions{display:flex; align-items:center; gap:.5rem}
.cta{background:var(--brand); color:#fff; font-weight:700; padding:.6rem .95rem; border:none; border-radius:999px; cursor:pointer}
.cta:hover{background:var(--brand-dark)}
.cta:focus-visible{outline:none; box-shadow:0 0 0 3px rgba(37,99,235,.35)}
.btn-outline{display:inline-block; padding:.6rem .95rem; border:1px solid var(--brand); border-radius:999px; text-decoration:none; color:var(--brand); background:#fff}
.btn-outline:hover{background:var(--brand-light)}

/* HERO */
.hero{padding: clamp(28px, 6vw, 80px) 0}
.hero--light{background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)}
.hero--full{width:100vw; margin-left:50%; transform:translateX(-50%); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(16px, 3vw, 36px); align-items:center}
.headline{font-size:var(--h1); line-height:1.05; letter-spacing:-.02em; margin:0 0 10px; color:var(--text)}
.sub{color:var(--text-soft); font-size: clamp(1rem, 1.2vw + .6rem, 1.1rem)}
.badges{display:flex; gap:.5rem; flex-wrap:wrap; margin:.9rem 0}
.badge{background: var(--brand-light); color: var(--brand); border-radius:999px; padding:.3em .9em; font-weight:600; font-size:.95em}
.hero-actions{display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.6rem}
.hero-tools{display:flex; flex-direction:column; gap:.6rem; margin-top:12px}
#searchInput{width:100%; background:#fff; border:1px solid var(--border); color:var(--text); border-radius:12px; padding:.8rem .95rem}

.hero-illustration{position:relative; border-radius:20px; overflow:hidden; border:1px solid var(--border); background:#fff; box-shadow: var(--shadow)}
.hero-illustration img{width:100%; height:100%; object-fit:cover; aspect-ratio: 16/9}

/* Sections */
section{scroll-margin-top:90px}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:var(--gap); margin: 28px 0 14px}
.section-head h2{font-size:var(--h2); margin:0; color:var(--text)}
.section-head p{margin:0; color:var(--muted)}

/* Grid */
.grid{display:grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap)}
.col-3{grid-column: span 3}
.col-4{grid-column: span 4}
.col-6{grid-column: span 6}
@media (max-width: 1100px){ .col-3{grid-column: span 4} }
@media (max-width: 860px){ .col-3, .col-4{grid-column: span 6} .hero-grid{grid-template-columns:1fr} }
@media (max-width: 560px){ .col-3, .col-4, .col-6{grid-column: span 12} }

/* Cards (light) */
.card{background: var(--surface); border-radius: var(--radius); border:1px solid var(--border); overflow:hidden; display:flex; flex-direction:column; min-height:100%; box-shadow: var(--shadow)}
.card-media{position:relative; width:100%; height:250px; background:#fff; overflow:hidden; display:flex; align-items:center; justify-content:center}
.card-media img{width:100%; height:100%; object-fit:cover}
.pill{position:absolute; top:10px; left:10px; background:#1118270d; color:#111827; font-size:.75rem; padding:.25rem .5rem; border-radius:999px; border:1px solid var(--border)}
.card-body{padding:14px 14px 12px; display:flex; flex-direction:column; gap:12px; flex:1}
.title{font-size:var(--h3); font-weight:700; margin:0; color:var(--text)}
.muted{color:var(--muted)}
.price{font-weight:800; letter-spacing:.3px; color:#0b3b2a}
.row{display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap}

.variant-select, .qty-input{background:#fff; border:1px solid var(--border); color:var(--text); border-radius:12px; padding:.55rem .65rem}
.qty-input{width:84px}

.wa-btn{display:inline-flex; align-items:center; gap:.5rem; background: var(--brand); color:#fff; border:none; font-weight:700; padding:.65rem .9rem; border-radius:12px; cursor:pointer}
.wa-btn:hover{background:var(--brand-dark)}
.wa-btn svg{width:18px; height:18px}
.wa-btn:focus-visible{outline:none; box-shadow:0 0 0 3px rgba(37,99,235,.3)}

/* Content media (for poems/quotes/shayari images) */
.content-media { width: 100%; height: 220px; overflow: hidden; border-radius: var(--radius); }
.content-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .content-media { height: 180px; } }

/* Footer */
footer{border-top:1px solid var(--border); margin-top:44px; padding:28px 0; color:#334155}
.small{font-size:.9rem}

/* Utilities */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chips{display:flex; gap:.5rem; flex-wrap:wrap}
.chip{background:#ffffff; border:1px solid var(--border); border-radius:999px; padding:.35rem .7rem; font-size:.85rem; cursor:pointer; color:var(--text-soft)}
.chip[aria-pressed="true"]{background:#dcfce7; border-color:#22c55e}

.content-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.content-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.content-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}

.content-info {
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
}

.content-info .muted {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.content-info blockquote {
  margin: 0 0 1rem 0;
  font-style: italic;
  color: #444;
  font-size: 1rem;
}

.content-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-meta .price {
  font-weight: 600;
  color: #2563eb;
  font-size: 1.1rem;
}

.cat-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  color: #2a55e5;
  gap: 0.2rem;
}
.cat-icon i {
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
}
.cat-icon span {
  font-size: 1rem;
  color: #334155;
}

/* Header Responsive */
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap; /* Prevent wrapping on desktop */
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}
.header-search {
  flex: 1 1 320px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 180px;
}
.header-search input {
  width: 320px;
  max-width: 100%;
  transition: width 0.2s;
  min-width: 0;
  font-size: 1.1rem;
  border: 1.5px solid #2a55e5;
  border-radius: 8px;
  padding: .7rem 1rem;
  background: #fff;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .container.nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .brand {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .header-search {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
  .header-search input {
    width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
    max-width: 100%;
    font-size: 1.1rem;
    border: 1.5px solid #2a55e5;
    border-radius: 8px;
    padding: .7rem 1rem;
    box-sizing: border-box;
    display: block;
    background: #fff;
  }
  .nav-actions {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    display: flex;
    margin-bottom: 0.5rem;
    background: #fff;
  }
  .nav-actions a,
  .nav-actions button {
    flex: 1 1 120px;
    min-width: 120px;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .header-search,
  .nav-actions {
    display: none !important;
  }
  .mobile-search-bar {
    display: block;
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    padding: 0.7rem 1rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 30;
  }
  .mobile-search-bar input {
    width: 100%;
    font-size: 1.1rem;
    border: 1.5px solid #2a55e5;
    border-radius: 8px;
    padding: .7rem 1rem;
    background: #fff;
    box-sizing: border-box;
    display: block;
  }
}

.mobile-search-bar {
  display: none;
}

@media (max-width: 700px) {
  .mobile-search-bar {
    display: block;
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    padding: 0.7rem 1rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 30;
  }
  .mobile-search-bar input {
    width: 100%;
    font-size: 1.1rem;
    border: 1.5px solid #2a55e5;
    border-radius: 8px;
    padding: .7rem 1rem;
    background: #fff;
    box-sizing: border-box;
    display: block;
  }
}

/* Swiper/Slider Responsive */
.hero-swiper {
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(42,85,229,0.10);
  overflow: hidden;
  margin-bottom: 2.5rem;
  height: 400px !important;
  min-height: 180px;
  position: relative;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive height for mobile */
@media (max-width: 700px) {
  .hero-swiper {
    height: 45vw !important;
    min-height: 140px;
    max-height: 300px;
  }
  .hero-swiper .swiper-slide img {
    height: 100%;
    min-height: 140px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }
}

