:root {
  --bg: #f6f2ed;
  --paper: #fbf9f6;
  --ink: #171716;
  --muted: #77716a;
  --line: #ddd5cd;
  --accent: #d8a6a0;
  --accent-soft: #ead6d0;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; background: rgba(246,242,237,.94); border-bottom: 1px solid rgba(23,23,22,.06); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.brand { font-family: "Playfair Display", serif; font-size: 28px; letter-spacing: .18em; line-height: .85; }
.brand span { display: block; margin-top: 8px; font: 500 11px "DM Sans", sans-serif; letter-spacing: .32em; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; color: #45413e; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn, .menu-btn { border: 0; background: transparent; width: 34px; height: 34px; cursor: pointer; color: var(--ink); }
.cart-btn { position: relative; }
.cart-btn b { position: absolute; top: 0; right: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); color: #fff; font: 11px/15px "DM Sans"; }
.orders-btn { border: 1px solid rgba(23,23,22,.14); background: transparent; color: var(--ink); border-radius: 12px; padding: 11px 15px; cursor: pointer; font-size: 14px; }
.orders-btn:hover { background: rgba(255,255,255,.5); }
.contact-btn, .primary-btn { border: 0; background: var(--ink); color: white; border-radius: 12px; padding: 14px 21px; cursor: pointer; }
.menu-btn { display: none; }

.hero { min-height: 660px; position: relative; display: grid; grid-template-columns: 48% 52%; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 24px; background: linear-gradient(180deg, rgba(251,249,246,.72), rgba(246,242,237,0)); pointer-events: none; z-index: 1; }
.hero-copy { padding: 105px 6vw 120px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 17px; font-size: 12px; letter-spacing: .24em; color: #746e68; }
h1, h2 { font-family: "Playfair Display", serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(54px, 6vw, 88px); line-height: .98; letter-spacing: -.035em; }
h1 em { color: #b88c85; font-style: normal; }
.hero-text { max-width: 370px; margin: 25px 0 30px; color: #625d57; line-height: 1.6; }
.primary-btn { display: inline-flex; align-items: center; gap: 30px; }
.primary-btn span { font-size: 20px; }
.hero-image { width: calc(100% - 54px); min-height: 480px; margin: 38px 54px 95px 0; align-self: start; border-radius: 20px 0 0 20px; background: linear-gradient(180deg, rgba(246,242,237,.48), rgba(246,242,237,0) 20%), url('assets/boombastic/bouquet-01.png') center 42%/cover; box-shadow: 0 18px 45px rgba(75,61,53,.08); }
.hero-features { position: absolute; bottom: 0; left: 5vw; right: 5vw; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(23,23,22,.12); border-bottom: 1px solid rgba(23,23,22,.08); padding: 16px 0; font-size: 13px; line-height: 1.5; color: #5f5a55; background: rgba(246,242,237,.72); backdrop-filter: blur(8px); }
.hero-features div { min-height: 34px; display: flex; align-items: center; padding: 2px 18px; border-left: 1px solid rgba(23,23,22,.11); }
.hero-features div:first-child { padding-left: 0; border-left: 0; }

.categories {
  padding: 34px 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--paper);
}

.categories button {
  min-height: 82px;
  border: 1px solid #e4ddd5;
  border-radius: 16px;
  background: #f9f6f2;
  color: #514c47;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.categories button:hover { background: #f1ebe5; border-color: #d9d0c7; transform: translateY(-2px); }

.catalog-section { padding: 96px 5vw 108px; background: var(--bg); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 38px; gap: 30px; }
h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.section-heading > a { font-size: 14px; margin-bottom: 8px; white-space: nowrap; border-bottom: 1px solid rgba(23,23,22,.35); padding-bottom: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.product-card { background: transparent; border: 0; border-radius: 0; overflow: hidden; }
.product-photo { aspect-ratio: 4/5; background: linear-gradient(145deg, #ebe3da, #ded4ca); background-position: center; background-size: cover; border-radius: 18px; overflow: hidden; transition: transform .45s ease, box-shadow .45s ease; box-shadow: 0 10px 30px rgba(75,61,53,.05); }
.product-card:hover .product-photo { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(75,61,53,.10); }
.product-info { padding: 15px 2px 0; }
.product-name { font-size: 14px; color: #3d3935; }
.product-price { font-size: 16px; font-weight: 600; margin: 7px 0 13px; }
.add-btn { width: 100%; padding: 11px 12px; border: 1px solid #d9d0c7; border-radius: 10px; background: transparent; color: #3d3935; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.add-btn:hover { background: #eee8e1; border-color: #cfc4ba; transform: translateY(-1px); }

.custom-banner { display: grid; grid-template-columns: 46% 54%; min-height: 500px; background: #e8d3cd; overflow: hidden; position: relative; }
.custom-banner > div:first-child { padding: 92px 6vw 86px; position: relative; z-index: 2; }
.custom-banner > div:first-child::after { content: "B"; position: absolute; right: -18px; bottom: -52px; font: 500 250px/.8 "Playfair Display", serif; color: rgba(255,255,255,.22); pointer-events: none; }
.custom-banner h2 { max-width: 560px; position: relative; z-index: 1; }
.custom-banner p:not(.eyebrow) { max-width: 430px; color: #635c57; line-height: 1.65; margin: 22px 0 30px; position: relative; z-index: 1; }
.custom-banner .primary-btn { position: relative; z-index: 1; }
.custom-image { min-height: 500px; position: relative; background: linear-gradient(145deg, #f3e8e3 0%, #dcc0b8 48%, #c79c94 100%); overflow: hidden; }
.custom-image::before, .custom-image::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.custom-image::before { width: 360px; height: 360px; right: 12%; top: 10%; background: radial-gradient(circle at 42% 42%, rgba(255,248,244,.95) 0 12%, rgba(242,202,198,.82) 13% 25%, rgba(191,142,135,.48) 26% 31%, transparent 32%), radial-gradient(circle at 62% 58%, rgba(255,247,244,.9) 0 11%, rgba(222,177,170,.7) 12% 22%, transparent 23%); transform: rotate(-18deg); opacity: .9; }
.custom-image::after { width: 260px; height: 260px; left: 8%; bottom: -55px; background: radial-gradient(circle at 50% 50%, rgba(255,246,242,.85) 0 15%, rgba(202,158,150,.58) 16% 29%, transparent 30%), radial-gradient(circle at 62% 38%, rgba(247,217,212,.75) 0 12%, transparent 13%); opacity: .7; }

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 48px 5vw;
  gap: 0;
  background: #f4f0eb;
  border-top: 1px solid rgba(23,23,22,.08);
  border-bottom: 1px solid rgba(23,23,22,.08);
}
.service-strip div {
  text-align: center;
  padding: 10px 24px;
  border-left: 1px solid rgba(23,23,22,.10);
}
.service-strip div:first-child { border-left: 0; }
.service-strip strong {
  display: block;
  font: 24px "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 9px;
  color: #3d3935;
}
.service-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
}

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 34px 5vw; background: var(--ink); color: #ddd5cd; font-size: 12px; letter-spacing: .18em; }
footer span:first-child { font-family: 'Playfair Display', serif; font-size: 18px; letter-spacing: .12em; color: #f4eee8; }
footer span:nth-child(2) { justify-self: center; opacity: .68; }
footer span:last-child { justify-self: end; opacity: .58; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 120px); background: var(--ink); color: white; padding: 13px 18px; border-radius: 10px; font-size: 13px; transition: .25s ease; z-index: 30; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .site-header { height: 70px; padding: 0 20px; }
  .desktop-nav, .contact-btn, .orders-btn { display: none; }
  .menu-btn { display: block; }
  .brand { font-size: 24px; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-copy { padding: 54px 22px 24px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-image { display: none; }
  .hero-features { position: relative; left: auto; right: auto; bottom: auto; padding: 7px 22px; grid-template-columns: repeat(2,1fr); gap: 0; order: 3; background: rgba(251,249,246,.78); }
  .hero-features div { min-height: 58px; padding: 12px 12px; }
  .hero-features div:nth-child(2), .hero-features div:nth-child(4) { padding-right: 0; }
  .hero-features div:nth-child(3), .hero-features div:nth-child(4) { border-top: 1px solid rgba(23,23,22,.09); }
  .hero-features div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-features div:nth-child(3) { border-left: 0; padding-left: 0; }
  .categories {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 18px 20px;
    gap: 9px;
  }
  .categories button {
    min-height: 64px;
    border-radius: 14px;
    font-size: 12px;
  }
  .catalog-section { padding: 68px 18px 76px; }
  .section-heading { align-items: start; gap: 16px; margin-bottom: 26px; }
  .section-heading > a { white-space: nowrap; margin-bottom: 3px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 18px 12px; }
  .product-photo { aspect-ratio: 4/5; border-radius: 14px; }
  .product-info { padding: 11px 1px 0; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; margin: 5px 0 10px; }
  .add-btn { padding: 10px 8px; font-size: 13px; border-radius: 9px; }
  .custom-banner { grid-template-columns: 1fr; min-height: 0; }
  .custom-banner > div:first-child { padding: 58px 22px 54px; }
  .custom-banner > div:first-child::after { font-size: 180px; right: -8px; bottom: -34px; }
  .custom-banner h2 { font-size: 42px; }
  .custom-banner p:not(.eyebrow) { margin: 18px 0 26px; }
  .custom-image { min-height: 150px; }
  .custom-image::before { width: 180px; height: 180px; right: 2%; top: 0; opacity: .7; }
  .custom-image::after { width: 130px; height: 130px; left: 4%; bottom: -42px; opacity: .5; }
  .service-strip {
    grid-template-columns: repeat(2,1fr);
    padding: 24px 18px;
  }
  .service-strip div {
    padding: 18px 12px;
    border-left: 0;
    border-top: 1px solid rgba(23,23,22,.09);
  }
  .service-strip div:nth-child(1),
  .service-strip div:nth-child(2) { border-top: 0; }
  .service-strip div:nth-child(odd) { border-right: 1px solid rgba(23,23,22,.09); }
  .service-strip strong { font-size: 21px; margin-bottom: 7px; }
  .service-strip span { font-size: 11px; }
  footer { grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 18px; }
  footer span:first-child { font-size: 17px; }
  footer span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 11px; }
  footer span:last-child { justify-self: end; align-self: center; font-size: 11px; }
}

@media (max-width: 500px) {
  .header-actions { gap: 2px; }
  .icon-btn { width: 30px; }
  .categories { grid-template-columns: repeat(2,1fr); }
  h2 { font-size: 43px; }
  .section-heading { flex-direction: column; }
  .service-strip { grid-template-columns: 1fr 1fr; }
  .service-strip div:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 1px solid rgba(23,23,22,.09);
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .service-strip div:nth-child(5) strong,
  .service-strip div:nth-child(5) span {
    text-align: center;
  }
}

/* Product details modal */
body.modal-open { overflow: hidden; }
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid rgba(23,23,22,.55); outline-offset: 4px; border-radius: 18px; }
.product-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; z-index: 50; }
.product-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.product-modal-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.48); backdrop-filter: blur(8px); }
.product-modal-dialog { position: relative; width: min(900px, 100%); max-height: min(700px, 90vh); display: grid; grid-template-columns: 46% 54%; overflow: hidden; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 90px rgba(23,23,22,.22); transform: translateY(18px) scale(.985); transition: transform .28s ease; }
.product-modal.is-open .product-modal-dialog { transform: translateY(0) scale(1); }
.modal-image { min-height: 520px; background: #e7ded5 center/cover; }
.modal-content { display: flex; flex-direction: column; justify-content: center; padding: 58px 54px; }
.modal-content .eyebrow { margin-bottom: 18px; }
.modal-content h2 { font-size: clamp(42px, 5vw, 62px); }
.modal-description { max-width: 410px; margin: 22px 0 28px; color: #625d57; line-height: 1.65; font-size: 14px; }
.modal-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.modal-meta span:first-child { font-size: 19px; font-weight: 600; }
.modal-meta span:last-child { color: var(--muted); font-size: 12px; text-align: right; }
.modal-add { align-self: flex-start; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(23,23,22,.12); border-radius: 50%; background: rgba(251,249,246,.88); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: #fff; }

@media (max-width: 700px) {
  .product-modal { padding: 14px; }
  .product-modal-dialog { grid-template-columns: 1fr; width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 18px; }
  .modal-image { min-height: 290px; aspect-ratio: 4/5; }
  .modal-content { padding: 30px 22px 24px; }
  .modal-content h2 { font-size: 42px; }
  .modal-description { margin: 16px 0 22px; font-size: 13px; }
  .modal-meta { margin-bottom: 20px; }
  .modal-add { width: 100%; justify-content: space-between; }
}


.cart-delivery-status { margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(23,23,22,.09); border-radius: 12px; background: rgba(255,255,255,.35); color: var(--muted); font-size: 13px; line-height: 1.45; }
.cart-delivery-status > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.cart-delivery-status strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.cart-delivery-status span { color: var(--muted); }
.cart-delivery-status.is-free { border-color: rgba(139,116,103,.22); background: rgba(181,151,139,.08); }
.cart-delivery-status.is-free strong { color: #756158; }
.delivery-progress { height: 3px; margin-top: 9px; border-radius: 999px; background: rgba(23,23,22,.08); overflow: hidden; }
.delivery-progress span { display: block; height: 100%; border-radius: inherit; background: #9b8075; transition: width .25s ease; }
.service-strip em { display: inline-block; margin-top: 4px; font-style: normal; color: #8b756b; font-size: 12px; }

/* Shopping cart drawer */
body.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.38); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.cart-drawer.is-open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; width: min(480px, 100%); height: 100%; background: var(--paper); padding: 34px 34px 28px; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(23,23,22,.12); transform: translateX(100%); transition: transform .3s ease; }
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cart-header .eyebrow { margin-bottom: 9px; }
.cart-header h2 { font-size: 42px; }
.cart-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 25px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 0; }
.cart-items[hidden] { display: none !important; }
.cart-panel.is-empty .cart-items { display: none; }
.cart-panel.is-empty .cart-empty { flex: 1; }
.cart-item { display: grid; grid-template-columns: 82px 1fr; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { width: 82px; height: 102px; border-radius: 12px; background: #e9e1da center/cover; }
.cart-item-info { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.cart-item-top, .cart-item-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-item-top h3 { margin: 0 0 5px; font: 500 18px/1.1 "Playfair Display", serif; }
.cart-item-top span { font-size: 14px; color: var(--muted); }
.cart-item-bottom { align-items: center; font-size: 13px; }
.cart-remove { border: 0; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; padding: 0; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.quantity-control button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.quantity-control strong { min-width: 26px; text-align: center; font-size: 14px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: var(--muted); text-align: center; }
.cart-empty[hidden], .cart-summary[hidden], .cart-delivery-status[hidden] { display: none !important; }
.cart-empty .primary-btn { color: #fff; }
.cart-summary { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; font-size: 13px; color: var(--muted); }
.cart-summary .cart-total { margin-top: 7px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-size: 17px; }
.checkout-btn { width: 100%; justify-content: space-between; margin-top: 18px; }

@media (max-width: 700px) {
  .cart-panel { width: 100%; padding: 24px 20px 20px; }
  .cart-header h2 { font-size: 36px; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-item-image { width: 72px; height: 90px; }
}


/* Checkout */
.checkout-modal { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease, visibility .25s ease; display: grid; place-items: center; padding: 18px; }
.checkout-modal.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.checkout-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.48); backdrop-filter: blur(7px); }
.checkout-dialog { position: relative; width: min(760px, 100%); max-height: 94vh; overflow-y: auto; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 90px rgba(23,23,22,.22); }
.checkout-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: rgba(251,249,246,.9); color: var(--ink); font-size: 25px; cursor: pointer; }
.checkout-content { padding: 46px 48px 40px; }
.checkout-content h2 { font-size: clamp(42px, 6vw, 58px); line-height: .98; margin-bottom: 32px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.checkout-fields label, .payment-methods legend { font-size: 13px; color: var(--muted); }
.checkout-fields input, .checkout-fields select, .checkout-fields textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.35); color: var(--ink); font: inherit; font-size: 13px; padding: 13px 14px; outline: none; }
.checkout-fields textarea { resize: vertical; min-height: 84px; }
.checkout-fields input:focus, .checkout-fields select:focus, .checkout-fields textarea:focus { border-color: rgba(23,23,22,.32); background: #fff; }
.checkout-full { grid-column: 1 / -1; }
.payment-methods { border: 0; padding: 28px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.payment-methods legend { padding: 0; margin-bottom: 12px; }
.payment-methods > label { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; cursor: pointer; border-bottom: 1px solid rgba(23,23,22,.07); }
.payment-methods > label:last-child { border-bottom: 0; }
.payment-methods input { margin-top: 2px; accent-color: #171716; }
.payment-methods span { display: flex; flex-direction: column; gap: 4px; }
.payment-methods strong { color: var(--ink); font-size: 13px; font-weight: 500; }
.payment-methods small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.checkout-error { min-height: 18px; margin: 14px 0 0; color: #8b5f55; font-size: 13px; }
.checkout-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.checkout-bottom > div { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; }
.checkout-bottom strong { color: var(--ink); font-size: 20px; }
.checkout-bottom .primary-btn { justify-content: space-between; min-width: 245px; }
@media (max-width: 600px) {
  .checkout-modal { padding: 0; align-items: end; }
  .checkout-dialog { width: 100%; max-height: 96vh; border-radius: 20px 20px 0 0; }
  .checkout-content { padding: 36px 20px 24px; }
  .checkout-close { top: 14px; right: 14px; }
  .checkout-content h2 { font-size: 42px; margin-bottom: 26px; }
  .checkout-fields { grid-template-columns: 1fr; gap: 14px; }
  .checkout-full { grid-column: auto; }
  .payment-methods { margin-top: 24px; padding-top: 24px; }
  .checkout-bottom { align-items: stretch; flex-direction: column; gap: 15px; }
  .checkout-bottom > div { flex-direction: row; align-items: center; justify-content: space-between; }
  .checkout-bottom .primary-btn { width: 100%; min-width: 0; justify-content: space-between; }
}

/* Order success */
.order-success { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease, visibility .25s ease; display: grid; place-items: center; padding: 18px; }
.order-success.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.order-success-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.48); backdrop-filter: blur(4px); }
.order-success-dialog { position: relative; width: min(560px, 100%); max-height: 94vh; overflow-y: auto; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 90px rgba(23,23,22,.25); }
.order-success-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 27px; line-height: 1; cursor: pointer; color: var(--ink); }
.order-success-content { padding: 48px 48px 42px; text-align: center; }
.order-success-mark { width: 56px; height: 56px; margin: 20px auto 18px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }
.order-success-content h2 { font-size: clamp(48px, 7vw, 66px); line-height: .95; margin-bottom: 22px; }
.order-success-text { max-width: 410px; margin: 0 auto 26px; color: var(--muted); line-height: 1.6; }
.order-success-number { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; margin-bottom: 14px; }
.order-success-number span { color: var(--muted); font-size: 14px; }
.order-success-number strong { font-size: 17px; letter-spacing: .08em; }
.order-success-payment { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.order-success-content .primary-btn { width: 100%; justify-content: space-between; }
@media (max-width: 700px) {
  .order-success { padding: 0; align-items: end; }
  .order-success-dialog { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; }
  .order-success-content { padding: 38px 20px 24px; }
  .order-success-content h2 { font-size: 46px; }
  .order-success-number { padding: 15px 16px; }
}


/* My orders */
.my-orders-modal { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease, visibility .25s ease; display: grid; place-items: center; padding: 18px; }
.my-orders-modal.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.my-orders-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.48); backdrop-filter: blur(6px); }
.my-orders-dialog { position: relative; width: min(720px, 100%); max-height: 90vh; overflow-y: auto; background: var(--paper); border-radius: 22px; box-shadow: 0 30px 90px rgba(23,23,22,.24); }
.my-orders-content { padding: 46px 48px 40px; }
.my-orders-content h2 { font-size: clamp(48px, 7vw, 68px); line-height: .94; margin-bottom: 24px; }
.orders-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: rgba(251,249,246,.9); color: var(--ink); font-size: 25px; cursor: pointer; }
.my-orders-state { padding: 15px 0 18px; color: var(--muted); font-size: 14px; }
.my-orders-list { display: grid; gap: 10px; }
.my-order-card { border: 1px solid var(--line); border-radius: 15px; padding: 17px 18px; background: rgba(255,255,255,.24); }
.my-order-top, .my-order-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.my-order-top strong { font-size: 13px; letter-spacing: .06em; }
.my-order-status { font-size: 12px; color: var(--muted); padding: 5px 8px; border-radius: 999px; background: rgba(23,23,22,.06); }
.my-order-status.status-completed { background: rgba(126,150,122,.13); color: #5f745b; }
.my-order-status.status-cancelled { background: rgba(160,112,103,.12); color: #8b5f55; }
.my-order-card p { margin: 12px 0 15px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.my-order-meta { padding-top: 12px; border-top: 1px solid rgba(23,23,22,.07); color: var(--muted); font-size: 13px; }
.my-order-meta strong { color: var(--ink); font-size: 14px; }
@media (max-width: 600px) {
  .my-orders-modal { padding: 18px; place-items: center; }
  .my-orders-dialog { width: min(100%, 430px); max-height: min(82vh, 680px); border-radius: 22px; }
  .my-orders-content { padding: 38px 22px 26px; }
  .my-orders-content h2 { font-size: 46px; }
  .my-order-top, .my-order-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
}

/* FLOWERS LOVE — premium visual pass inspired by modern editorial e-commerce */
:root {
  --bg: #f5f0ea;
  --paper: #fcfaf7;
  --ink: #171615;
  --muted: #756f69;
  --line: rgba(23,22,21,.12);
  --accent: #c99a92;
  --accent-soft: #ead8d2;
  --sage: #8d9a87;
  --shadow-soft: 0 18px 55px rgba(50,40,34,.08);
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,.72), transparent 28%),
    radial-gradient(circle at 92% 38%, rgba(226,207,199,.22), transparent 25%),
    var(--bg);
}

.site-header {
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(248,244,239,.78);
  border-bottom: 1px solid rgba(23,22,21,.08);
  box-shadow: 0 8px 30px rgba(48,39,33,.025);
}

.brand { transition: opacity .25s ease, transform .25s ease; }
.brand:hover { opacity: .72; transform: translateY(-1px); }
.desktop-nav { gap: 28px; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .3s ease;
}
.desktop-nav a:hover::after { right: 0; }

.icon-btn { transition: transform .2s ease, opacity .2s ease; }
.icon-btn:hover { transform: translateY(-1px); opacity: .62; }
.cart-btn b { box-shadow: 0 0 0 3px rgba(248,244,239,.95); }
.orders-btn, .contact-btn { transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.orders-btn:hover, .contact-btn:hover { transform: translateY(-1px); }

.hero {
  min-height: 710px;
  grid-template-columns: 47% 53%;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 52%);
}
.hero::after {
  content: "FLOWERS LOVE / 2026";
  position: absolute;
  left: 5vw;
  bottom: 18px;
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(23,22,21,.34);
  z-index: 4;
}
.hero-copy { padding: 126px 5vw 135px 6vw; }
.eyebrow { letter-spacing: .28em; }
h1 { font-size: clamp(60px, 7.2vw, 104px); line-height: .91; }
h1 em {
  color: transparent;
  -webkit-text-stroke: 1px #a77c76;
  text-stroke: 1px #a77c76;
}
.hero-text { max-width: 410px; font-size: 15px; }
.primary-btn {
  min-height: 50px;
  padding: 14px 18px 14px 21px;
  border-radius: 13px;
  box-shadow: 0 12px 25px rgba(23,22,21,.12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 17px 32px rgba(23,22,21,.16); background: #262422; }
.primary-btn span { transition: transform .25s ease; }
.primary-btn:hover span { transform: translateX(4px); }
.hero-image {
  min-height: 555px;
  margin: 34px 42px 108px 0;
  border-radius: 24px 0 0 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center 45%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.hero-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 30%, rgba(25,18,16,.08));
  z-index: -1;
}
.hero-image::after {
  content: "HAND-TIED / WITH CARE";
  position: absolute;
  right: 20px; bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  letter-spacing: .22em;
}
.hero-image:hover { transform: scale(1.012); box-shadow: 0 24px 65px rgba(50,40,34,.13); }
.hero-features { left: 5vw; right: 5vw; background: rgba(250,247,243,.78); }
.hero-features div { transition: background .2s ease; }
.hero-features div:hover { background: rgba(255,255,255,.5); }

.categories {
  padding: 30px 5vw 34px;
  gap: 10px;
  background: rgba(252,250,247,.78);
}
.categories button {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border-radius: 18px;
  background: rgba(247,243,238,.78);
  letter-spacing: .01em;
}
.categories button::before {
  content: "";
  position: absolute;
  width: 90px; height: 90px;
  right: -30px; top: -35px;
  border-radius: 50%;
  background: rgba(210,166,158,.16);
  transition: transform .35s ease;
}
.categories button:hover::before { transform: scale(1.45); }
.categories button:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(50,40,34,.06); }

.catalog-section { padding-top: 112px; }
.section-heading { margin-bottom: 44px; }
.section-heading > a { transition: opacity .2s ease; }
.section-heading > a:hover { opacity: .55; }
.product-grid { gap: 30px 20px; }
.product-card { position: relative; }
.product-card::before {
  content: "FLOWERS LOVE EDIT";
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(252,250,247,.76);
  backdrop-filter: blur(9px);
  color: #4d4843;
  font-size: 11px;
  letter-spacing: .2em;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .3s ease, transform .3s ease;
}
.product-card:hover::before { opacity: 1; transform: translateY(0); }
.product-photo {
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(75,61,53,.06);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
}
.product-card:hover .product-photo { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(75,61,53,.13); }
.product-info { padding: 17px 2px 0; }
.product-name { font-size: 14px; letter-spacing: .01em; }
.product-price { font-size: 17px; margin: 8px 0 14px; }
.add-btn { border-radius: 11px; transition: all .25s ease; }
.add-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }

.custom-banner {
  min-height: 550px;
  background: linear-gradient(120deg, #ead8d2 0%, #e5cfca 48%, #d8b8b0 100%);
}
.custom-banner > div:first-child { padding: 104px 6vw 95px; }
.custom-banner h2 { font-size: clamp(48px, 5.5vw, 74px); }
.custom-banner p:not(.eyebrow) { font-size: 14px; }
.custom-image { min-height: 550px; background: linear-gradient(145deg, #f3e8e3 0%, #d9bdb5 50%, #b98980 100%); }
.custom-image::before { transform: rotate(-18deg) scale(1.08); }

.service-strip { background: rgba(247,243,238,.82); padding-top: 54px; padding-bottom: 54px; }
.service-strip div { transition: transform .25s ease; }
.service-strip div:hover { transform: translateY(-3px); }
.service-strip strong { font-size: 26px; }

footer { padding: 40px 5vw; }

/* Softer, more deliberate motion */

@media (max-width: 900px) {
  .product-card.mobile-extra-product { display: none; }
  .product-card.mobile-extra-product.is-mobile-visible { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy .eyebrow, .hero-copy h1, .hero-copy .hero-text, .hero-copy .primary-btn { animation: fleur-rise .7s both; }
  .hero-copy h1 { animation-delay: .08s; }
  .hero-copy .hero-text { animation-delay: .16s; }
  .hero-copy .primary-btn { animation-delay: .24s; }
  @keyframes fleur-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .hero { min-height: auto; }
  .hero::after { display: none; }
  .hero-copy { padding: 70px 22px 30px; }
  h1 { font-size: clamp(54px, 15vw, 78px); }
  .hero-text { font-size: 14px; }
  .hero-features { background: rgba(252,250,247,.82); }
  .categories { padding: 18px 18px 22px; }
  .categories button { min-height: 72px; }
  .catalog-section { padding-top: 78px; }
  .product-grid { gap: 22px 12px; }
  .product-card::before { display: none; }
  .custom-banner { min-height: 0; }
  .custom-banner > div:first-child { padding: 66px 22px 58px; }
  .custom-image { min-height: 190px; }
}

@media (max-width: 500px) {
  .hero-copy { padding-top: 58px; }
  h1 { line-height: .94; }
  .hero-features div { min-height: 62px; }
  .categories button { min-height: 68px; }
  .catalog-section { padding-top: 66px; }
  .section-heading { margin-bottom: 28px; }
  .product-grid { gap: 22px 12px; }
  .product-photo { border-radius: 15px; }
  .product-info { padding-top: 10px; }
  .custom-banner h2 { font-size: 43px; }
  .service-strip { padding-top: 26px; padding-bottom: 26px; }
}


/* Mobile menu + catalog placement */
.mobile-catalog-link { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgba(23,23,22,.42); backdrop-filter: blur(7px); }
.mobile-menu-panel { position: absolute; top: 0; right: 0; width: min(88vw, 390px); height: 100%; padding: 24px 22px 26px; background: var(--paper); box-shadow: -24px 0 70px rgba(23,23,22,.16); transform: translateX(102%); transition: transform .32s cubic-bezier(.2,.75,.2,1); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.mobile-menu-brand { font-family:"Playfair Display",serif; font-size: 24px; letter-spacing:.1em; }
.mobile-menu-brand span { display:block; margin-top:4px; font-family:"DM Sans",sans-serif; font-size: 11px; letter-spacing:.28em; }
.mobile-menu-close { width:52px; height:52px; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--ink); font-size: 28px; cursor:pointer; }
.mobile-menu-nav { display:grid; margin-top:12px; }
.mobile-menu-nav a { display:flex; align-items:center; justify-content:space-between; padding:22px 0; border-bottom:1px solid var(--line); font-size: 18px; }
.mobile-menu-nav a span, .mobile-orders-btn span, .mobile-contact-btn span { font-size: 24px; }
.mobile-orders-btn, .mobile-contact-btn { width:100%; display:flex; align-items:center; justify-content:space-between; margin-top:18px; padding:18px 20px; border-radius:14px; cursor:pointer; font-size: 16px; }
.mobile-orders-btn { border:1px solid var(--line); background:transparent; color:var(--ink); }
.mobile-contact-btn { border:1px solid var(--ink); background:var(--ink); color:#fff; }
body.modal-open { overflow:hidden; }
@media (max-width: 900px) {
  .section-heading > a { display:none; }
  .mobile-catalog-link { display:block; width:max-content; margin:30px auto 0; padding-bottom:7px; border-bottom:1px solid currentColor; font-size: 13px; }
}
@media (min-width: 901px) { .mobile-menu { display:none; } }

/* Mobile refinement: keep the visual area under the custom-bouquet CTA compact. */
@media (max-width: 900px) {
  /* Mobile hero: use the real bouquet photo as an atmospheric background while keeping copy readable. */
  .hero {
    position: relative;
    background:
      linear-gradient(90deg, rgba(251,249,246,.98) 0%, rgba(251,249,246,.94) 38%, rgba(251,249,246,.64) 67%, rgba(251,249,246,.28) 100%),
      linear-gradient(180deg, rgba(251,249,246,.98) 0%, rgba(251,249,246,.70) 48%, rgba(251,249,246,.28) 100%),
      url('assets/boombastic/bouquet-01.png') 72% 56% / cover no-repeat;
  }
  .hero-copy { position: relative; z-index: 2; }
  .hero-image { display: none; }

  /* Mobile: remove the decorative bubble area entirely. Keep the CTA section compact. */
  .custom-banner > div:first-child {
    padding-bottom: 34px;
  }
  .custom-image {
    display: none;
  }
}

/* Client catalog filters: same FLOWERS LOVE range slider language as the admin panel. */
.categories button.is-active { background: #f1ebe5; border-color: #cfc4ba; box-shadow: 0 8px 18px rgba(50,40,34,.045); }
.categories-more { display: none; }
.client-catalog-filters {
  margin: -14px 0 34px;
  max-width: 520px;
  padding: 15px 18px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(251,249,246,.82);
}
.client-budget-head { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size: 12px; color:var(--muted); }
.client-budget-head strong { color:var(--ink); font-size: 13px; font-weight:600; white-space:nowrap; }
.client-budget-slider { position:relative; height:30px; margin:3px 7px 0; }
.client-budget-track { position:absolute; left:0; right:0; top:13px; height:4px; border-radius:999px; background:#e8e0d9; }
.client-budget-fill { position:absolute; top:0; bottom:0; border-radius:999px; background:var(--ink); }
.client-budget-slider input[type=range] { position:absolute; left:0; top:3px; width:100%; height:22px; margin:0; appearance:none; -webkit-appearance:none; background:transparent; pointer-events:none; outline:none; }
.client-budget-slider input[type=range]::-webkit-slider-runnable-track { height:4px; background:transparent; }
.client-budget-slider input[type=range]::-moz-range-track { height:4px; background:transparent; }
.client-budget-slider input[type=range]::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:16px; height:16px; margin-top:-6px; border:2px solid #fbf9f6; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1px var(--ink); pointer-events:auto; cursor:pointer; }
.client-budget-slider input[type=range]::-moz-range-thumb { width:12px; height:12px; border:2px solid #fbf9f6; border-radius:50%; background:var(--ink); box-shadow:0 0 0 1px var(--ink); pointer-events:auto; cursor:pointer; }
.client-budget-slider input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow:0 0 0 3px rgba(155,128,117,.2),0 0 0 1px var(--ink); }
.client-budget-slider input[type=range]:focus-visible::-moz-range-thumb { box-shadow:0 0 0 3px rgba(155,128,117,.2),0 0 0 1px var(--ink); }
#clientBudgetMax { z-index:2; }
#clientBudgetMin { z-index:3; }
.client-budget-scale { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; color:var(--muted); font-size: 11px; margin-top:-1px; }
.client-budget-scale span:last-child { text-align:right; }
#clientBudgetReset { border:0; padding:0; background:none; color:var(--muted); font:500 11px/1 "DM Sans",sans-serif; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
#clientBudgetReset:hover { color:var(--ink); }
#clientBudgetReset.is-hidden { visibility:hidden; pointer-events:none; }
.catalog-empty { padding:54px 20px; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:18px; font-size: 13px; }

@media (max-width: 900px) {
  .categories .category-extra { display:none; }
  .categories[data-expanded="1"] .category-extra { display:block; }
  .categories-more { display:block; grid-column:1 / -1; min-height:44px!important; border:0!important; background:transparent!important; box-shadow:none!important; color:var(--muted)!important; font-size: 13px!important; text-decoration:underline; text-underline-offset:4px; }
  .categories[data-expanded="1"] .categories-more { color:var(--ink)!important; }
  .client-catalog-filters { max-width:none; margin:-8px 0 28px; padding:14px 15px 12px; }
  .client-budget-slider { margin-left:5px; margin-right:5px; }
}

/* Functional additions: search, favorites and compact mobile product modal */
.icon-btn#favoritesBtn { position:relative; }
.favorites-count { position:absolute; top:0; right:0; width:15px; height:15px; border-radius:50%; background:var(--ink); color:#fff; font:11px/15px "DM Sans"; }
.product-favorite { position:absolute; top:12px; right:12px; z-index:4; width:34px; height:34px; border:1px solid rgba(23,22,21,.10); border-radius:50%; background:rgba(252,250,247,.86); backdrop-filter:blur(8px); color:var(--ink); font-size: 18px; line-height:1; cursor:pointer; transition:transform .2s ease, background .2s ease; }
.product-favorite:hover { transform:scale(1.05); }
.product-favorite.is-active { background:#ead6d0; color:#8e625d; }
.modal-favorite-btn { align-self:flex-start; margin-bottom:16px; border:0; background:transparent; color:var(--muted); padding:0; font-size: 13px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.modal-favorite-btn.is-active { color:#8e625d; }
.search-modal, .favorites-modal { position:fixed; inset:0; z-index:95; visibility:hidden; pointer-events:none; opacity:0; transition:opacity .22s ease, visibility .22s ease; display:grid; place-items:center; padding:18px; }
.search-modal.is-open, .favorites-modal.is-open { visibility:visible; pointer-events:auto; opacity:1; }
.search-backdrop, .favorites-backdrop { position:absolute; inset:0; background:rgba(23,23,22,.48); backdrop-filter:blur(6px); }
.search-dialog, .favorites-dialog { position:relative; width:min(720px,100%); max-height:88vh; overflow:auto; background:var(--paper); border-radius:22px; box-shadow:0 30px 90px rgba(23,23,22,.24); }
.search-content, .favorites-content { padding:44px 48px 40px; }
.search-content h2, .favorites-content h2 { font-size:clamp(46px,7vw,68px); line-height:.94; margin-bottom:24px; }
.search-close, .favorites-close { position:absolute; top:18px; right:18px; width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:rgba(251,249,246,.9); color:var(--ink); font-size: 25px; cursor:pointer; z-index:2; }
.site-search-input { display:block; width:100%; padding:16px 18px; border:1px solid var(--line); border-radius:13px; background:#fff; color:var(--ink); font:inherit; outline:none; }
.site-search-input:focus { border-color:rgba(23,23,22,.35); }
.search-results, .favorites-list { display:grid; gap:10px; margin-top:18px; }
.search-result, .favorite-card { display:grid; grid-template-columns:76px 1fr; gap:14px; align-items:center; padding:10px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.28); cursor:pointer; }
.search-result-image, .favorite-image { width:76px; height:88px; border-radius:11px; background:center/cover; }
.search-result strong, .favorite-info strong { display:block; font-family:"Playfair Display",serif; font-size: 18px; font-weight:500; }
.search-result span, .favorite-info > span { display:block; margin-top:5px; font-size: 14px; font-weight:600; }
.search-result small { display:block; margin-top:5px; color:var(--muted); font-size: 11px; }
.search-empty, .favorites-state { color:var(--muted); font-size: 14px; }
.favorite-actions { display:flex; gap:8px; margin-top:10px; }
.favorite-actions button { border:1px solid var(--line); border-radius:9px; padding:8px 10px; cursor:pointer; font-size: 12px; }
.secondary-favorite { background:transparent; color:var(--ink); }
.primary-favorite { background:var(--ink); color:#fff; border-color:var(--ink)!important; }
.order-comment { display:block; margin-top:5px; color:var(--muted); line-height:1.4; font-size: 13px; }
@media (max-width:700px) {
  .product-modal { padding:10px; }
  .product-modal-dialog { width:min(430px,100%); max-height:82vh; border-radius:20px; }
  .modal-image { min-height:0; height:clamp(220px,42vh,330px); aspect-ratio:auto; background-position:center; }
  .modal-content { padding:22px 20px 20px; }
  .modal-content .eyebrow { margin-bottom:9px; font-size: 11px; }
  .modal-content h2 { font-size:clamp(34px,10vw,46px); line-height:.95; }
  .modal-description { margin:11px 0 15px; font-size: 14px; line-height:1.55; }
  .modal-meta { margin-bottom:15px; padding:12px 0; }
  .modal-meta span:first-child { font-size: 18px; }
  .modal-add { min-height:46px; }
  .modal-favorite-btn { margin-bottom:9px; }
  .search-modal, .favorites-modal { padding:12px; }
  .search-dialog, .favorites-dialog { max-height:84vh; border-radius:20px; }
  .search-content, .favorites-content { padding:36px 20px 22px; }
  .search-content h2, .favorites-content h2 { font-size: 44px; margin-bottom:20px; }
}


/* FLOWERS LOVE: complete bouquet photographs and natural compact spacing. */
.brand { font-size:24px; letter-spacing:.07em; }
.product-photo { background-size:contain; background-repeat:no-repeat; background-color:#eee9e3; }
.product-modal-dialog { grid-template-columns:48% 52%; max-height:calc(100dvh - 32px); overflow-y:auto; }
.modal-image { background-size:contain; background-repeat:no-repeat; background-color:#eee9e3; min-height:460px; }
.modal-content { padding:32px 28px; justify-content:center; gap:12px; }
.modal-content .eyebrow,.modal-description,.modal-meta,.modal-favorite-btn { margin:0; }
.modal-description { font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
.modal-content h2 { font-size:clamp(28px,3vw,42px); line-height:1.08; overflow-wrap:anywhere; }
.modal-meta { padding:12px 0; }
.modal-add { width:100%; }
.product-reviews-link,.order-review-btn { border:0; background:transparent; color:var(--ink); padding:8px 0; font:inherit; font-size:14px; text-align:left; text-decoration:underline; cursor:pointer; }
.contacts-section { padding:64px 5vw; background:#eee7df; scroll-margin-top:90px; }
.contacts-section h2 { font-size:clamp(32px,4vw,52px); }
.contacts-section > p { max-width:580px; line-height:1.6; }
.contact-links { display:flex; flex-wrap:wrap; gap:12px; margin:26px 0; }
.contact-links a { border:1px solid #b7aca0; border-radius:12px; padding:14px 20px; font-size:16px; }
.contact-links a:hover { background:var(--ink); color:var(--paper); }
.shop-address { border-top:1px solid var(--line); margin-top:30px; padding-top:20px; }
.shop-address p { line-height:1.5; }
.reviews-modal { position:fixed; inset:0; z-index:70; display:none; place-items:center; padding:16px; }
.reviews-modal.is-open { display:grid; }
.reviews-backdrop { position:absolute; inset:0; background:#17171699; backdrop-filter:blur(6px); }
.reviews-dialog { position:relative; width:min(620px,100%); max-height:calc(100dvh - 32px); overflow:auto; padding:36px 28px; background:var(--paper); border-radius:20px; }
.reviews-dialog h2 { font-size:32px; padding-right:30px; }
.reviews-close { position:absolute; top:12px; right:12px; width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:var(--paper); font-size:24px; cursor:pointer; }
.review-card { margin:18px 0; padding:18px 0; border-top:1px solid var(--line); }
.review-card p { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.6; }
.review-card small { color:var(--muted); }
#reviewForm label { display:block; margin:16px 0; }
#reviewForm select,#reviewForm textarea { display:block; width:100%; margin-top:7px; padding:12px; font:inherit; border:1px solid var(--line); border-radius:9px; background:white; }
#reviewForm p { font-size:13px; line-height:1.5; }
#reviewError { color:#9a3333; }
@media(max-width:1100px) { .desktop-nav { gap:15px; } .header-actions { gap:10px; } .orders-btn { padding:8px; } }
@media(max-width:700px) {
 .brand { font-size:18px; letter-spacing:.04em; } .brand span { font-size:9px; letter-spacing:.13em; }
 .site-header { padding-left:16px; padding-right:16px; } .header-actions { gap:9px; }
 .product-modal { padding:12px; }
 .product-modal-dialog { display:block; width:min(440px,100%); max-height:calc(100dvh - 24px); border-radius:20px; }
 .modal-image { height:clamp(180px,42dvh,360px); min-height:0; aspect-ratio:auto; }
 .modal-content { padding:14px 18px 18px; gap:9px; }
 .modal-content .eyebrow { display:none; }
 .modal-content h2 { font-size:28px; }
 .modal-description { font-size:14px; line-height:1.4; }
 .modal-meta { padding:8px 0; }
 .modal-close { top:10px; right:10px; width:40px; height:40px; }
 .modal-add { min-height:44px; padding:10px; }
 .modal-favorite-btn { font-size:13px; padding:4px 0; }
 .product-reviews-link { font-size:13px; padding:3px 0; }
 .contacts-section { padding:40px 20px; }
 .contact-links { gap:8px; } .contact-links a { flex:1; text-align:center; padding:12px; font-size:14px; }
 .checkout-fields input,.checkout-fields select,.checkout-fields textarea,.site-search-input { font-size:16px; }
 .reviews-dialog { padding:40px 20px 24px; }
}
@media(max-height:500px) and (orientation:landscape) {
 .product-modal-dialog { display:grid; grid-template-columns:40% 60%; }
 .modal-image { height:100%; min-height:300px; }
 .modal-content { padding:14px 45px 14px 16px; }
}

.toast { opacity:0; pointer-events:none; } .toast.show { opacity:1; }
@media (max-width:700px) and (max-height:620px) { .modal-image { height:36dvh; } .modal-content { gap:7px; } }
