/* Zapos additions on top of the YABA stylesheets (style.css, catalog-pages.css).
   Only new components and image swaps live here; shared components are untouched. */

/* Photo swaps: restaurant images replace the warehouse ones referenced in style.css */
.products { background-image: none; }
.tile[data-bg='tile-bar']::before { background-image: url('../images/photos/tile-bar-800.webp'); }
.tile[data-bg='tile-brasserie']::before { background-image: url('../images/photos/tile-brasserie-800.webp'); }
.tile[data-bg='tile-casual']::before { background-image: url('../images/photos/tile-casual-800.webp'); }
.tile[data-bg='tile-small-town']::before { background-image: url('../images/photos/tile-small-town-800.webp'); }

/* Brand wall: plain wordmarks in the site font. No manufacturer logos are used. */
.brand-word { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-3); opacity: 0.7; white-space: nowrap; transition: opacity var(--fast), color var(--fast); }
.brand-set li:hover .brand-word { opacity: 1; color: var(--ink); }

/* Hero accent bars per brand (same treatment as YABA's brand heroes) */
.sell-stock-hero.hero-brand-toast::before,
.sell-stock-hero.hero-brand-square::before,
.sell-stock-hero.hero-brand-clover::before,
.sell-stock-hero.hero-brand-other::before,
.sell-stock-hero.hero-brand-closing::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 0.25rem; }
.sell-stock-hero.hero-brand-toast::before { background: var(--accent); }
.sell-stock-hero.hero-brand-square::before { background: var(--ink); }
.sell-stock-hero.hero-brand-clover::before { background: #2B8A3E; }
.sell-stock-hero.hero-brand-other::before { background: var(--primary); }
.sell-stock-hero.hero-brand-closing::before { background: #E8590C; }

/* The quotable answer paragraph that opens each sell page */
.answer-lede { font-size: 1.08rem; line-height: 1.75; color: var(--ink); max-width: 46rem; margin-bottom: 1.1rem; }

/* Text + illustration split */
.sell-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sell-split-art { width: 100%; height: auto; border: 0.0625rem solid var(--border); border-radius: 0.375rem; background: #fff; }
.sell-split-photo { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 48rem) { .sell-split { grid-template-columns: 1fr; } .sell-split-art { max-width: 26rem; } }

.legal-content ul.model-list, .model-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 1.25rem; padding: 0; list-style: none; }
.legal-content .model-list li, .model-list li { line-height: 1.3; padding: 0.4rem 0.75rem; border: 0.0625rem solid var(--border); background: var(--bg-alt); font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.legal-content .model-list li::before { content: none; }

/* How-it-works steps */
.legal-content ol.steps-list, .steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: none; }
.steps-list li { border: 0.0625rem solid var(--border); padding: 1.25rem 1.5rem; background: #fff; }
.steps-list h2 { font-size: 1.2rem; margin: 0.4rem 0 0.4rem; }
.steps-list p { margin: 0; color: var(--ink-2); }

.source-note { font-size: 0.8rem; color: var(--ink-3); margin-top: 1.5rem; line-height: 1.6; }
.source-note a { color: var(--ink-2); text-decoration: underline; }

/* Inner-page FAQ sits on the alternate background so it separates from the content above */
.faq-inner { background: var(--bg-alt); }

/* Guides index cards carry a short description */
.guides-grid { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.related-guide-card em { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.82rem; line-height: 1.5; color: var(--ink-3); }

/* Product photos in tiles sit on white, like YABA's catalog shots */
.sell-tile img[src*="/toast/"] { height: 8.5rem; object-fit: contain; filter: none; }
.tiles-heading { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; margin: 2.5rem 0 0.25rem; }
.tiles-sub { color: var(--ink-3); font-size: 0.9rem; margin: 0; }
.stock-cta { font-size: 0.85rem; color: var(--accent); }
.sell-hero-note a { color: var(--ink); font-weight: 600; border-bottom: 0.0625rem solid var(--border-dk); }
.footer-address { display: block; color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; margin-top: 0.35rem; }

/* Model pages */
.model-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.model-hero-pic { background: #fff; border: 0.0625rem solid var(--border); border-radius: 0.5rem; padding: clamp(1rem, 3vw, 2rem); }
.model-hero-pic img { width: 100%; height: auto; max-height: 26rem; object-fit: contain; }
.status-pill { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
.status-current { background: rgba(22,163,74,0.08); color: #15803d; border: 0.0625rem solid rgba(22,163,74,0.3); }
.status-retired { background: rgba(214,64,69,0.08); color: var(--accent); border: 0.0625rem solid rgba(214,64,69,0.3); }
.facts-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2.5rem; font-size: 0.93rem; }
.facts-table th, .facts-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 0.0625rem solid var(--border); vertical-align: top; }
.facts-table th { width: 32%; font-weight: 600; color: var(--ink); background: var(--bg-alt); }
.facts-table td { color: var(--ink-2); }
.fact-src { font-size: 0.75rem; color: var(--ink-3); text-decoration: underline; margin-left: 0.35rem; white-space: nowrap; }
.model-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.legal-content ol.check-list { list-style: decimal; padding-left: 1.3rem; display: grid; gap: 0.6rem; }
.legal-content ul.factor-list { list-style: none; padding-left: 0; }
.factor-list li { padding: 0.65rem 0; border-bottom: 0.0625rem solid var(--border); }
.factor-list strong { color: var(--ink); }
@media (max-width: 48rem) { .model-hero-grid, .model-cols { grid-template-columns: 1fr; } .model-hero-pic { max-width: 22rem; } }

/* Guide photo strips */
.guide-figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.85rem; margin: 1.25rem 0 2rem; }
.guide-fig { border: 0.0625rem solid var(--border); border-radius: 0.375rem; background: #fff; padding: 0.75rem; text-align: center; transition: border-color var(--fast); }
.guide-fig:hover { border-color: var(--border-dk); }
.guide-fig img { width: 100%; height: 8rem; object-fit: contain; }
.guide-fig span { display: block; margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.contact-card { display: flex; flex-direction: column; gap: 0.4rem; border: 0.0625rem solid var(--border); border-radius: 0.375rem; padding: 1.5rem; background: #fff; transition: border-color var(--fast), transform var(--fast); }
.contact-card:hover { border-color: var(--border-dk); transform: translateY(-0.125rem); }
.contact-card span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.contact-card strong { font-family: var(--display); font-size: 1.3rem; font-weight: 500; line-height: 1.35; }
.contact-card em { font-style: normal; font-size: 0.85rem; color: var(--ink-3); }
