/* Sweet theme. All colours and fonts come from the CSS variables Lotaja emits
   from the theme settings (--color-*, --font-*); the fallbacks match the defaults. */
.sweet {
  --c-primary: var(--color-primary, #9E1B34);
  --c-primary-dark: var(--color-primary-dark, #7A1428);
  --c-ink: var(--color-ink, #2A1215);
  --c-muted: var(--color-muted, #5E3F44);
  --c-bg: var(--color-background, #FFF8F5);
  --c-surface: var(--color-surface, #FFFFFF);
  --c-border: var(--color-border, #F0DCD8);
  --c-accent: var(--color-accent, #FFD166);
  --c-tint: var(--color-tint, #FBE9E5);
  --f-heading: var(--font-heading, "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif);
  --f-body: var(--font-body, "DM Sans", ui-sans-serif, system-ui, sans-serif);
  --r-lg: 28px; --r-md: 16px; --r-sm: 12px; --r-pill: 999px;
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.sweet--radius-soft { --r-lg: 16px; --r-md: 10px; --r-sm: 8px; }
.sweet--radius-square { --r-lg: 0; --r-md: 0; --r-sm: 0; --r-pill: 0; }
.sweet *, .sweet *::before, .sweet *::after { box-sizing: border-box; }
.sweet a { color: inherit; }
.sweet img { max-width: 100%; display: block; }
.sweet h1, .sweet h2, .sweet h3 { font-family: var(--f-heading); margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
.sweet p { margin: 0; }
.sweet button { font-family: inherit; }
.sweet-container { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sweet-skip { position: absolute; left: -9999px; }
.sweet-skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--c-surface); padding: 8px 12px; }
.sweet-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sweet-icon { flex: none; }
.sweet :focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* Buttons and pills */
.sweet-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.sweet-btn--primary { background: var(--c-primary); color: #fff !important; }
.sweet-btn--primary:hover:not(:disabled) { background: var(--c-primary-dark); }
.sweet-btn--primary:disabled { background: color-mix(in srgb, var(--c-primary) 45%, #fff); cursor: not-allowed; }
.sweet-btn--ghost { background: var(--c-surface); border-color: var(--c-border); color: var(--c-ink); }
.sweet-btn--accent { background: var(--c-accent); color: var(--c-ink) !important; }
.sweet-btn--block { width: 100%; }
.sweet-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--c-accent); color: var(--c-ink); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: var(--r-pill); }
.sweet-pill--light { background: var(--c-tint); color: var(--c-primary); }
.sweet-link { color: var(--c-primary); font-weight: 700; text-decoration: none; }
.sweet-link:hover { text-decoration: underline; }
.sweet-iconbtn { width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-surface); display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink); cursor: pointer; text-decoration: none; }
.sweet-placeholder { width: 100%; height: 100%; min-height: 120px; background: repeating-linear-gradient(45deg, var(--c-tint) 0 14px, var(--c-border) 14px 28px); }
.sweet-placeholder--hero { min-height: 420px; border-radius: var(--r-lg); }
.sweet-empty { padding: 48px 0; text-align: center; color: var(--c-muted); }

/* Header */
.sweet-announcement { background: var(--c-ink); color: var(--c-bg); text-align: center; padding: 10px 16px; font-size: 14px; }
.sweet-announcement strong { color: var(--c-accent); }
.sweet-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 40; }
.sweet-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.sweet-header__menu { display: none; }
.sweet-logo { font-family: var(--f-heading); font-weight: 800; font-size: 28px; color: var(--c-primary) !important; text-decoration: none; letter-spacing: -0.04em; display: inline-flex; align-items: center; }
.sweet-logo span { color: var(--c-ink); }
.sweet-logo img { max-height: 44px; width: auto; }
.sweet-nav { display: flex; flex: 1 1 auto; gap: 24px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.sweet-nav a { text-decoration: none; }
.sweet-nav a:hover { color: var(--c-primary); }
.sweet-header__actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.sweet-cartbtn { height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 0; background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.sweet-cartbtn__count { background: #fff; color: var(--c-primary); border-radius: var(--r-pill); min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.sweet-searchbar { border-top: 1px solid var(--c-border); background: var(--c-surface); padding: 12px 0; }
.sweet-searchbar .sweet-container { display: flex; gap: 12px; }
.sweet-searchbar input, .sweet-hero__search input { flex: 1; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--c-border); padding: 0 14px; font: inherit; background: var(--c-bg); color: var(--c-ink); min-width: 0; }

/* Currency switcher (markup from Lotaja's {% lotaja_currency_switcher %}) */
.sweet .lotaja-currency { position: relative; }
.sweet .lotaja-currency__trigger { list-style: none; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-surface); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--c-ink); }
.sweet .lotaja-currency__trigger::-webkit-details-marker { display: none; }
.sweet .lotaja-currency__flag { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.sweet .lotaja-currency__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); box-shadow: 0 16px 36px rgba(42,18,21,.14); padding: 6px; z-index: 60; }
.sweet .lotaja-currency__option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--c-ink); text-align: left; }
.sweet .lotaja-currency__option:hover, .sweet .lotaja-currency__option[aria-current="true"] { background: var(--c-tint); }
.sweet .lotaja-currency__name { margin-left: auto; font-weight: 500; color: var(--c-muted); font-size: 12px; }

/* Hero */
.sweet-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.sweet-hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sweet-hero__copy h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.sweet-hero__copy h1 span { color: var(--c-primary); }
.sweet-hero__copy > p { font-size: 18px; line-height: 1.55; color: var(--c-muted); max-width: 520px; }
.sweet-hero__search { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 12px 32px rgba(42,18,21,.06); }
.sweet-hero__search label { font-size: 13px; font-weight: 700; }
.sweet-hero__search div { display: flex; gap: 12px; }
.sweet-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sweet-hero__media { flex: 1 1 420px; min-width: 0; position: relative; }
.sweet-hero__media > img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--r-lg); }
.sweet-hero__tag { position: absolute; left: -20px; bottom: 32px; background: var(--c-surface); border-radius: var(--r-md); padding: 14px 18px; box-shadow: 0 12px 32px rgba(42,18,21,.12); display: flex; flex-direction: column; }
.sweet-hero__tag span { font-size: 12px; font-weight: 500; color: var(--c-muted); }
.sweet-hero__tag strong { font-family: var(--f-heading); font-weight: 800; font-size: 28px; color: var(--c-primary); }

/* Trust bar */
.sweet-trust { background: var(--c-surface); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.sweet-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.sweet-trust__item { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.sweet-trust__item .sweet-icon { color: var(--c-primary); }

/* Sections */
.sweet-section { padding-top: 56px; padding-bottom: 24px; }
.sweet-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sweet-section__head h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; }
.sweet-section__head p { margin-top: 6px; color: var(--c-muted); max-width: 560px; }
.sweet-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sweet-chip { height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.sweet-chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

.sweet-occasions { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sweet-occasion { text-decoration: none; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.sweet-occasion__media { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.sweet-occasion__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sweet-occasion:hover img { transform: scale(1.04); }

.sweet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.sweet-card { text-decoration: none; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.sweet-card:hover { box-shadow: 0 16px 36px rgba(42,18,21,.1); transform: translateY(-2px); }
.sweet-card[hidden] { display: none; }
.sweet-card__media { position: relative; aspect-ratio: var(--card-ratio, 1); background: var(--c-tint); }
.sweet-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sweet-badge { position: absolute; top: 12px; left: 12px; background: var(--c-accent); color: var(--c-ink); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); }
.sweet-badge--dark { background: var(--c-ink); color: #fff; }
.sweet-card__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.sweet-card__title { font-family: var(--f-heading); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.sweet-card__sub { font-size: 14px; color: var(--c-muted); }
.sweet-card__price { margin-top: 6px; font-size: 15px; }
.sweet-card__price strong { color: var(--c-primary); font-size: 17px; }
.sweet-card__price s { color: var(--c-muted); font-size: 13px; margin-left: 4px; }
.sweet-card__from { color: var(--c-muted); font-size: 13px; }

.sweet-steps { background: var(--c-surface); margin-top: 56px; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 56px 0; }
.sweet-steps h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; margin-bottom: 28px; }
.sweet-steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.sweet-steps__grid li { display: flex; flex-direction: column; gap: 6px; }
.sweet-steps__grid li > span:last-child { color: var(--c-muted); font-size: 15px; }
.sweet-steps__num { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--c-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-heading); font-weight: 800; margin-bottom: 6px; }

.sweet-feature { background: var(--c-primary); color: #fff; margin-top: 56px; }
.sweet-feature__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.sweet-feature__copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sweet-feature h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sweet-feature p { opacity: .9; max-width: 480px; }
.sweet-feature__media { flex: 1 1 360px; min-height: 280px; border-radius: var(--r-lg); overflow: hidden; }
.sweet-feature__media img { width: 100%; height: 100%; object-fit: cover; }

.sweet-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sweet-review { margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.sweet-review__stars { display: flex; gap: 2px; color: #E8A21A; }
.sweet-review__stars .sweet-icon { fill: currentColor; }
.sweet-review blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.sweet-review figcaption { color: var(--c-muted); font-size: 14px; font-weight: 500; }

/* Product page */
.sweet-product { padding-top: 24px; padding-bottom: 48px; }
.sweet-crumbs { font-size: 14px; color: var(--c-muted); margin-bottom: 20px; }
.sweet-crumbs a { text-decoration: none; }
.sweet-product__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sweet-gallery__main { border-radius: var(--r-lg); overflow: hidden; background: var(--c-tint); aspect-ratio: 1; }
.sweet-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.sweet-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.sweet-gallery__thumbs button { padding: 0; border: 1px solid var(--c-border); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; background: var(--c-surface); cursor: pointer; }
.sweet-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sweet-buy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.sweet-buy__head { display: flex; flex-direction: column; gap: 10px; }
.sweet-buy__head h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 800; }
.sweet-buy__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.sweet-buy__rating { display: flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 14px; }
.sweet-buy__rating .sweet-icon { color: #E8A21A; fill: currentColor; }
.sweet-field { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sweet-field legend, .sweet-field__label { font-weight: 700; font-size: 15px; padding: 0; }
.sweet-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sweet-option { min-height: 52px; padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.sweet-option:hover { border-color: var(--c-primary); }
.sweet-option[aria-checked="true"] { background: var(--c-tint); border: 2px solid var(--c-primary); padding: 7px 13px; }
.sweet-addons { display: flex; flex-direction: column; gap: 8px; }
.sweet-addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-surface); cursor: pointer; }
.sweet-addon input { width: 18px; height: 18px; accent-color: var(--c-primary); }
.sweet-addon__title { flex: 1; font-weight: 600; }
.sweet-addon__price { color: var(--c-muted); font-size: 14px; }
.sweet-qty { display: inline-flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-surface); align-self: flex-start; }
.sweet-qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--c-ink); border-radius: var(--r-pill); }
.sweet-qty button:disabled { opacity: .35; cursor: not-allowed; }
.sweet-qty input { width: 48px; text-align: center; border: 0; background: none; font: 700 16px var(--f-body); color: var(--c-ink); }
.sweet-stock { font-size: 13px; color: var(--c-muted); min-height: 1em; }
.sweet-stock.text-red-500 { color: #b91c1c; }
.sweet-error { color: #b91c1c; font-size: 14px; background: rgba(220,38,38,.08); padding: 10px 12px; border-radius: var(--r-sm); }
.sweet-summary { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 32px rgba(42,18,21,.06); }
.sweet-summary__row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.sweet-summary__label { display: block; font-size: 13px; color: var(--c-muted); font-weight: 500; }
.sweet-summary__price, .sweet-summary__total strong { font-family: var(--f-heading); font-weight: 800; font-size: 28px; color: var(--c-primary); }
.sweet-summary__was { color: var(--c-muted); margin-left: 8px; }
.sweet-summary__total { text-align: right; }
.sweet-summary__help { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-size: 14px; }
.sweet-prose { margin-top: 48px; max-width: 760px; color: var(--c-muted); line-height: 1.7; }
.sweet-prose h2 { color: var(--c-ink); font-size: 26px; margin-bottom: 12px; }

/* Services that are enquired about instead of added to a cart */
.sweet-buy__from { color: var(--c-muted); }
.sweet-buy__from strong { font-family: var(--f-heading); font-size: 28px; color: var(--c-primary); }
.sweet-enquiry label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.sweet-enquiry input, .sweet-enquiry textarea { width: 100%; min-height: 46px; border-radius: var(--r-sm); border: 1px solid var(--c-border); padding: 10px 14px; font: inherit; font-weight: 400; background: var(--c-bg); color: var(--c-ink); }

/* Collection page */
.sweet-collection { padding-top: 40px; padding-bottom: 48px; }
.sweet-collection__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.sweet-collection__head h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.sweet-collection__head > p { color: var(--c-muted); max-width: 640px; }
.sweet-collection__banner { border-radius: var(--r-lg); overflow: hidden; max-height: 260px; }
.sweet-collection__banner img { width: 100%; object-fit: cover; }
.sweet-collection__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sweet-collection__count { color: var(--c-muted); font-size: 14px; }
.sweet-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; color: var(--c-muted); }

/* Footer */
.sweet-footer { background: var(--c-ink); color: var(--c-bg); margin-top: 72px; }
.sweet-footer__grid { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-top: 48px; padding-bottom: 40px; }
.sweet-footer__grid > div { flex: 1 1 170px; }
.sweet-footer__grid > .sweet-footer__brand { flex: 2 1 280px; }
.sweet-footer__grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.sweet-footer__grid strong { font-family: var(--f-heading); font-size: 16px; margin-bottom: 4px; }
.sweet-footer a { text-decoration: none; opacity: .85; }
.sweet-footer a:hover { opacity: 1; text-decoration: underline; }
.sweet-logo--footer { color: #fff !important; font-size: 26px; }
.sweet-logo--footer span { color: var(--c-accent); }
.sweet-footer__brand p { opacity: .8; max-width: 320px; }
.sweet-footer__legal { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px; font-size: 13px; opacity: .7; }

/* Responsive */
@media (max-width: 900px) {
  .sweet-container { padding-left: 20px; padding-right: 20px; }
  .sweet-product__layout { grid-template-columns: 1fr; gap: 28px; }
  .sweet-buy { position: static; }
  .sweet-header__menu { display: inline-flex; }
  .sweet-header__inner { gap: 12px; }
  .sweet-logo { font-size: 24px; margin-right: auto; }
  .sweet-header__actions { margin-left: 0; }
  .sweet-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-surface); border-bottom: 1px solid var(--c-border); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .sweet-nav.is-open { display: flex; }
  .sweet-nav a { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .sweet-cartbtn__label, .sweet-header__account { display: none; }
  .sweet .lotaja-currency__name { display: none; }
  .sweet-hero { padding-top: 28px; gap: 28px; }
  .sweet-hero__media > img { height: 340px; }
  .sweet-hero__tag { left: 12px; }
  .sweet-hero__search div { flex-direction: column; }
  .sweet-hero__search input { flex: none; }
  .sweet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .sweet-card__title { font-size: 16px; }
  .sweet-card__body { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .sweet * { transition: none !important; } }

/* A feature image area must keep its height even when it holds only a placeholder */
.sweet-feature__media { position: relative; }
.sweet-feature__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Long shop names must never wrap onto a second line in the header */
.sweet-header .sweet-logo { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* FAQ */
.sweet-faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--c-border); max-width: 780px; }
.sweet-faq details { border-bottom: 1px solid var(--c-border); padding: 18px 0; }
.sweet-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sweet-faq summary::-webkit-details-marker { display: none; }
.sweet-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--c-primary); }
.sweet-faq details[open] summary::after { content: "\2013"; }
.sweet-faq details p { margin-top: 10px; color: var(--c-muted); }

/* Info panels under the product description */
.sweet-info { margin-top: 36px; max-width: 760px; border-top: 1px solid var(--c-border); }
.sweet-info details { border-bottom: 1px solid var(--c-border); padding: 16px 0; }
.sweet-info summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sweet-info summary::-webkit-details-marker { display: none; }
.sweet-info summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--c-primary); }
.sweet-info details[open] summary::after { content: "\2013"; }
.sweet-info details div { margin-top: 10px; color: var(--c-muted); line-height: 1.7; }

/* announcement bar: optional auto-scroll */
.sweet-announcement--scroll { overflow: hidden; padding-left: 0; padding-right: 0; text-align: left; }
.sweet-announcement__track { display: flex; width: max-content; animation: sweet-marquee var(--marquee-duration, 25s) linear infinite; }
.sweet-announcement__item { flex: none; padding: 0 2.5rem; white-space: nowrap; }
.sweet-announcement--scroll:hover .sweet-announcement__track { animation-play-state: paused; }
@keyframes sweet-marquee { to { transform: translateX(-12.5%); } }
@media (prefers-reduced-motion: reduce) {
  .sweet-announcement__track { animation: none; }
  .sweet-announcement--scroll { text-align: center; }
  .sweet-announcement__item:not(:first-child) { display: none; }
}

/* footer logo */
.sweet-footer__logo { display: block; max-height: 56px; width: auto; max-width: 220px; object-fit: contain; }
.sweet-footer strong a { opacity: 1; font: inherit; }

/* Variation options as a dropdown (product page setting) */
.sweet-select { width: 100%; min-height: 52px; padding: 0 40px 0 14px; border-radius: var(--r-sm); border: 1px solid var(--c-border); background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--c-ink); font: inherit; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; }
.sweet-select:hover { border-color: var(--c-primary); }
.sweet-select:focus-visible { border-color: var(--c-primary); }

/* Header buttons use the same corner shape as the theme's buttons */
.sweet { --r-btn: var(--r-sm); }
.sweet-btn, .sweet-iconbtn, .sweet-cartbtn, .sweet .lotaja-currency__trigger { border-radius: var(--r-btn); }

/* Form fields: no browser focus ring. A field shows focus through its own border (or its wrapper's) instead. */
.sweet :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]), select, textarea):is(:focus, :focus-visible) { outline: none; box-shadow: none; border-color: var(--c-primary); }
.sweet :is(input, select, textarea, button) { -webkit-tap-highlight-color: transparent; }
.sweet input:-webkit-autofill, .sweet input:-webkit-autofill:focus { -webkit-text-fill-color: var(--c-ink); caret-color: var(--c-ink); transition: background-color 99999s ease-out; }
.sweet-qty:focus-within, .sweet-find:focus-within, .sweet-finder:focus-within, .sweet-quick:focus-within, .sweet-searchbar form:focus-within { border-color: var(--c-primary); }
.sweet :is(.sweet-find, .sweet-finder, .sweet-quick, .sweet-qty) :is(input, select):is(:focus, :focus-visible) { border-color: transparent; }

/* Header cart and icon buttons react to hover and focus like the theme's other buttons */
.sweet-cartbtn, .sweet-iconbtn { transition: filter .15s, background-color .15s, border-color .15s; }
.sweet-cartbtn:hover, .sweet-cartbtn:focus-visible { filter: brightness(.92); }
.sweet-iconbtn:hover, .sweet-iconbtn:focus-visible { border-color: var(--c-ink); }

/* Card image boxes keep their chosen height: a tall photo is clipped by the box instead of stretching it. */
.sweet-card__media { overflow: hidden; min-height: 0; }
.sweet-card__media img { height: 100%; }
