/* Afiş layout (T-282): the page skeleton drawn for the theme. Loaded last so it wins over the shared sheets. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] {
  --d-bg: #fbfaf7; --d-surface: #ffffff; --d-ink: #14181f; --d-muted: #5a6272; --d-line: #e4e6ea; --d-accent: #1d4ed8; --d-on-accent: #ffffff; --d-soft: #e8eefc; --d-radius: 14px;
  --d-display: "Avenir Next", Avenir, "Century Gothic", "Segoe UI", system-ui, sans-serif; --d-body: "Avenir Next", Avenir, "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --bg: #fbfaf7; --line: #e4e6ea; --radius: 14px;
  background: var(--d-bg); color: var(--d-ink); font-family: var(--d-body); line-height: 1.5;
}
body.sector-shell[data-theme="afis"][data-screen][data-help-id] :is(h1, h2, h3) { font-family: var(--d-display); text-transform: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .brand { font-family: var(--d-display); color: #14181f; text-decoration: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head.commerce-head { background: #ffffff; color: #14181f; border-bottom: 1px solid var(--d-line); box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .search { border-radius: var(--d-radius); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-actions .cart-link { border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); border-color: var(--d-accent); box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main { max-width: 1264px; margin-inline: auto; padding: 1.5rem 2rem 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-composition { display: flex; flex-direction: column; gap: 3.5rem; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-part { margin: 0; padding: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .te-breadcrumb { font-size: .8rem; color: var(--d-muted); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { margin: 0 0 1.25rem; padding: 0; border: 0; font-family: var(--d-display); line-height: 1.15; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-products { margin-top: 3.5rem; }

/* Product card. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1rem; height: auto; margin: 0; padding: 0; overflow: visible; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card { position: relative; display: flex; flex-direction: column; gap: .35rem; height: auto; min-height: 0; margin: 0; padding: 12px; border: none; border-bottom: none; border-radius: var(--d-radius); background: #f6f7fa; box-shadow: none; text-align: left; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { min-width: 0; margin: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { aspect-ratio: 1 / 1; margin-bottom: .35rem; border: 0; border-radius: calc(var(--d-radius) * .6); background: var(--d-soft); overflow: hidden; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-name { min-height: 0; padding: 0; font-family: var(--d-body); font-size: .95rem; font-weight: 600; color: var(--d-ink); text-decoration: none; overflow-wrap: anywhere; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { padding: 0; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--d-ink); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-vat { display: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta { display: grid; grid-template-columns: 1fr; gap: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta .card-buy { display: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta :is(.card-primary, .sold-out) { width: 100%; min-height: 2.75rem; margin: 0; padding: 0 1rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-size: .85rem; font-weight: 700; text-align: center; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta .sold-out { display: flex; align-items: center; justify-content: center; background: var(--d-soft); color: var(--d-muted); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { margin-top: auto; }

/* Category page. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .page-head { margin: 0 0 1.25rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--d-line); border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .result-bar { margin: 0 0 1.25rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .filter-actions .te-btn, body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing .te-btn { border-radius: var(--d-radius); background: var(--d-accent); border-color: var(--d-accent); color: var(--d-on-accent); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .filter-actions .te-btn-ghost { background: transparent; color: var(--d-ink); border-color: var(--d-line); }
@media (min-width: 841px) {
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing { display: flex; flex-direction: column; gap: 1.75rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing .filter-bar { position: static; width: 100%; max-width: none; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing .desktop-filters form { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 2rem; padding: 1.25rem; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: var(--d-surface); box-shadow: none; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing .desktop-filters .filter-group { flex: 1 1 11rem; min-width: 11rem; margin: 0; padding: 0; border: 0; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .listing .desktop-filters .filter-actions { flex: 0 0 auto; align-self: flex-end; display: flex; gap: .5rem; margin: 0; padding: 0; border: 0; }
}

/* Product page. */
@media (min-width: 981px) {
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product { display: flex; flex-direction: row; gap: 2.5rem; align-items: flex-start; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery { flex: 5 1 24rem; min-width: 0; position: static; display: flex; flex-direction: column; gap: .75rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery-thumbs label, body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 1; border-radius: calc(var(--d-radius) * .6); object-fit: cover; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buybox { flex: 7 1 21rem; min-width: 0; position: static; }
}
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery-stage { aspect-ratio: 1 / 1; max-height: 40rem; padding: 0; outline: 0; border: 0; border-radius: var(--d-radius); background: var(--d-soft); box-shadow: none; overflow: hidden; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .gallery-stage img { width: 100%; height: 100%; padding: 0; background: transparent; object-fit: cover; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buybox { display: flex; flex-direction: column; gap: 1rem; padding: 28px; border: none; border-radius: var(--d-radius); background: #f6f7fa; box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buybox > * { margin: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buybox h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buy-price { font-family: var(--d-body); font-size: 1.9rem; line-height: 1; font-weight: 700; color: var(--d-ink); font-variant-numeric: tabular-nums; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .buybox form > button { min-height: 3.25rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-weight: 700; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product .variant-card, body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product-panel { border-radius: var(--d-radius); box-shadow: none; }

/* Cart. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .steps li { border-radius: var(--d-radius); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-layout { display: flex; flex-direction: row; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-layout .cart-content { flex: 3 1 30rem; min-width: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-layout .cart-summary { flex: 2 1 18rem; min-width: 0; padding: 1.5rem; border: none; border-radius: var(--d-radius); background: #f6f7fa; box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-heading h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-lines { margin: 0; padding: 0; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: var(--d-surface); overflow: hidden; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-lines > li { margin: 0; padding: 1rem; border: 0; border-bottom: 1px solid var(--d-line); border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-lines > li:last-child { border-bottom: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-image, body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-image img { border-radius: calc(var(--d-radius) * .6); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .cart-summary .cart-checkout { min-height: 3.25rem; border: 0; border-radius: var(--d-radius); background: var(--d-accent); color: var(--d-on-accent); font-weight: 700; }

@media (max-width: 1099px) and (min-width: 841px) {
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] main { padding: 1rem 1rem 0; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-composition { gap: 2.5rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { white-space: normal; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { overflow-wrap: anywhere; }
}

/* Home: pill search, a rounded campaign poster, round category buttons and soft rounded cards. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] { --d-sun: #fde047; --d-deep: #172554; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head.commerce-head { border-bottom: 0; background: var(--d-bg); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--d-accent); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .search { border: 0; border-radius: 999px; background: var(--d-soft); box-shadow: none; overflow: hidden; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .search input { border: 0; background: transparent; padding-inline: 1.25rem .5rem; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .site-head .search button { margin: .3rem; min-height: 2.4rem; padding: 0 1.25rem; border: 0; border-radius: 999px; background: var(--d-accent); color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-actions .cart-link { border: 2px solid var(--d-ink); border-radius: 999px; background: transparent; color: var(--d-ink); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-actions .header-cart-count { background: var(--d-sun); color: var(--d-deep); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 0; height: auto; margin: 0; padding: 2.75rem 3rem; overflow: hidden; border: 0; border-radius: 2rem; background: var(--d-accent); box-shadow: none; color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero::before, body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero::after { content: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero > img { position: static; grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 16rem; max-height: 22rem; object-fit: cover; border-radius: 1.5rem; opacity: 1; filter: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero > img ~ img { display: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero .sector-hero-copy { position: static; inset: auto; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; width: auto; max-width: none; margin: 0; padding: 0; background: transparent; color: #fff; text-align: left; text-shadow: none; transform: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero .sector-eyebrow { margin: 0; padding: .25rem .9rem; border-radius: 999px; background: var(--d-deep); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero .sector-hero-copy > p:not(.sector-eyebrow) { margin: 0; max-width: 38ch; font-size: 1.05rem; color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero .sector-hero-copy > a { display: inline-flex; align-items: center; min-height: 3.25rem; margin: 0; padding: 0 1.75rem; border: 0; border-radius: 999px; background: #fff; color: var(--d-deep); font-weight: 800; text-decoration: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 1rem; margin: 0; padding: 0; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles > li { grid-column: auto; grid-row: auto; width: auto; height: auto; min-height: 0; aspect-ratio: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles > li:nth-child(n+9) { display: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles > li > a { display: flex; flex-direction: column; align-items: center; gap: .6rem; width: auto; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--d-ink); font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles :is(.category-icon, img) { display: flex; align-items: center; justify-content: center; width: 5.25rem; height: 5.25rem; border: 3px solid #fff; border-radius: 999px; background: var(--d-soft); box-shadow: 0 0 0 1px var(--d-line); font-size: 2rem; object-fit: cover; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .home-cats .tiles .category-arrow { display: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr)); gap: 1rem; margin: 0; padding: 0; overflow: visible; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 13.75rem; margin: 0; padding: 1.75rem; overflow: hidden; border: 0; border-radius: 1.75rem; background: var(--d-sun); color: var(--d-deep); box-shadow: none; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide:nth-child(3n+2) { background: var(--d-soft); }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide:nth-child(3n) { background: var(--d-deep); color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide > img { position: absolute; inset: 0 0 0 auto; width: 40%; height: 100%; object-fit: cover; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide > div { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1rem; flex: 1; max-width: 56%; margin: 0; padding: 0; background: transparent; color: inherit; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide h2 { margin: 0; font-size: 1.85rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: inherit; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide a { color: inherit; font-weight: 700; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card { border-radius: 1.75rem; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { border-radius: 1.25rem; background: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { color: var(--d-accent); font-size: 1.2rem; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta :is(.card-primary, .sold-out) { border-radius: 999px; background: var(--d-ink); color: #fff; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .product-badges .product-badge { border-radius: 999px; }
@media (max-width: 840px) {
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; border-radius: 1.5rem; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .sector-hero > img { grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 16 / 10; }
  body.sector-shell[data-theme="afis"][data-screen][data-help-id] .slides .slide > div { max-width: 62%; }
}
/* Buy buttons share one line across a row: the foot takes the spare height, whatever notes a card carries. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-foot { margin-top: auto; }
/* One button, one button's height: no room is kept for the hidden second action. */
body.sector-shell[data-theme="afis"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-cta { grid-template-rows: auto; grid-auto-rows: auto; min-height: 0; height: auto; }
body.sector-shell[data-theme="afis"][data-screen][data-help-id] .card .card-cta-gap { display: none; }
