/* Public storefront: party brand (coral + teal + sunshine). Plain CSS, no build step. */
:root {
  --brand: #ff6a4d; --brand-dark: #e2512f; --brand-soft: #fff1ec;
  --accent: #2ec4b6; --accent-soft: #e2f7f4; --sun: #ffd166;
  --ink: #1f2430; --muted: #6b7280; --line: #ece6e2; --card: #fff; --bg: #fffaf7;
  --radius: 16px; --shadow: 0 14px 40px -22px rgba(226, 81, 47, .45);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f3f4f6; --muted: #a1a1aa; --line: #2c2f38; --card: #181b22; --bg: #101217;
          --brand-soft: #2a1a16; --accent-soft: #10302d; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Nunito, "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); } h2 { font-size: 1.5rem; } h3 { font-size: 1.1rem; }
.sf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sf-section { padding: 36px 16px; }
.sf-muted { color: var(--muted); } .sf-small { font-size: .85rem; } .sf-right { text-align: right; }
.sf-kicker { color: var(--brand-dark); font-weight: 800; letter-spacing: .03em; margin: 0 0 .4em; }
.sf-lead { font-size: 1.1rem; color: var(--muted); }
.sf-error { color: #b42318; background: #fde8e8; padding: 8px 12px; border-radius: 10px; }

/* header / footer */
.sf-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sf-header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
.sf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.15rem; }
.sf-logo img { width: 38px; height: 38px; }
.sf-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.sf-nav a:hover { background: var(--brand-soft); }
.sf-cart { background: var(--brand-soft); }
.sf-badge { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; text-align: center; }
.sf-pop { animation: sf-pop .45s ease; }
@keyframes sf-pop { 40% { transform: scale(1.5); } }
.sf-footer { border-top: 1px solid var(--line); padding: 24px 0; margin-top: 24px; color: var(--muted); }
.sf-footer .sf-wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* hero */
.sf-hero { background:
    radial-gradient(circle at 10% 20%, var(--sun) 0 6px, transparent 7px),
    radial-gradient(circle at 85% 15%, var(--accent) 0 7px, transparent 8px),
    radial-gradient(circle at 70% 85%, var(--brand) 0 5px, transparent 6px),
    linear-gradient(135deg, #fff1ea 0%, #ffe1d6 45%, #e2f7f4 100%); padding: 48px 0; }
@media (prefers-color-scheme: dark) { .sf-hero { background: radial-gradient(circle at 20% 10%, #3a1d16 0%, #101217 60%); } }
.sf-hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.sf-hero-card h2 { font-size: 1.25rem; }
@media (max-width: 820px) { .sf-hero-in { grid-template-columns: 1fr; } }

/* cards & grids */
.sf-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.sf-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sf-cats .sf-cat { display: flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; color: var(--ink); transition: transform .12s; }
.sf-cat:hover { transform: translateY(-2px); }
.sf-cat-icon { font-size: 1.8rem; }
.sf-product { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.sf-product h3 a { color: var(--ink); text-decoration: none; }
.sf-thumb { display: grid; place-items: center; height: 120px; border-radius: 12px; font-size: 3rem; text-decoration: none;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
.sf-thumb-lg { height: 280px; font-size: 6rem; }
.sf-price { font-weight: 900; color: var(--brand-dark); margin: 0; } .sf-price-lg { font-size: 1.8rem; }
.sf-tag { align-self: flex-start; font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.sf-tag-ok { background: var(--accent-soft); color: #0f766e; } .sf-tag-low { background: #fff4d6; color: #92400e; }
.sf-tag-out { background: #fde8e8; color: #b42318; }
.sf-step { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; margin-bottom: 8px; }
.sf-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .sf-detail { grid-template-columns: 1fr; } }
.sf-tiers { border-collapse: collapse; margin: 10px 0 16px; } .sf-tiers td { padding: 6px 16px 6px 0; border-bottom: 1px solid var(--line); }
.sf-list { padding-left: 1.2em; }

/* forms */
input, select, textarea { font: inherit; color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 106, 77, .18); }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
label input, label select, label textarea { margin-top: 6px; }
.sf-btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 900; padding: 12px 20px; border-radius: 999px; color: #fff; text-decoration: none; display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8a5c 100%); box-shadow: 0 8px 20px -8px rgba(255, 106, 77, .7); }
.sf-btn:hover { filter: brightness(1.05); } .sf-btn:disabled { opacity: .5; cursor: not-allowed; }
.sf-btn-sm { padding: 8px 14px; } .sf-btn-ghost { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--line); box-shadow: none; }
.sf-add { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; } .sf-add input { width: 80px; }
.sf-dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.sf-dates label { margin: 0; }
@media (max-width: 640px) { .sf-dates { grid-template-columns: 1fr; } }
.sf-hero-card .sf-dates { grid-template-columns: 1fr; }
.sf-datebar { background: var(--brand-soft); border-bottom: 1px solid var(--line); padding: 14px 0; }
.sf-datebar p { margin: 0 0 10px; }
.sf-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sf-chip { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.sf-chip-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sf-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .sf-quote { grid-template-columns: 1fr; } }
.sf-lines { width: 100%; border-collapse: collapse; } .sf-lines td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.sf-lines input { width: 80px; } .sf-total td { font-weight: 900; border-bottom: 0; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .sf-row { grid-template-columns: 1fr; } }
.sf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.sf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sf-thanks { text-align: center; max-width: 640px; margin: 0 auto; } .sf-confetti-big { font-size: 4rem; }

.sf-notice { color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 10px; }
.sf-thumb { position: relative; overflow: hidden; }
.sf-product .sf-thumb { height: auto; aspect-ratio: 4 / 3; }
.sf-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
/* detail page: the photo sets its own height (no fixed box), never taller than 520px */
.sf-thumb-lg:has(img) { height: auto; overflow: visible; }
.sf-thumb-lg img { position: static; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #fff; }
.sf-gallery { display: flex; flex-direction: column; gap: 10px; }
.sf-gallery-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.sf-gallery-strip img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.sf-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.sf-check input { width: auto; margin-top: 5px; }
.sf-coupon { display: flex; gap: 8px; align-items: center; margin: 12px 0; flex-wrap: wrap; }
.sf-coupon input { flex: 1; min-width: 140px; text-transform: uppercase; }
.sf-was { color: var(--muted); font-weight: 400; margin-right: .3em; }
.sf-discount td { color: var(--accent); font-weight: 700; }
