/* ─── RESETS & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
  background: #fff;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── KEYFRAMES ─── */
@keyframes flash {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.09);
  }
}
@keyframes wobble {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-18%) rotate(-4deg);
  }
  30% {
    transform: translateX(12%) rotate(3deg);
  }
  45% {
    transform: translateX(-9%) rotate(-2deg);
  }
  60% {
    transform: translateX(5%) rotate(1deg);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes popIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  80% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.anim-flash {
  animation: flash 1.2s infinite;
}
.anim-pulse {
  animation: pulse 1.4s infinite;
}
.anim-wobble {
  animation: wobble 1.8s infinite;
}
.anim-fadein {
  animation: fadeUp 0.7s ease both;
}
.anim-spin {
  animation: spin 0.7s linear infinite;
}

/* ─── UTILITIES ─── */
.star {
  color: #f5c518;
  font-size: 18px;
}
.order-btn {
  cursor: pointer;
  border: none;
  outline: none;
}
.order-btn:active {
  transform: translateY(2px);
}

/* ─── STICKY HEADER ─── */
#sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1a0a00, #3d1f00);
  padding: 8px 12px;
  box-shadow: 0 3px 14px #0008;
  display: flex;
  align-items: center;
  gap: 10;
}
#sticky-header .header-icon {
  font-size: 30px;
  flex-shrink: 0;
}
#sticky-header .header-info {
  flex: 1;
}
#sticky-header .header-label {
  color: #ffd700;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#sticky-header .header-title {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
}
#sticky-header .header-deal {
  display: inline-block;
  color: #ffd700;
  font-size: 12px;
  font-weight: bold;
}
#sticky-header .header-btn {
  background: #cc0000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid #ffd700;
  white-space: nowrap;
}

/* ─── HERO ─── */
#hero {
  background: linear-gradient(160deg, #1a0a00 0%, #3d1f00 50%, #1a0a20 100%);
  padding: 20px 16px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero .dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #ffffff10 1px, transparent 1px);
  background-size: 40px 40px;
}
#hero .hero-icon {
  font-size: 72px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  display: inline-block;
}
#hero .flash-badge {
  display: inline-block;
  background: linear-gradient(90deg, #c9a227, #ff6b00);
  padding: 6px 22px;
  border-radius: 24px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
#hero .flash-badge span {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}
#hero .orig-price {
  color: #aaa;
  font-size: 22px;
  text-decoration: line-through;
  margin: 4px 0;
  position: relative;
  z-index: 1;
}
#hero .sale-price {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #c9a227, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 44px;
  font-weight: bold;
  line-height: 1.1;
}
#hero .bogo-label {
  color: #ffd700;
  font-size: 17px;
  font-weight: bold;
  margin: 8px 0;
  position: relative;
  z-index: 1;
}
#hero .sale-ends {
  color: #e8c87a;
  font-size: 12px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
#hero .cta-btn {
  background: linear-gradient(135deg, #c9a227, #ff6b00);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 16px;
  box-shadow: 0 6px 24px #c9a22766;
  display: inline-block;
  position: relative;
  z-index: 1;
}
#hero .cod-note {
  color: #888;
  font-size: 12px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* ─── SALE COUNTER ─── */
#sale-counter {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.counter-box {
  background: #1a0a00;
  color: #ffd700;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 22px;
  font-weight: bold;
  min-width: 44px;
  text-align: center;
}
.counter-sep {
  color: #ffd700;
  font-weight: bold;
  font-size: 22px;
}

/* ─── GALLERY ─── */
#gallery-section {
  background: #f9f5ef;
}
#gallery-display {
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
#gallery-display .sale-chip {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #cc0000;
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: bold;
}
#gallery-emoji {
  font-size: 90px;
  margin-bottom: 10px;
}
#gallery-label {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 0 20px;
  text-shadow: 0 2px 8px #0008;
}
#gallery-sub {
  font-size: 14px;
  margin-top: 6px;
}
#gallery-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 14px 0 8px;
  background: #f9f5ef;
}
.gallery-thumb {
  width: 78px;
  height: 78px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.gallery-thumb.active {
  border-color: #c9a227;
  transform: scale(1.08);
}
#gallery-caption {
  text-align: center;
  font-style: italic;
  font-size: 13px;
  color: #5a3a1a;
  padding: 6px 20px 12px;
  background: #f9f5ef;
}

/* ─── DEAL STRIP ─── */
#deal-strip {
  background: linear-gradient(90deg, #1a0a00, #3d1f00);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#deal-strip .deal-title {
  color: #ffd700;
  font-size: 18px;
  font-weight: bold;
}
#deal-strip .deal-btn {
  background: #cc0000;
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  border: 2px solid #ffd700;
}

/* ─── FEATURES ─── */
#features-section {
  padding: 20px 14px;
  background: #f9f5ef;
}
.section-heading {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e0d5c0;
  box-shadow: 6px 6px 0 #e0d5c0;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.section-heading h2 {
  color: #cc0000;
  font-size: 24px;
  text-align: center;
  text-transform: uppercase;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8d9b8;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 2px 12px #c9a22722;
}
.feature-img {
  background: linear-gradient(135deg, #3a1f0a, #7c4a1e);
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature-img .f-icon {
  font-size: 64px;
}
.feature-img .f-title {
  color: #ffd700;
  font-size: 15px;
  font-weight: bold;
  margin-top: 10px;
}
.feature-body {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #2c1a0e;
}

/* ─── ORDER FORM SECTION ─── */
.order-section {
  background: linear-gradient(160deg, #ffd8a8, #19547b);
  padding: 24px 14px;
}
.order-section .today-badge {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 14px #cc000066;
}
.order-section .badge-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.order-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 2px 8px 24px #0003;
  overflow: hidden;
}
.order-card-header-dark {
  background: #3a1f0a;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 14px;
  font-size: 80px;
}
.order-card-header-gradient {
  background: linear-gradient(135deg, #1a0a2e, #3d1f00);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-card-header-gradient .inner {
  text-align: center;
}
.order-card-header-gradient .inner .icons {
  font-size: 32px;
  margin-bottom: 4px;
}
.order-card-header-gradient .inner .label {
  color: #ffd700;
  font-weight: bold;
  font-size: 15px;
}
.order-card-body {
  padding: 20px 18px;
}
.deal-pill {
  display: inline-block;
  background: linear-gradient(90deg, #c9a227, #ff6b00);
  border-radius: 22px;
  padding: 6px 18px;
  margin-bottom: 14px;
}
.deal-pill span {
  color: #fff;
  font-weight: bold;
  font-size: 17px;
}
.order-note {
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  margin-top: 14px;
}

/* ─── FORM ELEMENTS ─── */
.form-group {
  margin-bottom: 12px;
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #2c1a0e;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #1a0a00;
  font-family: "Georgia", serif;
}
.form-input:focus {
  outline: none;
  border-color: #c9a227;
  box-shadow: 0 0 0 3px #c9a22733;
}
.form-hint {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}
.form-error {
  color: #c00;
  font-size: 12px;
  margin-top: 4px;
}
.pkg-group {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 2px solid #2c1a0e;
  border-radius: 8px;
  background: #fffdf8;
}
.pkg-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  cursor: pointer;
  gap: 8px;
}
.pkg-option input {
  margin-top: 3px;
  accent-color: #c9a227;
}
.pkg-option span {
  font-size: 14px;
  color: #2c1a0e;
}
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #c9a227, #ff6b00);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 12px;
  font-family: "Georgia", serif;
  letter-spacing: 1px;
  box-shadow: 0 4px 18px #c9a22755;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.submit-btn:disabled {
  background: #888;
  cursor: not-allowed;
}
.submit-btn:active {
  transform: translateY(2px);
}
.submit-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
}
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid #fff3;
  border-top: 3px solid #fff;
  border-radius: 50%;
}

/* ─── SUCCESS STATE ─── */
.form-success {
  text-align: center;
  padding: 32px 20px;
  animation: popIn 0.5s ease;
}
.form-success .success-icon {
  font-size: 56px;
}
.form-success h2 {
  color: #1a5c2a;
  font-size: 22px;
  margin: 12px 0 8px;
}
.form-success p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}
.form-success .summary {
  background: #f0faf3;
  border: 1px solid #b2e0bc;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 18px;
  text-align: left;
  font-size: 14px;
}
.form-success .summary p {
  margin-bottom: 4px;
}
.form-success .delivery-note {
  margin-top: 14px;
  font-size: 13px;
  color: #888;
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  background: #f9f5ef;
  padding: 20px 14px;
}
.reviews-heading {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #e0d5c0;
  box-shadow: 6px 6px 0 #e0d5c0;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.reviews-heading h2 {
  color: #1a0a00;
  font-size: 22px;
  text-align: center;
}
.rating-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.rating-big {
  font-size: 36px;
  font-weight: bold;
  color: #1a0a00;
}
.rating-denom {
  font-size: 16px;
  color: #666;
}
.rating-count {
  font-size: 13px;
  color: #888;
}
.rating-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.rating-tag {
  background: #f0e8d8;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: bold;
}
.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #e8d9b8;
  box-shadow: 0 2px 8px #c9a22722;
}
.review-header {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.review-meta .reviewer-name {
  font-weight: bold;
  font-size: 14px;
  color: #1a0a00;
}
.review-meta .reviewer-loc {
  font-size: 11px;
  color: #888;
}
.review-text {
  font-size: 13px;
  line-height: 1.7;
  color: #2c1a0e;
  margin-bottom: 8px;
}
.review-tag {
  background: #f0faf3;
  color: #1a5c2a;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
}

/* ─── SOCIAL PROOF STRIP ─── */
#social-proof {
  background: #1a0a00;
  padding: 16px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}
#social-proof .proof-icon {
  font-size: 22px;
}
#social-proof .proof-label {
  color: #e8c87a;
  font-size: 10px;
  margin-top: 4px;
}

/* ─── FOOTER ─── */
#footer {
  background: linear-gradient(160deg, #1a0a00, #1a1a2e);
  padding: 24px 16px 30px;
}
.policy-links {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.policy-link {
  flex: 1;
  min-width: 100px;
  background: #ffffff12;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
}
.policy-link .p-icon {
  font-size: 20px;
}
.policy-link .p-label {
  color: #e8c87a;
  font-size: 11px;
  margin-top: 4px;
  font-weight: bold;
}
#footer h3 {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ffffff22;
  padding-bottom: 10px;
}
.contact-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: #e8c87a;
}
.contact-row .c-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.contact-row .c-text {
  font-size: 13px;
  line-height: 1.6;
}
.footer-copy {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 11px;
}
.footer-copy p + p {
  margin-top: 6px;
}

/* ─── MODAL ─── */
#order-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #0008;
  z-index: 2000;
  align-items: flex-end;
  justify-content: center;
}
#order-modal.open {
  display: flex;
}
#modal-sheet {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  max-height: 90vh;
  overflow-y: hidden;
  overflow-x: hidden;
  animation: fadeUp 0.35s ease;
}
#modal-header {
  background: linear-gradient(135deg, #1a0a00, #3d1f00);
  padding: 16px 20px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#modal-header .m-title {
  color: #ffd700;
  font-weight: bold;
  font-size: 18px;
}
#modal-header .m-deal {
  display: inline-block;
  color: #e8c87a;
  font-size: 13px;
}
#modal-close {
  background: none;
  border: none;
  color: #e8c87a;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
#modal-body {
  padding: 20px 18px;
}
