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

:root {
  --paper: #fffaf8;
  --blush: #fbe8e9;
  --rose: #d78094;
  --ink: #4a2837;
  --muted: #856e76;
  --petal: #ed228c;
  --leaf: #74876a;
  --line: #f0dce0;
  --white: #fffefe;
  --shadow: 0 18px 44px rgba(139, 71, 92, 0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --script: 'Sacramento', cursive;
}

* { box-sizing: border-box; }
*[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.plaid-wash {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 690px;
  opacity: .35;
  background-color: #fff7f7;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(228, 173, 186, .19) 37px 39px, transparent 40px 76px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(228, 173, 186, .17) 39px 41px, transparent 42px 78px),
    repeating-linear-gradient(0deg, transparent 0 91px, rgba(245, 211, 216, .34) 92px 98px, transparent 99px 185px),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(245, 211, 216, .32) 96px 102px, transparent 103px 188px);
  mask-image: linear-gradient(#000 65%, transparent 100%);
  pointer-events: none;
}
.loading-screen { min-height: 90vh; display: grid; place-content: center; text-align: center; color: var(--muted); }
.loading-flower { color: var(--petal); font-size: 2rem; animation: petal-breathe 2.4s ease-in-out infinite; }
@keyframes petal-breathe { 0%, 100% { transform: rotate(-8deg) scale(.96); } 50% { transform: rotate(8deg) scale(1.06); } }
.site-header {
  max-width: 1240px;
  padding: 20px 34px;
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-word { display: flex; flex-direction: column; align-items: center; line-height: .76; }
.brand-script { color: var(--petal); font: 3rem/0.84 var(--script); letter-spacing: .01em; }
.brand-sub { margin-top: 7px; color: var(--ink); font-size: .56rem; font-weight: 700; letter-spacing: .31em; }
.tulip-mark { width: 25px; height: 34px; color: var(--leaf); overflow: visible; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #654e58; font-size: .86rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--petal); }
.nav-links .nav-owner { color: var(--muted); font-size: .78rem; }
main { min-height: 75vh; }
.hero {
  max-width: 1240px;
  min-height: 570px;
  margin: 0 auto;
  padding: 28px 34px 74px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 42px;
  align-items: center;
}
.hero-copy { padding: 42px 0 36px 5.4%; position: relative; }
.eyebrow { color: var(--petal); font-size: .68rem; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.hero h1 { max-width: 550px; margin: 17px 0 20px; font: 600 clamp(3.2rem, 6.2vw, 5.7rem)/1.02 var(--serif); letter-spacing: -.044em; }
.hero h1 em { color: var(--petal); font-weight: 500; }
.hero-copy > p { max-width: 430px; margin: 0 0 30px; color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.button {
  min-height: 50px; padding: 0 25px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--petal); color: white; font-size: .83rem; font-weight: 700;
  box-shadow: 0 9px 22px rgba(237, 34, 140, .2); cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: #d9187e; box-shadow: 0 13px 25px rgba(237,34,140,.24); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(237,34,140,.35); outline-offset: 3px; }
.button-soft { color: var(--petal); background: #fff0f5; box-shadow: none; border: 1px solid #f4d6e2; }
.button-soft:hover { color: white; background: var(--petal); }
.hero-image-wrap { min-width: 0; position: relative; padding: 0 0 0 10px; }
.hero-image-wrap::before { content: ''; position: absolute; inset: -17px 27px 27px -8px; border: 1px solid rgba(215,128,148,.46); border-radius: 48% 48% 24px 24px; transform: rotate(-2deg); }
.hero-image {
  width: 100%; aspect-ratio: 1.15 / 1; max-height: 500px; object-fit: cover; display: block;
  border-radius: 47% 47% 22px 22px; box-shadow: var(--shadow); position: relative;
}
.floating-note {
  position: absolute; right: -10px; bottom: 27px; max-width: 180px; padding: 14px 18px;
  background: rgba(255,254,254,.94); border: 1px solid #f3dfe3; border-radius: 4px 22px 4px 22px;
  color: var(--muted); font: italic 1rem/1.35 var(--serif); box-shadow: 0 8px 30px rgba(87,45,60,.09);
}
.floating-note span { display: block; margin-bottom: 3px; color: var(--leaf); font: .63rem var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.collection { position: relative; padding: 98px 34px 110px; background: #fffefe; border-top: 1px solid rgba(240,220,224,.7); }
.collection::before { content: ''; height: 11px; position: absolute; inset: 0 0 auto; opacity: .38; background: repeating-linear-gradient(90deg, #e9bbc5 0 2px, transparent 2px 28px), repeating-linear-gradient(0deg, #e9bbc5 0 2px, transparent 2px 28px); }
.section-heading { max-width: 760px; margin: 0 auto 41px; text-align: center; }
.section-heading .eyebrow { margin: 0; }
.section-heading h2 { margin: 10px 0 11px; font: 600 clamp(2.4rem, 4vw, 3.4rem)/1.12 var(--serif); letter-spacing: -.035em; }
.section-heading p { margin: 0 auto; max-width: 520px; color: var(--muted); line-height: 1.75; font-size: .94rem; }
.product-grid { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid #f1e4e7; border-radius: 4px 4px 17px 17px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(108,56,73,.1); }
.product-photo { width: 100%; aspect-ratio: 4/4.6; display: block; object-fit: cover; background: #fff5f5; }
.product-details { padding: 16px 18px 20px; }
.product-details h3 { margin: 0 0 6px; font: 600 1.22rem/1.3 var(--serif); }
.product-description { min-height: 38px; margin: 0 0 13px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.product-price { color: var(--petal); font-size: .92rem; font-weight: 700; }
.product-grid .empty-state { grid-column: 1 / -1; width: min(570px, 100%); justify-self: center; }
.empty-state { max-width: 570px; min-height: 225px; padding: 34px; margin: 0 auto; text-align: center; display: grid; align-content: center; border: 1px dashed #e9c4ce; border-radius: 5px 5px 24px 24px; background: linear-gradient(150deg,#fff8f9,#fffefe); }
.empty-flower { margin: 0 auto 9px; color: var(--petal); font-size: 1.8rem; }
.empty-state h3 { margin: 0 0 8px; font: 600 1.55rem var(--serif); }
.empty-state p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.story { max-width: 1100px; padding: 98px 34px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; }
.story-logo-frame { overflow: hidden; max-width: 320px; margin: 0 auto; border-radius: 50%; border: 1px solid #f0d5dc; box-shadow: 0 17px 45px rgba(139,71,92,.12); }
.story-logo { width: 100%; display: block; }
.story-copy h2 { margin: 10px 0 15px; font: 600 clamp(2.1rem, 4vw, 3.15rem)/1.1 var(--serif); letter-spacing: -.035em; }
.story-copy p { max-width: 590px; color: var(--muted); font-size: .95rem; line-height: 1.86; }
.story-copy .story-signoff { margin-top: 22px; color: var(--petal); font: 2.2rem var(--script); }
.footer { padding: 31px 34px; background: #fff0f2; border-top: 1px solid #f2dbe1; }
.footer-inner { max-width: 1170px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #795d67; font-size: .77rem; }
.footer-inner p { margin: 0; }
.footer-brand { color: var(--petal); font: 2rem var(--script); }
.owner-page { min-height: 100vh; padding: 20px 28px 56px; }
.owner-topbar { max-width: 1120px; margin: 0 auto 32px; padding-bottom: 17px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.owner-topbar-actions { display: flex; align-items: center; gap: 12px; }
.owner-topbar-actions .text-link { color: var(--muted); font-size: .81rem; }
.owner-shell { max-width: 1120px; margin: 0 auto; }
.owner-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.owner-title-row h1 { margin: 7px 0 7px; font: 600 clamp(2.25rem, 4.8vw, 3.5rem)/1.1 var(--serif); letter-spacing: -.04em; }
.owner-title-row p { margin: 0; color: var(--muted); font-size: .91rem; }
.owner-layout { display: grid; grid-template-columns: minmax(320px, .84fr) minmax(0, 1.16fr); gap: 26px; align-items: start; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 6px 6px 21px 6px; background: var(--white); box-shadow: 0 9px 30px rgba(116,61,79,.055); }
.panel h2 { margin: 0 0 6px; font: 600 1.5rem var(--serif); }
.panel-intro { margin: 0 0 20px; color: var(--muted); font-size: .83rem; line-height: 1.6; }
.form-field { display: block; margin: 0 0 15px; }
.form-field > span, .field-label { display: block; margin-bottom: 7px; color: #624451; font-size: .78rem; font-weight: 700; }
.form-field input:not([type="checkbox"]), .form-field textarea, .form-field select, .currency-control select {
  width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #ead9de; border-radius: 7px;
  color: var(--ink); background: #fffdfd; font-size: .85rem;
}
.form-field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.field-hint { display: block; margin-top: 7px; color: #8c777f; font-size: .71rem; line-height: 1.5; }
.photo-drop { display: grid; min-height: 145px; place-items: center; padding: 15px; border: 1px dashed #e1b4c0; border-radius: 9px; background: #fff9fa; cursor: pointer; text-align: center; }
.photo-drop:hover { background: #fff1f5; }
.photo-drop img { width: 100%; max-height: 205px; object-fit: contain; border-radius: 5px; }
.photo-drop .drop-text { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.photo-drop .drop-symbol { display: block; margin-bottom: 3px; color: var(--petal); font-size: 1.5rem; }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.form-actions .button { min-height: 45px; padding: 0 20px; font-size: .78rem; }
.form-status { min-height: 21px; margin: 11px 0 0; color: var(--muted); font-size: .78rem; }
.form-status.error { color: #ab3563; }
.form-status.success { color: #4c7859; }
.switch-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; color: #624451; font-size: .81rem; }
.switch-line input { accent-color: var(--petal); width: 16px; height: 16px; }
.currency-panel { margin-bottom: 18px; padding: 18px; border: 1px solid #efd9df; border-radius: 8px; background: linear-gradient(130deg,#fff8fa,#fffefe); }
.currency-panel-head { margin-bottom: 11px; }
.currency-panel-head strong { display: block; font: 600 1.08rem var(--serif); }
.currency-panel-head span { display: block; margin-top: 4px; color: var(--muted); font-size: .73rem; line-height: 1.5; }
.currency-control { display: flex; align-items: center; gap: 9px; }
.currency-control select { flex: 1; }
.currency-control button { min-height: 43px; padding: 0 15px; border: 1px solid #efd2dc; border-radius: 999px; color: var(--petal); background: white; font-size: .75rem; font-weight: 700; cursor: pointer; }
.currency-control button:hover { background: #fff0f5; }
.admin-list-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.admin-list-header h2 { margin: 0; }
.count-pill { padding: 6px 10px; border-radius: 999px; background: #fff0f5; color: var(--petal); font-size: .7rem; font-weight: 700; }
.admin-list { display: grid; gap: 11px; }
.admin-card { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid #f1e4e7; border-radius: 9px; }
.admin-card img { width: 76px; height: 76px; border-radius: 7px; object-fit: cover; background: #fff3f5; }
.admin-card h3 { margin: 0 0 4px; font: 600 1rem var(--serif); }
.admin-card p { margin: 0; color: var(--muted); font-size: .76rem; }
.admin-card .state { display: inline-block; margin-top: 6px; color: var(--leaf); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-card .state.draft { color: #a28776; }
.admin-card button { min-height: 35px; padding: 0 12px; border: 1px solid #efd2dc; border-radius: 999px; color: #a03264; background: #fff; font-size: .73rem; font-weight: 700; cursor: pointer; }
.admin-card button:hover { background: #fff0f5; }
.admin-empty { padding: 35px 20px; border: 1px dashed #e5c8d0; border-radius: 7px; text-align: center; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.login-panel { max-width: 580px; padding: clamp(26px,5vw,48px); margin: 6vh auto; text-align: center; border: 1px solid var(--line); border-radius: 8px 8px 28px 8px; background: rgba(255,254,254,.94); box-shadow: var(--shadow); }
.login-flower { color: var(--petal); font-size: 2rem; }
.login-panel h1 { margin: 10px 0; font: 600 clamp(2.1rem, 5vw, 3.1rem)/1.1 var(--serif); }
.login-panel p { margin: 0 auto 23px; max-width: 420px; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.login-panel .button { margin: 0 auto; }
.login-error { min-height: 23px; margin-top: 14px !important; color: #a63765 !important; font-size: .8rem !important; }
.owner-footnote { max-width: 1100px; margin: 28px auto 0; color: #8e7881; font-size: .71rem; line-height: 1.6; }

@media (max-width: 880px) {
  .hero { min-height: 0; grid-template-columns: .95fr 1.05fr; gap: 24px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
  .story { gap: 35px; }
  .owner-layout { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .site-header { min-height: 76px; padding: 16px 19px; }
  .brand-script { font-size: 2.65rem; }
  .tulip-mark { width: 20px; }
  .nav-links { gap: 15px; font-size: .77rem; }
  .nav-links a:nth-child(2) { display: none; }
  .nav-links .nav-owner { font-size: .72rem; }
  .hero { padding: 17px 20px 55px; grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding: 30px 0 0; }
  .hero h1 { max-width: 470px; font-size: clamp(3.15rem, 14vw, 4.6rem); }
  .hero-copy > p { max-width: 440px; font-size: .94rem; }
  .hero-image-wrap { max-width: 500px; margin: 0 auto; padding: 0 7px; }
  .hero-image { aspect-ratio: 1.05 / 1; max-height: 440px; }
  .floating-note { right: -2px; bottom: 15px; max-width: 156px; padding: 11px 13px; font-size: .86rem; }
  .collection { padding: 73px 20px 78px; }
  .product-grid { max-width: 420px; grid-template-columns: 1fr; gap: 17px; }
  .product-card { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
  .product-photo { height: 100%; min-height: 160px; aspect-ratio: auto; }
  .product-details { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
  .story { padding: 72px 22px; grid-template-columns: 1fr; gap: 29px; }
  .story-logo-frame { max-width: 225px; }
  .story-copy { text-align: center; }
  .story-copy p { margin-left: auto; margin-right: auto; }
  .footer { padding: 23px 20px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .owner-page { padding: 16px 15px 40px; }
  .owner-topbar { margin-bottom: 24px; }
  .owner-topbar-actions { gap: 9px; }
  .owner-topbar-actions .text-link { font-size: .74rem; }
  .owner-title-row { align-items: start; flex-direction: column; }
  .panel { padding: 20px; }
  .admin-card { grid-template-columns: 62px 1fr auto; gap: 9px; padding: 8px; }
  .admin-card img { width: 62px; height: 62px; }
  .admin-card button { padding: 0 9px; }
}
@media (max-width: 370px) {
  .nav-links { gap: 10px; }
  .nav-links .nav-owner { display: none; }
  .admin-card { grid-template-columns: 52px 1fr; }
  .admin-card img { width: 52px; height: 52px; }
  .admin-card button { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Vinara Nails shopping bag and payment flow */
.cart-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid #efd2dc; border-radius: 999px; color: #a03264; background: #fff; font: 700 .75rem var(--sans); cursor: pointer; }
.cart-trigger:hover, .cart-trigger:focus-visible { background: #fff1f5; outline-color: #d91878; }
.cart-trigger span { display: inline-grid; min-width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #fff; background: #d91878; font-size: .67rem; }
.add-to-cart { min-height: 40px; margin-top: 12px; padding: 0 17px; font-size: .74rem; }
.cart-overlay { position: fixed; inset: 0; z-index: 50; }
.cart-overlay[hidden] { display: none; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(54, 31, 41, .38); backdrop-filter: blur(2px); }
.cart-drawer { position: absolute; top: 0; right: 0; display: flex; width: min(100%, 460px); height: 100%; flex-direction: column; padding: 28px clamp(18px, 5vw, 34px); overflow-y: auto; background: #fffdfa; box-shadow: -10px 0 35px rgba(75, 39, 52, .14); }
.cart-heading, .orders-panel-heading, .order-admin-heading, .order-total-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cart-heading { padding-bottom: 17px; border-bottom: 1px solid #f0e1e4; }
.cart-heading .eyebrow { margin: 0 0 4px; }
.cart-heading h2, .summary-heading h2 { margin: 0; font: 600 1.65rem var(--serif); }
.icon-button { width: 39px; height: 39px; border: 1px solid #efd2dc; border-radius: 50%; color: #a03264; background: #fff; font-size: 1.5rem; cursor: pointer; }
.cart-lines { display: grid; gap: 14px; padding: 18px 0; }
.cart-line { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #f3e8ea; }
.cart-line > img, .cart-line-placeholder { width: 62px; height: 62px; border-radius: 8px; object-fit: cover; background: #fff0f3; }
.cart-line-placeholder { display: grid; place-items: center; color: #d17b93; font-size: 1.3rem; }
.cart-line-details { display: grid; gap: 4px; align-content: start; font-size: .8rem; }
.cart-line-details strong { color: #4d303d; }
.cart-line-details span { color: #836f78; font-size: .76rem; }
.cart-line-controls { grid-column: 2; display: flex; align-items: center; gap: 8px; margin-top: -7px; }
.qty-button { display: inline-grid; width: 27px; height: 27px; place-items: center; border: 1px solid #ecd3dc; border-radius: 50%; color: #9f315f; background: #fff; font-size: 1rem; cursor: pointer; }
.qty-value { min-width: 17px; color: #563847; text-align: center; font-size: .78rem; }
.remove-line { margin-left: auto; border: 0; color: #8a707b; background: transparent; font: 500 .73rem var(--sans); text-decoration: underline; cursor: pointer; }
.cart-empty { margin: 22px 0; color: #887580; font-size: .86rem; line-height: 1.7; }
.cart-totals { margin-top: auto; padding: 16px 0; border-top: 1px solid #f0e1e4; }
.cart-totals > div, .checkout-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #684d5a; font-size: .83rem; }
.cart-totals strong, .checkout-totals strong { color: #4b2d3a; }
.cart-totals p { margin: 6px 0 0; color: #9a8790; font-size: .72rem; }
.cart-checkout { width: 100%; justify-content: center; }
.cart-checkout:disabled { opacity: .55; cursor: not-allowed; }
.cart-keep-shopping { display: block; margin: 13px auto 0; color: #a03264; font-size: .78rem; text-align: center; text-decoration: none; }
.cart-keep-shopping:hover { text-decoration: underline; }

.checkout-page { position: relative; max-width: 1180px; min-height: 100vh; padding: 26px clamp(18px, 5vw, 50px) 28px; margin: 0 auto; }
.checkout-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(230, 196, 206, .7); }
.checkout-topbar .brand { text-decoration: none; }
.checkout-flower { color: #d97792; font-size: 1.5rem; }
.checkout-title { max-width: 720px; padding: clamp(28px, 5vw, 54px) 0 25px; }
.checkout-title .eyebrow, .summary-heading .eyebrow { margin: 0 0 8px; }
.checkout-title h1, .checkout-state h1, .receipt-card h1 { margin: 0 0 10px; color: #402533; font: 600 clamp(2.25rem, 5vw, 3.6rem)/1.05 var(--serif); }
.checkout-title > p:last-child { margin: 0; color: #7e6873; font-size: .92rem; line-height: 1.7; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); align-items: start; gap: 23px; }
.checkout-form-panel, .order-summary-panel, .payment-settings-panel { padding: clamp(21px, 3vw, 34px); }
.checkout-fields { min-width: 0; padding: 0; margin: 0; border: 0; }
.checkout-fields > legend, .address-fields > legend { width: 100%; padding: 0 0 14px; color: #4c303d; font: 600 1.2rem var(--serif); }
.checkout-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.checkout-form-grid .checkout-span { grid-column: 1 / -1; }
.checkout-fields .form-field, .address-fields .form-field { display: grid; gap: 6px; margin: 0 0 14px; color: #634956; font-size: .76rem; font-weight: 600; }
.checkout-fields input, .checkout-fields textarea { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #e7d5da; border-radius: 6px; color: #49323d; background: #fff; font: 400 .85rem var(--sans); }
.checkout-fields textarea { min-height: 84px; resize: vertical; }
.checkout-fields input:focus, .checkout-fields textarea:focus { border-color: #d45a85; outline: 2px solid rgba(217, 24, 120, .11); }
.checkout-fields input[readonly] { background: #fff7f8; }
.address-fields { display: grid; grid-template-columns: 1fr; gap: 0; padding: 16px 0 0; margin: 1px 0 15px; border: 0; border-top: 1px solid #f0e2e6; }
.phone-control { display: flex; min-height: 45px; overflow: hidden; border: 1px solid #e7d5da; border-radius: 6px; background: #fff; }
.phone-control:focus-within { border-color: #d45a85; outline: 2px solid rgba(217, 24, 120, .11); }
.phone-control input { border: 0; outline: 0; box-shadow: none; }
.phone-prefix { display: grid; min-width: 55px; place-items: center; border-right: 1px solid #eadbe0; color: #7d5264; background: #fff7f8; font-size: .84rem; }
.phone-control input:focus { outline: 0; }
.field-hint { color: #977f89; font-size: .71rem; font-weight: 400; line-height: 1.55; }
.checkout-privacy { margin: 11px 0 15px; color: #897780; font-size: .71rem; line-height: 1.6; }
.checkout-consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; padding: 13px; border: 1px solid #f0dce2; border-radius: 7px; color: #684d5a; background: #fff7f8; font-size: .75rem; line-height: 1.6; }
.checkout-consent input { width: 17px; min-height: 17px; height: 17px; margin: 1px 0 0; accent-color: #d91878; }
.checkout-submit { width: 100%; justify-content: center; margin-top: 13px; }
.checkout-submit:disabled { opacity: .55; cursor: not-allowed; }
.checkout-warning { padding: 13px 15px; margin: 0 0 17px; border: 1px solid #ecd8b8; border-radius: 7px; color: #77551c; background: #fff9e9; font-size: .79rem; line-height: 1.6; }
.checkout-lines { display: grid; gap: 12px; padding: 16px 0; }
.checkout-line { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-bottom: 11px; border-bottom: 1px solid #f3e8ea; color: #654a57; font-size: .78rem; }
.checkout-line-copy { display: grid; gap: 4px; }
.checkout-line-copy strong { color: #4b303d; }
.checkout-line-copy span { color: #957f89; font-size: .7rem; }
.checkout-totals { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid #eddee2; }
.checkout-total { padding-top: 12px; border-top: 1px solid #f2e8ea; font-size: .95rem !important; }
.checkout-total strong { color: #a03264; font-size: 1.08rem; }
.summary-payment-note { padding: 12px; margin: 15px 0 12px; border-radius: 6px; color: #755868; background: #fff3f6; font-size: .73rem; line-height: 1.55; }
.checkout-state { max-width: 650px; padding: 75px 0; }
.checkout-state p:not(.eyebrow) { color: #7e6873; line-height: 1.7; }
.checkout-state .button { margin-top: 12px; }
.checkout-footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 26px; margin-top: 34px; border-top: 1px solid rgba(230, 196, 206, .7); color: #917d87; font-size: .72rem; }
.checkout-footer a { color: #a03264; text-decoration: none; }
.form-status:empty { display: none; }
.checkout-receipt { max-width: 760px; padding: 44px 0 22px; margin: 0 auto; }
.receipt-card { padding: clamp(22px, 5vw, 42px); border: 1px solid #ecd9df; border-radius: 10px 10px 32px 10px; background: #fffdfc; box-shadow: 0 18px 50px rgba(90, 52, 65, .08); }
.receipt-flower { color: #d97792; font-size: 1.6rem; }
.receipt-card .eyebrow { margin: 7px 0 9px; color: #a03264; }
.receipt-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.receipt-intro, .receipt-next-step { color: #755f6a; font-size: .84rem; line-height: 1.75; }
.transfer-card { padding: 17px; margin-top: 17px; border: 1px solid #f0e3e6; border-radius: 8px; background: #fff; }
.transfer-card h2 { margin: 0 0 13px; color: #533646; font: 600 1.15rem var(--serif); }
.order-number { color: #a03264; font: 600 1.4rem var(--serif); letter-spacing: .04em; }
.transfer-card .field-hint { display: block; }
.transfer-total, .bank-detail-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding-top: 13px; margin-top: 12px; border-top: 1px solid #f1e7e9; color: #614553; font-size: .8rem; }
.transfer-total strong { color: #a03264; font-size: 1.05rem; }
.bank-detail-row { padding: 9px 0; margin: 0; border-top: 0; }
.bank-detail-row + .bank-detail-row { border-top: 1px solid #f5edef; }
.bank-detail-row span { color: #917984; }
.bank-detail-row strong { max-width: 70%; color: #4d303d; text-align: right; overflow-wrap: anywhere; }
.bank-instructions { padding: 12px; margin: 10px 0 0; border-radius: 6px; color: #6e4e5f; background: #fff5f7; font-size: .78rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.receipt-item { margin: 7px 0; color: #705866; font-size: .8rem; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.receipt-actions .button { justify-content: center; }

.owner-tabs { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 16px; margin-bottom: 17px; border-bottom: 1px solid #f0dfe4; }
.owner-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 16px; border: 1px solid #ecd7dd; border-radius: 999px; color: #775666; background: rgba(255,255,255,.8); font: 600 .77rem var(--sans); cursor: pointer; }
.owner-tab:hover, .owner-tab.is-active { border-color: #d91878; color: #a03264; background: #fff0f5; }
.tab-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #a03264; background: #f9e2eb; font-size: .68rem; }
.orders-panel-heading { margin-bottom: 5px; }
.orders-panel-heading h2, .payment-settings-panel h2 { margin: 0 0 7px; color: #4b303d; font: 600 1.55rem var(--serif); }
.orders-panel-heading .eyebrow, .payment-settings-panel .eyebrow { margin: 0 0 5px; }
.orders-list { display: grid; gap: 14px; }
.order-admin-card { padding: 17px; border: 1px solid #efdee3; border-radius: 8px; background: #fffdfd; }
.order-admin-heading { align-items: flex-start; padding-bottom: 13px; border-bottom: 1px solid #f2e7e9; }
.order-admin-heading h3 { margin: 0; color: #523445; font: 600 1.12rem var(--serif); }
.order-date { margin: 4px 0 0; color: #907c85; font-size: .7rem; }
.order-statuses { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.order-status { padding: 5px 8px; border-radius: 999px; color: #895c31; background: #fff4df; font-size: .64rem; font-weight: 700; }
.order-status.is-paid { color: #426d54; background: #eaf6ed; }
.order-status.is-shipped { color: #5c638a; background: #eff0ff; }
.order-contact-grid { display: grid; gap: 6px; padding: 13px 0 6px; color: #725b67; font-size: .74rem; line-height: 1.55; overflow-wrap: anywhere; }
.order-item-list { display: grid; gap: 5px; padding-left: 19px; margin: 8px 0; color: #694f5c; font-size: .75rem; }
.order-customer-note { padding: 10px; border-radius: 6px; color: #775968; background: #fff6f8; font-size: .73rem; line-height: 1.6; }
.order-total-row { padding-top: 11px; margin-top: 9px; border-top: 1px solid #f2e7e9; color: #876e7a; font-size: .72rem; }
.order-total-row strong { color: #a03264; font-size: .9rem; }
.order-actions { margin-top: 13px; }
.order-actions .button { min-height: 37px; padding: 0 15px; font-size: .72rem; }
.settings-form { display: grid; gap: 10px; max-width: 720px; margin-top: 18px; }
.settings-form .form-field { display: grid; gap: 6px; color: #634956; font-size: .77rem; font-weight: 600; }
.settings-form input, .settings-form textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid #e7d5da; border-radius: 6px; color: #49323d; background: #fff; font: 400 .85rem var(--sans); }
.settings-form textarea { resize: vertical; }
.settings-form input:focus, .settings-form textarea:focus { border-color: #d45a85; outline: 2px solid rgba(217, 24, 120, .11); }
.settings-form .checkout-toggle { margin: 5px 0; }
.settings-form > .button { justify-content: center; justify-self: start; }

@media (max-width: 780px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary-panel { order: -1; }
  .checkout-title { padding-top: 34px; }
}
@media (max-width: 650px) {
  .nav-links { gap: 9px; }
  .cart-trigger { min-height: 34px; padding: 0 10px; font-size: .69rem; }
  .checkout-page { padding: 17px 15px 23px; }
  .checkout-topbar { padding-bottom: 16px; }
  .checkout-topbar .text-link { font-size: .73rem; }
  .checkout-form-grid { grid-template-columns: 1fr; gap: 0; }
  .checkout-form-grid .checkout-span { grid-column: auto; }
  .order-admin-heading { flex-direction: column; }
  .order-statuses { justify-content: flex-start; }
  .order-total-row { align-items: flex-start; flex-direction: column; }
  .receipt-actions { flex-direction: column; }
  .receipt-actions .button { width: 100%; }
  .checkout-footer { flex-wrap: wrap; }
}
@media (max-width: 370px) {
  .site-header { gap: 8px; }
  .nav-links { gap: 7px; }
  .nav-links .nav-owner { display: none; }
  .cart-trigger { padding: 0 8px; }
}


/* Clickable product cards and the Vinara quick-view dialog */
.product-view-trigger { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.product-view-trigger:focus-visible { outline: 3px solid rgba(237,34,140,.42); outline-offset: -3px; }
.product-view-trigger .product-photo { transition: transform .24s ease; }
.product-view-trigger:hover .product-photo { transform: scale(1.015); }
.view-details-hint { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: #a03264; font-size: .71rem; font-weight: 700; }
.product-actions { padding: 0 18px 18px; }
.product-actions .add-to-cart { width: 100%; margin-top: 0; }
.product-dialog { position: fixed; inset: 0; width: min(900px, calc(100vw - 32px)); max-width: none; max-height: min(88dvh, 780px); padding: 0; overflow: auto; border: 1px solid #eed6dd; border-radius: 12px 12px 30px 12px; color: var(--ink); background: #fffdfa; box-shadow: 0 24px 80px rgba(54,31,41,.25); }
.product-dialog::backdrop { background: rgba(54,31,41,.48); backdrop-filter: blur(3px); }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 430px; }
.product-dialog-photo-wrap { min-height: 430px; background: linear-gradient(145deg,#fff4f6,#fffaf8); }
.product-detail-image { display: block; width: 100%; height: 100%; max-height: 680px; padding: 18px; object-fit: contain; }
.product-dialog-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px,5vw,52px); }
.product-dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; }
.product-dialog-copy .eyebrow { margin: 0 44px 10px 0; }
.product-dialog-copy h2 { margin: 0 35px 13px 0; font: 600 clamp(1.8rem,3.5vw,2.7rem)/1.12 var(--serif); }
.product-detail-price { margin: 0 0 15px; color: var(--petal); font-size: 1.05rem; font-weight: 700; }
.product-detail-description { margin: 0 0 19px; color: var(--muted); font-size: .9rem; line-height: 1.8; white-space: pre-line; }
.product-detail-description[hidden] { display: none; }
.product-detail-add { width: 100%; margin-top: auto; }
.product-detail-status { min-height: 21px; margin: 9px 0 0; color: var(--leaf); font-size: .77rem; }
.checkout-flower { display: block; flex: none; width: 25px; height: 34px; }
@media (max-width: 650px) {
  .product-card { display: grid; grid-template-columns: 1fr; }
  .product-view-trigger { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
  .product-view-trigger .product-photo { grid-column: 1; min-height: 160px; height: 100%; aspect-ratio: auto; }
  .product-view-trigger .product-details { grid-column: 2; display: flex; flex-direction: column; justify-content: center; padding: 15px; }
  .product-actions { grid-column: 1; padding: 0 14px 14px; }
  .product-dialog { width: calc(100vw - 20px); max-height: 92dvh; border-radius: 10px 10px 23px 10px; }
  .product-dialog-layout { grid-template-columns: 1fr; min-height: 0; }
  .product-dialog-photo-wrap { min-height: 0; height: min(40dvh, 310px); }
  .product-detail-image { max-height: 310px; padding: 12px; }
  .product-dialog-copy { padding: 24px 21px 22px; }
  .product-dialog-copy .eyebrow { margin-right: 44px; }
  .product-dialog-copy h2 { margin-right: 25px; }
  .product-detail-add { margin-top: 8px; }
}
