:root {
  --cream: #faf6f0;
  --paper: #ffffff;
  --ink: #2b2a27;
  --muted: #6f6a62;
  --line: #e7e0d5;
  --green: #2f4a3a;
  --green-2: #3f5f4c;
  --blush: #e9c9bf;
  --blush-2: #f6e6e0;
  --gold: #b08d57;
  --red: #a23b2a;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Header */
.announce { background: var(--green); color: #f4efe6; text-align: center; font-size: 14px; padding: 8px 16px; }
.announce:empty { display: none; }
header.site { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .3px; color: var(--green); text-decoration: none; }
.brand small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: -4px; }
.head-right { display: flex; align-items: center; gap: 18px; }
/* Logo, centered like the Floranext site */
.brand.logo { display: block; line-height: 0; }
.brand.logo img { height: 92px; width: auto; display: block; }
header.site .wrap.head-grid { display: grid; grid-template-columns: 1fr auto 1fr; height: auto; padding-top: 12px; padding-bottom: 12px; }
.head-grid .head-phone { justify-self: start; }
.head-grid .head-right { justify-self: end; }
header.site .wrap:not(.head-grid) .brand.logo { margin: 0 auto; }
header.site .wrap:not(.head-grid) { justify-content: center; height: auto; padding-top: 10px; padding-bottom: 10px; }
header.site .wrap:not(.head-grid) .brand.logo img { height: 70px; }
.head-phone { color: var(--ink); text-decoration: none; font-size: 15px; }
.cart-btn { background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; display: flex; gap: 8px; align-items: center; }
.cart-btn .count { background: var(--blush); color: var(--green); border-radius: 999px; min-width: 22px; height: 22px; font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }

/* Hero */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; margin: 0 0 16px; color: var(--green); }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 24px; }
.hero-art { aspect-ratio: 1 / 1; border-radius: 50% 50% 18px 18px; background: radial-gradient(circle at 30% 30%, var(--blush-2), var(--blush) 60%, #d9b0a3); display: grid; place-items: center; overflow: hidden; }
.hero-art svg { width: 70%; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--muted); }

/* Catalog */
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 24px; }
.cat { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; color: var(--ink); }
.cat.on { background: var(--green); color: #fff; border-color: var(--green); }
/* Product grid — like the Floranext site: 4 across, square photos, name and price underneath */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; padding-bottom: 72px; }
.card { background: transparent; display: flex; flex-direction: column; cursor: pointer; }
.card .img { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--blush-2), var(--blush)); display: grid; place-items: center; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .img img { transform: scale(1.04); }
.card .img svg { width: 46%; opacity: .85; }
.card .body { padding: 12px 2px 0; }
.card h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 2px; line-height: 1.2; }
.card .price { color: var(--ink); font-size: 15px; }
.card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* Menu */
.menu { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 19; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > .wrap > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 2px; }
.menu li { position: relative; }
.menu a { display: block; padding: 12px 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu a.on, .menu a:hover { color: var(--green); }
.menu > .wrap > ul > li > a.on { box-shadow: inset 0 -2px 0 var(--green); }
.menu .has-sub > a::after { content: "▾"; margin-left: 5px; font-size: 10px; opacity: .6; }
.menu .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .08); padding: 6px 0; }
.menu .sub a { text-transform: none; letter-spacing: .2px; font-weight: 500; font-size: 15px; padding: 9px 18px; }
@media (hover: hover) { .menu .has-sub:hover > .sub { display: block; } }
.menu .has-sub.open > .sub { display: block; }

/* Same-day countdown banner */
.countdown { background: var(--blush); color: var(--green); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; padding: 16px; text-align: center; }
.countdown.hidden { display: none; }
.cd-text { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.cd-clock { display: flex; align-items: center; gap: 10px; }
.cd-clock i { font-style: normal; opacity: .5; }
.cd-n { display: grid; justify-items: center; line-height: 1; }
.cd-n b { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.cd-n small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }

.shop-list { padding-top: 28px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.list-head .section-title.hidden, .home-h1.hidden { display: none; }
.home-h1 { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 0 auto; letter-spacing: .2px; }
.section-title { font-family: var(--serif); font-size: 36px; font-weight: 500; color: var(--green); margin: 0 0 8px; }

/* Buttons */
.btn { background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 600; letter-spacing: .2px; }
.btn:hover { background: var(--green-2); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn.block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--green); text-decoration: underline; padding: 0; }

/* Modal / drawer */
.scrim { position: fixed; inset: 0; background: rgba(30, 28, 25, .45); z-index: 40; display: none; }
.scrim.on { display: block; }
.modal { position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(880px, 94vw); max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 18px; display: none; }
.modal.on { display: grid; grid-template-columns: 1fr 1fr; }
.modal .img { background: linear-gradient(160deg, var(--blush-2), var(--blush)); min-height: 360px; display: grid; place-items: center; }
.modal .img img { width: 100%; height: 100%; object-fit: cover; }
.modal .img svg { width: 50%; }
.modal .body { padding: 32px; position: relative; }
.modal h2 { font-family: var(--serif); font-size: 36px; font-weight: 500; margin: 0 0 6px; color: var(--green); }
.close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 28px; color: var(--muted); line-height: 1; }
.drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer header { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer header h2 { font-family: var(--serif); font-weight: 500; margin: 0; font-size: 28px; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer footer { border-top: 1px solid var(--line); padding: 20px 24px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .name { font-weight: 600; }
.line .meta { color: var(--muted); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 32px; height: 32px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; }

/* Forms */
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=url], input[type=search], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], input[type=time], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 74, 58, .12); }
textarea { resize: vertical; min-height: 90px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.toggle button { background: #fff; border: 0; padding: 14px; font-weight: 600; color: var(--muted); }
.toggle button.on { background: var(--green); color: #fff; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 32px 0 80px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 20px; }
.panel h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 4px; color: var(--green); }
.panel .step { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.summary { position: sticky; top: 92px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.errors { background: #fbecea; border: 1px solid #efc6bf; color: var(--red); border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-size: 14px; }
.errors:empty { display: none; }
.errors ul { margin: 0; padding-left: 18px; }
.ok-note { background: #edf4ef; border: 1px solid #cfe1d4; color: var(--green); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-top: 10px; }
.demo-banner { background: #fff6dd; border-bottom: 1px solid #f0dc9f; color: #6b5310; text-align: center; padding: 8px; font-size: 14px; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

footer.site { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.hidden { display: none !important; }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .card h3 { font-size: 18px; }
  .menu > .wrap > ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .menu a { white-space: nowrap; padding: 12px 10px; }
  .menu .sub { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; border-radius: 10px; }
  .cd-text { font-size: 18px; }
  .home-h1 { margin: 0; }
  .brand.logo img { height: 58px; }
  .head-grid .head-phone { display: block; visibility: hidden; width: 1px; } /* keeps the logo centered */
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-art { display: none; }
  .modal.on { grid-template-columns: 1fr; }
  .modal .img { min-height: 240px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .head-phone { display: none; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 > :first-child { grid-column: 1 / -1; }
}

.card.sold { opacity: .6; }
.card.sold .price { color: var(--red); font-weight: 600; }

/* Add-ons pop-up */
.amodal { position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(760px, 94vw); max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 18px; padding: 28px 28px 22px; display: none; }
.amodal.on { display: block; }
.amodal h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 2px 0 4px; color: var(--green); }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.addon { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.addon .img { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--blush-2), var(--blush)); display: grid; place-items: center; }
.addon .img img { width: 100%; height: 100%; object-fit: cover; }
.addon .img svg { width: 40%; }
.addon .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.addon .name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.addon .price { color: var(--muted); font-size: 14px; }
.addon .left { color: var(--red); font-size: 12px; font-weight: 600; }
.addon button { margin-top: auto; border: 1px solid var(--green); background: #fff; color: var(--green); border-radius: 999px; padding: 8px; font-weight: 600; }
.addon button.added { background: var(--green); color: #fff; }
.bar-end { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.amodal .bar-end { position: sticky; bottom: -22px; background: var(--paper); margin: 20px -28px -22px; padding: 14px 28px 22px; border-top: 1px solid var(--line); }
.mini-addons { border-top: 1px solid var(--line); padding: 12px 24px; }
.mini-addons h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }
.mini-addon { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.mini-addon .nm { flex: 1; }
.mini-addon button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; color: var(--green); font-weight: 600; }

/* Sizes and choices in the product window */
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; text-align: left; min-width: 104px; }
.size-btn b { display: block; font-size: 14px; }
.size-btn span { color: var(--muted); font-size: 14px; }
.size-btn.on { border-color: var(--green); box-shadow: 0 0 0 2px rgba(47, 74, 58, .18); }
.choice select, .choice input { margin-bottom: 4px; }
.line .opts { color: var(--muted); font-size: 13px; }
.line .rm { background: none; border: 0; padding: 4px 0 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.line .rm:hover { color: var(--red, #b3261e); }
.clear-cart { display: block; margin: 10px auto 0; color: var(--muted); font-size: 14px; }
.clear-cart[data-sure] { color: var(--red, #b3261e); font-weight: 600; }
.edit-cart { font-size: 14px; margin: 2px 0 10px; }
.req { color: #b3261e; font-weight: 700; margin-left: 2px; }
input.missing, select.missing, textarea.missing { border-color: #b3261e !important; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
/* Bridal Questionnaire / Event Inquiry */
.form-page { max-width: 760px; padding: 40px 20px 80px; }
.form-page h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 42px; margin: 6px 0 8px; }
.form-page .lead { color: var(--muted); margin: 0 0 22px; }
.form-page .panel { margin-bottom: 18px; }
.form-page h3 { margin-top: 0; }
.form-page .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; margin: 6px 0 10px; }
.form-page .checks label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; }
.form-page .checks input { width: auto; margin: 0; }
.photo-prev { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.photo-prev span { position: relative; }
.photo-prev img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; display: block; }
.photo-prev button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #222; color: #fff; cursor: pointer; line-height: 24px; padding: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.form-page .row3, .form-page .row2 { align-items: end; }
.form-page h3 + div, .form-page .panel > h3:not(:first-child) { margin-top: 14px; }
@media (max-width: 640px) { .form-page h1 { font-size: 32px; } .form-page .row3 { grid-template-columns: 1fr 1fr; } }
.again-bar { background: #eef3ee; border-bottom: 1px solid #d6e2d6; font-size: 15px; }
.again-bar .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 20px; }
.again-bar .opt { color: var(--muted); font-size: 13px; }
/* Add-ons pop-up: big scrolling window, best sellers first */
.amodal.big { width: min(1040px, 96vw); height: min(880px, 92vh); max-height: none; padding: 0; overflow: hidden; }
.amodal.big.on { display: flex; flex-direction: column; }
.amodal.big .a-head { padding: 24px 28px 10px; border-bottom: 1px solid var(--line); position: relative; }
.amodal.big .a-head .close { position: absolute; top: 14px; right: 16px; }
.amodal.big #aQ { max-width: 420px; margin: 0 0 10px; }
.a-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.a-chips button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink, #222); cursor: pointer; }
.a-chips button span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.a-chips button:first-child { border-color: var(--gold); }
.a-scroll { flex: 1; overflow-y: auto; padding: 6px 28px 24px; -webkit-overflow-scrolling: touch; }
.a-sec h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--green); margin: 18px 0 10px; }
.a-sec:first-child h3 { margin-top: 12px; }
.amodal.big .addon-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.addon .img { position: relative; }
.addon .best { position: absolute; top: 8px; left: 8px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .3px; }
.amodal.big .bar-end { position: static; margin: 0; padding: 14px 28px; border-top: 1px solid var(--line); align-items: center; background: var(--paper); }
.a-count { margin-right: auto; font-weight: 600; color: var(--green); }
body.noscroll { overflow: hidden; }
@media (max-width: 640px) {
  .amodal.big { width: 100vw; height: 100dvh; border-radius: 0; }
  .amodal.big .a-head { padding: 18px 16px 8px; }
  .amodal.big .a-head h2 { font-size: 26px; }
  .a-scroll { padding: 4px 16px 20px; }
  .amodal.big .addon-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .amodal.big .bar-end { padding: 10px 16px; }
  .a-count { width: 100%; }
}
@media (max-width: 640px) { .amodal.big .addon .img { aspect-ratio: 4 / 3; } .amodal.big .addon .name { font-size: 13px; } }
