/* Template 2 ("Fumo"): near-black page, cream type, one loud accent, Anton titles + Onest text, pill buttons, big
   rounded photo cards. Colours come from templates/storefront/template2/base.html (--t2-*, from the website editor's
   colour roles); the design's measured values are in docs/client-templates/template2/ANALYSIS.md. The item page,
   cart and checkout are the shared partials (storefront.css), restyled at the end of this file. */

.t2 {
  --t2-radius: 28px;
  --t2-gap: clamp(16px, 2vw, 24px);
  --t2-soft: color-mix(in srgb, var(--t2-text) 8%, transparent);
  --t2-line: color-mix(in srgb, var(--t2-text) 14%, transparent);
  --t2-accent-soft: color-mix(in srgb, var(--t2-accent) 16%, transparent);
  background: var(--t2-bg);
  color: var(--t2-text);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.t2 a { color: inherit; }
.t2 img { display: block; }
.t2-wrap { width: min(1240px, 100% - 2 * clamp(16px, 5vw, 50px)); margin-inline: auto; }
.t2-section { padding-block: clamp(56px, 8vw, 110px); }
.t2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.t2-h1, .t2-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: .005em; text-transform: none; }
.t2-h1 { font-size: clamp(48px, 6.6vw, 96px); line-height: .96; }
.t2-h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; max-width: 14ch; }
.t2-h1 em, .t2-h2 em { display: inline-block; font-style: normal; color: var(--t2-accent); transform: skewX(-9deg); }
.t2-h2 em { display: block; }
.t2-kicker { margin: 0 0 12px; color: var(--t2-accent-2); font-size: 13px; font-weight: 600; }
.t2-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--t2-muted); font-size: 14px; font-weight: 500; }
.t2-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--t2-accent); }

/* Buttons */
.t2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.t2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px;
  border: 1.5px solid transparent; border-radius: 999px; background: none; font: 600 16px/1 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s; }
.t2-btn:hover { transform: translateY(-2px); }
.t2-btn--accent { background: var(--t2-accent); color: var(--t2-on-accent); }
.t2-btn--outline { border-color: color-mix(in srgb, var(--t2-text) 70%, transparent); color: var(--t2-text); }
.t2-btn--outline:hover { background: var(--t2-soft); }
.t2 :focus-visible { outline: 2px solid var(--t2-accent-2); outline-offset: 3px; }

/* Announcement bar */
.t2-announce { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 16px;
  background: var(--t2-text); color: var(--t2-bg); font-size: 13px; font-weight: 500; text-align: center; }
.t2-announce__text { margin: 0; }
.t2-announce__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4CC38A;
  box-shadow: 0 0 0 0 color-mix(in srgb, #4CC38A 60%, transparent); animation: t2-pulse 2s infinite; }
.t2-announce__dot.is-closed { background: #E0A43B; animation: none; }
@keyframes t2-pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* Header */
.t2-header { position: sticky; top: 0; z-index: 30; transition: background-color .25s, border-color .25s;
  border-bottom: 1px solid transparent; }
.t2-header.is-scrolled { background: color-mix(in srgb, var(--t2-bg) 92%, transparent); backdrop-filter: blur(10px);
  border-bottom-color: var(--t2-line); }
.t2-header__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.t2-logo { flex: none; display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; text-decoration: none; }
.t2-logo__word { font: 400 30px/1 var(--font-display); }
.t2-logo__prefix { font-family: var(--font-body); font-size: .55em; font-weight: 500; }
.t2-logo__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--t2-accent); }
.t2-logo__image { width: auto; max-width: 160px; height: 40px; object-fit: contain; }
.t2-nav { display: none; gap: 32px; margin-inline: auto; font-weight: 500; }
.t2-nav a { text-decoration: none; }
.t2-nav a:hover { color: var(--t2-accent-2); }
.t2-header__side { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.t2-header__status { display: none; color: var(--t2-muted); font-size: 14px; }
.t2-cart-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 8px 6px 18px; border: 0;
  border-radius: 999px; background: var(--t2-text); color: var(--t2-bg); font: 600 16px/1 var(--font-body); cursor: pointer; }
.t2-cart-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.t2-cart-pill__count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px;
  background: var(--t2-accent); color: var(--t2-on-accent); font-size: 13px; }
.t2 .lang-switch, .t2 .language-switcher { color: var(--t2-text); }
@media (min-width: 1000px) {
  .t2-nav { display: flex; }
  .t2-header__side { margin-left: 0; }
  .t2-header__status { display: inline; }
}
@media (max-width: 420px) { .t2-cart-pill__label { display: none; } .t2-cart-pill { padding-left: 14px; } }

/* Hero 1: collage */
.t2-hero { position: relative; }
.t2-hero--collage { padding-block: clamp(32px, 6vw, 80px) clamp(40px, 6vw, 72px); }
.t2-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center; gap: clamp(28px, 4vw, 64px); }
.t2-hero__text { display: grid; gap: 28px; max-width: 580px; }
.t2-hero__lead { margin: 0; max-width: 46ch; color: color-mix(in srgb, var(--t2-text) 78%, transparent); font-size: clamp(17px, 1.4vw, 19px); }
.t2-collage { position: relative; height: clamp(440px, 46vw, 620px); }
.t2-collage__photo { position: absolute; margin: 0; overflow: hidden; border: 6px solid var(--t2-surface); border-radius: var(--t2-radius);
  background: var(--t2-surface); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); animation: t2-float 7s ease-in-out infinite; }
.t2-collage__photo img { width: 100%; height: 100%; object-fit: cover; }
.t2-collage__photo--1 { left: 4%; top: 4%; width: 52%; height: 82%; transform: rotate(-4deg); --t2-rot: -4deg; }
.t2-collage__photo--2 { right: 0; top: 18%; width: 40%; height: 50%; transform: rotate(5deg); --t2-rot: 5deg; animation-delay: -2s; }
.t2-collage__photo--3 { left: 48%; bottom: 0; width: 28%; height: 38%; transform: rotate(-6deg); --t2-rot: -6deg; animation-delay: -4s; }
@keyframes t2-float { 50% { transform: rotate(var(--t2-rot, 0deg)) translateY(-10px); } }
.t2-collage__card { position: absolute; right: 6%; bottom: 8%; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px;
  max-width: 76%; padding: 10px 10px 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--t2-bg) 88%, transparent);
  backdrop-filter: blur(8px); box-shadow: 0 16px 40px -16px rgb(0 0 0 / .7); }
.t2-collage__kicker { width: 100%; margin: 0; color: var(--t2-muted); font-size: 12px; }
.t2-collage__name { flex: 1; margin: 0; font-weight: 600; font-size: 15px; }
.t2-collage__add { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--t2-accent); color: var(--t2-on-accent); font-size: 22px; cursor: pointer; pointer-events: auto; }
.t2-collage__kicker { order: -1; }
@media (max-width: 700px) {
  .t2-collage { height: 420px; }
  .t2-collage__photo--1 { width: 60%; }
  .t2-collage__photo--2 { width: 44%; }
  .t2-collage__photo--3 { left: 38%; width: 34%; }
}

/* Hero 2: full photo */
.t2-hero--full { display: grid; align-items: end; min-height: min(86vh, 820px); overflow: hidden; }
.t2-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t2-hero--full.has-image::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .1) 30%, color-mix(in srgb, var(--t2-bg) 92%, transparent) 100%); }
.t2-hero__inner { position: relative; z-index: 1; display: grid; gap: 24px; padding-block: 120px clamp(48px, 7vw, 96px); }
.t2-hero--full.has-image .t2-h1, .t2-hero--full.has-image .t2-hero__lead { color: #F7F1E8; }

/* Giant brand word + marquee */
.t2-brand { overflow: hidden; padding-top: clamp(16px, 4vw, 48px); }
.t2-brand__word { margin: 0 auto; width: max-content; max-width: 100%; color: var(--t2-text); font: 400 clamp(96px, 22vw, 340px)/.84 var(--font-display);
  text-align: center; white-space: nowrap; }
.t2-marquee { margin: clamp(-10px, -1vw, -4px) -2vw 0; padding-block: 14px; background: var(--t2-accent); color: var(--t2-on-accent);
  transform: rotate(-2deg); overflow: hidden; }
.t2-marquee__track { display: flex; width: max-content; animation: t2-marquee 38s linear infinite; }
.t2-marquee__set { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.t2-marquee__word { font: 400 clamp(22px, 2.6vw, 34px)/1 var(--font-display); font-style: italic; white-space: nowrap; transform: skewX(-8deg); }
.t2-marquee__sep { font-size: 18px; }
@keyframes t2-marquee { to { transform: translateX(-50%); } }

/* Menu */
.t2-pills { display: flex; gap: 6px; margin: 28px 0 8px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto;
  border-radius: 999px; background: var(--t2-soft); scrollbar-width: none; }
.t2-pills::-webkit-scrollbar { display: none; }
.t2-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px;
  background: none; color: var(--t2-text); font: 600 14px/1 var(--font-body); cursor: pointer; }
.t2-pill.is-active { background: var(--t2-text); color: var(--t2-bg); }
.t2-pill__n { opacity: .55; font-size: 12px; font-weight: 500; }
.t2-note { margin: 20px 0 0; padding: 16px 20px; border-left: 3px solid var(--t2-accent); border-radius: 12px; background: var(--t2-soft); }
.t2-note__title { margin: 0; font-weight: 700; }
.t2-note__text { margin: 2px 0 0; color: var(--t2-muted); }
.t2-category { margin-top: 36px; }
.t2-category__title { margin: 0 0 16px; font: 400 26px/1.1 var(--font-display); }
.t2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 250px), 1fr)); gap: 32px var(--t2-gap); }
.t2-card { display: grid; gap: 14px; align-content: start; cursor: pointer; }
.t2-card__media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: var(--t2-radius); background: var(--t2-surface); }
.t2-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.t2-card:hover .t2-card__media img { transform: scale(1.04); }
.t2-card__glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t2-muted); font: 400 48px/1 var(--font-display); }
.t2-tag { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgb(0 0 0 / .65);
  color: #fff; font-size: 12px; font-weight: 600; }
.t2-card__qty { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--t2-accent);
  color: var(--t2-on-accent); font-size: 13px; font-weight: 700; }
.t2-card__body { display: flex; align-items: flex-start; gap: 12px; }
.t2-card__text { flex: 1; min-width: 0; }
.t2-card__name { margin: 0; font: 400 21px/1.1 var(--font-display); }
.t2-card__desc { margin: 4px 0 0; color: var(--t2-muted); font-size: 13.5px; line-height: 1.4; }
.t2-card__price { margin: 8px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.t2-card__from { color: var(--t2-muted); font-weight: 500; }
.t2-card__add { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--t2-line);
  border-radius: 50%; background: none; color: var(--t2-text); font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.t2-card__add:hover, .t2-card:hover .t2-card__add { background: var(--t2-accent); border-color: var(--t2-accent); color: var(--t2-on-accent); }
.t2-card__add.is-off { opacity: .45; }
.t2-card.is-sold-out { cursor: default; }
.t2-card.is-sold-out .t2-card__media img { filter: grayscale(1); opacity: .5; }
.t2-empty { color: var(--t2-muted); }

/* About */
.t2-about__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.t2-about__grid.has-image { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.t2-about__lead { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--t2-line); font-size: 19px; max-width: 40ch; }
.t2-about__more { margin: 14px 0 0; color: var(--t2-muted); max-width: 52ch; }
.t2-about__media { overflow: hidden; border-radius: var(--t2-radius); }
.t2-about__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }

/* Steps */
.t2-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.t2-step { padding: 24px; border-radius: 22px; background: var(--t2-surface); }
.t2-step__n { color: var(--t2-accent); font: 400 40px/1 var(--font-display); }
.t2-step__title { margin: 28px 0 6px; font-size: 17px; font-weight: 700; }
.t2-step__text { margin: 0; color: var(--t2-muted); font-size: 14px; }

/* Reviews */
.t2-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.t2-review { padding: 24px; border-radius: 22px; background: var(--t2-surface); }
.t2-review blockquote { margin: 0; }
.t2-review blockquote p { margin: 0; font-size: 16px; }
.t2-review__author { margin: 14px 0 0; color: var(--t2-muted); font-size: 14px; font-weight: 600; }

/* Info card */
.t2-infos-wrap { padding-top: 0; }
.t2-infos { display: grid; overflow: hidden; border-radius: var(--t2-radius); background: var(--t2-text); color: var(--t2-bg); }
.t2-infos.has-image { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.t2-infos__text { padding: clamp(24px, 4vw, 40px); }
.t2-infos__status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
.t2-infos__title { margin: 16px 0 4px; font: 400 clamp(28px, 3vw, 38px)/1.05 var(--font-display); }
.t2-infos__note { margin: 2px 0 0; color: color-mix(in srgb, var(--t2-bg) 70%, transparent); font-size: 14px; }
.t2-hours { margin: 24px 0 0; }
.t2-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--t2-bg) 10%, transparent); font-size: 14px; }
.t2-hours dt, .t2-hours dd { margin: 0; }
.t2-hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.t2-infos__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* Footer */
.t2-footer { margin-top: clamp(40px, 6vw, 80px); padding-block: 48px 28px; border-top: 1px solid var(--t2-line); background: var(--t2-footer); color: var(--t2-footer-ink); }
.t2-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.t2-footer__brand { grid-column: span 2; }
@media (max-width: 600px) { .t2-footer__brand { grid-column: auto; } }
.t2-footer__logo { margin: 0; font: 400 36px/1 var(--font-display); }
.t2-footer__title { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.t2-footer__text { margin: 0; color: var(--t2-footer-text); font-size: 14px; max-width: 34ch; }
.t2-footer__links { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.t2-footer__links a { color: var(--t2-footer-text); }
.t2-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 40px;
  color: var(--t2-footer-text); font-size: 12.5px; }
.t2-footer__small { margin: 0; }
.t2-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; }

/* Shared partials (item page, cart, checkout, toasts): the template's fonts, radii and colours */
.t2 .shop-btn, .t2 .btn { font-family: var(--font-body); }
.t2 .shop-composer__title, .t2 .shop-cart__title, .t2 .shop-sheet__title, .t2 .shop-page__title { font-family: var(--font-display); font-weight: 400; letter-spacing: .005em; }
.t2 .shop-price { color: var(--t2-accent-2); }

@media (prefers-reduced-motion: reduce) {
  .t2 *, .t2 *::before, .t2 *::after { animation: none !important; transition: none !important; }
}
