/* Atölye layout (T-284): the page skeleton drawn for the theme. Loaded last so it wins over the shared sheets. */
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] {
  --d-bg: #fdfcfa; --d-surface: #ffffff; --d-ink: #1d1d1f; --d-muted: #5d5d63; --d-line: #dcd8d0; --d-accent: #0f5c5c; --d-on-accent: #ffffff; --d-soft: #ece8e1; --d-radius: 2px;
  --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: #fdfcfa; --line: #dcd8d0; --radius: 2px;
  background: var(--d-bg); color: var(--d-ink); font-family: var(--d-body); line-height: 1.5;
}
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] :is(h1, h2, h3) { font-family: var(--d-display); text-transform: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .brand { font-family: var(--d-display); color: #1d1d1f; text-decoration: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head.commerce-head { background: #ffffff; color: #1d1d1f; border-bottom: 1px solid var(--d-line); box-shadow: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .search { border-radius: var(--d-radius); }
body.sector-shell[data-theme="atolye"][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="atolye"][data-screen][data-help-id] main { max-width: 1264px; margin-inline: auto; padding: 1.5rem 2rem 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-composition { display: flex; flex-direction: column; gap: 3.5rem; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-part { margin: 0; padding: 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .te-breadcrumb { font-size: .8rem; color: var(--d-muted); }
body.sector-shell[data-theme="atolye"][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="atolye"][data-screen][data-help-id] .home-products { margin-top: 3.5rem; }

/* Product card. */
body.sector-shell[data-theme="atolye"][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="atolye"][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: 18px; border: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); border-radius: var(--d-radius); background: #ffffff; box-shadow: none; text-align: center; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { min-width: 0; margin: 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { aspect-ratio: 4 / 5; margin-bottom: .35rem; border: 0; border-radius: calc(var(--d-radius) * .6); background: var(--d-soft); overflow: hidden; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card :is(.product-badges, .card-price) { justify-content: center; }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .card .card-vat { display: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .card .card-cta { display: grid; grid-template-columns: 1fr; gap: 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .card .card-cta .card-buy { display: none; }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { margin-top: auto; }
@media (hover: hover) and (min-width: 841px) {
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { opacity: 0; transition: opacity .15s; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card:is(:hover, :focus-within) .card-add { opacity: 1; }
}

/* Category page. */
body.sector-shell[data-theme="atolye"][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: center; }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .filter-actions .te-btn, body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .listing { display: flex; flex-direction: row-reverse; gap: 1.75rem; align-items: flex-start; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .listing .filter-bar { flex: 0 0 15rem; position: static; width: 15rem; max-width: none; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .listing .results { flex: 1 1 0; min-width: 0; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .listing .desktop-filters form { 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="atolye"][data-screen][data-help-id] main .listing ul.grid:not(.list) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Product page. */
@media (min-width: 981px) {
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product { display: flex; flex-direction: row-reverse; gap: 2.5rem; align-items: flex-start; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .gallery { flex: 5 1 24rem; min-width: 0; position: static; display: grid; grid-template-columns: minmax(0, 1fr) 5.25rem; gap: .75rem; align-items: start; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .gallery > :not(.gallery-thumbs) { grid-column: 1; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .gallery-thumbs { grid-column: 2; grid-row: 1 / span 4; display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 0; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .gallery-thumbs label, body.sector-shell[data-theme="atolye"][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="atolye"][data-screen][data-help-id] .product .buybox { flex: 7 1 21rem; min-width: 0; position: static; }
}
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .gallery-stage { aspect-ratio: 4 / 5; 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="atolye"][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="atolye"][data-screen][data-help-id] .product .buybox { display: flex; flex-direction: column; gap: 1rem; padding: 28px; border: 1px solid var(--d-ink); border-radius: var(--d-radius); background: #ffffff; box-shadow: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product .buybox > * { margin: 0; }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .product .variant-card, body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .product-panel { border-radius: var(--d-radius); box-shadow: none; }

/* Cart. */
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .steps li { border-radius: var(--d-radius); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .cart-layout { display: flex; flex-direction: row-reverse; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .cart-layout .cart-content { flex: 3 1 30rem; min-width: 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .cart-layout .cart-summary { flex: 2 1 18rem; min-width: 0; padding: 1.5rem; border: 1px solid var(--d-line); border-radius: var(--d-radius); background: #ffffff; box-shadow: none; }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .cart-lines > li:last-child { border-bottom: 0; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .cart-image, body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .cart-image img { border-radius: calc(var(--d-radius) * .6); }
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] main { padding: 1rem 1rem 0; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-composition { gap: 2.5rem; }
  body.sector-shell[data-theme="atolye"][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="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { white-space: normal; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { overflow-wrap: anywhere; }
}

/* Home: a small plain name line, tight heading copy beside a wall panel that hangs the photo in a black frame with a white mount, numbered category steps and framed cards. */
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] { --d-wall: #ece8e1; --d-frame: #1a1a1a; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head.commerce-head { border-bottom: 0; background: var(--d-bg); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .brand { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; text-transform: lowercase; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .search { border: 1px solid var(--d-line); border-radius: 2px; background: var(--d-surface); box-shadow: none; overflow: hidden; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .search input { border: 0; background: transparent; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .search button { border: 0; border-radius: 0; background: transparent; color: var(--d-ink); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-actions .cart-link { border: 0; border-radius: 2px; background: var(--d-ink); color: #fff; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-actions .cart-link .action-label { color: #fff; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .site-head .cat-toggle-label { border-radius: 2px; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero { position: relative; min-height: 0; height: auto; margin: 0; box-shadow: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 2.5rem; padding: 0; overflow: visible; border: 0; border-radius: 0; background: linear-gradient(to right, transparent calc(50% + 1.25rem), var(--d-wall) calc(50% + 1.25rem)); color: var(--d-ink); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero::before, body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero::after { content: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero > img { position: static; grid-column: 2; grid-row: 1; align-self: center; justify-self: center; box-sizing: border-box; width: min(72%, 21rem); height: auto; aspect-ratio: 4 / 5; margin: 3rem 0; padding: 1.75rem; border: .875rem solid var(--d-frame); border-radius: 0; background: #fff; object-fit: cover; opacity: 1; filter: none; box-shadow: 0 1.1rem 1.6rem -1rem rgb(0 0 0 / .45); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero > img ~ img { display: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero .sector-hero-copy { position: static; inset: auto; width: auto; max-width: none; margin: 0; text-shadow: none; transform: none; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem; padding: 2.5rem 0; background: transparent; color: var(--d-ink); text-align: left; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero .sector-eyebrow { margin: 0; color: var(--d-accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero h2 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.04; font-weight: 700; letter-spacing: -.02em; color: var(--d-ink); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero .sector-hero-copy > p:not(.sector-eyebrow) { margin: 0; max-width: 42ch; padding-bottom: 1.1rem; border-bottom: 1px solid var(--d-line); color: var(--d-muted); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero .sector-hero-copy > a { display: inline-flex; align-items: center; min-height: 3.4rem; margin: 0; padding: 0 1.9rem; border: 0; border-radius: 2px; background: var(--d-accent); color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -.01em; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr)); gap: 0 1.5rem; margin: 0; padding: 0; border-top: 2px solid var(--d-ink); counter-reset: adim; }
body.sector-shell[data-theme="atolye"][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; box-shadow: none; border: 0; border-radius: 0; background: transparent; counter-increment: adim; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles > li:nth-child(n+5) { display: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles > li > a { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; width: auto; height: auto; min-height: 0; padding: 1.1rem 0 1.25rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--d-ink); font-size: 1.06rem; font-weight: 700; text-align: left; text-decoration: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles > li > a::before { content: counter(adim, decimal-leading-zero); color: var(--d-accent); font-size: 2.5rem; font-weight: 300; line-height: 1; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles :is(.category-icon, .category-arrow, img) { display: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { display: flex; align-items: center; justify-content: center; padding: 1.75rem; border-radius: 0; background: var(--d-wall); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media img { position: static; inset: auto; margin: auto; box-sizing: border-box; width: 78%; height: auto; aspect-ratio: 4 / 5; border: .35rem solid var(--d-frame); background: #fff; box-shadow: 0 .6rem 1rem -.6rem rgb(0 0 0 / .4); }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .card .card-cta :is(.card-primary, .sold-out) { border-radius: 2px; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-foot { display: none; }
body.sector-shell[data-theme="atolye"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { font-family: var(--d-body); }
@media (max-width: 840px) {
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero { grid-template-columns: minmax(0, 1fr); gap: 0; background: transparent; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero > img { grid-column: 1; grid-row: 2; width: min(70%, 16rem); margin: 0; outline: 1.75rem solid var(--d-wall); outline-offset: 0; margin: 1.75rem auto; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .sector-hero .sector-hero-copy { padding: 1.5rem 0; }
  body.sector-shell[data-theme="atolye"][data-screen][data-help-id] .home-cats .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Buy buttons share one line across a row: the foot takes the spare height, whatever notes a card carries. */
body.sector-shell[data-theme="atolye"][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="atolye"][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="atolye"][data-screen][data-help-id] .card .card-cta-gap { display: none; }
