/* Regalos, Corporativos y Test: mismas piezas que el marketplace (.mk-*). */
.pg { --pg-pad: clamp(16px, 4vw, 48px); background: #FCF5E5; color: #1D1D1D; }
.pg section { padding: 56px var(--pg-pad); }
.pg-inner { max-width: 1200px; margin: 0 auto; }
.pg h2 { margin: 0 0 8px; font-family: var(--font-display, Georgia, serif); font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.02em; text-transform: none; color: #1D1D1D; }
.pg .pg-lead { margin: 0 0 28px; max-width: 620px; color: #3A3A3A; font-size: 17px; line-height: 1.55; }
.pg-hero { background: #EA6D46; padding-top: 120px !important; }
.pg-hero--wine { background: #9E2A5F; color: #FCF5E5; }
.pg-hero h1 { margin: 0 0 14px; font-family: var(--font-display, Georgia, serif); font-size: clamp(44px, 7vw, 88px); line-height: .92; letter-spacing: -.02em; text-transform: none; color: #1D1D1D; max-width: 900px; }
.pg-hero--wine h1 { color: #FCF5E5; }
.pg-hero h1 em { display: inline; color: #FCF5E5; }
.pg-hero p { margin: 0 0 22px; max-width: 560px; font-size: 18px; line-height: 1.5; }
.pg-crumbs { margin-bottom: 18px; font-size: 13px; }
.pg-crumbs a { color: inherit; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: #3D8367; color: #fff; font: 700 15px Montserrat, sans-serif; text-decoration: none; cursor: pointer; }
.pg-btn:hover { background: #2F6B53; }
.pg-btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.pg-btn--ghost:hover { background: rgba(255,255,255,.2); }
.pg-btn[disabled] { opacity: .6; cursor: default; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pg-chip { min-height: 44px; padding: 0 20px; border: 2px solid transparent; border-radius: 999px; background: #fff; color: #1D1D1D; font: 600 14px Montserrat, sans-serif; cursor: pointer; }
.pg-chip[aria-pressed="true"] { border-color: #3D8367; background: #E6F3EC; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pg-card { display: flex; flex-direction: column; border-radius: 24px; background: #fff; overflow: hidden; text-decoration: none; color: #1D1D1D; }
.pg-card__img { position: relative; aspect-ratio: 1; background: #F6EFE3; }
.pg-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-card__badge { position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: #F4B9A3; font-size: 12px; font-weight: 700; }
.pg-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pg-card__body strong { font-family: var(--font-display, Georgia, serif); font-size: 22px; line-height: 1.1; }
.pg-card__body span { font-size: 14px; color: #666; line-height: 1.4; flex: 1; }
.pg-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-weight: 700; }
.pg-card__foot em { font-style: normal; color: #3D8367; font-size: 14px; }
.pg-count { margin: 0 0 18px; font-size: 14px; color: #666; }
.pg-sand { background: #F6EFE3; }
.pg-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pg-tile { padding: 24px; border-radius: 24px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.pg-tile b { font-family: var(--font-display, Georgia, serif); font-size: 24px; font-weight: 600; }
.pg-tile span { color: #555; line-height: 1.5; }
.pg-tile .tag { align-self: start; padding: 5px 12px; border-radius: 999px; background: #E6F3EC; font-size: 12px; font-weight: 700; color: #2F6B53; }
.pg-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 32px; border-radius: 28px; background: #9E2A5F; color: #FCF5E5; }
.pg-cta strong { font-family: var(--font-display, Georgia, serif); font-size: 28px; }
.pg-cta p { margin: 6px 0 0; }
.pg-cta .pg-btn { background: #FCF5E5; color: #1D1D1D; }
.pg-builder { background: #9E2A5F; color: #FCF5E5; border-radius: 28px; padding: clamp(20px, 4vw, 40px); display: grid; gap: 28px; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
.pg-builder h2 { color: #FCF5E5; }
.pg-group { margin-bottom: 20px; }
.pg-group h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: .02em; }
.pg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-opt { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent; background: rgba(252,245,229,.25); color: #FCF5E5; font: 600 14px Montserrat, sans-serif; cursor: pointer; }
.pg-opt[aria-pressed="true"] { background: #FCF5E5; color: #1D1D1D; border-color: #FCF5E5; }
.pg-summary { align-self: start; padding: 22px; border-radius: 22px; background: #FCF5E5; color: #1D1D1D; }
.pg-summary h3 { margin: 0 0 12px; font-family: var(--font-display, Georgia, serif); font-size: 24px; }
.pg-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: 14px; }
.pg-summary dt { color: #666; } .pg-summary dd { margin: 0; font-weight: 700; text-align: right; }
.pg-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.pg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pg-form .wide { grid-column: 1 / -1; }
.pg-form input, .pg-form select, .pg-form textarea { min-height: 48px; padding: 10px 14px; border: 1px solid rgba(29,29,29,.2); border-radius: 12px; background: #fff; font: 400 16px Montserrat, sans-serif; color: #1D1D1D; }
.pg-form textarea { min-height: 96px; resize: vertical; }
.pg-form .hp { position: absolute; left: -9999px; }
.pg-msg { margin: 0; font-size: 15px; font-weight: 600; }
.pg-msg--ok { color: #2F6B53; } .pg-msg--err { color: #9E2A5F; }
.pg-quiz { min-height: 70vh; display: grid; align-items: center; }
.pg-bar { height: 6px; background: #EDE6D8; border-radius: 99px; overflow: hidden; margin-bottom: 36px; }
.pg-bar span { display: block; height: 100%; background: #EA6D46; transition: width .3s; }
.pg-q { display: grid; gap: 36px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.pg-q h1 { margin: 0 0 14px; font-family: var(--font-display, Georgia, serif); font-size: clamp(40px, 6vw, 64px); line-height: .95; letter-spacing: -.02em; text-transform: none; color: #1D1D1D; }
.pg-q h1 em { display: inline; color: #9E2A5F; }
.pg-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-answer { padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #1D1D1D; }
.pg-answer img { display: block; width: 100%; height: 220px; object-fit: cover; }
.pg-answer span { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.pg-answer strong { font-family: var(--font-display, Georgia, serif); font-size: 22px; }
.pg-answer small { font-size: 14px; color: #666; }
.pg-result { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; border-radius: 28px; padding: clamp(20px, 4vw, 48px); }
.pg-result h1 { margin: 12px 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(48px, 7vw, 76px); line-height: .92; text-transform: none; color: #1D1D1D; }
.pg-result h1 em { display: inline; color: #9E2A5F; }
.pg-result img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; }
.pg-result .pg-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 8px; }
.pg-result button.link { background: none; border: 0; text-decoration: underline; font: 700 15px Montserrat, sans-serif; cursor: pointer; color: #1D1D1D; }
.pg-footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .pg section { padding: 40px var(--pg-pad); }
  .pg-hero { padding-top: 96px !important; }
  .pg-builder, .pg-q, .pg-result { grid-template-columns: 1fr; }
  .pg-form { grid-template-columns: 1fr; }
  .pg-answers { grid-template-columns: 1fr; }
  .pg-answer img { height: 160px; }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-card__body { padding: 14px; } .pg-card__body strong { font-size: 18px; }
}

/* Ficha del vino: cómo es, mesa, curiosidades */
.shop-detail { grid-column: 1 / -1; margin-top: 40px; }
.shop-detail__quote { margin: 0 0 24px; font-family: var(--font-display, Georgia, serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: #9E2A5F; }
.shop-detail__title, .shop-detail h2 { margin: 0 0 16px; font-family: var(--font-display, Georgia, serif); font-size: 28px; text-transform: none; }
.shop-detail__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shop-detail__card { padding: 24px; border-radius: 24px; background: #fff; }
.shop-detail__card--wide { grid-column: 1 / -1; background: #F6EFE3; }
.shop-detail dl { margin: 0; display: grid; gap: 4px; }
.shop-detail dt { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #666; }
.shop-detail dd { margin: 0; line-height: 1.5; }
.shop-detail ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.shop-detail__legal { margin: 20px 0 0; font-size: 12px; color: #666; }
.shop-taste { display: grid; grid-template-columns: 80px 1fr; gap: 2px 14px; align-items: center; margin-bottom: 14px; font-size: 14px; }
.shop-taste__dots { display: flex; gap: 6px; }
.shop-taste__dots i { width: 22px; height: 10px; border-radius: 99px; background: #EDE6D8; }
.shop-taste__dots i.on { background: #EA6D46; }
.shop-taste__ends { grid-column: 2; display: flex; justify-content: space-between; color: #666; }
@media (max-width: 800px) { .shop-detail__grid { grid-template-columns: 1fr; } }

/* Regalos: tarjetas de boxes y armador */
.rg-card { padding: 0; border: 0; text-align: left; font: inherit; cursor: pointer; }
.rg-card[disabled], .rg-card.is-soldout { opacity: .6; }
.rg-card .pg-card__foot s { color: #999; font-weight: 500; font-size: 13px; margin-right: 4px; }
.rg-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display, Georgia, serif); font-size: 28px; color: #9E2A5F; }
.rg-format { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9E2A5F; }
.rg-starter { background: #3D8367; }
.rg-starter__off { font-weight: 700; }
body.rg-lock { overflow: hidden; }
.rg-dialog { position: fixed; inset: 0; margin: auto; width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: #FCF5E5; color: #1D1D1D; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.rg-dialog::backdrop { background: rgba(29,29,29,.55); }
.rg-dialog__inner { position: relative; padding: clamp(20px, 4vw, 34px); display: grid; gap: 14px; font-family: Montserrat, sans-serif; }
.rg-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 16px; cursor: pointer; }
.rg-head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding-right: 40px; }
.rg-head img { width: 120px; height: 120px; object-fit: cover; border-radius: 18px; }
.rg-head h2 { margin: 4px 0 6px; font-family: var(--font-display, Georgia, serif); font-size: clamp(28px, 4vw, 38px); line-height: 1; text-transform: none; }
.rg-head p { margin: 0; color: #555; line-height: 1.5; }
.rg-h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #666; }
.rg-link { border: 0; background: none; color: #9E2A5F; font: 700 13px Montserrat, sans-serif; text-transform: none; letter-spacing: 0; text-decoration: underline; cursor: pointer; }
.rg-lines { list-style: none; margin: 0; padding: 0; border-radius: 18px; background: #fff; }
.rg-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #F1E8D8; font-size: 14px; }
.rg-lines li:last-child { border-bottom: 0; }
.rg-lines .rg-empty { display: block; color: #777; }
.rg-lines .rg-line--fixed { color: #444; }
.rg-line--fixed .rg-qty { background: transparent; color: #2F6B53; }
.rg-line__price { color: #666; font-size: 13px; white-space: nowrap; }
.rg-qty { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; background: #F6EFE3; }
.rg-qty button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; cursor: pointer; color: #1D1D1D; }
.rg-qty button:disabled { opacity: .35; cursor: default; }
.rg-qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; padding: 0 4px; }
.rg-qty--big { background: #fff; }
.rg-qty--big button { width: 44px; height: 44px; }
.rg-addbox { display: grid; gap: 10px; }
.rg-search { min-height: 46px; padding: 0 16px; border: 1px solid rgba(29,29,29,.15); border-radius: 999px; background: #fff; font: 400 15px Montserrat, sans-serif; }
.rg-cats { margin: 0; gap: 6px; }
.rg-cats .pg-chip { min-height: 36px; padding: 0 14px; font-size: 13px; }
.rg-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; max-height: 240px; overflow: auto; padding: 2px; }
.rg-add { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid transparent; border-radius: 14px; background: #fff; text-align: left; font: 500 13px Montserrat, sans-serif; color: #1D1D1D; cursor: pointer; }
.rg-add:hover { border-color: #3D8367; }
.rg-add small { display: block; color: #888; font-size: 11px; }
.rg-add b { white-space: nowrap; color: #2F6B53; }
.rg-none { grid-column: 1 / -1; color: #777; font-size: 14px; margin: 0; }
.rg-foot { position: sticky; bottom: calc(-1 * clamp(20px, 4vw, 34px)); margin: 0 calc(-1 * clamp(20px, 4vw, 34px)) calc(-1 * clamp(20px, 4vw, 34px)); padding: 16px clamp(20px, 4vw, 34px); background: #FCF5E5; border-top: 1px solid #EADFCB; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.rg-price b { font-family: var(--font-display, Georgia, serif); font-size: 30px; }
.rg-price s { color: #999; font-size: 15px; }
.rg-price small { display: block; color: #2F6B53; font-weight: 700; font-size: 12px; }
.rg-buy { display: flex; gap: 10px; align-items: center; }
.rg-wa { grid-column: 1 / -1; font-size: 13px; color: #1f6b4d; text-decoration: underline; text-underline-offset: 3px; }
.rg-hint { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #777; }
.rg-hint span:first-child { font-weight: 700; color: #1D1D1D; margin-right: 6px; }
@media (max-width: 600px) {
  .rg-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .rg-head { grid-template-columns: 1fr; }
  .rg-head img { width: 100%; height: 180px; }
  .rg-lines li { grid-template-columns: minmax(0, 1fr) auto; }
  .rg-line__price { grid-row: 2; font-size: 12px; }
  .rg-foot { grid-template-columns: 1fr; }
  .rg-buy { justify-content: space-between; }
  .rg-buy .pg-btn { flex: 1; }
}
.rg-card .pg-card__body > span:not(.pg-card__foot) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.rg-card .pg-card__foot { margin-top: auto; padding-top: 10px; }

/* Ficha: "Si te gusta este, probá…" con fondo de color y cepa/bodega */
[data-related] .pg-card:nth-child(4n+1) .pg-card__img { background: #CDE9DA; }
[data-related] .pg-card:nth-child(4n+2) .pg-card__img { background: #F8D9C9; }
[data-related] .pg-card:nth-child(4n+3) .pg-card__img { background: #F3E6C4; }
[data-related] .pg-card:nth-child(4n+4) .pg-card__img { background: #F4B9A3; }
[data-related] .pg-card__img img { object-fit: contain; padding: 14px; }
.pg-card__kind { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9E2A5F; }
.pg-chips--budget { margin-top: -16px; }
.pg-chips--budget .pg-chip { min-height: 38px; font-size: 13px; }

/* ===== Tarjetas parejas (mismo criterio en todas las pantallas) ===== */
/* Listados: 4 por fila en compu, 2 en celular, todas del mismo tamaño. */
.pg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pg-card__img{overflow:hidden}
.pg-card__img img{position:absolute;inset:0}
.pg-card__body strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.2em}
.pg-card__body>span:not(.pg-card__foot){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:0 1 auto;min-height:4.2em}
.pg-card__foot{margin-top:auto;padding-top:10px}
/* "Otros regalos / picadas / productos": una sola fila, mismo tamaño, se desliza sin barra. */
[data-more],[data-related],[data-ideas]{display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:2px 0 8px}
[data-more]::-webkit-scrollbar,[data-related]::-webkit-scrollbar,[data-ideas]::-webkit-scrollbar{display:none;width:0;height:0}
[data-more]>.pg-card,[data-related]>.pg-card,[data-ideas]>.pg-card{flex:0 0 230px;width:230px;scroll-snap-align:start}
@media(max-width:700px){[data-more],[data-related],[data-ideas]{gap:10px}[data-more]>.pg-card,[data-related]>.pg-card,[data-ideas]>.pg-card{flex-basis:165px;width:165px}}
@media(max-width:700px){.pg-card__foot{flex-direction:column;align-items:flex-start;gap:2px}.pg-card__foot em{font-size:13px}}
