@import url("fonts-face.css");

:root {
  --pink: #8bc34a;
  --pink-2: #6a9739;
  --ink: #111;
  --muted: #333;
  --wash: #f8f6f3;
  --white: #fff;
  --max: 1140px;
  --header-h: 88px;
  --font: "Open Sans", system-ui, sans-serif;
  --font-head: "Merriweather", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 93.75%; }
body {
  margin: 0; overflow-x: hidden;
  font-family: var(--font); font-weight: 500; font-size: 15px; line-height: 1.7;
  color: var(--muted); background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-2); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 .45em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 8px 16px; z-index: 10000; }
.skip-link:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  background: var(--pink); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  padding: 13px 26px; border-radius: 4px;
}
.btn:hover { background: var(--pink-2); color: #fff; }
.btn-dark { background: #000; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-block { width: 100%; border-radius: 4px; }
.icon-btn { background: none; border: 0; cursor: pointer; color: inherit; padding: 6px; font-size: 1.2rem; }

.site-header { position: sticky; top: 0; z-index: 800; background: #fff; }
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav tools";
  align-items: center;
  height: var(--header-h);
  position: relative;
}
.logo {
  grid-area: logo;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--pink-2); letter-spacing: 0; text-transform: none;
}
.logo:hover { color: var(--pink-2); }
nav { grid-area: nav; justify-self: center; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { color: var(--ink); font-weight: 600; font-size: .88rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--pink); }
.header-tools { grid-area: tools; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.header-tools a, .header-tools button {
  color: var(--ink); background: none; border: 0; cursor: pointer; width: 32px; height: 32px;
  display: grid; place-items: center; position: relative;
}
.header-tools svg { width: 20px; height: 20px; display: block; }
.cart-count {
  position: absolute; top: -4px; right: -6px; background: var(--pink); color: #fff;
  border-radius: 99px; font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }

.search-panel { display: none; position: fixed; inset: 0; z-index: 1200; background: rgba(0,0,0,.4); align-items: flex-start; justify-content: center; padding-top: 12vh; }
body.search-open .search-panel { display: flex; }
.search-panel form { background: #fff; width: min(640px, 92%); padding: 20px; display: flex; gap: 8px; }
.search-panel input { flex: 1; border: 1px solid #eee; padding: 12px; }

.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; z-index: 1300; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; }
body.cart-open .cart-drawer { transform: none; }
.cart-backdrop, .filters-backdrop, .qv-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1250; }
body.cart-open .cart-backdrop, body.filters-open .filters-backdrop, body.qv-open .qv-backdrop { display: block; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #eee; }
.mini-cart { padding: 16px 20px; overflow: auto; flex: 1; }
.mini-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; }
.mini-row img { width: 64px; height: 80px; object-fit: cover; background: var(--wash); }
.mini-sub { display: flex; justify-content: space-between; margin: 16px 0; color: var(--ink); }
.empty-note { color: var(--muted); }

.hero {
  background: var(--wash) center / cover no-repeat;
  padding: 90px 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kicker { font-size: .85rem; font-weight: 700; color: var(--pink); letter-spacing: .04em; margin-bottom: 10px; }
.hero-visual img { width: 100%; object-fit: cover; max-height: 520px; margin-inline: auto; }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.band { background: var(--wash); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.promo-strip { background: var(--pink); color: #fff; text-align: center; padding: 40px 20px; }
.promo-strip h2, .promo-strip h3, .promo-strip p { color: #fff; }
.promo-strip .btn { background: #111; }
.promo-strip .btn:hover { background: #333; color: #fff; }
.product-card .thumb { position: relative; display: block; background: var(--wash); overflow: hidden; margin-bottom: 12px; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--wash); }
.badge-sale { position: absolute; top: 12px; left: 12px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 8px; z-index: 2; }
.card-actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; transform: translateY(100%); transition: transform .2s ease; }
.product-card:hover .card-actions { transform: none; }
.card-actions .mini-add, .card-actions .quick-view {
  flex: 1; text-align: center; padding: 11px 6px; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  background: var(--pink); color: #fff; border: 0; cursor: pointer;
}
.card-actions .quick-view { background: #111; display: block; }
.product-card .cat { display: block; font-size: .72rem; color: var(--pink); font-weight: 700; margin-bottom: 2px; }
.product-card .title { display: block; color: var(--ink); font-weight: 700; }
.product-card .price { margin-top: 4px; color: var(--ink); }
.product-card .price del { color: #999; margin-right: 8px; }
.product-card .price ins { text-decoration: none; color: var(--pink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; object-fit: cover; }
.features { display: grid; gap: 18px; margin: 22px 0; }
.features h5 { margin: 0 0 4px; font-size: 1rem; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.why h6 { font-size: .95rem; margin-bottom: 4px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quotes article { background: var(--wash); padding: 24px; }
.quotes .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink); font-weight: 700; }
.quotes .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats strong { display: block; font-size: 2rem; color: var(--ink); }

.page-hero { padding: 40px 0 8px; text-align: center; background: var(--wash); }
.crumb { font-size: .82rem; margin-bottom: 8px; }
.shop-layout { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 32px 0 80px; }
.filter-block { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.filter-block a { display: block; padding: 4px 0; color: var(--ink); }
.filter-block a.is-active { color: var(--pink); font-weight: 700; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-toggle { display: none; }
.filters .drawer-head .icon-btn { display: none; }

.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 40px 0 80px; }
.product-gallery { background: var(--wash); }
.product-gallery img { width: 100%; object-fit: cover; }
.product-info .price { font-size: 1.4rem; color: var(--ink); margin: 10px 0 16px; font-weight: 700; }
.buy-row { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.qty, select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 1px solid #eee; padding: 12px; font-family: inherit; background: #fff;
}
.qty { width: 84px; }
textarea { min-height: 140px; width: 100%; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; border-bottom: 1px solid #eee; padding: 14px 8px; color: var(--ink); vertical-align: middle; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 64px; height: 80px; object-fit: cover; background: var(--wash); }
.two-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; }
.totals, .order-box { background: var(--wash); padding: 24px; }
.order-row, .total-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label span { display: block; font-size: .82rem; color: var(--ink); margin-bottom: 6px; }
.note { background: var(--wash); padding: 16px; margin: 16px 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.faq details { border-bottom: 1px solid #eee; padding: 12px 0; color: var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; }

.qv { display: none; position: fixed; inset: 0; z-index: 1400; place-items: center; padding: 20px; }
body.qv-open .qv { display: grid; }
.qv-card { background: #fff; width: min(860px, 96%); display: grid; grid-template-columns: 1fr 1fr; max-height: 90vh; overflow: auto; position: relative; z-index: 2; }
.qv-card img { width: 100%; object-fit: cover; background: var(--wash); }
.qv-body { padding: 28px; }
.qv-close { position: absolute; top: 8px; right: 10px; background: #fff; }

.site-footer { background: #001524; color: #bbb; padding: 56px 0 24px; }
.site-footer h4, .site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-grid a { display: block; color: #bbb; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid #222; font-size: .82rem; }
.not-found { text-align: center; padding: 80px 0; }

@media (max-width: 992px) {
  .header-inner {
    grid-template-columns: 44px minmax(0,1fr) 88px;
    grid-template-areas: "nav logo tools";
  }
  .logo { justify-self: center; min-width: 0; }
  nav { justify-self: start; min-width: 0; }
  .header-tools { justify-self: end; gap: 4px; width: 88px; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 16px 24px 24px; gap: 14px; border-bottom: 1px solid #eee; z-index: 20; }
  body.nav-open .nav-menu { display: flex; }
  .hero-grid, .split, .shop-layout, .product-layout, .two-col, .contact-grid, .qv-card, .quotes { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why, .stats, .footer-grid { grid-template-columns: 1fr 1fr; }
  .ig { grid-template-columns: repeat(3, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; left: 0; top: 0; bottom: 0; width: min(320px, 88vw); background: #fff; z-index: 1300; padding: 20px; transform: translateX(-100%); transition: transform .28s ease; }
  body.filters-open .filters { transform: none; }
  .filters .drawer-head .icon-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .form-grid, .why, .stats, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (hover: none) {
  .card-actions { transform: none; }
  .card-actions .quick-view { display: none; }
}
