/* Shared storefront presentation, loaded after the legacy page styles. */
.storefront-ui {
  --shop-ink: #30272c;
  --shop-muted: #71676d;
  --shop-pink: #c72460;
  --shop-border: #eae1e5;
  color: var(--shop-ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.storefront-ui *, .storefront-ui *::before, .storefront-ui *::after { box-sizing: border-box; }
.storefront-ui button, .storefront-ui input, .storefront-ui select, .storefront-ui textarea { font: inherit; }
.storefront-ui button { touch-action: manipulation; }
.storefront-ui button:focus-visible, .storefront-ui a:focus-visible {
  outline: 3px solid #a51b50;
  outline-offset: 4px;
}
.storefront-ui > header {
  flex-direction: row;
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - 1240px) / 2));
  gap: 18px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--shop-border);
  box-shadow: 0 2px 16px #30272c05;
}
.storefront-ui header .logo h2 { margin: 0; font-size: 21px; letter-spacing: -.6px; color: #842345; }
.storefront-ui header .logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.storefront-ui .collection-header-logo { display: block; width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; border-radius: 10px; }
.storefront-ui nav { gap: 24px; }
.storefront-ui nav a { margin: 0; font-size: 13px; font-weight: 600; }
.storefront-ui nav a:hover { color: var(--shop-pink); }
.storefront-ui nav .cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff2f6;
  font-size: 25px;
}
.storefront-ui .cart-count { top: -3px; right: -3px; background: var(--shop-pink); }
.storefront-ui .sidebar-toggle-btn { min-width: 44px; min-height: 44px; justify-content: center; }
.home-page .hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 48px max(24px, calc((100vw - 1200px) / 2)) 56px;
  background: #fcf7f5;
  color: var(--shop-ink);
  text-align: left;
}
.home-page .hero::before { display: none; }
.home-page .hero .hero-eyebrow { margin: 0 0 16px; color: #8d3655; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.home-page .hero h1 { margin: 0 0 20px; max-width: 570px; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 54px); line-height: 1.12; font-weight: 400; letter-spacing: -1.4px; }
.home-page .hero .hero-description { max-width: 430px; margin: 0 0 26px; color: var(--shop-muted); font-size: 15px; }
.home-page .hero a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: 8px; background: var(--shop-pink); font-size: 14px; }
.home-page .hero a:hover { background: #a91c50; }
.home-page .hero .hero-photo { display: block; width: 100%; max-height: 390px; aspect-ratio: 1.12; object-fit: contain; background: #fff; border-radius: 160px 160px 20px 20px; }
.storefront-ui .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 56px;
  background: #fff;
  scroll-margin-top: 90px;
}
.storefront-ui .product {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--shop-border);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  box-shadow: 0 3px 10px #30272c03;
}
.storefront-ui .product:hover { transform: translateY(-3px); border-color: #d8b8c5; box-shadow: 0 10px 25px #50283b0d; }
.storefront-ui .product img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #faf8f7; }
.storefront-ui .product h3 { margin: 15px 2px 6px; color: var(--shop-ink); font-size: 15px; line-height: 1.4; font-weight: 600; }
.storefront-ui .product > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; margin: 0 2px 14px; color: var(--shop-muted); font-size: 12px; line-height: 1.6; }
.storefront-ui .product .view-btn { min-height: 44px; margin-top: auto; padding: 11px 8px; border-radius: 8px; background: #fff0f5; color: #a51b50; font-size: 12px; font-weight: 700; box-shadow: none; }
.storefront-ui .product-categories { gap: 8px; margin-bottom: 4px; }
.storefront-ui .product-categories button { min-height: 40px; margin: 0; padding: 8px 18px; border: 1px solid var(--shop-border); border-radius: 22px; background: #fff; color: #67545e; font-size: 13px; }
.storefront-ui .product-categories button.active { border-color: var(--shop-pink); background: var(--shop-pink); color: #fff; }
.storefront-ui .md-products-section { max-width: 1280px; margin: 0 auto; padding: 28px 24px 48px; }
.storefront-ui .md-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.storefront-ui .md-product-card { min-width: 0; border: 1px solid var(--shop-border); border-radius: 16px; background: #fff; box-shadow: 0 3px 10px #30272c03; }
.storefront-ui .md-product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px #50283b0d; }
.storefront-ui .md-product-card img { height: auto; aspect-ratio: 1; object-fit: contain; background: #faf8f7; }
.storefront-ui .md-product-info { padding: 16px; }
.storefront-ui .md-product-info h3 { font-size: 15px; line-height: 1.4; }
.storefront-ui .md-product-info p { font-size: 12px; color: var(--shop-muted); }
.storefront-ui .md-hero { padding: 38px 20px; }
.storefront-ui .md-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.storefront-ui .shop-toolbar { width: 100%; margin: 0 0 6px; padding: 12px 0 20px; border-bottom: 1px solid var(--shop-border); }
.storefront-ui .shop-tool input, .storefront-ui .shop-tool select { min-height: 40px; border-radius: 8px; }
.storefront-ui .cart-modal, .storefront-ui .checkout-modal { padding: 16px; align-items: center; background: #24182080; overflow: hidden; }
.storefront-ui .cart-content, .storefront-ui .checkout-content { width: 100%; max-width: 640px; max-height: calc(100dvh - 32px); margin: 0; border-radius: 20px; background: #fff; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 20px 80px #21101933; }
.storefront-ui .cart-content { padding: 28px; }
.storefront-ui .checkout-content { padding: 0; }
.storefront-ui .checkout-topbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: flex-end; padding: 8px 12px 0; background: #fff; }
.storefront-ui .checkout-inner { padding: 0 28px 28px; }
.storefront-ui .modal-dismiss { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #f7f2f4; color: #6c5260; font-size: 25px; line-height: 1; cursor: pointer; }
.storefront-ui .modal-dismiss:hover { background: #f9e4ec; color: #a51b50; }
.storefront-ui .cart-content h2, .storefront-ui .checkout-content h2 { margin: 0 0 20px; padding: 0 40px 16px 0; border-bottom: 1px solid var(--shop-border); color: var(--shop-ink); font-size: 23px; line-height: 1.3; }
.storefront-ui .order-summary { padding: 18px; border: 1px solid var(--shop-border); border-radius: 12px; background: #fbf8f9; margin: 0 0 24px; }
.storefront-ui .order-summary h3 { margin: 0 0 12px; font-size: 15px; color: #59414d; }
.storefront-ui .order-summary .total-amount { border-top: 1px solid #e5d6dd; font-size: 17px; color: #a51b50; }
.storefront-ui .payment-form h3 { margin: 24px 0 12px; color: #59414d; font-size: 16px; }
.storefront-ui .payment-form .checkout-label { display: block; margin: 12px 0 5px; color: #594e54; font-size: 12px; font-weight: 600; }
.storefront-ui .payment-form input:not([type="checkbox"]):not([type="hidden"]), .storefront-ui .payment-form textarea, .storefront-ui #cartCitySelect {
  width: 100%; min-height: 46px; margin: 0 0 8px; padding: 12px 13px; border: 1px solid #dcd1d7; border-radius: 9px; background: #fff; color: var(--shop-ink); font-size: 15px; line-height: 1.5;
}
.storefront-ui .payment-form input:focus, .storefront-ui .payment-form textarea:focus, .storefront-ui #cartCitySelect:focus { border-color: var(--shop-pink); outline: 2px solid #c7246020; outline-offset: 1px; }
.storefront-ui .payment-form .recipient-same { margin-bottom: 12px; padding: 12px; border: 1px solid var(--shop-border); border-radius: 9px; background: #fbf8f9; font-size: 13px; }
.storefront-ui .payment-form .recipient-fields { padding: 14px; }
.storefront-ui .checkout-btn, .storefront-ui .payment-form button[type="submit"], .storefront-ui .popup-add-btn { min-height: 50px; border-radius: 10px; background: var(--shop-pink); color: #fff; font-size: 15px; font-weight: 700; box-shadow: none; }
.storefront-ui .checkout-btn:hover, .storefront-ui .payment-form button[type="submit"]:hover, .storefront-ui .popup-add-btn:hover { background: #a91c50; transform: none; }
.storefront-ui .quantity-controls button { width: 36px; height: 36px; font-size: 18px; }
.storefront-ui .remove-btn { min-height: 34px; padding: 6px 10px; background: #fff0f0; color: #a42e38; border-radius: 7px; }
.storefront-ui .cart-item-details h4 { white-space: normal; line-height: 1.4; }
.storefront-ui .popup-card { display: grid; grid-template-columns: .9fr 1.1fr; width: calc(100vw - 48px); max-width: 920px; height: min(86dvh, 820px); max-height: 86dvh; border-radius: 22px; overflow: hidden; }
.storefront-ui .popup-image-wrap { height: 100%; min-width: 0; background: #f9f5f3; }
.storefront-ui .popup-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.storefront-ui .popup-body { min-height: 0; padding: 28px; overflow-y: auto; overscroll-behavior: contain; }
.storefront-ui .popup-name { margin: 0 0 8px; padding-right: 30px; color: var(--shop-ink); font-family: Georgia, serif; font-size: 27px; line-height: 1.25; font-weight: 400; }
.storefront-ui .popup-desc { color: var(--shop-muted); font-size: 13px; line-height: 1.6; }
.storefront-ui .popup-base-price { color: var(--shop-pink); font-size: 23px; margin: 12px 0 22px; }
.storefront-ui .popup-section { padding-top: 18px; margin-bottom: 20px; border-top: 1px solid var(--shop-border); }
.storefront-ui .popup-section-title { margin-bottom: 12px; color: #59414d; font-size: 13px; letter-spacing: 0; text-transform: none; }
.storefront-ui .popup-close { z-index: 3; width: 38px; height: 38px; border: 1px solid var(--shop-border); background: #fff; color: #59414d; box-shadow: 0 2px 8px #30272c10; }
.storefront-ui .popup-add-btn { width: 100%; }
.storefront-ui .timeslot-opt { min-height: 46px; justify-content: center; background: #fff; color: var(--shop-ink); }
.storefront-ui .timeslot-opt.selected { background: #fff0f5; }
.storefront-ui .timeslot-opt:focus-visible { outline: 3px solid #a51b50; outline-offset: 2px; }
.storefront-ui .about, .storefront-ui .contact { padding: 48px max(24px, calc((100vw - 1000px) / 2)); line-height: 1.8; }
.storefront-ui .cart-notification { max-width: min(420px, calc(100vw - 32px)); right: 16px; top: 90px; padding: 14px 18px; border-radius: 12px; font-size: 13px; }
@media (max-width: 1000px) {
  .storefront-ui .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .storefront-ui .md-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .storefront-ui nav { gap: 16px; }
}
@media (max-width: 700px) {
  .storefront-ui > header { min-height: 66px; padding: 10px 16px; gap: 8px; }
  .storefront-ui header .logo h2 { font-size: 18px; }
  .storefront-ui .collection-header-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .storefront-ui nav { gap: 8px; }
  .storefront-ui nav a:not(.cart-icon) { display: none; }
  .storefront-ui .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 24px 14px 36px; }
  .storefront-ui .md-products-section { padding: 24px 14px 36px; }
  .storefront-ui .md-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .storefront-ui .md-product-info { padding: 12px; }
  .storefront-ui .md-product-info h3 { font-size: 13px; }
  .storefront-ui .product { padding: 8px; border-radius: 12px; }
  .storefront-ui .product h3 { font-size: 13px; margin-top: 10px; }
  .storefront-ui .product > p { font-size: 11px; min-height: 35px; margin-bottom: 10px; }
  .storefront-ui .product .view-btn { font-size: 11px; line-height: 1.4; }
  .storefront-ui .product-categories { justify-content: flex-start; padding: 2px 0 8px; }
  .storefront-ui .shop-toolbar { padding: 0 0 14px; }
  .home-page .hero { grid-template-columns: 1fr 1fr; padding: 28px 18px 32px; gap: 16px; }
  .home-page .hero .hero-eyebrow { margin-bottom: 10px; font-size: 9px; letter-spacing: .08em; }
  .home-page .hero h1 { font-size: clamp(24px, 5.5vw, 36px); letter-spacing: -.6px; margin-bottom: 12px; }
  .home-page .hero .hero-description { font-size: 12px; margin-bottom: 16px; }
  .home-page .hero .hero-photo { height: 240px; aspect-ratio: auto; border-radius: 90px 90px 14px 14px; }
  .home-page .hero a { min-height: 44px; padding: 10px 18px; font-size: 12px; }
  .storefront-ui .cart-modal, .storefront-ui .checkout-modal { padding: 10px; }
  .storefront-ui .cart-content, .storefront-ui .checkout-content { max-height: calc(100dvh - 20px); border-radius: 16px; }
  .storefront-ui .cart-content { padding: 20px 16px; }
  .storefront-ui .cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 68px; gap: 10px; text-align: left; align-items: start; }
  .storefront-ui .cart-item img { width: 56px !important; min-width: 56px; height: 64px !important; border-radius: 8px; }
  .storefront-ui .cart-item-total p { font-size: 15px; }
  .storefront-ui .checkout-inner { padding: 0 18px 22px; }
  .storefront-ui .payment-form input:not([type="checkbox"]):not([type="hidden"]), .storefront-ui .payment-form textarea, .storefront-ui #cartCitySelect { font-size: 16px; }
  .storefront-ui .popup-card { display: block; width: 100%; max-width: 520px; height: auto; max-height: 92dvh; overflow-y: auto; border-radius: 20px; }
  .storefront-ui .popup-image-wrap { height: 220px; }
  .storefront-ui .popup-body { padding: 20px; overflow: visible; }
  .storefront-ui .popup-name { font-size: 24px; }
  .storefront-ui .cart-notification { top: 78px; }
}
@media (max-width: 380px) {
  .home-page .hero { grid-template-columns: 1fr; }
  .home-page .hero .hero-photo { display: none; }
  .storefront-ui header .logo h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-ui *, .storefront-ui *::before, .storefront-ui *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
