/* Appily Twentyfour — Florist Wrap Bench (unique cart layout) */

.page-florist-wrap {
  --fw-ink: #1a1a1a;
  --fw-muted: #64748b;
  --fw-line: #e2e8f0;
  --fw-paper: #fffdf8;
  --fw-kraft: #e8dcc8;
  --fw-sage: #e8f3ec;
  --fw-sage-deep: #2d5a3d;
  --fw-orange: #f05a40;
  --fw-orange-soft: #fff0ec;
  --fw-shadow: 0 22px 58px rgba(26, 26, 26, 0.1);
}

.page-florist-wrap .page-main {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
}

/* ── Hero wrap bench ── */
.fw-bench-hero {
  position: relative;
  padding: 44px 0 52px;
  overflow: hidden;
  background: var(--fw-sage-deep);
  color: #fff;
}

.fw-bench-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.04) 28px,
      rgba(255, 255, 255, 0.04) 30px
    ),
    radial-gradient(circle at 85% 20%, rgba(240, 90, 64, 0.25) 0, transparent 40%);
}

.fw-bench-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.fw-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.fw-bench-grid h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.fw-bench-grid h1 em {
  font-style: normal;
  color: #ffd0c8;
}

.fw-bench-lede {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.fw-spool {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  min-width: 130px;
}

.fw-spool strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--fw-orange);
}

.fw-spool span {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.fw-spool em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ── Market floor ── */
.fw-floor {
  padding: 28px 0 56px;
}

.fw-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: var(--fw-muted);
}

.fw-trail a:hover { color: var(--fw-orange); }

/* Empty */
.fw-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 2px dashed var(--fw-kraft);
  border-radius: 16px;
}

.fw-empty-box {
  position: relative;
  width: 120px;
  height: 80px;
  margin: 0 auto 20px;
  border: 3px solid var(--fw-kraft);
  border-radius: 8px;
  background: var(--fw-paper);
}

.fw-empty-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  border: 3px solid var(--fw-kraft);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: var(--fw-orange-soft);
}

.fw-empty h2 {
  margin: 0 0 8px;
}

.fw-empty p {
  margin: 0 0 18px;
  color: var(--fw-muted);
}

/* Layout */
.fw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.fw-sleeves-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fw-sleeves-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.fw-sleeves-head p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--fw-muted);
}

.fw-sleeves-stamp {
  padding: 8px 12px;
  border: 2px solid var(--fw-orange);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fw-orange);
  transform: rotate(-2deg);
}

.fw-sleeves {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fw-sleeve {
  position: relative;
}

.fw-sleeve-fold {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 12px;
  background: linear-gradient(180deg, var(--fw-kraft) 0%, #dccfbb 100%);
  border-radius: 6px 6px 0 0;
  z-index: 1;
}

.fw-sleeve-card {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--fw-shadow);
}

.fw-sleeve-num {
  position: absolute;
  top: 14px;
  left: 12px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--fw-muted);
}

.fw-thumb {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--fw-sage);
  border: 1px solid var(--fw-line);
}

.fw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fw-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
}

.fw-sleeve-body h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.fw-sleeve-body h3 a:hover { color: var(--fw-orange); }

.fw-sleeve-pack {
  margin: 0 0 6px;
  font-size: 0.82rem;
  color: var(--fw-muted);
}

.fw-sleeve-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fw-sage-deep);
}

.fw-unit,
.fw-line {
  text-align: right;
  min-width: 72px;
}

.fw-unit span,
.fw-line span,
.fw-qty-wrap span {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fw-muted);
  margin-bottom: 4px;
}

.fw-unit strong,
.fw-line strong {
  font-size: 0.95rem;
  color: var(--fw-orange);
}

.fw-qty-wrap {
  min-width: 110px;
}

.fw-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--fw-line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--fw-paper);
}

.fw-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fw-sage-deep);
  cursor: pointer;
}

.fw-qty-btn:hover { background: var(--fw-orange-soft); color: var(--fw-orange); }

.fw-qty input {
  width: 42px;
  border: none;
  text-align: center;
  font: inherit;
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}

.fw-qty input::-webkit-outer-spin-button,
.fw-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fw-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  text-decoration: none;
}

.fw-btn:hover { transform: translateY(-1px); }

.fw-btn-primary { background: var(--fw-orange); color: #fff; }
.fw-btn-primary:hover { background: #d94a32; }

.fw-btn-soft {
  background: #fff;
  color: var(--fw-sage-deep);
  border: 1px solid var(--fw-line);
}

.fw-btn-ghost {
  background: transparent;
  color: var(--fw-muted);
  border: 1px solid var(--fw-line);
}

.fw-btn-block { width: 100%; }

/* Aside receipt */
.fw-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 120px;
}

.fw-nudge {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 10px;
  transition: border-color 0.15s;
}

.fw-nudge:hover { border-color: var(--fw-orange); }

.fw-nudge img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.fw-nudge span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fw-orange);
}

.fw-nudge strong {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
}

.fw-receipt {
  position: relative;
  padding: 22px 20px 28px;
  background: #fff;
  border: 1px solid var(--fw-line);
  box-shadow: var(--fw-shadow);
}

.fw-receipt::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background:
    radial-gradient(circle at 8px 0, transparent 6px, #fff 6px);
  background-size: 16px 8px;
}

.fw-receipt::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background:
    radial-gradient(circle at 8px 8px, transparent 6px, #fff 6px);
  background-size: 16px 8px;
}

.fw-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #94a3b8, #64748b);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fw-receipt-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fw-orange);
}

.fw-receipt h2 {
  margin: 4px 0 4px;
  font-size: 1.15rem;
}

.fw-receipt-date {
  margin: 0 0 16px;
  font-size: 0.76rem;
  color: var(--fw-muted);
}

.fw-receipt-rows {
  margin: 0 0 14px;
  padding: 0;
}

.fw-receipt-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--fw-line);
  font-size: 0.88rem;
}

.fw-receipt-rows dt {
  margin: 0;
  color: var(--fw-muted);
}

.fw-receipt-rows dd {
  margin: 0;
  font-weight: 700;
}

.fw-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 18px;
  font-size: 1rem;
}

.fw-receipt-total strong {
  font-size: 1.2rem;
  color: var(--fw-orange);
}

.fw-receipt-actions {
  display: grid;
  gap: 8px;
}

.fw-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.fw-notes li {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--fw-line);
  border-radius: 8px;
  font-size: 0.8rem;
}

.fw-notes strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.fw-notes p {
  margin: 0;
  color: var(--fw-muted);
  line-height: 1.45;
}

.fw-note-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fw-sage);
  color: var(--fw-sage-deep);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .fw-layout { grid-template-columns: 1fr; }
  .fw-aside { position: static; }
  .fw-sleeve-card {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  .fw-unit, .fw-qty-wrap, .fw-line {
    grid-column: 2;
    text-align: left;
  }
  .fw-unit, .fw-line { display: flex; gap: 8px; align-items: baseline; }
  .fw-unit span, .fw-line span { margin: 0; }
}

@media (max-width: 560px) {
  .fw-bench-grid { grid-template-columns: 1fr; }
  .fw-sleeve-card { grid-template-columns: 1fr; }
  .fw-thumb { width: 100%; height: 160px; }
}
