/* Customer storefront: phone-first layout, isolated from admin styles. */
:root {
  --primary:#c83466;
  --primary-dark:#a72450;
  --primary-soft:#fff0f5;
  --bg:#fff9fb;
  --card:#fff;
  --text:#2d2530;
  --muted:#776c75;
  --border:#eddee5;
  --shadow:0 8px 24px #45223508;
  --pink:#ff5c8a;
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
  font-size:16px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:90px
}
body {
  margin:0
}
body:has(dialog[open]),body:has(.photo-viewer) {
  overflow:hidden
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.6;
  cursor:wait
}
img {
  max-width:100%
}
h1,h2,h3,p {
  margin-top:0
}
h2 {
  font-size:24px;
  line-height:1.25;
  letter-spacing:-.7px
}
h3 {
  font-size:19px
}
p {
  line-height:1.65
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid var(--primary);
  outline-offset:4px
}
[hidden] {
  display:none!important
}
.container {
  max-width:1180px;
  margin:auto;
  padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-right));
  min-width:0
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.skip-link {
  position:fixed;
  left:16px;
  top:-80px;
  z-index:500;
  background:white;
  padding:16px
}
.skip-link:focus {
  top:8px
}
.shop-header {
  position:sticky;
  top:0;
  z-index:20;
  background:#ffffffed;
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(14px);
  padding-top:env(safe-area-inset-top)
}
.header-inner {
  max-width:1180px;
  margin:auto;
  padding:9px 16px;
  display:flex;
  align-items:center;
  gap:12px
}
.brand {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0
}
.brand img {
  width:48px;
  height:auto;
  object-fit:contain;
  flex-shrink:0
}
.brand>span {
  font-size:21px;
  font-weight:750;
  letter-spacing:-.7px
}
.brand small {
  display:block;
  font-size:9px;
  letter-spacing:1.5px;
  font-weight:550;
  color:var(--muted);
  margin-top:2px
}
.header-actions {
  display:flex;
  margin-left:auto;
  gap:4px
}
.icon-btn {
  display:grid;
  place-items:center;
  width:44px;
  min-height:44px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--text);
  font-size:26px
}
.icon-btn:active {
  background:var(--primary-soft)
}
.desktop-nav {
  display:none
}
.hero {
  display:grid;
  position:relative;
  margin:18px 0 30px;
  padding:24px 20px 20px;
  border-radius:24px;
  background:linear-gradient(115deg,#ffe6ef,#fff0f5 68%,#ffd6e4);
  overflow:hidden
}
.eyebrow {
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.3px;
  color:var(--primary-dark);
  line-height:1.6;
  margin-bottom:10px
}
.hero h1 {
  font-size:34px;
  line-height:1.12;
  letter-spacing:-1.4px;
  font-weight:750;
  margin-bottom:14px
}
.hero em {
  font-style:normal;
  color:var(--primary)
}
.hero p {
  font-size:14px;
  color:#655560;
  max-width:400px;
  margin-bottom:18px
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 18px;
  border:1px solid transparent;
  border-radius:14px;
  font-size:14px;
  font-weight:650;
  text-align:center;
  line-height:1.5;
  gap:8px
}
.primary {
  background:var(--primary);
  color:white
}
.primary:active {
  background:var(--primary-dark)
}
.secondary {
  background:white;
  border-color:var(--border);
  color:var(--text)
}
.text-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  color:var(--primary-dark);
  background:transparent;
  border:0;
  padding:4px 0;
  font-weight:650
}
.hero-art {
  display:none
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  margin-bottom:18px
}
.section-heading .eyebrow {
  margin-bottom:6px
}
.section-heading h2 {
  margin-bottom:0
}
.availability-note {
  display:none;
  color:#177447;
  font-size:13px;
  white-space:nowrap
}
.chips {
  display:flex;
  gap:8px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
  padding:4px 2px 10px;
  margin-bottom:8px
}
.chips::-webkit-scrollbar {
  display:none
}
.chip {
  white-space:nowrap;
  flex-shrink:0;
  min-height:44px;
  padding:10px 19px;
  border:1px solid var(--border);
  border-radius:999px;
  background:white;
  color:var(--muted);
  font-size:14px
}
.chip.selected {
  background:var(--primary);
  color:white;
  border-color:var(--primary)
}
.search-bar {
  display:flex;
  gap:8px;
  min-width:0
}
.search-field {
  display:flex;
  align-items:center;
  flex:1;
  min-width:0;
  gap:8px;
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:0 12px
}
.search-field>span:first-child {
  font-size:26px;
  color:var(--muted)
}
.search-field input {
  width:100%;
  min-width:0;
  min-height:48px;
  border:0;
  outline-offset:0;
  background:transparent;
  font-size:16px;
  color:var(--text)
}
.filter-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid var(--border);
  border-radius:14px;
  min-width:48px;
  padding:10px;
  background:white;
  font-size:14px;
  color:var(--text)
}
.results-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:10px 0
}
.results-bar p {
  margin:0;
  font-size:13px;
  color:var(--muted)
}
.results-bar .text-link {
  font-size:13px;
  flex-shrink:0
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.product-card {
  border-radius:18px;
  border:1px solid #f0e5ea;
  background:white;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:block;
  min-width:0;
  transition:transform .15s
}
.product-card:active {
  transform:scale(.985)
}
.card-image {
  aspect-ratio:4/5;
  position:relative;
  overflow:hidden;
  background:#f4eaf0;
  display:flex;
  align-items:center;
  justify-content:center
}
.card-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block
}
.card-copy {
  padding:12px 10px 8px
}
.card-type {
  font-size:12px;
  color:var(--muted);
  display:block;
  margin-bottom:5px
}
.card-copy h3 {
  font-size:15px;
  line-height:1.45;
  overflow-wrap:anywhere;
  margin:0 0 8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:43px
}
.price {
  font-size:16px;
  letter-spacing:-.3px;
  display:block;
  color:var(--primary-dark);
  line-height:1.5
}
.price small,.detail-price small {
  font-size:12px;
  color:var(--muted);
  font-weight:400;
  white-space:nowrap
}
.card-size {
  font-size:12px;
  color:var(--muted);
  margin:5px 0;
  overflow-wrap:anywhere
}
.card-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2px
}
.in-stock {
  color:#177447;
  font-size:12px;
  font-weight:600
}
.card-arrow {
  display:grid;
  place-items:center;
  background:var(--primary-soft);
  border-radius:50%;
  width:32px;
  height:32px;
  color:var(--primary-dark)
}
.card-fallback {
  display:none;
  position:absolute;
  inset:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:var(--muted);
  gap:10px;
  font-size:30px
}
.card-fallback span {
  font-size:12px;
  text-align:center;
  padding:0 8px
}
[data-image-state=error]>.card-fallback {
  display:flex
}
.no-photo {
  flex-direction:column;
  gap:10px;
  color:var(--muted);
  font-size:12px
}
.no-photo>span:first-child {
  font-size:36px
}
.load-more {
  text-align:center;
  margin-top:24px
}
.skeleton-card {
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background:white;
  padding-bottom:12px
}
.skeleton-card div {
  aspect-ratio:4/5;
  background:#f1e5eb
}
.skeleton-card span {
  display:block;
  height:16px;
  margin:12px;
  background:#f1e5eb;
  border-radius:5px
}
.skeleton-card span:last-child {
  width:60%
}
.skeleton-card {
  animation:skeleton-pulse 1.3s ease-in-out infinite alternate
}
@keyframes skeleton-pulse {
  to {
    opacity:.5
  }
}
.empty-state {
  grid-column:1/-1;
  text-align:center;
  border:1px dashed var(--border);
  border-radius:20px;
  padding:32px 20px;
  max-width:100%;
  margin:12px 0
}
.empty-state>span {
  display:block;
  font-size:42px;
  color:var(--primary);
  margin-bottom:14px
}
.empty-state p {
  color:var(--muted);
  overflow-wrap:anywhere
}
.empty-state h2 {
  font-size:22px
}
.services {
  margin:56px 0 32px
}
.service-grid {
  display:grid;
  gap:14px
}
.service-card {
  border-radius:22px;
  padding:22px;
  background:linear-gradient(120deg,#fff0f5,#ffe7ef);
  display:flex;
  gap:16px;
  border:1px solid #f5dce5;
  scroll-margin-top:90px
}
.service-symbol {
  font-size:36px;
  color:var(--primary);
  flex-shrink:0;
  line-height:1
}
.service-card h3 {
  margin-bottom:10px
}
.service-card p {
  font-size:14px;
  color:#655560;
  margin-bottom:12px
}
.service-card .service-link {
  padding:0;
  min-height:44px;
  background:transparent;
  color:var(--primary-dark);
  justify-content:start
}
.contact {
  padding:26px 22px;
  border:1px solid var(--border);
  border-radius:22px;
  background:white;
  display:flex;
  flex-direction:column;
  gap:10px
}
.contact h2 {
  margin-bottom:14px
}
.contact p {
  font-size:14px;
  color:var(--muted)
}
#contact-channels {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
#contact-channels .muted {
  margin:0 0 10px
}
.shop-footer {
  padding-top:32px;
  padding-bottom:30px;
  margin-top:20px;
  border-top:1px solid var(--border);
  font-size:13px;
  color:var(--muted)
}
.shop-footer p {
  margin:12px 0
}
.shop-footer nav {
  display:flex;
  flex-wrap:wrap;
  gap:0 20px
}
.shop-footer nav a {
  min-height:44px;
  display:flex;
  align-items:center
}
.shop-footer .brand {
  color:var(--text)
}
.sheet {
  position:fixed;
  inset:auto 0 0;
  margin:0 auto;
  width:100%;
  max-width:540px;
  max-height:90vh;
  max-height:90dvh;
  padding:20px 20px calc(20px + env(safe-area-inset-bottom));
  border:0;
  border-radius:24px 24px 0 0;
  color:var(--text);
  background:white;
  box-shadow:0 -10px 50px #24101c20;
  overflow:auto
}
.sheet::backdrop {
  background:#2d253066
}
.sheet header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.sheet h2 {
  font-size:20px;
  margin:0
}
.sheet-fields {
  display:grid;
  gap:18px;
  padding:22px 0
}
.sheet label {
  display:grid;
  gap:8px;
  font-size:14px;
  font-weight:600
}
.sheet select {
  width:100%;
  min-height:48px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--bg);
  padding:10px;
  color:var(--text);
  font-size:16px
}
.sheet footer {
  display:flex;
  gap:10px;
  position:sticky;
  bottom:-20px;
  background:white;
  padding-top:10px
}
.sheet footer .button {
  flex:1
}
.menu-sheet nav {
  display:grid;
  padding-top:20px
}
.menu-sheet nav a {
  padding:14px 0;
  min-height:48px;
  border-bottom:1px solid var(--border)
}
.offline {
  background:#fff4d7;
  padding:12px 16px;
  text-align:center;
  font-size:14px;
  color:#684600
}
.back-link {
  display:inline-flex;
  align-items:center;
  min-height:48px;
  margin:12px 0 16px;
  font-size:14px;
  color:var(--muted)
}
.detail-layout {
  display:grid;
  gap:24px
}
.detail-copy {
  min-width:0
}
.detail-copy h1 {
  font-size:30px;
  letter-spacing:-1px;
  line-height:1.2;
  overflow-wrap:anywhere;
  margin-bottom:12px
}
.detail-price {
  font-size:28px;
  color:var(--primary-dark);
  display:block;
  margin:20px 0
}
.detail-price small {
  font-size:15px
}
.detail-copy dl {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  gap:14px;
  font-size:14px;
  border-block:1px solid var(--border);
  padding:20px 0
}
.detail-copy dt {
  color:var(--muted)
}
.detail-copy dd {
  margin:0;
  overflow-wrap:anywhere;
  font-weight:600
}
.detail-note {
  font-size:15px;
  color:var(--muted)
}
.detail-contact {
  display:flex;
  flex-wrap:wrap;
  gap:10px
}
.policy {
  background:var(--primary-soft);
  padding:20px;
  border-radius:18px;
  margin-bottom:20px
}
.policy h2 {
  font-size:18px
}
.policy p {
  font-size:14px;
  margin:0;
  white-space:pre-line
}
.sticky-actions {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:25;
  background:#fffffff5;
  border-top:1px solid var(--border);
  padding:10px max(12px,env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-right));
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:8px
}
.is-detail {
  padding-bottom:calc(84px + env(safe-area-inset-bottom))
}
#shop-gallery .gallery-frame,#shop-gallery .gallery-empty {
  width:100%;
  max-width:520px
}
#shop-gallery .gallery-description {
  font-size:12px
}
#shop-gallery .gallery-thumb-label {
  font-size:12px
}
#shop-gallery .gallery-thumb {
  flex-basis:72px;
  width:72px
}
#shop-gallery .gallery-open-hint,#shop-gallery .gallery-counter {
  font-size:12px
}
.detail-loading {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:20px
}
.detail-loading .skeleton-card:nth-child(n+3) {
  display:none
}
.photo-viewer {
  z-index:1000
}
@media(max-width:349px) {
  .brand>span {
    font-size:19px
  }
  .brand small {
    font-size:8px;
    letter-spacing:1px
  }
  .brand img {
    width:40px
  }
  .header-inner {
    gap:4px
  }
  .hero {
    padding:22px 16px
  }
  .hero h1 {
    font-size:32px
  }
  .hero-actions {
    gap:10px
  }
  .hero-actions .button {
    padding:10px 12px
  }
  .filter-button>span:first-of-type {
    display:none
  }
  .card-copy {
    padding:10px 8px
  }
  .price {
    font-size:14px
  }
  .price small {
    font-size:11px
  }
}
@media(min-width:600px) {
  .hero {
    grid-template-columns:1.2fr 1fr;
    align-items:center;
    gap:24px;
    padding:32px;
    min-height:330px
  }
  .hero-art {
    display:flex;
    position:relative;
    align-items:center;
    justify-content:center;
    height:280px
  }
  .hero-art>img {
    width:220px;
    height:220px;
    object-fit:contain
  }
  .hero-art .card-image {
    height:100%;
    width:224px;
    border-radius:100px 100px 18px 18px;
    transform:rotate(5deg);
    border:6px solid white;
    box-shadow:0 15px 30px #a0375d20
  }
  .hero-spark {
    position:absolute;
    left:0;
    top:12px;
    font-size:50px;
    color:var(--primary);
    z-index:1
  }
  .hero-note {
    position:absolute;
    bottom:8px;
    left:50%;
    transform:translateX(-50%) rotate(-5deg);
    white-space:nowrap;
    border-radius:10px;
    background:white;
    padding:12px;
    font-size:12px;
    box-shadow:var(--shadow)
  }
  .hero h1 {
    font-size:40px
  }
  .availability-note {
    display:block
  }
  .product-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px
  }
  .service-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .contact {
    flex-direction:row;
    align-items:center;
    justify-content:space-between
  }
  .contact>.button {
    flex-shrink:0
  }
  .sheet {
    inset:50% auto auto 50%;
    transform:translate(-50%,-50%);
    border-radius:24px
  }
  .sheet footer {
    bottom:-20px
  }
}
@media(min-width:900px) {
  .header-inner {
    padding:12px 24px
  }
  .desktop-nav {
    display:flex;
    gap:30px;
    margin-left:auto;
    font-size:14px
  }
  .desktop-nav a {
    display:flex;
    align-items:center;
    min-height:44px
  }
  .header-actions {
    margin-left:20px
  }
  .hero {
    padding:40px 50px;
    margin:28px 0 44px;
    min-height:360px
  }
  .hero h1 {
    font-size:52px
  }
  .hero p {
    font-size:16px
  }
  .hero-art {
    height:300px
  }
  .hero-art .card-image {
    width:240px
  }
  .section-heading h2 {
    font-size:30px
  }
  .product-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .card-copy {
    padding:16px
  }
  .card-copy h3 {
    font-size:16px
  }
  .price {
    font-size:19px
  }
  .card-size {
    font-size:13px
  }
  .detail-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:50px;
    align-items:start
  }
  .detail-copy {
    padding-top:20px
  }
  .sticky-actions {
    display:none
  }
  .is-detail {
    padding-bottom:0
  }
  .service-card {
    padding:30px
  }
  .contact {
    padding:34px
  }
  .shop-footer {
    padding-top:36px
  }
}
@media(hover:hover) {
  .product-card:hover {
    transform:translateY(-3px)
  }
  .text-link:hover,.desktop-nav a:hover {
    color:var(--primary)
  }
  .primary:hover {
    background:var(--primary-dark)
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
}
/* Allow the scrollable photo strip to shrink inside the phone grid. */
.detail-layout {
  grid-template-columns:minmax(0,1fr)
}
#shop-gallery {
  min-width:0;
  max-width:100%
}
@media(min-width:900px) {
  .detail-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)
  }
}
.in-stock.unavailable-stock { color:#80623c; }

/* A little heart brings customers back to the top without covering rental actions. */
.back-to-top {
  position:fixed;
  right:max(14px,env(safe-area-inset-right));
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:24;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  width:60px;
  min-height:66px;
  padding:6px;
  border:1px solid #f3c5d6;
  border-radius:22px;
  color:var(--primary-dark);
  background:#fff7fb;
  box-shadow:0 5px 20px #a7245020;
  transition:transform .15s,background .15s;
}
.back-to-top span { font-size:12px; font-weight:650; }
.back-to-top:active { transform:scale(.94); background:#ffe0eb; }
.is-detail .back-to-top { bottom:calc(92px + env(safe-area-inset-bottom)); }
body:has(dialog[open]) .back-to-top,body:has(.photo-viewer) .back-to-top { visibility:hidden; }
@media(min-width:900px) {
  .is-detail .back-to-top { bottom:calc(18px + env(safe-area-inset-bottom)); }
}
