/* =====================================================================
   Sreshta Farms — Eggs & Chicken landing page
   ---------------------------------------------------------------------
   • Every rule is scoped under .ec-page (or .ec-preview-*) so it does not
     leak into the existing store's styles.
   • All classes use the "ec-" prefix. State classes: .is-active, .is-soldout,
     .is-hidden, .is-invalid.
   • Font: Montserrat throughout.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
.ec-page,
.ec-preview-body {
  --ec-yellow: #ffc107;
  --ec-ink: #1C1A17;
  --ec-ink-2: #26231F;
  --ec-ink-3: #2E2A24;
  --ec-ink-line: #45403A;
  --ec-cream: #F4F1EA;
  --ec-white: #FFFFFF;
  --ec-line: #E6E0D2;
  --ec-line-2: #D8D0BD;
  --ec-muted: #5C564B;
  --ec-body: #4A443B;
  --ec-on-dark: #D9D3C4;
  --ec-on-dark-2: #A9A190;
  --ec-gold-text: #8A6D00;
  --ec-rust: #8B2E12;
  --ec-red: #C8281E;
  --ec-green-bg: #2F4A23;
  --ec-green-fg: #DDEFCF;
  --ec-error-bg: #FBE9E4;
  --ec-error-fg: #8B2E12;
  --ec-whatsapp: #1FA855;
  --ec-whatsapp-dark: #168A45;
  --ec-font: 'Montserrat', system-ui, sans-serif;
  --ec-radius: 2px;
  --ec-wrap: 1240px;
}

/* ---------- 2. Base (scoped) ---------- */
.ec-page {
  font-family: var(--ec-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ec-ink);
  background: var(--ec-cream);
}
.ec-page *,
.ec-page *::before,
.ec-page *::after { box-sizing: border-box; }
.ec-page p,
.ec-page h1, .ec-page h2, .ec-page h3,
.ec-page ul, .ec-page ol { margin: 0; }
.ec-page img { max-width: 100%; height: auto; display: block; }
.ec-page a { color: var(--ec-ink); }
.ec-page a:hover { color: #5A4A00; }
.ec-page button,
.ec-page input,
.ec-page select,
.ec-page textarea { font-family: inherit; font-size: inherit; }
.ec-page [hidden] { display: none !important; }
.ec-page :focus-visible { outline: 3px solid var(--ec-yellow); outline-offset: 2px; }
.ec-page section { scroll-margin-top: 16px; }

.ec-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hero-video{
	display: block;
  width: 100%;
  height: 600px;
  border-radius: 12px;
}

.d-none{display: none !important;}

/* ---------- 3. Layout ---------- */
.ec-wrap { max-width: var(--ec-wrap); margin: 0 auto; padding: 0 24px; }
.ec-wrap--narrow { max-width: 920px; }

.ec-split, .ec-split-new, .ec-split-new2 { display: flex; flex-wrap: wrap; }

.ec-split > * { flex: 1 1 480px; min-width: 0; }



.ec-split-new > * { flex: 1 1 480px; min-width: 0; }
.ec-split-new > .ec-hero__copy { flex: 1 1 500px; min-width: 0; }
.ec-split-new > .ec-hero__media { flex: 1 1 300px; min-width: 0; }


/* .ec-split-new2 > .left { flex: 1 1 70%; min-width: 0; padding-right:25px; } */
.ec-split-new2 > .left { flex: 1 1 750px; min-width: 0; padding-right:25px; }
.ec-split-new2 > .right { flex: 1 1 300px; min-width: 0; }

.ec-split--gap { gap: 32px; }
.ec-split--center { align-items: center; gap: 40px; }
.ec-split--end { align-items: flex-end; gap: 32px; }

.ec-stack { display: flex; flex-direction: column; }
.ec-stack--xs { gap: 6px; }
.ec-stack--sm { gap: 16px; }
.ec-stack--md { gap: 28px; }
.ec-stack--lg { gap: 40px; }
.ec-stack--xl { gap: 56px; }

.ec-grid { display: grid; gap: 24px; }
.ec-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ec-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ec-section { padding: 96px 0; }
.ec-section--white { background: var(--ec-white); }
.ec-section--dark { background: var(--ec-ink); color: var(--ec-cream); }
.ec-section--darker { background: var(--ec-ink-2); color: var(--ec-cream); }
.ec-section--yellow { background: var(--ec-yellow); padding: 72px 0; }

/* ---------- 4. Type ---------- */
.ec-display {
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: -0.5px;
  line-height: 1;
}
.ec-eyebrow { font-style: italic; font-weight: 700; font-size: 20px; color: var(--ec-gold-text); }
.ec-eyebrow--yellow { color: var(--ec-yellow); }
.ec-eyebrow--ink { color: var(--ec-ink); }
.ec-sec-head { display: flex; flex-direction: column; gap: 6px; }
.ec-sec-head--center { text-align: center; align-items: center; }
.ec-sec-title { font-size: 52px; }
.ec-lead { margin-top: 6px; color: var(--ec-muted); line-height: 1.6; max-width: 640px; }
.ec-lead--on-dark { color: var(--ec-on-dark); margin-top: 0; max-width: none; }
.ec-body { line-height: 1.7; color: var(--ec-body); }
.ec-text-white { color: var(--ec-white); }
.ec-hint { font-size: 13px; color: var(--ec-muted); margin-top: 6px; }
.ec-hint--center { text-align: center; }

/* ---------- 5. Icons ---------- */
.ec-icon { width: 18px; height: 18px; flex: none; fill: currentColor; }
.ec-icon--lg { width: 28px; height: 28px; }
.ec-icon--xl { width: 40px; height: 40px; }

/* ---------- 6. Buttons ---------- */
.ec-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.5px; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--ec-radius);
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.ec-btn:disabled { opacity: .5; cursor: not-allowed; }


/* .ec-page .ec-btn--dark { background: var(--ec-ink); color: var(--ec-yellow); } */
.ec-page .ec-btn--dark { 
	background: #ffc107;
    color: #000;
    margin-top: 0;
}

.ec-page .ec-btn--dark:hover { color: var(--ec-white); }
.ec-page .ec-btn--yellow { background: var(--ec-yellow); color: var(--ec-ink); }
.ec-page .ec-btn--yellow:hover { background: #E3C020; color: var(--ec-ink); }
.ec-page .ec-btn--light { background: var(--ec-cream); color: var(--ec-ink); border-color: var(--ec-line-2); }
.ec-page .ec-btn--muted { background: var(--ec-line); color: var(--ec-muted); }
.ec-page .ec-btn--ghost-light { background: transparent; color: var(--ec-white); border-color: #5C564B; }
.ec-page .ec-btn--ghost-light:hover { color: var(--ec-yellow); border-color: var(--ec-yellow); }
.ec-page .ec-btn--ghost-dark { background: transparent; color: var(--ec-ink); border-color: var(--ec-ink); }
.ec-page .ec-btn--whatsapp { background: var(--ec-whatsapp); color: var(--ec-white); }
.ec-page .ec-btn--whatsapp:hover { background: var(--ec-whatsapp-dark); color: var(--ec-white); }
.ec-btn--block { width: 100%; }
.ec-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-btn-row--end { justify-content: flex-end; }
.ec-btn-row--center { justify-content: center; }

/* ---------- 7. Notice strip ---------- */
.ec-notice-strip {
  background: var(--ec-yellow); padding: 10px 16px; text-align: center;
  font-weight: 800; font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center;
}
.ec-notice-strip__link { text-decoration: underline; }

/* ---------- 8. Hero  ---------- */
.ec-hero { 
	/* background:
    linear-gradient(
      135deg,
      rgba(28, 26, 23, 0.95),
      rgba(28, 26, 23, 0.75)
    ),
    url("../img/main_bg3.jpg") center / cover no-repeat; */
	
	background:
    linear-gradient(
      135deg,
      rgba(18, 36, 10, 0.95),
      rgba(18, 36, 10, 0.75)
    ),
    url("../img/main_bg3.jpg") center / cover no-repeat;

  color: var(--ec-cream);
  overflow: hidden;
}
.ec-hero__inner { align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.ec-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.ec-hero__title { font-size: 75px; color: var(--ec-white); }
.ec-hero__accent { color: var(--ec-yellow); }
.ec-hero__lead { width: 100%; font-size: 18px; line-height: 1.6; color: var(--ec-on-dark); }
.ec-hero__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  background: #2B2822; border: 1px solid var(--ec-ink-line);
  padding: 10px 14px; font-size: 14px; font-weight: 700;
}
.ec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ec-yellow); flex: none; }
.ec-hero__media { display: flex; justify-content: center; }
.ec-hero__img { width: 100%; max-width: 560px; }
.ec-page .ec-torn-edge { width: 100%; height: 40px; object-fit: fill; }

/* ---------- 9. Marquee ---------- */
.ec-marquee { background: var(--ec-yellow); overflow: hidden; padding: 18px 0 22px; }
.ec-marquee__track { display: flex; width: max-content; animation: ec-marquee 30s linear infinite; }
.ec-marquee__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.ec-marquee__hash { font-size: 20px; font-weight: 800; opacity: .55; }
.ec-marquee__word { font-size: 40px; }
@keyframes ec-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ec-marquee__track { animation: none; } }

/* ---------- 10. Products ---------- */
.ec-products { padding: 88px 0 96px; background:#fff;}
.ec-products__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ec-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-page .ec-tab { font-size: 13px; background: var(--ec-white); color: var(--ec-ink); border-color: var(--ec-line-2); }
.ec-page .ec-tab.is-active { background: var(--ec-ink); color: var(--ec-yellow); border-color: var(--ec-ink); }

.ec-card { 
background: var(--ec-white); border: 1px solid var(--ec-line); display: flex; flex-direction: column; 
background: #fff;
    border-radius: 0.5vw;
    position: relative;
    padding: 0px;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    border: 1px solid #f1f1f1;
    box-shadow: 0px 0 30px 10px #f0f0f0;
}

.ec-card:hover{
	transform: scale(1.02);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .2);
    background: #fff;
}

.ec-card.is-hidden { display: none; }
.ec-card__media { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.ec-page .ec-card__img { width: 100%; height: 100%; object-fit: cover; }
.ec-card.is-soldout .ec-card__img { filter: grayscale(.1); opacity: .6; }
.ec-card.is-soldout .ec-card__body{opacity: 0.75;}
.ec-card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.ec-card__tags_soldout { 
  position: absolute;
      top: 50%;
    left: 36%;
    transform: translate(-29%, -55%) rotate(-15deg);
}
.ec-tag { font-size: 12px; font-weight: 800; padding: 4px 8px; text-transform: uppercase; }
.ec-tag--badge { background: var(--ec-yellow); color: var(--ec-ink); }
/* .ec-tag--soldout { background: var(--ec-rust); color: var(--ec-white); } */
.ec-tag--soldout { 
    background: #FFF;
    color: var(--ec-rust);
    BORDER: 2PX SOLID var(--ec-rust);
    BORDER-RADIUS: 9PX; 
    font-size: 20px;
    transform: rotate(-20deg);
}
.ec-card__inorder {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--ec-whatsapp); color: var(--ec-white);
  font-size: 12px; font-weight: 800; padding: 4px 8px;
}
.ec-card__body { padding: 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.ec-card__kind { font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--ec-gold-text); text-transform: uppercase; }
.ec-card__name { font-size: 16px; line-height: 1.15; }
.ec-card__local { font-size: 14px; color: var(--ec-muted); }
.ec-card__pack { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.ec-card__price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.ec-card__price { font-size: 20px; font-weight: 800; }
.ec-card__mrp { font-size: 14px; color: #6B6253; }
.ec-card__unit { font-size: 13px; color: var(--ec-muted); font-weight: 600; }
.ec-card__line-total { font-size: 14px; color: var(--ec-body); background: var(--ec-cream); padding: 6px 10px; }
.ec-card__line-total strong { color: var(--ec-ink); font-weight: 800; }
.ec-card__buy { display: flex; gap: 8px; align-items: stretch; }
.ec-card__add { flex: 1; min-width: 0; padding: 0 10px; font-size: 14px; white-space: nowrap; }
.ec-chip { align-self: flex-start; border: 1px solid var(--ec-line-2); font-size: 12px; font-weight: 700; padding: 6px 10px; }

/* Quantity stepper */
.ec-qty { display: inline-flex; align-items: stretch; border: 2px solid var(--ec-ink); background: var(--ec-white); flex: none; }
.ec-qty__btn {
  width: 34px; min-height: 44px; border: 0; background: transparent;
  font-size: 20px; font-weight: 700; color: var(--ec-ink); cursor: pointer;
  margin-top:0;
}
.ec-qty__btn:hover { background: var(--ec-cream); }
.ec-qty__input {
  width: 36px; border: 0; text-align: center; font-weight: 800; font-size: 16px;
  -moz-appearance: textfield; appearance: textfield; background: transparent; color: var(--ec-ink);
}
.ec-qty__input::-webkit-outer-spin-button,
.ec-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ec-qty__value { min-width: 36px; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ec-qty--sm .ec-qty__btn { width: 36px; min-height: 40px; }

/* ---------- 11. Story ---------- */
.ec-step { background: var(--ec-cream); align-items: stretch; }
.ec-step--reverse { flex-direction: row-reverse; }
.ec-story { background: var(--ec-white); }
.ec-step__copy { padding: 48px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ec-step__num { font-size: 84px; color: #E2D9C3; }
.ec-step__title { font-size: 30px; }
.ec-step__body { line-height: 1.7; color: var(--ec-body); }
.ec-step__points { padding-left: 18px; line-height: 1.9; font-weight: 700; }
.ec-step__media { min-height: 300px; }
.ec-page .ec-step__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 12. Why ---------- */
.ec-reason { background: var(--ec-ink-2); border-top: 4px solid var(--ec-yellow); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ec-reason__num { font-size: 36px; color: var(--ec-yellow); }
.ec-reason__title { font-size: 19px; color: var(--ec-white); }
.ec-reason__body { color: #CFC8B8; line-height: 1.6; font-size: 15px; }

/* ---------- 13. Protein ---------- */
.ec-panel { background: var(--ec-white); border: 1px solid var(--ec-line); }
.ec-bars { padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.ec-bars__group { display: flex; flex-direction: column; gap: 10px; }
.ec-bars__label { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.ec-bars__row { display: flex; align-items: center; gap: 12px; }
.ec-bars__row--muted { color: var(--ec-muted); }
.ec-bars__who { width: 128px; flex: none; font-size: 14px; font-weight: 700; }
.ec-bars__track { flex: 1; height: 24px; background: var(--ec-cream); display: block; }
.ec-bars__fill { height: 24px; display: block; }
.ec-bars__fill--country { background: var(--ec-ink); }
.ec-bars__fill--broiler { background: #C9BE9E; }
.ec-bars__val { width: 80px; flex: none; text-align: right; font-weight: 800; }
.ec-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ec-muted); }
.ec-legend__item { display: flex; align-items: center; gap: 6px; }
.ec-legend__swatch { width: 14px; height: 14px; display: inline-block; }
.ec-legend__swatch--country { background: var(--ec-ink); }
.ec-legend__swatch--broiler { background: #C9BE9E; }

/* width utilities used by the bars (steps of 5) */
.ec-w-0{width:0}.ec-w-5{width:5%}.ec-w-10{width:10%}.ec-w-15{width:15%}.ec-w-20{width:20%}
.ec-w-25{width:25%}.ec-w-30{width:30%}.ec-w-35{width:35%}.ec-w-40{width:40%}.ec-w-45{width:45%}
.ec-w-50{width:50%}.ec-w-55{width:55%}.ec-w-60{width:60%}.ec-w-65{width:65%}.ec-w-70{width:70%}
.ec-w-75{width:75%}.ec-w-80{width:80%}.ec-w-85{width:85%}.ec-w-90{width:90%}.ec-w-95{width:95%}.ec-w-100{width:100%}

.ec-table-box { overflow-x: auto; }
.ec-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.ec-table__caption { text-align: left; padding: 20px 24px 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.ec-table thead tr { background: var(--ec-ink); color: var(--ec-cream); }
.ec-table th, .ec-table td { text-align: left; padding: 14px 16px; }
.ec-table th:first-child { padding-left: 24px; }
.ec-table__hl { color: var(--ec-yellow); }
.ec-table tbody tr { border-bottom: 1px solid #EEE8DA; }
.ec-table tbody th { font-weight: 800; }
.ec-table__strong { font-weight: 700; }
.ec-table__muted { color: var(--ec-muted); }

.ec-egg-strip { background: var(--ec-yellow); gap: 24px; padding: 32px; align-items: center; }
.ec-egg-strip__title { font-size: 28px; }
.ec-egg-strip__body { line-height: 1.6; font-weight: 600; }
.ec-egg-strip__stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.ec-stat { background: var(--ec-ink); color: var(--ec-cream); padding: 18px 22px; min-width: 150px; }
.ec-stat__big { font-size: 32px; color: var(--ec-yellow); }
.ec-stat__small { font-size: 13px; font-weight: 700; margin-top: 4px; }

/* ---------- 14. Live video ---------- */
.ec-video { position: relative; aspect-ratio: 16 / 9; background: var(--ec-ink); }
.ec-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ec-video__placeholder {
  position: absolute; inset: 0; border: 2px dashed #5C564B;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 24px;
}
.ec-live-tag {
  position: absolute; top: 18px; left: 18px; background: var(--ec-red); color: var(--ec-white);
  font-weight: 800; font-size: 13px; padding: 5px 10px; display: flex; align-items: center; gap: 6px;
}
.ec-live-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ec-white); }
.ec-video__play { width: 96px; height: 96px; border-radius: 50%; background: var(--ec-yellow); color: var(--ec-ink); display: flex; align-items: center; justify-content: center; }
.ec-video__title { font-size: 22px; color: var(--ec-white); }
.ec-video__hint { color: var(--ec-on-dark-2); font-size: 14px; }
.ec-cam { background: var(--ec-ink); padding: 20px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.ec-cam__no { font-size: 22px; color: var(--ec-yellow); }

/* ---------- 15. Delivery / pincode ---------- */
.ec-steps { list-style: none; padding: 0; counter-reset: ec-step; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.ec-steps__item { display: flex; align-items: center; gap: 10px; counter-increment: ec-step; }
.ec-steps__item::before {
  content: counter(ec-step); width: 28px; height: 28px; flex: none;
  background: var(--ec-yellow); color: var(--ec-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.ec-pin-box { background: var(--ec-ink); color: var(--ec-cream); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.ec-pin-box__title { font-size: 26px; color: var(--ec-white); }
.ec-pin-box__row { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-pin-box__row .ec-input { flex: 1 1 200px; font-size: 18px; min-height: 52px; }
.ec-pin-box__msg { padding: 14px 16px; font-weight: 700; }
.ec-pin-box__msg.is-ok { background: var(--ec-green-bg); color: var(--ec-green-fg); }
.ec-pin-box__msg.is-bad { background: #4A1E10; color: #F6D5C8; }
.ec-pin-box__note { font-size: 13px; color: var(--ec-on-dark-2); }

/* ---------- 16. Bulk ---------- */
.ec-bulk__body { line-height: 1.7; font-weight: 600; max-width: 560px; }

/* ---------- 17. FAQ (native details/summary) ---------- */
.ec-faq__list { display: flex; flex-direction: column; gap: 10px; }
.ec-faq__item { background: var(--ec-white); border: 1px solid var(--ec-line); }
.ec-faq__q {
  list-style: none; cursor: pointer; min-height: 60px; padding: 16px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 800; font-size: 16px;
}
.ec-faq__q::-webkit-details-marker { display: none; }
.ec-faq__q::after { content: '+'; font-size: 24px; color: var(--ec-gold-text); flex: none; }
.ec-faq__item[open] > .ec-faq__q::after { content: '−'; }
.ec-faq__a { padding: 0 22px 20px; line-height: 1.7; color: var(--ec-body); }

/* ---------- 18. Forms ---------- */
.ec-label { display: block; font-size: 14px; font-weight: 700; color: var(--ec-ink); margin-bottom: 6px; }
.ec-label--sm { font-size: 12px; margin-bottom: 0; color: var(--ec-muted); }
.ec-label--on-dark { color: var(--ec-on-dark); margin-bottom: 0; }
.ec-req { color: var(--ec-rust); }
.ec-input,
.ec-select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 2px solid var(--ec-line-2); border-radius: var(--ec-radius);
  background: var(--ec-white); color: var(--ec-ink);
}
.ec-input:focus, .ec-select:focus { border-color: var(--ec-ink); outline: none; }
.ec-input[readonly] { background: var(--ec-cream); color: var(--ec-muted); }
.ec-input.is-invalid { border-color: var(--ec-rust); background: #FFF8F6; }
.ec-date-picker { position: relative; width: 100%; max-width: 360px; }
.ec-date-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; cursor: pointer;
}
.ec-date-trigger__icon { flex: none; }
.ec-calendar {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0;
  width: 100%; padding: 12px;
  border: 2px solid var(--ec-line-2); background: var(--ec-white);
  box-shadow: 0 8px 24px rgba(28, 26, 23, .18);
}
.ec-calendar.is-invalid { border-color: var(--ec-rust); background: #FFF8F6; }
.ec-calendar__header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 10px;
}
.ec-calendar__month { font-weight: 700; text-align: center; }
.ec-calendar__nav {
  width: 40px; min-height: 40px; border: 1px solid var(--ec-line-2);
  background: var(--ec-cream); color: var(--ec-ink); font-size: 24px;
  line-height: 1; cursor: pointer;
}
.ec-calendar__nav:disabled { opacity: .4; cursor: not-allowed; }
.ec-calendar__weekdays, .ec-calendar__days {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
}
.ec-calendar__weekdays { margin-bottom: 4px; text-align: center; color: var(--ec-muted); font-size: 12px; font-weight: 700; }
.ec-calendar__days { grid-auto-rows: minmax(40px, auto); }
.ec-calendar__empty { min-width: 0; }
.ec-calendar__day {
  min-width: 0; padding: 4px; border: 1px solid var(--ec-line);
  background: var(--ec-white); color: var(--ec-ink); cursor: pointer;
}
.ec-calendar__day:disabled { background: var(--ec-cream); color: #A9A190; cursor: not-allowed; }
.ec-calendar__day:not(:disabled):hover { border-color: var(--ec-ink); }
.ec-calendar__day.is-selected { border-color: var(--ec-ink); background: var(--ec-ink); color: var(--ec-white); font-weight: 700; }
.ec-input--dark { background: var(--ec-ink-2); color: var(--ec-white); border-color: var(--ec-ink-line); }
.ec-input--dark:focus { border-color: var(--ec-yellow); }
.ec-select { min-height: 44px; font-weight: 600; cursor: pointer; }
.ec-textarea { padding: 12px 14px; min-height: 72px; resize: vertical; }
.ec-input-group { display: flex; }
.ec-input-group__addon {
  display: flex; align-items: center; padding: 0 12px; font-weight: 700;
  background: var(--ec-cream); border: 2px solid var(--ec-line-2); border-right: 0;
}
.ec-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ec-field { min-width: 0; }
.ec-field--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ec-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-radio { position: relative; cursor: pointer; }
.ec-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ec-radio__box {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  border: 2px solid var(--ec-line-2); font-weight: 700; background: var(--ec-white);
}
.ec-radio input:checked + .ec-radio__box { border-color: var(--ec-ink); background: var(--ec-yellow); }
.ec-radio input:focus-visible + .ec-radio__box { outline: 3px solid var(--ec-ink); outline-offset: 2px; }
.ec-radio__note { font-weight: 500; margin-left: 4px; }
.ec-address { margin-top: 4px; }
.ec-address__legend { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.ec-error-box { background: var(--ec-error-bg); color: var(--ec-error-fg); padding: 12px 16px; font-weight: 700; font-size: 14px; }
.ec-error-box ul { padding-left: 18px; margin-top: 4px; font-weight: 600; }

/* ---------- 19. Pickup panel ---------- */
.ec-pickup { background: var(--ec-cream); border: 2px solid var(--ec-yellow); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ec-pickup__label { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ec-gold-text); }
.ec-pickup__name { font-weight: 800; }
.ec-pickup__address { line-height: 1.5; }
.ec-pickup__timings { font-size: 14px; color: var(--ec-muted); }
.ec-pickup__map { font-weight: 700; font-size: 14px; }

/* ---------- 20. Order bar ---------- */
.ec-orderbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--ec-ink); color: var(--ec-cream);
  border-top: 4px solid var(--ec-yellow);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
}
.ec-orderbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.ec-orderbar__summary { display: flex; flex-direction: column; }
.ec-orderbar__count { font-weight: 800; font-size: 16px; color: var(--ec-white); }
.ec-orderbar__total { font-size: 13px; color: var(--ec-on-dark); }
.ec-orderbar__total strong { color: var(--ec-yellow); font-size: 15px; }
.ec-page.has-orderbar { padding-bottom: 88px; }

/* ---------- 21. Dialogs ---------- */
.ec-dialog {
  border: 0; padding: 0; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px);
  background: var(--ec-white); color: var(--ec-ink); border-top: 8px solid var(--ec-yellow);
  font-family: var(--ec-font);
}
.ec-dialog--wide { width: min(760px, calc(100% - 32px)); }
.ec-dialog::backdrop { background: rgba(20, 18, 15, .72); }
.ec-dialog__panel { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ec-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ec-dialog__title { font-size: 26px; }
.ec-dialog__close {
  width: 44px; height: 44px; flex: none; border: 0; background: var(--ec-cream);
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--ec-ink);margin-top: 0px;
}
.ec-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.ec-dialog__actions > .ec-btn { flex: 1 1 200px;margin-top: 0; }

.ec-confirm, .ec-notice { align-items: flex-start; }
.ec-confirm__icon, .ec-notice__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.ec-confirm__icon { background: var(--ec-whatsapp); color: var(--ec-white); }
.ec-notice__icon { background: var(--ec-yellow); color: var(--ec-ink); }
.ec-confirm__id { font-size: 18px; letter-spacing: 1px; }
.ec-confirm__retry { font-weight: 700; }

/* ---------- 22. Order lines ---------- */
.ec-lines { list-style: none; padding: 0; display: flex; flex-direction: column; }
.ec-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ec-line); }
.ec-line__info { flex: 1; min-width: 0; }
.ec-line__name { font-weight: 800; }
.ec-line__meta { font-size: 13px; color: var(--ec-muted); }
.ec-line__remove { border: 0; background: none; color: var(--ec-rust); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; min-height: 44px; }
.ec-line--view { justify-content: space-between; padding: 8px 0; font-size: 14px; }
.ec-line--view .ec-line__meta { text-align: right; flex: none; }
.ec-lines--compact .ec-line { border-bottom-style: dashed; }
.ec-lines__total { font-weight: 800; text-align: right; }

/* Price breakdown (subtotal / delivery fee / total) */
.ec-totals { margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ec-totals__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.ec-totals__row dt { color: var(--ec-body); }
.ec-totals__row dd { margin: 0; font-weight: 700; text-align: right; }
.ec-totals__row--grand { border-top: 2px solid var(--ec-ink); margin-top: 4px; padding-top: 8px; font-size: 17px; }
.ec-totals__row--grand dt, .ec-totals__row--grand dd { color: var(--ec-ink); font-weight: 800; }
.ec-totals__free { color: var(--ec-whatsapp-dark); }
.ec-lines__empty { color: var(--ec-muted); }
.ec-checkout__summary { background: var(--ec-cream); padding: 14px 18px; }
.ec-checkout__summary-title { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ec-gold-text); }
.ec-totals__row--discount dd { color: var(--ec-whatsapp-dark); }
.ec-coupon { min-width: 0; }
.ec-coupon__controls { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-coupon__controls .ec-input { flex: 1 1 180px; min-width: 0; }
.ec-coupon__controls .ec-btn { flex: 0 1 auto; }
.ec-coupon__message { min-height: 1.25em; margin-top: 6px; font-size: 13px; font-weight: 700; }
.ec-coupon__message.is-ok { color: var(--ec-whatsapp-dark); }
.ec-coupon__message.is-bad { color: var(--ec-rust); }

/* ---------- 23. Success page ---------- */
.ec-success { min-height: 60vh; }
.ec-success__card { background: var(--ec-white); border-top: 8px solid var(--ec-yellow); padding: 48px 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.ec-success__message { width: 100%; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.ec-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ec-whatsapp); color: var(--ec-white); display: flex; align-items: center; justify-content: center; }
.ec-success__id-label { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--ec-muted); }
.ec-success__id { font-size: 30px; background: var(--ec-yellow); padding: 8px 16px; letter-spacing: 1px; }
.ec-success__summary { width: 100%; text-align: left; background: var(--ec-cream); padding: 16px 20px; }
.ec-success__delivery { font-size: 14px; margin-top: 8px; color: var(--ec-body); }
.ec-success__steps { align-self: center; text-align: left; }

/* ---------- 24. Preview-only header/footer (not used on the live store) ---------- */
.ec-preview-body { margin: 0; font-family: var(--ec-font); background: var(--ec-cream); }
.ec-preview-header { background: var(--ec-white); border-bottom: 1px solid var(--ec-line); }
.ec-preview-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.ec-preview-header__logo { width: 168px; height: 48px; border: 2px dashed #C9BE9E; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #6B6253; text-decoration: none; }
.ec-preview-header__nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 700; font-size: 15px; }
.ec-preview-header__nav a { color: var(--ec-ink); text-decoration: none; }
.ec-preview-header__nav a[aria-current="page"] { border-bottom: 3px solid var(--ec-yellow); }
.ec-preview-footer { background: var(--ec-ink); color: #CFC8B8; padding: 28px 0; font-size: 13px; }

/* Inline icon sprite (standalone build) — takes no space */
.ec-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1080px) {
  .ec-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ec-hero__title { font-size: 68px; }
}
@media (max-width: 640px) {
  .ec-form-grid { grid-template-columns: minmax(0, 1fr); }
  .ec-dialog__panel { padding: 20px; }
  .ec-date-picker { max-width: none; }
  .ec-coupon__controls .ec-btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .ec-grid--4, .ec-grid--2 { grid-template-columns: minmax(0, 1fr); }
  .ec-section { padding: 64px 0; }
  .ec-hero__title { font-size: 48px; }
  .ec-sec-title { font-size: 34px; }
  .ec-marquee__word { font-size: 28px; }
  .ec-step__copy, .ec-pin-box { padding: 28px; }
  .ec-step__num { font-size: 60px; }
  .ec-orderbar__inner .ec-btn { flex: 1; padding: 0 12px; font-size: 13px; }
  .ec-orderbar__inner .ec-btn-row { width: 100%; }
}

.ec-datepicker {
  position: relative;
}

.ec-datepicker__toggle {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.ec-datepicker__panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, 100%);
  padding: 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ec-datepicker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ec-datepicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.ec-datepicker__dayname {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.ec-datepicker__day {
  border: 0;
  background: transparent;
  padding: 8px 0;
  border-radius: 8px;
  cursor: pointer;
}

.ec-datepicker__day.is-available {
  background: #e8f5ee;
  color: #0b2f24;
  font-weight: 600;
}

.ec-datepicker__day.is-available:hover {
  background: #174a36;
  color: #fff;
}

.ec-datepicker__day.is-pickup {
  outline: 1px dashed #174a36;
}

.ec-datepicker__day.is-disabled {
  color: #bbb;
  cursor: not-allowed;
  text-decoration: line-through;
}
