/* VacationTravelKits — Packing Shelf page */

.shelf-hero { background: #0F3D2E; color: #F7F4EA; padding: 26px 22px 132px; }
.shelf-hero__inner { max-width: 1180px; margin: 0 auto; }
.shelf-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.shelf-pill { padding: 7px 15px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.shelf-pill--gold { background: #2C8C5A; color: #F7F4EA; }
.shelf-pill--outline { border: 1.5px solid rgba(247,244,234,.28); color: rgba(247,244,234,.8); }
.shelf-hero h1 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: clamp(36px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -1.6px; margin: 0 0 16px; max-width: 20em; text-wrap: balance; }
.shelf-hero__highlight { color: #F4B72A; }
.shelf-hero__intro { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(247,244,234,.74); max-width: 40em; text-wrap: pretty; }

/* Edit trip modal */
.shelf-modal-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(15,61,46,.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center; padding: 5vh 20px 20px; overflow-y: auto;
}
.shelf-modal-overlay[hidden] { display: none; }
.shelf-modal { width: 100%; max-width: 760px; background: #fff; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.3); overflow: hidden; }
.shelf-modal__head { padding: 22px 28px; background: #0F3D2E; color: #F7F4EA; display: flex; align-items: center; gap: 16px; }
.shelf-modal__title { margin: 0 0 3px; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 23px; letter-spacing: -.4px; }
.shelf-modal__sub { margin: 0; font-size: 14px; color: rgba(247,244,234,.7); }
.shelf-modal__close {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(247,244,234,.3);
  background: none; color: #F7F4EA; font-size: 20px; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.shelf-modal__close:hover { background: rgba(247,244,234,.14); }
.shelf-modal__body { padding: 26px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-height: 62vh; overflow-y: auto; }
@media (max-width: 720px) { .shelf-modal__body { grid-template-columns: 1fr; } }
.shelf-edit-label { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(15,61,46,.5); }
.shelf-pick-row { display: flex; flex-wrap: wrap; gap: 7px; }
.shelf-pick {
  padding: 8px 14px; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 500;
  border: 1.5px solid rgba(15,61,46,.14); background: #F7F4EA; color: #0F3D2E; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.shelf-pick[aria-pressed="true"] { font-weight: 700; border: 1.5px solid #0F3D2E; background: #0F3D2E; color: #F7F4EA; }
.shelf-traveler-list { display: flex; flex-direction: column; gap: 8px; }
.shelf-traveler-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1.5px solid rgba(15,61,46,.12); border-radius: 12px; }
.shelf-traveler-row__label { font-size: 14.5px; font-weight: 500; flex: 1; }
.shelf-stepper {
  width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid rgba(15,61,46,.16); background: #F7F4EA;
  font-size: 17px; line-height: 1; cursor: pointer; color: #0F3D2E;
}
.shelf-stepper:hover { border-color: #2C8C5A; color: #2C8C5A; }
.shelf-traveler-row__count { min-width: 20px; text-align: center; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 17px; }
.shelf-modal__footer { padding: 18px 28px; border-top: 1.5px solid rgba(15,61,46,.1); background: #F7F4EA; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shelf-modal__count { margin: 0; font-size: 14px; color: rgba(15,61,46,.62); }

/* Buttons */
.shelf-btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none;
  font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 16px; transition: background .18s ease, transform .18s ease, color .18s ease;
}
.shelf-btn--dark { background: #0F3D2E; color: #F7F4EA; }
.shelf-btn--dark:hover { background: #2C8C5A; color: #F7F4EA; }
.shelf-btn--outline { border: 1.5px solid rgba(15,61,46,.2); background: transparent; color: #0F3D2E; }
.shelf-btn--outline:hover { background: #fff; color: #0F3D2E; }

/* Cover card */
.shelf-cover-wrap { padding: 0 22px 20px; margin-top: -96px; position: relative; z-index: 5; }
.shelf-print-only { display: none; }
.shelf-cover {
  max-width: 1180px; margin: 0 auto; background: #fff; border: 2px solid rgba(15,61,46,.12);
  border-radius: 26px; box-shadow: 0 24px 50px rgba(15,61,46,.12); overflow: hidden;
}
.shelf-cover__top { display: grid; grid-template-columns: 1.5fr 1fr; }
@media (max-width: 980px) { .shelf-cover__top { grid-template-columns: 1fr; } }
.shelf-cover__left { padding: 28px 30px; display: flex; align-items: center; gap: 24px; border-right: 1px solid rgba(15,61,46,.1); }
@media (max-width: 980px) { .shelf-cover__left { border-right: 0; border-bottom: 1px solid rgba(15,61,46,.1); } }
.shelf-ring {
  flex: 0 0 auto; width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#2C8C5A 0deg, rgba(15,61,46,.1) 0deg);
}
.shelf-ring__inner { width: 82px; height: 82px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.shelf-ring__pct { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 24px; line-height: 1; }
.shelf-ring__label { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(15,61,46,.5); }
.shelf-cover__title { margin: 0 0 5px; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 25px; letter-spacing: -.4px; }
.shelf-cover__sub { margin: 0 0 12px; font-size: 15px; color: rgba(15,61,46,.62); }
.shelf-chips { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.shelf-chip { padding: 6px 12px; border-radius: 8px; background: #F7F4EA; border: 1px solid rgba(15,61,46,.1); font-size: 13px; font-weight: 500; }
.shelf-edit-toggle {
  padding: 6px 13px; border-radius: 8px; background: none; border: 1.5px dashed rgba(15,61,46,.38);
  font-family: inherit; font-size: 13px; font-weight: 700; color: #0F3D2E; cursor: pointer;
}
.shelf-edit-toggle:hover { background: #F7F4EA; border-color: #2C8C5A; color: #2C8C5A; }
.shelf-cover__right { padding: 24px 26px; background: #F7F4EA; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.shelf-why-label { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(15,61,46,.5); }
.shelf-why-line { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(15,61,46,.8); }
.shelf-why-stats { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.shelf-stat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(15,61,46,.6); }
.shelf-stat__icon { font-size: 15px; line-height: 1; }

/* Sections */
.shelf-section { padding: 34px 22px 8px; }
.shelf-section__inner { max-width: 1180px; margin: 0 auto; }
.shelf-section__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.shelf-section__head h2 { margin: 0; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 33px; letter-spacing: -.7px; }
.shelf-section__kicker { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2C8C5A; }
.shelf-section__intro { margin: 0 0 14px; font-size: 16.5px; line-height: 1.55; color: rgba(15,61,46,.66); max-width: 46em; }
.shelf-disclosure { margin: 0 0 22px; font-size: 12.5px; color: rgba(15,61,46,.5); }
.shelf-disclosure a { color: rgba(15,61,46,.6); text-decoration: underline; }

/* Product shelf grid */
.shelf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1079px) { .shelf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 759px) { .shelf-grid { gap: 12px; } }

.shelf-card {
  position: relative; background: #fff; border: 2px solid rgba(15,61,46,.1); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.shelf-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(15,61,46,.14); border-color: rgba(44,140,90,.5); }
.shelf-card__photo { display: block; position: relative; aspect-ratio: 4/3; }
.shelf-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.shelf-card__photo-placeholder {
  position: absolute; inset: 16px; border: 1.5px dashed rgba(15,61,46,.22); border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(15,61,46,.36);
}
.shelf-card__badge {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 8px; background: rgba(15,61,46,.9);
  color: #F7F4EA; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.shelf-card__check {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; line-height: 1;
  border: 2px solid rgba(15,61,46,.18); background: rgba(255,255,255,.92); color: #0F3D2E;
}
.shelf-card__check[aria-pressed="true"] { border-color: #2C8C5A; background: #2C8C5A; color: #fff; }
.shelf-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shelf-card__name { margin: 0; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.2px; color: #0F3D2E; display: block; }
a.shelf-card__name:hover { color: #2C8C5A; }
.shelf-card__why { margin: 0; font-size: 14.5px; line-height: 1.45; color: rgba(15,61,46,.66); flex: 1; }
.shelf-card__foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 4px; border-top: 1px solid rgba(15,61,46,.08); }
.shelf-card__cta { padding: 9px 14px; border-radius: 10px; background: #F4B72A; color: #0F3D2E; font-size: 14px; font-weight: 700; white-space: nowrap; }
.shelf-card__cta:hover { background: #0F3D2E; color: #F4B72A; }
.shelf-card__cta--disabled { background: rgba(15,61,46,.08); color: rgba(15,61,46,.4); cursor: default; }

@media (max-width: 759px) {
  .shelf-card__body { padding: 12px 13px 14px; gap: 6px; }
  .shelf-card__name { font-size: 16.5px; }
  .shelf-card__why { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .shelf-card__cta { padding: 8px 11px; font-size: 13px; }
  .shelf-card__badge { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 10px; }
}

/* First-timer tip band */
.shelf-tipband { background: #0F3D2E; color: #F7F4EA; border-radius: 26px; padding: 38px 40px; }
.shelf-tipband__kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #E0A21C; }
.shelf-tipband__title { margin: 0 0 26px; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 32px; letter-spacing: -.7px; max-width: 16em; }
.shelf-tipband__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 759px) { .shelf-tipband__grid { grid-template-columns: 1fr; } }
.shelf-tip { border-top: 2px solid rgba(224,162,28,.5); padding-top: 16px; }
.shelf-tip__head { margin: 0 0 8px; font-family: 'Baloo 2', cursive; font-weight: 700; font-size: 19px; }
.shelf-tip__body { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(247,244,234,.72); }

/* Own / Do split */
.shelf-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
@media (max-width: 980px) { .shelf-split { grid-template-columns: 1fr; } }
.shelf-own-card, .shelf-do-card { border: 2px solid rgba(15,61,46,.1); border-radius: 22px; padding: 30px 32px; }
.shelf-own-card { background: #fff; }
.shelf-do-card { background: #F0EADA; }
.shelf-own-card h2, .shelf-do-card h2 { margin: 0 0 6px; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 27px; letter-spacing: -.5px; }
.shelf-chip-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.shelf-own-chip {
  padding: 9px 14px; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 500;
  border: 1.5px solid rgba(15,61,46,.14); background: #F7F4EA; color: #0F3D2E; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.shelf-own-chip[aria-pressed="true"] { border-color: #2C8C5A; background: #2C8C5A; color: #fff; }
.shelf-task-list { display: flex; flex-direction: column; gap: 2px; }
.shelf-task-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; background: none; border: 0;
  border-bottom: 1px solid rgba(15,61,46,.1); cursor: pointer; font-family: inherit; font-size: 15.5px; font-weight: 500; color: #0F3D2E; text-align: left;
}
.shelf-task-row[aria-pressed="true"] { color: rgba(15,61,46,.4); text-decoration: line-through; }
.shelf-task-row__box {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; border: 2px solid rgba(15,61,46,.22); background: #fff;
}
.shelf-task-row[aria-pressed="true"] .shelf-task-row__box { border-color: #2C8C5A; background: #2C8C5A; }
.shelf-task-row[aria-pressed="true"] .shelf-task-row__box::after { content: "✓"; }
.shelf-task-row__when { margin-left: auto; font-size: 13px; font-weight: 700; color: #2C8C5A; white-space: nowrap; }

/* Print-only flat list (also shown on-screen via "See all as a list") */
.shelf-print-list-section[hidden] { display: none; }
.shelf-print-list-section { padding: 20px 22px 8px; }
.shelf-print-group { margin-bottom: 22px; }
.shelf-print-group h3 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 20px; margin: 0 0 10px; }
.shelf-print-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dotted rgba(15,61,46,.2); font-size: 15px; }
.shelf-print-box { width: 18px; height: 18px; border: 1.5px solid rgba(15,61,46,.4); border-radius: 4px; flex: 0 0 auto; }

/* Closing */
.shelf-closing { padding: 46px 22px 70px; text-align: center; }
.shelf-closing__line { margin: 0 0 6px; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 28px; letter-spacing: -.5px; }
.shelf-closing__note { margin: 0 0 20px; font-size: 16px; color: rgba(15,61,46,.6); }
.shelf-closing__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.shelf-closing__disclosure { margin: 0; font-size: 12.5px; color: rgba(15,61,46,.45); max-width: 40em; margin-inline: auto; }

/* Print */
@media print {
  @page { margin: .55in; }
  body { background: #fff !important; }
  [data-print="hide"] { display: none !important; }
  [data-print="only"] { display: block !important; }
  .shelf-print-only { display: block !important; }
  [data-print="card"] { break-inside: avoid; }
  [data-print="row"] { padding: 6px 0 !important; }
  .shelf-print-title { margin: 0; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 24px; }
  .shelf-print-summary { margin: 4px 0 0; font-size: 13px; color: #444; }
  .shelf-print-legal { margin: 10px 0 0; font-size: 11px; color: #666; }
}
