/* VLNA — hlavný štýl stránky */
:root {
    --bg: #f5f4ef;
    --surface: #fff;
    --text: #242424;
    --muted: #77766f;
    --line: #dedcd5;
    --soft: #eeece5;
    --accent: #242424;
    --content-width: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: Arial, Helvetica, sans-serif; font-size: 15px;
    line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }

/* HEADER */
.site-header { position: relative; z-index: 10; background: rgba(245,244,239,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: inline-block; font-size: 27px; line-height: 1; font-weight: 700; letter-spacing: -1.8px; }
.logo span { color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: var(--muted); font-size: 13px; transition: color 160ms ease; }
.site-header nav a:hover { color: var(--text); }

/* HERO */
.hero {
    position: relative; min-height: 540px; padding: 110px 0 115px;
    display: flex; align-items: center; background-color: #f5f4ef;
    background-image:
        linear-gradient(90deg, rgba(245,244,239,.98) 0%, rgba(245,244,239,.94) 38%, rgba(245,244,239,.55) 62%, rgba(245,244,239,.05) 100%),
        url("./vlna-header.webp");
    background-size: cover; background-position: center right;
    border-bottom: 1px solid var(--line);
}
.hero .container { position: relative; z-index: 1; max-width: 1180px; }
.eyebrow { margin: 0 0 17px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 2px; line-height: 1.5; }
.hero h1 {
    max-width: 650px; margin: 0; font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.4vw, 68px); font-weight: 400;
    letter-spacing: -2.2px; line-height: 1.08;
}
.hero-text { max-width: 430px; margin: 25px 0 30px; color: #5f5d57; font-size: 15px; line-height: 1.8; }
.button {
    display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
    padding: 0 25px; border: 1px solid var(--text); background: var(--text);
    color: #fff; font-size: 12px; letter-spacing: .4px;
    transition: background 160ms ease, color 160ms ease;
}
.button:hover { background: transparent; color: var(--text); }

/* SECTION HEADINGS */
.catalog-section, .about-section { padding: 95px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2, .about-grid h2 {
    margin: 0; font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 46px); font-weight: 400;
    letter-spacing: -1.2px; line-height: 1.15;
}
.result-count { margin: 0 0 5px; color: var(--muted); font-size: 12px; }

/* FILTERS */
.filters { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 14px; margin-bottom: 32px; padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.filters label { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.filters label span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.filters input, .filters select {
    width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line);
    border-radius: 0; outline: none; background: #fff; color: var(--text); font-size: 13px;
}
.filters input:focus, .filters select:focus { border-color: #77766f; }

/* CATALOGUE */
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.item-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 180ms ease, box-shadow 180ms ease; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 9px 25px rgba(30,28,23,.07); }
.item-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--soft); }
.item-image { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.item-card:hover .item-image { transform: scale(1.025); }
.item-status { position: absolute; top: 13px; left: 13px; padding: 5px 9px; background: rgba(245,244,239,.94); color: var(--text); font-size: 9px; letter-spacing: .8px; text-transform: uppercase; }
.item-content { padding: 18px 18px 17px; }
.item-brand { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.item-title { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; line-height: 1.25; }
.item-meta, .item-material { margin: 4px 0; color: var(--muted); font-size: 12px; }
.item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.item-price { font-size: 15px; font-weight: 700; }
.vinted-link { display: inline-flex; min-height: 34px; align-items: center; padding: 0 13px; border: 1px solid var(--line); font-size: 11px; transition: background 160ms ease, border-color 160ms ease; }
.vinted-link:hover { border-color: var(--text); background: var(--text); color: #fff; }
.empty-state { margin: 35px 0 0; padding: 30px; border: 1px solid var(--line); color: var(--muted); text-align: center; }

/* ITEM DETAIL */
.item-detail { padding: 45px 0 75px; }
.item-detail[hidden], .empty-state[hidden] { display: none !important; }
.back-button { margin: 0 0 28px; padding: 9px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.back-button:hover { color: var(--text); }
#detailContent { min-height: 180px; }
#detailContent img { max-height: 650px; object-fit: contain; }

/* ABOUT */
.about-section { background: #eeece5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-grid h2 { max-width: 430px; }
.about-grid > div:last-child { max-width: 520px; padding-top: 22px; }
.about-grid p:not(.eyebrow) { margin: 0 0 17px; color: #5f5d57; font-size: 14px; line-height: 1.9; }

/* FOOTER */
.site-footer { background: var(--bg); }
.footer-inner { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-inner span:first-child { color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.7px; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { gap: 40px; }
    .hero { background-position: 60% center; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 68px; }
    .logo { font-size: 24px; }
    .site-header nav { gap: 18px; }
    .site-header nav a { font-size: 12px; }
    .hero {
        min-height: 520px; padding: 75px 0 80px; background-position: 63% center;
        background-image:
            linear-gradient(90deg, rgba(245,244,239,.97) 0%, rgba(245,244,239,.88) 55%, rgba(245,244,239,.40) 100%),
            url("./vlna-header.webp");
    }
    .hero h1 { max-width: 470px; font-size: clamp(39px, 10vw, 52px); letter-spacing: -1.5px; }
    .hero-text { max-width: 360px; font-size: 14px; }
    .catalog-section, .about-section { padding: 65px 0; }
    .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 25px; }
    .filters { grid-template-columns: 1fr 1fr; gap: 13px; padding: 14px; }
    .filters label:first-child { grid-column: 1 / -1; }
    .catalog-grid { gap: 18px 12px; }
    .item-content { padding: 13px 12px; }
    .item-title { font-size: 17px; }
    .item-meta, .item-material { font-size: 11px; }
    .item-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
    .vinted-link { min-height: 31px; }
    .about-grid { grid-template-columns: 1fr; gap: 22px; }
    .about-grid > div:last-child { padding-top: 0; }
    .footer-inner { min-height: 72px; }
}
@media (max-width: 380px) {
    .container { width: calc(100% - 28px); }
    .catalog-grid { grid-template-columns: 1fr; }
    .item-bottom { align-items: center; flex-direction: row; }
}
