/* Smith's Party Hire – Build your event 2.0 */

/* Remove Divi's spacing around the builder */
.et_pb_section:has(#sph-sf) { padding-top: 0 !important; padding-bottom: 0 !important; }
.et_pb_row:has(#sph-sf) { padding-top: 0 !important; padding-bottom: 0 !important; width: 100% !important; max-width: 1320px !important; }
.et_pb_column:has(#sph-sf), .et_pb_module:has(#sph-sf) { margin-bottom: 0 !important; padding-top: 0 !important; }
#main-content .container:has(#sph-sf) { padding-top: 0 !important; }
#main-content .container:has(#sph-sf)::before { display: none !important; }
#page-container:has(#sph-sf), #et-main-area:has(#sph-sf), #main-content:has(#sph-sf),
.et_pb_section:has(#sph-sf), .et_pb_row:has(#sph-sf), .et_pb_column:has(#sph-sf), .et_pb_module:has(#sph-sf), .et_pb_code_inner:has(#sph-sf) { overflow-x: clip !important; overflow-y: visible !important; }

.sph-sf {
	--sf-red: #AD1D21;
	--sf-red-dark: color-mix(in srgb, var(--sf-red) 82%, #000);
	--sf-red-soft: color-mix(in srgb, var(--sf-red) 7%, #fff);
	--sf-ink: #141414;
	--sf-muted: #5c6068;
	--sf-line: #e7e2e2;
	--sf-bg: #f7f5f5;
	--sf-gold: #d4af37;
	--sf-hot: #e8222a; /* brighter red for the black hero */
	--sf-top: 0px;
	box-sizing: border-box;
	max-width: 1320px;
	margin: 0 auto 40px;
	background: var(--sf-bg);
	color: var(--sf-ink);
	font-size: 15px;
	line-height: 1.5;
}
.sph-sf *, .sph-sf *::before, .sph-sf *::after { box-sizing: border-box; }
.sph-sf h2, .sph-sf h3, .sph-sf h4, .sph-sf h5 { color: var(--sf-ink); margin: 0; padding: 0; line-height: 1.2; }
.sph-sf p { margin: 0; padding: 0; }
.sph-sf button, .sph-sf input { font-family: inherit; }
.sph-sf [hidden] { display: none !important; }
.sph-sf .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sph-sf .sf-muted { color: var(--sf-muted); font-size: 14px; }
.sph-sf .sf-small { color: var(--sf-muted); font-size: 12px; margin-top: 4px; }
.sph-sf .sf-pad { padding: 12px 14px; }
.sph-sf .sf-link { border: 0; background: none; padding: 0; color: var(--sf-red); font-weight: 800; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ===== HERO ===== */
.sf-hero { position: relative; overflow: hidden; padding: 34px 24px 34px; background: radial-gradient(ellipse at 50% 0%, #2b2b2b 0%, #151515 55%, #050505 100%); color: #fff; text-align: center; }
.sf-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--sf-red), var(--sf-gold), var(--sf-red)); }
.sf-hero__eyebrow { display: inline-block; padding: 8px 22px; border-radius: 999px; background: var(--sf-hot); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(232, 34, 42, .35); }
.sf-hero__title { margin-top: 14px !important; color: #fff !important; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 5.4vw, 54px); font-weight: 700; line-height: 1.08 !important; letter-spacing: -.01em; }
.sf-hero__title span { display: block; color: var(--sf-hot); }
.sf-hero__lead { max-width: 760px; margin: 14px auto 0 !important; color: #ece7e7; font-size: 16px; line-height: 1.55; }
.sf-hero__lead span { display: block; }
.sf-hero__steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 0; max-width: 720px; margin: 34px auto 0; padding: 0; }
.sf-hstep { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 10px 16px; border: 3px solid var(--sf-hot); border-radius: 20px; background: #fff; color: var(--sf-ink); }
.sf-hstep__num { position: absolute; top: -21px; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin-left: -21px; border: 3px solid #fff; border-radius: 50%; background: var(--sf-hot); color: #fff; font-size: 20px; font-weight: 900; line-height: 1; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.sf-hstep__icon { width: 54px; height: 54px; }
.sf-hstep__icon .ink { fill: none; stroke: var(--sf-ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.sf-hstep__icon .dots { fill: none; stroke: var(--sf-ink); stroke-width: 4; stroke-linecap: round; }
.sf-hstep__icon .red, .sf-hstep__icon .redfill { fill: var(--sf-hot); }
.sf-hstep__icon .plus { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sf-hstep__text { font-size: 15px; font-weight: 900; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.sph-sf .sf-hero__steps li { margin: 0; list-style: none; }
.sf-hstep__arrow { flex: 0 0 26px; margin: 0 6px !important; height: 22px; background: var(--sf-hot); clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%); }

/* ===== LAYOUT ===== */
.sf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; padding: 22px 28px 36px; }
.sf-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sf-card { background: #fff; border: 1px solid var(--sf-line); border-radius: 18px; padding: 18px 20px; }

/* ===== TOOLBAR ===== */
.sf-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sf-views { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sf-bg); border: 1px solid var(--sf-line); }
.sf-view { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--sf-ink); font-weight: 800; font-size: 14px; cursor: pointer; }
.sf-view[aria-pressed="true"] { background: var(--sf-ink); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.sf-search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--sf-line); border-radius: 999px; background: #fff; flex: 1 1 260px; max-width: 420px; }
.sf-search:focus-within { border-color: var(--sf-ink); }
.sf-search svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--sf-muted); stroke-width: 2; stroke-linecap: round; }
.sf-search input { border: 0; outline: none; flex: 1; min-width: 0; font-size: 15px; background: transparent; color: var(--sf-ink); }

/* ===== CATEGORY BAR (sticky) ===== */
.sf-catwrap { position: sticky; top: var(--sf-top); z-index: 6; margin: 14px -20px 0; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-top: 1px solid var(--sf-line); border-bottom: 1px solid var(--sf-line); }
.sf-catbar { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--sf-ink) transparent; }
.sf-catbar::-webkit-scrollbar { height: 6px; }
.sf-catbar::-webkit-scrollbar-thumb { background: var(--sf-ink); border-radius: 6px; }
.sf-arrow { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border: 0; border-radius: 50%; background: var(--sf-ink); color: #fff; font-size: 26px; line-height: 1; padding-bottom: 3px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.sf-arrow:hover { background: var(--sf-red); }
.sf-arrow--left { left: 6px; }
.sf-arrow--right { right: 6px; animation: sf-nudge 1.8s ease-in-out 3; }
.sf-catwrap::before, .sf-catwrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 46px; pointer-events: none; z-index: 1; }
.sf-catwrap::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.sf-catwrap::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
@keyframes sf-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.sf-swipehint { margin: 8px 0 0 !important; font-size: 13.5px; font-weight: 800; color: var(--sf-red); text-align: right; }

/* How to order */
.sf-howto { display: flex; align-items: stretch; gap: 8px; margin-bottom: 6px; }
.sf-howto__step { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--sf-red-soft); border: 1px solid #f0d6d7; text-align: center; }
.sf-howto__step span { font-size: 26px; line-height: 1; }
.sf-howto__step b { font-size: 14px; line-height: 1.25; }
.sf-howto__step small { font-size: 12px; font-weight: 700; color: var(--sf-red); }
.sf-howto__arrow { align-self: center; font-size: 20px; font-weight: 900; color: var(--sf-red); }
.sf-patience { margin: 10px 0 14px !important; font-size: 14px; line-height: 1.5; color: var(--sf-muted); text-align: center; }
.sf-hint { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; color: var(--sf-muted); }
.sf-details textarea { min-height: 80px; padding: 10px 12px; border: 2px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font: inherit; font-size: 14px; width: 100%; resize: vertical; }
.sf-details textarea:focus { outline: none; border-color: var(--sf-ink); }

/* A–Z */
.sf-az { margin-top: 10px; }
.sf-letters { position: sticky; top: calc(var(--sf-top) + 64px); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--sf-line); box-shadow: 0 6px 14px rgba(0, 0, 0, .05); }
.sf-letters a, .sf-letters span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 8px; font-size: 13px; font-weight: 900; text-decoration: none !important; }
.sf-letters a { background: var(--sf-ink); color: #fff !important; }
.sf-letters a:hover { background: var(--sf-red); }
.sf-letters span { color: #c9c3c3; }
.sf-azgroup { scroll-margin-top: calc(var(--sf-top) + 130px); }
.sf-azletter { margin: 12px 0 6px !important; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; color: var(--sf-red) !important; }
.sf-row__name small em { font-style: normal; font-weight: 700; color: var(--sf-muted); }

/* My order is finished */
.sf-donebar { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: flex-start; margin-top: 16px; pointer-events: none; }
.sf-done { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--sf-ink); color: #fff; font-size: 15px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.sf-done:hover { background: var(--sf-red); }
.sf-done span { font-weight: 700; color: var(--sf-gold); }

/* Details + clear in Your order */
.sf-clear { min-height: 34px; padding: 0 14px; border: 2px solid var(--sf-ink); border-radius: 999px; background: #fff; color: var(--sf-ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.sf-clear:hover { background: var(--sf-ink); color: #fff; }
.sf-details { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--sf-bg); border: 1px solid var(--sf-line); display: grid; gap: 10px; scroll-margin-top: calc(var(--sf-top) + 20px); }
.sf-details h4 { font-size: 15px; font-weight: 900; }
.sf-details .sf-field label em { font-style: normal; color: var(--sf-red); }
.sf-details .sf-field label small { font-weight: 400; color: var(--sf-muted); }
.sf-details select { min-height: 46px; padding: 0 10px; border: 2px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font-size: 15px; font-weight: 700; width: 100%; }
.sf-field input.is-missing { border-color: var(--sf-red); background: #fff4f4; animation: sf-shake .35s ease 2; }
@keyframes sf-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sf-need { margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: #fff4f4; border: 1px solid #f0c2c4; color: var(--sf-red); font-size: 13.5px; font-weight: 800; }

.sf-cb { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 2px solid var(--sf-line); border-radius: 999px; background: #fff; color: var(--sf-ink); font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.sf-cb:hover { border-color: var(--sf-red); }
.sf-cb.is-on { background: var(--sf-red); border-color: var(--sf-red); color: #fff; }
.sf-cb i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sf-gold); color: var(--sf-ink); font-size: 11px; font-weight: 900; display: inline-grid; place-items: center; }
.sf-cb--more { background: var(--sf-bg); }
.sf-status { margin-top: 12px; min-height: 20px; font-size: 14px; color: var(--sf-muted); }

/* ===== PICTURES: TILES ===== */
.sf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.sf-tile { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 12px; border: 2px solid var(--sf-line); border-radius: 16px; background: #fff; color: var(--sf-ink); cursor: pointer; text-align: center; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sf-tile:hover { border-color: var(--sf-red); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(173, 29, 33, .12); }
.sf-tile__img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--sf-bg); overflow: hidden; }
.sf-tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.sf-tile:hover .sf-tile__img img { transform: scale(1.06); }
.sf-tile__name { font-weight: 800; font-size: 14.5px; line-height: 1.25; }
.sf-tile__name i { font-style: normal; margin-left: 4px; padding: 1px 7px; border-radius: 10px; background: var(--sf-gold); font-size: 11px; }
.sf-tiles--more { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.sf-morecats { display: block; margin: 14px auto 0; min-height: 44px; padding: 0 20px; border: 2px solid var(--sf-ink); border-radius: 999px; background: #fff; color: var(--sf-ink); font-size: 14px; font-weight: 800; cursor: pointer; }
.sf-morecats:hover { background: var(--sf-ink); color: #fff; }

/* ===== PICTURES: CATEGORY VIEW ===== */
.sf-cathead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sf-back { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--sf-ink); color: #fff; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.sf-back:hover { background: var(--sf-red); }
.sf-cathead strong { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sf-chip { min-height: 38px; padding: 0 14px; border: 2px solid var(--sf-line); border-radius: 999px; background: #fff; color: var(--sf-ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.sf-chip:hover { border-color: var(--sf-ink); }
.sf-chip.is-on { background: var(--sf-ink); border-color: var(--sf-ink); color: #fff; }
.sf-kids { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sf-kids:empty { display: none; }
.sf-kid { min-height: 34px; padding: 0 12px; border: 1px solid var(--sf-line); border-radius: 999px; background: var(--sf-bg); color: var(--sf-ink); font-size: 12.5px; font-weight: 800; cursor: pointer; }
.sf-kid.is-on { background: var(--sf-red); border-color: var(--sf-red); color: #fff; }
.sf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; transition: opacity .15s; }
.sf-grid.is-loading { opacity: .45; }
.sf-item { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.sf-item:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, .07); }
.sf-item.is-in { border: 2px solid var(--sf-red); background: #fffafa; }
.sf-item.is-out { opacity: .6; }
.sf-item__img { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--sf-bg); overflow: hidden; }
.sf-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-item__tick { position: absolute; top: 8px; right: 8px; padding: 3px 9px; border-radius: 999px; background: var(--sf-red); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.sf-item__name { font-weight: 800; font-size: 14px; line-height: 1.3; min-height: 36px; overflow-wrap: anywhere; }
.sf-item__price { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; color: var(--sf-red); }
.sf-item__price small { font-family: inherit; font-size: 12px; font-weight: 400; color: var(--sf-muted); }
.sf-item .sf-step { margin-top: auto; }
.sf-gridfoot { display: flex; justify-content: center; margin-top: 14px; }
.sf-showmore { min-height: 46px; padding: 0 22px; border: 2px solid var(--sf-red); border-radius: 999px; background: #fff; color: var(--sf-red); font-size: 14px; font-weight: 800; cursor: pointer; }
.sf-showmore:hover { background: var(--sf-red); color: #fff; }
.sf-out { font-size: 12px; font-weight: 800; color: var(--sf-muted); }

/* ===== STEPPER (shared) ===== */
.sf-step { display: flex; align-items: stretch; border: 1px solid #dcd6d6; border-radius: 10px; overflow: hidden; background: #fff; }
.sf-step button { flex: 0 0 38px; min-height: 40px; border: 0; background: var(--sf-bg); color: var(--sf-ink); font-size: 18px; font-weight: 800; cursor: pointer; }
.sf-step button:hover { background: #ece8e8; }
.sf-step .sf-ten { flex: 0 0 44px; font-size: 12px; background: var(--sf-red-soft); color: var(--sf-red); border-left: 1px solid #f0dcdc; }
.sf-step .sf-ten:hover { background: var(--sf-red); color: #fff; }
.sf-step input { width: 100%; min-width: 0; border: 0; text-align: center; font-size: 15px; font-weight: 800; color: var(--sf-ink); background: #fff; -moz-appearance: textfield; }
.sf-step input::-webkit-outer-spin-button, .sf-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== QUICK LIST ===== */
.sf-list { margin-top: 10px; }
.sf-list__intro { color: var(--sf-muted); font-size: 13.5px; margin-bottom: 10px !important; }
.sf-list__more { margin: 18px 0 8px !important; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sf-muted); }
.sf-block { border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; margin-bottom: 8px; overflow: hidden; }
.sf-block.is-open { border-color: #d8cfcf; box-shadow: 0 6px 16px rgba(0, 0, 0, .05); }
.sf-block__head { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px; border: 0; background: #fff; color: var(--sf-ink); cursor: pointer; text-align: left; }
.sf-block__head:hover { background: var(--sf-bg); }
.sf-block__img { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: var(--sf-bg); }
.sf-block__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-block__name { flex: 1; font-weight: 800; font-size: 15px; }
.sf-block__count { font-size: 12px; font-weight: 900; color: var(--sf-red); }
.sf-block__chev { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--sf-bg); position: relative; }
.sf-block__chev::after { content: ""; position: absolute; left: 7px; top: 6px; width: 7px; height: 7px; border-right: 2px solid var(--sf-ink); border-bottom: 2px solid var(--sf-ink); transform: rotate(45deg); transition: transform .15s; }
.sf-block.is-open .sf-block__chev::after { transform: rotate(-135deg); top: 9px; }
.sf-block__body { border-top: 1px solid var(--sf-line); }
.sf-sub { margin: 0; padding: 10px 14px 4px !important; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-muted); background: #fcfbfb; }
.sf-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 200px; gap: 12px; align-items: center; padding: 8px 14px; border-top: 1px solid #f2eeee; }
.sf-row:first-child { border-top: 0; }
.sf-row.is-in { background: #fff6f6; box-shadow: inset 4px 0 0 var(--sf-red); }
.sf-row.is-out { opacity: .55; }
.sf-row__img { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--sf-bg); }
.sf-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-row__name { font-weight: 700; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.sf-row__name small { display: block; font-weight: 800; color: var(--sf-red); font-size: 12.5px; }
.sf-row .sf-step button { min-height: 36px; }

/* ===== EVENT ===== */
.sf-event h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; }
.sf-event h3 small { font-family: Arial, sans-serif; font-size: 12.5px; font-weight: 700; color: var(--sf-muted); margin-left: 6px; }
.sf-events { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sf-events .sf-chip.is-on { background: var(--sf-red); border-color: var(--sf-red); }
.sf-eventgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 14px; margin-top: 14px; }
.sf-field { display: flex; flex-direction: column; gap: 6px; }
.sf-field label { font-size: 13px; font-weight: 800; }
.sf-field input { min-height: 46px; padding: 0 12px; border: 2px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font-size: 15px; font-weight: 700; width: 100%; }
.sf-field input:focus { outline: none; border-color: var(--sf-ink); }

/* ===== ORDER PANEL ===== */
.sf-layout { position: relative; }
.sf-order { position: relative; background: #fff; border: 1px solid var(--sf-line); border-radius: 18px; padding: 18px; box-shadow: 0 14px 34px rgba(20, 20, 20, .08); scroll-margin-top: calc(var(--sf-top) + 20px); }
.sf-order__head { display: flex; justify-content: space-between; align-items: center; }
.sf-order h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; }
.sf-lines { margin-top: 10px; }
.sf-group h4 { margin: 10px 0 2px !important; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--sf-muted); }
.sf-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name sum" "ctrl ctrl"; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid #f0ecec; }
.sf-line__name { grid-area: name; font-weight: 800; font-size: 13.5px; line-height: 1.3; }
.sf-line__name small { display: block; font-weight: 400; color: var(--sf-muted); font-size: 12px; }
.sf-line__sum { grid-area: sum; font-size: 13.5px; }
.sf-line__ctrl { grid-area: ctrl; display: flex; gap: 6px; }
.sf-line__ctrl button { min-width: 32px; height: 30px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-bg); font-weight: 900; cursor: pointer; color: var(--sf-ink); }
.sf-line__ctrl .sf-remove { margin-left: auto; color: var(--sf-muted); }
.sf-line__ctrl .sf-remove:hover { color: var(--sf-red); border-color: var(--sf-red); }
.sf-empty { color: var(--sf-muted); font-size: 14px; padding: 8px 0; }
.sf-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-weight: 800; }
.sf-total strong { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; }
.sf-form { margin: 14px 0 0; }
.sf-send { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--sf-red); color: #fff !important; font-size: 16px; font-weight: 800; cursor: pointer; }
.sf-send:hover { background: var(--sf-red-dark); }
.sf-send:disabled { opacity: .45; cursor: not-allowed; }
.sf-note { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--sf-bg); font-size: 13px; line-height: 1.5; }
.sf-mobilebar { display: none; }

@media (prefers-reduced-motion: reduce) {
	.sf-tile, .sf-tile__img img, .sf-cb, .sf-grid { transition: none; }
	.sf-arrow--right, .sf-field input.is-missing { animation: none; }
}

/* ===== TABLET & PHONE ===== */
@media (max-width: 1000px) {
	.sf-layout { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 110px; }
	.sf-order { position: static; max-height: none; }
	.sf-hero { padding: 26px 16px 24px; }
	.sf-mobilebar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sf-line); box-shadow: 0 -10px 24px rgba(20, 20, 20, .12); }
	.sf-mobilebar div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
	.sf-mobilebar small { font-size: 12px; font-weight: 700; color: var(--sf-muted); }
	.sf-mobilebar strong { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; line-height: 1.1; }
	.sf-mobilebar .sf-send { width: auto; min-height: 50px; padding: 0 22px; font-size: 15px; }
	.sf-mview { min-height: 48px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--sf-ink); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
	.sf-donebar { display: none; }
}
@media (max-width: 640px) {
	.sf-card { padding: 14px; }
	.sf-catwrap { margin: 12px -14px 0; }
	.sf-catbar { padding: 8px 48px 8px 14px; }
	.sf-howto { gap: 4px; }
	.sf-howto__step { padding: 10px 4px; }
	.sf-howto__step span { font-size: 22px; }
	.sf-howto__step b { font-size: 12px; }
	.sf-howto__arrow { font-size: 14px; }
	.sf-views { width: 100%; }
	.sf-view { padding: 0 8px; font-size: 13px; }
	.sf-donebar { display: none; }
	.sf-letters { top: calc(var(--sf-top) + 58px); }
	.sf-letters a, .sf-letters span { min-width: 26px; height: 28px; font-size: 12px; }
	.sf-toolbar { flex-direction: column; align-items: stretch; }
	.sf-views { justify-content: center; }
	.sf-view { flex: 1; justify-content: center; }
	.sf-search { max-width: none; flex: 0 0 auto; }
	.sf-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.sf-item .sf-step button { flex-basis: 30px; }
	.sf-item .sf-step .sf-ten { flex-basis: 36px; }
	.sf-row { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; }
	.sf-row__img { width: 40px; height: 40px; grid-row: span 2; }
	.sf-row .sf-step { grid-column: 2; }
	.sf-eventgrid { grid-template-columns: minmax(0, 1fr); }
	.sf-hero__title { font-size: clamp(30px, 9vw, 40px); }
	.sf-hero__lead { font-size: 15px; }
	.sf-hero__lead span { display: inline; }
	.sf-hero__steps { margin-top: 30px; }
	.sf-hstep { padding: 26px 4px 12px; gap: 6px; border-width: 2px; border-radius: 14px; }
	.sf-hstep__num { top: -18px; width: 36px; height: 36px; margin-left: -18px; font-size: 17px; }
	.sf-hstep__icon { width: 40px; height: 40px; }
	.sf-hstep__text { font-size: 11.5px; letter-spacing: 0; }
	.sf-hstep__arrow { flex-basis: 12px; height: 14px; margin: 0 3px !important; }
}

/* 2.6: close a category, delivery or collection, back button at the bottom */
.sf-closebar { display: flex; justify-content: center; padding: 12px; background: #fcfbfb; border-top: 1px solid var(--sf-line); }
.sf-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--sf-ink); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.sf-close:hover { background: var(--sf-red); }
.sf-label { font-size: 13px; font-weight: 800; }
.sf-handover { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sf-handover button { min-height: 46px; padding: 0 8px; border: 2px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font-size: 13.5px; font-weight: 800; cursor: pointer; }
.sf-handover button:hover { border-color: var(--sf-ink); }
.sf-handover button[aria-pressed="true"] { border-color: var(--sf-red); background: var(--sf-red-soft); color: var(--sf-red); }
.sf-date { cursor: pointer; }
.sf-gridfoot { flex-direction: column; align-items: center; gap: 10px; }
.sf-back--foot { background: var(--sf-bg); color: var(--sf-ink); border: 2px solid var(--sf-ink); }
.sf-back--foot:hover { background: var(--sf-ink); color: #fff; }

/* 2.8: item list folds away, and a "My order" button on the right */
.sf-itemsbar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 48px; padding: 0 14px; border: 2px solid var(--sf-ink); border-radius: 12px; background: #fff; color: var(--sf-ink); font-size: 14px; font-weight: 800; cursor: pointer; }
.sf-itemsbar:hover, .sf-itemsbar[aria-expanded="true"] { background: var(--sf-ink); color: #fff; }
.sf-itemsbar b { font-size: 13px; color: var(--sf-red); white-space: nowrap; }
.sf-itemsbar:hover b, .sf-itemsbar[aria-expanded="true"] b { color: var(--sf-gold); }
.sf-float { position: fixed; right: 18px; bottom: 24px; z-index: 9998; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border: 0; border-radius: 999px; background: var(--sf-red); color: #fff; cursor: pointer; box-shadow: 0 12px 28px rgba(0, 0, 0, .28); text-align: left; }
.sf-float:hover { background: var(--sf-red-dark); }
.sf-float > span:first-child { font-size: 22px; }
.sf-float b { display: block; font-size: 15px; }
.sf-float small { display: block; font-size: 12px; opacity: .9; }
@media (max-width: 1000px) { .sf-float { display: none !important; } }

/* 2.9: Hide items at the bottom of the list */
.sf-hidebottom { display: block; width: 100%; margin-top: 10px; min-height: 44px; border: 2px solid var(--sf-ink); border-radius: 12px; background: #fff; color: var(--sf-ink); font-size: 14px; font-weight: 800; cursor: pointer; }
.sf-hidebottom:hover { background: var(--sf-ink); color: #fff; }
