:root {
  --primary: #6E2864;
  --primary-dark: #521d4b;
  --rose: #EFD6EC;
  --lime: #A3BC29;
  --blue: #0091B9;
  --sky: #B4DEEA;
  --sale: #E94F35;
  --text: #404040;
  --muted: #777;
  --light: #F8F8F8;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0,0,0,.08);
  --head: "PT Sans Caption", "Trebuchet MS", sans-serif;
  --body: "Roboto", system-ui, -apple-system, sans-serif;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--primary); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 999; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.5em;
  border-radius: 999px; font-weight: 700; font-family: var(--head);
  background: var(--primary); color: #fff; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: #fff; }
.btn--lime:hover { background: #8ea322; }
.btn--ghost { background: transparent; border: 2px solid currentColor; color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--rose); }

/* Topbar */
.topbar { background: var(--primary); color: #fff; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar nav { display: none; gap: 20px; }
.topbar nav a:hover { text-decoration: underline; }
.topbar .usp { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .usp svg { flex: none; }
.sale-link { background: var(--sale); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-family: var(--head); flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.header__row { display: flex; align-items: center; gap: 6px; min-height: 64px; padding-left: 8px; padding-right: 8px; }
.acct { display: none; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--primary); flex: 0 1 auto; min-width: 0; }
.logo svg { flex: none; }
.logo svg { width: 42px; height: 42px; }
.logo__text { font-family: var(--head); font-weight: 700; line-height: 1; font-size: 1rem; white-space: nowrap; }
.logo__text small { display: block; font-size: .62rem; color: var(--lime); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.search { flex: 1; display: none; position: relative; }
.search input {
  width: 100%; border: 2px solid var(--rose); border-radius: 999px; padding: .6em 1em .6em 2.6em;
  font: inherit; background: var(--light); outline: none;
}
.search input:focus { border-color: var(--primary); background: #fff; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 0; margin-left: auto; flex: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); position: relative; }
.icon-btn:hover { background: var(--rose); }
.cart__count {
  position: absolute; top: 4px; right: 2px; background: var(--lime); color: #fff; font-size: .7rem;
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
}
.cart__sum { display: none; font-weight: 700; color: var(--primary); font-size: .9rem; margin-right: 4px; }
.mobile-search { padding: 0 16px 10px; display: none; }
.mobile-search.open { display: block; }
.mobile-search .search { display: block; }

/* Main nav */
.mainnav { display: none; border-top: 1px solid #eee; }
.mainnav > ul { list-style: none; margin: 0 auto; padding: 0 16px; display: flex; max-width: var(--max); }
.mainnav > ul > li > a, .mainnav > ul > li > button {
  display: block; padding: 14px 14px; font-family: var(--head); font-weight: 700; color: var(--text);
  border-bottom: 3px solid transparent;
}
.mainnav > ul > li:hover > a, .mainnav > ul > li:hover > button { color: var(--primary); border-color: var(--primary); }
.mainnav li.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow);
  border-top: 3px solid var(--primary); display: none; padding: 28px 0;
}
.mainnav li.has-mega:hover .mega, .mainnav li.has-mega:focus-within .mega { display: block; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mega h4 { font-size: .95rem; color: var(--lime); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .7em; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 4px 0; }
.mega li a:hover { color: var(--primary); padding-left: 4px; transition: padding .15s; }
.mega address { font-style: normal; font-size: .9rem; line-height: 1.5; }
.mega address strong { color: var(--primary); font-family: var(--head); font-size: 1rem; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: #fff;
  transform: translateX(-100%); transition: transform .3s; overflow-y: auto; display: flex; flex-direction: column;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--primary); color: #fff; }
.drawer__head .icon-btn { color: #fff; }
.drawer__head .icon-btn:hover { background: rgba(255,255,255,.15); }
.acc { list-style: none; margin: 0; padding: 0; }
.acc > li { border-bottom: 1px solid #eee; }
.acc > li > a, .acc > li > button {
  display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 16px;
  font-family: var(--head); font-weight: 700; text-align: left; min-height: 50px;
}
.acc > li > button svg { transition: transform .2s; }
.acc > li.open > button svg { transform: rotate(180deg); }
.acc__sub { display: none; background: var(--light); padding: 4px 16px 12px 28px; }
.acc > li.open .acc__sub { display: block; }
.acc__sub h4 { font-size: .8rem; color: var(--lime); text-transform: uppercase; margin: 10px 0 2px; letter-spacing: .05em; }
.acc__sub a { display: block; padding: 7px 0; }
.drawer__foot { margin-top: auto; padding: 16px; background: var(--rose); font-size: .9rem; }
.drawer__foot a { display: block; padding: 4px 0; }

/* Hero slider */
.hero { position: relative; background: var(--primary); overflow: hidden; }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.6,.05,.3,1); touch-action: pan-y; }
.slide { flex: 0 0 100%; position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40,10,36,.85) 0%, rgba(40,10,36,.35) 55%, rgba(0,0,0,0) 100%); }
.slide__content { position: relative; z-index: 1; padding: 28px 16px 64px; max-width: var(--max); margin: 0 auto; width: 100%; }
.slide__tag { display: inline-block; background: var(--lime); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.slide__tag--sale { background: var(--sale); }
.slide h2 { color: #fff; font-size: clamp(1.8rem, 6vw, 3.4rem); max-width: 16ch; }
.slide p { font-size: 1.05rem; max-width: 46ch; opacity: .95; }
.hero__dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); padding: 0; transition: width .3s, background .3s; }
.hero__dots button.active { width: 28px; border-radius: 6px; background: var(--lime); }
.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.2); color: #fff; display: none; place-items: center; backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: rgba(255,255,255,.35); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

/* USP bar */
.usps { background: var(--rose); }
.usps ul { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; max-width: var(--max); margin: 0 auto; }
.usps li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--primary); }
.usps svg { flex: none; color: var(--lime); }

/* Sections */
.section { padding: 48px 0; }
.section--light { background: var(--light); }
.section--rose { background: var(--rose); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section__head h2 { margin: 0; }
.link-more { color: var(--primary); font-weight: 700; font-family: var(--head); display: inline-flex; align-items: center; gap: 4px; }
.link-more:hover { color: var(--lime); }

/* Tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: .5em 1.1em; border-radius: 999px; border: 2px solid var(--rose); background: #fff;
  font-weight: 700; font-size: .9rem; color: var(--primary); white-space: nowrap;
}
.tab.active, .tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Product carousel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
.carousel > * { scroll-snap-align: start; }
.product {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; position: relative;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(110,40,100,.15); }
.product__img { aspect-ratio: 4/3; background: var(--light); overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.05); }
.product__badge { position: absolute; top: 12px; left: 12px; background: var(--sale); color: #fff; font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 4px; }
.product__badge--new { background: var(--blue); }
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product__brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.product__name { font-family: var(--head); font-weight: 700; color: var(--text); margin: 2px 0 10px; line-height: 1.3; font-size: 1rem; }
.product__price { margin-top: auto; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.product__price del { font-size: .9rem; color: var(--muted); font-weight: 400; margin-right: 6px; }
.product__price ins { text-decoration: none; color: var(--sale); }
.product__stock { font-size: .8rem; color: var(--lime); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.product__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.product__tax { font-size: .72rem; color: var(--muted); }
.product__add {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.product__add:hover { background: var(--primary); color: #fff; }
.empty { padding: 20px; color: var(--muted); }

/* Service tiles */
.tiles { display: grid; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(60,18,55,.95) 0%, rgba(80,25,72,.8) 45%, rgba(110,40,100,.1) 85%); }
.tile__body { position: relative; z-index: 1; padding: 20px; }
.tile h3 { color: #fff; font-size: 1.4rem; }
.tile p { font-size: .95rem; margin-bottom: .6em; }
.tile .link-more { color: var(--lime); }

/* Feature rows */
.feature { display: grid; gap: 20px; align-items: center; margin-bottom: 44px; }
.feature:last-child { margin-bottom: 0; }
.feature__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; position: relative; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__img::before { content: ""; position: absolute; width: 90px; height: 90px; background: var(--lime); border-radius: 50%; right: -30px; bottom: -30px; z-index: 1; opacity: .9; }
.feature__eyebrow { color: var(--lime); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 4px; }

/* Promo cards */
.promos { display: grid; gap: 16px; }
.promo { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 5px solid var(--lime); }
.promo:nth-child(2) { border-color: var(--blue); }
.promo:nth-child(3) { border-color: var(--primary); }
.promo__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--rose); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.promo .link-more { margin-top: auto; }

/* Leasing banner */
.banner { background: var(--primary); color: #fff; border-radius: var(--radius); overflow: hidden; display: grid; }
.banner__body { padding: 30px 22px; }
.banner h2 { color: #fff; }
.banner__big { font-family: var(--head); font-size: 4rem; font-weight: 700; color: var(--lime); line-height: 1; }
.banner__img { min-height: 220px; position: relative; }
.banner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* News */
.news { display: grid; gap: 16px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-card__img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__cat { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; }
.news-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 1.1rem; }
.news-card time { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: 10px; }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.1rem; }
.review__src { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.review blockquote { margin: 10px 0; font-style: italic; }
.review cite { font-style: normal; font-weight: 700; color: var(--primary); }
.note { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* Newsletter */
.newsletter { background: var(--lime); color: #fff; }
.newsletter .wrap { display: grid; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.newsletter h2 { color: #fff; margin-bottom: .2em; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; }
.newsletter input { border: 0; border-radius: 999px; padding: .85em 1.2em; font: inherit; width: 100%; }
.newsletter .btn { justify-content: center; }
.newsletter__msg { font-weight: 700; min-height: 1.5em; }

/* Footer */
.footer { background: #2b1028; color: #e7d7e4; font-size: .92rem; }
.footer .wrap { padding-top: 44px; padding-bottom: 20px; }
.footer__grid { display: grid; gap: 28px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--lime); }
.footer address { font-style: normal; line-height: 1.7; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social a:hover { background: var(--lime); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; }
.footer__bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 150%); background: var(--primary); color: #fff;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); z-index: 200; transition: transform .3s; font-weight: 500;
  max-width: calc(100vw - 32px); text-align: center; visibility: hidden; opacity: 0;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }

/* Legal pages */
.legal { padding: 40px 0 60px; max-width: 760px; }
.legal h1 { font-size: 2rem; }

/* ≥ 600px */
@media (min-width: 600px) {
  .carousel { grid-auto-columns: 44%; }
  .reviews { grid-auto-columns: 48%; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .promos { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: repeat(2, 1fr); }
  .usps ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .newsletter form { flex-direction: row; }
  .newsletter .btn { flex: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .slide { min-height: 520px; }
  .cart__sum { display: inline; }
  .acct { display: grid; }
  .header__row { gap: 12px; padding-left: 16px; padding-right: 16px; }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  .topbar nav { display: flex; }
  .search { display: block; max-width: 480px; margin: 0 auto; }
  .js-search-toggle, .js-burger { display: none; }
  .mainnav { display: block; position: relative; }
  .header__row { min-height: 78px; gap: 24px; }
  .logo svg { width: 50px; height: 50px; }
  .logo__text { font-size: 1.3rem; }
  .slide { min-height: 600px; align-items: center; }
  .slide::after { background: linear-gradient(90deg, rgba(40,10,36,.85) 0%, rgba(40,10,36,.45) 45%, rgba(0,0,0,0) 75%); }
  .slide__content { padding: 40px 80px; }
  .hero__arrow { display: grid; }
  .section { padding: 72px 0; }
  .carousel { grid-auto-columns: calc((100% - 42px) / 4); margin: 0; padding-left: 0; padding-right: 0; }
  .reviews { grid-auto-columns: calc((100% - 28px) / 3); margin: 0; padding-left: 0; padding-right: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile { min-height: 380px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 72px; }
  .feature:nth-child(even) .feature__img { order: 2; }
  .promos { grid-template-columns: repeat(3, 1fr); }
  .banner { grid-template-columns: 1.1fr 1fr; }
  .banner__body { padding: 50px; }
  .news { grid-template-columns: repeat(3, 1fr); }
  .newsletter .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
