.cse-home {
  --cse-ink: #1e1e1e;
  --cse-cream: #f3ede6;
  --cse-edge: clamp(16px, 3.55vw, 72px);
  color: var(--cse-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  width: 100%;
}
body.home:has(.cse-home) .main-page-wrapper > .container {max-width: none; padding-inline: 0;}
body.home:has(.cse-home) .main-page-wrapper {padding-top: 0;}
.cse-home :is(h1,h2,h3, p, figure, blockquote, ul) {margin:0; color: inherit; font-family: inherit;}
.cse-home img {display: block; max-width:100%; height:auto;}
.cse-home .cse-edge {margin-inline: auto; width: calc(100% - 2 * var(--cse-edge)); max-width: 1792px;}
.cse-home :is(button,a,summary):focus-visible {outline: 3px solid #4a221e; outline-offset: 3px;}
.cse-home .cse-button {
  min-height: 48px;
  display: inline-flex;
  min-width: 154px;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1px solid var(--cse-ink);
  border-radius: 32px;
  background: white;
  color: var(--cse-ink);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.cse-home .cse-button:hover {background: #f0e9e2;}
.cse-home .cse-primary {background: #1e1e1e; color:#fff;}
.cse-home .cse-primary:hover {background: #3b3330; color:#fff;}
.cse-home .cse-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 539;
  max-height: 79svh;
  border-radius: clamp(14px, 1.55vw, 32px);
  background: #a21b24;
  color: #fff;
}
.cse-hero-bg, .cse-hero-bg img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.cse-hero-copy {
  position: relative;
  margin-inline: auto;
  width: min(42%, 550px);
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 1.2vw, 24px);
}
.cse-hero-copy h1 {width: 88%;}
.cse-hero-copy p {font-size: clamp(13px,1.36vw,25px); font-weight: 900; line-height: 1; text-transform: uppercase; text-shadow: 0 1px 5px #71141a;}
.cse-home .cse-hero-copy .cse-button {border: 0; min-width: clamp(120px,13vw,240px);}
.cse-trending {margin-top: clamp(52px,7vw,133px); position: relative;}
.cse-trending-title {text-align: center; color:#000!important; font-weight: 1000; font-size: clamp(44px,5.4vw,105px); letter-spacing: -.055em; text-transform: uppercase; line-height: .9;}
.cse-trending-title span {display:block; font-size:.76em; letter-spacing: -.04em;}
.cse-home .cse-track {
  display: flex;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.cse-track::-webkit-scrollbar {display:none;}
.cse-track > * {scroll-snap-align: start; flex-shrink: 0;}
.cse-trending .cse-track {gap: 18px; margin: clamp(23px,3.2vw,61px) auto 0; width:94%;}
.cse-trend-card {
  flex-basis: calc((100% - 18px) / 2);
  aspect-ratio: 2.1;
  display:grid;
  grid-template-columns: 54% 46%;
  align-items: center;
  background: var(--cse-card);
  border-radius: 13px;
  overflow:hidden;
  position:relative;
}
.cse-trend-card > img {position:absolute; inset:0 0 0 auto; width:51%; height:100%; object-fit: contain; object-position:center;}
.cse-trend-card > div {position:relative; padding: 10% 0 10% 8%; color:#fff; grid-column:1;}
.cse-trend-card:is([data-color="sale"],[data-color="latte"],[data-color="peach"],[data-color="variety"]) > div {color:#271916;}
.cse-trend-card h3 {font-size:clamp(21px,2.2vw,43px); font-weight: 950; line-height: .98; text-transform:uppercase;}
.cse-trend-card p {margin:9px 0 17px; line-height:1.16; font-size:clamp(12px,1vw,19px); text-transform: uppercase;}
.cse-trend-card .cse-button {min-height:40px;font-size:13px;}
.cse-home .cse-controls {
  display:flex; justify-content:space-between; pointer-events:none;
  position:absolute; top:50%; left: 2%; right:2%; transform: translateY(-50%);
}
.cse-home .cse-controls button {
  display:grid; place-items:center; pointer-events:auto;
  padding:0; min-height:0; width:44px; aspect-ratio:1;
  background:#fff; color:#191919; border:1px solid #191919; border-radius:50%;
  font-size:29px; line-height:1;
}
.cse-home .cse-controls button:hover {background:#f1ece7;}
.cse-trending .cse-controls {top:64%; left:1%;right:1%;}
.cse-dots {margin: 16px auto 0; display:flex; gap:2px; justify-content:center;}
.cse-home .cse-dots button {display:grid; place-items:center; background:none; min-width:21px; min-height:24px; padding:0;}
.cse-home .cse-dots button::after {content:""; height:7px; width:9px; border-radius:12px; background:#cbbbad;}
.cse-home .cse-dots button[aria-current="true"]::after {width:19px;background:#111;}
.cse-best {padding: clamp(24px,2.5vw,44px) 0 clamp(36px,5.5vw,96px);}
.cse-best > h2 img {width:min(100%,430px);margin: 0 auto clamp(26px,3vw,54px);}
.cse-best .wd-product {--wd-prod-bg:#fff; text-align:center;}
.cse-best .wd-product .product-wrapper {border:1px solid #dedbd9;border-radius: 20px; overflow:hidden; padding: 12px;}
.cse-best .wd-product .product-image-link img {aspect-ratio:1.15;object-fit:contain; width:100%;}
.cse-best .wd-product .wd-entities-title {font-weight: 750;}
.cse-best .wd-product .price del {text-decoration:line-through;}
.cse-best .wd-carousel-wrap {align-items: stretch;}
.cse-cream {background: var(--cse-cream) url(wave.webp) center top / 100% auto no-repeat; padding: clamp(38px,5vw,90px) 0;}
.cse-standards {text-align:center; padding:0 var(--cse-edge) clamp(38px,4.8vw,88px);}
.cse-standards h2 {font-size:clamp(30px,3vw,56px); font-weight: 950; line-height: .99; text-transform:uppercase;}
.cse-standards > p {margin: 22px 0 28px;}
.cse-standards ul {list-style:none; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(10px,2vw,42px); max-width: 900px; margin-inline:auto;}
.cse-standards-details {margin-top:22px;}
.cse-standards-details summary,.cse-text-link {color:inherit; font-size:15px;font-weight:850;text-decoration: underline;text-underline-offset:5px;text-transform:uppercase;cursor:pointer;}
.cse-standards-details p {max-width:680px;margin:12px auto;}
.cse-categories {text-align:center;}
.cse-categories > div {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(10px,1vw,20px); margin-bottom:clamp(24px,3.3vw,60px);}
.cse-categories > div a {color:inherit; overflow:hidden; border-radius:clamp(12px,1.5vw,27px); background:#fff; box-shadow:0 10px 22px #2920160d;}
.cse-categories > div img {width:100%;aspect-ratio:.88;object-fit:cover;}
.cse-categories > div span {display:block; padding:14px 6px; font-weight:800; font-size:clamp(15px,1.7vw,30px); text-decoration:underline; text-underline-offset: 5px;}
.cse-creator {margin-top:65px;position:relative;}
.cse-creator .cse-track {gap:clamp(14px,3vw,48px);width:92%;margin:auto;}
.cse-video {flex-basis:calc((100% - 4 * clamp(14px,3vw,48px)) / 5);position:relative;}
.cse-video :is(button,.cse-video-poster) {border:3px solid black; border-radius:14px;overflow:hidden; padding:0; width:100%; aspect-ratio:9/16; background:#e8dfd6;display:block;}
.cse-video img {width:100%; height:100%; object-fit:cover;}
.cse-video button span {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid #fff;color:#fff;background:#23232355;display:grid;place-items:center;border-radius:50%;width:54px;height:54px;}
.cse-video-dialog {border:0; border-radius:14px; background:#111;color:#fff;padding:16px;width:min(92vw,490px);}
.cse-video-dialog::backdrop {background:#000b;}
.cse-video-dialog video {display:block;width:100%;max-height:76vh;}
.cse-video-dialog button {display:block;margin:0 0 10px auto;color:#111;background:#fff;border-radius:50%;height:36px;min-height:0;padding:0;width:36px;font-size:24px;}
.cse-press {display:grid;grid-template-columns:16% 1fr;align-items:center;position:relative;padding:60px 0;}
.cse-press h2 {font-size:clamp(15px,1.45vw,26px);font-weight:900;text-transform:uppercase;}
.cse-press .cse-track {gap:4%;align-items:center;}
.cse-press figure {flex-basis:18%; display:grid;place-items:center;}
.cse-press img {width:auto;max-height:55px;max-width:86%;object-fit:contain;}
.cse-press .cse-controls {left: 15%; right:0; opacity:0;}
.cse-press:is(:hover,:focus-within) .cse-controls {opacity:1;}
.cse-story {background: white url(wave.webp) center bottom / 100% 31% no-repeat;}
.cse-story > div {display:grid;grid-template-columns: 1fr 1fr;gap:7%;align-items:center; padding:clamp(42px,6.6vw,122px) 0;}
.cse-story h2 img {width:min(100%,650px);}
.cse-story p {font-size:clamp(16px,1.32vw,24px);margin-bottom:16px;}
.cse-reviews {position:relative;background:#f7f7f7;}
.cse-review {flex-basis:100%;position:relative;display:flex;align-items:center;justify-content:flex-end;min-height: clamp(380px,32.2vw,590px);}
.cse-review picture,.cse-review picture img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;}
.cse-review-copy {position:relative;margin-right:var(--cse-edge);width:44%;padding: 24px 7% 28px 0;z-index:1;}
.cse-review h3 {font-size:clamp(27px,3vw,57px);font-weight:950;line-height:1.04;letter-spacing:-.03em;text-transform:uppercase;margin:16px 0;}
.cse-eyebrow {text-transform:uppercase;font-weight:850;}
.cse-review blockquote {border:0;padding:0;font-style:normal;}
.cse-review .cse-flavor {font-weight:750;margin:10px 0 16px;}
@media (max-width:900px) {
  .cse-trending .cse-track {width:100%;}
  .cse-trend-card > div {padding-left:5%;}
  .cse-trend-card .cse-button {min-width:0;min-height:34px;padding:4px 14px;}
}
@media (max-width:640px) {
  .cse-home {font-size:15px;}
  .cse-home .cse-hero {aspect-ratio: .8;}
  .cse-hero-copy {justify-content:flex-start;width:80%;padding-top:8%;gap:10px;}
  .cse-hero-copy h1 {width:94%;}
  .cse-home .cse-hero-copy .cse-button {min-height:39px;font-size:13px;}
  .cse-trending .cse-track {gap:12px;}
  .cse-trend-card {flex-basis:91%; min-height:168px;}
  .cse-trend-card h3 {font-size:21px;}
  .cse-trending .cse-controls {left:-5px;right:-5px;top:61%;}
  .cse-home .cse-controls button {width:33px;font-size:23px;}
  .cse-best > h2 img {width:76%;}
  .cse-best .wd-product .product-wrapper {padding:8px;}
  .cse-standards ul {grid-template-columns:repeat(3,1fr);max-width:340px;}
  .cse-standards > p {margin:16px auto 20px;max-width:34ch;}
  .cse-categories > div {grid-template-columns:1fr 1fr;}
  .cse-creator {margin-top:34px;}
  .cse-video {flex-basis:43%;}
  .cse-press {padding:37px 0;display:block;}
  .cse-press h2 {margin:0 0 15px;}
  .cse-press figure {flex-basis: 30%;}
  .cse-press .cse-controls {top:68%;left:0;opacity:1;}
  .cse-story > div {grid-template-columns:1fr;gap:18px;}
  .cse-review {display:block;}
  .cse-review picture {position:relative; display:block;height:auto;aspect-ratio:1.1;}
  .cse-review picture img {object-fit:cover;}
  .cse-review-copy {width:auto; margin:0; padding:20px 22px 25px;}
  .cse-reviews .cse-controls {top:min(44vw,240px);}
}
@media (prefers-reduced-motion:reduce) {
  .cse-home *, .cse-home *::before, .cse-home *::after {scroll-behavior:auto!important;animation-duration:.01ms!important;}
}

/* Keep WoodMart's own SKU selection and carousel controls visible on the homepage. */
.cse-best .wd-carousel-container .wd-nav-arrows {opacity:1; visibility:visible;}
.cse-best .wd-hover-fw-button .wd-add-btn {margin-top:12px;}
.cse-best .wd-hover-fw-button .wd-add-btn a {
  max-width:210px; margin-inline:auto; border-radius:24px;
  background:#fff; color:#191919; border:1px solid #252525;
}
.cse-best .wd-hover-fw-button .wd-add-btn a:hover {background:#f3ede6; color:#191919;}
.cse-best .wd-product .price del {color:#626262;}
.cse-best .wd-product .wd-entities-title {min-height:2.65em;}
.cse-home .cse-dots button[hidden] {display:none;}
