
:root {
  --bg: #100d19;
  --card: #1c1728;
  --gold: #ffc45c;
  --text: #fffaf2;
  --muted: #c5bacb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 410px;
  background:
    radial-gradient(ellipse at 80% 20%, #713c65 0, transparent 35%),
    radial-gradient(ellipse at 15% 90%, #54351f 0, transparent 45%),
    var(--bg);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7%;
  border-bottom: 1px solid #ffffff18;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
}

.nav-link {
  color: var(--muted);
}

.hero-content {
  text-align: center;
  max-width: 760px;
  margin: auto;
  padding: 75px 20px 90px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 3px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin: 18px 0;
}

.hero-content > p:not(.eyebrow) {
  color: var(--muted);
}

.primary-btn,
.inquiry-btn {
  display: inline-block;
  background: var(--gold);
  color: #211407;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
}

.primary-btn {
  margin-top: 20px;
}

.catalog {
  max-width: 1180px;
  padding: 65px 22px;
  margin: auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2,
.notice h2 {
  font-size: 2rem;
  margin: 6px 0;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}

.filters input,
.filters select {
  min-width: 0;
  padding: 13px;
  border: 1px solid #494052;
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}

.filters input {
  flex: 1;
}

.filters select {
  width: 190px;
}

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

.product-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid #ffffff12;
  border-radius: 14px;
}

.product-card img {
  width: 100%;
  height: 150px;
  padding: 8px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
}

.product-info {
  padding: 18px;
}

.product-info h3 {
  margin: 4px 0 8px;
}

.product-info p {
  color: var(--muted);
  margin: 8px 0 14px;
}

.category-tag {
  color: var(--gold);
  font-size: 0.78rem;
}

.price {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 14px;
}

.inquiry-btn {
  text-align: center;
  width: 100%;
  cursor: pointer;
}

.notice {
  text-align: center;
  padding: 40px 22px;
  background: #1b1524;
}

.notice p {
  max-width: 680px;
  margin: auto;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card img {
    height: 155px;
  }

  .product-info {
    padding: 12px;
  }

  .filters {
    flex-direction: column;
  }

  .filters select {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 220px;
  }

  .navbar {
    padding: 18px;
  }
}

.delivery-banner {
  display: inline-block;
  margin: 22px auto 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #ffc45c, #ff963c);
  color: #241506;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 5px 20px #ffb34740;
}

.logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffc45c;
}


/* ===== SK Firework Pune homepage promotional banner ===== */
.home-banner-hero {
  min-height: 0;
  background: #fff;
}

.banner-navbar {
  background: #100d19;
}

.home-banner-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}

.home-banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Makes the Explore Our Catalog button shown in the banner clickable. */
.banner-catalog-link {
  position: absolute;
  left: 39%;
  bottom: 1.8%;
  width: 22%;
  height: 9%;
  border-radius: 999px;
  z-index: 2;
}

.banner-catalog-link:focus-visible {
  outline: 4px solid #111;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .banner-navbar {
    padding: 14px 18px;
  }

  .banner-navbar .logo {
    font-size: 1rem;
  }

  .home-banner-wrap {
    overflow-x: hidden;
  }

  .home-banner-image {
    width: 155%;
    max-width: none;
    transform: translateX(-17.5%);
  }

  .banner-catalog-link {
    left: 32%;
    bottom: 1.8%;
    width: 36%;
    height: 9%;
  }
}

@media (max-width: 430px) {
  .home-banner-image {
    width: 185%;
    transform: translateX(-23%);
  }

  .banner-catalog-link {
    left: 28%;
    width: 44%;
  }
}


/* ===== Mobile homepage banner fix =====
   Show the COMPLETE banner on phones; do not crop left/right. */
@media (max-width: 760px) {
  .home-banner-wrap {
    width: 100%;
    overflow: hidden;
    background: #fff;
  }

  .home-banner-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    object-fit: contain !important;
  }

  .home-banner-hero {
    min-height: 0 !important;
    height: auto !important;
  }

  .banner-catalog-link {
    left: 39% !important;
    bottom: 1.8% !important;
    width: 22% !important;
    height: 9% !important;
  }

  body {
    overflow-x: hidden;
  }
}

@media (max-width: 430px) {
  .home-banner-image {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .banner-catalog-link {
    left: 39% !important;
    width: 22% !important;
  }
}


/* ===== Category filter ===== */
.category-filter-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffbd4a;
}

@media (max-width: 760px) {
  /* Reduce unnecessary black space before the product controls. */
  #catalog {
    padding-top: 42px !important;
  }

  #catalog .section-header,
  #catalog .catalog-header {
    margin-bottom: 24px !important;
  }

  .category-filter-label {
    margin-top: 12px;
  }
}


/* ===== Clickable category cards ===== */
.category-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0 34px}.category-card{padding:0;border:2px solid rgba(255,255,255,.14);border-radius:18px;overflow:hidden;background:#fff;color:#15121d;text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease;box-shadow:0 8px 24px rgba(0,0,0,.18)}.category-card:hover{transform:translateY(-3px);border-color:#ffbd4a}.category-card.active{outline:3px solid #ffbd4a;outline-offset:2px}.category-card img{width:100%;height:145px;object-fit:cover;display:block}.category-card span{display:flex;flex-direction:column;padding:12px 14px}.category-card b{font-size:1rem}.category-card small{margin-top:4px;color:#666}.category-card span::after{content:'→';position:absolute}.category-card{position:relative}.category-card span::after{right:14px;bottom:17px;font-size:1.35rem;color:#111}
@media(max-width:900px){.category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#catalog{padding-top:28px!important}.section-heading{margin-bottom:18px!important}.category-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 26px}.category-card img{height:105px}.category-card span{padding:9px 10px}.category-card b{font-size:.86rem}.category-card small{font-size:.72rem}.category-card span::after{right:9px;bottom:12px;font-size:1rem}}


/* ===== FINAL SK Firework Pune theme ===== */

/* Increase upper promotional banner height */
.home-banner-image {
  width: 100% !important;
  height: clamp(430px, 39vw, 650px) !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* Compact festive Explore Our Products section — CSS only */
#catalog {
  position: relative;
  overflow: hidden;
  padding-top: 26px !important;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,189,74,.20) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 22%, rgba(255,84,48,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 72%, rgba(255,189,74,.12) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 72%, rgba(255,106,48,.12) 0 1px, transparent 2px),
    linear-gradient(135deg,#090713 0%,#171020 50%,#090713 100%) !important;
}

#catalog::before,
#catalog::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: -190px;
  border-radius: 50%;
  pointer-events: none;
}
#catalog::before {
  left: -120px;
  background: radial-gradient(circle,rgba(255,184,61,.35),transparent 68%);
}
#catalog::after {
  right: -120px;
  background: radial-gradient(circle,rgba(255,72,42,.25),transparent 68%);
}
#catalog > * { position: relative; z-index: 1; }

#catalog .section-header,
#catalog .catalog-header {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}
#catalog .eyebrow { margin: 0 0 4px !important; }
#catalog h2 { margin: 0 0 5px !important; line-height: 1.08; }
#catalog .section-header p,
#catalog .catalog-header p { margin: 0 0 10px !important; }

/* Remove FILTER BY CATEGORY title */
.category-filter-label { display: none !important; }

/* Search + category selector */
.filters,
.catalog-controls,
.filter-bar {
  margin-top: 6px !important;
  margin-bottom: 16px !important;
  gap: 12px !important;
}
#search,
#category {
  border-color: rgba(255,189,74,.30) !important;
  background: rgba(22,16,32,.92) !important;
}
#search:focus,
#category:focus {
  border-color: #ffbd4a !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255,189,74,.12);
}

/* Keep category cards close to controls */
.category-cards { margin-top: 14px !important; }

@media (max-width: 760px) {
  .home-banner-image {
    height: clamp(260px, 68vw, 400px) !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    transform: none !important;
  }
  #catalog { padding-top: 14px !important; }
  #catalog .section-header,
  #catalog .catalog-header { margin-bottom: 8px !important; }
  #catalog .eyebrow { margin-bottom: 2px !important; }
  #catalog h2 { margin-bottom: 3px !important; }
  #catalog .section-header p,
  #catalog .catalog-header p { margin-bottom: 7px !important; }
  .filters,
  .catalog-controls,
  .filter-bar {
    margin-top: 4px !important;
    margin-bottom: 11px !important;
    gap: 9px !important;
  }
  .category-cards { margin-top: 10px !important; }
}

@media (max-width: 430px) {
  .home-banner-image {
    height: clamp(245px, 70vw, 330px) !important;
  }
}

/* Mobile banner: show complete image without cropping */
@media (max-width: 760px) {
  .home-banner-wrap {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    background: #fff;
  }
  .home-banner-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
  .home-banner-hero {
    height: auto !important;
    min-height: 0 !important;
  }
}
@media (max-width: 430px) {
  .home-banner-image {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
}


/* ===== Responsive desktop/mobile homepage banners ===== */
.home-banner-picture {
  display: block;
  width: 100%;
}
.home-banner-picture .home-banner-image {
  display: block;
  width: 100%;
}

@media (max-width: 760px) {
  .home-banner-picture,
  .home-banner-picture .home-banner-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .home-banner-picture .home-banner-image {
    object-fit: contain !important;
    object-position: center top !important;
  }
}


/* ===== Combined cart + WhatsApp checkout ===== */
.add-cart-controls{display:flex;gap:10px;align-items:center;margin-top:auto}.product-qty,.cart-qty{display:flex;align-items:center;border:1px solid rgba(255,189,74,.38);border-radius:10px;overflow:hidden;background:#100c18}.product-qty button,.cart-qty button{border:0;background:transparent;color:#fff;font-size:1.2rem;font-weight:800;width:38px;height:42px;cursor:pointer}.product-qty span,.cart-qty span{min-width:34px;text-align:center;font-weight:800;color:#fff}.add-cart-btn{flex:1;border:0;border-radius:10px;background:#ffc258;color:#120d16;font-weight:900;font-size:1rem;min-height:44px;cursor:pointer}.add-cart-btn:hover{filter:brightness(1.05)}
.cart-panel{margin:38px auto 10px;max-width:1100px;border:1px solid rgba(255,189,74,.28);border-radius:20px;padding:24px;background:rgba(20,15,30,.96);box-shadow:0 18px 50px rgba(0,0,0,.28)}.cart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.cart-head h2{margin:2px 0 0}.clear-cart{border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;border-radius:9px;padding:9px 13px;cursor:pointer}.cart-empty{padding:22px;text-align:center;color:#cfc5d7;border:1px dashed rgba(255,255,255,.16);border-radius:12px}.cart-items{display:grid;gap:10px}.cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto 110px 38px;align-items:center;gap:14px;padding:12px 14px;border-radius:12px;background:#100c18}.cart-product{display:flex;flex-direction:column;gap:3px}.cart-product small{color:#bdb3c5}.cart-subtotal{text-align:right;color:#ffc258}.cart-remove{border:0;background:transparent;color:#ff8d7e;font-size:1.5rem;cursor:pointer}.cart-footer{margin-top:18px}.cart-total{display:flex;justify-content:space-between;align-items:center;font-size:1.25rem;padding:15px 0;border-top:1px solid rgba(255,255,255,.12)}.cart-total strong{font-size:1.55rem;color:#ffc258}.whatsapp-checkout{display:block;text-align:center;text-decoration:none;background:#25D366;color:#07160c;padding:15px 18px;border-radius:12px;font-weight:900;font-size:1.08rem}.cart-note{text-align:center;color:#aaa0b4;font-size:.85rem;margin:10px 0 0}
@media(max-width:760px){.add-cart-controls{gap:7px}.product-qty button{width:34px}.cart-panel{margin-top:24px;padding:15px;border-radius:16px}.cart-head{align-items:flex-start}.cart-row{grid-template-columns:minmax(0,1fr) auto 32px;gap:8px}.cart-subtotal{grid-column:1/3;text-align:left}.cart-qty button{width:31px;height:36px}.cart-qty span{min-width:28px}.whatsapp-checkout{position:sticky;bottom:10px;z-index:4}}


/* ===== Cart UX improvements ===== */
.in-cart-status{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin:4px 0 9px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(37,211,102,.13);
  border:1px solid rgba(37,211,102,.42);
  color:#72e69d;
  font-size:.82rem;
  font-weight:800;
}
.in-cart-status[hidden]{display:none!important}

/* Small always-visible View Cart tab */
.floating-cart{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9999;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,194,88,.55);
  border-radius:999px;
  padding:10px 13px;
  background:#171020;
  color:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.38);
  cursor:pointer;
  font-weight:800;
}
.floating-cart strong{
  min-width:25px;
  height:25px;
  padding:0 6px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#ffc258;
  color:#120d16;
  font-size:.8rem;
}
.floating-cart small{
  color:#ffc258;
  font-weight:900;
  font-size:.82rem;
}
.floating-cart.has-items{
  border-color:#25D366;
  box-shadow:0 10px 30px rgba(37,211,102,.18);
}

/* Checkout stays in the full Cart Summary at the end */
.whatsapp-checkout{
  position:static!important;
}

@media(max-width:760px){
  .floating-cart{
    right:10px;
    bottom:10px;
    padding:9px 11px;
    gap:6px;
    font-size:.84rem;
  }
  .floating-cart strong{
    min-width:23px;
    height:23px;
    font-size:.74rem;
  }
  .floating-cart small{
    font-size:.75rem;
  }
  .in-cart-status{
    font-size:.76rem;
    margin-bottom:7px;
  }
}


/* ===== Reliable View Cart drawer ===== */
.cart-overlay{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(4,3,10,.72);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease, visibility .2s ease;
}
.cart-overlay.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.cart-drawer{
  position:fixed !important;
  top:0;
  right:0;
  z-index:10001;
  width:min(460px,100%);
  height:100dvh;
  max-width:none !important;
  margin:0 !important;
  border-radius:20px 0 0 20px !important;
  overflow-y:auto;
  transform:translateX(105%);
  visibility:hidden;
  transition:transform .25s ease, visibility .25s ease;
  box-shadow:-20px 0 60px rgba(0,0,0,.48) !important;
}
.cart-drawer.is-open{
  transform:translateX(0);
  visibility:visible;
}
.cart-drawer-close{
  position:sticky;
  top:10px;
  float:right;
  z-index:20;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#ffc258;
  color:#160f19;
  font-size:1.7rem;
  font-weight:900;
  line-height:1;
  cursor:pointer;
}
body.cart-open{overflow:hidden}

@media(max-width:760px){
  .cart-drawer{
    top:auto;
    bottom:0;
    width:100%;
    height:auto;
    max-height:88dvh;
    border-radius:22px 22px 0 0 !important;
    transform:translateY(105%);
  }
  .cart-drawer.is-open{transform:translateY(0)}
}
