:root {
  --bg: #f5f6fa;
  --panel-bg: #ffffff;
  --orange: #f5821f;
  --orange-dark: #d96a10;
  --indigo: #2b2a86;
  --text-dark: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --footer-bg: #fff4e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

/* ---------- header ---------- */

.site-header {
  text-align: center;
  padding: 20px 16px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header .logo {
  width: 100%;
  max-width: 320px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--indigo);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--orange-dark);
}

.main-nav a.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.site-header .tagline {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  margin: 12px auto 0;
  max-width: 640px;
}

.site-header .tagline a {
  color: var(--orange-dark);
  text-decoration: none;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--indigo);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #2a2a2d;
  transition: transform 0.15s, background 0.15s;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-icon:hover {
  transform: translateY(-2px);
  background: var(--orange);
}

.contact-icon.whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #063d1f;
}

/* ---------- layout ---------- */

.catalogue-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--panel-bg);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.panel-head h1,
.panel-head h2 {
  font-size: 22px;
  color: var(--indigo);
}

.panel-head p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.order-panel {
  position: sticky;
  top: 16px;
}

/* ---------- generic single-column page layout (Home, Combos, About) ---------- */

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- hero (Home) ---------- */

/* ---------- hero carousel (Home) ---------- */

.hero-carousel {
  position: relative;
  overflow: hidden;
  /* Mirrors .page-wrap's content width (1200px box minus its 16px side
     padding) at every viewport size, not just above 1200px — .page-wrap's
     padding shrinks its content width below the 1200 cap too, so a plain
     max-width:1200px here (with no padding of its own) drifted wider than
     the panels below it on every real screen size. */
  max-width: min(1168px, calc(100% - 32px));
  margin: 16px auto 0;
  border-radius: 14px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.carousel-slide.slide-1 { background: linear-gradient(135deg, var(--indigo), #4b3fb0); }
.carousel-slide.slide-2 { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); }
.carousel-slide.slide-3 { background: linear-gradient(135deg, #1f7a5c, #2fa37c); }

.carousel-content {
  max-width: 620px;
  color: #fff;
}

.carousel-content h1 {
  font-size: 26px;
  color: #fff;
}

.carousel-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-block;
  width: auto;
  padding: 12px 22px;
  text-decoration: none;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1.5px solid #fff;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--indigo);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }
.carousel-arrow:hover { background: #fff; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
}

/* ---------- why choose us (Home) ---------- */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.why-us-card {
  text-align: center;
  padding: 16px 10px;
  background: #f9fafb;
  border-radius: 10px;
}

.why-us-icon {
  font-size: 28px;
}

.why-us-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
}

.why-us-card h3 {
  font-size: 14px;
  color: var(--indigo);
  margin: 8px 0 6px;
}

.why-us-card p {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- about teaser (Home) ---------- */

.about-teaser-panel p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-top: 10px;
}

.read-more-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

/* ---------- centered marketing sections (Home) ---------- */

.why-us-panel .panel-head,
.about-teaser-panel,
.track-order-panel .panel-head,
.testimonials-panel .panel-head {
  text-align: center;
}

.about-teaser-panel p {
  max-width: 560px;
  margin: 10px auto 0;
}

.track-order-form {
  margin: 14px auto 0;
}

/* ---------- track order (Home) ---------- */

.track-order-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  max-width: 360px;
}

.track-order-form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-order-form input {
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}

.track-order-form .place-order-btn {
  width: auto;
  padding: 10px 20px;
}

/* ---------- testimonials (Home) ---------- */

.testimonials-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonials-empty {
  color: var(--muted);
  font-size: 13px;
  grid-column: 1 / -1;
}

.testimonial-card {
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px;
}

.testimonial-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ---------- about page ---------- */

.about-panel > h2,
.about-panel > p,
.about-panel > ul {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-panel h2 {
  color: var(--indigo);
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 6px;
}

.about-panel h2:first-of-type {
  margin-top: 4px;
}

.about-panel p,
.about-panel li {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

.about-panel ul {
  padding-left: 20px;
  margin-top: 6px;
}

/* ---------- combos page ---------- */

.combo-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.combo-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.combo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--indigo);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.combo-card h3 {
  color: var(--indigo);
  font-size: 15px;
}

.combo-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.combo-items {
  font-size: 12px;
  margin: 10px 0;
  padding-left: 18px;
  color: var(--text-dark);
}

.combo-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 10px;
}

.combo-price .mrp {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 12px;
}

.combo-price .price {
  font-weight: 800;
  color: var(--orange-dark);
  font-size: 16px;
}

.combo-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 10px;
  color: var(--muted);
  font-size: 14px;
}

.combo-empty p {
  margin-bottom: 10px;
}

.combo-empty-cta {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 8px;
}

/* ---------- MOQ box (Quick Enquiry) ---------- */

.moq-box {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.moq-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-dark);
}

.moq-track {
  height: 6px;
  background: #fed7aa;
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.moq-fill {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 0.2s;
}

.moq-note {
  font-size: 11px;
  color: var(--orange-dark);
  margin-top: 6px;
}

.moq-note.met {
  color: #15803d;
}

/* ---------- category accordion ---------- */

.category-list {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.loading-msg {
  padding: 20px 0;
  color: var(--muted);
}

details.category {
  border-bottom: 1px solid var(--border);
}

details.category summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--indigo);
  background: #f4f4f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.category summary::-webkit-details-marker {
  display: none;
}

details.category summary::after {
  content: "+";
  font-size: 16px;
  color: var(--orange);
}

details.category[open] summary::after {
  content: "−";
}

.category-body {
  padding: 4px 4px 8px;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid #f1f1f4;
}

.product-row:last-child {
  border-bottom: none;
}

.product-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f4f4f8;
  padding: 3px;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-name .unit {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

.video-badge {
  border: none;
  background: var(--indigo);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.price-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 14px;
}

.price-line .mrp {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 12px;
}

.price-line .price {
  font-weight: 800;
  color: var(--orange-dark);
}

.product-action {
  flex-shrink: 0;
}

.add-btn {
  border: 1.5px solid var(--orange);
  background: #fff;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.add-btn:hover {
  background: var(--orange);
  color: #fff;
}

.step {
  border: 1.5px solid var(--orange);
  background: #fff;
  color: var(--orange-dark);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.qty {
  display: inline-block;
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  margin: 0 4px;
}

/* ---------- order panel ---------- */

.order-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.order-form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-form input,
.order-form select,
.order-form textarea {
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}

.order-summary {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.empty-cart-msg {
  color: var(--muted);
  font-size: 13px;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dark);
}

.summary-savings-block {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.summary-line.muted {
  color: var(--muted);
}

.summary-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
}

.summary-total strong {
  color: var(--orange-dark);
}

.place-order-btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.place-order-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.place-order-btn:not(:disabled):hover {
  background: var(--orange-dark);
}

.order-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.order-status {
  font-size: 12px;
  margin-top: 8px;
  font-weight: 600;
}

.order-status.success {
  color: #15803d;
}

.order-status.error {
  color: #b91c1c;
}

.track-result {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
}

.track-en {
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  margin: 0;
}

.track-ta {
  font-size: 13px;
  color: var(--text-dark);
  margin: 4px 0 0;
}

.track-note {
  font-size: 12px;
  color: var(--orange-dark);
  margin: 10px 0 0;
  line-height: 1.5;
}

.track-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.track-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  padding: 2px 0;
}

.track-detail-row span {
  color: var(--muted);
}

.track-lr-photo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 12px;
  color: var(--indigo);
}

.track-lr-photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ---------- mobile sticky cart bar ---------- */

.mobile-cart-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  z-index: 20;
}

.mobile-cart-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- about + footer ---------- */

.about-blurb {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0 20px;
  color: #d4d4d8;
  text-align: center;
}

.about-blurb h2 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
}

.about-blurb p {
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 32px;
  background: var(--footer-bg);
  border-top: 1px solid #fce3c3;
  color: var(--text-dark);
  padding: 24px 16px 90px;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.footer-inner a {
  text-decoration: none;
  color: var(--indigo);
}

.footer-socials {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-socials a {
  color: var(--orange-dark);
  font-weight: 600;
}

.copyright {
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- video modal ---------- */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -34px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ---------- floating Quick Enquiry shortcut ---------- */

.quick-enquiry-fab {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 40;
  animation: fab-pulse 2.4s ease-in-out infinite;
}

.quick-enquiry-fab:hover {
  background: var(--orange-dark);
}

@keyframes fab-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .catalogue-wrap {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .order-panel {
    position: static;
  }

  .mobile-cart-bar {
    display: flex;
  }
}

@media (max-width: 480px) {
  .site-header .logo {
    max-width: 240px;
  }

  .panel {
    padding: 14px;
  }

  .quick-enquiry-fab {
    width: 60px;
    height: 60px;
    font-size: 9px;
    right: 12px;
    bottom: 16px;
  }

  .carousel-slide {
    min-height: 280px;
    padding: 28px 46px;
  }

  .carousel-content h1 {
    font-size: 21px;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
}

@media (max-width: 700px) {
  .why-us-grid,
  .testimonials-list,
  .combo-list {
    grid-template-columns: 1fr;
  }
}
