:root {
  --max-width: 1100px;

  /* BRAND COLORS */
  --primary: #824437;     /* Copper-brown */
  --secondary: #FAB692;   /* Soft peach-cream */

  /* TEXT + BACKGROUND */
  --text: #3a2f2d;
  --muted: #6d5853;
  --bg: #fff;
  --bar-bg: #fff3ec;

  --hero-img: url("https://images.unsplash.com/photo-1608571423903-8352b2b90f3c?auto=format&fit=crop&w=1500&q=80");
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #222;
  background: var(--bg);
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 64px;
}
 

/* COMMON LAYOUT */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 16px;
}

/* ===== Announcement Bar ===== */
.announcement {
  text-align: center;
  background: var(--bar-bg);
  font-size: 14px;
  padding: 8px 12px;
  color: var(--muted);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--accent);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 18px;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  height: 70vh;
  background: var(--hero-img) center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero video styling (fills the hero area behind overlay) */
.hero {
  overflow: hidden;
}
.hero video#heroVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  position: relative;
  z-index: 1;
}
.hero h1 { z-index: 2; }

.hero h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  text-align: center;
  font-weight: 700;
  max-width: 700px;
  margin: 0 16px;
}
.hero h2 { z-index: 2; }

.hero h2 {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  text-align: center;
  font-weight: 300;
  max-width: 700px;
  margin: 0 16px;
}

/* ===== Featured Products Section ===== */
.featured-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.featured-carousel .product-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  font-size: 30px;
  margin-bottom: 12px;
}

/* .contact-us-header h2 {
  display: flex;
  flex-direction: column;
  font-family: "Playfair Display", serif;
  color: var(--primary);
  font-size: 60px;
  margin-bottom: 12px;
  text-align: center;
} */

.stacked-heading {
  display: flex;
  flex-direction: column;
  font-family: "Playfair Display", serif; /* Elegant serif */
  font-weight: 700;
  font-size: 60px;
  line-height: 1.1;
  text-align: center;
  color: #824437; /* Mrs. Tastoria Copper */
  margin: 40px 0;
}

.stacked-heading span {
  display: block;
}


.about-text p {
  font-size: 16px;
  color: var(--muted);
}

/* ===== Product Sections ===== */
.products {
  padding: 20px 0 60px;
}

.products h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 30px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.4s ease-out;
  flex: 0 0 auto;
  width: 350px;
  max-width: 90vw;
}


.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* .product-card img { */
  /* width: 50%; */
  /* width: 350px; */
  /* aspect-ratio: 1 / 1; */
  /* object-fit: cover; */
  /* transition: transform 0.3s ease; */
/* } */
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 12px 10px 18px;
  color: var(--primary);
}
.product-info h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0;
}
.product-info h5 {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0;
  padding-top: 5px;
}
.product-info p {
  color: #555;
  width: 100%;
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
}


/* ===== Contact Form ===== */
.contact-form-box {
  margin-top: 24px;
  background: #fff7f2;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: "Playfair Display", serif;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #e8d7d0;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn.contact-submit {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn.contact-submit:hover {
  background: #6d352c;
}

.contact-success {
  margin-top: 10px;
  color: #0b8b0b;
  font-weight: 600;
  display: none;
}

.contact-error {
  margin-top: 10px;
  color: #d62828;
  font-weight: 600;
  display: none;
}



/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: fadeInUp 0.3s ease;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

/* Modal Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.product-detail-img img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
}
.product-detail-info h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.product-detail-info p {
  margin: 4px 0;
  font-size: 16px;
}

/* Quantity Controls */
.quantity-control {
  display: flex;
  gap: 6px;
  margin: 16px 0;
  align-items: center;
}
.quantity-control button,
.quantity-control input {
  border: 1px solid #ccc;
  height: 32px;
}
.quantity-control button {
  width: 32px;
  background: #f9f9f9;
  font-size: 18px;
  cursor: pointer;
}
.quantity-control input {
  width: 50px;
  border-radius: 4px;
  text-align: center;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
.add-to-cart {
  background: #000;
  color: #fff;
}
.open-cart {
  background: #f6f6f6;
}

/* Modal Extra Details */
.modal-short-desc {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #c71c2b;
}

.product-full-description {
  margin-top: 7px;
  color: #333;
}
.product-full-description h3 {
  margin-bottom: 8px;
  font-size: 18px;
}
.product-full-description ul {
  margin: 0 0 12px 18px;
}
.product-full-description table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 8px;
}
.product-full-description th,
.product-full-description td {
  padding: 8px;
  border: 1px solid #eee;
  font-size: 13px;
}
.product-full-description .badge {
  display: inline-block;
  padding: 4px 8px;
  background: #f2f2f2;
  border-radius: 999px;
  margin-right: 8px;
  font-size: 13px;
}

/* Thumbnails */
.modal-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.modal-thumbs {
  display: flex;
  flex: 1;
  gap: 12px;
  padding: 6px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.thumb {
  width: 140px;
  height: 90px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafafa;
  flex: 0 0 auto;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.active {
  outline: 3px solid rgba(199, 28, 43, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.thumb-prev,
.thumb-next {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Cart Panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 99;
}
.cart-overlay.show { display: block; }

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  height: 100vh;
  width: 380px;
  max-width: 90%;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}
.cart-panel.show { right: 0; z-index: 5000; }

.cart-header,
.cart-footer {
  padding: 16px;
  border-bottom: 1px solid #eee;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}
.cart-item-info h4 {
  font-size: 15px;
}
.cart-item-info p {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-qty button,
.cart-qty input {
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  height: 28px;
}
.cart-qty button { width: 28px; }
.cart-qty input {
  width: 40px;
  text-align: center;
}
.cart-delete {
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
  font-size: 16px;
}
.checkout-btn {
  background: #000;
  color: #fff;
  border-radius: 8px;
}


/* ================================
   CART PANEL — MRS TASTORIA THEME
================================ */

/* Panel background + shape */
.cart-panel {
  background: #fffaf7; /* warm cream */
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

/* Header */
.cart-header {
  background: #fff3ec;
  border-bottom: 1px solid #ead2c7;
   display: flex;
  align-items: center;      /* vertical alignment */
  justify-content: space-between; /* title left, X right */
}

.cart-title {
  font-size: 18px;
  font-weight: 600;
}

.cart-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--primary);
}

.cart-close {
  font-size: 22px;
  color: var(--primary);
    background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Cart items */
.cart-item {
  padding: 14px 0;
}

.cart-item-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.cart-item-info p {
  font-size: 14px;
  color: var(--muted);
}

/* Quantity controls */
.cart-qty button {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e2c4b8;
  color: var(--primary);
}

.cart-qty input {
  border-radius: 6px;
  border: 1px solid #e2c4b8;
}

/* Delete icon */
.cart-delete {
  color: #b0897d;
}
.cart-delete:hover {
  color: #8c4b3d;
}

/* Footer */
.cart-footer {
  background: #fff3ec;
  border-top: 1px solid #ead2c7;
}

/* Summary */
.cart-summary {
  margin-bottom: 14px;
}

.total-label {
  font-size: 14px;
  color: var(--muted);
}

.total-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

/* Checkout button */
.cart-footer .checkout-btn {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px;
}

.cart-footer .checkout-btn:hover {
  background: #6d352c;
}




/* Product Carousel */
.product-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  max-width: var(--max-width);
  width: 100%;
  overflow: hidden;
}
.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  /* overflow-x: hidden;
  overflow-y: visible; */
  border-radius: 8px;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 16px;
  padding: 12px;
  transition: transform 0.35s ease;
}
.carousel-prev,
.carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.carousel-prev[disabled],
.carousel-next[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Edge fade effect */
.carousel-track-wrapper::before,
.carousel-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 5;
}
.carousel-track-wrapper::before {
  left: 0;
  /* background: linear-gradient(to right, #fff, transparent); */
}
.carousel-track-wrapper::after {
  right: 0;
  /* background: linear-gradient(to left, #fff, transparent); */
}

/*Payments Section*/
.checkout-content h2 {
  margin-bottom: 16px;
}

.checkout-content h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

#checkoutForm input,
#checkoutForm textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

#checkoutForm textarea {
  resize: vertical;
  min-height: 70px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}


/* ============================
   FOOTER — MRS TASTORIA
============================ */
.mt-footer {
  background: var(--primary);
  color: #fff;
  margin-top: 80px;
  padding-top: 40px;
}

.mt-footer-top {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.mt-footer-title {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  letter-spacing: 2px;
  color: var(--secondary);
}

.mt-footer-sections {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 40px 16px;
}

.mt-footer-col h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--secondary);
  letter-spacing: 0.6px;
}

.mt-footer-col ul {
  list-style: none;
  padding: 0;
}

.mt-footer-col ul li {
  margin-bottom: 10px;
}

.mt-footer-col ul li a {
  color: #ffece3;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mt-footer-col ul li a:hover {
  opacity: 0.7;
}

.mt-footer-about p {
  color: #f8d3c4;
  line-height: 1.5;
  font-size: 15px;
  margin-top: 12px;
}

.mt-logo {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #fff8f5;
}

/* Newsletter */
.mt-newsletter-form {
  display: flex;
  margin-top: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
}
.mt-newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: #fff;
}
.mt-newsletter-form button {
  padding: 10px 18px;
  border: none;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
}
.mt-newsletter-form input::placeholder {
  color: #f0d5cc;
}

.mt-subtext {
  color: #f0d5cc;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Social Icons */
.mt-social {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  font-size: 22px;
}
.mt-social a {
  color: #ffeae0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mt-social a:hover {
  opacity: 0.7;
}

/* Footer bottom */
.mt-footer-bottom {
  margin-top: 20px;
  padding: 16px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.mt-footer-bottom p {
  margin-bottom: 8px;
  color: #ffddd1;
}

.mt-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.mt-bottom-links a {
  color: #ffe1d8;
  text-decoration: none;
  font-size: 14px;
}
.mt-bottom-links a:hover {
  opacity: 0.75;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
}

.faq-title {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Expanded state */
.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Policy Modal */
.policy-modal-content {
  max-width: 700px;
  padding: 28px;
}

.policy-title {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 26px;
}

.policy-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.policy-text p {
  margin-bottom: 14px;
}

.policy-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-text li {
  margin-bottom: 8px;
}




/* ===== Product Modal – Brand Compliance ===== */
.modal-content {
  border-radius: 16px;
  background: #fff;
}

.product-detail-info h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  font-size: 28px;
}

#modalPrice {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-short-desc {
  color: var(--muted);
  font-weight: 500;
}

.product-full-description h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
}

.btn.add-to-cart {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
}

.btn.add-to-cart:hover {
  background: #6d352c;
}

.btn.open-cart {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.quantity-control button {
  border-radius: 6px;
}

/* ===== Product Modal – Brand Compliance ===== */
.modal-content {
  border-radius: 16px;
  background: #fff;
}

.product-detail-info h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  font-size: 28px;
}

#modalPrice {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-short-desc {
  color: var(--muted);
  font-weight: 500;
}

.product-full-description h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
}

.btn.add-to-cart {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
}

.btn.add-to-cart:hover {
  background: #6d352c;
}

.btn.open-cart {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.quantity-control button {
  border-radius: 6px;
}

/* ===== Checkout Modal – Brand Compliance ===== */
.checkout-content {
  border-radius: 16px;
}

.checkout-content h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
}

.checkout-content h3 {
  color: var(--primary);
  font-weight: 600;
}

#checkoutForm input,
#checkoutForm textarea {
  border-radius: 8px;
  border: 1px solid #e5d3cb;
}

#checkoutForm input:focus,
#checkoutForm textarea:focus {
  border-color: var(--primary);
  outline: none;
}

#checkoutForm .checkout-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
}


/* Coupon Section */
.coupon-row {
  display: flex;
  gap: 10px;
  margin: 10px 0 4px;
}

.coupon-row input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.coupon-row button {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
}

.coupon-row button:hover {
  opacity: 0.9;
}

.coupon-message {
  font-size: 14px;
  margin-bottom: 12px;
}

.coupon-message.success {
  color: #1b8b3d;
}

.coupon-message.error {
  color: #c62828;
}




/* Responsive */
@media (max-width: 900px) {
  .mt-footer-sections {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .mt-footer-sections {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mt-newsletter-form {
    flex-direction: column;
  }
  .mt-newsletter-form button {
    width: 100%;
  }
  .mt-social {
    justify-content: center;
  }
}

/* ============================
   PAYMENT LOADING SCREEN
============================ */
.payment-loading-content {
  max-width: 420px;
  text-align: center;
  padding: 48px 32px;
}

.payment-loading-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  font-size: 22px;
  margin-top: 20px;
}

.payment-loading-content p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* Elegant spinner */
.payment-loader {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid #f3d6cb;
  border-top-color: var(--primary);
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}


/* ============================
   PAYMENT STATUS MODALS
============================ */
.payment-status {
  max-width: 420px;
  text-align: center;
  padding: 40px 30px;
}

.payment-status h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
  margin-bottom: 12px;
}

.payment-status p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}

.payment-status.success {
  border-top: 6px solid #2f9e44;
}

.payment-status.failure {
  border-top: 6px solid #d62828;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}


/* ===== Product Detailed Meta ===== */
.product-meta {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text);
}

.meta-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.meta-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.meta-badge.veg {
  background: #eaf4ea;
  color: #1b6b1b;
}

.meta-badge.eggless {
  background: #fff0e6;
  color: var(--primary);
}

.meta-row {
  margin-bottom: 8px;
}

.meta-row strong {
  color: var(--primary);
  font-weight: 600;
}

.meta-section {
  margin-top: 18px;
}

.meta-section h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.meta-section ul {
  padding-left: 18px;
}

.meta-section ul li {
  margin-bottom: 6px;
  color: var(--muted);
}

.allergens span {
  display: inline-block;
  background: #f6f6f6;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  margin-right: 6px;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}




/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
    /* text-align: center; */
    gap: 16px;
    text-align: left;
  }
  .product-detail-info h2 {
    font-size: 22px;
  }
  .modal-content {
    padding: 16px;
  }
  .nav-toggle { display: none; }
  .nav-links {
    /* display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 16px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee; */
    display: flex !important;
    position: static;
    flex-direction: row;
    gap: 22px;
    align-items: center;
  }
  .nav-links.show { display: flex; }
  #productModal {
    align-items: flex-end; /* mobile bottom-sheet feel */
  }

  #productModal .modal-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92vh;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  #modalPrice {
    font-size: 18px;
  }
  .modal-short-desc,
  .product-full-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .modal-thumbs-wrapper {
    gap: 6px;
  }

  .modal-thumbs {
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .thumb {
    width: 100px;
    height: 70px;
    scroll-snap-align: start;
  }

  .thumb-prev,
  .thumb-next {
    display: none; /* swipe instead on mobile */
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .carousel-track {
    padding-left: 0;
    padding-right: 0;
  }
  .nav-icons {
    position: absolute;
    right: 16px;
  }
  .nav-inner {
    justify-content: center;
    position: relative;
  }
}

#productModal,
#productModal * {
  /* max-width: 100%; */
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Small screen carousel */
@media (max-width: 480px) {
  /* .product-card { min-width: 200px; } */
  .product-card {
    width: 260px;
    max-width: 80vw;
  }
  .carousel-prev,
  .carousel-next { width: 36px; height: 36px; font-size: 18px; }
}

/* ===== Animation ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}