/* Golf Deals (sandbox) */
body.gwi-golf-deals-page .home-search-card,body.gwi-golf-deals-page .home-welcome{display:none!important}
.golf-deals-card{margin-top:14px}
.golf-deals-root{--g-ink:#12211c;--g-muted:#5b6b63;--g-line:#dbe3de;--g-green:#0c3b2e;--g-gold:#c9a227;--g-gold-l:#f6c65b;--g-red:#c62828;color:var(--g-ink)}
.golf-deals-root a{color:inherit}
.gdl-h3{margin:0 0 10px;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1a6b4f}

.gdl-head{padding:20px 22px;border-radius:18px;color:#fff;background:radial-gradient(circle at 90% -30%,rgba(246,198,91,.32),transparent 45%),linear-gradient(135deg,#0c3b2e,#145440 65%,#1a6b4f);box-shadow:0 12px 28px rgba(12,59,46,.18)}
.gdl-kicker{margin:0 0 4px;font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--g-gold-l)}
.gdl-head h2{margin:0;font-family:'Fraunces',Georgia,'Times New Roman',serif;font-weight:650;font-size:1.7rem;line-height:1.12}
.gdl-sub{margin:6px 0 0;color:#cfe3da;font-size:.88rem}
.gdl-sub strong{color:#fff}

/* promos */
.gdl-promos{margin-top:16px}
.gdl-promo-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);gap:10px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}
.gdl-promo-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:14px;background:#fffbef;border:1px dashed var(--g-gold);text-decoration:none;min-height:104px}
.gdl-promo-card:hover{background:#fff6dc}
.gdl-promo-store{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8a5a00}
.gdl-promo-card strong{font-size:.9rem;line-height:1.25}
.gdl-code{align-self:flex-start;font:800 .78rem/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;background:#0c3b2e;color:#fff;padding:5px 8px;border-radius:7px;cursor:copy}
.gdl-promo-when{margin-top:auto;font-size:.74rem;color:var(--g-muted);font-weight:650}
.gdl-soon{color:var(--g-red)}

/* layout */
.gdl-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;margin-top:18px;align-items:start}
.gdl-side{position:sticky;top:84px;display:grid;gap:12px}

/* filters */
.gdl-filters{background:#fff;border:1px solid var(--g-line);border-radius:16px;padding:12px;display:grid;gap:10px;box-shadow:0 6px 16px rgba(12,59,46,.05)}
.gdl-row1{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.gdl-search,.gdl-sel,.gdl-min select{height:42px;border:1px solid #cbd5cf;border-radius:11px;padding:0 12px;font:inherit;font-size:.9rem;background:#fff;min-width:0}
.gdl-min select{height:34px;padding:0 8px}
.gdl-search:focus,.gdl-sel:focus{outline:0;border-color:#1a6b4f;box-shadow:0 0 0 3px rgba(20,84,64,.12)}
.gdl-chips{display:flex;flex-wrap:wrap;gap:6px}
.gdl-chip{appearance:none;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--g-line);background:#fff;font:inherit;font-size:.78rem;font-weight:700;color:#33443c;padding:6px 10px;border-radius:999px;cursor:pointer}
.gdl-chip:hover{border-color:#1a6b4f}
.gdl-chip[aria-pressed="true"]{background:var(--g-green);border-color:var(--g-green);color:#fff}
.gdl-row2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.gdl-seg{display:flex;gap:3px;background:#eef2ed;border-radius:11px;padding:3px}
.gdl-seg button{appearance:none;border:0;background:transparent;font:inherit;font-size:.8rem;font-weight:700;color:var(--g-muted);padding:7px 11px;border-radius:9px;cursor:pointer;white-space:nowrap}
.gdl-seg button[aria-pressed="true"]{background:#fff;color:var(--g-green);box-shadow:0 1px 4px rgba(0,0,0,.1)}
.gdl-min{font-size:.82rem;font-weight:700;color:#33443c;display:flex;align-items:center;gap:6px}
.gdl-count{margin:12px 2px 8px;font-size:.8rem;color:var(--g-muted);font-weight:700}

/* grid */
.gdl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.gdl-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--g-line);border-radius:16px;overflow:hidden;box-shadow:0 4px 12px rgba(12,59,46,.05);transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease}
.gdl-card:hover{border-color:#b9cbc1;box-shadow:0 10px 22px rgba(12,59,46,.1);transform:translateY(-2px)}
.gdl-media{position:relative;display:block;background:#fff;border-bottom:1px solid #eef2ed}
.gdl-img{position:relative;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;background:#fff}
.gdl-img img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;padding:10px;background:#fff}
.gdl-img-fb{position:absolute;inset:0;display:grid;place-items:center;font-size:2.4rem;background:linear-gradient(150deg,#f1f8f3,#e2f1e7)}
.gdl-off{position:absolute;z-index:2;top:10px;left:10px;background:var(--g-red);color:#fff;font-weight:850;font-size:.82rem;padding:4px 8px;border-radius:8px;box-shadow:0 3px 8px rgba(198,40,40,.3)}
.gdl-body{display:flex;flex-direction:column;gap:6px;padding:12px;flex:1}
.gdl-tags{display:flex;flex-wrap:wrap;gap:5px}
.gdl-badge,.gdl-cond{font-size:.68rem;font-weight:800;padding:3px 7px;border-radius:999px}
.gdl-hot{background:#fff1e6;color:#b4410f;border:1px solid #f6cfb2}
.gdl-value{background:#eef6ff;color:#1d4f91;border:1px solid #c9dcf3}
.gdl-cond{background:#eef2ed;color:#33443c}
.gdl-cond-used{background:#f3eefc;color:#5b3a92}
.gdl-title{margin:0;font-size:.92rem;line-height:1.3}
.gdl-title a{text-decoration:none}
.gdl-title a:hover{text-decoration:underline;color:#145440}
.gdl-price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
.gdl-price strong{font-size:1.25rem;color:var(--g-green)}
.gdl-price s{color:#8a978f;font-size:.85rem}
.gdl-save{font-size:.72rem;font-weight:800;color:var(--g-red)}
.gdl-promo{margin:0;font-size:.74rem;color:#8a5a00;font-weight:700}
.gdl-also{margin:0;font-size:.74rem;color:var(--g-muted)}
.gdl-also a{color:#1a6b4f;font-weight:700;text-decoration:none}
.gdl-also a:hover{text-decoration:underline}
.gdl-foot{margin-top:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding-top:4px}
.gdl-store{font-size:.8rem;font-weight:750;color:#33443c}
.gdl-trust{font-size:.68rem;font-weight:750;color:#1a6b4f}
.gdl-trust-warn{color:#8a5a00}
.gdl-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--g-green);background:var(--g-green);font:inherit;font-size:.82rem;font-weight:800;color:#fff!important;text-decoration:none;cursor:pointer}
.gdl-btn:hover{background:#145440}

/* tee times & trips */
.gdl-sec{margin:22px 2px 10px;font-family:'Fraunces',Georgia,serif;font-weight:650;font-size:1.2rem;color:var(--g-green)}
.gdl-plays{display:grid;gap:10px}
.gdl-play{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;background:#fff;border:1px solid var(--g-line);border-radius:14px}
.gdl-play-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:1.3rem;background:#f1f8f3}
.gdl-play h4{margin:0;font-size:.92rem;line-height:1.25}
.gdl-play h4 a{text-decoration:none}
.gdl-play h4 a:hover{text-decoration:underline}
.gdl-play-meta{margin:2px 0 0;font-size:.78rem;color:var(--g-muted);font-weight:600}
.gdl-play-note{margin:4px 0 0;font-size:.76rem;color:#3d4c45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gdl-play-price{display:grid;justify-items:end;gap:1px;text-align:right}
.gdl-play-price strong{font-size:1.15rem;color:var(--g-green)}
.gdl-play-price s{font-size:.78rem;color:#8a978f}
.gdl-play-price span{font-size:.72rem;font-weight:800;color:var(--g-red)}
.gdl-play-price em{font-size:.7rem;font-style:normal;color:#8a5a00;font-weight:700}

/* side */
.gdl-box{background:#fff;border:1px solid var(--g-line);border-radius:16px;padding:14px;box-shadow:0 6px 16px rgba(12,59,46,.05)}
.gdl-box-sub{margin:-4px 0 10px;font-size:.76rem;color:var(--g-muted)}
.gdl-th,.gdl-stores{list-style:none;margin:0;padding:0;display:grid;gap:0}
.gdl-th li,.gdl-stores li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #eef2ed;font-size:.8rem}
.gdl-th li:last-child,.gdl-stores li:last-child{border-bottom:0}
.gdl-th strong{color:var(--g-green);white-space:nowrap}
.gdl-stores a{text-decoration:none;font-weight:700}
.gdl-stores a:hover{text-decoration:underline}
.gdl-v-ok{color:#1a6b4f;font-weight:800}
.gdl-v-warn{color:#8a5a00;font-weight:800;font-size:.72rem}
.gdl-how summary{cursor:pointer;font-size:.82rem;font-weight:800;color:#1a6b4f}
.gdl-how ul{margin:10px 0 0;padding-left:18px;font-size:.78rem;color:#3d4c45;display:grid;gap:5px}
.gdl-empty{display:grid;justify-items:start;gap:6px;padding:22px;border:1px dashed #cbd5cf;border-radius:16px;background:#fbfcfa;color:var(--g-muted)}
.gdl-empty strong{color:var(--g-ink)}

@media (max-width:980px){.gdl-layout{grid-template-columns:1fr}.gdl-side{position:static}}
@media (max-width:760px){
  .golf-deals-card{margin-top:8px}
  .gdl-head{padding:16px;border-radius:16px}
  .gdl-head h2{font-size:1.3rem}
  .gdl-sub{font-size:.8rem}
  .gdl-promo-row{grid-auto-columns:72%}
  .gdl-row1{grid-template-columns:1fr}
  .gdl-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}
  .gdl-chip{flex:0 0 auto}
  .gdl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .gdl-body{padding:9px;gap:5px}
  .gdl-title{font-size:.82rem}
  .gdl-price strong{font-size:1.05rem}
  .gdl-save,.gdl-trust{display:none}
  .gdl-btn{height:32px;font-size:.76rem}
  .gdl-off{top:6px;left:6px;font-size:.74rem;padding:3px 6px}
  .gdl-play{grid-template-columns:36px minmax(0,1fr);}
  .gdl-play-icon{width:36px;height:36px;font-size:1.1rem}
  .gdl-play-price{grid-column:2;justify-items:start;text-align:left;display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
}
@media (prefers-reduced-motion:reduce){.gdl-card{transition:none}}
.gwi-primary-nav [data-home-action][hidden]{display:none!important}
.gdl-checked{margin:0;font-size:.68rem;color:#8a978f}

.gdl-disc{margin:8px 0 0;font-size:.78rem;opacity:.78;line-height:1.35;max-width:62ch}

/* v43: brand placeholder when a deal has no photo */
.gdl-img-fb{grid-auto-flow:row;align-content:center;gap:4px;text-align:center}
.gdl-img-fb i{font-style:normal;font-size:2rem;line-height:1}
.gdl-img-fb b{font-size:.95rem;font-weight:850;letter-spacing:.02em;color:#1b4d3b;padding:0 10px}

/* v44: collections are the same size as a deal card; the model list opens as a pop-up */
.gdl-card.gdl-pop-open{overflow:visible;position:relative;z-index:30}
.gdl-stack{position:absolute;z-index:2;right:10px;bottom:10px;background:rgba(18,33,28,.82);color:#fff;font-size:.7rem;font-weight:800;padding:3px 8px;border-radius:999px}
.gdl-coll-cats{margin:0;font-size:.74rem;color:var(--g-muted);line-height:1.3}
.gdl-from{font-size:.74rem;font-weight:700;color:var(--g-muted)}
.gdl-count-chip{display:inline-flex;align-items:center;font-size:.68rem;font-weight:800;padding:2px 7px;border-radius:999px;background:#e8f1fb;color:#1e4f86}
.gdl-coll-list{position:relative}
.gdl-coll-list>summary{list-style:none;width:100%;gap:6px}
.gdl-coll-list>summary::-webkit-details-marker{display:none}
.gdl-coll-list>summary::after{content:'▾';font-size:.8rem;transition:transform .15s ease}
.gdl-coll-list[open]>summary::after{transform:rotate(180deg)}
.gdl-pop{position:absolute;z-index:40;left:-12px;right:-12px;top:calc(100% + 6px);min-width:280px;background:#fff;border:1px solid #cfdcd3;border-radius:14px;box-shadow:0 18px 40px -12px rgba(8,36,25,.35);padding:6px 8px 8px}
.gdl-pop-head{display:flex;align-items:center;gap:8px;padding:6px 4px 8px;border-bottom:1px solid #e9efeb}
.gdl-pop-head strong{font-size:.86rem}
.gdl-pop-head span{font-size:.72rem;color:#6a7a71;margin-right:auto}
.gdl-pop-x{appearance:none;border:0;background:#eef2ed;border-radius:8px;width:28px;height:28px;font-size:.8rem;cursor:pointer;color:#33443c}
.gdl-pop ul{list-style:none;margin:0;padding:0;max-height:300px;overflow:auto}
.gdl-pop li+li{border-top:1px solid #e9efeb}
.gdl-pop li a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name price go" "cat price go";column-gap:8px;padding:8px 4px;text-decoration:none;color:inherit;border-radius:6px}
.gdl-pop li a:hover{background:#eef6f1}
.gdl-row-name{grid-area:name;font-size:.8rem;font-weight:750;color:#12211c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gdl-row-cat{grid-area:cat;font-size:.7rem;color:#6a7a71}
.gdl-row-price{grid-area:price;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;line-height:1.15}
.gdl-row-price strong{font-size:.86rem;color:var(--g-green)}
.gdl-row-price s{font-size:.68rem;color:#8a978f}
.gdl-row-price em{font-style:normal;font-size:.68rem;font-weight:800;color:var(--g-red)}
.gdl-row-go{grid-area:go;align-self:center;font-size:.8rem;color:#1a6b4f}

/* v44: price history badges */
.gdl-low{background:#e6f4ea;color:#14633a;border:1px solid #b8dfc5}
.gdl-drop{background:#fff6e0;color:#8a5a00;border:1px solid #f0d99a}

/* v44: price alerts */
.gdl-actions{display:flex;gap:6px}
.gdl-actions .gdl-btn{flex:1}
.gdl-alert-btn{appearance:none;flex:0 0 36px;height:36px;border-radius:10px;border:1px solid #cfdcd3;background:#fff;font-size:1rem;cursor:pointer}
.gdl-alert-btn:hover{background:#eef6f1;border-color:#9fbfac}
.gdl-alert-pop{top:auto;bottom:8px}
.gdl-alert-form{display:grid;gap:8px;padding:8px 4px 2px}
.gdl-alert-t{margin:0;font-size:.8rem;font-weight:750}
.gdl-alert-form label{display:grid;gap:4px;font-size:.74rem;font-weight:700;color:#33443c}
.gdl-alert-form input{height:36px;border:1px solid #cfdcd3;border-radius:9px;padding:0 10px;font:inherit;font-size:.86rem}
.gdl-alert-row{display:flex;align-items:center;gap:6px}
.gdl-alert-row input{flex:1}
.gdl-alert-note{margin:0;font-size:.68rem;color:#6a7a71}
.gdl-alert-msg{margin:0;font-size:.74rem;color:#b4410f;min-height:1em}
.gdl-alert-ok{margin:6px 0;font-size:.82rem;font-weight:750;color:#14633a}

@media (max-width:640px){
  /* phones: pop-ups become a bottom sheet so they're never squeezed into a half-width card */
  .gdl-pop{position:fixed;left:8px;right:8px;top:auto;bottom:8px;min-width:0;max-height:75vh;overflow:auto;z-index:1000}
  .gdl-coll-list .gdl-pop,.gdl-alert-pop{top:auto;bottom:8px}
  .gdl-actions .gdl-btn{font-size:.74rem}
  .gdl-alert-btn{flex-basis:32px;height:32px}
  .gdl-stack{right:6px;bottom:6px;font-size:.64rem}
}

/* v6: New deals this week box */
.gdl-new{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gdl-new a{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;text-decoration:none;padding:6px;border-radius:12px;border:1px solid transparent}
.gdl-new a:hover{background:#f6faf7;border-color:#dbe3de}
.gdl-new-img{position:relative;width:58px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#fff;border:1px solid #eef2ed}
.gdl-new-img img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;padding:4px;background:#fff}
.gdl-new-img .gdl-img-fb{font-size:1.2rem}
.gdl-new-img .gdl-img-fb b{display:none}
.gdl-new-txt{display:grid;gap:2px;min-width:0}
.gdl-new-txt strong{font-size:.8rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gdl-new-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;font-size:.8rem}
.gdl-new-price b{color:#0c3b2e}
.gdl-new-price s{color:#8a978f;font-size:.74rem}
.gdl-new-price em{font-style:normal;font-weight:800;font-size:.7rem;color:#c62828}
.gdl-new-meta{font-size:.7rem;color:#5b6b63}
