:root {
  --pink: #f587bb;
  --pink-light: color-mix(in srgb, var(--pink) 23%, white);
  --pink-hero: color-mix(in srgb, var(--pink) 38%, white);
  --paper: white;
  --ink: black;
  --muted: #555555;
  --border: #e5e5e5;
  --body: "Istok Web", Arial, sans-serif;
  --display: Arvo, Georgia, serif;
  --width: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
input[type="checkbox"] { accent-color: var(--ink); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); line-height: 1.17; letter-spacing: -.035em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.08rem; }
header, footer { background: var(--paper); }
main { min-height: 62vh; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(calc(100% - 60px), var(--width)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; background: white; padding: 10px; translate: 0 -150%; }
.skip:focus { translate: 0; }
.topbar { background: var(--pink); text-align: center; padding: 5px 15px; font-size: .875rem; font-weight: 700; }
.topbar span { margin-inline: 5px; }
.header-row { min-height: 85px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 0; white-space: nowrap; font-family: var(--display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.075em; line-height: 1; }
.brand-icon { background: var(--pink); display: grid; place-items: center; aspect-ratio: 1; width: 35px; border-radius: 50%; margin-right: 10px; }
.brand-icon .icon { width: 18px; height: 18px; }
.nav-main, .product-menu, .header-tools { display: flex; align-items: center; }
.nav-main { gap: 25px; font-size: .94rem; font-weight: 700; }
.nav-main a[aria-current] { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav-main a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-menu { position: relative; }
.product-menu summary { list-style: none; padding: 5px; }
.product-menu summary::-webkit-details-marker { display: none; }
.product-menu .icon { width: 16px; height: 16px; }
.menu-panel { position: absolute; top: calc(100% + 5px); left: 0; z-index: 4; min-width: 205px; background: white; border: 1px solid var(--border); padding: 10px; box-shadow: 0 10px 30px #0002; }
.menu-panel a { display: block; padding: 5px 10px; }
.header-tools { margin-left: auto; gap: 15px; }
#search { display: flex; align-items: center; width: clamp(180px, 24vw, 300px); background: white; border: 1px solid var(--border); border-radius: 50px; padding: 0 5px 0 15px; }
#search:focus-within { border-color: var(--ink); }
#search input, #search button { background: none; border: 0; }
#search input { min-width: 0; flex: 1; width: 100%; padding: 10px 0; font-size: .94rem; }
#search input:focus { outline: none; }
#search button { padding: 5px 10px; }
.bag-button { display: inline-flex; gap: 5px; align-items: center; font-size: .9rem; font-weight: 700; }
#cart-count { min-width: 25px; padding-inline: 5px; text-align: center; background: var(--pink-light); border-radius: 30px; }
.demo-note { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.hero { min-height: 445px; display: grid; grid-template-columns: 46% 54%; overflow: hidden; background: var(--pink-hero); border-radius: 2px; }
.hero-copy { padding: 55px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: .875rem; letter-spacing: .13em; margin-bottom: 20px; }
.eyebrow .icon { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.15rem); }
.hero h1 em { font-weight: 400; }
.hero-lead { margin: 20px 0 25px; max-width: 29ch; }
.hero-image { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 30px; font-weight: 700; font-size: .94rem; text-align: center; line-height: 1.25; transition: background .2s, color .2s; }
.button.dark { background: var(--ink); color: white; }
.button.dark:hover:not(:disabled) { background: var(--pink); color: var(--ink); }
.button.outline { background: white; color: var(--ink); }
.button.outline:hover:not(:disabled) { background: var(--pink-light); }
.category-strip, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.category-strip { justify-content: center; padding-block: 25px; border-bottom: 1px solid var(--border); }
.chip { display: inline-flex; padding: 5px 15px; min-height: 35px; align-items: center; background: white; border: 1px solid var(--border); border-radius: 50px; font-size: .92rem; }
.chip.active, .chip:hover { background: var(--pink-light); border-color: var(--pink); }
.collection { margin-block: 40px 55px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.text-link { display: inline-block; padding: 0; background: none; border: 0; font-size: .92rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 20px; }
.product-card { min-width: 0; }
.card-photo { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--pink-light); border-radius: 2px; }
.card-photo img, .card-photo .photo-placeholder { width: 100%; height: 100%; object-fit: cover; transition: scale .3s; }
.card-photo:hover img { scale: 1.045; }
.photo-placeholder { min-height: 100%; display: grid; place-items: center; background: var(--pink-light); }
.photo-placeholder .icon { width: 40px; height: 40px; }
.sale-tag { position: absolute; top: 10px; left: 10px; padding: 5px 10px; background: var(--pink); border-radius: 50px; font-size: .85rem; font-weight: 700; }
.card-info { padding-block: 10px 0; }
.card-type { color: var(--muted); font-size: .88rem; }
.card-info a:hover { text-decoration: underline; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.prices del { color: var(--muted); font-size: .85em; }
.add-small { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--pink); border-radius: 50%; background: var(--pink-light); flex: none; }
.add-small:hover { background: var(--pink); }
.page { padding-block: 25px 85px; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 25px; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb span { margin-inline: 5px; }
.page-head { margin-bottom: 30px; overflow-wrap: anywhere; }
.page-head p { margin-top: 10px; color: var(--muted); }
.browse { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 30px; }
.browse:not(.no-filters) .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.browse.no-filters { display: block; }
.filters { padding: 20px; border: 1px solid var(--border); align-self: start; }
.filters h2 { font-size: 1.25rem; }
fieldset { min-width: 0; margin: 0; padding: 10px 0; border: 0; }
.filters fieldset { border-top: 1px solid var(--border); margin-bottom: 10px; display: grid; gap: 5px; }
legend { padding: 0 5px 0 0; font-weight: 700; }
.filters label { cursor: pointer; }
.filters label span { color: var(--muted); }
.empty, .empty-inline, .notice { padding: 20px; background: var(--pink-light); border-radius: 2px; }
.empty { text-align: center; padding: 40px 20px; }
.empty p { margin-block: 10px 20px; }
.empty .button, .empty h1 + .button { margin-top: 10px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 55px; align-items: start; }
.detail-image { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--pink-light); }
.detail-copy { padding-top: 20px; }
.detail-copy h1 { margin-block: 15px; }
.detail-copy .prices { font-size: 1.5rem; }
.description { color: var(--muted); white-space: pre-wrap; margin-top: 15px; }
.specs div { display: flex; gap: 15px; padding-block: 5px; border-bottom: 1px solid var(--border); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.thumbs, .purchase, .row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.thumbs button { padding: 0; width: 55px; border: 2px solid transparent; background: var(--pink-light); }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.stepper { display: inline-flex; align-items: center; min-height: 44px; flex: none; border: 1px solid var(--border); border-radius: 30px; }
.stepper button { min-width: 38px; min-height: 42px; border: 0; background: transparent; font-weight: 700; }
.stepper input, .stepper span { width: 35px; text-align: center; padding: 0; border: 0; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 30px; }
.cart-item { display: grid; grid-template-columns: 85px minmax(0, 1fr) auto auto; gap: 15px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }
.cart-item h2 { font-size: 1.15rem; }
.cart-item p { margin-block: 5px; color: var(--muted); font-size: .9rem; }
.cart-photo { width: 100%; aspect-ratio: 1; }
.cart-photo img { height: 100%; width: 100%; object-fit: cover; }
.order-summary { background: var(--pink-light); padding: 25px; align-self: start; }
.order-summary h2 { font-size: 1.35rem; }
.order-summary div { display: flex; justify-content: space-between; padding-block: 15px; }
.order-summary .button { width: 100%; }
.order-summary p { font-size: .9rem; margin-top: 10px; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 30px; align-items: start; }
.contact-info { background: var(--pink-light); padding: 30px; }
.contact-info p { margin-top: 10px; }
.contact-info a { padding-block: 10px; border-top: 1px solid var(--pink); margin-top: 15px; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.contact-info a span { text-decoration: underline; text-underline-offset: 4px; }
.panel { padding: 25px; border: 1px solid var(--border); border-radius: 2px; }
.form-stack { display: grid; gap: 15px; }
.form-stack .button { justify-self: start; }
.form-stack label:not(.check):not(.honeypot) { display: grid; gap: 5px; }
.form-stack input:not([type="checkbox"]), .form-stack textarea, .form-stack select { width: 100%; padding: 10px; border: 1px solid #c0c0c0; border-radius: 2px; background: white; min-width: 0; }
.form-stack textarea { resize: vertical; }
.form-stack select { appearance: none; padding-right: 35px; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='m4 7 5 5 5-5' stroke='black' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; }
.form-status:empty { display: none; }
.form-status { font-weight: 700; }
.load { padding-block: 25px; }
.muted { color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--border); }
.footer-row { padding-block: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-row div { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-row > div a:hover { text-decoration: underline; }
.footer-row > span { font-size: .9rem; color: var(--muted); }
.toast { position: fixed; z-index: 5; right: 20px; bottom: 20px; max-width: calc(100vw - 40px); padding: 10px 20px; color: white; background: black; border-radius: 30px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.toast.visible { opacity: 1; }
.login { max-width: 460px; }
.admin-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
#admin-list { margin-top: 20px; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.admin-row .row-actions { margin: 0; flex-wrap: nowrap; }
.admin-product { display: flex; align-items: center; gap: 10px; }
.admin-product img, .admin-photo-empty { width: 55px; height: 55px; object-fit: cover; flex: none; }
.admin-photo-empty { display: grid; place-items: center; background: var(--pink-light); }
.admin-product span { display: block; font-size: .9rem; color: var(--muted); }
.admin-product .admin-photo-empty { display: grid; }
.editor { width: min(660px, calc(100% - 30px)); max-height: 90vh; border: 1px solid var(--border); padding: 25px; border-radius: 2px; }
.editor::backdrop { background: #0008; }
.editor fieldset { border-top: 1px solid var(--border); }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 15px; }
.edit-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 10px; margin-bottom: 10px; }
.edit-photos img { width: 100%; max-width: 135px; aspect-ratio: 1; object-fit: cover; }
#selected-attributes:not(:empty) { margin-bottom: 10px; }
.value-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-bottom: 10px; }
.value-row button { margin-bottom: 10px; }
.inbox-message { margin-top: 15px; overflow-wrap: anywhere; }
.inbox-message time { color: var(--muted); font-size: .9rem; margin-left: 10px; }
.inbox-message a { text-decoration: underline; }
.inbox-message p { white-space: pre-wrap; margin-top: 10px; }

@media (max-width: 1000px) {
  .header-row { gap: 15px; }
  .nav-main { gap: 15px; }
  .hero { min-height: 400px; }
  .hero-copy { padding: 30px; }
  .browse { grid-template-columns: 175px minmax(0, 1fr); gap: 20px; }
  .product-grid { gap: 15px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 30px); }
  .header-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding-block: 15px; }
  .nav-main { grid-row: 2; grid-column: 1 / -1; justify-content: center; }
  .header-tools { margin: 0; justify-content: flex-end; }
  #search { width: min(100%, 230px); }
  .cart-label { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 30px; }
  .hero-image { max-height: 340px; aspect-ratio: 1.65; }
  .category-strip { justify-content: flex-start; padding-block: 20px; }
  .product-grid, .browse:not(.no-filters) .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse { grid-template-columns: 1fr; }
  .filters fieldset { display: flex; flex-wrap: wrap; gap: 5px 15px; }
  .product-detail, .cart-layout, .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .detail-copy { padding-top: 0; }
  .cart-item { grid-template-columns: 55px minmax(0, 1fr) auto; gap: 10px; }
  .line-total { grid-column: 2 / -1; text-align: right; }
}
@media (max-width: 370px) {
  .brand { font-size: 1.2rem; }
  .brand-icon { width: 25px; margin-right: 5px; }
  .header-tools { gap: 5px; }
  #search { padding-left: 10px; }
  .form-columns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
