/* Editorial sections share their selection rules and retain their card designs. */
.twc-wine-selection{background:#fff}
.twc-homepage-collection[data-homepage-collection="promotions"]{background:#fafafa}
.elementor-widget-twc-section:has([data-twc-empty-collection]){display:none}
.e-con:has(>.elementor-widget-twc-section:only-child [data-twc-empty-collection]),
.e-con:has(>.e-con-inner:only-child>.elementor-widget-twc-section:only-child [data-twc-empty-collection]){display:none}
.twc-collection-editor-empty{padding:24px;border:1px dashed #ab876c;background:#f8f7f5;color:#160c04}.twc-collection-editor-empty p{margin:8px 0 0}
.twc-homepage-collection .twc-collection-track.is-static{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;scroll-snap-type:none}
.twc-homepage-collection .twc-collection-track.is-scrollable{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.twc-homepage-collection .twc-collection-track.is-scrollable>article{flex:0 0 calc((100% - 32px)/3);min-width:0;scroll-snap-align:start}
.twc-homepage-collection .twc-collection-track.is-static>article{min-width:0;width:auto;max-width:none}
.home-products.twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-products.twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:calc((100% - 48px)/4)}
.twc-homepage-collection .carousel-controls{display:flex}
/* One arrow component for homepage collections and related product carousels. */
:is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls{gap:8px;margin-left:auto;flex:none;align-self:center}
:is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--twc-button-edge);border-radius:var(--twc-button-radius);background:var(--twc-button-background);color:var(--twc-button-text);cursor:pointer}
:is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls button:hover{background:var(--twc-button-background);color:var(--twc-button-text)}
:is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls button:focus-visible{outline:2px solid #ab876c;outline-offset:3px}
:is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls svg{width:revert-layer;height:revert-layer;max-width:none}
.twc-homepage-collection.home-rarities>.container{grid-template-columns:minmax(0,1fr)}
.home-rarities .twc-collection-track{min-width:0}
.home-rarities .twc-rarity-card{border:1px solid #756e69}
.home-rarities .rarity-visual{flex-direction:row}
.home-rarities .rarity-meta{border-top:0}
.home-rarities .rarity-badge{color:#e3d7ce}
.twc-homepage-collection .home-more .twc-button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.shop-banner p>a{text-decoration:underline}
@media(max-width:1200px) and (min-width:761px){
 .twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:repeat(2,minmax(0,1fr))}
 .twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:calc((100% - 16px)/2)}
 .home-products.twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-products.twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:calc((100% - 16px)/2)}
}
/* Wider tablets use three cards across in both grids and scrollable collections. */
@media(min-width:992px) and (max-width:1200px){
 .twc-homepage-collection .twc-collection-track.is-static,
 .home-products.twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:repeat(3,minmax(0,1fr))}
 .twc-homepage-collection .twc-collection-track.is-scrollable>article,
 .home-products.twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:calc((100% - 32px)/3)}
}
@media(max-width:360px){
 :is(.twc-homepage-collection,.wine-carousel) .home-heading:has(>.twc-carousel-controls){gap:4px;flex-wrap:nowrap}
 :is(.twc-homepage-collection,.wine-carousel) .home-heading:has(>.twc-carousel-controls)>span{display:none}
}
@media(max-width:760px){
 .twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:minmax(0,1fr)}
 .twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:100%}
 .home-products.twc-homepage-collection .twc-collection-track.is-static{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-products.twc-homepage-collection .twc-collection-track.is-scrollable>article{flex-basis:calc((100% - 16px)/2)}
 .twc-homepage-collection .home-heading{flex-wrap:wrap}
 .twc-homepage-collection .home-heading h2{white-space:normal}
 .twc-homepage-collection .home-more{margin-top:24px}
 :is(.twc-homepage-collection,.wine-carousel) .twc-carousel-controls button{width:36px;height:36px;border-radius:var(--twc-button-radius)}
}
