/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
  --primary-color: #0f5b3c;       /* Forest Emerald Green */
  --primary-light: #e6f4ea;       /* Light Sage Green */
  --primary-dark: #093f29;        /* Dark Forest Green */
  --accent-color: #f97316;        /* Vivid Orange */
  --accent-hover: #ea580c;        /* Darker Orange */
  --accent-gold: #eab308;         /* Gold for Badges */
  
  --bg-page: #f4f9f6;             /* Warm soft cream-green */
  --bg-card: #ffffff;             /* Card backgrounds */
  
  --text-main: #1f2937;           /* Main dark text */
  --text-muted: #6b7280;          /* Secondary gray text */
  --text-light: #9ca3af;          /* Light gray text */
  --text-white: #ffffff;
  
  --border-color: #e5e7eb;
  --border-focus: #10b981;
  --error-color: #ef4444;
  --success-color: #22c55e;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --font-family: 'Noto Sans TC', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width-content: 750px;
}

/* ==========================================================================
   Resets & Base Layout
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* Leave room for sticky bottom CTA */
}

/* Scroll wrapper to keep content centered & styled like mobile-first landing pages */
.main-wrapper {
  max-width: var(--max-width-content);
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 30px rgba(15, 91, 60, 0.08);
}

/* ==========================================================================
   Top Urgency Banner
   ========================================================================== */
.top-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-white);
  padding: 10px 15px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.banner-content {
  max-width: var(--max-width-content);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.banner-badge {
  background-color: var(--accent-color);
  color: var(--text-white);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  animation: pulse-mini 1.5s infinite;
}

.countdown-mini {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
}

.time-block {
  background-color: #ffffff;
  color: var(--primary-color);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
}

/* ==========================================================================
   Visual Slices (Zero-Gap Image Stack)
   ========================================================================== */
.visual-slices {
  display: flex;
  flex-direction: column;
}

.slice-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
}

/* ==========================================================================
   Trust Indicators
   ========================================================================== */
.trust-indicators {
  background-color: var(--primary-light);
  padding: 25px 20px;
  border-bottom: 2px dashed rgba(15, 91, 60, 0.15);
}

.trust-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.trust-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.trust-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}

.trust-text p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

@media (max-width: 500px) {
  .trust-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .trust-card {
    flex-direction: row;
    text-align: left;
    gap: 15px;
  }
}

/* ==========================================================================
   Main Interactive Purchase Section
   ========================================================================== */
.purchase-section {
  padding: 40px 20px;
  background: linear-gradient(180deg, #ffffff, #f0f7f3);
}

.purchase-container {
  max-width: 650px;
  margin: 0 auto;
}

/* Order Header & Urgency */
.order-header {
  text-align: center;
  margin-bottom: 30px;
}

.order-title {
  font-size: 22px;
  color: var(--primary-dark);
  font-weight: 800;
}

.order-subtitle {
  color: var(--accent-color);
  font-size: 14px;
  margin-top: 5px;
  font-weight: 700;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border: 1px solid rgba(15, 91, 60, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--error-color);
  border-radius: 50%;
  animation: pulse-dot 1.2s infinite;
}

.highlight-num {
  color: var(--error-color);
  font-weight: 800;
  font-size: 15px;
}

/* Package Grid */
.packages-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.package-card {
  position: relative;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 91, 60, 0.35);
  box-shadow: var(--shadow-md);
}

/* Active Selected Pack State */
.package-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(16, 185, 129, 0.03);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-color);
}

/* Feature Badge Styles */
.pack-badge {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-bottom-left-radius: var(--radius-md);
  z-index: 2;
}

.pack-badge.highlight {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
}

.pack-badge.secondary {
  background-color: var(--text-muted);
}

.pack-badge.danger {
  background-color: var(--error-color);
}

/* Styling Card Content inside label */
.pack-card-content {
  display: block;
  padding: 24px;
  cursor: pointer;
}

/* Hide original radio, style custom checkbox */
.pack-radio {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.pack-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.checkbox-ui {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
  background-color: #fff;
}

.package-card.selected .checkbox-ui {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.package-card.selected .checkbox-ui::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

.pack-title-group {
  display: flex;
  flex-direction: column;
}

.pack-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.pack-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Featured Package Special Border */
.package-card.featured {
  border-width: 2.5px;
}

.package-card.featured.selected {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-color);
}

.package-card.featured.selected .checkbox-ui {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
}

/* Pricing Grid details */
.pack-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
}

.original-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.discount-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--error-color);
  font-family: 'Outfit', sans-serif;
}

.discount-price .currency {
  font-size: 15px;
  margin-right: 2px;
}

.per-box-avg {
  font-size: 12px;
  background-color: #fee2e2;
  color: var(--error-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.pack-features ul {
  list-style: none;
}

.pack-features li {
  font-size: 13px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pack-features li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Checkout Form Wrapper
   ========================================================================== */
.form-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(15, 91, 60, 0.08);
}

.form-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 12px;
}

.form-title-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-color);
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group.full-width {
  width: 100%;
}

.input-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.input-group label .required {
  color: var(--error-color);
  margin-left: 2px;
}

.input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.input-group input[type="text"],
.input-group input[type="tel"],
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background-color: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  background-color: #fff;
}

/* Zipcode + City Grid */
.address-selection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Shipping Method / Radio Toggle Button */
.radio-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-btn label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.radio-btn input[type="radio"]:checked + label {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.shipping-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
}

/* Store Selector mock block */
.store-selector-box {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 15px;
  background-color: #fafdfb;
}

.store-type-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.store-type-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.store-type-btn.active {
  background-color: #0f5b3c;
  color: #fff;
  border-color: #0f5b3c;
}

.store-search-row {
  display: flex;
  gap: 8px;
}

.store-search-row input {
  flex: 1;
  background-color: #f3f4f6 !important;
  cursor: pointer;
}

.btn-select-store {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-select-store:hover {
  background-color: var(--primary-dark);
}

.selected-store-display {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background-color: #e6f4ea;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  animation: fadeIn 0.3s ease;
}

.store-badge {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.store-details {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Payment selection */
.payment-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option {
  position: relative;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  transition: all 0.2s;
}

.payment-option input[type="radio"] {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.payment-option label {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 14px 44px;
  cursor: pointer;
}

.payment-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(16, 185, 129, 0.02);
}

.pay-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.pay-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Credit Card Inputs */
/* Credit Card Inputs styles removed */

/* Validation Errors styling */
.error-msg {
  color: var(--error-color);
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.2s ease-in;
}

.input-wrapper.error input,
.input-wrapper.error select,
.store-selector-box.error {
  border-color: var(--error-color) !important;
  background-color: #fffafb;
}

.input-wrapper.error .error-msg,
.store-selector-box.error .error-msg {
  display: block;
}

/* Order Summary Box */
.order-summary-box {
  background-color: #fafcfb;
  border: 1.5px solid rgba(15, 91, 60, 0.1);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-top: 25px;
}

.summary-title {
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-line .discount-text {
  color: var(--error-color);
  font-weight: 600;
}

.summary-line.divider {
  border-top: 1px solid var(--border-color);
  margin: 12px 0;
  padding-bottom: 0;
}

.summary-line.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}

.summary-line.total .total-price {
  font-size: 22px;
  color: var(--error-color);
  font-family: 'Outfit', sans-serif;
}

/* Submit area */
.submit-area {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color), #f95c16);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: pulse-button 2s infinite;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, var(--accent-hover), #e64a0e);
}

.btn-submit-order:active {
  transform: translateY(1px);
}

.btn-subtext {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-light);
}

.security-badge svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   FAQ Section Accordions
   ========================================================================== */
.faq-section {
  padding: 40px 20px;
  background-color: var(--primary-light);
}

.faq-container {
  max-width: 650px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 25px;
}

.accordion-item {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(15, 91, 60, 0.08);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: rgba(15, 91, 60, 0.02);
}

.accordion-arrow {
  width: 10px;
  height: 10px;
  border-right: 2.2px solid var(--primary-color);
  border-bottom: 2.2px solid var(--primary-color);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-right: 4px;
  flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fff;
}

.accordion-content p {
  padding: 0 20px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Sticky Bottom Buy Now Bar
   ========================================================================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1.5px solid rgba(15, 91, 60, 0.12);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 99;
  padding: 10px 15px;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.sticky-pricing {
  display: flex;
  flex-direction: column;
}

.sticky-label {
  font-size: 10px;
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
}

.sticky-price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sticky-strike {
  font-size: 11px;
  color: var(--text-light);
  text-decoration: line-through;
}

.sticky-main-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--error-color);
  font-family: 'Outfit', sans-serif;
}

.sticky-btn-buy {
  background: linear-gradient(135deg, var(--accent-color), #f95c16);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
  animation: pulse-button-mini 2s infinite;
}

.sticky-btn-buy:hover {
  background: linear-gradient(135deg, var(--accent-hover), #e64a0e);
}

.arrow-right {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
}

/* ==========================================================================
   Order Success Full-Screen Modal & Store Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 63, 41, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon-wrapper svg {
  width: 36px;
  height: 36px;
}

.modal-title {
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.modal-message {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-summary {
  background-color: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 8px;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-row span {
  color: var(--text-muted);
}

.summary-row strong {
  color: var(--text-main);
  font-weight: 700;
}

.summary-row strong.price-highlight {
  color: var(--error-color);
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
}

.shipping-notice {
  font-size: 11px;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.btn-modal-close {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.btn-modal-close:hover {
  background-color: var(--primary-dark);
}

/* Convenience Store Selector Modal */
.store-modal .modal-card {
  max-width: 550px;
  padding: 0;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

.store-modal-header {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-page);
}

.store-modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-close-store-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.store-modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.store-filter {
  display: flex;
  gap: 8px;
}

.store-filter input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  outline: none;
  font-size: 13px;
}

.store-filter input:focus {
  border-color: var(--primary-color);
}

.btn-search-trigger {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.store-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 5px;
}

.store-item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.store-item:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
}

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

.store-item-addr {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   Toasts (Floating Dynamic Orders)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 85px; /* Stay clear of sticky bottom bar */
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.order-toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 91, 60, 0.15);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  max-width: 320px;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) 4.6s forwards;
  pointer-events: auto;
}

.toast-avatar {
  width: 32px;
  height: 32px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.toast-content {
  display: flex;
  flex-direction: column;
}

.toast-user {
  font-weight: 700;
  color: var(--primary-dark);
}

.toast-time {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 1px;
}

/* Utility Hidden */
.hidden {
  display: none !important;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-mini {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

@keyframes pulse-button {
  0% { box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(249, 115, 22, 0.7); }
  100% { box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4); }
}

@keyframes pulse-button-mini {
  0% { transform: scale(1); box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 4px 15px rgba(249, 115, 22, 0.5); }
  100% { transform: scale(1); box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Responsive Overrides */
@media (max-width: 600px) {
  body {
    padding-bottom: 75px;
  }
  .top-banner {
    padding: 8px 10px;
  }
  .banner-text {
    text-align: center;
  }
  .purchase-section {
    padding: 25px 12px;
  }
  .form-container {
    padding: 20px 15px;
  }
  .radio-toggle-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .toast-container {
    bottom: 80px;
    left: 10px;
    right: 10px;
  }
  .order-toast {
    max-width: 100%;
  }
}

/* ==========================================================================
   New Coupon and Product Showcase Switcher Card Styles
   ========================================================================== */
.coupon-container {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coupon-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.coupon-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.coupon-input-row {
  display: flex;
  gap: 10px;
}

.coupon-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  font-weight: 600;
  color: var(--text-main);
  background-color: #ffffff;
  transition: all 0.2s;
}

.coupon-input-row input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 91, 60, 0.1);
}

.btn-apply-coupon {
  background-color: #c2410c; /* Coral Red matching screenshot */
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-apply-coupon:hover {
  background-color: #a83607;
}

.coupon-info-box {
  background-color: #fff5f5;
  border: 1px dashed rgba(194, 65, 12, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9a3412;
}

.coupon-badge {
  background-color: #c2410c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.coupon-highlight-code {
  color: #c2410c;
  cursor: pointer;
  text-decoration: underline;
}

.coupon-status-msg {
  font-size: 13px;
  color: var(--success-color);
  font-weight: 700;
}

/* Product Showcase Card Grid */
.product-showcase-card {
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 1.2fr;
  margin-bottom: 25px;
}

.product-image-container {
  position: relative;
  background-color: #f7faf8;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  border-right: 1.5px solid var(--border-color);
  min-height: 450px;
  overflow: hidden;
}

.product-floating-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.showcase-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
  animation: fadeIn 0.3s ease;
}

.product-details-container {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.showcase-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.showcase-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -8px;
}

.showcase-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.showcase-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.showcase-sale-group {
  display: flex;
  align-items: baseline;
  color: #708060; /* Sage green matching screenshot color theme */
  font-weight: 800;
}

.showcase-currency {
  font-size: 15px;
  margin-right: 2px;
}

.showcase-price {
  font-size: 28px;
  font-family: 'Outfit', sans-serif;
}

/* Specs pills */
.spec-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.spec-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.spec-pill {
  padding: 8px 6px;
  border: 1.5px solid var(--border-color);
  background-color: #fafaf9;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  outline: none;
}

.spec-pill:hover {
  background-color: #f3f3f0;
  border-color: #d1d5db;
}

.spec-pill.active {
  background-color: #829373; /* Sage Green active pill background */
  color: #ffffff;
  border-color: #829373;
  box-shadow: 0 4px 10px rgba(130, 147, 115, 0.25);
}

/* Spec description box */
.spec-description-box {
  background-color: #faf9f5;
  border-left: 3px solid #829373;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 12px;
}

.spec-desc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.spec-desc-text {
  color: var(--text-muted);
  line-height: 1.5;
}

/* Quantity Picker */
.quantity-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.quantity-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #fff;
  height: 38px;
}

.qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: background-color 0.2s;
  outline: none;
}

.qty-btn:hover {
  background-color: #f3f4f6;
  color: var(--text-main);
}

.quantity-picker input {
  width: 50px;
  height: 100%;
  border: none;
  border-left: 1.5px solid var(--border-color);
  border-right: 1.5px solid var(--border-color);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}

.quantity-picker input::-webkit-outer-spin-button,
.quantity-picker input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Showcase Buy button styling */
.showcase-action-area {
  margin-top: 5px;
}

.btn-showcase-buy {
  width: 100%;
  background-color: #829373; /* Sage Green matching screenshots */
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(130, 147, 115, 0.35);
  transition: all 0.3s;
  outline: none;
}

.btn-showcase-buy:hover {
  background-color: #728263;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(130, 147, 115, 0.45);
}

.cart-icon {
  width: 18px;
  height: 18px;
}

/* Quick Checkout Drawer Popup container */
.checkout-modal .modal-card {
  max-width: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.checkout-modal-header {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-page);
}

.checkout-modal-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-close-checkout-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
  outline: none;
}

.checkout-modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkout-selected-summary {
  background-color: #fafcfb;
  border: 1px solid rgba(130, 147, 115, 0.25);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.summary-item-name {
  font-weight: 700;
  color: var(--primary-dark);
}

.summary-item-price {
  font-weight: 700;
  color: var(--error-color);
}

@media (max-width: 750px) {
  .product-showcase-card {
    grid-template-columns: 1fr;
  }
  .product-image-container {
    border-right: none;
    border-bottom: 1.5px solid var(--border-color);
    min-height: 320px;
    padding: 0;
  }
  .product-details-container {
    padding: 24px 20px;
  }
}

