/* Lapoujé LP-W9 retail layer: bag drawer, buy row, product accordions, service strip, new beds,
   checkout, customer care and newsletter. Loads after maison.css, variants.css and refine.css. */
:root{--ok:#1f6b45;--warn:#b8004a}
.header-actions .bag-btn{font-weight:600}
.header-actions .bag-btn span{display:inline-block;min-width:20px;margin-left:6px;padding:0 5px;background:var(--ink);color:var(--bg);text-align:center;font-size:12px;line-height:20px}
.wish-btn{display:inline-flex;align-items:center;gap:4px;min-width:44px;justify-content:center}
.wish-btn svg path{fill:none;stroke:var(--ink);stroke-width:1.6}
.wish-btn #wish-count{margin-left:0!important;font-size:12px}
.announcement a{text-decoration:underline;text-underline-offset:3px}

/* cards */
.card-save{display:grid;place-items:center;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%;border:0!important;background:#fff8f2e6!important}
.card-save svg path,.detail-heart svg path{fill:none;stroke:var(--ink);stroke-width:1.6}
.card-save[aria-pressed=true] svg path,.detail-heart[aria-pressed=true] svg path{fill:var(--accent);stroke:var(--accent)}
.card-save[aria-pressed=true]{background:#fff8f2e6!important}

/* product view */
.detail-kind{font-size:13px;color:var(--muted);margin-top:-6px}
.buy-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:stretch;margin:22px 0 10px}
.buy-row .button.primary{justify-content:center;gap:14px;margin:0}
.button.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.button.small{min-height:44px;padding:10px 16px;font-size:12px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--control);min-height:50px}
.qty button{width:44px;min-height:44px;font-size:18px;line-height:1}
.qty span{min-width:26px;text-align:center;font-size:14px}
.detail-heart{display:grid;place-items:center;width:52px;border:1px solid var(--control)}
.ship-note{font-size:12px;color:var(--muted);margin:2px 0 18px}
.detail-acc{border-top:1px solid var(--line);margin:8px 0 6px}
.detail-acc details{border-bottom:1px solid var(--line)}
.detail-acc summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:50px;font-size:13px;font-weight:600}
.detail-acc summary::-webkit-details-marker{display:none}
.detail-acc summary::after{content:'+';font-weight:400;font-size:18px}
.detail-acc details[open] summary::after{content:'−'}
.detail-acc ul{margin:0 0 16px;padding-left:18px;font-size:13px;line-height:1.8;color:var(--ink)}
.detail-acc p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 16px}
.detail-acc a{text-decoration:underline}
.variant-feedback{font-size:13px!important;color:var(--warn)!important;font-weight:600}

/* bag drawer */
dialog.drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(460px,100vw);max-width:100vw;padding:26px 26px 0;border:0;border-left:1px solid var(--line);display:none;flex-direction:column}
dialog.drawer[open]{display:flex}
dialog.drawer .dialog-top{margin-bottom:14px}
dialog.drawer h2{font-size:40px}
dialog.drawer h2 span{font:600 13px Manrope,sans-serif;vertical-align:middle;margin-left:6px;color:var(--muted)}
.bag-lines{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}
.bag-line{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:14px;padding:16px 0;border-top:1px solid var(--line);align-items:start}
.bag-line img{width:84px;aspect-ratio:1;object-fit:contain;background:var(--soft)}
.bag-line h3{font-size:22px;line-height:1.1}
.bag-line h3 button{padding:0;font:inherit;text-align:left}
.bag-line p{font-size:12px;color:var(--muted);margin-top:4px}
.bag-line .qty{min-height:44px;margin-top:10px}
.bag-line-price{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.bag-line-price strong{font-size:14px}
.bag-line-price span{font-size:11px;color:var(--muted)}
.bag-remove{font-size:12px;text-decoration:underline;min-height:44px;padding:0 2px}
.bag-foot{border-top:1px solid var(--ink);padding:14px 0 22px;background:var(--bg)}
.bag-foot .button{width:100%;justify-content:center;gap:14px;margin:12px 0 4px}
.bag-foot .text-link{display:block;margin:0 auto;min-height:44px}
.bag-sum{margin:0;font-size:13px}
.bag-sum div{display:flex;justify-content:space-between;padding:5px 0}
.bag-sum dt{color:var(--muted)}.bag-sum dd{margin:0}
.bag-sum .kit dd{color:var(--ok)}
.bag-sum .bag-total{border-top:1px solid var(--line);margin-top:6px;padding-top:10px;font-size:16px;font-weight:600}
.bag-sum .bag-total dt{color:var(--ink)}
.bag-free{font-size:12px;color:var(--muted);margin-top:6px}
.bag-empty{padding:30px 0}.bag-empty p{margin-bottom:20px;font-size:14px}

/* wishlist */
.entry-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px}

/* service strip */
.service-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:1680px;margin:0 auto;padding:0 4%}
.service-strip div{padding:24px 20px;border-right:1px solid var(--line)}
.service-strip div:first-child{padding-left:0}
.service-strip div:last-child{border-right:0}
.service-strip strong{display:block;font:400 22px/1.15 Cormorant,Georgia,serif}
.service-strip span{display:block;font-size:12px;color:var(--muted);margin-top:6px}

/* new beds */
.beds-section{background:#f2ece6;max-width:none}
.beds-section h2 em{color:#702638}
.beds-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.beds-grid a{display:block;min-width:0}
.beds-grid img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#e9e1d9}
.beds-grid p{font-size:12px;color:var(--muted);margin:12px 0 4px}
.beds-grid h3{font-size:28px}
.beds-grid span{font-size:13px;font-weight:600}

/* newsletter */
.newsletter{margin-top:16px}
.newsletter form{display:flex;gap:8px;max-width:360px}
.newsletter input{flex:1;min-width:0;min-height:44px;border:1px solid var(--control);background:#fffdf9;padding:0 12px;font-size:13px}
.newsletter button{min-height:44px;padding:0 16px;background:var(--ink);color:var(--bg);font-size:12px}
.newsletter p.msg{font-size:12px;margin-top:6px}

/* checkout */
.co-wrap{max-width:1180px;margin:0 auto;padding:40px 4% 80px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:start}
.co-wrap h1{font-size:clamp(46px,5vw,68px);margin:12px 0 10px}
.co-wrap h1 em{color:var(--accent)}
.co-lead{font-size:14px;color:var(--muted);max-width:520px}
.co-form fieldset{border:0;padding:0;margin:30px 0 0}
.co-form legend{font:400 26px Cormorant,Georgia,serif;margin-bottom:12px}
.co-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.co-grid .full{grid-column:1/-1}
.co-form label{display:block;font-size:12px;font-weight:600}
.co-form label span{font-weight:400;color:var(--muted)}
.co-form input,.co-form select,.co-form textarea{display:block;width:100%;margin-top:6px;min-height:48px;border:1px solid var(--control);background:#fffdf9;padding:10px 12px;font-size:15px;border-radius:0}
.co-form textarea{min-height:84px;resize:vertical;font-size:14px}
.co-ship{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--control);padding:14px 16px;font-size:13px;background:#fffdf9}
.co-ship strong{font-weight:600}
.co-pay{margin-top:30px;padding:18px;background:var(--soft);font-size:13px;line-height:1.7}
.co-pay strong{display:block;font-size:14px;margin-bottom:4px}
.co-submit{margin-top:18px;width:100%;justify-content:center;gap:14px;font-size:14px}
.co-submit:disabled{opacity:.5;cursor:not-allowed}
.co-error{color:var(--warn);font-size:13px;font-weight:600;margin-top:10px;min-height:1em}
.co-aside{position:sticky;top:100px;border:1px solid var(--line);padding:22px;background:#fffdf9}
.co-aside h2{font-size:30px;margin-bottom:6px}
.co-aside .bag-lines{max-height:none;overflow:visible}
.co-done{max-width:680px;margin:0 auto;padding:70px 5% 100px}
.co-done h1{font-size:clamp(48px,6vw,76px);margin:12px 0 16px}
.co-done p{font-size:15px;line-height:1.8}
.co-done .bag-sum{margin:24px 0 10px;max-width:420px}
.co-done .button{margin-top:22px}
.co-top{display:flex;justify-content:space-between;align-items:center;padding:20px 4%;border-bottom:1px solid var(--line)}
.co-top a:last-child{font-size:13px;text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}

/* customer care */
.help-wrap{max-width:1180px;margin:0 auto;padding:40px 4% 90px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:60px;align-items:start}
.help-nav{position:sticky;top:100px;display:grid;gap:2px}
.help-nav a{font-size:13px;min-height:40px;display:flex;align-items:center;border-left:2px solid transparent;padding-left:12px}
.help-nav a:hover{border-left-color:var(--accent)}
.help-main h1{font-size:clamp(50px,6vw,82px);margin:10px 0 18px}
.help-main h1 em{color:var(--accent)}
.help-main section{border-top:1px solid var(--line);padding:34px 0;scroll-margin-top:100px}
.help-main h2{font-size:40px;margin-bottom:14px}
.help-main h3{font-size:24px;margin:22px 0 8px}
.help-main p,.help-main li{font-size:14px;line-height:1.85;max-width:720px}
.help-main ul{padding-left:18px}
.help-main a{text-decoration:underline}
.size-table{border-collapse:collapse;width:100%;max-width:720px;font-size:13px;margin:8px 0 6px}
.size-table th,.size-table td{border-bottom:1px solid var(--line);text-align:left;padding:10px 12px 10px 0}
.size-table th{font-weight:600}
.size-note{font-size:13px!important;color:var(--muted)}
.help-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:720px;margin-top:12px}
.help-form .full{grid-column:1/-1}
.help-form label{display:block;font-size:12px;font-weight:600}
.help-form input,.help-form select,.help-form textarea{display:block;width:100%;margin-top:6px;min-height:48px;border:1px solid var(--control);background:#fffdf9;padding:10px 12px;font-size:15px;border-radius:0}
.help-form textarea{min-height:140px}
.help-form .button{justify-self:start}
.help-form .msg{grid-column:1/-1;font-size:13px;font-weight:600}
.hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:1150px){.service-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.service-strip div:nth-child(3n+1){padding-left:0}.service-strip div:nth-child(3n){border-right:0}.beds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.co-wrap{grid-template-columns:1fr;gap:30px}.co-aside{position:static;order:-1}.help-wrap{grid-template-columns:1fr;gap:20px}.help-nav{position:static;display:flex;flex-wrap:wrap;gap:6px}.help-nav a{border:1px solid var(--control);padding:0 12px;min-height:44px}}
@media(max-width:700px){
  .header-actions #open-fit{display:none}
  .header-actions{gap:2px}
  .header-actions button{padding:9px 6px}
  .drawer-links .text-link{text-align:left;min-height:44px;padding:0}
  .service-strip{grid-template-columns:1fr 1fr}
  .service-strip{padding:0 5%}
  .service-strip div{padding:18px 12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
  .service-strip div:nth-child(3n+1){padding-left:12px}
  .service-strip div:nth-child(3n){border-right:1px solid var(--line)}
  .service-strip div:nth-child(odd){padding-left:0}
  .service-strip div:nth-child(2n){border-right:0}
  .service-strip div:last-child:nth-child(odd){grid-column:1/-1;border-right:0;border-bottom:0}
  .service-strip strong{font-size:19px}
  .service-strip span,.beds-grid p,.ship-note,.bag-line p,.bag-line-price span,.bag-free,.co-form label span,.detail-acc p,.detail-acc ul,.size-table{font-size:12px!important}
  .beds-grid{grid-template-columns:1fr 1fr;gap:24px 12px}
  .beds-grid h3{font-size:22px}
  .buy-row{grid-template-columns:auto 1fr auto}
  dialog.drawer{width:100vw;padding:20px 18px 0}
  dialog.drawer h2{font-size:34px}
  .bag-line{grid-template-columns:64px minmax(0,1fr) auto;gap:10px}
  .bag-line img{width:64px}
  .bag-line h3{font-size:19px}
  .co-grid,.help-form{grid-template-columns:1fr}
  .co-wrap,.help-wrap{padding:28px 5% 70px}
  .help-main h2{font-size:32px}
  .newsletter form{max-width:none}
}

/* LP-W10 hero (James: "I don't like how the description cut off the legs"). The photograph is framed at a fixed
   ratio per photo so the whole dog shows, ears to paws, at every width; the caption sits under it as a link to the
   piece, never over the picture. Poodle frame .82 keeps source y 55 to 1304 (dog 141 to 1235); bulldog .77 keeps
   120 to 1450 (dog 199 to 1385); Sport 1.12 keeps both dogs with room, x 118 to 1111 (dogs 160 to 1070). */
.hero{grid-template-columns:minmax(0,1fr) auto;min-height:0}
.hero-copy{align-self:center}
.hero-visual{--hr:.82;--hx:50%;--hy:19%;width:min(50vw,940px);width:max(min(42vw,300px),min(50vw,calc((100svh - 200px)*var(--hr)),940px));background:none!important;overflow:visible;display:flex;flex-direction:column;align-self:start}
.hero-visual[data-range=lui]{--hr:.77;--hy:58%}
.hero-visual[data-range=sport]{--hr:1.12;--hx:15%;--hy:50%}
.hero .hero-visual>img,.hero .hero-visual[data-range]>img{width:100%;height:auto;max-height:none;aspect-ratio:var(--hr);object-fit:cover;object-position:var(--hx) var(--hy)!important;visibility:visible!important}
.hero .hero-caption{position:static;inset:auto;align-self:flex-start;background:none;border:0;margin:0;padding:12px 18px;min-height:44px;font:inherit;font-size:12px;line-height:1.5;color:var(--ink);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.hero .hero-caption::after{content:" ↗";text-decoration:none;display:inline-block;margin-left:4px}
.hero .hero-caption:hover{color:var(--accent)}
@media(max-width:700px){
  .hero{grid-template-columns:1fr}
  .hero-visual{width:100%;height:auto!important}
  .hero .hero-visual>img,.hero .hero-visual[data-range]>img{height:auto!important}
  .hero .hero-caption{padding:10px 5% 12px;font-size:12px!important}
}

/* LP-W10 phone pass (James: "make sure mobile optimized"). Measured at 390 and 360: the home page was 33,000 px,
   most of it the 69-piece grid, six stacked filters and eight stacked sets. */
.filter-toggle{display:none}
.show-more{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px 0 8px;text-align:center}
.show-more p{margin:0;font-size:12px;color:var(--muted)}
@media(max-width:700px){
  .announcement .ann-more{display:none}
  .announcement{align-items:center;padding:6px 5%}
  .announcement a{min-height:32px;display:inline-flex;align-items:center}
  .hero-copy{padding:30px 5% 24px}
  .hero h1{font-size:54px;margin:16px 0 18px}
  .hero .button{margin:20px 0 8px}
  .hero-range-links{display:none}
  .filter-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin:0 0 14px;padding:0 16px;background:transparent;border:1px solid var(--ink);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
  .filter-toggle::after{content:"+";font-size:20px;line-height:1}
  .catalog.filters-open .filter-toggle::after{content:"\2212"}
  .catalog:not(.filters-open) .catalog-tools,.catalog:not(.filters-open) .sort-label{display:none!important}
  .ensemble-grid,.green-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px!important;margin:0 calc(50% - 50vw);padding:0 5vw 10px;scroll-padding:0 5vw;scrollbar-width:none}
  .ensemble-grid::-webkit-scrollbar,.green-grid::-webkit-scrollbar{display:none}
  .ensemble-grid>*{flex:0 0 84%;min-width:0;scroll-snap-align:start}
  .green-grid>*{flex:0 0 74%;min-width:0;scroll-snap-align:start}
  .green-grid img{max-height:none}
}
.newsletter form{display:block}
.newsletter form>label{display:block}
.newsletter form>div{display:flex;gap:8px;margin-top:8px;max-width:360px}
@media(max-width:700px){
  .newsletter form>div{max-width:none}
  .footer-main>div>a:not(.wordmark){display:flex;align-items:center;min-height:44px;margin:0;padding:0}
  .faq summary{min-height:48px;display:flex;align-items:center}
}
@media(max-width:700px){
  .text-link,.ensemble-copy>button,.site-header .wordmark,.co-top .wordmark{min-height:44px;display:inline-flex;align-items:center}
  .hero .text-link{display:flex}
}
/* LP-W9 bug: the LP-W5 rule #detail-save{background:ink;width:100%} painted the heart as a solid square */
#detail-save.detail-heart{width:52px;background:transparent;color:var(--ink);margin:0}
@media(max-width:700px){
  .buy-row{gap:8px}
  .buy-row .qty button{width:40px}
  .buy-row .qty span{min-width:22px}
  .buy-row .button.primary{white-space:nowrap;padding:0 12px;min-height:50px}
  .buy-row .button.primary span{display:none}
  #detail-save.detail-heart{width:50px}
}
