/*
Theme Name: Online Pooja Stores
Theme URI: https://onlinepoojastores.com
Author: Santosh L (Provident Global Services)
Author URI: https://onlinepoojastores.com
Description: Premium spiritual commerce theme for Online Pooja Stores. Mobile-first design with cream/maroon/gold festive aesthetic. Built as a child theme of Astra for WooCommerce compatibility. Custom design preserves the prototype experience pixel-by-pixel.
Template: astra
Version: 1.0.0
License: All Rights Reserved
License URI: https://onlinepoojastores.com
Text Domain: onlinepoojastores
Tags: ecommerce, woocommerce, india, spiritual, pooja, custom, mobile-first
*/

/*
========================================================================
ONLINE POOJA STORES — Custom Theme Stylesheet
This file imports the prototype CSS verbatim, then adds WordPress/WooCommerce overrides.
Maintained as a single source of truth for visual design.
========================================================================
*/

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Noto+Sans+Telugu:wght@400;500;600&display=swap');

/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* === BRAND VARIABLES — DO NOT CHANGE === */
:root {
  --maroon: #8B1E3F;
  --maroon-dark: #6D162F;
  --gold: #D4A574;
  --gold-dark: #B88A5A;
  --saffron: #F4A261;
  --cream: #FFF8E7;
  --cream-soft: #FDF6E0;
  --dark: #2C1810;
  --grey: #5F5E5A;
  --light-grey: #B4B2A9;
  --bg: #FBF5E5;
  --white: #FFFFFF;
  --green: #4A7C3E;
  --red: #C93A3A;
  --shadow-sm: 0 1px 3px rgba(44,24,16,0.08);
  --shadow-md: 0 4px 12px rgba(44,24,16,0.10);
  --shadow-lg: 0 10px 30px rgba(44,24,16,0.15);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --telugu: 'Noto Sans Telugu', sans-serif;
}

/* === BASE === */
html, body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  padding-bottom: 80px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
  min-height: 100vh;
  background: var(--bg);
  position: relative;
}

/* On large screens, show a soft cream background outside the 420px container */
@media (min-width: 768px) {
  html { background: var(--cream-soft); }
  html::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 20% 50%, rgba(212,165,116,0.08) 0%, transparent 40%),
      radial-gradient(circle at 80% 50%, rgba(244,162,97,0.06) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
  }
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* === SCROLLBAR HIDE === */
.scroll-x {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-x::-webkit-scrollbar { display: none; }

/* === TOP BAR === */
.top-bar {
  background: var(--maroon);
  color: var(--cream);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon { font-size: 22px; }

.brand-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.icon-btn {
  color: var(--cream);
  padding: 4px;
  position: relative;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--saffron);
  color: var(--dark);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* === LOCATION STRIP === */
.location-bar {
  background: var(--white);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-bottom: 0.5px solid #E5DCC4;
}

.location-bar svg {
  width: 14px;
  height: 14px;
  stroke: var(--maroon);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.location-bar .loc-text { flex: 1; color: var(--grey); }
.location-bar .loc-text strong { color: var(--dark); font-weight: 600; }
.location-bar .loc-arrow { color: var(--grey); font-size: 11px; }

.delivery-pill {
  background: rgba(74,124,62,0.1);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

/* === SEARCH BAR === */
.search-bar {
  padding: 12px 14px 8px;
  background: var(--bg);
}

.search-input-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #E5DCC4;
  box-shadow: var(--shadow-sm);
}

.search-input-wrap svg {
  width: 16px;
  height: 16px;
  stroke: var(--grey);
  stroke-width: 2;
  fill: none;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  background: transparent;
  color: var(--dark);
}

.search-input-wrap input::placeholder { color: var(--light-grey); }

.search-typing {
  font-size: 11px;
  color: var(--maroon);
  margin-left: auto;
  opacity: 0.8;
}

/* === HERO BANNER === */
.hero-section { padding: 8px 14px 4px; }

.hero-banner {
  background: linear-gradient(135deg, var(--maroon) 0%, #A8324F 50%, var(--maroon-dark) 100%);
  border-radius: 16px;
  padding: 18px 16px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(212,165,116,0.25) 0%, transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(244,162,97,0.15) 0%, transparent 35%);
}

.hero-banner::after {
  content: '🪔';
  position: absolute;
  top: -10px;
  right: 14px;
  font-size: 90px;
  opacity: 0.10;
  transform: rotate(15deg);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 12px;
  opacity: 0.92;
  margin-bottom: 12px;
}

.hero-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s;
  cursor: pointer;
}

.hero-cta:active { transform: scale(0.97); }

.hero-cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.countdown {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.countdown-cell {
  background: rgba(255,248,231,0.18);
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
  min-width: 36px;
  backdrop-filter: blur(4px);
}

.countdown-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 8px;
  opacity: 0.8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === SECTIONS === */
.section {
  padding: 16px 14px 8px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 12px;
  color: var(--maroon);
  font-weight: 600;
}

.section-sub {
  font-size: 11px;
  color: var(--grey);
  margin-top: -8px;
  margin-bottom: 12px;
}

/* === PILLS === */
.pills-row {
  display: flex;
  gap: 8px;
  padding: 0 2px 4px;
}

.pill {
  flex-shrink: 0;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  border: 1px solid #E5DCC4;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s;
  cursor: pointer;
}

.pill.active {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--maroon);
}

.pill-emoji { font-size: 14px; }

/* === CATEGORY GRID === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cat-card {
  background: var(--cream-soft);
  border-radius: 12px;
  aspect-ratio: 1 / 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  position: relative;
  border: 0.5px solid #E5DCC4;
  cursor: pointer;
  transition: transform 0.15s;
}

.cat-card:active { transform: scale(0.95); }

.cat-emoji {
  font-size: 30px;
  margin-bottom: 4px;
}

.cat-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  line-height: 1.1;
}

.cat-card-festival {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
}

.cat-card-festival .cat-name { color: var(--maroon); }

/* === FESTIVAL STRIP === */
.festival-strip {
  margin: 4px 14px 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 100%);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--maroon);
  position: relative;
  overflow: hidden;
}

.festival-strip::before {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  width: 60px;
  height: 60px;
  background: rgba(139,30,63,0.1);
  border-radius: 50%;
}

.festival-strip-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.festival-strip-content {
  flex: 1;
  min-width: 0;
}

.festival-strip-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1px;
}

.festival-strip-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.festival-strip-cta {
  background: var(--maroon);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  cursor: pointer;
}

/* === PRODUCT CARDS === */
.products-row {
  display: flex;
  gap: 10px;
  padding: 0 2px 4px;
}

.product-card {
  flex-shrink: 0;
  width: 145px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid #E5DCC4;
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
  transition: transform 0.15s;
}

.product-card:active { transform: scale(0.97); }

.product-image {
  background: linear-gradient(135deg, var(--cream-soft), var(--cream));
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}

.product-tier-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.tier-essentials { background: rgba(74,124,62,0.95); color: white; }
.tier-premium { background: rgba(212,165,116,0.95); color: var(--maroon); }
.tier-royal { background: rgba(139,30,63,0.95); color: var(--cream); }

.product-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.product-fav svg {
  width: 14px;
  height: 14px;
  stroke: var(--maroon);
  stroke-width: 2;
  fill: none;
}

.product-fav.active svg { fill: var(--maroon); }

.product-info { padding: 10px; }

.product-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
  line-height: 1.3;
  height: 32px;
  overflow: hidden;
}

.product-meta {
  font-size: 10px;
  color: var(--grey);
  margin-bottom: 6px;
}

.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.product-add-btn {
  background: var(--maroon);
  color: var(--cream);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s;
}

.product-add-btn.added { background: var(--green); }

/* === FEATURED PRODUCT === */
.featured-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid #E5DCC4;
  box-shadow: var(--shadow-md);
  margin-bottom: 12px;
}

.featured-image {
  background: linear-gradient(135deg, var(--cream-soft), var(--cream));
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
}

.featured-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--maroon);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.featured-content { padding: 14px; }

.featured-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.2;
}

.featured-desc {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 12px;
}

.tier-mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.tier-mini-card {
  background: var(--cream-soft);
  border: 1px solid #E5DCC4;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}

.tier-mini-card:active { transform: scale(0.95); }

.tier-mini-card.recommended {
  background: var(--maroon);
  border-color: var(--maroon);
}

.tier-mini-card.recommended .tier-mini-name,
.tier-mini-card.recommended .tier-mini-price { color: var(--cream); }

.tier-mini-recommended-tag {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--maroon);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.tier-mini-emoji { font-size: 16px; margin-bottom: 2px; }

.tier-mini-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--dark);
}

.tier-mini-meta {
  font-size: 8px;
  color: var(--grey);
  margin: 1px 0;
}

.tier-mini-card.recommended .tier-mini-meta { color: rgba(255,248,231,0.8); }

.tier-mini-price {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2px;
}

/* === TELANGANA SPECIALS === */
.telangana-section { padding: 12px 14px 4px; }

.telangana-banner {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 14px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.telangana-banner::before {
  content: '🌸';
  position: absolute;
  right: 8px;
  bottom: -10px;
  font-size: 70px;
  opacity: 0.18;
  transform: rotate(-15deg);
}

.telangana-eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.telangana-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 2px;
}

.telangana-sub {
  font-size: 11px;
  color: var(--maroon);
  opacity: 0.85;
  font-style: italic;
  margin-bottom: 12px;
}

.telangana-cards {
  display: flex;
  gap: 8px;
}

.telangana-card {
  flex: 1;
  background: var(--cream);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  border: 0.5px solid rgba(139,30,63,0.2);
  cursor: pointer;
  transition: transform 0.15s;
}

.telangana-card:active { transform: scale(0.95); }

.telangana-card-emoji {
  font-size: 24px;
  margin-bottom: 4px;
}

.telangana-card-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}

.telangana-card-meta {
  font-size: 9px;
  color: var(--grey);
  margin-top: 2px;
}

/* === REORDER STRIP === */
.reorder-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0.5px solid #E5DCC4;
  box-shadow: var(--shadow-sm);
}

.reorder-img {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.reorder-content {
  flex: 1;
  min-width: 0;
}

.reorder-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.reorder-meta {
  font-size: 11px;
  color: var(--grey);
  margin-top: 1px;
}

.reorder-btn {
  background: var(--maroon);
  color: var(--cream);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* === TRUST GRID === */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.trust-item {
  background: var(--white);
  border: 0.5px solid #E5DCC4;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon { font-size: 20px; flex-shrink: 0; }

.trust-text { font-size: 11px; line-height: 1.3; }
.trust-text strong { display: block; color: var(--dark); font-weight: 700; font-size: 11px; margin-bottom: 1px; }
.trust-text span { color: var(--grey); font-size: 10px; }

/* === HOW IT WORKS === */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.how-step {
  background: var(--cream-soft);
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  border: 0.5px solid #E5DCC4;
}

.how-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 6px;
}

.how-text {
  font-size: 10px;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.2;
}

/* === FOOTER === */
footer.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 20px 14px;
  text-align: center;
  margin-top: 20px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 11px;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 12px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  stroke: var(--cream);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.7;
}

.footer-links {
  font-size: 10px;
  opacity: 0.6;
  line-height: 1.6;
}

.footer-tel {
  font-family: var(--telugu);
  font-size: 14px;
  color: var(--gold);
  margin: 8px 0;
}

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-top: 0.5px solid #E5DCC4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 0 10px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(44,24,16,0.06);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.15s;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item.active { color: var(--maroon); }
.nav-item.active svg { stroke: var(--maroon); }
.nav-item.active .nav-label { font-weight: 700; }

.nav-cart-wrap { position: relative; }

/* === MODALS === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 20px 14px;
  z-index: 201;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.modal.active { transform: translateX(-50%) translateY(0); }

.modal-handle {
  width: 40px;
  height: 4px;
  background: #E5DCC4;
  border-radius: 2px;
  margin: -10px auto 16px;
}

.modal-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--dark);
  stroke-width: 2.5;
  fill: none;
}

/* === TIER COMPARE IN MODAL === */
.tier-compare {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-compare-card {
  border: 1.5px solid #E5DCC4;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.tier-compare-card.selected {
  border-color: var(--maroon);
  background: rgba(139,30,63,0.04);
}

.tier-compare-card.recommended {
  border-color: var(--gold);
  background: rgba(212,165,116,0.08);
}

.tier-compare-recommended-tag {
  position: absolute;
  top: -8px;
  left: 14px;
  background: var(--gold);
  color: var(--maroon);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.tier-compare-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tier-compare-name-wrap {
  display: flex;
  flex-direction: column;
}

.tier-compare-name {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}

.tier-compare-tag {
  font-size: 10px;
  color: var(--grey);
  font-style: italic;
  margin-top: 1px;
}

.tier-compare-price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
}

.tier-compare-items {
  font-size: 11px;
  color: var(--grey);
  margin-bottom: 8px;
}

.tier-compare-list {
  font-size: 11px;
  line-height: 1.7;
  color: var(--dark);
  list-style: none;
  padding: 0;
}

.tier-compare-list li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  list-style: none;
}

.tier-compare-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.tier-compare-list li.missing { color: var(--light-grey); }
.tier-compare-list li.missing::before { content: '×'; color: var(--light-grey); }

/* === STICKY CART BAR === */
.sticky-cart {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 392px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(139,30,63,0.35);
  z-index: 99;
  animation: slideUp 0.3s ease-out;
}

.sticky-cart.show { display: flex; }

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.sticky-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-cart-count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.sticky-cart-total {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.sticky-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.sticky-cart-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* === OTP MODAL === */
.otp-content { padding-top: 8px; }

.otp-input-wrap {
  display: flex;
  align-items: center;
  background: var(--cream-soft);
  border: 1px solid #E5DCC4;
  border-radius: 10px;
  padding: 4px 4px 4px 14px;
  margin-bottom: 14px;
}

.otp-prefix {
  font-size: 13px;
  color: var(--dark);
  font-weight: 600;
  margin-right: 8px;
}

.otp-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  width: 100%;
  background: var(--maroon);
  color: var(--cream);
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:active { opacity: 0.85; }

.otp-meta {
  font-size: 11px;
  color: var(--grey);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* === TOAST === */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast svg {
  width: 14px;
  height: 14px;
  stroke: var(--green);
  stroke-width: 3;
  fill: none;
}

/* === CALENDAR CARD === */
.calendar-card {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--cream);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.calendar-card::before {
  content: '📿';
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 30px;
  opacity: 0.3;
}

.calendar-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.calendar-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calendar-info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.calendar-info { font-size: 10px; }
.calendar-info-label { opacity: 0.7; }
.calendar-info-value { font-weight: 700; color: var(--gold); }

.calendar-link {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 350px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card { width: 130px; }
}

/* === WORDPRESS / WOOCOMMERCE OVERRIDES === */
/* Hide the default Astra header & footer — we use our own */
.site-header,
.site-footer-default,
header.site-header.ast-mobile-header-content {
  display: none !important;
}

/* Remove default WooCommerce notice padding */
.woocommerce-notices-wrapper:empty { display: none; }

/* WooCommerce add-to-cart button uses our brand colors */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page button.button {
  background: var(--maroon);
  color: var(--cream);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--maroon-dark);
  color: var(--cream);
}

/* Admin bar adjustment when logged in */
body.admin-bar .top-bar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .top-bar { top: 46px; }
}
