/* ZAYORA Commerce Core – storefront components (uses theme colour tokens with fallbacks). */
:root { --zy-primary: var(--wp--preset--color--primary, #0E2144); --zy-accent: var(--wp--preset--color--accent, #F29A2E); --zy-line: var(--wp--preset--color--line, #ECE6DC); --zy-muted: var(--wp--preset--color--muted, #5B6478); --zy-wa: #0F7A40; }
.zy-hidden { display: none !important; }
.zy-announce { background: var(--zy-primary); color: #fff; text-align: center; font-size: .875rem; font-weight: 600; padding: 8px 16px; line-height: 1.6; }
.zy-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.zy-wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 12px; background: var(--zy-wa); color: #fff !important; font-weight: 600; text-decoration: none !important; line-height: 1.4; }
.zy-wa-btn:hover { background: #0B6334; }
.zy-wa-float { position: fixed; bottom: 18px; left: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--zy-wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -8px rgba(0,0,0,.45); }
.zy-wa-float svg { width: 30px; height: 30px; }
body.zy-has-sticky .zy-wa-float { bottom: 88px; }
.zy-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.zy-social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.1); }
.zy-contact { margin: 0 0 14px; line-height: 2; }
/* Product page */
.zy-countdown { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; padding: 8px 12px; border-radius: 12px; background: #fff4e6; color: #8a4508; font-weight: 600; font-size: .9375rem; }
.zy-countdown__t b { display: inline-block; min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; }
.zy-countdown__t small { margin: 0 4px 0 2px; }
.zy-benefits { margin: 8px 0 4px; }
.zy-benefits__title { font-size: 1rem; margin: 0 0 8px; }
.zy-benefits ul { margin: 0; }
.zy-buy-now { flex: 1 1 100%; min-height: 54px; font-size: 1.0625rem !important; }
.zy-buy-now[disabled] { opacity: .55; cursor: not-allowed; }
.zy-trust { list-style: none; padding: 14px 16px; margin: 0 0 14px; border: 1px dashed var(--zy-line); border-radius: 14px; display: grid; gap: 6px; font-size: .9375rem; }
.zy-trust li { position: relative; padding-inline-start: 26px; }
.zy-trust li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #11845B; font-weight: 700; }
.summary .zy-wa-btn { width: 100%; box-sizing: border-box; }
.zy-sticky { position: fixed; inset: auto 0 0 0; z-index: 55; display: flex; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--zy-line); box-shadow: 0 -8px 24px -16px rgba(14,33,68,.4); }
.zy-sticky[hidden] { display: none; }
.zy-sticky__info { flex: 1; min-width: 0; display: grid; line-height: 1.4; }
.zy-sticky__name { font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--zy-muted); }
.zy-sticky__price { font-weight: 700; color: var(--zy-primary); }
.zy-sticky__price ins { text-decoration: none; }
.zy-sticky__price del { font-weight: 400; font-size: .8em; color: var(--zy-muted); }
.zy-sticky__btn { flex: none; min-height: 48px; padding: 10px 22px !important; }
@media (min-width: 900px) { .zy-sticky { display: none !important; } body.zy-has-sticky .zy-wa-float { bottom: 18px; } }
/* Checkout & order */
.zy-eta { margin: 4px 0 0; font-size: .8125rem; color: var(--zy-muted); }
.zy-no-delivery { color: #B42318; font-weight: 600; margin: 0; }
.zy-free { color: #11845B; }
.zy-thanks { margin: 0 0 20px; padding: 18px; border-radius: 14px; background: #e8f6ef; display: grid; gap: 12px; justify-items: start; }
.zy-thanks__lead { margin: 0; font-weight: 600; }
.zy-tracking { margin: 20px 0; padding: 14px 16px; border: 1px solid var(--zy-line); border-radius: 12px; }
.zy-tracking h2 { font-size: 1.125rem; margin: 0 0 6px; }
