/* ============================================================
   RenewITC — single-page wrapper for the eBay store
   Same brand system as the example/1 concept: teal/emerald,
   warm amber accent, light theme. Professional pass: asymmetric
   hero, credibility stats, squared controls, bordered cards.
   ============================================================ */

:root {
    --accent: #0f9d78;
    --accent-dark: #0b7d5f;
    --accent-soft: #e3f6ef;
    --amber: #c8720d;
    --amber-soft: #fbeed9;
    --ink: #14201c;
    --ink-soft: #46564f;
    --ink-muted: #7c8a83;
    --bg: #ffffff;
    --bg-alt: #f6f8f7;
    --bg-sunken: #eef4f1;
    --border: #dfe7e2;
    --radius: 8px;
    --radius-sm: 6px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
body {
    margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink);
    line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.exp-ribbon { background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-align: center; padding: 7px 12px; }
.exp-ribbon a { color: #a9e6cf; }

.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { padding: 18px 0; border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.logo__mark { width: 23px; height: 23px; color: var(--accent); }
.logo b { color: var(--accent); }
.header-meta { font-size: 12.5px; color: var(--ink-muted); font-family: var(--font-mono); display: flex; align-items: center; gap: 6px; }
.header-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-cta {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 700; color: #fff !important;
    background: var(--accent); border-radius: var(--radius-sm); padding: 10px 16px;
}
.header-cta:hover { background: var(--accent-dark); }
@media (max-width: 700px) { .header-meta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius);
    font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--ink); color: #fff !important; }
.btn--primary:hover { background: #26382f; }
.btn--accent { background: var(--accent); color: #fff !important; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--border); }
.btn--ghost:hover { border-color: var(--ink); }
[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- Hero (asymmetric, image background) ---------- */
.hero { position: relative; padding: 60px 0 0; overflow: hidden; background: var(--bg-alt); color: var(--ink); }
.hero::before {
    content: ""; position: absolute; inset: -10px;
    background: url('hero-bg.png') no-repeat center right / cover;
    transform: scaleX(-1);
    filter: blur(2.5px) saturate(1.05);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.08) 100%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent-dark); font-weight: 700; margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 16px; height: 1.5px; background: var(--accent); display: inline-block; }
.hero h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.14; letter-spacing: -0.015em; margin: 0 0 18px; max-width: 15ch; color: var(--ink); }
.hero p { font-size: 16px; color: var(--ink-soft); max-width: 48ch; margin: 0 0 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: 12.5px; color: var(--ink-muted); }
.hero .btn--ghost { color: var(--ink) !important; border-color: var(--border); background: rgba(255,255,255,0.6); }
.hero .btn--ghost:hover { border-color: var(--ink); }

.hero__art { position: relative; height: 340px; perspective: 1900px; }
.hero__carousel { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.22,0.61,0.36,1); }
.hero__panel {
    position: absolute; top: 50%; left: 50%; background: #fff; color: var(--ink); border-radius: var(--radius);
    padding: 14px; box-shadow: 0 24px 48px rgba(0,0,0,0.28); width: 230px; border: 1px solid var(--border);
    transition: transform 0.7s cubic-bezier(0.22,0.61,0.36,1), opacity 0.7s ease, filter 0.7s ease;
    cursor: pointer;
}
.hero__carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 30px; position: relative; z-index: 6; }
.hero__carousel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; }
.hero__carousel-dot.active { background: var(--accent); width: 16px; border-radius: 3px; transition: width 0.3s ease, background 0.3s ease; }
.hero__panel__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); margin: 0 2px 10px; font-weight: 700; }
.hero__panel__title { font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.hero__panel__price { font-size: 19px; font-weight: 800; }
.hero__panel--accent { background: var(--accent); color: #fff; border-color: transparent; }
.hero__panel--accent .hero__panel__label { color: #d7f5ea; }
.hero__panel__listing { display: block; }
.hero__panel__thumb {
    width: 100%; aspect-ratio: 16 / 11; border-radius: var(--radius-sm); background: var(--bg-sunken);
    display: flex; align-items: center; justify-content: center; color: var(--ink-muted); margin-bottom: 12px;
}
.hero__panel__thumb svg { width: 34%; height: 34%; }
.hero__panel__body { padding: 0 2px; }
.hero__panel__stars { color: var(--amber); font-size: 11px; letter-spacing: 1px; margin: 2px 0 6px; }
.hero__panel__seller { font-size: 10.5px; color: var(--ink-muted); margin-top: 8px; padding: 0 2px; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { display: none; } }

/* ---------- Credibility / stats bar ---------- */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats-bar__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 20px; text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 22px; font-weight: 800; }
.stat span { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
@media (max-width: 700px) { .stats-bar__inner { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: none; } }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 24px 0; border-bottom: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.trust-item .icon { color: var(--accent); }

/* ---------- Teaser listings ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: 23px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.section-head p { font-size: 14px; color: var(--ink-muted); margin: 0; }

.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }

.teaser-card { display: block; color: var(--ink) !important; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.teaser-card:hover { box-shadow: 0 10px 24px rgba(20, 32, 28, 0.08); border-color: #c7d6cf; }
.teaser-card__media {
    aspect-ratio: 1; background: var(--bg-sunken);
    display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border);
}
.teaser-card__media svg { width: 30%; height: 30%; color: var(--accent); opacity: 0.75; }
.teaser-card__body { padding: 12px 14px 14px; }
.teaser-card__category { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.teaser-card__title { font-size: 13px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; min-height: 2.6em; }
.teaser-card__price-row { display: flex; align-items: baseline; justify-content: space-between; }
.teaser-card__price { font-size: 15px; font-weight: 800; }
.teaser-card__condition { font-size: 10.5px; color: var(--accent-dark); background: var(--accent-soft); border-radius: 999px; padding: 3px 8px; font-weight: 700; }

.section-cta { text-align: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 32px 0; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.site-footer__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.site-footer__brand svg { width: 18px; height: 18px; color: var(--accent); }
.site-footer__desc { font-size: 12.5px; color: var(--ink-muted); max-width: 40ch; }
.site-footer__links { display: flex; gap: 24px; font-size: 12.5px; }
.site-footer__links a { color: var(--ink-soft); font-weight: 600; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--ink-muted); }
.site-footer__legal { margin-top: 6px; font-size: 11px; color: var(--ink-muted); opacity: 0.8; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); padding: 22px; }
.why-card__icon {
    width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.why-card__icon svg { width: 20px; height: 20px; }
.why-card__title { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.why-card__desc { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
