@font-face {
  font-family: "DM Sans";
  src: url("../dm-sans-latin.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #3e2633;
  --muted: #705563;
  --berry: #963765;
  --deep: #75254e;
  --petal: #ffe6f1;
  --blush: #fff4f9;
  --line: #efd2df;
  --paper: #fffbfd;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 4px; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
header { background: #fff9fc; border-bottom: 1px solid var(--line); }
header .wrap, nav, footer .wrap { display: flex; align-items: center; gap: 1.4rem; }
header .wrap { min-height: 88px; justify-content: space-between; }
.brand img { display: block; width: 120px; height: auto; }
nav { justify-content: flex-end; }
nav a, footer a { color: #583447; text-decoration-thickness: 1px; text-underline-offset: .3em; }
nav a:hover, footer a:hover { color: var(--berry); }
.skip { position: absolute; left: -1000px; }
.skip:focus { left: 8px; z-index: 8; background: white; padding: 8px; }
.hero {
  background: radial-gradient(ellipse at 8% 15%, #fff7fb 0, transparent 56%),
              linear-gradient(105deg, #ffe8f2, #f9cddd);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 5%; padding-block: clamp(1.8rem, 4.5vw, 4rem); }
.hero-copy { padding-block: .3rem; }
.hero h1, h2, .looks b { font-family: inherit; font-weight: 650; }
.hero h1 { font-size: clamp(4rem, 6.5vw, 6.7rem); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 1.1rem; }
.hero h1 i { font-style: normal; color: var(--berry); }
.hero-copy p { max-width: 41ch; font-size: 1.12rem; margin: 0 0 1.35rem; }
.hero-photo { border-radius: 2.6rem .85rem 2.6rem .85rem; overflow: hidden; border: 6px solid #fff7fb; box-shadow: 0 12px 26px #98385e20; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.primary { display: inline-block; background: var(--berry); color: #fff; border: 0; border-radius: 2rem; padding: .78rem 1.4rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary:hover { background: var(--deep); }
.ideas, .catalogue { padding-block: 3.2rem; }
.ideas { border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2.15rem, 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.047em; margin: 0 0 1.35rem; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.looks a { display: block; padding: 1.15rem; background: #fff0f7; border: 1px solid var(--line); border-radius: 1.1rem; text-decoration: none; }
.looks a:nth-child(even) { background: #ffedf0; }
.looks b { display: block; font-size: 1.4rem; line-height: 1.18; color: var(--deep); margin-bottom: .45rem; }
.looks a:hover b, .card:hover strong { text-decoration: underline; text-underline-offset: .15em; }
#filters { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 650; font-size: .94rem; }
input, select { width: 100%; padding: .68rem .8rem; background: #fff; border: 1px solid #ae8297; border-radius: .65rem; margin-top: .3rem; min-height: 46px; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,var(--berry) 50%),linear-gradient(135deg,var(--berry) 50%,transparent 50%); background-position: right 1.1rem center, right .8rem center; background-size: .32rem .32rem; background-repeat: no-repeat; }
.note, #count, .meta { color: var(--muted); }
.note, .meta { font-size: .9rem; }
#count { margin: 1.8rem 0 .8rem; }
#cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1.15rem; overflow: hidden; background: white; text-decoration: none; }
.card:hover { border-color: #c47c9d; }
.pic { aspect-ratio: 1; display: grid; place-items: center; background: white; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: contain; }
.empty { background: var(--blush); color: var(--muted); font-size: .9rem; }
.card .copy { padding: .9rem 1rem 1.1rem; display: grid; gap: .3rem; background: #fff9fc; border-top: 1px solid var(--line); flex-grow: 1; align-content: start; }
.card strong { font-size: 1.05rem; line-height: 1.25; }
.price { color: var(--deep); font-weight: 700; }
#more { display: block; margin: 2rem auto; }
#more[hidden] { display: none; }
dialog { width: min(760px,94%); max-height: 92dvh; overflow: auto; color: var(--ink); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; background: var(--paper); }
dialog::backdrop { background: #402134aa; }
#close { display: block; margin-left: auto; cursor: pointer; border: 0; border-radius: 2rem; padding: .45rem .9rem; background: var(--petal); color: var(--deep); }
#detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: center; padding-block: .8rem; }
.detail-img { display: block; margin-inline: auto; width: min(100%, 45vh); height: auto; aspect-ratio: 1; object-fit: contain; background: white; }
.photo-hiboutik { box-sizing: border-box; padding: 7%; }
#detail h2 { font-size: 2rem; }
.label { color: var(--berry); font-size: .85rem; font-weight: 700; }
footer { background: var(--petal); border-top: 1px solid var(--line); padding-block: 1.4rem; }
footer .brand { margin-right: auto; }
footer .brand img { width: 108px; }
@media(max-width:820px) {
  #cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .looks { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(3.5rem,8vw,4.6rem); }
}
@media(max-width:620px) {
  header .wrap { min-height: 70px; gap: .55rem; }
  header .brand img { width: 84px; }
  nav { flex-wrap: wrap; column-gap: .72rem; row-gap: .1rem; font-size: .9rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.2rem; padding-block: 1.6rem; }
  .hero h1 { font-size: 3.65rem; }
  .hero-copy p { font-size: 1rem; }
  .hero-photo { border-radius: 1.6rem .65rem; border-width: 4px; }
  .cover { aspect-ratio: 2.24; }
  .ideas, .catalogue { padding-block: 2.1rem; }
  #filters { grid-template-columns: 1fr 1fr; }
  #filters label:first-child { grid-column: 1/-1; }
  #cards { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .card .copy { padding: .7rem; }
  .looks { gap: .7rem; }
  .looks a { padding: .85rem; }
  .looks span { font-size: .94rem; }
  #detail { grid-template-columns: 1fr; }
  .detail-img { width: min(100%, 32vh); }
  footer .wrap { flex-wrap: wrap; gap: .8rem; }
}

.learn-link {display:inline-block; padding:.65rem 1rem; color:var(--deep); font-weight:650; text-decoration:underline; text-underline-offset:.2em}
