:root{--store-paper:#ead8ba;--store-paper-dark:#ddc19a;--store-red:#b52e30;--store-ink:#211b16;--store-black:#11100f;--store-muted:#837565}
*{box-sizing:border-box}
body.store-page{margin:0;background:var(--store-black);color:#f4eee3;font-family:Georgia,'Times New Roman',serif}
.store-page .site-header{position:relative;background:#11100f;border-bottom:1px solid rgba(170,124,67,.22)}

.store-hero{
  min-height:690px;
  display:grid;
  grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);
  gap:clamp(50px,7vw,110px);
  align-items:center;
  padding:70px clamp(34px,8vw,130px) 84px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 18%,rgba(255,255,255,.035),transparent 22%),
    repeating-linear-gradient(115deg,rgba(255,255,255,.012) 0 1px,transparent 1px 5px),
    #11100f;
}
.store-hero:after{content:"";position:absolute;inset:26px;border:1px solid rgba(170,124,67,.32);pointer-events:none}
.store-hero-art{position:relative;min-height:500px;display:flex;align-items:center;justify-content:center}
.store-folder{position:absolute;width:390px;height:310px;background:#c6a56d;transform:rotate(-8deg) translate(-25px,15px);clip-path:polygon(2% 5%,96% 0,100% 92%,5% 100%,0 14%);box-shadow:0 24px 45px rgba(0,0,0,.35)}
.store-book-cover{position:relative;z-index:3;width:min(310px,72%);height:auto;transform:rotate(-4deg);filter:drop-shadow(0 28px 30px rgba(0,0,0,.6))}
.store-signature{position:absolute;z-index:4;width:180px;right:1%;bottom:8%;transform:rotate(-7deg)}
.store-kicker{margin:0 0 12px;color:#d73739;font-size:12px;font-weight:700;letter-spacing:.17em}
.store-hero-copy{position:relative;z-index:3;max-width:720px}
.store-hero-copy h1{font-size:clamp(54px,6vw,88px);line-height:.95;margin:0 0 24px;font-weight:500;letter-spacing:-.035em}
.store-lede{font-size:21px;line-height:1.55;color:#e3dbcf;max-width:650px;margin:0 0 18px}
.store-note{font-family:'Segoe Print','Bradley Hand',cursive;color:#d73739;font-size:25px;transform:rotate(-2deg);display:inline-block;margin:5px 0 0}

.edition-section{
  color:var(--store-ink);
  background:linear-gradient(rgba(246,231,204,.98),rgba(237,214,177,.98));
  padding:86px clamp(28px,7vw,110px) 100px;
  position:relative;
}
.edition-section:before{content:"";position:absolute;left:0;right:0;top:-23px;height:28px;background:inherit;clip-path:polygon(0 64%,7% 42%,15% 67%,23% 43%,32% 69%,41% 44%,50% 67%,60% 42%,69% 70%,78% 44%,88% 66%,95% 45%,100% 62%,100% 100%,0 100%)}
.edition-heading{max-width:900px;margin:0 auto 54px;text-align:center}
.edition-heading h2{margin:0;font-size:clamp(36px,4vw,60px);line-height:1.05;font-weight:500}
.edition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;max-width:1180px;margin:0 auto}
.edition-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);
  gap:34px;
  align-items:center;
  padding:36px;
  background:rgba(250,239,218,.8);
  border:1px solid rgba(111,77,42,.16);
  box-shadow:0 18px 35px rgba(83,55,28,.13);
  overflow:visible;
}
.signed-edition{background:linear-gradient(145deg,rgba(244,225,195,.96),rgba(231,198,153,.96))}
.edition-image-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:330px}
.edition-image-wrap>img:first-child{display:block;width:min(235px,90%);height:auto;filter:drop-shadow(0 20px 20px rgba(53,35,19,.25));transform:rotate(-3deg)}
.signed-image-wrap>img:first-child{transform:rotate(2deg)}
.signed-overlay{position:absolute;width:150px!important;height:auto!important;right:0;bottom:8%;filter:none!important;transform:rotate(-9deg)!important}
.signed-badge{position:absolute;right:-9px;top:20px;z-index:4;background:var(--store-red);color:white;padding:10px 21px;font-size:11px;font-weight:700;letter-spacing:.16em;transform:rotate(2deg);box-shadow:0 8px 13px rgba(0,0,0,.15)}
.edition-label{color:var(--store-red);font-size:11px;font-weight:700;letter-spacing:.16em;margin:0 0 9px}
.edition-card h3{font-size:clamp(29px,2.6vw,42px);line-height:1.05;font-weight:500;margin:0 0 14px}
.edition-description{font-size:16px;line-height:1.58;margin:0 0 20px}
.price-row{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;margin:0 0 20px}
.price{font-size:32px;font-weight:700}
.shipping{font-size:12px;color:#766552;letter-spacing:.03em}
.edition-features{margin:0 0 28px;padding:0;list-style:none;display:grid;gap:9px;font-size:14px}
.edition-features li:before{content:"✓";color:var(--store-red);font-weight:700;margin-right:9px}
.store-buy-button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:50px;padding:0 23px;background:#28201a;color:#fff;text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.06em;transition:transform .2s ease,background .2s ease}
.store-buy-button:hover,.store-buy-button:focus-visible{transform:translateY(-2px);background:#111;outline:none}
.signed-button{background:var(--store-red)}
.signed-button:hover,.signed-button:focus-visible{background:#8f2426}

.store-trust{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:70px;
  align-items:center;
  padding:90px clamp(34px,8vw,130px);
  background:#11100f;
}
.trust-copy{max-width:760px}
.trust-copy h2{font-size:clamp(36px,4vw,60px);font-weight:500;line-height:1.04;margin:0 0 20px}
.trust-copy>p:last-child{font-size:18px;line-height:1.62;color:#dcd2c5}
.trust-note{justify-self:end;width:min(360px,100%);padding:38px 42px;color:#2a2118;background:#dfc89f;transform:rotate(2.5deg);box-shadow:0 18px 30px rgba(0,0,0,.32)}
.trust-note p{color:var(--store-red);font-size:12px;font-weight:700;letter-spacing:.15em;margin:0 0 10px}
.trust-note strong{display:block;font-size:27px;line-height:1.15;margin-bottom:7px}
.trust-note span{font-size:14px}

.store-quote{padding:82px clamp(28px,8vw,130px);text-align:center;background:linear-gradient(rgba(245,229,200,.98),rgba(236,211,171,.98));color:var(--store-ink)}
.store-quote blockquote{max-width:980px;margin:0 auto;font-size:clamp(34px,4vw,59px);line-height:1.14}

.sandbox-notice{padding:15px 22px;background:#5a1720;color:#fff;text-align:center;font-size:13px;line-height:1.45}

@media(max-width:1050px){
  .store-hero{grid-template-columns:1fr;min-height:auto;text-align:center;padding-top:54px}
  .store-hero-art{min-height:430px}
  .store-hero-copy{margin:auto}
  .edition-grid{grid-template-columns:1fr;max-width:760px}
}
@media(max-width:700px){
  .store-page .site-header{position:relative}
  .store-hero{padding:40px 22px 70px}
  .store-hero-art{min-height:360px}
  .store-folder{width:300px;height:240px}
  .store-book-cover{width:min(250px,66vw)}
  .store-signature{width:130px;right:4%;bottom:5%}
  .edition-section{padding:66px 20px 74px}
  .edition-card{grid-template-columns:1fr;padding:28px 22px}
  .edition-image-wrap{min-height:290px}
  .trust-copy{text-align:left}
  .store-trust{grid-template-columns:1fr;padding:70px 22px;gap:42px}
  .trust-note{justify-self:center}
  .store-quote{padding:64px 22px}
}

.thank-you-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:50px 22px;background:
radial-gradient(circle at 20% 20%,rgba(255,255,255,.035),transparent 26%),
repeating-linear-gradient(115deg,rgba(255,255,255,.012) 0 1px,transparent 1px 5px),#11100f}
.thank-you-card{position:relative;width:min(760px,100%);padding:68px 72px;color:#261f18;background:linear-gradient(rgba(246,231,204,.98),rgba(237,214,177,.98));text-align:center;box-shadow:0 30px 70px rgba(0,0,0,.5);clip-path:polygon(1% 2%,98% 0,100% 95%,96% 100%,3% 98%,0 7%)}
.thank-you-card h1{font-size:clamp(42px,6vw,72px);line-height:1;margin:0 0 24px;font-weight:500}
.thank-you-card>p:not(.store-kicker){font-size:18px;line-height:1.6;max-width:610px;margin:0 auto 17px}
.thank-you-note{font-style:italic}
.thank-you-signature{width:180px;height:auto;margin:0 auto 20px;display:block}
.thank-you-card .store-buy-button{margin-top:20px}
@media(max-width:620px){.thank-you-card{padding:50px 25px}.thank-you-signature{width:145px}}


/* 2026-10-01 multi-copy checkout */
.store-multi-note{
  max-width:650px;
  margin:0 0 14px;
  color:#bda992;
  font-size:15px;
  line-height:1.5;
}
.price small{
  font-size:13px;
  font-weight:400;
  color:#766552;
}
.quantity-row{
  display:grid;
  grid-template-columns:auto 110px 1fr;
  gap:12px;
  align-items:center;
  margin:0 0 24px;
  padding:14px 0 18px;
  border-top:1px solid rgba(110,76,41,.14);
  border-bottom:1px solid rgba(110,76,41,.14);
}
.quantity-row label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6e5c48;
}
.quantity-select{
  width:100%;
  min-height:42px;
  padding:0 34px 0 12px;
  border:1px solid rgba(83,57,32,.25);
  background:#f5e8cf;
  color:#281f17;
  font-family:Georgia,'Times New Roman',serif;
  font-size:15px;
  cursor:pointer;
}
.quantity-select:focus{
  outline:2px solid rgba(181,46,48,.28);
  outline-offset:2px;
}
.order-total{
  justify-self:end;
  font-size:14px;
  font-weight:700;
  color:#2c2219;
}
@media(max-width:560px){
  .quantity-row{
    grid-template-columns:1fr 1fr;
  }
  .order-total{
    grid-column:1 / -1;
    justify-self:start;
  }
}


/* 2026-10-01 delivery + volume pricing controls */
.edition-intro{
  max-width:760px;
  margin:14px auto 0;
  color:#6f604f;
  font-size:16px;
  line-height:1.55;
}
.purchase-options{
  display:grid;
  gap:14px;
  margin:2px 0 24px;
  padding:18px 0 20px;
  border-top:1px solid rgba(110,76,41,.14);
  border-bottom:1px solid rgba(110,76,41,.14);
}
.option-row{
  display:grid;
  grid-template-columns:100px minmax(190px,1fr);
  gap:14px;
  align-items:center;
}
.option-row label{
  color:#6d5b47;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.store-select{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 38px 0 13px;
  border:1px solid rgba(83,57,32,.25);
  background:#f5e8cf;
  color:#281f17;
  font-family:Georgia,'Times New Roman',serif;
  font-size:15px;
  line-height:1.2;
  cursor:pointer;
}
.quantity-select{
  min-width:190px!important;
}
.delivery-select{
  min-width:260px!important;
}
.store-select:focus{
  outline:2px solid rgba(181,46,48,.28);
  outline-offset:2px;
}
.pricing-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding-top:4px;
}
.discount-note{
  min-height:18px;
  color:#81705e;
  font-size:13px;
  font-style:italic;
}
.discount-note.active-discount{
  color:#ad3031;
  font-weight:700;
  font-style:normal;
}
.order-total{
  margin-left:auto;
  min-width:180px;
  text-align:right;
  white-space:nowrap;
  font-size:17px!important;
  line-height:1.2;
  color:#281f17;
}
.price-row{
  align-items:flex-start!important;
}
.price{
  white-space:nowrap;
}
.shipping{
  max-width:240px;
  line-height:1.35;
}
@media(max-width:640px){
  .option-row{
    grid-template-columns:1fr;
    gap:7px;
  }
  .quantity-select,
  .delivery-select{
    min-width:100%!important;
  }
  .pricing-summary{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .order-total{
    margin-left:0;
    min-width:0;
    text-align:left;
  }
}


/* 2026-10-01 storefront card layout correction */
.edition-section{
  overflow:hidden!important;
}
.edition-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:32px!important;
  width:min(1100px,100%)!important;
  max-width:1100px!important;
  align-items:stretch!important;
}
.edition-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  gap:0!important;
  padding:34px 36px 38px!important;
  overflow:hidden!important;
}
.edition-image-wrap{
  width:100%!important;
  min-height:300px!important;
  height:300px!important;
  margin:0 auto 26px!important;
  flex:0 0 auto!important;
}
.edition-image-wrap>img:first-child{
  width:auto!important;
  max-width:220px!important;
  max-height:285px!important;
  height:auto!important;
  object-fit:contain!important;
}
.signed-overlay{
  width:132px!important;
  right:12%!important;
  bottom:4%!important;
}
.edition-card-copy{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
}
.edition-card h3{
  max-width:none!important;
  min-height:0!important;
  font-size:clamp(31px,2.7vw,40px)!important;
  line-height:1.03!important;
  margin-bottom:14px!important;
}
.edition-description{
  min-height:76px!important;
  margin-bottom:18px!important;
}
.price-row{
  display:block!important;
  margin-bottom:18px!important;
}
.price-row .price{
  display:block!important;
  margin-bottom:6px!important;
}
.price-row .shipping{
  display:block!important;
  max-width:none!important;
}
.purchase-options{
  width:100%!important;
  min-width:0!important;
}
.option-row{
  grid-template-columns:92px minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
}
.store-select,
.quantity-select,
.delivery-select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
.pricing-summary{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  align-items:start!important;
}
.discount-note{
  min-height:18px!important;
}
.order-total{
  margin:0!important;
  min-width:0!important;
  width:100%!important;
  text-align:left!important;
  white-space:normal!important;
  font-size:18px!important;
}
.edition-features{
  margin-top:2px!important;
}
.store-buy-button{
  width:100%!important;
  margin-top:auto!important;
}
.signed-badge{
  right:20px!important;
  top:20px!important;
}

@media(max-width:1120px){
  .edition-grid{
    width:min(920px,100%)!important;
  }
  .edition-card{
    padding:30px 28px 34px!important;
  }
  .edition-image-wrap{
    height:270px!important;
    min-height:270px!important;
  }
  .edition-image-wrap>img:first-child{
    max-height:255px!important;
    max-width:200px!important;
  }
  .edition-description{
    min-height:92px!important;
  }
  .option-row{
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
}

@media(max-width:860px){
  .edition-grid{
    grid-template-columns:1fr!important;
    width:min(620px,100%)!important;
  }
  .edition-description{
    min-height:0!important;
  }
  .option-row{
    grid-template-columns:105px minmax(0,1fr)!important;
  }
}

@media(max-width:520px){
  .edition-card{
    padding:26px 20px 30px!important;
  }
  .edition-image-wrap{
    height:245px!important;
    min-height:245px!important;
  }
  .edition-image-wrap>img:first-child{
    max-height:230px!important;
    max-width:180px!important;
  }
  .option-row{
    grid-template-columns:1fr!important;
  }
}


/* 2026-10-01 align edition card content */
.edition-label{
  min-height:15px!important;
}
.edition-card h3{
  min-height:84px!important;
  display:flex!important;
  align-items:flex-start!important;
}
.edition-description{
  min-height:82px!important;
}
.edition-features{
  min-height:150px!important;
  align-content:start!important;
}
@media(max-width:1120px){
  .edition-card h3{
    min-height:78px!important;
  }
  .edition-description{
    min-height:96px!important;
  }
  .edition-features{
    min-height:166px!important;
  }
}
@media(max-width:860px){
  .edition-card h3,
  .edition-description,
  .edition-features{
    min-height:0!important;
  }
}


/* 2026-10-01 preorder launch messaging */
.preorder-date{
  display:inline-block;
  margin:4px 0 16px;
  padding:8px 13px 7px;
  color:#f4eee3;
  background:#a92f31;
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  transform:rotate(-1deg);
  box-shadow:0 5px 12px rgba(0,0,0,.18);
}


/* 2026-10-01 remove purchase hero frame */
.store-hero:after{
  display:none!important;
}
