
:root{
  --bg:#f7f5f0;
  --paper:#ffffff;
  --paper-2:#f1eee7;
  --ink:#151515;
  --muted:#6e6b65;
  --line:#ddd8ce;
  --line-dark:#2b2b2b;
  --black:#111111;
  --sand:#d9d0c3;
  --accent:#b8aa98;
  --max:1240px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

/* TOP STRIP */
.announcement{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 18px;
  background:var(--black);
  color:#fff;
  text-align:center;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
}

/* HEADER */
header{
  position:sticky;
  top:0;
  z-index:100;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  min-height:76px;
  padding:0 max(20px,calc((100vw - var(--max))/2));
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}

.logo{
  font-size:23px;
  font-weight:900;
  letter-spacing:-.06em;
}

nav{
  display:flex;
  gap:28px;
  align-items:center;
}

nav a{
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  color:#4e4b46;
}

nav a:hover{color:#000}

.bag{
  justify-self:end;
  border:1px solid #222;
  background:#fff;
  color:#111;
  border-radius:999px;
  padding:10px 14px;
  font-size:11px;
  font-weight:800;
}

#bagCount{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  margin-left:5px;
  border-radius:50%;
  background:#111;
  color:#fff;
}

/* HERO */
.hero{
  position:relative;
  min-height:82vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:90px 24px 80px;
  overflow:hidden;
  background:
    linear-gradient(125deg,rgba(255,255,255,.85),rgba(238,233,224,.72)),
    repeating-linear-gradient(
      90deg,
      transparent 0 110px,
      rgba(0,0,0,.025) 110px 111px
    );
  border-bottom:1px solid var(--line);
}

.heroCode{
  position:absolute;
  left:28px;
  top:25px;
  font-size:10px;
  letter-spacing:.18em;
  color:#77736d;
}

.heroCenter{
  position:relative;
  z-index:2;
  width:min(900px,100%);
}

.eyebrow{
  margin:0 0 16px;
  color:#6c6861;
  font-size:10px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}

.hero h1{
  margin:0;
  max-width:880px;
  font-size:clamp(66px,11vw,145px);
  line-height:.80;
  letter-spacing:-.085em;
  text-transform:uppercase;
}

.hero h1 em{
  color:#6f6255;
  font-style:normal;
}

.sub{
  max-width:440px;
  margin:28px 0 0;
  color:#5e5a54;
  font-size:17px;
  line-height:1.65;
}

.heroBtns{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:32px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border:1px solid #111;
  font-size:11px;
  font-weight:900;
  letter-spacing:.11em;
  transition:.2s ease;
}

.btn.dark{
  background:#111;
  color:#fff;
}

.btn.dark:hover{
  background:#2b2b2b;
  transform:translateY(-2px);
}

.btn.ghost{
  background:#fff;
  color:#111;
}

.btn.ghost:hover{
  background:#eee9e1;
}

.heroMark{
  position:absolute;
  right:-15px;
  bottom:-34px;
  font-size:clamp(150px,23vw,350px);
  font-weight:900;
  letter-spacing:-.12em;
  color:rgba(0,0,0,.035);
  user-select:none;
}

/* TICKER */
.ticker{
  overflow:hidden;
  white-space:nowrap;
  background:#111;
  color:#fff;
}

.ticker div{
  display:inline-block;
  min-width:200%;
  padding:13px 0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.15em;
  animation:ticker 24s linear infinite;
}

@keyframes ticker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* CORE WIDTH */
.shop,.identity,.process{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
}

/* SHOP / PRODUCT-FIRST */
.shop{
  padding:95px 0 90px;
}

.sectionHead{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:40px;
  align-items:end;
  margin-bottom:36px;
}

.sectionHead h2,
.identity h2,
.processTitle h2,
.customCopy h2,
.campaignCopy h2{
  margin:0;
  font-size:clamp(42px,7vw,86px);
  line-height:.90;
  letter-spacing:-.065em;
  text-transform:uppercase;
}

.dropCopy{
  margin:0;
  max-width:380px;
  justify-self:end;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:26px;
}

.filters button{
  border:1px solid #cbc5ba;
  background:#fff;
  color:#4d4943;
  border-radius:999px;
  padding:9px 14px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
}

.filters button.active,
.filters button:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.product{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 26px rgba(44,39,32,.04);
  overflow:hidden;
  transition:.25s ease;
}

.product:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 44px rgba(44,39,32,.10);
}

.art{
  position:relative;
  min-height:480px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
}

.art::after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(0,0,0,.07);
  pointer-events:none;
}

/* Concept art that feels like product photography */
.art1{
  background:
    radial-gradient(circle at 50% 50%,#6e4b52 0 22%,transparent 23%),
    conic-gradient(from 35deg,#efe6df,#a87983,#f7f0eb,#79515a,#efe6df);
}

.art2{
  background:
    linear-gradient(130deg,#e9e4dc 0 34%,#2a2a2a 34% 54%,#d8c3b0 54% 100%);
}

.art3{
  background:
    radial-gradient(circle at center,#111 0 8%,transparent 9%),
    radial-gradient(circle at center,#ccbdb0 0 26%,#eee8df 27% 31%,#7f695e 32% 100%);
}

.art4{
  background:
    linear-gradient(90deg,#d8d0c5 0 21%,#3a3a3a 21% 25%,#f2ede6 25% 75%,#3a3a3a 75% 79%,#d6c6b7 79%);
}

.art strong{
  position:relative;
  z-index:2;
  font-size:clamp(58px,8vw,110px);
  line-height:.84;
  letter-spacing:-.08em;
  text-align:center;
  text-transform:uppercase;
  color:#111;
}

.art small{
  position:absolute;
  left:22px;
  bottom:20px;
  z-index:2;
  font-size:10px;
  letter-spacing:.15em;
  color:#2f2d29;
}

.edition{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  border:1px solid rgba(0,0,0,.12);
  background:rgba(255,255,255,.76);
  backdrop-filter:blur(8px);
  color:#111;
  border-radius:999px;
  padding:7px 10px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.meta{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px 18px 10px;
}

.meta h3{
  margin:0 0 5px;
  font-size:18px;
}

.meta p{
  margin:0;
  color:#77736c;
  font-size:12px;
}

.meta b{
  font-size:17px;
}

.view{
  width:calc(100% - 36px);
  margin:10px 18px 18px;
  min-height:46px;
  border:1px solid #1d1d1d;
  background:#fff;
  color:#111;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}

.view:hover{
  background:#111;
  color:#fff;
}

.placeholderNote{
  margin-top:20px;
  color:#8b867d;
  font-size:10px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

/* STREETWEAR CAMPAIGN MOMENT */
.campaign{
  position:relative;
  min-height:560px;
  display:grid;
  place-items:center;
  padding:85px 24px;
  overflow:hidden;
  background:#181818;
  color:#fff;
}

.campaignCopy{
  position:relative;
  z-index:2;
  max-width:720px;
  text-align:center;
}

.campaignCopy>p:first-child{
  font-size:11px;
  font-weight:900;
  letter-spacing:.17em;
}

.campaignCopy>p:last-child{
  max-width:520px;
  margin:22px auto 0;
  color:#bbb;
  font-size:15px;
  line-height:1.7;
}

.campaignWord{
  position:absolute;
  left:-35px;
  top:20px;
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.12);
  font-size:clamp(120px,18vw,280px);
  font-weight:900;
  letter-spacing:-.08em;
}

.campaignWord.right{
  left:auto;
  right:-65px;
  top:auto;
  bottom:-30px;
}

/* BRAND IDENTITY */
.identity{
  padding:100px 0;
}

.identity h2{
  max-width:1000px;
}

.identityRow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:42px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.identityRow span{
  padding:20px 14px;
  text-align:center;
  border-right:1px solid var(--line);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.identityRow span:last-child{border-right:none}

/* CUSTOMS */
.custom{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto 100px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:26px;
  align-items:start;
}

.customCopy,
.custom form{
  background:#fff;
  border:1px solid var(--line);
}

.customCopy{
  padding:40px;
}

.customCopy>p:not(.eyebrow){
  color:var(--muted);
  line-height:1.7;
}

.customCopy>small{
  display:block;
  margin-top:12px;
  color:#7f7a72;
}

.sizeGuide{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:26px 0 18px;
}

.sizeCard{
  border:1px solid var(--line);
  background:#faf8f4;
  color:#111;
  text-align:left;
  padding:0;
  overflow:hidden;
  transition:.2s ease;
}

.sizeCard:hover,
.sizeCard.active{
  transform:translateY(-3px);
  border-color:#111;
  box-shadow:0 10px 20px rgba(0,0,0,.06);
}

.sizeScene{
  position:relative;
  height:132px;
  background:linear-gradient(180deg,#efeae2 0 62%,#d5cabd 62% 100%);
  overflow:hidden;
}

.sceneWall{
  position:absolute;
  left:50%;
  top:16px;
  width:64px;
  height:42px;
  transform:translateX(-50%);
  border:3px solid rgba(0,0,0,.10);
}

.sceneFurniture{
  position:absolute;
  left:50%;
  bottom:28px;
  width:88px;
  height:31px;
  transform:translateX(-50%);
  border-radius:7px 7px 1px 1px;
  background:#786e66;
}

.sceneFurniture::before,
.sceneFurniture::after{
  content:"";
  position:absolute;
  bottom:-9px;
  width:5px;
  height:10px;
  background:#45403b;
}

.sceneFurniture::before{left:12px}
.sceneFurniture::after{right:12px}

.sceneRug{
  position:absolute;
  left:50%;
  bottom:7px;
  transform:translateX(-50%);
  background:#5f4c58;
  border:2px solid #c6bbb0;
  box-shadow:0 5px 9px rgba(0,0,0,.16);
}

.sceneRug.small{width:42px;height:28px;border-radius:50%}
.sceneRug.medium{width:74px;height:40px;border-radius:20px}
.sceneRug.large{width:108px;height:52px;border-radius:26px}

.sizeCardCopy{
  padding:12px;
}

.sizeCardCopy span{
  display:block;
  color:#817b73;
  font-size:9px;
  letter-spacing:.14em;
}

.sizeCardCopy b{
  display:block;
  margin:3px 0 6px;
  font-size:16px;
}

.sizeCardCopy small{
  color:#77716a;
  font-size:9px;
  line-height:1.45;
}

.prices{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
}

.prices span{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:14px;
  border:1px solid var(--line);
  background:#faf8f4;
  color:#7a756d;
  font-size:9px;
  letter-spacing:.11em;
}

.prices b{
  color:#111;
  font-size:13px;
  letter-spacing:0;
}

/* FORM */
.custom form{
  padding:34px;
}

.custom form label{
  display:block;
  margin-bottom:17px;
  color:#5f5b54;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
}

.custom input,
.custom select,
.custom textarea{
  display:block;
  width:100%;
  margin-top:7px;
  border:1px solid #d7d1c7;
  background:#fbfaf7;
  color:#111;
  padding:14px 13px;
  outline:none;
}

.custom input:focus,
.custom select:focus,
.custom textarea:focus{
  border-color:#333;
  background:#fff;
}

.custom textarea{
  min-height:140px;
  resize:vertical;
}

.submit{
  width:100%;
  min-height:52px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}

.submit:hover{
  background:#333;
}

.formNote{
  margin:12px 0 0;
  color:#7b766f;
  font-size:10px;
  line-height:1.6;
}

/* PROCESS */
.process{
  padding:10px 0 110px;
}

.processTitle{
  margin-bottom:40px;
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid var(--line);
}

.steps>div{
  min-height:205px;
  padding:24px 20px;
  border-right:1px solid var(--line);
}

.steps>div:last-child{border-right:none}

.steps b{
  color:#9a948b;
  font-size:10px;
}

.steps h3{
  margin:34px 0 8px;
  font-size:19px;
}

.steps p{
  margin:0;
  color:#716c65;
  font-size:13px;
  line-height:1.65;
}

/* FOOTER */
footer{
  padding:60px max(20px,calc((100vw - var(--max))/2)) 26px;
  background:#111;
  color:#fff;
}

.footerTop{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-end;
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.logo.big{
  font-size:clamp(48px,9vw,120px);
  line-height:.8;
  letter-spacing:-.08em;
}

.footerTop p{
  margin:0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}

.footerBottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:18px;
  color:#8f8f8b;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:none;
  grid-template-columns:1.25fr .75fr;
  background:#f6f2eb;
  color:#111;
}

.modal.open{display:grid}

.close{
  position:absolute;
  right:20px;
  top:18px;
  z-index:5;
  width:42px;
  height:42px;
  border:1px solid #bbb4a9;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:24px;
}

.modalArt{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e9e2d7;
}

.modalInfo{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:50px;
  border-left:1px solid var(--line);
  background:#fff;
}

.modalInfo h2{
  margin:0 0 8px;
  font-size:clamp(40px,6vw,76px);
  letter-spacing:-.06em;
}

.modalInfo p{
  color:#6f6a63;
  line-height:1.7;
}

.modalInfo small{
  margin-top:14px;
  color:#88827a;
}

/* MOBILE */
@media(max-width:980px){
  header{grid-template-columns:1fr auto}
  header nav{display:none}
  .sectionHead,.custom{grid-template-columns:1fr}
  .dropCopy{justify-self:start}
  .steps{grid-template-columns:repeat(2,1fr)}
  .steps>div:nth-child(2){border-right:none}
  .steps>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .modal{grid-template-columns:1fr;overflow:auto}
  .modalArt{min-height:55vh}
  .modalInfo{border-left:none;border-top:1px solid var(--line)}
}

@media(max-width:720px){
  .announcement{font-size:8px;letter-spacing:.10em}
  header{min-height:66px;padding-left:16px;padding-right:16px}
  .logo{font-size:19px}

  .hero{
    min-height:76vh;
    padding:80px 18px 58px;
  }

  .hero h1{
    font-size:clamp(58px,20vw,92px);
  }

  .shop,.identity,.process,.custom{
    width:min(100% - 24px,var(--max));
  }

  .shop{padding:72px 0 65px}
  .grid{grid-template-columns:1fr}
  .art{min-height:390px}
  .campaign{min-height:500px}
  .identity{padding:78px 0}

  .identityRow{
    grid-template-columns:repeat(2,1fr);
  }

  .identityRow span:nth-child(2){border-right:none}
  .identityRow span:nth-child(-n+2){border-bottom:1px solid var(--line)}

  .custom{margin-bottom:75px}
  .customCopy,.custom form{padding:24px}
  .sizeGuide{grid-template-columns:1fr}
  .sizeScene{height:170px}
  .prices{grid-template-columns:1fr}

  .steps{grid-template-columns:1fr}
  .steps>div{
    border-right:none;
    border-bottom:1px solid var(--line);
  }
  .steps>div:last-child{border-bottom:none}

  .footerTop,.footerBottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .modalInfo{padding:28px 20px 40px}
}

/* TREND + SIZE SHOP FILTERS */
.shopControls{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-bottom:30px;
}

.trendFilters{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
}

.trendFilter{
  border:1px solid #cac4ba;
  background:#fff;
  color:#222;
  border-radius:999px;
  padding:11px 17px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  transition:.2s ease;
}

.trendFilter:hover,
.trendFilter.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.sizeFilters{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding-top:15px;
  border-top:1px solid #ddd8ce;
}

.sizeFilters > span{
  margin-right:7px;
  color:#8c867e;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.sizeFilter{
  border:0;
  background:transparent;
  color:#77716a;
  padding:7px 10px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}

.sizeFilter:hover,
.sizeFilter.active{
  color:#111;
  text-decoration:underline;
  text-underline-offset:5px;
}

@media(max-width:720px){
  .trendFilters{
    display:grid;
    grid-template-columns:repeat(2,1fr);
  }

  .trendFilter{
    width:100%;
  }

  .sizeFilters > span{
    width:100%;
    margin-bottom:3px;
  }
}

/* =========================================================
   PREMIUM PRODUCT IMAGE / ART INTERACTIONS
   ========================================================= */

.product{
  perspective:1200px;
}

.product .art{
  --rx:0deg;
  --ry:0deg;
  --mx:50%;
  --my:50%;
  cursor:zoom-in;
  transform-style:preserve-3d;
  transform:
    perspective(1000px)
    rotateX(var(--rx))
    rotateY(var(--ry))
    translateZ(0);
  transition:
    transform .20s ease,
    box-shadow .28s ease,
    filter .28s ease;
  will-change:transform;
}

.product:hover .art{
  box-shadow:
    0 24px 55px rgba(35,30,24,.18),
    0 8px 20px rgba(35,30,24,.10);
  filter:saturate(1.04) contrast(1.02);
}

.product .art::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:4;
  pointer-events:none;
  background:
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(255,255,255,.42),
      rgba(255,255,255,.08) 18%,
      transparent 38%
    );
  opacity:0;
  transition:opacity .25s ease;
  mix-blend-mode:soft-light;
}

.product:hover .art::before{
  opacity:1;
}

.product .art strong,
.product .art small,
.product .art .edition,
.product .art .visualHint{
  transform:translateZ(28px);
}

.visualHint{
  position:absolute;
  top:18px;
  right:18px;
  z-index:6;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(0,0,0,.10);
  color:#111;
  backdrop-filter:blur(9px);
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  opacity:0;
  transform:translateY(6px);
  transition:.22s ease;
}

.product:hover .visualHint{
  opacity:1;
  transform:translateY(0);
}

.product:hover{
  transform:translateY(-7px) scale(1.012);
}

/* When real rug photography is added later */
.productPhoto,
.rugFront,
.rugBack{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.art .productPhoto,
.art .rugFront,
.art .rugBack{
  position:absolute;
  inset:0;
}

.rugBack{
  opacity:0;
  transform:rotateY(180deg);
}

.showBack .rugFront{
  opacity:0;
  transform:rotateY(180deg);
}

.showBack .rugBack{
  opacity:1;
  transform:rotateY(0deg);
}

.rugFront,
.rugBack{
  transition:
    transform .55s cubic-bezier(.2,.7,.2,1),
    opacity .30s ease;
  backface-visibility:hidden;
}

/* Make the existing product popup feel more like a premium gallery */
.modal{
  background:rgba(18,18,18,.64);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  padding:clamp(14px,2vw,28px);
  gap:0;
}

.modal.open{
  display:grid;
  animation:tuftedModalIn .28s ease both;
}

@keyframes tuftedModalIn{
  from{
    opacity:0;
    transform:scale(.975);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

.modalArt{
  min-height:calc(100vh - clamp(28px,4vw,56px));
  border-radius:18px 0 0 18px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(0,0,0,.24);
}

.modalInfo{
  border-radius:0 18px 18px 0;
  box-shadow:0 28px 80px rgba(0,0,0,.16);
}

.modalArt .art{
  width:100%;
  min-height:100%;
  height:100%;
  transform:scale(1.035);
}

.close{
  top:34px;
  right:36px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

/* Nice press feedback on phone */
@media(max-width:720px){
  .product:hover{
    transform:none;
  }

  .product .art{
    transform:none !important;
  }

  .product .art:active{
    transform:scale(.985) !important;
  }

  .visualHint{
    opacity:1;
    transform:none;
    font-size:7px;
  }

  .modal{
    padding:8px;
  }

  .modalArt{
    min-height:52vh;
    border-radius:16px 16px 0 0;
  }

  .modalInfo{
    border-radius:0 0 16px 16px;
  }

  .close{
    top:18px;
    right:18px;
  }
}

@media(prefers-reduced-motion:reduce){
  .product,
  .product .art,
  .visualHint,
  .modal.open{
    transition:none !important;
    animation:none !important;
    transform:none !important;
  }
}


/* =========================================================
   TUFTED LIVE STOREFRONT / SUPABASE PRODUCTS
   ========================================================= */

.heroMark{
  animation:tuftedHeroDrift 9s ease-in-out infinite alternate;
}

@keyframes tuftedHeroDrift{
  from{transform:translate3d(0,0,0) rotate(-1deg)}
  to{transform:translate3d(-28px,-10px,0) rotate(1deg)}
}

.campaignWord{
  animation:tuftedCampaignLeft 10s ease-in-out infinite alternate;
}

.campaignWord.right{
  animation:tuftedCampaignRight 11s ease-in-out infinite alternate;
}

@keyframes tuftedCampaignLeft{
  from{transform:translateX(-12px)}
  to{transform:translateX(36px)}
}

@keyframes tuftedCampaignRight{
  from{transform:translateX(18px)}
  to{transform:translateX(-36px)}
}

.storeLoading,
.storeEmpty{
  grid-column:1/-1;
  min-height:260px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px dashed #cbc5bb;
  background:#fff;
  color:#7d776f;
  text-align:center;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
}

.storeEmpty b{
  color:#111;
  font-size:17px;
  letter-spacing:-.02em;
}

.storeEmpty span{
  font-size:10px;
  font-weight:500;
  letter-spacing:0;
}

.dynamicArt{
  position:relative;
  background:#fff!important;
  transform-style:preserve-3d;
}

.productPhoto{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:28px;
  background:#fff;
  transition:
    opacity .42s ease,
    transform .55s cubic-bezier(.2,.7,.2,1),
    filter .3s ease;
  backface-visibility:hidden;
}

.rugFront{
  opacity:1;
  transform:rotateY(0deg) scale(1);
}

.rugBack{
  opacity:0;
  transform:rotateY(180deg) scale(.96);
}

.product:hover .rugFront,
.product:hover .rugBack{
  filter:saturate(1.035) contrast(1.015);
}

.product.showBack .rugFront{
  opacity:0;
  transform:rotateY(180deg) scale(.96);
}

.product.showBack .rugBack{
  opacity:1;
  transform:rotateY(0deg) scale(1);
}

.productPlaceholder{
  position:relative;
  z-index:1;
  font-size:clamp(52px,8vw,100px);
  font-weight:900;
  letter-spacing:-.08em;
  color:#ddd7cd;
}

.photoWash{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.55),transparent 32%),
    linear-gradient(to top,rgba(0,0,0,.04),transparent 40%);
  mix-blend-mode:soft-light;
}

.dynamicArt .edition,
.dynamicArt .visualHint,
.dynamicArt .photoLabel,
.soldOutOverlay{
  z-index:5;
}

.photoLabel{
  position:absolute;
  left:20px;
  bottom:18px;
  color:#111;
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.soldOutOverlay{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%) rotate(-8deg);
  border:2px solid #111;
  background:rgba(255,255,255,.88);
  padding:10px 16px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
}

.soldOutProduct .productPhoto{
  opacity:.48;
  filter:grayscale(.15);
}

.soldOutProduct .view{
  border-color:#bbb4aa;
  color:#7d776f;
}

.modalProductImage{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:clamp(25px,5vw,70px);
  background:#fff;
  animation:modalProductIn .28s ease both;
}

.modalPlaceholder{
  font-size:clamp(80px,12vw,180px);
  font-weight:900;
  letter-spacing:-.08em;
  color:#d8d2c8;
}

@keyframes modalProductIn{
  from{opacity:0;transform:scale(.97)}
  to{opacity:1;transform:scale(1)}
}

.flipButton{
  min-height:46px;
  margin:4px 0 10px;
  border:1px solid #111;
  background:#fff;
  color:#111;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}

.flipButton:hover{
  background:#111;
  color:#fff;
}

.submit:disabled{
  cursor:not-allowed;
  opacity:.5;
}

.successNote{
  color:#176b45!important;
  font-weight:800;
}

.errorNote{
  color:#9a2b3f!important;
  font-weight:800;
}

@media(max-width:720px){
  .productPhoto{
    padding:14px;
  }

  .photoLabel{
    left:12px;
    bottom:11px;
    font-size:7px;
  }

  .soldOutOverlay{
    font-size:10px;
    padding:8px 11px;
  }

  .modalProductImage{
    padding:22px;
  }
}

@media(prefers-reduced-motion:reduce){
  .heroMark,
  .campaignWord{
    animation:none!important;
  }
}


/* =========================================================
   TUFTED CART / BAG
   ========================================================= */

.cartDrawer{
  position:fixed;
  inset:0;
  z-index:300;
  pointer-events:none;
  visibility:hidden;
}

.cartDrawer.open{
  pointer-events:auto;
  visibility:visible;
}

.cartBackdrop{
  position:absolute;
  inset:0;
  background:rgba(17,17,17,.42);
  backdrop-filter:blur(5px);
  opacity:0;
  transition:opacity .25s ease;
}

.cartDrawer.open .cartBackdrop{
  opacity:1;
}

.cartPanel{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:min(470px,100%);
  display:flex;
  flex-direction:column;
  background:#fff;
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.2,.7,.2,1);
  box-shadow:-28px 0 70px rgba(0,0,0,.14);
}

.cartDrawer.open .cartPanel{
  transform:translateX(0);
}

.cartHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  padding:22px 22px 16px;
  border-bottom:1px solid #e6e1d8;
}

.cartHead h2{
  margin:0;
  font-size:34px;
  line-height:.95;
  letter-spacing:-.055em;
}

.cartClose{
  width:40px;
  height:40px;
  border:1px solid #ddd7ce;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:24px;
}

.cartProgress{
  padding:10px 22px;
  background:#111;
  color:#fff;
  font-size:8px;
  font-weight:900;
  letter-spacing:.11em;
}

.cartItems{
  flex:1;
  overflow:auto;
  padding:4px 22px 18px;
}

.cartItem{
  display:grid;
  grid-template-columns:96px 1fr;
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid #ece7df;
}

.cartThumb{
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#fff;
  border:1px solid #e5e0d7;
}

.cartThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
  background:#fff;
}

.cartThumb span{
  font-size:26px;
  font-weight:900;
  color:#d4cec4;
}

.cartItemTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.cartItemTop h3{
  margin:0 0 4px;
  font-size:14px;
}

.cartItemTop p{
  margin:0;
  color:#7f7972;
  font-size:9px;
}

.cartItemTop b{
  font-size:13px;
  white-space:nowrap;
}

.cartItemBottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
}

.qtyControl{
  display:grid;
  grid-template-columns:30px 34px 30px;
  align-items:center;
  border:1px solid #d8d2c9;
  border-radius:999px;
  overflow:hidden;
}

.qtyControl button{
  height:30px;
  border:0;
  background:#fff;
  font-size:16px;
}

.qtyControl span{
  text-align:center;
  font-size:10px;
  font-weight:900;
}

.removeItem{
  border:0;
  background:none;
  color:#8a847c;
  padding:0;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
  text-decoration:underline;
  text-underline-offset:3px;
}

.cartEmpty{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:40px 24px;
  text-align:center;
}

.cartEmpty strong{
  font-size:21px;
  letter-spacing:-.03em;
}

.cartEmpty span{
  margin-top:7px;
  color:#7d776f;
  font-size:11px;
}

.cartShopBtn{
  margin-top:20px;
  min-height:43px;
  padding:0 16px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}

.cartSummary{
  padding:18px 22px 22px;
  border-top:1px solid #dfd9d0;
  background:#faf8f4;
}

.summaryRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

.summaryRow b{
  font-size:14px;
}

.mutedRow{
  color:#7e7870;
  font-size:8px;
}

.mutedRow b{
  font-size:8px;
}

.cartNote{
  margin:14px 0;
  color:#79736c;
  font-size:9px;
  line-height:1.5;
}

.checkoutBtn{
  width:100%;
  min-height:50px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.checkoutBtn:hover{
  background:#2b2b2b;
}

.continueBtn{
  width:100%;
  min-height:42px;
  margin-top:8px;
  border:1px solid #d3cdc4;
  background:#fff;
  color:#111;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
}

.checkoutMessage{
  margin:9px 0 0;
  min-height:14px;
  color:#8d2c40;
  text-align:center;
  font-size:9px;
  font-weight:800;
}

.bag.hasItems{
  background:#111;
  color:#fff;
}

.bag.hasItems #bagCount{
  background:#fff;
  color:#111;
}

@media(max-width:720px){
  .cartPanel{
    top:4vh;
    border-radius:20px 20px 0 0;
  }

  .cartHead{
    padding:18px 16px 14px;
  }

  .cartItems{
    padding-left:16px;
    padding-right:16px;
  }

  .cartSummary{
    padding:16px;
  }

  .cartItem{
    grid-template-columns:82px 1fr;
  }

  .cartThumb{
    width:82px;
    height:82px;
  }
}


/* =========================================================
   TUFTED CART V3 — PREMIUM / CLEAN / EASY
   CART ONLY — storefront untouched
   ========================================================= */

.cartDrawer{
  z-index:400;
}

.cartBackdrop{
  background:rgba(15,15,15,.34);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.cartPanel{
  width:min(520px,100%);
  background:#fff;
  box-shadow:-30px 0 90px rgba(0,0,0,.16);
  border-left:1px solid rgba(0,0,0,.08);
}

.cartTopBar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:24px 24px 16px;
  background:#fff;
}

.cartMicro{
  display:block;
  margin-bottom:5px;
  color:#8a847c;
  font-size:8px;
  font-weight:900;
  letter-spacing:.15em;
}

.cartTopBar h2{
  margin:0;
  font-size:38px;
  line-height:.92;
  letter-spacing:-.065em;
}

.cartClose{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid #ded8cf;
  border-radius:50%;
  background:#faf9f7;
  color:#111;
  font-size:24px;
  transition:.18s ease;
}

.cartClose:hover{
  background:#111;
  color:#fff;
  border-color:#111;
  transform:rotate(4deg);
}

.cartSteps{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:8px;
  padding:12px 24px 14px;
  border-top:1px solid #eee9e2;
  border-bottom:1px solid #eee9e2;
  background:#fbfaf8;
}

.cartStep{
  display:flex;
  align-items:center;
  gap:6px;
  color:#aaa49c;
}

.cartStep span{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border:1px solid #d7d1c8;
  border-radius:50%;
  background:#fff;
  font-size:7px;
  font-weight:900;
}

.cartStep b{
  font-size:7px;
  letter-spacing:.08em;
}

.cartStep.active{
  color:#111;
}

.cartStep.active span{
  background:#111;
  color:#fff;
  border-color:#111;
}

.cartSteps>i{
  height:1px;
  background:#ddd7cf;
}

.cartItemsWrap{
  flex:1;
  min-height:0;
  overflow:auto;
}

.cartItems{
  padding:0 24px 6px;
}

.cartItem{
  display:grid;
  grid-template-columns:112px 1fr;
  gap:16px;
  padding:20px 0;
  border-bottom:1px solid #ece7df;
}

.cartThumb{
  width:112px;
  height:112px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #e6e0d8;
  border-radius:14px;
  background:
    linear-gradient(135deg,#fff,#faf8f4);
}

.cartThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
  background:#fff;
}

.cartThumb span{
  color:#d4cec4;
  font-size:28px;
  font-weight:900;
  letter-spacing:-.06em;
}

.cartItemTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.cartItemTop h3{
  margin:0 0 4px;
  font-size:16px;
  line-height:1.1;
  letter-spacing:-.03em;
}

.cartItemTop p{
  margin:0;
  color:#817b73;
  font-size:9px;
  line-height:1.4;
}

.cartItemTop b{
  font-size:14px;
  white-space:nowrap;
}

.cartItemBottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:18px;
}

.qtyControl{
  display:grid;
  grid-template-columns:36px 38px 36px;
  align-items:center;
  overflow:hidden;
  border:1px solid #d8d2c9;
  border-radius:12px;
  background:#fff;
}

.qtyControl button{
  height:36px;
  border:0;
  background:#faf9f7;
  color:#111;
  font-size:17px;
  transition:.14s ease;
}

.qtyControl button:hover{
  background:#111;
  color:#fff;
}

.qtyControl span{
  display:grid;
  place-items:center;
  height:36px;
  border-left:1px solid #eee9e2;
  border-right:1px solid #eee9e2;
  font-size:10px;
  font-weight:900;
}

.removeItem{
  border:0;
  background:none;
  color:#8a847c;
  padding:4px 0;
  font-size:7px;
  font-weight:900;
  letter-spacing:.09em;
  text-decoration:none;
  border-bottom:1px solid #bfb8ae;
}

.removeItem:hover{
  color:#111;
  border-color:#111;
}

.cartEmpty{
  min-height:100%;
  padding:58px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.emptyBagIcon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  margin-bottom:16px;
  border:1px solid #ded8cf;
  border-radius:50%;
  background:#faf9f7;
  font-size:24px;
}

.cartEmpty strong{
  font-size:21px;
  letter-spacing:-.03em;
}

.cartEmpty span{
  max-width:280px;
  margin-top:7px;
  color:#817b73;
  font-size:10px;
  line-height:1.55;
}

.cartShopBtn{
  margin-top:21px;
  min-height:46px;
  padding:0 18px;
  border:1px solid #111;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}

.cartSummary{
  padding:18px 24px 22px;
  border-top:1px solid #ded8cf;
  background:#faf9f7;
  box-shadow:0 -14px 40px rgba(30,25,20,.04);
}

.cartSummaryHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.cartSummaryHead span{
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}

.cartSummaryHead small{
  color:#8a847c;
  font-size:7px;
  font-weight:900;
  letter-spacing:.08em;
}

.summaryRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:11px;
  font-size:9px;
  font-weight:900;
}

.summaryRow b{
  font-size:16px;
  letter-spacing:-.02em;
}

.mutedRow{
  padding-bottom:13px;
  border-bottom:1px solid #e9e4dc;
  color:#7f7971;
}

.mutedRow b{
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
}

.cartInfoCard{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:10px;
  margin:14px 0 16px;
  padding:12px;
  border:1px solid #e4dfd7;
  border-radius:12px;
  background:#fff;
}

.cartInfoIcon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#f3efe8;
  font-size:12px;
}

.cartInfoCard b{
  display:block;
  margin-bottom:3px;
  font-size:8px;
  letter-spacing:.08em;
}

.cartInfoCard span{
  display:block;
  color:#7c766e;
  font-size:8px;
  line-height:1.45;
}

.checkoutBtn{
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  border:1px solid #111;
  border-radius:12px;
  background:#111;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  transition:.18s ease;
}

.checkoutBtn strong{
  font-size:20px;
  font-weight:400;
}

.checkoutBtn:hover{
  background:#242424;
  transform:translateY(-1px);
}

.continueBtn{
  width:100%;
  min-height:44px;
  margin-top:8px;
  border:1px solid #ddd7cf;
  border-radius:12px;
  background:#fff;
  color:#111;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}

.continueBtn:hover{
  border-color:#111;
}

.cartSecure{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  color:#8e887f;
  font-size:6px;
  font-weight:900;
  letter-spacing:.09em;
}

.cartSecure i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#bcb5ac;
}

.checkoutMessage{
  min-height:14px;
  margin:8px 0 0;
  text-align:center;
  color:#9a2d41;
  font-size:8px;
  font-weight:800;
  line-height:1.4;
}

.bag{
  transition:.18s ease;
}

.bag.hasItems{
  background:#111;
  color:#fff;
}

.bag.hasItems #bagCount{
  background:#fff;
  color:#111;
}

@media(max-width:720px){
  .cartPanel{
    top:0;
    width:100%;
    border-radius:0;
  }

  .cartTopBar{
    padding:18px 16px 14px;
  }

  .cartTopBar h2{
    font-size:31px;
  }

  .cartSteps{
    padding:10px 16px 12px;
  }

  .cartItems{
    padding:0 16px 6px;
  }

  .cartItem{
    grid-template-columns:90px 1fr;
    gap:12px;
    padding:16px 0;
  }

  .cartThumb{
    width:90px;
    height:90px;
    border-radius:12px;
  }

  .cartItemTop h3{
    font-size:13px;
  }

  .cartItemTop p{
    font-size:8px;
  }

  .cartItemTop b{
    font-size:12px;
  }

  .cartItemBottom{
    margin-top:14px;
  }

  .qtyControl{
    grid-template-columns:34px 36px 34px;
  }

  .qtyControl button,
  .qtyControl span{
    height:34px;
  }

  .cartSummary{
    padding:16px;
  }

  .checkoutBtn{
    min-height:54px;
  }
}


/* =========================================================
   TUFTED CART V4 — READABILITY + EMPTY-STATE FIX
   ========================================================= */

/* absolutely guarantee hidden states */
#cartEmpty[hidden],
#cartSummary[hidden]{
  display:none!important;
}

.cartTopBar{
  padding:24px 24px 18px;
}

.cartMicro{
  font-size:9px;
  letter-spacing:.14em;
}

.cartTopBar h2{
  font-size:40px;
  line-height:.95;
}

.cartSteps{
  padding:13px 24px 15px;
}

.cartStep b{
  font-size:8px;
}

.cartStep span{
  width:22px;
  height:22px;
  font-size:8px;
}

.cartItems{
  padding:0 24px 8px;
}

.cartItem{
  grid-template-columns:116px 1fr;
  gap:17px;
  padding:21px 0;
}

.cartThumb{
  width:116px;
  height:116px;
}

.cartItemTop h3{
  font-size:17px;
  line-height:1.15;
}

.cartItemTop p{
  font-size:10px;
  line-height:1.5;
}

.cartItemTop b{
  font-size:15px;
}

.cartItemBottom{
  margin-top:18px;
}

.qtyControl{
  grid-template-columns:38px 40px 38px;
}

.qtyControl button,
.qtyControl span{
  height:38px;
}

.qtyControl span{
  font-size:11px;
}

.removeItem{
  font-size:8px;
}

.cartSummary{
  padding:20px 24px 24px;
}

.cartSummaryHead span{
  font-size:9px;
}

.cartSummaryHead small{
  font-size:8px;
}

.summaryRow{
  font-size:10px;
}

.summaryRow b{
  font-size:18px;
}

.mutedRow{
  font-size:9px;
}

.mutedRow b{
  font-size:9px;
}

.cartInfoCard{
  grid-template-columns:40px 1fr;
  padding:13px;
}

.cartInfoIcon{
  width:40px;
  height:40px;
}

.cartInfoCard b{
  font-size:9px;
}

.cartInfoCard span{
  font-size:9px;
  line-height:1.5;
}

.checkoutBtn{
  min-height:58px;
  font-size:11px;
}

.continueBtn{
  min-height:46px;
  font-size:9px;
}

.cartSecure{
  font-size:7px;
}

.cartEmpty strong{
  font-size:23px;
}

.cartEmpty span{
  font-size:11px;
  line-height:1.6;
}

.cartShopBtn{
  font-size:10px;
}

@media(max-width:720px){
  .cartTopBar{
    padding:18px 16px 15px;
  }

  .cartTopBar h2{
    font-size:33px;
  }

  .cartSteps{
    padding:11px 16px 13px;
  }

  .cartItems{
    padding:0 16px 8px;
  }

  .cartItem{
    grid-template-columns:96px 1fr;
    gap:13px;
    padding:17px 0;
  }

  .cartThumb{
    width:96px;
    height:96px;
  }

  .cartItemTop h3{
    font-size:14px;
  }

  .cartItemTop p{
    font-size:9px;
  }

  .cartItemTop b{
    font-size:13px;
  }

  .qtyControl{
    grid-template-columns:36px 38px 36px;
  }

  .qtyControl button,
  .qtyControl span{
    height:36px;
  }

  .cartSummary{
    padding:17px 16px 18px;
  }

  .summaryRow{
    font-size:10px;
  }

  .summaryRow b{
    font-size:17px;
  }

  .cartInfoCard b{
    font-size:8px;
  }

  .cartInfoCard span{
    font-size:8px;
  }

  .checkoutBtn{
    min-height:56px;
    font-size:10px;
  }
}

.legalLinks{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.16);
}
.legalLinks a{
  color:inherit;
  text-decoration:none;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
  opacity:.72;
}
.legalLinks a:hover{opacity:1}


/* =========================================================
   TUFTED STOREFRONT — PREMIUM POLISH PASS
   ========================================================= */
:root{
  --lux-bg:#f5f2ec;
  --lux-paper:#ffffff;
  --lux-ink:#101010;
  --lux-muted:#746e66;
  --lux-line:#e6dfd5;
  --lux-soft:#eee8de;
  --lux-shadow:0 22px 60px rgba(29,24,19,.09);
  --lux-shadow-soft:0 10px 28px rgba(29,24,19,.05);
  --lux-radius:20px;
}

html{
  background:var(--lux-bg);
}

body{
  background:
    radial-gradient(circle at 14% -4%,rgba(221,211,198,.48),transparent 26%),
    radial-gradient(circle at 88% 0%,rgba(255,255,255,.78),transparent 22%),
    var(--lux-bg);
  color:var(--lux-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

::selection{
  background:#111;
  color:#fff;
}

/* HEADER / ANNOUNCEMENT */
.announcement{
  min-height:38px;
  padding:9px 18px;
  font-size:9px;
  letter-spacing:.18em;
}

header{
  min-height:82px;
  border-color:rgba(17,17,17,.08);
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(22px) saturate(1.15);
  -webkit-backdrop-filter:blur(22px) saturate(1.15);
  box-shadow:0 10px 30px rgba(21,18,15,.035);
}

.logo{
  font-size:25px;
  letter-spacing:-.075em;
}

nav a{
  position:relative;
  padding:8px 0;
  color:#5c5750;
  transition:color .18s ease;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:2px;
  height:1px;
  background:#111;
  transition:right .2s ease;
}

nav a:hover::after{right:0}

.bag{
  min-height:42px;
  padding:0 15px;
  border-color:#1a1a1a;
  box-shadow:0 6px 16px rgba(20,18,16,.035);
  transition:.18s ease;
}

.bag:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(20,18,16,.075);
}

/* HERO */
.hero{
  min-height:88vh;
  padding-top:110px;
  padding-bottom:96px;
  background:
    radial-gradient(circle at 72% 38%,rgba(255,255,255,.72),transparent 23%),
    linear-gradient(128deg,rgba(250,248,244,.97),rgba(232,225,214,.78)),
    repeating-linear-gradient(90deg,transparent 0 124px,rgba(0,0,0,.022) 124px 125px);
}

.heroCenter{
  width:min(980px,100%);
}

.hero h1{
  max-width:960px;
  font-size:clamp(72px,11.7vw,158px);
  line-height:.77;
  letter-spacing:-.09em;
}

.hero h1 em{
  color:#6d5f52;
}

.sub{
  max-width:470px;
  margin-top:30px;
  font-size:16px;
  color:#69635c;
}

.heroBtns{
  margin-top:34px;
  gap:11px;
}

.btn{
  min-height:54px;
  padding:0 24px;
  border-radius:999px;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}

.btn.dark{
  box-shadow:0 10px 24px rgba(17,17,17,.12);
}

.btn.dark:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(17,17,17,.17);
}

.btn.ghost{
  background:rgba(255,255,255,.76);
  backdrop-filter:blur(10px);
}

.heroMark{
  right:-26px;
  bottom:-56px;
  color:rgba(0,0,0,.028);
}

/* SECTION RHYTHM */
.shop{
  padding:110px 0 100px;
}

.sectionHead{
  margin-bottom:42px;
}

.sectionHead h2,
.identity h2,
.processTitle h2,
.customCopy h2,
.campaignCopy h2{
  letter-spacing:-.07em;
}

.dropCopy{
  color:#716a62;
  font-size:14px;
  line-height:1.75;
}

/* FILTERS */
.shopControls{
  margin-bottom:28px;
}

.trendFilters,
.sizeFilters{
  gap:8px;
}

.trendFilter,
.sizeFilter{
  min-height:40px;
  border-radius:999px!important;
  border:1px solid var(--lux-line)!important;
  background:rgba(255,255,255,.92)!important;
  color:#4f4a44!important;
  box-shadow:0 4px 14px rgba(24,20,17,.025);
  transition:.18s ease!important;
}

.trendFilter:hover,
.sizeFilter:hover{
  transform:translateY(-1px);
  border-color:#bbb2a6!important;
}

.trendFilter.active,
.sizeFilter.active{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  box-shadow:0 8px 18px rgba(17,17,17,.11);
}

/* PRODUCT CARDS */
.grid{
  gap:26px;
}

.product{
  border:1px solid var(--lux-line);
  border-radius:var(--lux-radius);
  background:rgba(255,255,255,.97);
  box-shadow:var(--lux-shadow-soft);
  overflow:hidden;
}

.product:hover{
  transform:translateY(-6px);
  box-shadow:var(--lux-shadow);
}

.art{
  min-height:520px;
  background:#fff;
}

.artPhoto{
  background:
    radial-gradient(circle at 50% 40%,#fff 0 28%,#f8f6f2 76%,#f0ebe4 100%);
}

.productPhoto{
  transition:transform .35s ease,filter .35s ease;
}

.product:hover .rugFront{
  transform:scale(1.025);
}

.photoWash{
  background:linear-gradient(to bottom,transparent 55%,rgba(0,0,0,.025));
}

.edition,
.visualHint{
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.meta{
  padding:20px 20px 12px;
}

.meta h3{
  font-size:20px;
  letter-spacing:-.03em;
}

.meta p{
  margin-top:3px;
  font-size:11px;
  color:#817a72;
}

.meta b{
  font-size:19px;
  letter-spacing:-.035em;
}

.view{
  width:calc(100% - 40px);
  margin:10px 20px 20px;
  min-height:48px;
  border-radius:999px;
  transition:.18s ease;
}

.view:hover{
  background:#111;
  color:#fff;
}

/* CAMPAIGN / IDENTITY */
.campaign{
  border-top:1px solid var(--lux-line);
  border-bottom:1px solid var(--lux-line);
}

.identity{
  padding-top:110px;
  padding-bottom:110px;
}

.identityRow{
  border-top-color:var(--lux-line);
}

/* CUSTOMS */
.custom{
  gap:56px;
  border-top:1px solid var(--lux-line);
}

.customCopy>p:not(.eyebrow){
  color:#746e66;
  line-height:1.75;
}

.customUpgrade .sizeGuide{
  gap:14px!important;
}

.customUpgrade .sizeCard{
  border-radius:18px;
  overflow:hidden;
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.09);
}

.customUpgrade .sizeCard:hover,
.customUpgrade .sizeCard.active{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(0,0,0,.14);
}

.customUpgrade .sizeScene{
  height:164px!important;
}

#customRugForm{
  border-radius:22px;
  box-shadow:0 24px 60px rgba(17,17,17,.11);
}

#customRugForm input,
#customRugForm select,
#customRugForm textarea{
  border-radius:12px;
  border-color:rgba(255,255,255,.18);
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

#customRugForm input:focus,
#customRugForm select:focus,
#customRugForm textarea:focus{
  border-color:rgba(255,255,255,.65);
  background:#181818;
  box-shadow:0 0 0 3px rgba(255,255,255,.06);
}

.submit{
  min-height:54px;
  border-radius:999px;
}

/* PROCESS */
.steps{
  gap:14px;
}

.steps>div{
  border-radius:18px;
  border-color:var(--lux-line);
  box-shadow:var(--lux-shadow-soft);
  background:rgba(255,255,255,.95);
}

/* FOOTER */
footer{
  padding-top:72px;
  padding-bottom:calc(28px + env(safe-area-inset-bottom));
}

.footerTop{
  align-items:flex-end;
}

.footerTop .big{
  font-size:clamp(72px,12vw,170px);
  line-height:.78;
  letter-spacing:-.09em;
}

.legalLinks{
  gap:20px;
}

/* MODAL */
.modal{
  padding:26px;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.modal.open{
  background:rgba(12,12,12,.48);
}

.modalArt,
.modalInfo{
  box-shadow:0 28px 80px rgba(0,0,0,.18);
}

.modalArt{
  border-radius:22px 0 0 22px;
}

.modalInfo{
  border-radius:0 22px 22px 0;
}

.close{
  top:calc(22px + env(safe-area-inset-top));
  right:22px;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}

/* CART */
.cartPanel{
  width:min(500px,100%);
  background:#fbfaf7;
  box-shadow:-30px 0 90px rgba(0,0,0,.18);
}

.cartTopBar{
  padding-top:calc(22px + env(safe-area-inset-top));
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
}

.cartClose{
  width:42px;
  height:42px;
  border-radius:50%;
  box-shadow:0 6px 18px rgba(20,18,16,.05);
}

.cartItem{
  border-bottom-color:var(--lux-line);
}

.cartThumb{
  border-radius:14px;
  background:#fff;
  border-color:var(--lux-line);
}

.cartSummary{
  background:#fff;
  border-top-color:var(--lux-line);
  padding-bottom:calc(22px + env(safe-area-inset-bottom));
}

.checkoutBtn{
  border-radius:13px;
  box-shadow:0 12px 26px rgba(17,17,17,.12);
}

.continueBtn{
  border-radius:13px;
}

/* ACCESSIBILITY / MOTION */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid #111;
  outline-offset:3px;
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
}

/* MOBILE */
@media(max-width:850px){
  header{
    min-height:calc(72px + env(safe-area-inset-top));
    padding:
      calc(env(safe-area-inset-top) + 10px)
      16px
      10px!important;
  }

  .hero{
    min-height:auto;
    padding:
      88px
      18px
      70px;
  }

  .hero h1{
    font-size:clamp(60px,18vw,92px);
  }

  .heroMark{
    right:-10px;
    bottom:-22px;
  }

  .shop{
    padding:76px 0 72px;
  }

  .grid{
    grid-template-columns:1fr!important;
    gap:18px;
  }

  .art{
    min-height:0;
    aspect-ratio:1/1;
  }

  .custom{
    gap:36px;
  }

  .customUpgrade .sizeGuide{
    grid-template-columns:1fr!important;
  }

  .modal{
    padding:0;
  }

  .modal.open{
    align-items:flex-end;
  }

  .modalArt,
  .modalInfo{
    border-radius:0!important;
  }

  .modalInfo{
    padding-bottom:calc(28px + env(safe-area-inset-bottom));
  }
}

@media(max-width:640px){
  .announcement{
    min-height:34px;
    padding:8px 12px;
    font-size:7px;
  }

  header{
    grid-template-columns:1fr auto;
  }

  header nav{
    display:none;
  }

  .logo{
    font-size:21px;
  }

  .bag{
    min-height:40px;
  }

  .hero{
    padding-top:72px;
  }

  .heroCode{
    left:18px;
    top:18px;
  }

  .hero h1{
    font-size:clamp(54px,18vw,78px);
  }

  .sub{
    margin-top:22px;
    font-size:14px;
  }

  .heroBtns{
    display:grid;
    grid-template-columns:1fr;
  }

  .btn{
    width:100%;
  }

  .shop,.identity,.process{
    width:min(100% - 28px,var(--max));
  }

  .sectionHead{
    grid-template-columns:1fr;
    gap:18px;
  }

  .dropCopy{
    justify-self:start;
  }

  .sectionHead h2,
  .identity h2,
  .processTitle h2,
  .customCopy h2,
  .campaignCopy h2{
    font-size:clamp(42px,13vw,62px);
  }

  .trendFilters,
  .sizeFilters{
    overflow-x:auto;
    flex-wrap:nowrap!important;
    padding-bottom:5px;
    scrollbar-width:none;
  }

  .trendFilters::-webkit-scrollbar,
  .sizeFilters::-webkit-scrollbar{
    display:none;
  }

  .trendFilter,
  .sizeFilter{
    flex:0 0 auto;
  }

  .product{
    border-radius:17px;
  }

  .meta{
    padding:16px 16px 10px;
  }

  .view{
    width:calc(100% - 32px);
    margin:8px 16px 16px;
  }

  .identity{
    padding-top:80px;
    padding-bottom:80px;
  }

  #customRugForm{
    border-radius:18px;
  }

  .cartPanel{
    width:100%;
  }
}


/* =========================================================
   PROCESS + CUSTOMS UPGRADE
   ========================================================= */
.processPremium{
  padding:28px 0 120px;
}
.processIntro{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:44px;
  align-items:end;
  margin-bottom:26px;
}
.processIntro h2{
  margin:0;
  font-size:clamp(50px,8vw,94px);
  line-height:.85;
  letter-spacing:-.075em;
  text-transform:uppercase;
}
.processIntro h2 em{
  font-style:normal;
  color:#6f6255;
}
.processLead{
  margin:0 0 6px;
  color:#716b64;
  font-size:14px;
  line-height:1.8;
  max-width:470px;
  justify-self:end;
}
.premiumSteps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  background:none!important;
  border:0!important;
}
.processStep{
  position:relative;
  min-height:270px!important;
  padding:22px 20px!important;
  border:1px solid var(--lux-line)!important;
  border-radius:20px;
  background:rgba(255,255,255,.96);
  box-shadow:var(--lux-shadow-soft);
  overflow:hidden;
}
.processStep::after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  right:-38px;
  bottom:-48px;
  border-radius:50%;
  background:#f1ece4;
}
.processStep.featuredStep{
  background:#111;
  color:#fff;
  border-color:#111!important;
  box-shadow:0 18px 42px rgba(17,17,17,.16);
}
.processStep.featuredStep::after{
  background:#222;
}
.stepTop{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.stepTop b{
  color:inherit;
  font-size:10px;
  letter-spacing:.12em;
}
.stepTop span{
  color:#8e877f;
  font-size:7px;
  font-weight:900;
  letter-spacing:.14em;
}
.featuredStep .stepTop span{color:#a9a9a9}
.stepMark{
  position:relative;
  z-index:2;
  width:48px;
  height:48px;
  margin-top:32px;
  display:grid;
  place-items:center;
  border:1px solid #d9d2c8;
  border-radius:50%;
  font-size:17px;
}
.featuredStep .stepMark{
  border-color:#404040;
}
.processStep h3{
  position:relative;
  z-index:2;
  margin:26px 0 9px;
  font-size:24px;
  letter-spacing:-.03em;
}
.processStep p{
  position:relative;
  z-index:2;
  margin:0;
  color:#746e66;
  font-size:12px;
  line-height:1.7;
}
.featuredStep p{color:#bdbdbd}

/* custom form */
#customRugForm{
  padding:0!important;
  overflow:hidden;
}
.customFormHead{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:28px 28px 22px;
  border-bottom:1px solid #ece7df;
  background:
    linear-gradient(180deg,#fff,#fbf9f5);
}
.customFormHead .eyebrow{
  margin-bottom:8px;
}
.customFormHead h3{
  margin:0;
  font-size:30px;
  line-height:.95;
  letter-spacing:-.055em;
}
.customFormHead p:not(.eyebrow){
  margin:9px 0 0;
  max-width:390px;
  color:#7a746d;
  font-size:11px;
  line-height:1.6;
}
.customFormBadge{
  flex:0 0 auto;
  padding:8px 10px;
  border:1px solid #ddd6cc;
  border-radius:999px;
  background:#f4f0ea;
  color:#6f675f;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}
.customFormGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px;
  padding:24px 28px 10px;
}
.customFormGrid label{
  margin-bottom:15px!important;
}
.customFormGrid label:nth-child(6),
.customFormGrid label:nth-child(7){
  grid-column:1/-1;
}
.customFormGrid input,
.customFormGrid select,
.customFormGrid textarea{
  min-height:48px;
  border-radius:12px!important;
  background:#fbfaf7!important;
  border-color:#ddd7cd!important;
}
.customFormGrid textarea{
  min-height:150px!important;
}
.customFormGrid input:focus,
.customFormGrid select:focus,
.customFormGrid textarea:focus{
  background:#fff!important;
  border-color:#111!important;
  box-shadow:0 0 0 4px rgba(17,17,17,.05)!important;
}
.customFormFooter{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0 28px 18px;
}
.customFormTrust{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px;
  border:1px solid #e5ded5;
  border-radius:13px;
  background:#faf8f4;
}
.customFormTrust>span{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:8px;
  font-weight:900;
}
.customFormTrust p{
  margin:0;
}
.customFormTrust b{
  display:block;
  font-size:8px;
  letter-spacing:.08em;
}
.customFormTrust small{
  display:block;
  margin-top:3px;
  color:#7e776f;
  font-size:8px;
  line-height:1.45;
}
.customSubmitPremium{
  width:calc(100% - 56px)!important;
  margin:0 28px!important;
  min-height:56px!important;
  box-shadow:0 12px 24px rgba(17,17,17,.12);
}
#customRugForm .formNote{
  margin:12px 28px 26px!important;
  text-align:center;
}

@media(max-width:980px){
  .processIntro{
    grid-template-columns:1fr;
    gap:16px;
  }
  .processLead{
    justify-self:start;
  }
  .premiumSteps{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:720px){
  .processPremium{
    padding:8px 0 82px;
  }
  .processIntro{
    margin-bottom:18px;
  }
  .processIntro h2{
    font-size:clamp(48px,15vw,68px);
  }
  .processLead{
    font-size:12px;
    line-height:1.7;
  }
  .premiumSteps{
    grid-template-columns:1fr;
    gap:10px;
  }
  .processStep{
    min-height:0!important;
    padding:18px!important;
    border-radius:16px;
  }
  .stepMark{
    width:42px;
    height:42px;
    margin-top:20px;
  }
  .processStep h3{
    margin-top:20px;
    font-size:21px;
  }

  .custom{
    width:100%!important;
    margin-bottom:70px!important;
    gap:14px!important;
  }
  .customCopy{
    margin:0 12px;
    padding:22px!important;
    border-radius:18px;
  }
  #customRugForm{
    margin:0 12px;
    border-radius:18px!important;
  }
  .customFormHead{
    display:block;
    padding:22px 18px 18px;
  }
  .customFormHead h3{
    font-size:27px;
  }
  .customFormBadge{
    display:inline-block;
    margin-top:14px;
  }
  .customFormGrid{
    grid-template-columns:1fr;
    padding:18px 18px 8px;
  }
  .customFormGrid label:nth-child(6),
  .customFormGrid label:nth-child(7){
    grid-column:auto;
  }
  .customFormGrid input,
  .customFormGrid select{
    min-height:52px;
  }
  .customFormGrid textarea{
    min-height:160px!important;
  }
  .customFormFooter{
    grid-template-columns:1fr;
    margin:0 18px 16px;
  }
  .customSubmitPremium{
    width:calc(100% - 36px)!important;
    margin:0 18px!important;
    min-height:58px!important;
  }
  #customRugForm .formNote{
    margin:12px 18px 22px!important;
  }
  .customUpgrade .sizeGuide{
    gap:10px!important;
  }
  .customUpgrade .sizeCard{
    border-radius:15px;
  }
  .customUpgrade .sizeScene{
    height:150px!important;
  }
  .prices{
    gap:6px!important;
  }
  .prices span{
    padding:12px!important;
  }
}


/* =========================================================
   CUSTOM SIZE / PRICING REDESIGN
   ========================================================= */
.customSizePanel{
  padding:0!important;
  overflow:hidden;
  border-radius:22px;
  box-shadow:0 22px 60px rgba(20,17,14,.08);
}

.customIntroTop{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:30px 30px 20px;
}

.customIntroTop h2{
  margin:0;
  font-size:clamp(42px,5.6vw,72px);
  line-height:.88;
  letter-spacing:-.07em;
}

.customIntroTop h2 em{
  font-style:normal;
  color:#6f6255;
}

.madeToOrderTag{
  flex:0 0 auto;
  margin-top:3px;
  padding:8px 10px;
  border:1px solid #ded7cd;
  border-radius:999px;
  background:#f6f2ec;
  color:#6e675f;
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.customLead{
  margin:0;
  padding:0 30px 24px;
  max-width:720px;
  color:#746e66!important;
  font-size:13px;
  line-height:1.75!important;
}

.sizeChooserHead{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:14px 30px;
  border-top:1px solid #ebe5dc;
  border-bottom:1px solid #ebe5dc;
  background:#faf8f4;
}

.sizeChooserHead span{
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
}

.sizeChooserHead small{
  color:#8b847c;
  font-size:8px;
}

.premiumSizeGuide{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:12px!important;
  margin:0!important;
  padding:22px 30px 20px;
}

.premiumSizeCard{
  position:relative;
  min-width:0;
  border:1px solid #e3dcd2!important;
  border-radius:17px!important;
  background:#fff!important;
  color:#111!important;
  box-shadow:0 8px 22px rgba(25,21,17,.045);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}

.premiumSizeCard:hover,
.premiumSizeCard.active{
  transform:translateY(-4px)!important;
  border-color:#111!important;
  box-shadow:0 18px 34px rgba(25,21,17,.10)!important;
}

.premiumSizeCard.active{
  outline:2px solid #111;
  outline-offset:2px;
}

.featuredSize{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  box-shadow:0 16px 36px rgba(17,17,17,.13);
}

.featuredSize:hover,
.featuredSize.active{
  border-color:#111!important;
  box-shadow:0 22px 42px rgba(17,17,17,.18)!important;
}

.sizeCardTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 10px;
}

.sizeCardTop span{
  color:inherit!important;
  font-size:8px!important;
  font-weight:900;
  letter-spacing:.13em!important;
}

.sizeCardTop i{
  font-style:normal;
  color:#9d968e;
  font-size:8px;
  font-weight:900;
}

.featuredSize .sizeCardTop i{
  color:#7a7a7a;
}

.sizeScale{
  position:relative;
  height:118px;
  margin:0 14px;
  border-radius:12px;
  background:
    linear-gradient(180deg,#f3efe8 0 62%,#ded3c4 62% 100%);
  overflow:hidden;
}

.featuredSize .sizeScale{
  background:
    linear-gradient(180deg,#272727 0 62%,#3a342f 62% 100%);
}

.sizeScale::before{
  content:"";
  position:absolute;
  left:50%;
  top:17px;
  width:52px;
  height:34px;
  transform:translateX(-50%);
  border:2px solid rgba(0,0,0,.09);
  background:rgba(255,255,255,.34);
}

.featuredSize .sizeScale::before{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.sizeScale::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:25px;
  width:70px;
  height:27px;
  transform:translateX(-50%);
  border-radius:7px 7px 2px 2px;
  background:#72685f;
}

.featuredSize .sizeScale::after{
  background:#918477;
}

.sizeScale span{
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  border:2px solid #c2b5a8;
  background:#5f4c58;
  box-shadow:0 5px 11px rgba(0,0,0,.18);
}

.sizeScaleSmall span{
  width:42px;
  height:27px;
  border-radius:50%;
}

.sizeScaleMedium span{
  width:74px;
  height:38px;
  border-radius:19px;
}

.sizeScaleLarge span{
  width:102px;
  height:48px;
  border-radius:24px;
}

.premiumSizeCard .sizeCardCopy{
  padding:13px 14px 12px!important;
}

.premiumSizeCard .sizeCardCopy b{
  margin:0 0 5px!important;
  font-size:21px!important;
  letter-spacing:-.035em;
  color:inherit!important;
}

.premiumSizeCard .sizeCardCopy small{
  min-height:38px;
  color:#7a746d!important;
  font-size:8px!important;
  line-height:1.5!important;
}

.featuredSize .sizeCardCopy small{
  color:#b6b6b6!important;
}

.sizeCardBottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px 14px;
  border-top:1px solid #ece6dd;
}

.featuredSize .sizeCardBottom{
  border-top-color:#2c2c2c;
}

.sizeCardBottom strong{
  font-size:11px;
  letter-spacing:-.015em;
}

.sizeCardBottom span{
  color:#8c857e;
  font-size:7px;
  font-weight:900;
  letter-spacing:.11em;
}

.featuredSize .sizeCardBottom span{
  color:#8f8f8f;
}

.customPriceNote{
  display:flex;
  align-items:flex-start;
  gap:11px;
  margin:0 30px 28px;
  padding:14px 15px;
  border:1px solid #e4ddd3;
  border-radius:14px;
  background:#f8f5ef;
}

.customPriceNote>span{
  flex:0 0 auto;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:10px;
}

.customPriceNote p{
  margin:0;
}

.customPriceNote b{
  display:block;
  font-size:8px;
  letter-spacing:.09em;
}

.customPriceNote small{
  display:block;
  margin-top:4px;
  color:#7c756d;
  font-size:8px;
  line-height:1.5;
}

@media(max-width:980px){
  .premiumSizeGuide{
    grid-template-columns:1fr!important;
  }

  .premiumSizeCard{
    display:grid;
    grid-template-columns:112px 1fr;
    grid-template-rows:auto auto;
    align-items:stretch;
  }

  .sizeCardTop{
    grid-column:2;
    grid-row:1;
    padding:14px 14px 4px;
  }

  .sizeScale{
    grid-column:1;
    grid-row:1 / span 2;
    height:auto;
    min-height:138px;
    margin:12px 0 12px 12px;
  }

  .premiumSizeCard .sizeCardCopy{
    grid-column:2;
    grid-row:2;
    padding-top:3px!important;
  }

  .sizeCardBottom{
    grid-column:1/-1;
  }
}

@media(max-width:720px){
  .customSizePanel{
    border-radius:18px;
  }

  .customIntroTop{
    display:block;
    padding:22px 18px 14px;
  }

  .customIntroTop h2{
    font-size:clamp(44px,14vw,62px);
  }

  .madeToOrderTag{
    display:inline-block;
    margin-top:14px;
  }

  .customLead{
    padding:0 18px 18px;
    font-size:12px;
  }

  .sizeChooserHead{
    padding:12px 18px;
  }

  .sizeChooserHead small{
    display:none;
  }

  .premiumSizeGuide{
    padding:16px 18px 14px;
    gap:10px!important;
  }

  .premiumSizeCard{
    grid-template-columns:96px 1fr;
    border-radius:15px!important;
  }

  .sizeScale{
    min-height:126px;
    margin:10px 0 10px 10px;
  }

  .sizeCardTop{
    padding:12px 12px 2px;
  }

  .premiumSizeCard .sizeCardCopy{
    padding:5px 12px 10px!important;
  }

  .premiumSizeCard .sizeCardCopy b{
    font-size:19px!important;
  }

  .premiumSizeCard .sizeCardCopy small{
    min-height:0;
  }

  .sizeCardBottom{
    padding:10px 12px 12px;
  }

  .customPriceNote{
    margin:0 18px 20px;
    padding:12px;
  }
}


/* =========================================================
   VISUAL SIZE CARDS + MOST POPULAR
   ========================================================= */
.popularBadge{
  position:absolute;
  top:10px;
  right:10px;
  z-index:6;
  padding:7px 9px;
  border-radius:999px;
  background:#fff1c6;
  color:#111;
  border:1px solid rgba(17,17,17,.08);
  font-size:6px;
  font-weight:900;
  letter-spacing:.11em;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}
.mostPopularCard{transform:translateY(-4px)}
.sizeVisual{
  position:relative;
  height:150px;
  margin:0 14px;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#f2eee7 0 64%,#ddd1c1 64% 100%);
}
.featuredSize .sizeVisual{
  background:linear-gradient(180deg,#272727 0 64%,#3a342f 64% 100%);
}
.visualTag{
  position:absolute;
  left:10px;
  right:10px;
  bottom:9px;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#111;
  font-size:6px;
  font-weight:900;
  letter-spacing:.09em;
  text-align:center;
  backdrop-filter:blur(8px);
}
.featuredSize .visualTag{
  background:rgba(255,255,255,.13);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.visualWallFrame{
  position:absolute;
  top:16px;
  left:50%;
  transform:translateX(-50%);
  width:52px;
  height:36px;
  border:2px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.28);
}
.visualChair{
  position:absolute;
  left:50%;
  bottom:34px;
  transform:translateX(-50%);
  width:50px;
  height:40px;
  border-radius:11px 11px 8px 8px;
  background:#8a7b6d;
}
.visualChair::before,.visualChair::after{
  content:"";
  position:absolute;
  bottom:-9px;
  width:4px;
  height:10px;
  background:#4f4841;
}
.visualChair::before{left:10px}.visualChair::after{right:10px}
.visualBed{
  position:absolute;
  left:14px;
  bottom:34px;
  width:58px;
  height:31px;
  border-radius:9px;
  background:#e4ddd2;
  border:2px solid rgba(0,0,0,.07);
}
.featuredSize .visualBed{
  background:#62584f;
  border-color:rgba(255,255,255,.06);
}
.visualDesk{
  position:absolute;
  right:15px;
  bottom:42px;
  width:46px;
  height:9px;
  background:#8a7b6d;
}
.visualDesk::before,.visualDesk::after{
  content:"";
  position:absolute;
  top:9px;
  width:4px;
  height:18px;
  background:#4f4841;
}
.visualDesk::before{left:6px}.visualDesk::after{right:6px}
.visualCouch{
  position:absolute;
  left:14px;
  bottom:35px;
  width:68px;
  height:31px;
  border-radius:11px 11px 8px 8px;
  background:#8a7b6d;
}
.visualMonitor{
  position:absolute;
  right:16px;
  top:20px;
  width:40px;
  height:25px;
  border-radius:5px;
  background:#d8d0c4;
  border:2px solid rgba(0,0,0,.08);
}
.visualMonitor::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-9px;
  width:11px;
  height:9px;
  transform:translateX(-50%);
  background:#7d756d;
}
.featuredSize .visualMonitor{
  background:#57514c;
  border-color:rgba(255,255,255,.06);
}
.visualRug{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  background:#5f4c58;
  border:2px solid #c2b5a8;
  box-shadow:0 6px 12px rgba(0,0,0,.18);
}
.visualRugSmall{width:42px;height:27px;border-radius:50%}
.visualRugMedium{width:82px;height:38px;border-radius:20px}
.visualRugLarge{width:108px;height:48px;border-radius:24px}
.featuredSize .visualRug{background:#7a6573}

@media(max-width:980px){
  .sizeVisual{
    grid-column:1;
    grid-row:1 / span 2;
    height:auto;
    min-height:138px;
    margin:12px 0 12px 12px;
  }
  .popularBadge{
    top:8px;
    right:8px;
  }
}
@media(max-width:720px){
  .sizeVisual{
    min-height:126px;
    margin:10px 0 10px 10px;
  }
  .popularBadge{
    font-size:5.5px;
    padding:6px 7px;
  }
  .visualTag{
    font-size:5.5px;
    padding:5px 6px;
  }
}


/* =========================================================
   CUSTOM COMMISSION FORM — PREMIUM PASS
   ========================================================= */
.customFormPremium{
  background:#fff!important;
  border:1px solid #e6dfd5!important;
  border-radius:22px!important;
  box-shadow:0 24px 60px rgba(24,20,16,.09)!important;
  overflow:hidden;
}

.customFormHead{
  padding:30px 30px 24px!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(221,211,198,.36),transparent 24%),
    linear-gradient(180deg,#fff,#faf7f2)!important;
}

.customFormHead h3{
  font-size:34px!important;
  line-height:.94!important;
}

.customFormHead h3 em{
  font-style:normal;
  color:#6f6255;
}

.customFormHead p:not(.eyebrow){
  font-size:12px!important;
  line-height:1.7!important;
}

.customFormProgress{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:14px 30px;
  border-top:1px solid #ece6de;
  border-bottom:1px solid #ece6de;
  background:#fbf9f5;
}

.customFormProgress>div{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

.customFormProgress>div span{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid #d9d2c8;
  color:#7f786f;
  font-size:7px;
  font-weight:900;
}

.customFormProgress>div.active span{
  background:#111;
  border-color:#111;
  color:#fff;
}

.customFormProgress>div b{
  font-size:7px;
  letter-spacing:.09em;
  white-space:nowrap;
}

.customFormProgress>i{
  height:1px;
  background:#ddd6cc;
}

.customFormGrid{
  padding:26px 30px 12px!important;
  gap:0 16px!important;
}

.customFormGrid label{
  color:#5d5750!important;
  font-size:8px!important;
  letter-spacing:.11em!important;
}

.customFormGrid label>span{
  color:#a39b91;
  font-weight:700;
  letter-spacing:.03em;
}

.customFormGrid .fullField{
  grid-column:1/-1!important;
}

.customFormGrid input,
.customFormGrid select,
.customFormGrid textarea{
  min-height:50px!important;
  padding:14px 14px!important;
  border:1px solid #dfd8ce!important;
  border-radius:12px!important;
  background:#fbfaf7!important;
  color:#111!important;
  box-shadow:none!important;
}

.customFormGrid input::placeholder,
.customFormGrid textarea::placeholder{
  color:#a7a097;
}

.customFormGrid textarea{
  min-height:170px!important;
  line-height:1.55;
}

.customFormGrid input:focus,
.customFormGrid select:focus,
.customFormGrid textarea:focus{
  background:#fff!important;
  border-color:#111!important;
  box-shadow:0 0 0 4px rgba(17,17,17,.05)!important;
}

.customFormFooter{
  grid-template-columns:repeat(3,1fr)!important;
  gap:9px!important;
  margin:0 30px 20px!important;
}

.customFormTrust{
  min-height:92px;
  padding:13px!important;
  border-radius:14px!important;
  background:#faf8f4!important;
}

.customFormTrust>span{
  width:30px!important;
  height:30px!important;
}

.customFormTrust b{
  font-size:7.5px!important;
}

.customFormTrust small{
  font-size:7.5px!important;
}

.customSubmitPremium{
  width:calc(100% - 60px)!important;
  margin:0 30px!important;
  min-height:60px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px!important;
  border-radius:14px!important;
  box-shadow:0 14px 28px rgba(17,17,17,.14)!important;
}

.customSubmitPremium span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.customSubmitPremium b{
  font-size:18px;
  line-height:1;
}

#customRugForm .formNote{
  margin:12px 30px 26px!important;
  color:#8b847c!important;
  font-size:9px!important;
}

@media(max-width:720px){
  .customFormHead{
    padding:22px 18px 18px!important;
  }

  .customFormHead h3{
    font-size:30px!important;
  }

  .customFormProgress{
    grid-template-columns:auto 1fr auto 1fr auto;
    gap:6px;
    padding:11px 18px;
  }

  .customFormProgress>div b{
    display:none;
  }

  .customFormProgress>div span{
    width:26px;
    height:26px;
  }

  .customFormGrid{
    grid-template-columns:1fr!important;
    padding:20px 18px 10px!important;
  }

  .customFormGrid .fullField{
    grid-column:auto!important;
  }

  .customFormGrid input,
  .customFormGrid select{
    min-height:54px!important;
  }

  .customFormGrid textarea{
    min-height:180px!important;
  }

  .customFormFooter{
    grid-template-columns:1fr!important;
    margin:0 18px 16px!important;
  }

  .customFormTrust{
    min-height:0;
  }

  .customSubmitPremium{
    width:calc(100% - 36px)!important;
    margin:0 18px!important;
    min-height:60px!important;
  }

  #customRugForm .formNote{
    margin:12px 18px 22px!important;
  }
}


/* TUFTED PRODUCT VIEWER V4 — single scroll container; no layered legacy overrides */
.productPrice{display:flex;flex-direction:column;align-items:flex-end;gap:5px;white-space:nowrap}
.priceQualifier{font-size:11px;font-weight:400;letter-spacing:.05em}
.dynamicArt{cursor:pointer;perspective:900px}
.dynamicArt .rugFront,.dynamicArt .rugBack{transition:transform .5s ease,opacity .4s ease;backface-visibility:hidden}
.dynamicArt .rugBack{transform:rotateY(180deg);opacity:0}
.dynamicArt.isFlipped .rugFront{transform:rotateY(180deg);opacity:0}
.dynamicArt.isFlipped .rugBack{transform:rotateY(360deg);opacity:1}
@keyframes tuftViewerEnter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes tuftGalleryIn{from{opacity:.5}to{opacity:1}}
#modal.modal{position:fixed!important;inset:0!important;z-index:220!important;display:none!important;background:#fff!important;color:#111!important;padding:0!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;box-sizing:border-box!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;grid-template-columns:none!important;grid-template-rows:none!important;gap:0!important;transform:none!important}
#modal.modal.open{display:block!important;animation:tuftViewerEnter .22s ease both}
#modal.modal *,#modal.modal *::before,#modal.modal *::after{box-sizing:border-box}
#modal .modalGallery,#modal .modalInfo{position:relative!important;display:block!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;transform:none!important}
#modal .modalArt{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1!important;padding:65px 16px 5px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important;cursor:pointer;touch-action:pan-y}
#modal .modalArt img.modalProductImage{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;position:relative!important;inset:auto!important;margin:auto!important;transform:none!important;filter:none!important}
#modal .galleryAnimate{animation:tuftGalleryIn .2s ease}
#modal .galleryDots{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:12px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:12px 18px!important;background:#fff!important;margin:0!important;overflow:visible!important}
#modal .galleryDots button.productThumb{position:relative!important;display:flex!important;flex:none!important;align-items:center!important;justify-content:center!important;width:72px!important;height:78px!important;min-width:0!important;max-width:72px!important;min-height:0!important;max-height:78px!important;padding:5px!important;margin:0!important;border:1px solid #d8d8d8!important;border-radius:0!important;background:#fff!important;opacity:.8!important;transform:none!important;overflow:hidden!important;appearance:none!important;cursor:pointer}
#modal .galleryDots button.productThumb.active{border:2px solid #111!important;opacity:1!important}
#modal .galleryDots button.productThumb img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;position:static!important;transform:none!important}
#modal .gallerySwipeHint{display:block!important;text-align:center!important;color:#777!important;font-size:10px!important;letter-spacing:.13em!important;line-height:1.4!important;padding:0 0 18px!important;margin:0!important}
#modal .modalInfo{padding:20px clamp(18px,5vw,65px) 55px!important;overflow:visible!important}
#modal .modalInfo .eyebrow{font-size:10px!important;font-weight:600!important;letter-spacing:.15em!important;color:#777!important;margin:0 0 14px!important}
#modal .modalInfo h2{font-size:clamp(29px,5vw,44px)!important;line-height:1.08!important;letter-spacing:-.04em!important;margin:0 0 15px!important;font-weight:800!important;overflow-wrap:break-word!important}
#modal #modalPrice{font-size:22px!important;line-height:1.25!important;letter-spacing:0!important;font-weight:500!important;margin:0 0 17px!important}
#modal #modalSize{font-size:11px!important;line-height:1.5!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#6c6c6c!important;border:0!important;padding:0!important;margin:0 0 10px!important}
#modal .mobileBagDock{position:static!important;inset:auto!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;padding:13px 0 24px!important;margin:0!important;background:#fff!important;border:0!important;box-shadow:none!important;z-index:auto!important}
#modal .mobileBagDock button#addBag{display:block!important;position:static!important;width:100%!important;max-width:320px!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:0 18px!important;border:0!important;border-radius:3px!important;background:#111!important;color:#fff!important;font-size:12px!important;letter-spacing:.1em!important;font-weight:700!important;line-height:48px!important;text-align:center!important}
#modal .mobileBagDock button#addBag:disabled{opacity:.55}
#modal .productDescription{display:block!important;border-top:1px solid #ddd!important;padding:23px 0 0!important;margin:0!important;width:100%!important}
#modal .productDescription h3{font-size:17px!important;font-weight:750!important;letter-spacing:.03em!important;margin:0 0 14px!important}
#modal .productDescription #modalDescription{display:block!important;color:#333!important;font-size:14px!important;line-height:1.75!important;white-space:pre-line!important;margin:0 0 15px!important}
#modal .productDescription #modalStatus{display:block!important;color:#777!important;font-size:11px!important;margin:15px 0!important}
#modal .flipButton{display:none!important}
#modal .close{position:fixed!important;top:calc(9px + env(safe-area-inset-top))!important;left:15px!important;right:auto!important;z-index:40!important;display:flex!important;align-items:center!important;gap:7px!important;width:auto!important;height:38px!important;padding:0 10px!important;background:rgba(255,255,255,.93)!important;color:#111!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:11px!important;letter-spacing:.07em!important}
#modal .productBackArrow{font-size:24px!important;font-weight:400!important}
#modal .productCloseText{font-size:10px!important}
@media(min-width:850px){
 #modal .modalGallery{max-width:900px!important;margin:0 auto!important}
 #modal .modalArt{aspect-ratio:1.45/1!important;max-height:78vh!important}
 #modal .modalInfo{max-width:820px!important;margin:0 auto!important;padding:35px 45px 80px!important}
}
@media(max-width:767px){
 #modal .modalArt{aspect-ratio:1/1!important;padding:56px 14px 3px!important}
 #modal .galleryDots button.productThumb{width:65px!important;height:70px!important;max-width:65px!important;max-height:70px!important}
 #modal .modalInfo{padding:17px 22px calc(65px + env(safe-area-inset-bottom))!important}
 #modal .modalInfo h2{font-size:clamp(28px,7vw,36px)!important}
 #modal .mobileBagDock button#addBag{max-width:100%!important}
}
@media(prefers-reduced-motion:reduce){#modal.modal.open,#modal .galleryAnimate,.dynamicArt .rugFront,.dynamicArt .rugBack{animation:none!important;transition:none!important}}

/* Premium storefront refinements and accessible custom-request confirmation */
.customSuccessScreen[hidden], .customFormPremium[hidden]{display:none!important}
.customSuccessScreen{padding:clamp(28px,6vw,76px);margin:22px 0;border:1px solid rgba(255,255,255,.2);background:radial-gradient(circle at 50% 0%,#232323,#0b0b0b 70%);text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.customSuccessScreen .customSuccessSymbol{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 28px;border:1px solid #ddd;border-radius:50%;color:#fff;font-size:32px}
.customSuccessScreen h2{font-size:clamp(54px,10vw,118px);font-weight:800;letter-spacing:-.075em;line-height:1;margin:14px 0 30px}
.customSuccessScreen p:not(.eyebrow){max-width:600px;margin:16px auto;color:#d2d2d2;line-height:1.8;font-size:clamp(15px,2vw,18px)}
.customSuccessScreen .customSuccessFoot{letter-spacing:.16em;font-size:11px!important;color:#a8a8a8!important;margin:35px auto!important}
.customSuccessScreen .submit{max-width:320px;margin:20px auto 0}
#custom .customFormPremium, .productCard, .hero .cta, .bag, .submit{transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
@media(hover:hover){.productCard:hover{transform:translateY(-4px)}.submit:hover,.hero .cta:hover{transform:translateY(-2px)}}
:focus-visible{outline:2px solid #fff!important;outline-offset:4px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Product details secondary link preserves the original button design */
.productDetailsLink{display:block;text-align:center;padding:12px 8px;margin:4px 0 0;color:inherit;font-size:10px;font-weight:800;letter-spacing:.13em;text-decoration:underline;text-underline-offset:4px;opacity:.8;transition:opacity .18s ease}
.productDetailsLink:hover,.productDetailsLink:focus-visible{opacity:1}

/* Small-screen polish: prevent text and controls from colliding. */
@media(max-width:600px){
  .heroCenter,.sectionHead,.shopControls,.productCard,.cartSummary,.customSuccessScreen{min-width:0;max-width:100%}
  .hero h1,.sectionHead h2,.customSuccessScreen h2{overflow-wrap:normal;word-break:normal}
  .heroBtns{display:flex;flex-wrap:wrap;gap:10px}
  .heroBtns>a{min-width:0;flex:1 1 145px;text-align:center;white-space:normal}
  .trendFilters,.sizeFilters{max-width:100%;flex-wrap:wrap;gap:8px}
  .trendFilters button,.sizeFilters button{min-height:40px;white-space:normal}
  .summaryRow{gap:12px;align-items:flex-start}
  .summaryRow>span{min-width:0;overflow-wrap:anywhere}
  .summaryRow>b{flex-shrink:0;text-align:right}
  .productDetailsLink{line-height:1.5;overflow-wrap:anywhere}
  .customSuccessScreen{padding:28px 16px}
  .customSuccessScreen h2{font-size:clamp(42px,13vw,70px)}
}


/* TUFTED mobile two-up shop grid — Hellstar-inspired layout */
@media (max-width: 850px) {
  #productGrid.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    align-items: start;
  }
  #productGrid > * { min-width: 0; }
  #productGrid .art { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  #productGrid.grid { gap: 10px; }
  #productGrid .product { border-radius: 10px; }
  #productGrid .meta { padding: 10px 9px 5px; gap: 6px; flex-wrap: wrap; }
  #productGrid .meta h3 { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
  #productGrid .meta p { font-size: 10px; line-height: 1.3; }
  #productGrid .meta b { font-size: 13px; }
  #productGrid .view { width: calc(100% - 18px); margin: 6px 9px 10px; font-size: 10px; }
}


/* Uniform mobile shop cards: consistent content and action positions. */
@media (max-width: 850px) {
  #productGrid.grid { align-items: stretch; }
  #productGrid .product {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
  }
  #productGrid .art { flex: 0 0 auto; }
  #productGrid .meta {
    flex: 1 0 auto;
    min-height: 108px;
    align-content: start;
  }
  #productGrid .meta > div { min-width: 0; flex: 1 1 58%; }
  #productGrid .productPrice { flex: 0 0 auto; }
  #productGrid .view { flex: 0 0 auto; margin-top: auto; }
  #productGrid .productDetailsLink {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin-top: 0;
    padding: 8px 6px 12px;
    font-size: 9px;
    letter-spacing: .07em;
    text-align: center;
  }
}
@media (max-width: 600px) {
  #productGrid .meta { min-height: 115px; }
  #productGrid .view { min-height: 42px; }
}


/* Fixed price anchor: optional price labels never move the amount. */
#productGrid .meta {
  position: relative;
}
#productGrid .meta > div {
  box-sizing: border-box;
  width: 100%;
  padding-right: 84px;
}
#productGrid .productPrice {
  position: absolute;
  top: 20px;
  right: 20px;
  display: block;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  text-align: right;
}
#productGrid .productPrice .priceQualifier {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: 94px;
  white-space: normal;
  text-align: right;
  line-height: 1.25;
  font-weight: 400;
}
@media (max-width: 600px) {
  #productGrid .meta > div { flex: 0 0 100%; padding-right: 62px; }
  #productGrid .productPrice { top: 10px; right: 9px; }
  #productGrid .productPrice .priceQualifier { width: 72px; font-size: 10px; }
}

/* Compact mobile product cards while preserving uniform row alignment. */
@media (max-width: 850px) {
  #productGrid .meta {
    flex: 0 0 auto;
    min-height: 78px;
  }
  #productGrid .view {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  #productGrid .meta {
    min-height: 82px;
    padding-bottom: 2px;
  }
  #productGrid .view {
    margin-top: 0;
    margin-bottom: 4px;
  }
  #productGrid .productDetailsLink {
    min-height: 35px;
    padding-top: 4px;
    padding-bottom: 8px;
  }
}

/* Mobile storefront: bring rugs into view sooner and keep filters on one line. */
@media (max-width: 850px) {
  #drop.shop { padding-top: 32px; }
  #drop .sectionHead { margin-bottom: 18px; }
  #drop .shopControls { gap: 9px; margin-bottom: 14px; }
  #drop .trendFilters,
  #drop .sizeFilters {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap !important;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 7px;
    padding-bottom: 3px;
  }
  #drop .trendFilters::-webkit-scrollbar,
  #drop .sizeFilters::-webkit-scrollbar { display: none; }
  #drop .trendFilter,
  #drop .sizeFilter {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
  #drop .sizeFilters { padding-top: 9px; }
  #drop .sizeFilters > span { width: auto; flex: 0 0 auto; margin-bottom: 0; align-self: center; }
}
@media (max-width: 600px) {
  #drop.shop { padding-top: 22px; }
  #drop .sectionHead { gap: 10px; margin-bottom: 12px; }
  #drop .sectionHead h2 { font-size: clamp(34px, 10vw, 48px); }
  #drop .dropCopy { font-size: 12px; line-height: 1.4; }
  #drop .trendFilter,
  #drop .sizeFilter { min-height: 36px; padding: 7px 12px; }
}


/* TUFTED storefront fixes: visible rug photography on iPad/Safari */
#productGrid .dynamicArt { isolation:isolate; transform-style:flat; perspective:none; }
#productGrid .dynamicArt::before,#productGrid .dynamicArt::after { display:none!important; }
#productGrid .dynamicArt .productPhoto { display:block!important; visibility:visible!important; position:absolute!important; inset:0; width:100%; height:100%; object-fit:contain; opacity:1; -webkit-backface-visibility:visible; backface-visibility:visible; transform:none; z-index:1; }
#productGrid .dynamicArt .rugBack { opacity:0!important; pointer-events:none; }
#productGrid .dynamicArt.isFlipped .rugFront,#productGrid .product.showBack .rugFront { opacity:0!important; }
#productGrid .dynamicArt.isFlipped .rugBack,#productGrid .product.showBack .rugBack { opacity:1!important; }
#productGrid .dynamicArt .photoWash { z-index:2; }
#productGrid .dynamicArt .edition,#productGrid .dynamicArt .visualHint,#productGrid .dynamicArt .photoLabel { z-index:5; }
.heroCustomCta { display:inline-flex;align-items:center;justify-content:space-between;gap:22px; margin-top:20px;padding:13px 18px;border:1px solid #161616;border-radius:999px;color:#111;text-decoration:none;background:transparent;font-size:11px;font-weight:800;letter-spacing:.09em;transition:background .2s,color .2s; }
.heroCustomCta:hover,.heroCustomCta:focus-visible { background:#111;color:#fff; }
.heroCustomCta span { font-size:18px;line-height:1; }
@media(max-width:850px){.heroCustomCta{margin-top:15px;padding:12px 16px;font-size:10px}#productGrid .dynamicArt .productPhoto{padding:12px;}}

/* iPad and desktop product details: photo left, all product information right. */
@media(min-width:768px){
 #modal.modal.open{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)!important;grid-template-rows:auto!important;column-gap:0!important;align-items:start!important;padding:78px clamp(18px,3vw,55px) 30px!important;overflow-x:hidden!important;overflow-y:auto!important;}
 #modal .modalGallery{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important;position:sticky!important;top:0!important;}
 #modal .modalArt{width:100%!important;max-width:100%!important;max-height:min(65vh,680px)!important;aspect-ratio:1/1!important;margin:0!important;}
 #modal .modalInfo{grid-column:2!important;grid-row:1!important;min-width:0!important;max-width:100%!important;width:100%!important;padding:12px clamp(20px,3vw,46px) 60px!important;margin:0!important;}
 #modal .modalInfo h2{font-size:clamp(30px,3.8vw,56px)!important;}
 #modal .mobileBagDock button#addBag{max-width:100%!important;}
}


/* iPad catalog: same photo-first two-up card presentation as iPhone. */
#productGrid .cardFlipButton{display:none}
@media(min-width:601px) and (max-width:1199px){
 #productGrid.grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:14px!important}
 #productGrid .product{display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important;overflow:hidden!important;transform:none!important}
 #productGrid .product[hidden]{display:none!important}
 #productGrid .art.dynamicArt{display:block!important;position:relative!important;isolation:isolate!important;transform:none!important;transform-style:flat!important;perspective:none!important;overflow:hidden!important;flex:0 0 auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;background:#fff!important}
 #productGrid .art.dynamicArt::before,#productGrid .art.dynamicArt::after{display:none!important}
 #productGrid .art.dynamicArt .productPhoto{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;box-sizing:border-box!important;padding:15px!important;z-index:3!important;visibility:visible!important;filter:none!important;transform:none!important;backface-visibility:visible!important;-webkit-backface-visibility:visible!important;transition:opacity .2s ease!important}
 #productGrid .art.dynamicArt .rugFront{opacity:1!important}
 #productGrid .art.dynamicArt .rugBack{opacity:0!important}
 #productGrid .art.dynamicArt.isFlipped .rugFront{opacity:0!important}
 #productGrid .art.dynamicArt.isFlipped .rugBack{opacity:1!important}
 #productGrid .art.dynamicArt .photoWash{display:none!important}
 #productGrid .art.dynamicArt .edition,#productGrid .art.dynamicArt .visualHint,#productGrid .art.dynamicArt .photoLabel,#productGrid .art.dynamicArt .soldOutOverlay{z-index:6!important}
 #productGrid .art.dynamicArt .cardFlipButton{display:block!important;position:absolute!important;top:12px!important;right:12px!important;z-index:15!important;width:auto!important;height:auto!important;min-height:34px!important;padding:8px 11px!important;margin:0!important;background:rgba(255,255,255,.95)!important;color:#111!important;border:1px solid #ccc!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;letter-spacing:.06em!important;cursor:pointer!important}
 #productGrid .art.dynamicArt .edition{max-width:40%!important}
 #productGrid .meta{flex:1 0 auto!important;min-height:91px!important;box-sizing:border-box!important;align-content:start!important}
 #productGrid .view{flex:0 0 auto!important;min-height:42px!important;margin-top:auto!important}
 #productGrid .productDetailsLink{flex:0 0 auto!important;min-height:40px!important;box-sizing:border-box!important}
}


/* TUFTED IT welcome promotion */
.welcomeOffer[hidden]{display:none!important}
.welcomeOffer{position:fixed;right:clamp(12px,3vw,34px);bottom:clamp(12px,3vw,34px);z-index:1000;max-width:min(400px,calc(100vw - 24px));box-sizing:border-box;padding:32px;background:#111;color:#faf8f4;border:1px solid #777;box-shadow:0 18px 75px #0006}
.welcomeOffer .offerClose{position:absolute;top:8px;right:14px;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}
.welcomeOffer .offerEyebrow{font-size:10px;letter-spacing:.19em;color:#c4bbb1}
.welcomeOffer h2{font-size:clamp(35px,7vw,52px);line-height:1;letter-spacing:-.065em;margin:18px 0}
.welcomeOffer p:not(.offerEyebrow){font-size:14px;line-height:1.6;color:#ddd}
.welcomeOffer .offerCodeRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0;border:1px dashed #aaa;padding:10px 12px}
.welcomeOffer .offerCodeRow strong{font-size:18px;letter-spacing:.1em;overflow-wrap:anywhere}
.welcomeOffer .offerCodeRow button{border:0;background:#fff;color:#111;padding:11px 13px;font-size:10px;font-weight:800;cursor:pointer}
.welcomeOffer small{font-size:11px;color:#aaa}

/* Desktop photo stability: same visible front/back artwork as the iPad. */
@media(min-width:1200px){
 #productGrid .dynamicArt{isolation:isolate!important;transform:none!important;transform-style:flat!important;perspective:none!important;position:relative!important;overflow:hidden!important;background:#fff!important}
 #productGrid .dynamicArt::before,#productGrid .dynamicArt::after{display:none!important}
 #productGrid .dynamicArt .rugFront,#productGrid .dynamicArt .rugBack{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;visibility:visible!important;z-index:3!important;transform:none!important;filter:none!important;backface-visibility:visible!important;-webkit-backface-visibility:visible!important;transition:opacity .2s ease!important}
 #productGrid .dynamicArt .rugFront{opacity:1!important}
 #productGrid .dynamicArt .rugBack{opacity:0!important}
 #productGrid .dynamicArt.isFlipped .rugFront{opacity:0!important}
 #productGrid .dynamicArt.isFlipped .rugBack{opacity:1!important}
 #productGrid .dynamicArt .photoWash{display:none!important}
 #productGrid .dynamicArt .edition,#productGrid .dynamicArt .visualHint,#productGrid .dynamicArt .photoLabel{z-index:6!important}
 #productGrid .dynamicArt .cardFlipButton{display:block!important;position:absolute!important;z-index:15!important;top:12px!important;right:12px!important;padding:8px 12px!important;background:#fff!important;color:#111!important;border:1px solid #ddd!important;border-radius:30px!important;font-size:11px!important;font-weight:800!important;cursor:pointer}
 #productGrid.grid{align-items:stretch!important}
 #productGrid .product{display:flex!important;flex-direction:column!important;height:100%!important}
 #productGrid .product[hidden]{display:none!important}
 #productGrid .meta{flex:1 0 auto!important}
 #productGrid .view{margin-top:auto!important}
}
@media(max-width:600px){.welcomeOffer{padding:23px!important;bottom:10px!important;right:10px!important;left:10px!important;max-width:none!important}.welcomeOffer h2{font-size:36px!important}}

/* Five custom-size rug cards, consistent editorial illustrations */
#custom .refreshedSizeGuide{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;align-items:stretch}
#custom .refreshedSizeGuide .premiumSizeCard{position:relative;min-width:0!important;display:flex!important;flex-direction:column!important;grid-template-columns:none!important;border:1px solid #494949;overflow:hidden}
#custom .refreshedSizeGuide .rugSizePreview{margin:9px 9px 2px!important;width:auto!important;height:135px!important;min-height:135px!important;background:radial-gradient(circle at 50% 35%,#f0ece7,#d7d0c8 90%)!important;border:1px solid #bcb4ab;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
#custom .refreshedSizeGuide .rugOutline{position:relative!important;width:var(--rugw,80px)!important;height:var(--rugh,90px)!important;max-width:85%!important;max-height:118px!important;border:3px solid #252525!important;border-radius:35% 41% 31% 43% / 40% 30% 46% 36%!important;background:repeating-linear-gradient(97deg,#2c2c2c 0 3px,#363636 3px 6px)!important;box-shadow:5px 8px 0 #0002, inset 0 0 0 3px #b6aca1!important;transform:rotate(-7deg)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:7px!important;box-sizing:border-box!important}
#custom .refreshedSizeGuide .rugOutline span{font-size:8px!important;font-weight:800!important;letter-spacing:.01em!important;line-height:1.35!important;text-align:center!important;white-space:normal!important;color:white!important;transform:rotate(7deg)!important;overflow-wrap:break-word!important}
#custom .refreshedSizeGuide .rugOutline-mini{--rugw:54px;--rugh:58px}
#custom .refreshedSizeGuide .rugOutline-small{--rugw:67px;--rugh:76px}
#custom .refreshedSizeGuide .rugOutline-medium{--rugw:85px;--rugh:93px}
#custom .refreshedSizeGuide .rugOutline-large{--rugw:101px;--rugh:108px}
#custom .refreshedSizeGuide .rugOutline-xl{--rugw:113px;--rugh:116px}
#custom .refreshedSizeGuide .sizeCardTop{position:relative!important;padding:14px 10px 3px!important;display:flex!important;justify-content:space-between!important}
#custom .refreshedSizeGuide .sizeCardCopy{padding:10px!important;flex:1!important;display:block!important}
#custom .refreshedSizeGuide .sizeCardCopy b{font-size:17px!important}
#custom .refreshedSizeGuide .sizeCardCopy small{font-size:11px!important;line-height:1.4!important}
#custom .refreshedSizeGuide .sizeCardBottom{padding:12px 10px!important;display:flex!important;gap:5px!important;align-items:center!important;justify-content:space-between!important}
#custom .refreshedSizeGuide .sizeCardBottom strong{font-size:12px!important;white-space:nowrap}
#custom .refreshedSizeGuide .popularBadge{font-size:8px!important;letter-spacing:.04em!important}
@media(max-width:1150px){#custom .refreshedSizeGuide{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){#custom .refreshedSizeGuide{grid-template-columns:repeat(2,minmax(0,1fr))!important}#custom .refreshedSizeGuide .rugSizePreview{height:125px!important;min-height:125px!important;margin:8px!important}#custom .refreshedSizeGuide .premiumSizeCard{display:flex!important;flex-direction:column!important}#custom .refreshedSizeGuide .sizeCardCopy{padding:8px 10px!important}#custom .refreshedSizeGuide .rugOutline span{font-size:7px!important}}
@media(max-width:350px){#custom .refreshedSizeGuide{grid-template-columns:1fr!important}}


/* TUFTED IT — final responsive custom sizes: no clipped copy on any device */
#custom .refreshedSizeGuide{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
#custom .refreshedSizeGuide .premiumSizeCard{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-width:0!important;width:100%!important;height:100%!important;overflow:hidden!important;border-radius:20px!important;box-sizing:border-box!important}
#custom .refreshedSizeGuide .sizeCardTop{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:16px 14px 0!important;min-width:0!important}
#custom .refreshedSizeGuide .sizeCardTop span{font-size:12px!important;letter-spacing:.09em!important;white-space:nowrap!important}
#custom .refreshedSizeGuide .sizeCardTop i{font-size:11px!important;flex:0 0 auto!important}
#custom .refreshedSizeGuide .rugSizePreview{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;margin:14px 14px 0!important;height:168px!important;min-height:168px!important;max-height:none!important;padding:8px!important;box-sizing:border-box!important;overflow:hidden!important}
#custom .refreshedSizeGuide .rugOutline{flex:0 0 auto!important;max-width:84%!important;max-height:92%!important}
#custom .refreshedSizeGuide .rugOutline span{font-size:clamp(8px,.8vw,11px)!important;line-height:1.4!important;letter-spacing:0!important;overflow-wrap:normal!important;white-space:normal!important}
#custom .refreshedSizeGuide .sizeCardCopy{display:block!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;padding:14px!important;box-sizing:border-box!important}
#custom .refreshedSizeGuide .sizeCardCopy b{display:block!important;font-size:clamp(18px,1.5vw,24px)!important;line-height:1.1!important;overflow-wrap:normal!important}
#custom .refreshedSizeGuide .sizeCardCopy small{display:block!important;font-size:13px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:break-word!important}
#custom .refreshedSizeGuide .sizeCardBottom{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;margin-top:auto!important;padding:15px 14px!important;box-sizing:border-box!important}
#custom .refreshedSizeGuide .sizeCardBottom strong{font-size:clamp(12px,1.1vw,17px)!important;white-space:normal!important;line-height:1.2!important}
#custom .refreshedSizeGuide .sizeCardBottom span{font-size:10px!important;white-space:nowrap!important}
#custom .refreshedSizeGuide .popularBadge{position:relative!important;top:auto!important;right:auto!important;left:auto!important;align-self:center!important;max-width:calc(100% - 16px)!important;white-space:normal!important;text-align:center!important;font-size:9px!important;padding:6px 10px!important;box-sizing:border-box!important}
@media(max-width:1399px){#custom .refreshedSizeGuide{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1024px){#custom .refreshedSizeGuide{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){#custom .refreshedSizeGuide{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}#custom .refreshedSizeGuide .premiumSizeCard{max-width:520px!important;margin-inline:auto!important}#custom .refreshedSizeGuide .rugSizePreview{height:186px!important;min-height:186px!important;margin:12px 16px 0!important}#custom .refreshedSizeGuide .rugOutline span{font-size:10px!important}#custom .refreshedSizeGuide .sizeCardCopy{padding:14px 16px!important}#custom .refreshedSizeGuide .sizeCardCopy b{font-size:23px!important}#custom .refreshedSizeGuide .sizeCardCopy small{font-size:14px!important}#custom .refreshedSizeGuide .sizeCardBottom{padding:15px 16px!important}#custom .refreshedSizeGuide .sizeCardBottom strong{font-size:17px!important}}

/* Bag layout: items above a stable bottom summary; never page-scroll the drawer. */
#cartDrawer .cartPanel{
  display:flex!important;flex-direction:column!important;
  height:100dvh!important;max-height:100dvh!important;
  overflow:hidden!important;
}
#cartDrawer .cartTopBar,#cartDrawer .cartSteps{flex:0 0 auto!important}
#cartDrawer .cartItemsWrap{
  flex:1 1 auto!important;min-height:0!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
#cartDrawer .cartItems{overflow:visible!important;height:auto!important;min-height:0!important}
#cartDrawer #cartSummary:not([hidden]){
  flex:0 0 auto!important;
  max-height:min(58dvh,460px)!important;
  overflow-y:auto!important;
  margin-top:auto!important;
  overscroll-behavior:contain;
  border-top:1px solid #e9e5df;
  background:#fff;
}
#cartDrawer .cartSummary .cartInfoCard{padding:9px 12px!important;margin:8px 0!important}
#cartDrawer .cartSummary .cartPromoFields{margin:8px 0!important}
#cartDrawer .cartSummary .checkoutBtn{margin-top:8px!important}
#cartDrawer #freeShippingProgress{margin:10px 0 12px!important}
@media(max-width:600px){
  #cartDrawer .cartTopBar{padding-top:12px!important;padding-bottom:10px!important}
  #cartDrawer .cartSteps{padding-top:9px!important;padding-bottom:9px!important}
  #cartDrawer #cartSummary:not([hidden]){max-height:57dvh!important;padding-top:12px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
  #cartDrawer .cartSummary .cartInfoCard{display:none!important}
  #cartDrawer .cartSummary .cartSecure{display:none!important}
  #cartDrawer .cartSummary .continueBtn{display:none!important}
}
