
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --green: #1b5e20;
  --deep: #263238;
  --gold: #ff9800;
  --cream: #fffdf5;
  --white: #ffffff;
  --pale-green: #e8f5e9;
  --heading-red: #b71c1c;
  --muted: #607d8b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--deep);
  line-height: 1.55;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 15px 6%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.logo img {
  width: 65px;
  height: 55px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 13px;
}

nav a:hover { color: var(--gold); }

nav button {
  padding: 10px 16px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 550px;
  background:
    radial-gradient(circle at 85% 50%, #1b5e201c, transparent 30%),
    linear-gradient(135deg, #fff8c9, var(--pale-green));
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 65px 9%;
}

.hero-copy { max-width: 650px; }

.gold-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.2;
  color: var(--heading-red);
}

.hero h1 span { color: var(--green); }

.hero h3 {
  margin: 20px 0;
  color: var(--green);
}

.hero-copy > p:not(.gold-label) {
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-image {
  width: 300px;
  min-width: 230px;
  height: 370px;
  background: white;
  border: 3px solid var(--gold);
  border-radius: 160px 160px 18px 18px;
  overflow: hidden;
  box-shadow: 0 15px 50px #0005;
}

.hero-image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
}

#productForm {
  display: grid;
  gap: 12px;
  text-align: left;
}

#productForm input,
#productForm textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c8d3c7;
  border-radius: 5px;
  font: inherit;
}

#productForm textarea {
  min-height: 90px;
  resize: vertical;
}

.price-preview {
  margin: 0;
  font-weight: 700;
}

.price-preview output {
  color: var(--green);
}

#adminProducts .admin-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

#adminProducts .admin-product img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  background: white;
  border: 1px solid #eee;
  border-radius: 5px;
}

#adminProducts .admin-product-info {
  flex: 1;
  min-width: 0;
}

.gold-button {
  display: inline-block;
  padding: 14px 22px;
  background: var(--gold);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 27px;
  background: white;
  color: var(--green);
  font-weight: 700;
}

.section {
  padding: 85px 7%;
  text-align: center;
}

.section h2, .about-section h2,
.location-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 43px);
  margin-bottom: 15px;
  color: var(--green);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 45px;
  text-align: left;
}

.product-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #eee1c6;
  overflow: hidden;
  transition: .3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px #0001;
}

.product-card img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  background: #fff;
  padding: 15px;
}

.product-image {
  background: white;
  min-height: 245px;
  display: grid;
  place-items: center;
}

.product-details { flex: 1; }

.product-details { padding: 20px; }

.product-category {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 7px;
}

.product-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  line-height: 1.3;
  color: var(--heading-red);
}

.product-size, .product-description {
  color: #6d746e;
  font-size: 13px;
  margin-top: 5px;
}

.product-price {
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  margin: 15px 0;
}

.price-on-request {
  font-size: 15px;
  font-weight: 700;
}

.product-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.product-pricing .product-price {
  margin: 0;
}

.original-price {
  color: var(--muted);
  font-size: 13px;
}

.discount-badge {
  padding: 4px 7px;
  border-radius: 4px;
  background: #ffecb3;
  color: #8d4a00;
  font-size: 12px;
  font-weight: 800;
}

.product-details button {
  width: 100%;
  background: var(--green);
  color: white;
  padding: 13px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.product-details button:hover,
.gold-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.store-notice {
  max-width: 720px;
  margin: 20px auto 0;
  color: #71571f;
  background: #f7edcf;
  border: 1px solid #e8d59f;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  color: #6d746e;
  text-align: center;
}

.about-section {
  background: #f1f8e9;
  color: var(--deep);
  padding: 85px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-section > div:first-child { max-width: 700px; }

.about-section p:not(.gold-label) {
  line-height: 1.9;
  margin: 15px 0;
  color: var(--muted);
}

.about-section a, .location-card a {
  color: var(--green);
  font-weight: 700;
}

.about-logo {
  width: min(280px, 100%);
  min-width: 180px;
  padding: 22px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 25px #0002;
}

.about-logo img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.qr-box {
  max-width: 340px;
  margin: 35px auto 0;
  padding: 22px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 35px #0001;
}

.qr-box img { width: 100%; }
.qr-box h3 { margin: 12px; }
.qr-box p { margin: 8px; }
.small { font-size: 12px; color: #777; }

.location-section {
  text-align: center;
  padding: 80px 7%;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.location-card {
  background: white;
  padding: 30px;
  border: 1px solid #e8f5e9;
  border-radius: 10px;
  line-height: 2;
}

footer {
  background: var(--deep);
  color: white;
  text-align: center;
  padding: 45px 15px;
}

footer img {
  width: 100px;
  height: 65px;
  object-fit: contain;
  background: white;
}

footer h2 { color: var(--gold); font-size: 21px; margin: 15px; }
footer p { margin: 12px; color: #ddd; }
footer a { color: var(--gold); }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #0009;
  z-index: 20;
  padding: 20px;
  overflow-y: auto;
}

.cart-panel {
  max-width: 520px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 12px;
}

.cart-panel h2 { margin-bottom: 20px; }
.cart-panel h3 { margin: 20px 0; }
.cart-panel .gold-button { width: 100%; }

.order-confirmation {
  padding: 18px 0;
  text-align: center;
}

.confirmation-check {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--pale-green);
  color: var(--green);
  font-size: 40px;
  font-weight: 800;
}

.order-confirmation p {
  margin: 12px 0 20px;
  line-height: 1.6;
}

#checkoutForm {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

#checkoutForm label {
  font-size: 14px;
  font-weight: 700;
}

#checkoutForm input:not([type="radio"]),
#checkoutForm textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  font: inherit;
}

#checkoutForm textarea {
  min-height: 90px;
  resize: vertical;
}

.payment-method {
  display: grid;
  gap: 10px;
  margin: 10px 0;
  padding: 16px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  background: #fafafa;
}

.payment-method legend {
  padding: 0 5px;
  font-weight: 800;
}

.payment-method label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.upi-payment {
  padding: 16px;
  border-radius: 10px;
  background: var(--pale-green);
}

.upi-payment h3 { color: var(--green); }
.upi-payment p { font-size: 14px; }
.upi-payment .qr-box { margin-top: 14px; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee1c6;
}

.cart-item button {
  background: none;
  border: 0;
  color: #8d3026;
  cursor: pointer;
  white-space: nowrap;
}

.close {
  float: right;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 22px;
}

@media(max-width:750px) {
  .navbar { justify-content: center; }
  nav { justify-content: center; }
  nav a { padding: 4px; }
  .hero { flex-direction: column; text-align: center; }
  .hero-image { width: 230px; height: 290px; }
  .about-section { flex-direction: column; }
  .about-logo { width: 220px; }
  .section { padding: 65px 6%; }
}
