/* Pretpebune: bright yellow on warm white, Spline Sans headlines, rounded white cards. */
@import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@400;500;600;700&family=Noto+Sans:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,400,0..1,0&display=block");

:root {
  --bg: #f8f8f5;
  --surface: #ffffff;
  --surface-2: #f1f1e9;
  --text: #181811;
  --muted: #74734f;
  --line: #e6e6db;
  --accent: #f9f506;
  --accent-text: #181811;
  --accent-soft: #fefde0;
  --sale: #dc2626;
  --ok: #15803d;
  --radius: 12px;
  --card-radius: 16px;
  --font: "Noto Sans", system-ui, sans-serif;
  --display: "Spline Sans", "Noto Sans", sans-serif;
  --display-weight: 700;
  --card-ratio: 1 / 1;
  --wrap: 1360px;
}
body { font-family: var(--display); }
main.wrap { padding-top: 28px; padding-bottom: 64px; }
:focus-visible { outline-color: var(--text); }
::selection { background: var(--accent); color: var(--text); }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1; display: inline-block;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased; overflow: hidden; width: 1em; flex: none; }

/* ---- buttons, forms ---- */
.btn { border-radius: 999px; border-color: var(--line); background: var(--surface); font-weight: 700; padding: 12px 24px; }
.btn.primary { border-color: var(--accent); box-shadow: 0 8px 20px -8px rgba(201, 197, 0, 0.6); }
.btn.primary:hover { opacity: 1; background: #e6e205; }
.btn:active { transform: scale(0.97); }
.btn .ms { font-size: 1.1em; }
.field input, .field select, .search-page-form input, .qty-input, .sort select { border-radius: var(--radius); }

/* ---- header ---- */
.site-header { border-bottom-color: var(--line); }
.bar { height: 72px; gap: 16px; }
.logo { font-size: 1.3rem; font-weight: 700; }
.logo-mark { height: 32px; }
.nav { order: 3; flex: 0 1 auto; }
.nav ul { gap: 20px; margin: 0; }
.nav a { font-weight: 700; font-size: 0.88rem; }
.search { order: 2; flex: 1; max-width: 560px; margin-left: 16px; padding-left: 16px; border: 0; background: var(--surface-2); }
.search input { width: 100%; flex: 1; padding: 10px 0; }
.search .icon-btn { width: auto; height: 42px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-text); }
.search .icon-btn svg { stroke-width: 2.2; }
#account-link { order: 4; }
.cart-btn { order: 5; background: var(--accent); border-radius: 50%; }
.badge { background: var(--text); color: #fff; top: -4px; right: -4px; }
.menu-toggle { order: 0; }

/* ---- product cards ---- */
.grid { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 12px 12px 14px; transition: box-shadow 0.2s, border-color 0.2s; }
.card:hover { border-color: var(--accent); box-shadow: 0 10px 30px -12px rgba(24, 24, 17, 0.18); }
.card-media { background: #fff; border-radius: 10px; }
.card-media img { object-fit: contain; }
.card a:hover .card-media img { transform: scale(1.05); }
.badge.sale { border-radius: 6px; background: var(--sale); font-size: 0.72rem; padding: 3px 8px; }
.card-label { color: #8f8d18; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 0.92rem; line-height: 1.35; margin-bottom: 6px; padding-right: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { display: flex; flex-direction: column; font-weight: 800; font-size: 1.05rem; padding-right: 44px; }
.card .price s { font-size: 0.75rem; font-weight: 400; order: -1; }
.on-sale .price { color: var(--sale); }
.quick-add { right: 12px; bottom: 14px; width: 36px; height: 36px; border-radius: 10px; }
.quick-add:hover { background: #e6e205; }

/* ---- home ---- */
.home { gap: 48px; }
.section-head { align-items: center; }
.section-head h2 { display: flex; align-items: center; gap: 12px; font-size: 1.55rem; }
.section-head a { white-space: nowrap; display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 700; color: var(--muted); }
.section-head a:hover { color: var(--text); }

.pp-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 24px 0 8px; }
.pp-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 18px 0 20px; }
.pp-hero h1 span { color: #8c8b5f; }
.pp-hero .lede { font-size: 1.2rem; max-width: 30rem; }
.pp-pill { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 12px; border-radius: 999px; background: #fdfcb8; border: 1px solid #f3ef8a;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pp-pill .ms { color: #a29f00; font-size: 1.1rem; }
.pp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-hero-actions .btn + .btn { margin: 0; }
.pp-hero-media { position: relative; }
.pp-hero-media img, .pp-hero-media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(24, 24, 17, 0.35); background: var(--surface); }
.pp-float { position: absolute; left: -36px; bottom: 28px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--surface);
  border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 16px 40px -16px rgba(24, 24, 17, 0.3); }
.pp-float p { margin: 0; }
.pp-float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #dcfce7; color: var(--ok); }
.pp-float-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pp-float-value { font-weight: 700; font-size: 0.92rem; }

.pp-band { background: var(--surface); border-block: 1px solid var(--line); margin-inline: calc(50% - 50vw); padding: 32px max(20px, calc(50vw - var(--wrap) / 2 + 20px)); }
.pp-badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--sale); color: #fff; }
.pp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.pp-rail > li { scroll-snap-align: start; }

.pp-rail-wrap { position: relative; }
.pp-cats { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pp-cats::-webkit-scrollbar { display: none; }
.pp-cats li { scroll-snap-align: start; }
.pp-cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; text-align: center; font-weight: 700; font-size: 0.88rem; line-height: 1.25; }
.pp-cats img, .pp-cats .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 2px solid transparent; background: var(--surface); transition: border-color 0.2s; }
.pp-cats a:hover img { border-color: var(--accent); }
.pp-arrow { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.2); cursor: pointer; }
.pp-arrow.prev { left: -14px; }
.pp-arrow.next { right: -14px; }

.pp-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--accent); border-radius: var(--card-radius); background: var(--accent-soft); }
.pp-banner-copy { display: flex; align-items: center; gap: 16px; }
.pp-banner-copy p { margin: 0; }
.pp-banner-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent); font-size: 1.2rem; }
.pp-banner-title { font-weight: 700; font-size: 1.15rem; }
.pp-banner .muted { font-size: 0.9rem; }

.pp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; background: var(--surface); border-top: 1px solid var(--line);
  margin: 16px calc(50% - 50vw) -64px; padding: 56px max(20px, calc(50vw - var(--wrap) / 2 + 20px)); }
.pp-features > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.pp-feature-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: #a29f00; font-size: 1.6rem; margin-bottom: 8px; }
.pp-features h3 { margin: 0; font-size: 1.1rem; }
.pp-features p { margin: 0; font-size: 0.9rem; max-width: 22rem; }

/* ---- listings, product ---- */
.listing-head h1 { font-weight: 800; }
.chips a { background: var(--surface); font-weight: 600; }
.chips a:hover { border-color: var(--accent); background: var(--accent-soft); }
.breadcrumbs li + li::before { content: "›"; }
.gallery-main { background: #fff; border: 1px solid var(--line); }
.gallery-main img { object-fit: contain; }
.thumbs button { background: #fff; }
.thumbs img { object-fit: contain; }
.info h1 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.info .eyebrow { font-weight: 700; color: var(--text); }
.price.big { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  font-size: 2rem; font-weight: 800; }
.price.big:has(s) { color: var(--sale); }
.price.big s { order: 2; font-size: 1rem; font-weight: 500; }
.swatch[aria-pressed="true"] { border-color: var(--text); background: var(--accent-soft); }
.buy-row .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.category-list > li { border-radius: var(--card-radius); }

/* ---- cart, checkout, account ---- */
.checkout-form, .auth-form { border-radius: var(--card-radius); }
.summary { background: var(--surface); border: 1px solid var(--line); }
.ship-option:has(input:checked) { border-color: var(--text); background: var(--accent-soft); }
.drawer-head h2 { font-weight: 800; }

/* ---- footer ---- */
.site-footer { background: var(--surface); }
.footer-brand strong { font-weight: 800; }
.footer-brand .muted { font-size: 0.85rem; }
.footer-contact .icon { color: var(--text); }
.site-footer h2 { color: var(--text); font-weight: 700; }
.site-footer ul { color: #6b6a45; }
.site-footer a:hover { color: var(--text); }

/* ---- small screens ---- */
@media (max-width: 960px) {
  .search { display: none; }
  .logo { justify-content: center; }
  .pp-hero { grid-template-columns: 1fr; gap: 28px; }
  .pp-hero-media { order: -1; }
  .pp-float { left: 12px; bottom: -20px; }
  .pp-features { grid-template-columns: 1fr; gap: 28px; }
  .pp-arrow { display: none; }
}
@media (max-width: 600px) {
  .grid { gap: 10px; grid-template-columns: repeat(2, 1fr); }
  .pp-rail { grid-template-columns: none; grid-auto-columns: 46%; }
  .section-head h2 { font-size: 1.25rem; }
  .pp-badge-icon { width: 32px; height: 32px; }
  .card-title { font-size: 0.85rem; }
  .card { padding: 8px 8px 12px; }
  .card .price { font-size: 0.98rem; }
  .quick-add { right: 8px; bottom: 10px; width: 32px; height: 32px; }
  .pp-hero .lede { font-size: 1.05rem; }
  .pp-banner { flex-direction: column; align-items: flex-start; }
  .pp-cats { grid-auto-columns: 104px; }
  .price.big { font-size: 1.6rem; }
}
