/* Scoped discovery layout; product data/actions remain native WooCommerce. */
/* Override Storefront's more specific home/archive header margin. */
.ms-shop-home #masthead{margin-bottom:0}
.ms-shop-home .site-main{padding-top:0;margin-bottom:0}
.ms-shop-home .site-content>.col-full{max-width:none}
.ms-home{color:var(--ms-text);font-size:1.125rem;line-height:1.65}
.ms-home :is(h1,h2,h3){font-family:Georgia,serif;font-weight:400;line-height:1.14}
.ms-home-hero{isolation:isolate;position:relative;display:grid;align-items:center;min-height:clamp(28rem,45vw,40rem);margin-inline:calc(-1 * var(--ms-gutter));background:#11110f;border-bottom:1px solid var(--ms-line)}
.ms-home-hero-copy{position:relative;z-index:2;width:100%;max-width:90rem;margin-inline:auto;padding:clamp(2.5rem,5vw,5rem) var(--ms-gutter)}
.ms-home-rule{display:block;width:3rem;height:1px;margin-bottom:1.75rem;background:var(--ms-line)}
.ms-home-hero-copy h1{max-width:12ch;margin:0 0 1.5rem;font-size:clamp(2.75rem,5.3vw,4.9rem);letter-spacing:-.035em}
.ms-home-hero-copy>p{max-width:30rem;width:45%;margin-bottom:1.75rem;color:var(--ms-text);font-size:1.125rem;line-height:1.65}
.ms-home-actions{display:flex;align-items:flex-start;flex-direction:column;gap:.8rem;max-width:28rem}
.ms-home .button{display:inline-flex;gap:2rem;align-items:center;justify-content:space-between;min-height:48px;padding:.9rem 1.35rem;border:1px solid var(--ms-sand);border-radius:0;background:var(--ms-sand);color:#11110f;font:600 1rem/1.4 "Segoe UI",sans-serif;text-decoration:none}
.ms-home .button:hover{border-color:#dfc7a5;background:#dfc7a5;color:#11110f}
.ms-home .ms-home-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:44px;color:var(--ms-text);text-decoration:underline;text-decoration-color:var(--ms-text);text-underline-offset:.4em;font-size:1rem}
.ms-home a:focus-visible{outline:2px solid var(--ms-sand);outline-offset:4px}
.ms-home-hero-image{position:absolute;z-index:-1;inset:0;margin:0}
.ms-home-hero-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10100fe6,#10100f99 34%,#10100f00 65%)}
.ms-home-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ms-home-hero-image figcaption{position:absolute;z-index:1;right:var(--ms-gutter);bottom:.5rem;padding:.15rem .5rem;background:#10100fbf;color:#e2d9cc;font-size:.75rem}
.ms-home-section,.ms-home-personal,.ms-home>.ms-market-note{max-width:calc(90rem - 2 * var(--ms-gutter));margin-inline:auto}
.ms-home-section{margin-block:2.75rem 4rem;scroll-margin-top:1.5rem}
.ms-home-selection:focus{outline:2px solid var(--ms-sand);outline-offset:6px}
.ms-home-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1.25rem 2rem;margin-bottom:1.5rem}
.ms-home h2{margin:0;font-size:clamp(2rem,3.3vw,3rem);letter-spacing:-.025em}
.ms-home-section-heading>a{flex-shrink:0}
.ms-home-selection ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:0}
.ms-home-selection ul.products li.product{margin-bottom:0!important}
.ms-home-selection ul.products li.product .woocommerce-loop-product__title{font-size:clamp(1.1rem,1.5vw,1.4rem);font-family:Georgia,serif}
.ms-home-selection ul.products li.product img{box-sizing:border-box;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;padding:12px;border:1px solid #504b42;background:#191815;margin-bottom:1rem;border-radius:5px}
.ms-home-selection ul.products li.product .button{align-self:center;width:min(100%,13.5rem);min-height:44px;margin-top:auto;padding:.65rem .9rem;border-color:#817158;background:transparent;color:var(--ms-text);font-size:.9rem}
.ms-home-selection ul.products li.product .button:hover{border-color:var(--ms-sand);color:var(--ms-sand)}
/* Share content rows across each product row, including the native product link. */
@supports(grid-template-rows:subgrid){
.ms-home-selection:not(.ms-home-selection-single) ul.products{row-gap:0}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product{display:grid;grid-row:span 7;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;row-gap:0;min-width:0;padding-bottom:2.25rem}
.ms-home-selection:not(.ms-home-selection-single) li.product>a.woocommerce-loop-product__link{display:grid;grid-row:1/4;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;row-gap:0;min-width:0}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product img{grid-row:1;align-self:start}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;grid-row:2;align-self:start;margin:0 0 .75rem;overflow-wrap:anywhere}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product .price{grid-row:3;align-self:start;margin:0}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product>.ms-tax-note{grid-row:4;margin:.65rem 0 0;overflow-wrap:anywhere}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product>.ms-shipping-note{grid-row:5;margin:.5rem 0 0;overflow-wrap:anywhere}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product>.stock{grid-row:6;margin:1rem 0 0;overflow-wrap:anywhere}
.ms-home-selection:not(.ms-home-selection-single) ul.products li.product>.button{grid-row:7;align-self:start;justify-self:center;min-width:0;max-width:100%;margin-top:1.5rem;white-space:normal;overflow-wrap:anywhere;justify-content:center}
}
.ms-home-selection .ms-configurable-badge{padding:.4rem}
.ms-home-selection .ms-configurable-badge>span:not(.dashicons){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ms-home-selection .ms-demo-badge{background:#242018;font-size:.65rem;padding:.3rem .4rem}
.ms-home .ms-home-eyebrow{margin:0 0 .75rem;color:var(--ms-text);font-size:.75rem;letter-spacing:.15em;text-transform:uppercase}
.ms-home-personal{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:clamp(1.5rem,4vw,4rem);margin-block:4rem;border:1px solid var(--ms-line);background:#181713}
.ms-home-personal-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;margin:0;background:#e7e9eb}
.ms-home-personal-copy{padding:2rem 2rem 2rem 0}
.ms-home-personal-copy p:not(.ms-home-eyebrow){max-width:30rem;margin:1.25rem 0 1.5rem;color:var(--ms-muted)}
.ms-home>.ms-market-note{margin-block:4rem;padding:clamp(1.5rem,3vw,2.5rem);border:1px solid var(--ms-line);border-left:2px solid var(--ms-sand);border-radius:0;background:#181713}
.ms-home .ms-market-eyebrow{color:var(--ms-sand)}
.ms-home .ms-market-note h2{margin-bottom:1rem;font-size:clamp(1.8rem,3vw,2.4rem)}
.ms-home .ms-market-note p{max-width:58rem;font-size:1.125rem}
.ms-home .ms-market-note a{display:inline-flex;align-items:center;min-height:44px;color:var(--ms-sand);font-size:1rem}
@media(max-width:1100px){
.ms-home-hero-copy h1{font-size:clamp(2.5rem,5.2vw,4rem)}
.ms-home-hero-copy>p{max-width:26rem;width:50%}
.ms-home-selection ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1.25rem}
.ms-home-section-heading{align-items:flex-start;flex-direction:column;gap:.5rem}
}
@media(max-width:780px){
.ms-home-hero{min-height:0;display:flex;flex-direction:column}
.ms-home-hero-copy{padding-block:2rem 1rem}
.ms-home-hero-copy h1{max-width:none;font-size:clamp(2rem,8vw,3.7rem)}
.ms-home-hero-copy>p{width:100%;max-width:36rem}
.ms-home-rule{margin-bottom:1.25rem}
.ms-home-actions{max-width:none}
.ms-home-actions>.button{width:100%;max-width:26rem}
.ms-home-hero-image{position:relative;z-index:0;width:100%}
.ms-home-hero-image img{height:clamp(15rem,60vw,27rem);object-fit:cover;object-position:100% 65%}
.ms-home-hero-image::after{background:linear-gradient(#10100f,#10100f00 20%)}
.ms-home-section{margin-block:2rem 3rem}
.ms-home-personal{grid-template-columns:minmax(0,1fr);gap:0;margin-block:3rem}
.ms-home-personal-image img{max-height:24rem}
.ms-home-personal-copy{padding:1.5rem}
.ms-home .ms-market-note{margin-block:3rem}
}
@media(max-width:600px){.ms-home-selection ul.products{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){
.ms-home-selection ul.products{gap:1.75rem 1rem}
.ms-home-selection ul.products li.product .woocommerce-loop-product__title{font-size:1.1rem;overflow-wrap:anywhere}
.ms-home-selection ul.products li.product .button{width:100%;padding-inline:.5rem;font-size:.85rem}
}
/* Keep the product title and direct product action together over the photograph. */
.ms-home-hero-bookmark{display:block;height:min(55vw,calc(100svh - 8.5rem));min-height:26rem;overflow:hidden}
.ms-home-hero-bookmark .ms-home-hero-image{position:absolute;inset:0;z-index:-1}
.ms-home-hero-bookmark .ms-home-hero-image picture{display:block;width:100%;height:100%}
.ms-home-hero-bookmark .ms-home-hero-image img{height:100%;object-fit:cover;object-position:center 80%}
.ms-home-hero-bookmark .ms-home-hero-image::after{background:linear-gradient(0deg,#080807f5 0%,#080807a6 28%,#08080700 60%)}
.ms-home-hero-bookmark .ms-home-hero-copy{position:absolute;bottom:0;left:0;right:0;display:grid;justify-items:start;gap:.75rem;max-width:none;padding:2rem var(--ms-gutter)}
.ms-home-hero-bookmark .ms-home-rule{display:none}
.ms-home-hero-bookmark .ms-home-hero-copy h1{max-width:none;margin:0;font-size:clamp(2rem,3.6vw,3.5rem);text-shadow:0 2px 12px #0008}
.ms-home-hero-bookmark .ms-home-hero-copy>p{width:100%;max-width:47rem;margin:0;font-size:1rem;text-shadow:0 1px 6px #000}
.ms-home-hero-bookmark .ms-home-actions{margin-top:.35rem}
.ms-home-selection:focus{outline:none}
.ms-home-selection:focus-visible .ms-home-section-heading h2{text-decoration:underline;text-decoration-color:var(--ms-text);text-underline-offset:.2em;text-decoration-thickness:2px}
.ms-home-selection-single ul.products{display:block;max-width:60rem}
.ms-home-selection-single ul.products li.product{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.5rem 2rem;width:100%!important;float:none!important;padding:0!important;text-align:left!important}
.ms-home-selection-single li.product>a.woocommerce-loop-product__link{display:grid;grid-template-columns:subgrid;grid-template-rows:subgrid;grid-column:1/-1;grid-row:1/6}
.ms-home-selection-single ul.products li.product img{grid-column:1;grid-row:1/6;align-self:center;width:100%;height:auto;aspect-ratio:auto;margin:0;object-fit:contain}
.ms-home-selection-single ul.products li.product .woocommerce-loop-product__title{grid-column:2;margin:0;font-size:clamp(1.4rem,2.3vw,2rem)}
.ms-home-selection-single ul.products li.product :is(.price,.ms-tax-note,.ms-shipping-note,.button){grid-column:2;margin:0}
.ms-home-selection-single ul.products li.product .button{justify-self:start;align-self:start;margin-top:.5rem}
@media(max-width:780px){
.ms-home-hero-bookmark{height:auto;min-height:0;aspect-ratio:3/4}
.ms-home-hero-bookmark .ms-home-hero-copy{display:block;padding:1.25rem var(--ms-gutter)}
.ms-home-hero-bookmark .ms-home-hero-copy h1{font-size:clamp(1.85rem,6vw,2.75rem);margin-bottom:.5rem}
.ms-home-hero-bookmark .ms-home-hero-copy>p{font-size:.95rem;line-height:1.5;margin-bottom:1rem}
.ms-home-hero-bookmark .ms-home-actions>.button{width:auto;min-height:46px;padding:.65rem 1rem}
.ms-home-hero-bookmark .ms-home-hero-image::after{background:linear-gradient(0deg,#080807fa 0%,#080807c4 25%,#08080700 52%)}
.ms-home-selection-single ul.products li.product{grid-template-columns:minmax(0,1fr);gap:.65rem}
.ms-home-selection-single ul.products li.product img{grid-column:1;grid-row:auto;margin-bottom:.5rem}
.ms-home-selection-single ul.products li.product :is(.woocommerce-loop-product__title,.price,.ms-tax-note,.ms-shipping-note,.button){grid-column:1}
.ms-home-selection-single ul.products li.product .button{width:auto}
}



@media(max-width:780px){
.ms-home-hero-bookmark .ms-home-hero-copy{top:0;bottom:auto}
.ms-home-hero-bookmark .ms-home-hero-image::after{background:linear-gradient(180deg,#080807de 0%,#08080770 24%,#08080700 48%)}
}
@media(max-width:480px){
.ms-home-hero-bookmark .ms-home-hero-copy h1{font-size:clamp(1.5rem,7vw,1.85rem);margin-bottom:.75rem}
.ms-home-hero-bookmark .ms-home-hero-copy>p{display:none}
}

/* Keep the native product link rendered and keyboard-focusable. */
.ms-home-selection-single ul.products li.product{grid-template-rows:repeat(5,auto)}
.ms-home-selection-single ul.products li.product .woocommerce-loop-product__title{grid-row:1}
.ms-home-selection-single ul.products li.product .price{grid-row:2}
.ms-home-selection-single ul.products li.product .ms-tax-note{grid-row:3}
.ms-home-selection-single ul.products li.product .ms-shipping-note{grid-row:4}
.ms-home-selection-single ul.products li.product .button{grid-row:5}
@media(max-width:780px){
.ms-home-selection-single ul.products li.product{grid-template-rows:repeat(6,auto)}
.ms-home-selection-single li.product>a.woocommerce-loop-product__link{grid-row:1/4}
.ms-home-selection-single ul.products li.product img{grid-row:1}
.ms-home-selection-single ul.products li.product .woocommerce-loop-product__title{grid-row:2}
.ms-home-selection-single ul.products li.product .price{grid-row:3}
.ms-home-selection-single ul.products li.product .ms-tax-note{grid-row:4}
.ms-home-selection-single ul.products li.product .ms-shipping-note{grid-row:5}
.ms-home-selection-single ul.products li.product .button{grid-row:6}
}

/* Seasonal feature uses the complete owner photograph beside the product link. */
.ms-home-hero-christmas{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;background:var(--ms-bg)}
.ms-home-hero-christmas .ms-home-hero-copy{padding:clamp(2rem,5vw,5rem) max(var(--ms-gutter),calc((100vw - 90rem)/2 + var(--ms-gutter)));padding-right:clamp(1.5rem,4vw,4rem)}
.ms-home-hero-christmas .ms-home-hero-copy h1{max-width:12ch;font-size:clamp(2.5rem,4.8vw,4.5rem)}
.ms-home-hero-christmas .ms-home-hero-copy>p{width:100%;max-width:31rem}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-eyebrow{font-size:.75rem}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-feature-price{font-size:1.65rem;color:var(--ms-sand);margin-block:0 1.25rem}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-feature-notes{font-size:.78rem;line-height:1.6;margin-top:-.75rem;margin-bottom:1.5rem}
.ms-home-feature-notes a{color:var(--ms-text);text-underline-offset:.2em}
.ms-home-hero-christmas .ms-home-hero-image{position:relative;inset:auto;z-index:0;align-self:stretch;background:#100e0c}
.ms-home-hero-christmas .ms-home-hero-image::after{display:none}
.ms-home-hero-christmas .ms-home-hero-image img{width:100%;height:100%;max-height:46rem;object-fit:contain;object-position:center}
.ms-home-selection-pair ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.5rem,4vw,3rem)}
.ms-home-selection-pair ul.products li.product img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--ms-bg)}
@media(max-width:780px){
.ms-home-hero-christmas{display:flex;flex-direction:column}
.ms-home-hero-christmas .ms-home-hero-copy{padding:2rem var(--ms-gutter)}
.ms-home-hero-christmas .ms-home-hero-copy h1{font-size:clamp(2.4rem,9vw,3.5rem);margin-bottom:1rem}
.ms-home-hero-christmas .ms-home-hero-image{width:100%}
.ms-home-hero-christmas .ms-home-hero-image img{height:auto;max-height:38rem;aspect-ratio:3/4}
.ms-home-selection-pair ul.products{grid-template-columns:minmax(0,1fr);gap:2rem}
}
@media(max-width:480px){
.ms-home-hero-christmas{display:block;aspect-ratio:auto;min-height:calc(133.333vw + 10rem);isolation:isolate}
.ms-home-hero-christmas .ms-home-hero-image{position:absolute;inset:10rem 0 0;z-index:-1;height:auto}
.ms-home-hero-christmas .ms-home-hero-image img{height:100%;max-height:none;object-fit:cover}
.ms-home-hero-christmas .ms-home-hero-image::after{display:block;background:linear-gradient(180deg,#080807ee 0%,#080807b8 30%,#08080700 64%)}
.ms-home-hero-christmas .ms-home-hero-copy{padding:1.25rem var(--ms-gutter)}
.ms-home-hero-christmas .ms-home-rule,.ms-home-hero-christmas .ms-home-hero-copy>p:not(.ms-home-eyebrow,.ms-home-feature-price,.ms-home-feature-notes){display:none}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-eyebrow{font-size:.65rem;margin-bottom:.5rem}
.ms-home-hero-christmas .ms-home-hero-copy h1{font-size:clamp(1.65rem,7vw,2rem);margin-bottom:.65rem}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-feature-price{font-size:1.3rem;margin-bottom:.75rem}
.ms-home-hero-christmas .ms-home-hero-copy>.ms-home-feature-notes{font-size:.65rem;margin-top:0;margin-bottom:.75rem}
.ms-home-hero-christmas .ms-home-actions>.button{width:auto;min-height:44px;padding:.65rem 1rem;font-size:.9rem}
.ms-home-hero-christmas .ms-home-actions>.ms-home-text-link{display:none}
}

/* Three selected product families, with complete photographs on every card. */
.ms-home-selection-trio ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.25rem,3vw,2.5rem)}
.ms-home-selection-trio ul.products li.product img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--ms-bg)}
@media(max-width:780px){.ms-home-selection-trio ul.products{grid-template-columns:minmax(0,1fr);gap:2rem}}

@media(min-width:1101px){.ms-home-selection ul.products:has(>li:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Approved continuous surface: structure comes from space and fine rules. */
.ms-home-rule{background:var(--ms-line)}
.ms-home-selection ul.products li.product .price{color:var(--ms-text)}
.ms-shop-home #main .ms-market-note.ms-market-feature{background:var(--ms-bg);box-shadow:none;border-block:1px solid var(--ms-line);border-radius:0}
.ms-shop-home #main .ms-market-note.ms-market-feature :is(.ms-market-eyebrow,.ms-market-title span){color:var(--ms-text)}
.ms-shop-home #main .ms-market-note.ms-market-feature .ms-market-heading::before{background:var(--ms-line)}
.ms-shop-home #main .ms-market-note.ms-market-feature :is(.ms-market-media,.ms-market-contact){border-color:var(--ms-line)}

.ms-home .button:hover{background:var(--ms-sand);border-color:var(--ms-text);color:var(--ms-bg)}
.ms-shop-home #main .ms-market-note.ms-market-feature .ms-market-button{background:var(--ms-sand);border-color:var(--ms-sand);color:var(--ms-bg)}
.ms-shop-home #main .ms-market-note.ms-market-feature .ms-market-contact-actions .ms-market-button{background:transparent;color:var(--ms-text);border-color:var(--ms-line)}
.ms-shop-home #main .ms-market-note.ms-market-feature .ms-market-contact-actions .ms-market-button:hover{background:transparent;border-color:var(--ms-sand)}
