
/* Golden Veil Bridal v536: compact cart cross-sell */
.gv-cart-recommendations{border-top:1px solid #e8e1d8;margin:20px 0 4px;padding-top:16px}
.gv-cart-rec-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:10px}
.gv-cart-rec-heading strong{font-family:Georgia,serif;font-size:18px;color:#342d28}
.gv-cart-rec-heading small,.gv-cart-rec-copy small{color:#756c63;font-size:11px}
.gv-cart-rec-list{display:grid;gap:10px}
.gv-cart-rec{display:grid;grid-template-columns:66px minmax(0,1fr)auto;gap:11px;align-items:center}
.gv-cart-rec>a img{display:block;width:66px;height:74px;object-fit:cover;background:#f4f0ea;border-radius:3px}
.gv-cart-rec-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.gv-cart-rec-copy>a{text-decoration:none;color:#332c28;font-size:13px;line-height:1.25}
.gv-cart-rec-copy strong{font-weight:600}
.gv-cart-rec-copy span{font-size:13px;color:#40352f}
.gv-cart-rec button{border:1px solid #77634d;background:#fff;color:#45392e;padding:9px 11px;border-radius:3px;cursor:pointer;font-size:12px}
.gv-cart-rec button:hover{background:#45392e;color:#fff}
@media(max-width:380px){.gv-cart-rec{grid-template-columns:56px minmax(0,1fr)auto;gap:8px}.gv-cart-rec>a img{width:56px;height:65px}.gv-cart-rec button{padding:8px}}

/* v537: fix bottom-sheet cart recommendations being obscured by the pinned checkout.
   The discount entry and free-gift progress sit AFTER recommendations inside .cart-scroll. */
#cart.cart { grid-template-rows:auto minmax(0,1fr) auto; max-height:100dvh; }
#cart .cart-scroll { min-height:0; overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; padding-bottom:26px; }
#cart .cart-items { min-height:0; }
#cart .cart-summary { flex-shrink:0; box-shadow:0 -5px 18px rgba(45,36,29,.06); }
#cart .cart-promo { margin:17px 0 15px; }
#cart #cartFreeShippingProgress { margin:12px 0 24px; }
#cart .gv-cart-recommendations { margin-bottom:22px; }
#cart .gv-cart-rec { grid-template-columns:64px minmax(0,1fr)auto; }
#cart .gv-cart-rec-copy a { overflow-wrap:anywhere; }
@media(max-width:600px){
  #cart .cart-scroll{padding-bottom:28px;}
  #cart .cart-summary{padding-top:13px;padding-bottom:calc(12px + env(safe-area-inset-bottom));}
  #cart .cart-shipping-note{margin-bottom:9px;}
  #cart .cart-trust{margin-top:7px;margin-bottom:6px;}
  #cart .gv-cart-rec{grid-template-columns:60px minmax(0,1fr) auto;gap:9px}
  #cart .gv-cart-rec>a img{width:60px;height:68px}
  #cart .gv-cart-rec button{min-height:40px;min-width:51px}
}
@media(max-height:620px){
  #cart .cart-head{padding-top:11px;padding-bottom:9px}
  #cart .cart-summary{padding-top:10px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}
  #cart .cart-trust,#cart .cart-continue{display:none}
}

/* v538: accessory offer sits with its recommended products, not above the cart items. */
#cart .gv-cart-rec-offer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin:0 0 13px;padding:9px 11px;background:#f7f2ed;border:1px solid #e6d9cd;border-radius:4px;color:#665448;font-size:12px;line-height:1.45}
#cart .gv-cart-rec-offer span{flex:1 1 175px}
#cart .gv-cart-rec-offer a{color:#47382d;font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
#cart .gv-cart-groom-reminder{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:11px;margin:19px 0 3px;padding:12px;background:#f8f4ef;border:1px solid #e4d9ce;border-radius:5px}
#cart .gv-cart-groom-reminder>img{width:66px;height:72px;object-fit:cover;border-radius:3px;background:#f0e9e2}
#cart .gv-cart-groom-copy{display:grid;gap:4px;min-width:0}
#cart .gv-cart-groom-copy strong{color:#342d28;font-size:15px;line-height:1.2}
#cart .gv-cart-groom-copy span{color:#6d6159;font-size:11px;line-height:1.45}
#cart .gv-cart-groom-copy a{width:max-content;max-width:100%;color:#45392f;font-size:11px;font-weight:700;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
@media(max-width:380px){#cart .gv-cart-groom-reminder{grid-template-columns:56px minmax(0,1fr);gap:9px;padding:9px}#cart .gv-cart-groom-reminder>img{width:56px;height:66px}#cart .gv-cart-groom-copy strong{font-size:14px}}

/* v539: show all three accessory photos and the groom gift at a glance.
   Never create an inner horizontal scroller, including on mobile. */
#cart .gv-cart-recommendations{margin-top:15px;padding-top:12px;margin-bottom:16px}
#cart .gv-cart-rec-heading{margin-bottom:8px}
#cart .gv-cart-rec-heading strong{font-size:17px}
#cart .gv-cart-rec-heading small{font-size:10px}
#cart .gv-cart-rec-offer{padding:7px 9px;margin-bottom:9px;font-size:11px;line-height:1.3;gap:4px 7px}
#cart .gv-cart-rec-offer span{flex:1 1 160px}
#cart .gv-cart-rec-offer a{font-size:10px}
#cart .gv-cart-rec-list{
  display:grid;
  grid-template-columns:repeat(var(--gv-rec-cols,4),minmax(0,1fr));
  gap:7px;
  align-items:stretch;
  width:100%;
  overflow:visible;
}
#cart .gv-cart-rec,
#cart .gv-cart-groom-reminder{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:5px;
  min-width:0;
  margin:0;
  padding:6px;
  border:1px solid #e4d9ce;
  border-radius:5px;
  background:#fffdfb;
  text-align:left;
}
#cart .gv-cart-rec-image,
#cart .gv-cart-groom-photo{display:block;width:100%;height:auto;text-decoration:none}
#cart .gv-cart-rec .gv-cart-rec-image img,
#cart .gv-cart-groom-reminder .gv-cart-groom-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#f6f1eb;
  border-radius:3px;
}
#cart .gv-cart-rec-copy,
#cart .gv-cart-groom-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  flex:1;
}
#cart .gv-cart-rec-copy>a,
#cart .gv-cart-groom-copy strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  overflow-wrap:anywhere;
  color:#372f2b;
  font-size:11px;
  line-height:1.22;
  font-weight:650;
  text-decoration:none;
}
#cart .gv-cart-rec-copy>a strong{font-weight:650}
#cart .gv-cart-rec-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#cart .gv-cart-rec-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;line-height:1.1;min-height:25px;margin-top:auto}
#cart .gv-cart-rec-prices s{color:#97887b;font-size:10px;white-space:nowrap}
#cart .gv-cart-rec-prices strong{color:#604b3e;font-size:12px;font-weight:750;white-space:nowrap}
#cart .gv-cart-rec button,
#cart .gv-cart-groom-cta{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:30px;
  padding:5px 3px;
  border:1px solid #77634d;
  border-radius:3px;
  background:#fff;
  color:#45392e;
  cursor:pointer;
  font-family:inherit;
  font-size:11px;
  font-weight:650;
  line-height:1.15;
  text-decoration:none;
  text-align:center;
  margin-top:auto;
}
#cart .gv-cart-rec button:hover,#cart .gv-cart-groom-cta:hover{background:#45392e;color:#fff}
#cart .gv-cart-groom-copy span{font-size:10px;color:#715d50;line-height:1.15}
#cart .gv-cart-groom-cta{background:#45392e;color:#fff}
@media(max-width:600px){
  #cart .gv-cart-rec-list{gap:6px}
  #cart .gv-cart-rec,#cart .gv-cart-groom-reminder{padding:5px;gap:4px}
  #cart .gv-cart-rec-copy>a,#cart .gv-cart-groom-copy strong{font-size:10.5px}
  #cart .gv-cart-rec-prices s{font-size:9.5px}
  #cart .gv-cart-rec-prices strong{font-size:11.5px}
  #cart .gv-cart-rec button,#cart .gv-cart-groom-cta{min-width:0;min-height:30px;padding:4px 1px;font-size:10px}
}
@media(max-width:340px){
  #cart .gv-cart-rec-list{gap:4px}
  #cart .gv-cart-rec,#cart .gv-cart-groom-reminder{padding:3px}
  #cart .gv-cart-rec-copy>a,#cart .gv-cart-groom-copy strong{font-size:10px}
  #cart .gv-cart-rec button,#cart .gv-cart-groom-cta{font-size:9px}
}
