/* Shop New Items - main stylesheet
   Colors and fonts are set once here and used everywhere below. */
:root {
  --rust: #C4532F;
  --rust-dark: #9C3E20;
  --ink: #1F2430;
  --ink-soft: #4A5162;
  --sky: #8EC5E8;
  --sky-light: #E8F3FB;
  --peach: #FBE8DB;
  --bg: #FAF6F1;
  --white: #FFFFFF;
  --line: #E7E1D9;
  --radius: 22px;
  --head: "Parkinsans", Arial, sans-serif;
  --body: "Golos Text", Arial, sans-serif;
}

/* ---------- Basics ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.hidden { display: none !important; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 16px; height: 16px; }

/* ---------- Buttons and labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 2px solid var(--rust); border-radius: 999px; background: var(--rust); color: var(--white); font: 600 15px var(--body); cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--white); }
.btn.full { width: 100%; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--white); color: var(--rust); font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.sec-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--ink-soft); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.row-head p { margin: 0; color: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--rust); font-weight: 600; white-space: nowrap; }
.text-link:hover { color: var(--rust-dark); }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--ink); color: #D9DCE4; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 9px 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { gap: 20px !important; }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.logo img { width: 230px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 500; }
.main-nav a:hover { background: var(--sky-light); }
.main-nav a.on { background: var(--peach); color: var(--rust-dark); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; }
.cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--rust); font-size: 13px; }
.menu-btn { display: none; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }

/* ---------- Home: collage hero ---------- */
.hero { background: var(--sky-light); padding: 70px 0 90px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 span { color: var(--rust); }
.hero-text > p { max-width: 520px; font-size: 18px; color: var(--ink-soft); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-facts div { border-left: 3px solid var(--sky); padding-left: 12px; }
.hero-facts strong { display: block; font: 800 24px var(--head); }
.hero-facts span { color: var(--ink-soft); font-size: 14px; }
.collage { position: relative; padding: 0 0 40px 60px; }
.collage::before { content: ""; position: absolute; right: -40px; top: 40px; width: 70%; height: 80%; border-radius: 50%; background: var(--sky); opacity: .5; }
.collage-main { position: relative; width: 82%; margin-left: auto; border-radius: 160px 160px 28px 28px; aspect-ratio: 4 / 5; object-fit: cover; }
.collage-small { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--white); }
.stamp { position: absolute; left: 30px; top: 20px; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: var(--rust); color: var(--white); text-align: center; font: 800 20px/1.1 var(--head); box-shadow: 0 0 0 6px var(--sky-light); transform: rotate(-10deg); }
.stamp::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(255,255,255,.7); border-radius: 50%; }
.stamp small { display: block; font: 500 12px var(--body); letter-spacing: .08em; }

/* ---------- Perks ---------- */
.perks { margin-top: -44px; position: relative; }
.perk-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.perk { display: flex; gap: 14px; padding: 26px 24px; border-right: 1px solid var(--line); }
.perk:last-child { border-right: 0; }
.perk .ic { width: 28px; height: 28px; color: var(--rust); }
.perk h3 { font-size: 16px; margin-bottom: 4px; }
.perk p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- Departments ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.dept:hover { border-color: var(--rust); transform: translateY(-3px); }
.dept-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--peach); color: var(--rust); }
.dept-ic .ic { width: 26px; height: 26px; }
.dept h3 { font-size: 16px; margin: 0; }
.dept span { font-size: 14px; color: var(--ink-soft); }
.dept > .ic { margin-left: auto; color: var(--rust); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-img { position: relative; background: #F3F0EB; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.new-badge { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--sky); color: var(--ink); font: 700 12px var(--body); letter-spacing: .05em; text-transform: uppercase; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.p-dept { font-size: 13px; color: var(--rust); font-weight: 600; }
.product h3 { font-size: 17px; margin: 4px 0 8px; min-height: 2.4em; }
.product p { font-size: 14px; color: var(--ink-soft); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font: 800 20px var(--head); }
.add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font: 600 14px var(--body); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.add-btn:hover { background: var(--ink); color: var(--white); }
.add-btn.added { background: var(--rust); border-color: var(--rust); color: var(--white); }

/* ---------- Why us split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-photo { position: relative; padding: 0 24px 24px 0; }
.split-photo::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: var(--sky); }
.split-photo img { position: relative; border-radius: 28px; width: 100%; }
.num-list li { display: flex; gap: 16px; margin-top: 22px; }
.num-list b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: var(--white); font-family: var(--head); flex-shrink: 0; }
.num-list h3 { font-size: 17px; margin-bottom: 4px; }
.num-list p { margin: 0; color: var(--ink-soft); }

/* ---------- Bands ---------- */
.band-peach { background: var(--peach); }
.band-sky { background: var(--sky-light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 36px; border-top: 2px dashed var(--sky); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-ic { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--sky); color: var(--rust); }
.step-ic .ic { width: 30px; height: 30px; }
.step p { color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { display: flex; flex-direction: column; padding: 30px; background: var(--white); border-radius: var(--radius); border-top: 5px solid var(--rust); }
.quote-mark { font: 800 60px/0.6 var(--head); color: var(--sky); margin: 14px 0 4px; }
.stars { display: flex; gap: 3px; color: var(--rust); }
.stars .ic { fill: currentColor; stroke: none; }
.review p { flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 16px var(--head); }
.reviewer strong { display: block; }
.reviewer span { font-size: 14px; color: var(--ink-soft); }
.reviewer .avatar { color: var(--white); font-size: 16px; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-body h3 { min-height: 2.4em; }
.post-body p { color: var(--ink-soft); flex: 1; }

/* ---------- Newsletter ---------- */
.news-box { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--rust); color: var(--white); border-radius: 28px; overflow: hidden; }
.news-text { padding: 54px; }
.news-text .kicker { background: rgba(255,255,255,.15); color: var(--white); }
.news-box img { width: 100%; height: 100%; object-fit: cover; }
.inline-form { display: flex; gap: 10px; margin-top: 20px; }
.inline-form input { flex: 1; min-width: 0; padding: 14px 20px; border: 0; border-radius: 999px; font: 15px var(--body); }
.inline-form .btn { background: var(--ink); border-color: var(--ink); }
.form-msg { margin: 12px 0 0; font-weight: 600; }

/* ---------- Inner page banner and chips ---------- */
.banner { background: var(--sky-light); padding: 56px 0; border-bottom: 4px solid var(--sky); }
.banner p { max-width: 640px; color: var(--ink-soft); margin: 0; }
.banner-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 18px; background: var(--rust); color: var(--white); }
.banner-ic .ic { width: 30px; height: 30px; }
.crumbs { font-size: 14px; margin-bottom: 10px !important; }
.crumbs a { color: var(--rust); }
.crumbs span { margin: 0 6px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chips a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 500; }
.chips a:hover, .chips a.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.group { margin-bottom: 60px; }
.group-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.group-head h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; margin: 0; }
.group-head h2 .ic { color: var(--rust); width: 26px; height: 26px; }

/* ---------- About, contact and content pages ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card .dept-ic { margin-bottom: 16px; }
.info-card p { margin: 0; color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-list strong { display: block; }
.contact-photo { border-radius: var(--radius); margin-top: 10px; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 30px; }
.article-img { width: 100%; border-radius: var(--radius); margin-bottom: 30px; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Forms, cart and checkout ---------- */
.form-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-card.narrow { max-width: 560px; margin: 0 auto; }
.form-card h2 { font-size: 22px; }
label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font: 15px var(--body); color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--sky); border-color: var(--sky); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.cart-table input { width: 70px; margin: 0; }
.remove-btn { border: 0; background: none; color: var(--rust); font: 600 14px var(--body); cursor: pointer; }
.summary { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.summary h2 { font-size: 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.summary-line.total { font: 800 20px var(--head); border-bottom: 0; }
.summary .btn { margin-top: 14px; }
.link-back { display: block; margin-top: 14px; text-align: center; color: var(--rust); font-weight: 600; }
.empty { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 20px; }
.done-ic { display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 16px; border-radius: 50%; background: var(--peach); color: var(--rust); }
.done-ic .ic { width: 34px; height: 34px; }

/* ---------- Toast ---------- */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; align-items: center; gap: 14px; max-width: 380px; padding: 14px 20px; border-radius: 16px; background: var(--ink); color: var(--white); font-size: 14px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a { color: var(--sky); font-weight: 600; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9CDD6; padding-top: 64px; font-size: 15px; }
.f-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid #343A48; }
.f-brand { max-width: 380px; }
.f-brand img { width: 230px; margin-bottom: 14px; }
.f-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.f-contact .ic { color: var(--sky); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; }
.f-col h3 { color: var(--white); font-size: 17px; }
.f-col li { margin-bottom: 10px; }
.f-col a:hover, .f-contact a:hover, .f-bottom a:hover { color: var(--sky); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid #343A48; font-size: 14px; }
.f-bottom p { margin: 0; }
.f-bottom span { margin: 0 8px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .product-grid, .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .perk-row { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .perk:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-in, .split, .contact-grid, .cart-layout, .news-box { grid-template-columns: 1fr; }
  .collage { max-width: 520px; margin: 0 auto; }
  .news-box img { max-height: 320px; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 82px; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .topbar-right a:last-child { display: none; }
  .reviews, .blog-grid, .cards-3, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
  .f-top { flex-direction: column; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .product-grid, .product-grid.cols-3, .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dept { flex-direction: column; align-items: flex-start; }
  .dept > .ic { display: none; }
  .perk-row { grid-template-columns: 1fr; }
  .perk { border-right: 0; border-bottom: 1px solid var(--line); }
  .perk:last-child { border-bottom: 0; }
  .p-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; padding: 9px 10px; font-size: 13px; }
  .logo img { width: 180px; }
  .cart-btn .label { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-in > span:first-child { display: none; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .two, .three { grid-template-columns: 1fr; gap: 0; }
  .news-text { padding: 34px 24px; }
  .inline-form { flex-direction: column; }
  .f-bottom { flex-direction: column; text-align: center; }
  .stamp { width: 92px; height: 92px; font-size: 16px; left: 10px; }
  .collage { padding-left: 30px; }
}
