/* Zarif layout (T-277): the page skeleton drawn for the theme. Loaded last so it wins over the shared sheets. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] {
  --z-bg: #f7f3ec; --z-surface: #fffdf9; --z-ink: #1c1917; --z-muted: #5f5a53; --z-line: #e2dccf; --z-soft: #e9e1d2;
  --z-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --z-sans: Jost, "Avenir Next", Avenir, "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --bg: #f7f3ec; --line: #e2dccf; --radius: 0px;
  background: var(--z-bg); color: var(--z-ink); font-family: var(--z-sans); font-size: 15px; line-height: 1.55;
}
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] :is(h1, h2, h3, .brand) { font-family: var(--z-serif); font-weight: 500; letter-spacing: 0; text-transform: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .theme-announcement { padding: .55rem 1rem; background: var(--z-ink); color: var(--z-bg); text-align: center; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .theme-announcement a { color: inherit; }

/* Header: menu left, shop name centred, tools right. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .brand { font-size: 2.1rem; line-height: 1; font-weight: 600; letter-spacing: .02em; color: var(--z-ink); text-decoration: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .search { display: flex; align-items: center; height: auto; border: 0; border-bottom: 1px solid var(--z-ink); border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .search input { min-width: 0; flex: 1; height: 2.5rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: .8rem; letter-spacing: .06em; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .search button { height: 2.5rem; min-height: 0; padding: 0 0 0 .5rem; border: 0; border-radius: 0; background: transparent; color: var(--z-ink); font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions .action-icon { display: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions :is(.action-label, .cart-link, .account-menu-button, .header-favorites) { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions :is(.cart-link, .account-menu-button) { gap: .3em; min-height: 2.75rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions .header-cart-count { position: static; min-width: 0; width: auto; height: auto; padding: 0; border-radius: 0; background: transparent; color: var(--z-ink); font: inherit; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions .header-cart-count::before { content: "("; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-actions .header-cart-count::after { content: ")"; }
@media (min-width: 1100px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head.commerce-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 0 1.5rem; max-width: 1264px; margin-inline: auto; padding: 1.35rem 2rem; background: transparent; border: 0; border-bottom: 1px solid var(--z-line); box-shadow: none; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .header-utility, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head.commerce-head .cat-toggle-label { display: none; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .cat-menu .cat-toggle:not(:checked) ~ .sector-nav, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .cat-menu .cat-toggle:checked ~ .sector-nav { grid-column: 1; grid-row: 1; position: static; inset: auto; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 1.4rem; width: auto; max-width: none; max-height: 2.75rem; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .sector-nav .nav-group { display: block; flex: 0 0 auto; width: auto; margin: 0; padding: 0; border: 0; background: transparent; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .sector-nav .nav-primary { display: inline-flex; align-items: center; gap: 0; width: auto; min-height: 2.75rem; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--z-ink); font-family: var(--z-sans); font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .sector-nav .nav-primary:hover { text-decoration: underline; text-underline-offset: .4em; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .sector-nav :is(.nav-primary img, .nav-number, .nav-arrow, .nav-children, .nav-badge) { display: none; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head.commerce-head .brand { grid-column: 2; grid-row: 1; justify-self: center; margin: 0; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head.commerce-head .header-search-wide { grid-column: 3; grid-row: 1; justify-self: start; width: min(11rem, 42%); max-width: none; margin: 0; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head.commerce-head .sector-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 1.4rem; margin: 0; }
}

body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main { max-width: 1264px; margin-inline: auto; padding: 2rem 2rem 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-composition { display: flex; flex-direction: column; gap: 4.5rem; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-part { margin: 0; padding: 0; }

/* Cover: picture on the left, words on the right. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: stretch; min-height: 0; height: auto; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero::before, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero::after { content: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero > img { position: static; grid-column: 1; grid-row: 1; width: 100%; height: 100%; min-height: 32.5rem; max-height: 40rem; object-fit: cover; border-radius: 0; opacity: 1; filter: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero > img ~ img { display: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero .sector-hero-copy { position: static; inset: auto; grid-column: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.25rem; width: auto; max-width: none; margin: 0; padding: 1rem 0; background: transparent; color: var(--z-ink); text-align: left; text-shadow: none; transform: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero .sector-eyebrow { margin: 0; font-family: var(--z-sans); font-size: .75rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--z-muted); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero h2 { margin: 0; max-width: 11ch; font-size: clamp(2.6rem, 5.3vw, 4.25rem); line-height: 1.02; font-weight: 500; letter-spacing: -.01em; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero .sector-hero-copy > p:not(.sector-eyebrow) { margin: 0; max-width: 34ch; font-size: 1rem; color: var(--z-muted); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero .sector-hero-copy > a { display: inline-flex; align-items: center; gap: .6em; min-height: 3.125rem; margin: 0; padding: 0 1.75rem; border: 0; border-radius: 0; background: var(--z-ink); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

/* Section headings and the quiet product card. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] :is(.rail, .home-cats, .home-products) { margin: 0; padding: 0; border: 0; background: transparent; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main :is(.rail, .home-cats, .home-products) > h2 { display: block; margin: 0 0 1.5rem; padding: 0; border: 0; font-family: var(--z-serif); font-size: 2.4rem; line-height: 1.1; font-weight: 500; text-align: left; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] :is(.rail, .home-cats, .home-products) > h2::before, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] :is(.rail, .home-cats, .home-products) > h2::after { content: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-products { margin-top: 4.5rem; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; margin: 0; padding: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-composition .rail ul.grid > .card:nth-child(n+9) { display: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card { position: relative; display: grid; flex-direction: initial; margin: 0; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .35rem .75rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { grid-column: 1 / -1; min-width: 0; white-space: normal; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-media { grid-row: 1; aspect-ratio: 3 / 4; margin: 0 0 .3rem; border: 0; border-radius: 0; background: var(--z-soft); overflow: hidden; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-name { grid-column: 1; grid-row: 2; min-height: 0; margin: 0; padding: 0; font-family: var(--z-sans); font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--z-ink); text-decoration: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-foot { display: contents; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { grid-column: 2; grid-row: 2; margin: 0; padding: 0; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-price { text-align: right; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-compare { display: block; font-size: .8rem; font-weight: 400; color: var(--z-muted); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card :is(.card-vat, .card-stock, .stock-note, .card-rating, .card-brand) { margin: 0; padding: 0; font-size: .8rem; color: var(--z-muted); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-vat { display: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { grid-column: 1 / -1; grid-row: 1; align-self: end; z-index: 2; margin: 0 0 .3rem; padding: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-cta { display: grid; grid-template-columns: 1fr; gap: 0; }
body.sector-shell[data-theme="zarif"][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: 0; background: rgb(28 25 23 / .92); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-cta .sold-out { display: flex; align-items: center; justify-content: center; background: rgb(255 253 249 / .92); color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-cta .card-buy { display: none; }
@media (hover: hover) and (min-width: 841px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-add { opacity: 0; transition: opacity .15s; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card:is(:hover, :focus-within) .card-add { opacity: 1; }
}
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product-badges .product-badge { border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > :is(.card-stock, .stock-note, p) { margin: 0; padding: 0; text-align: left; }

/* Categories as a quiet line of links; the two picture panels carry the campaigns. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-cats > h2 { text-align: center; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-cats .tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem; margin: 0; padding: 1.25rem 0; border-block: 1px solid var(--z-line); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-cats .tiles > li { grid-column: auto; grid-row: auto; flex: 0 0 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="zarif"][data-screen][data-help-id] .home-cats .tiles > li > a { display: inline-flex; align-items: center; width: auto; height: auto; min-height: 2.75rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--z-ink); font-family: var(--z-sans); font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-cats .tiles > li > a:hover { text-decoration: underline; text-underline-offset: .4em; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-cats .tiles :is(.category-icon, .category-arrow, img) { display: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18.75rem, 100%), 1fr)); gap: 1.5rem; margin: 0; padding: 0; overflow: visible; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 20rem; margin: 0; padding: 1.75rem; overflow: hidden; border: 0; border-radius: 0; background: var(--z-soft); color: var(--z-ink); box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide:nth-child(even) { background: var(--z-ink); color: var(--z-bg); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide > img { position: absolute; inset: 0 0 0 auto; width: 46%; height: 100%; object-fit: cover; border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide > div { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; max-width: 50%; margin: 0; padding: 0; background: transparent; color: inherit; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide h2 { margin: 0; font-size: 2.25rem; line-height: 1.1; color: inherit; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; border: 0; background: transparent; color: inherit; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .4em; }

/* Category page: filters across the top, wide grid below. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .page-head { margin: 0 0 1.25rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--z-line); border-radius: 0; background: transparent; box-shadow: none; text-align: center; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .page-head h1 { margin: 0; font-size: 2.5rem; line-height: 1.1; font-weight: 600; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .te-breadcrumb { font-size: .8rem; color: var(--z-muted); }
@media (min-width: 841px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .listing { display: flex; flex-direction: column; gap: 1.75rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .listing .filter-bar { position: static; width: 100%; max-width: none; }
  body.sector-shell[data-theme="zarif"][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(--z-line); border-radius: 0; background: var(--z-surface); box-shadow: none; }
  body.sector-shell[data-theme="zarif"][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="zarif"][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; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid.category-product-grid { gap: 1.5rem 1rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .category-product-grid > .card { text-align: center; }
}
body.sector-shell[data-theme="zarif"][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="zarif"][data-screen][data-help-id] .filter-actions .te-btn, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .listing .te-btn { border-radius: 0; background: var(--z-ink); border-color: var(--z-ink); color: #fff; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .filter-actions .te-btn-ghost { background: transparent; color: var(--z-ink); }

/* Product page: purchase column on the left, tall gallery on the right with two thumbnails a row. */
@media (min-width: 981px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product { display: flex; flex-direction: row-reverse; gap: 2.5rem; align-items: flex-start; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery { flex: 7 1 26rem; min-width: 0; display: flex; flex-direction: column; gap: .75rem; position: static; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox { flex: 5 1 22rem; min-width: 0; position: static; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery-thumbs label, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; object-fit: cover; }
}
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery-stage { aspect-ratio: 3 / 4; max-height: 40rem; border: 0; border-radius: 0; background: var(--z-soft); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .gallery-stage img { width: 100%; height: 100%; object-fit: cover; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox { display: flex; flex-direction: column; gap: 1rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox > * { margin: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox h1 { font-size: 2.4rem; line-height: 1.12; font-weight: 600; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buy-price { font-family: var(--z-sans); font-size: 1.9rem; line-height: 1; font-weight: 600; color: var(--z-ink); font-variant-numeric: tabular-nums; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox form button[type="submit"], body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .buybox form > button { min-height: 3.25rem; border: 0; border-radius: 0; background: var(--z-ink); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product .variant-card { border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .product-panel { border-radius: 0; box-shadow: none; }

/* Cart: lines on the left, a soft summary panel on the right. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .steps li { border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-layout { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-layout .cart-content { flex: 3 1 30rem; min-width: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-layout .cart-summary { flex: 2 1 18rem; min-width: 0; padding: 1.5rem; border: 0; border-radius: 0; background: var(--z-soft); box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-heading h1 { font-size: 2.1rem; line-height: 1.15; font-weight: 600; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-lines { margin: 0; padding: 0; border: 1px solid var(--z-line); border-radius: 0; background: var(--z-surface); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-lines > li { margin: 0; padding: 1rem; border: 0; border-bottom: 1px solid var(--z-line); border-radius: 0; background: transparent; box-shadow: none; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-lines > li:last-child { border-bottom: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-image, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-image img { border-radius: 0; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .cart-summary .cart-checkout { min-height: 3.25rem; border: 0; border-radius: 0; background: var(--z-ink); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Footer: light, hairline on top. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot { max-width: 1264px; margin: 4.5rem auto 0; padding: 2rem; border-top: 1px solid var(--z-line); background: transparent; color: var(--z-muted); font-size: .9rem; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot :is(a, p, label) { color: var(--z-muted); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot .footer-intro a:first-child, body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot .foot-columns nav > p { color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot .footer-intro a:first-child { font-family: var(--z-serif); font-size: 1.4rem; font-weight: 600; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot .foot-news input[type="email"] { border: 0; border-bottom: 1px solid var(--z-ink); border-radius: 0; background: transparent; color: var(--z-ink); }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-foot .foot-news button { border: 0; border-radius: 0; background: transparent; color: var(--z-ink); font-weight: 600; }

@media (max-width: 1099px) and (min-width: 841px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main { padding: 1rem 1rem 0; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .home-composition { gap: 3rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero > img { min-height: 0; aspect-ratio: 4 / 5; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .sector-hero .sector-hero-copy { grid-column: 1; padding: 0; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .slides .slide > div { max-width: 60%; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .site-head .brand { font-size: 1.5rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > :is(.card-name, .card-price) { grid-column: 1; grid-row: auto; text-align: left; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-compare { display: inline; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-price { white-space: normal; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > * { overflow-wrap: anywhere; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card .card-add { grid-row: auto; align-self: auto; margin: .35rem 0 0; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-cta :is(.card-primary, .sold-out) { border: 1px solid var(--z-ink); background: transparent; color: var(--z-ink); }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] :is(.rail, .home-cats, .home-products) > h2 { font-size: 1.9rem; }
}
/* Cards in a row keep one shape: spare height goes below the text, the buy band is one button tall on the picture's
   lower edge, and a sold out card carries its label in the same band. */
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card { align-content: start; }
body.sector-shell[data-theme="zarif"][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="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card > .card-foot > .card-cta { grid-column: 1 / -1; grid-row: 1; align-self: end; z-index: 2; margin: 0 0 .3rem; }
body.sector-shell[data-theme="zarif"][data-screen][data-help-id] .card .card-cta-gap { display: none; }
@media (max-width: 840px) {
  /* On a phone the button sits under the text; a column layout lets it take the row's lowest line on every card. */
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
  body.sector-shell[data-theme="zarif"][data-screen][data-help-id] main ul.grid:not(.list) > .card :is(.card-add, .card-foot > .card-cta) { margin: auto 0 0; padding-top: .35rem; }
}
