/* ===== Home page extras: promo popup, featured products ===== */
/* Isolated from refined.css. Placeholder content is edited directly in index.html. */

/* --- Promo popup (Offer + Trip) --- */
.promo-dialog { max-width: 700px; width: calc(100% - 32px); border: 0; border-radius: 12px; padding: 0; overflow: hidden; color: var(--ink, #243b33); }
.promo-dialog::backdrop { background: rgba(18, 28, 22, .55); backdrop-filter: blur(3px); }
.promo-inner { display: grid; grid-template-columns: 1.05fr 1fr; }
.promo-media { position: relative; background: linear-gradient(155deg, #3c0869, #64218f 62%, #8a4bb0); color: #fff; padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 300px; }
.promo-media .eyebrow { color: #ecdcf7; font-size: 9px; letter-spacing: .14em; margin: 0; }
.promo-media h2 { font-family: 'Manrope', sans-serif; font-size: 30px; line-height: 1.15; margin: 12px 0 0; font-weight: 500; }
.promo-badges { display: flex; flex-direction: column; gap: 10px; }
.promo-badge { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 9px; padding: 12px 14px; }
.promo-badge span { display: block; font-size: 9px; letter-spacing: .14em; color: #ecdcf7; margin-bottom: 3px; }
.promo-badge strong { font-weight: 500; font-size: 14px; }
.promo-body { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--paper, #fafbf8); }
.promo-body h3 { font-family: 'Manrope', sans-serif; font-size: 22px; margin: 0; font-weight: 500; }
.promo-body p { font-size: 13px; line-height: 1.75; color: var(--muted, #707770); margin: 0; }
.promo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 6px; }
.promo-note { font-size: 10px; color: #9aa39a; margin: 0; }
/* The close button sits over the light body on desktop and the purple panel on phones, so it carries its own white disc. */
.promo-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: #fff; border: 1px solid rgba(60, 8, 105, .16); box-shadow: 0 2px 8px rgba(30, 10, 50, .14); color: #3c0869; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.promo-close:hover { background: #f3ebf9; }
.promo-close:focus-visible { outline-offset: 2px; }
/* The heading takes focus when the popup opens (autofocus) so the close button isn't ringed; it isn't interactive, so no outline. */
.promo-dialog h2:focus { outline: none; }
.promo-dialog .promo-dismiss { background: none; border: 0; padding: 4px 0; color: #64218f; font-size: 13px; }
@media (max-width: 640px) {
  .promo-inner { grid-template-columns: 1fr; }
  .promo-media { min-height: 0; padding: 26px 22px; }
  .promo-media h2 { font-size: 25px; }
  .promo-body { padding: 24px 22px; }
  .promo-close { width: 40px; height: 40px; }
}

/* --- Featured products & categories --- */
.category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.category-chips a { font-size: 12px; border: 1px solid var(--line, #dfe4dc); border-radius: 20px; padding: 8px 14px; color: var(--ink, #243b33); }
.category-chips a:hover { border-color: #64218f; color: #64218f; }
.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-tile { display: flex; flex-direction: column; border: 1px solid var(--line, #dfe4dc); border-radius: 9px; overflow: hidden; background: #fff; }
.product-tile-img { aspect-ratio: 1 / 1; background: #f0e9df; overflow: hidden; }
.product-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-tile:hover .product-tile-img img { transform: scale(1.04); }
.product-tile-body { padding: 14px 15px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-tile .cat { font-size: 9px; letter-spacing: .1em; color: #957447; text-transform: uppercase; }
.product-tile h3 { font-size: 15px; margin: 0; font-weight: 500; }
.product-tile .price { margin-top: auto; font-size: 13px; color: var(--muted, #707770); }
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .featured-grid { gap: 12px; } .product-tile h3 { font-size: 14px; } }
