@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --green: #319a68;
  --green-dark: #25764f;
  --ink: #2f3b35;
  --muted: #717b75;
  --line: #e6ece8;
  --soft: #f6f9f7;
  --white: #ffffff;
  --shadow: 0 6px 22px rgba(28, 54, 42, .07);
  --shadow-soft: 0 2px 8px rgba(28, 54, 42, .04);
  --deal-tab-top: 302px;
  --deal-tab-height: 156px;
  --assist-left: 34px;
  --assist-start: calc(var(--deal-tab-top) + var(--deal-tab-height) + 14px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
.ui-icon { display: inline-block; flex-shrink: 0; width: 20px; height: 20px; background: currentColor; mask: var(--icon) center / contain no-repeat; }

.utility-bar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.utility-left,
.utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.language {
  border: 1px solid #d9e0ea;
  border-radius: 7px;
  background: var(--soft);
  padding: 6px 12px;
  color: #253044;
  font-weight: 500;
}

.top {
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  background: #edf7f1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.header {
  display: grid;
  grid-template-columns: 210px minmax(200px, 1fr) 210px auto;
  align-items: center;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1280px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: #365b49;
  line-height: 1;
}

.brand-wordmark { display:grid; gap:6px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 400; color:#043c30; }
.brand-wordmark small { font-family:Inter,"Segoe UI",sans-serif; font-size:12px; color:#54796a; }
.brand-logo { width:82px; height:82px; flex-shrink:0; object-fit:contain; mix-blend-mode:multiply; filter:brightness(1.12) contrast(1.08); }
.price.price-pending { font-size:13px; font-weight:400; color:var(--muted); }
.catalog-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; padding-top:28px; }
.catalog-pagination p { font-size:12px; color:var(--muted); }
.catalog-pagination button { display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--green-dark); padding:12px 18px; }
.category-page h1 { color:var(--ink); }
.brand-flower { position: relative; display: block; width: 38px; height: 46px; }
.brand-flower > .ui-icon:first-child { position: absolute; top: 0; left: 0; width: 34px; height: 34px; color: #bd7c91; }
.brand-flower .brand-leaf { position: absolute; right: 0; bottom: 0; width: 21px; height: 21px; color: #6b987b; transform: rotate(-25deg); }

.mobile-only { display: none; }

.search {
  height: 50px;
  display: grid;
  grid-template-columns: auto 1fr 40px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 5px 0 17px;
  background: #fcfafb;
  border: 1px solid #ede7e9;
  border-radius: 8px;
  box-shadow: none;
}

.search span {
  color: #9aa7b8;
  font-size: 22px;
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.search input::placeholder { color: #a39a9e; font-size: 13px; }

.search button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  box-shadow: none;
}

.delivery {
  height: 50px;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 8px 15px;
  border: 1px solid #e8f0eb;
  border-radius: 8px;
  background: #f3f8f5;
  color: var(--green-dark);
  text-align: left;
  box-shadow: none;
}

.delivery span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: transparent;
}

.delivery small {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  color: #80958a;
}

.delivery b {
  font-size: 13px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 58px;
  padding: 8px 6px;
  border: 0;
  background: #fff;
  color: #5e7165;
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  border-radius: 6px;
}
.header-actions .ui-icon { width: 21px; height: 21px; }
.header-actions .mini:hover { background: #f5f8f6; color: var(--green-dark); }
.header-actions #favoritesBtn .ui-icon { color: #b97b8e; }

.cart b {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 4px;
  border-radius: 50%;
  background: #edf7f1;
  color: var(--green-dark);
  font-size: 11px;
}

.category-nav {
  height: 58px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  justify-content: center;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 16px 17px;
  color: #627068;
  font-size: 13px;
  font-weight: 400;
}
.category-nav .ui-icon { width: 16px; height: 16px; color: #8fa598; }
.category-nav a:hover .ui-icon, .category-nav a.active .ui-icon { color: var(--green-dark); }
.category-nav .nav-offer { color: #aa6279; }
.category-nav .nav-offer .ui-icon { color: #bc8095; }

.category-nav a.active,
.category-nav a:hover {
  color: var(--green-dark);
  box-shadow: inset 0 -2px 0 var(--green);
}

main { overflow: hidden; }

.hero {
  position: static;
  padding: 24px max(24px, calc((100vw - 1280px) / 2)) 2px;
  background: #fff;
}

.hero-collage {
  max-width: 1280px;
  height: 376px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.64fr 1fr;
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #eef2f6;
  box-shadow: none;
}

.tile-left,
.tile-right {
  margin: 13px 0;
  border-radius: 8px;
}

.tile-main {
  border-radius: 8px;
  box-shadow: none;
}

.figure {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.figure.blonde {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .05)),
    url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=900&q=84");
}

.figure.bouquet {
  background-image:
    linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .22)),
    url("https://images.unsplash.com/photo-1490750967868-88aa4486c946?auto=format&fit=crop&w=1200&q=84");
}

.figure.gift {
  background-image:
    linear-gradient(rgba(255, 255, 255, .02), rgba(255, 255, 255, .02)),
    url("https://images.unsplash.com/photo-1487070183336-b863922373d4?auto=format&fit=crop&w=900&q=84");
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35px;
  padding: 0 24px;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .42);
}

h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

.hero-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 400;
}

.discount-tab {
  position: fixed;
  left: 0;
  top: var(--deal-tab-top);
  z-index: 24;
  width: 80px;
  height: var(--deal-tab-height);
  border: 0;
  border-radius: 0 10px 10px 0;
  background: #39bd7c;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0;
  writing-mode: vertical-rl;
}

.assist-stack {
  position: fixed;
  left: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(340px, calc(100vw - 48px));
  pointer-events: none;
}

.assist-card {
  position: relative;
  pointer-events: auto;
  min-height: 76px;
  padding: 14px 34px 14px 66px;
  border: 1px solid #e8eeeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(28, 54, 42, .06), 0 1px 3px rgba(28, 54, 42, .04);
  transition: box-shadow .15s ease, border-color .15s ease;
}

.assist-card:hover { border-color: #cdded4; box-shadow: 0 6px 20px rgba(28, 54, 42, .09); }

.assist-card::after {
  content: "";
  position: absolute;
  left: 45px;
  top: calc(50% - 21px);
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #48ba7b;
}

.assist-stack .ai-card {
  width: min(320px, 100%);
}

.assist-stack .live-card {
  width: 100%;
}

.assist-card[hidden] { display: none; }
.assist-card { cursor: pointer; }
.assist-card:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 4px; }

.assist-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #edf7f1;
}

.assist-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #29945e;
  mask: url('/icons/bot-message-square.svg') center / contain no-repeat;
}

.live-card .assist-icon::before {
  mask-image: url('/icons/message-circle.svg');
}

.assist-stack b {
  display: block;
  color: #28845a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

.assist-stack span:not(.assist-icon) {
  display: block;
  margin-top: 3px;
  color: #6c7571;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.assist-stack button {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a0aaa4;
  font-size: 0;
  line-height: 1;
}

.assist-stack button::before { content: ''; display: block; width: 14px; height: 14px; margin: auto; background: currentColor; mask: url('/icons/x.svg') center / contain no-repeat; }
.assist-stack button:hover { background: #f2f6f3; color: #465c50; }
.assist-stack button:focus-visible { outline: 2px solid #28845a; }

.round-categories {
  padding: 24px max(24px, calc((100vw - 1280px) / 2));
  background: #fff;
}

.round-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px 16px;
  overflow-x: auto;
  padding: 8px 0;
  justify-content: center;
}

.round-track a {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0;
}
.round-track img { display: block; width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; border: 4px solid #f2f6f3; }
.category-art { display:grid; place-items:center; width:76px; height:76px; margin:0 auto 10px; border-radius:50%; border:4px solid #f2f6f3; background:#edf6ef; color:#65947c; }
.round-track a:nth-child(3n) .category-art { background:#fcf0f3; color:#bd8293; }
.round-track a:nth-child(4n) .category-art { background:#f0f3fa; color:#8b9bb6; }
.category-art .ui-icon { width:30px; height:30px; }
.round-track a:hover img, .round-track a:hover .category-art, .round-track a.active img, .round-track a.active .category-art { border-color:#c9e1d3; }
.round-track a:hover { color:var(--green-dark); }
.category-page .hero, .category-page #categories, .category-page #trust, .category-page .promo-band, .category-page #occasions { display:none; }
.category-page .products { min-height:55vh; padding-top:28px; }
.category-breadcrumb { display:flex; align-items:center; gap:10px; margin-bottom:28px; font-size:12px; color:#8b968f; }
.category-breadcrumb[hidden] { display:none; }
.category-breadcrumb a { color:var(--green-dark); }
.category-page h1 { font-family:Georgia, serif; font-size:32px; line-height:1.3; font-weight:400; }
.category-description { color:#78847c; font-size:14px; line-height:1.7; margin:10px 0 22px; }
.category-empty-link { display:inline-block; color:var(--green-dark); padding:10px 0; border-bottom:1px solid #c9e1d3; font-size:13px; }
.empty p { margin:0 0 8px; }

.trust,
.section,
.order-section,
.admin,
.whatsapp-panel,
footer {
  padding: 48px max(24px, calc((100vw - 1280px) / 2));
}

.promo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 32px max(24px, calc((100vw - 1280px) / 2));
  border: 0;
  border-radius: 0;
  background: #f3f8f5;
  box-shadow: none;
}

.promo-band p {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.promo-band h2 {
  max-width: 760px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 30px;
  background: #fff;
}

.trust div,
.summary,
.confirmation,
.admin-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.trust div { padding: 4px 16px; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.trust div:first-child { border-left: 0; }
.trust b { font-size: 13px; font-weight: 500; }
.trust span { font-size: 12px; }

.trust b {
  display: block;
  margin-bottom: 4px;
  color: #202b3d;
}

.trust span,
.summary,
.confirmation,
.admin-box,
.empty {
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  display: block;
  margin-bottom: 20px;
}

.section,
.order-section,
.admin {
  background: #fff;
}

.products {
  border-top: 1px solid #edf1f6;
  background: #fff;
}

.products .section-head {
  display: grid;
  gap: 4px;
}

.products .filters {
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.section-head p,
.whatsapp-panel p {
  margin: 0 0 7px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filters input,
.filters select,
form input,
form select,
form textarea,
.admin-box input,
.admin-box select,
.admin-box textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline-color: var(--green);
  background: #fff;
  color: var(--ink);
}

.filters > * { max-width: 230px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 386px;
  padding: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #edf1f6;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #98a2b3;
  font-size: 20px;
  box-shadow: none;
}

.photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / .9;
  overflow: hidden;
  background: #f5f8f6;
}

.photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.product-card:hover .photo img { transform: scale(1.035); }

.photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  pointer-events: none;
}

.badge {
  align-self: center;
  margin-top: 14px;
  color: var(--green);
  background: transparent;
  font-size: 12px;
  font-weight: 400;
}

.product-card h3 {
  min-height: 44px;
  margin: 8px 18px 0;
  color: #172033;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 11px 18px 0;
  color: #0b1220;
  font-size: 18px;
  font-weight: 600;
}

.old {
  color: #9aa4b2;
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: auto 18px 0;
  padding-top: 16px;
}

.card-actions button,
.occasion-grid button {
  min-height: 42px;
  border: 1px solid #dde5ef;
  border-radius: 6px;
  background: #fff;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 500;
}

.card-actions button:first-child {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: none;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.order-section form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.order-section label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.wide { grid-column: 1 / -1; }
textarea { min-height: 96px; resize: vertical; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-actions p {
  margin: 0;
  color: #ef4444;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 500;
}

.whatsapp-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f3f8f5;
  box-shadow: none;
}

.order-section .section-head,
.admin .section-head {
  max-width: 720px;
}

.order-section form,
.admin-box,
.whatsapp-panel {
  max-width: none;
}

.admin #adminPanel { display: grid; gap: 14px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-list { display: grid; gap: 10px; max-height: 420px; overflow: auto; }

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-row button {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-box form { display: grid; gap: 10px; }
.admin-box .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 120px;
}

footer a {
  display: block;
  margin-bottom: 8px;
}

.side-rail {
  position: fixed;
  top: 356px;
  right: 18px;
  z-index: 20;
  display: grid;
  gap: 14px;
}

.side-rail a,
.side-rail button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #5b7465;
  box-shadow: var(--shadow);
  font-size: 11px;
  font-weight: 500;
}

.side-rail a:nth-child(2) { color: #18b967; }
.side-rail button:nth-child(3) { color: #e83e76; }
.side-rail a:nth-child(4) { color: #ef4444; }

.chatbox {
  position: fixed;
  right: 88px;
  bottom: 86px;
  z-index: 30;
  width: min(372px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  max-height: calc(100dvh - 110px);
  display: flex;
  flex-direction: column;
}
.chatbox[hidden] { display: none; }
.chatbox header small { display:block; margin-top:4px; font-size:11px; font-weight:400; color:#688477; }
.chat-tools { display:flex; gap:6px; }
.chat-tools button { width:30px; height:30px; display:grid; place-items:center; }
.chatbox .ui-icon { width:18px; height:18px; }
.chat-input-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.chat-choices { display:flex; flex-wrap:wrap; gap:6px; }
.chat-choices button { border:1px solid #d7e9df; background:#fff; color:#287452; padding:8px 10px; border-radius:6px; font-size:12px; text-align:left; }
.chat-choices button:hover { background:#edf7f1; }
.chatbox button:disabled { opacity:.5; cursor:default; }
.chat-products { display:grid; gap:10px; }
.chat-product { display:grid; grid-template-columns:72px minmax(0,1fr); gap:12px; padding:10px; border:1px solid #e4ebe7; border-radius:8px; }
.chat-product img { width:72px; height:90px; object-fit:cover; border-radius:5px; }
.chat-product b { display:block; font-size:13px; line-height:1.5; }
.chat-product span { display:block; margin:5px 0; font-size:12px; color:#61756a; }
.chat-product button { border:0; background:#edf7f1; color:#287452; padding:6px 9px; border-radius:5px; font-size:12px; }

.chatbox header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  background: #edf7f1;
  color: var(--green-dark);
}

.chatbox header button {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 24px;
}

.chatbox #chatLog {
  display: grid;
  gap: 8px;
  max-height: 400px;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.msg {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f2f4f7;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere;
}

.msg.user {
  margin-left: 28px;
  background: #dcfce7;
}

.chatbox form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  flex-shrink:0;
}

.chatbox input {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width:0;
}

.chatbox button[type="submit"] {
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}

@media (max-width: 1180px) {
  :root { --deal-tab-top: 292px; }
  .header { grid-template-columns: auto 1fr auto; }
  .delivery { display: none; }
  .header-actions { grid-column: 3; }
  .hero-collage { height: 340px; }
  .discount-tab {
    display: block;
  }
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .utility-bar { display: none; }
  .header { grid-template-columns: 1fr auto; padding: 12px 14px; }
  .brand-wordmark { font-size:24px; }
  .mobile-only { display: inline-grid; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .header-actions { grid-column: 1 / -1; justify-content: space-between; }
  .category-nav { display: none; height: auto; flex-direction: column; align-items: stretch; padding: 10px 18px; }
  .category-nav.open { display: flex; }
  .category-nav a { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-collage { grid-template-columns: 1fr; height: auto; }
  .tile { min-height: 255px; }
  .tile-left, .tile-right { display: none; }
  .assist-stack {
    left: 14px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: min(340px, calc(100vw - 28px));
    gap: 12px;
  }
  .discount-tab {
    display: none;
  }
  .trust, .grid, .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-band { align-items: flex-start; flex-direction: column; margin: 0; }
  .side-rail { top: auto; right: 10px; bottom: 12px; grid-auto-flow: column; }
  .side-rail a, .side-rail button { width: 48px; height: 48px; }
  .chatbox { right: 14px; bottom: 76px; }
}

@media (max-width: 560px) {
  .top { height: auto; min-height: 40px; font-size: 13px; }
  .hero { padding: 14px 14px 4px; }
  .tile-main { min-height: 300px; }
  .hero-copy { bottom: 26px; padding: 0 18px; }
  h1 { font-size: 27px; }
  h2 { font-size: 24px; }
  .round-categories, .trust, .section, .order-section, .admin, .promo-band { padding: 24px 14px; }
  .trust, .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-section form { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .filters > * { max-width: none; }
  .card-actions { grid-template-columns: 1fr; margin: auto 10px 0; gap: 6px; }
  .product-card { min-height: 320px; }
  .product-card h3 { margin: 8px 10px 0; font-size: 12px; min-height: 50px; }
  .price { margin: 8px 10px 0; font-size: 15px; flex-wrap: wrap; gap: 4px; }
  .old { font-size: 11px; }
  .card-actions button { font-size: 12px; }
  .round-track { grid-template-columns:none; grid-template-rows:repeat(2, 118px); grid-auto-flow:column; grid-auto-columns:96px; justify-content:flex-start; gap:14px 12px; }
  .round-track a { width:96px; }
  .round-track img, .category-art { width:66px; height:66px; }
  .trust { gap: 20px 8px; }
  .trust div { padding: 0 8px; }
  .whatsapp-panel { align-items: flex-start; flex-direction: column; margin: 0; padding: 28px 14px; }
  .section-head { display: block; }
  .admin-grid, .admin-box .two { grid-template-columns: 1fr; }
  footer { flex-direction: column; padding: 24px 14px; }
  .assist-stack div { padding-right: 38px; }
}

.summary { grid-column: 1 / -1; background: #f4f8f5; color: var(--ink); padding: 20px; line-height: 1.8; }
.order-section { display: none; border-top: 1px solid var(--line); }
.order-section:target { display: block; }
.order-section label { color: #536259; font-size: 13px; }
.filters input, .filters select { min-width: 0; flex: 1 1 180px; max-width: none; font-size: 13px; }
.search:focus-within { border-color: #a3c9b3; }
.header .search .ui-icon { color: #8a998f; }
.header .search button .ui-icon { color: #fff; }
footer b { color: var(--ink); font-size: 20px; font-weight: 500; }
.detail-info h2 { font-size: 24px; }
.catalog-note { margin: -10px 0 20px; font-size: 12px; color: var(--muted); }
.admin { display: none; }
.admin:target { display: block; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 6px; color: var(--ink); }
.icon.mobile-only { display: none; }
.search input { background: transparent; }
.header-actions .cart { position: relative; }
.cart b { position: absolute; top: 0; right: 0; }
.primary:hover, .card-actions button:first-child:hover, .search button:hover { background: var(--green-dark); }
.occasion-grid button { background: #f8faf9; min-height: 64px; padding: 12px; }
.favorite[aria-pressed="true"], #favoritesBtn[aria-pressed="true"] { color: #ba6282; background: #fcf1f5; }
.photo .fallback-image { object-fit: contain; padding: 35%; opacity: .35; }
#productDetail { position: fixed; width: min(800px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); box-shadow: var(--shadow); }
#productDetail[open] { display: grid; grid-template-columns: 1fr 1fr; }
#productDetail::backdrop { background: rgba(34, 47, 40, .35); }
.detail-close { position: absolute; top: 12px; right: 12px; z-index: 1; }
.detail-photo { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.detail-info { padding: 48px 28px 28px; font-size: 14px; }
.detail-category { color: var(--green-dark); font-size: 12px; }
.detail-price { font-size: 23px; font-weight: 600; }
.detail-note { color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 560px) { #productDetail[open] { grid-template-columns: minmax(0, 1fr); } .detail-photo { min-height: 0; height: 240px; } .detail-info { padding: 24px; } }
@media (max-width: 840px) { .icon.mobile-only { display: grid; } .header { gap: 14px; } .category-nav { align-items: stretch; } .category-nav a { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.announcement { position: relative; display: flex; overflow: hidden; padding: 0 40px 0 0; height: 34px; min-height: 34px; }
.announcement-track { display: flex; width: max-content; flex: 0 0 auto; animation: announcement-scroll 30s linear infinite; }
.announcement-group { display: flex; align-items: center; justify-content: space-around; flex: 0 0 auto; gap: 100px; min-width: 100vw; padding: 0 50px; }
.announcement-copy { white-space: nowrap; font-size: 12px; font-weight: 500; }
.announcement-track:hover, .announcement.paused .announcement-track { animation-play-state: paused; }
#announcementToggle { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 36px; height: 34px; border: 0; background: #edf7f1; color: var(--green-dark); }
#announcementToggle .ui-icon { width: 14px; height: 14px; }
@keyframes announcement-scroll { to { transform: translateX(-50%); } }

body.cart-open { overflow: hidden; }
#cartDrawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; border: 0; padding: 0; background: white; color: var(--ink); box-shadow: -8px 0 36px rgba(30, 53, 41, .1); }
#cartDrawer[open] { display: flex; flex-direction: column; animation: cart-enter .25s ease-out; }
#cartDrawer::backdrop { background: rgba(31, 46, 38, .28); }
@keyframes cart-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--line); gap: 16px; flex-shrink: 0; }
.cart-drawer-header p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.cart-drawer-header h2 { font-size: 22px; }
.cart-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cart-heading .icon { flex-shrink: 0; }
.cart-heading h2 { font-size: 21px; }
.cart-checkout { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px max(20px, env(safe-area-inset-bottom)); }
.cart-checkout form { display: grid; gap: 24px; min-width: 0; }
.cart-checkout .summary { padding: 14px; font-size: 12px; line-height: 1.5; }
.cart-checkout .checkout-line { gap: 12px; }
.cart-checkout .checkout-line > span:first-child { min-width: 0; }
.cart-checkout .checkout-line strong { white-space: nowrap; }
.cart-checkout fieldset { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cart-checkout legend { width: 100%; padding: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.cart-checkout label { display: grid; gap: 6px; min-width: 0; font-size: 12px; color: #627068; }
.cart-checkout input, .cart-checkout select, .cart-checkout textarea { min-width: 0; max-width: 100%; padding: 11px 12px; font-size: 14px; }
.cart-checkout textarea { min-height: 78px; }
.cart-checkout .form-actions { position: sticky; bottom: -20px; display: grid; gap: 10px; padding: 14px 0 max(20px, env(safe-area-inset-bottom)); margin-bottom: -20px; background: #fff; border-top: 1px solid var(--line); }
.cart-checkout .form-actions p:empty { display: none; }
.cart-checkout .form-actions p { font-size: 12px; }
.cart-checkout .primary { width: 100%; min-height: 46px; }
.cart-checkout .form-actions .primary { gap: 10px; }
.checkout-note { text-align: center; color: var(--muted); font-size: 11px; }
.cart-checkout .confirmation { padding: 4px 0; border: 0; border-radius: 0; color: var(--ink); }
.cart-checkout .confirmation h3 { font-size: 21px; font-weight: 500; }
.cart-checkout .confirmation p { font-size: 14px; color: var(--muted); }
#drawerCount { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; margin-left: 6px; border-radius: 50%; background: #edf7f1; color: var(--green-dark); font-size: 12px; vertical-align: middle; }
.cart-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 0 24px; }
.cart-item { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 76px; height: 96px; border-radius: 6px; object-fit: cover; background: var(--soft); }
.cart-item h3 { margin: 0; padding-right: 26px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.cart-item-info > p { margin: 7px 0 14px; font-size: 12px; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cart-item-controls b { font-size: 13px; font-weight: 600; }
.cart-stepper { display: grid; grid-template-columns: 30px 30px 30px; height: 32px; align-items: center; text-align: center; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.cart-stepper button { display: grid; place-items: center; height: 30px; width: 30px; border: 0; padding: 0; background: transparent; color: var(--ink); }
.cart-stepper .ui-icon { width: 13px; height: 13px; }
.cart-stepper button:disabled { opacity: .3; cursor: default; }
.cart-stepper button:not(:disabled):hover { background: var(--soft); }
.cart-remove { position: absolute; right: -4px; top: 20px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; color: #99a59e; }
.cart-remove .ui-icon { width: 16px; height: 16px; }
.cart-remove:hover { color: #b06178; }
.cart-drawer-footer { display: grid; justify-content: stretch; gap: 12px; margin: 0; padding: 22px 24px max(22px, env(safe-area-inset-bottom)); flex-shrink: 0; border-top: 1px solid var(--line); font-size: 13px; background: #fafcfb; }
.cart-total-row { display: flex; justify-content: space-between; gap: 16px; }
.cart-total-row b { color: var(--ink); font-weight: 500; }
.cart-grand-total { border-top: 1px solid var(--line); padding: 14px 0 4px; font-size: 17px; color: var(--ink); }
.cart-grand-total b { font-weight: 600; }
#cartCheckout { width: 100%; min-height: 46px; gap: 12px; }
.cart-continue { border: 0; background: transparent; color: var(--muted); font-size: 12px; padding: 4px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 40px 0; text-align: center; }
.cart-empty > .ui-icon { width: 44px; height: 44px; color: #92b19f; margin-bottom: 16px; }
.cart-empty h3 { font-size: 19px; font-weight: 500; margin: 0; }
.cart-empty p { color: var(--muted); font-size: 13px; margin: 8px 0 24px; }
.cart-feedback { position: fixed; top: 20px; left: 50%; transform: translate(-50%, -10px); opacity: 0; pointer-events: none; z-index: 60; max-width: calc(100vw - 32px); width: max-content; padding: 12px 18px; border: 1px solid #d7e9df; border-radius: 8px; background: white; color: var(--green-dark); box-shadow: var(--shadow); font-size: 13px; transition: opacity .15s, transform .15s; }
.cart-feedback.visible { opacity: 1; transform: translate(-50%,0); }
.checkout-line { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 7px 0; }
.checkout-line small { color: var(--muted); }
.checkout-line b { white-space: nowrap; font-weight: 500; }
@media (max-width: 560px) { .cart-drawer-header { padding: 20px; } .cart-items { padding: 0 20px; } .cart-drawer-footer { padding: 18px 20px max(18px, env(safe-area-inset-bottom)); } .cart-item { gap: 12px; } .checkout-line { gap: 10px; font-size: 12px; } .cart-checkout { padding-left: 20px; padding-right: 20px; } .cart-checkout input, .cart-checkout select, .cart-checkout textarea { font-size: 16px; } .cart-heading h2 { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .announcement-track { animation: none; } #cartDrawer[open] { animation: none; } .announcement-group { min-width: auto; gap: 0; padding: 0 16px; } .announcement-group [aria-hidden], .announcement-group[aria-hidden] { display: none; } .announcement-copy { white-space: normal; } #announcementToggle { display: none; } }

@media (max-width: 1180px) and (min-width: 841px) {
  .header { grid-template-columns: 190px minmax(0, 1fr) auto; }
  .category-nav { justify-content: flex-start; }
  .category-nav a { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 840px) {
  .header { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px 12px; padding: 16px 14px; }
  .header .brand { grid-column: 2; grid-row: 1; gap: 8px; }
  .header .brand-logo { width:48px; height:48px; }
  .header .brand-wordmark { font-size:22px; gap:4px; }
  .header .brand-wordmark small { font-size:10px; }
  .brand-flower { width: 31px; height: 37px; }
  .brand-flower > .ui-icon:first-child { width: 27px; height: 27px; }
  .brand-flower .brand-leaf { width: 17px; height: 17px; }
  .header #menuBtn { grid-column: 1; grid-row: 1; width: 38px; height: 38px; border-color: transparent; }
  .header-actions { grid-column: 3; grid-row: 1; gap: 4px; }
  .header-actions #phoneLink, .header-actions .action-label { display: none; }
  .header-actions .mini { width: 38px; min-width: 38px; height: 38px; padding: 8px; }
  .header .search { height: 46px; grid-column: 1 / -1; grid-row: 2; }
  .header .search input { font-size: 16px; }
  .category-nav { padding: 0 14px 12px; }
  .category-nav a { height: 46px; padding: 12px; }
  .category-nav a.active { background: #f3f8f5; box-shadow: none; border-radius: 6px; }
}
/* Store status and informational pages share the storefront typography. */
.store-status {margin:24px auto;padding:20px;max-width:720px;text-align:center;background:#f0f8f3;border:1px solid #dae9df;border-radius:8px;}
.store-status button {padding:10px 20px;border:0;border-radius:6px;background:#2c986b;color:#fff;cursor:pointer;}
.information-page {max-width:820px;margin:0 auto;padding:40px 24px;}
.information-page h1 {font-size:28px;line-height:1.3;}
.information-page h2 {font-size:21px;}
.information-page section {padding:24px 0;border-bottom:1px solid #e2eae5;scroll-margin-top:20px;}
.information-page p {line-height:1.8;}
.information-notice {padding:16px;background:#f0f8f3;border-left:3px solid #2c986b;}
.reference-notice {font-size:12px;line-height:1.6;color:#596e62;font-weight:400;}
.cart-reference-notice {margin:0;padding:12px 24px;background:#f0f8f3;}
.card-note-label {display:flex;justify-content:space-between;align-items:center;gap:12px;}
#cardNoteCount {font-size:11px;color:#839087;font-variant-numeric:tabular-nums;white-space:nowrap;}
.ready-card-notes {min-width:0;}
.ready-card-notes summary {display:flex;align-items:center;gap:8px;padding:8px 0;color:#2c865f;font-size:13px;cursor:pointer;list-style:none;}
.ready-card-notes summary::-webkit-details-marker {display:none;}
.ready-card-notes summary::after {content:'';margin-left:auto;flex:0 0 16px;width:16px;height:16px;background:currentColor;mask:url('/icons/plus.svg') center/contain no-repeat;}
.ready-card-notes[open] summary::after {mask-image:url('/icons/minus.svg');}
.card-notes-content {display:grid;gap:12px;padding:8px 0 2px;}
.card-note-templates {display:grid;gap:8px;min-width:0;}
.card-note-option {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;padding:12px;text-align:left;background:#fff;border:1px solid #e0e9e3;border-radius:6px;font-size:13px;line-height:1.6;color:#52675a;cursor:pointer;}
.card-note-option span {min-width:0;overflow-wrap:anywhere;}
.card-note-option .ui-icon {flex:0 0 16px;width:16px;height:16px;color:#668a74;}
.card-note-option:hover,.card-note-option[aria-pressed="true"] {border-color:#80b49b;background:#f3faf6;color:#236846;}
.card-note-confirmation {border-top:1px solid #e0e9e3;padding-top:12px;}
.card-note-confirmation p {margin:0 0 10px;font-size:12px;line-height:1.6;color:#64766b;}
.card-note-confirmation > div {display:flex;gap:8px;flex-wrap:wrap;}
.card-note-confirmation button {padding:9px 12px;font-size:12px;border:1px solid #dae6de;border-radius:6px;background:white;color:#506959;cursor:pointer;}
#cardNoteReplace {background:#2c986b;color:white;border-color:#2c986b;}
.cart-item-info .cart-stock-warning {font-size:11px;color:#ad4c62;line-height:1.5;margin:6px 0;}
.card-actions button:disabled,#detailBuy:disabled {background:#e6ebe8;color:#74877c;box-shadow:none;cursor:not-allowed;}
