@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --paper: #fbf7f1;
  --white: #fffcf8;
  --ink: #322322;
  --muted: #66514b;
  --wine: #652d34;
  --wine-hover: #492027;
  --blush: #f3e4df;
  --edge: #e9ded3;
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.55 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, input, select { font-family: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.24em; height: 1.24em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.symbols, [hidden] { display: none !important; }
:focus-visible { outline: 2px solid #aa5661; outline-offset: 4px; }
.container { width: min(1220px, calc(100% - 96px)); margin-inline: auto; }
.header { background: #fffaf4; border-bottom: 1px solid #eee5dc; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 79px; }
.brand { display: inline-flex; gap: 10px; align-items: center; min-width: 0; }
.brand img { flex: none; }
.brand span { min-width: 0; overflow-wrap: anywhere; color: #452728; font: 700 22px/1.05 var(--display); letter-spacing: -.6px; }
.brand b { font: inherit; }
.brand small { display: block; margin-top: 5px; color: #745752; font: 700 9px/1 var(--body); letter-spacing: .21em; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: 21px; }
.desktop-nav a { position: relative; color: #6a514a; font-weight: 600; font-size: 13px; padding-block: 12px; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--wine); }
.desktop-nav a[aria-current]::after { position: absolute; inset: auto 0 5px; height: 2px; background: #a9686d; border-radius: 2px; content: ""; }
.header-actions { gap: 14px; flex: none; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--wine); font-size: 18px; position: relative; }
.icon-button:hover { background: var(--blush); }
.cart-trigger { background: var(--blush); }
.cart-trigger:hover { background: #ead3ce; }
.cart-count { position: absolute; right: -2px; top: -2px; border: 2px solid var(--white); min-width: 18px; height: 18px; padding-inline: 3px; border-radius: 12px; background: var(--wine); color: white; font: 700 9px/14px var(--body); }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; padding: 8px 17px; font-size: 13px; font-weight: 700; transition: background .18s, color .18s, border .18s; text-align: center; }
.button-wine { background: var(--wine); color: #fffaf6; }
.button-wine:hover { background: var(--wine-hover); }
.button-outline { border-color: #dfc8c1; color: var(--wine); background: transparent; }
.button-outline:hover { background: var(--blush); }
.button-light-outline { border-color: #ffead783; color: #fff0e5; background: #26161521; }
.button-light-outline:hover { background: #fff8ed22; }
.hero { --hero-photo-position: center 30%; --hero-photo-size: cover; position: relative; display: flex; align-items: center; min-height: 485px; margin-top: 28px; padding: 52px clamp(30px, 5.4vw, 84px); overflow: hidden; border-radius: 19px; isolation: isolate; color: #fff9f2; background: #321f1a url('./assets/hero.webp') var(--hero-photo-position) / var(--hero-photo-size) no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #20100fed 0%, #231412bb 34%, #28171338 64%, transparent 100%); }
.hero-content { position: relative; }
.hero-label { display: flex; align-items: center; gap: 9px; color: #f6c7a3; letter-spacing: .19em; font-size: 11px; font-weight: 700; margin: 0 0 19px; }
.hero-label svg { font-size: 16px; }
.hero-label span { min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 19px; font: 600 clamp(55px, 6.2vw, 92px)/.99 var(--display); letter-spacing: -.058em; }
.hero h1 em { font-weight: 500; color: #f4c0a2; }
.hero-content > p:not(.hero-label) { font-size: 16px; color: #f2dfd3; max-width: 350px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button { min-height: 49px; padding-inline: 19px; }
.hero .button-wine { background: #f3cbb0; color: #482522; }
.hero .button-wine:hover { background: #ffe3d0; }
.hero-rose { --hero-photo-position: center 24%; background-color: #f7c4d8; color: #54213d; }
.hero.hero-rose::before {
  background: linear-gradient(90deg, #fffbfdec 0%, #fff2f8df 31%, #ffddeb73 52%, transparent 74%);
}
.hero-rose .hero-label { color: #972354; }
.hero-rose h1 em { color: #a02360; }
.hero-rose .hero-content > p:not(.hero-label) { color: #66324e; }
.hero-rose .button-wine { background: #982659; color: #fff8fb; }
.hero-rose .button-wine:hover { background: #762044; }
.hero-rose .button-light-outline { background: #fff9fb93; color: #73204b; border-color: #a95780; }
.hero-rose .button-light-outline:hover { background: #fff; }
@supports (mask-image: url('./assets/hero-hair-mask.webp')) {
  .hero:not(.hero-custom-photo)::after {
    content: ""; position: absolute; z-index: -2; inset: 0; pointer-events: none;
    mask: url('./assets/hero-hair-mask.webp') var(--hero-photo-position) / var(--hero-photo-size) no-repeat;
    background: linear-gradient(173deg, transparent 44%, #ffe3a817 47%, #ffe9c45c 50%, #fff0d32e 51%, transparent 56%)
      center 100% / 100% 280% no-repeat;
    opacity: 0; animation: hair-shine 7s linear infinite;
  }
  .hero.hero-rose:not(.hero-custom-photo)::after {
    mask-image: url('./assets/hero-rosa-hair-mask.webp');
    background-image: linear-gradient(173deg, transparent 44%, #ffd5e41f 47%, #fff0e854 50%, #fff6ee29 51%, transparent 56%);
  }
}
@keyframes hair-shine {
  0%, 13% { background-position: center 100%; opacity: 0; }
  23% { opacity: .9; }
  41% { opacity: .9; }
  54%, 100% { background-position: center 0%; opacity: 0; }
}
.section { margin-block: 49px; scroll-margin-top: 20px; }
.section-head { display: flex; gap: 12px; justify-content: space-between; align-items: end; margin-bottom: 21px; }
.eyebrow { color: #86555a; font-size: 10px; font-weight: 700; letter-spacing: .17em; margin: 0 0 5px; }
h2 { font: 600 clamp(31px, 3.3vw, 49px)/1.1 var(--display); letter-spacing: -.046em; margin: 0; }
h3 { font: 700 22px/1.2 var(--display); letter-spacing: -.025em; margin: 0 0 5px; }
.text-button { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; color: var(--wine); border: 0; background: transparent; padding: 4px 0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.small-icon { width: 12px; height: 12px; }
.services-grid, .products-grid { display: grid; gap: 15px; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line-showcase { padding-top: 18px; border-top: 1px solid var(--edge); }
.line-showcase + .line-showcase { margin-top: 28px; }
.line-showcase h3 { margin: 0; font-size: clamp(25px, 3.5vw, 39px); color: var(--wine); overflow-wrap: anywhere; }
.shop-empty { grid-column: 1 / -1; padding: 16px 19px; margin: 0; border: 1px solid var(--edge); border-radius: 10px; background: var(--white); color: var(--muted); }
.line-page { padding-bottom: 38px; }
.line-main { padding-top: 24px; }
.line-heading { margin: 10px 0 24px; padding: clamp(19px, 4vw, 39px); border: 1px solid var(--edge); border-radius: 15px; background: radial-gradient(ellipse at 95% 0%, #efd1c2 0, transparent 75%), #fff9f4; }
.line-heading h1 { margin: 0; font: 600 clamp(35px, 6.2vw, 66px)/1.09 var(--display); color: var(--wine); letter-spacing: -.047em; overflow-wrap: anywhere; }
.result-card { padding: 0; text-align: left; }
.result-card:hover { border-color: #bb9387; }
.result-card-body { display: grid; gap: 4px; padding: 13px 16px; overflow-wrap: anywhere; }
.result-card-body .eyebrow { margin: 0; }
.result-card-body strong { font: 700 clamp(16px, 2.3vw, 23px)/1.2 var(--display); }
.result-card-body small { color: var(--muted); }
.result-filter { max-width: 290px; margin-bottom: 20px; }
.result-album { display: grid; gap: 12px; }
.result-album img { width: 100%; border-radius: 10px; }
.service-card { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--edge); border-radius: 13px; background: var(--white); }
.service { display: flex; gap: 15px; align-items: center; min-width: 0; padding: 19px; }
.service-cart-button { justify-self: start; margin: 0 14px 13px; min-height: 38px; }
.tile-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--blush); color: var(--wine); font-size: 21px; }
.service-card:nth-child(2) .tile-icon { background: #f3e8db; color: #815739; }
.service-card:nth-child(3) .tile-icon { background: #efe4e9; color: #755062; }
.service-card:nth-child(4) .tile-icon { background: #e9ebe1; color: #505b43; }
.service-text { flex: 1; }
.service-text strong { display: block; font: 700 18px/1.24 var(--display); letter-spacing: -.022em; }
.service-text small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 4px; }
.service-text .service-details { color: var(--wine); font-weight: 700; margin-top: 8px; }
.service-text, .product-body { overflow-wrap: anywhere; }
.booking-form .field { font-size: .9rem; }
.booking-fields { display: grid; min-width: 0; gap: 12px; }
.booking-occupied p { margin: 0 0 5px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.booking-occupied ul { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 0; padding: 0; list-style: none; }
.booking-occupied li { padding: 3px 8px; border: 1px solid var(--edge); border-radius: 6px; background: #f6eee9; color: var(--muted); font-size: .85rem; }
.booking-timing { display: grid; align-content: center; gap: 6px; min-height: 84px; padding: 14px 16px; border: 1px solid #ead8d0; border-radius: 12px; background: #fbefea; color: var(--wine); }
.booking-timing-label { display: flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 700; }
.booking-timing-value { color: var(--muted); font-size: .92rem; }
.booking-timing-value.has-end-time { color: var(--wine); font: 700 2rem/1.13 var(--display); font-variant-numeric: tabular-nums; }
.booking-retry { justify-self: start; white-space: normal; text-align: left; }
.booking-result { display: flex; gap: 13px; align-items: flex-start; padding: 16px; border-radius: 12px; background: #fbefea; overflow-wrap: anywhere; }
.booking-result p { margin: 5px 0; }
.booking-result button { margin-top: 9px; }
.product { margin: 0; min-width: 0; overflow: hidden; border-radius: 13px; border: 1px solid var(--edge); background: var(--white); }
.product img { width: 100%; aspect-ratio: 1.83; object-fit: cover; background: var(--blush); }
.product-placeholder { display: grid; place-items: center; aspect-ratio: 1.83; background: var(--blush); color: var(--wine); font-size: 34px; }
.product-body { padding: 17px 19px 18px; }
.product-body p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.product-cost { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; }
.product-cost strong { color: var(--wine); font-size: 19px; white-space: nowrap; }
.location { display: grid; grid-template-columns: 1fr auto; gap: 14px 22px; align-items: center; border: 1px solid var(--edge); border-radius: 16px; background: #f6eae4; padding: clamp(20px, 4vw, 42px); }
.location-heading { display: flex; gap: 16px; align-items: center; }
.location-heading .tile-icon { background: #fff8f2; align-self: flex-start; }
.location p:not(.eyebrow) { color: var(--muted); margin: 8px 0 0; }
.location-heading p { overflow-wrap: anywhere; }
.location p.location-reference { font-size: 13px; margin-top: 4px; }
.location-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.geo-feedback { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.geo-feedback a { text-decoration: underline; color: var(--wine); margin-left: 5px; }
.footer { border-top: 1px solid var(--edge); background: #fff9f4; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 24px; }
.footer span { font: 700 17px/1.25 var(--display); }
.footer small { display: block; color: var(--muted); font: 12px/1.4 var(--body); margin-top: 4px; }
.mobile-nav { display: none; }
dialog { width: min(570px, calc(100% - 24px)); max-height: min(88dvh, 810px); border: 1px solid var(--edge); border-radius: 18px; padding: 0; background: var(--white); color: var(--ink); box-shadow: 0 25px 90px #2b171973; }
dialog::backdrop { background: #2c1919a8; backdrop-filter: blur(3px); }
.modal { padding: 24px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.modal h2 { font-size: clamp(27px, 6vw, 37px); }
.modal .icon-button { margin: -9px -9px 0 0; }
.modal-note { color: var(--muted); font-size: 13px; }
.form { display: grid; gap: 13px; }
.form > .button { justify-self: start; }
.field-hint { color: var(--muted); font-weight: 400; }
.check-field { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.admin-manager { color: var(--wine); font-weight: 700; margin-bottom: 3px; }
.catalog-photo { width: 138px; aspect-ratio: 1.5; object-fit: cover; border-radius: 8px; }
.work-hours-note { margin: 9px 0 18px; }
.catalog-row, .catalog-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.catalog-row { justify-content: space-between; }
.catalog-row strong { overflow-wrap: anywhere; }
.catalog-row .button { min-height: 36px; }
.field { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 700; }
input:not([type=file]), select { width: 100%; min-width: 0; font-size: 16px; color: var(--ink); padding: 9px 10px; border: 1px solid #ddccc4; border-radius: 7px; background: #fffdfb; min-height: 44px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.records { list-style: none; padding: 0; margin: 0 0 17px; display: grid; gap: 8px; }
.record { border: 1px solid var(--edge); border-radius: 9px; padding: 11px; background: #fffaf7; overflow-wrap: anywhere; }
.record p { margin: 3px 0; font-size: 13px; color: var(--muted); }
.record .field { margin-top: 7px; }
.modal h3 { margin: 18px 0 8px; }
.cart-row, .total { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stepper { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.stepper button { background: white; border: 1px solid #ddccc4; border-radius: 6px; width: 32px; height: 32px; color: var(--wine); font-weight: 700; }
.total { margin: 14px 0; padding-top: 11px; border-top: 1px solid var(--edge); font-size: 16px; }
.modal-image { margin-bottom: 13px; width: 100%; border-radius: 10px; max-height: 300px; object-fit: cover; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.tabs [aria-pressed=true] { background: var(--wine); color: white; border-color: var(--wine); }
.toast { max-width: min(490px, calc(100% - 24px)); position: fixed; inset: auto 20px 18px auto; background: #492027; color: #fffaf4; padding: 11px 17px; border-radius: 9px; font-weight: 600; box-shadow: 0 7px 25px #2b171948; z-index: 3; pointer-events: none; }
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: calc(100% - 54px); }
  .header-inner { gap: 14px; }
  .desktop-nav { gap: 9px; }
  .header-actions { gap: 6px; }
  .service { padding: 13px; gap: 10px; }
}
@media (max-width: 780px) {
  .desktop-nav { display: none; }
  .hero { min-height: 440px; margin-top: 16px; }
  .product-cost { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 30px); }
  .header-inner { min-height: 67px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 20px; }
  .client-button { display: none; }
  .hero { min-height: 450px; border-radius: 13px; padding: 18px 21px 30px; align-items: end; --hero-photo-position: 64% center; }
  .hero.hero-rose { --hero-photo-position: right top; --hero-photo-size: 114% auto; }
  .hero.hero-rose::before {
    background: linear-gradient(0deg, #fff9fb 0%, #ffeff6 42%, #ffdfed82 57%, transparent 74%);
  }
  .hero::before { background: linear-gradient(0deg, #231310 0%, #271513ce 30%, #301c155e 56%, transparent 90%), linear-gradient(90deg, #25121057, transparent); }
  .hero h1 { font-size: clamp(47px, 12vw, 71px); }
  .hero-label { margin-bottom: 12px; font-size: 10px; }
  .hero-content > p:not(.hero-label) { font-size: 14px; margin-bottom: 16px; max-width: 280px; }
  .hero .button { padding-inline: 11px; min-height: 43px; }
  .hero-actions { gap: 6px; }
  .section { margin-block: 34px; }
  .section-head { align-items: start; margin-bottom: 15px; }
  .section-head .text-button { padding-top: 15px; font-size: 12px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 38px); }
  .services-grid { grid-template-columns: 1fr; gap: 9px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .line-showcase .section-head .text-button { padding-top: 6px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 17px; }
  .product-body .button { padding-inline: 8px; min-height: 37px; }
  .location { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; }
  .mobile-nav { position: fixed; z-index: 2; inset: auto 0 0; display: flex; align-items: stretch; justify-content: space-around; background: #fffbf7; border-top: 1px solid var(--edge); padding: 4px 2px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px #3821240e; }
  .mobile-nav > * { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; min-height: 50px; border: 0; background: transparent; color: var(--wine); font-size: 10px; font-weight: 700; white-space: nowrap; }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-nav [aria-current] { background: var(--blush); border-radius: 8px; }
  .toast { bottom: calc(69px + env(safe-area-inset-bottom)); }
  .modal { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hero:not(.hero-custom-photo)::after { animation: none; }
}
.modal-status { margin: 15px 0 0; padding: 9px 12px; border-radius: 7px; background: var(--blush); color: var(--wine); font-size: 13px; font-weight: 700; }
.button:disabled { opacity: .55; cursor: default; }
.purchase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.purchase-address { display:grid; gap:12px; border:1px solid var(--edge); border-radius:12px; padding:12px; margin:0; min-width:0; }
.purchase-address legend { padding:0 6px; color:var(--wine); font-weight:700; }
.purchase-section { margin-top:20px; }
.purchase-actions, .purchase-order-head, .purchase-customer { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.purchase-order-head { justify-content:space-between; }
.purchase-badge { display:inline-block; padding:4px 8px; background:var(--blush); color:var(--wine); border-radius:10px; font-size:.875rem; }
.purchase-actions { margin-top:10px; }
.purchase-customer { justify-content:space-between; background:var(--blush); border-radius:12px; padding:12px; }
.purchase-customer span { font-size:.875rem; }
.purchase-records p { overflow-wrap:anywhere; }
