/* Updated Selly presentation styles from templates/05-paper-and-ink.html. */

:root {
  --surface: var(--paper);
  --theme-accent: var(--rose);
  --font-title: 'Pinyon Script', cursive;
  --font-body: 'Cormorant Garamond', serif;
  --bg: #f4ece0;
  --paper: #fbf7ef;
  --ink: #762c19;
  --mute: #7d6a60;
  --line: #e2d4c2;
  --rose: #a62c37;
  --gold: #fcb315;
  --ph: #efe6d4;
}
html {
  background: #3b1e15;
}
body {
  font: 400 16px/1.45 var(--font-body);
  background: var(--bg) radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0/5px 5px;
}
.script {
  font-family: var(--font-title);
  font-weight: 400;
}
.caps {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
}
.page {
  background: var(--paper);
  margin: 14px;
  padding: 30px 18px 26px;
  box-shadow:
    0 1px 0 var(--line),
    0 10px 30px rgba(60, 40, 20, 0.08);
}
.masthead {
  text-align: center;
}
.masthead h1 {
  font: 400 76px/0.9 var(--font-title);
  margin: 0;
  color: var(--ink);
}
.masthead .caps {
  font-size: 15px;
  margin-top: 14px;
}
.masthead p {
  font-style: italic;
  color: var(--mute);
  margin: 6px 0 0;
}
.status {
  font-style: italic;
  font-size: 14px;
}
.status::before {
  content: '— ';
}
.status::after {
  content: ' —';
}
.tabs {
  position: sticky;
  top: var(--demo-h);
  z-index: 5;
  justify-content: center;
  gap: 18px;
  padding: 12px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.tab {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sec-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}
.sec-h .caps {
  font-size: 13px;
  white-space: nowrap;
}
.sec-h::after {
  content: '';
  flex: 1;
  border-bottom: 1px dotted var(--ink);
}
.sec-h .script {
  font-size: 42px;
  line-height: 1;
  order: 2;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 14px;
}
.item {
  text-align: center;
}
.item .pic {
  position: relative;
  width: 128px;
  margin: 0 auto 12px;
}
.item img,
.item .ph {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  cursor: zoom-in;
  box-shadow: 0 8px 16px rgba(60, 40, 20, 0.18);
}
.item .nm {
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.35;
}
.item .ds {
  font-style: italic;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.25;
  margin: 4px 0;
}
.sizes {
  font-style: italic;
  font-size: 15px;
}
.sizes div {
  white-space: nowrap;
}
.badge {
  position: absolute;
  right: -6px;
  top: 0;
  background: var(--gold);
  color: #2a1a14;
  font: 700 13px/1.2 var(--font-body);
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 6px rgba(60, 40, 20, 0.2);
}
.badge.out {
  background: var(--rose);
  color: #fff;
}
.item.out img {
  filter: grayscale(0.5) opacity(0.6);
}
.sign {
  text-align: center;
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.sign::after {
  content: '';
  display: block;
  width: 90px;
  margin: 6px auto 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 50%;
}
.small-print {
  text-align: center;
  font-style: italic;
  color: var(--mute);
  font-size: 14px;
  margin: 16px 0 0;
}
/* storefront */
.slip {
  border: 1.5px dashed var(--ink);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slip-h {
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pk-t {
  display: none;
}
.pk-n {
  font-size: 20px;
  font-weight: 600;
}
.pk-a {
  margin: 2px 0 4px;
  font-style: italic;
  color: var(--mute);
}
.pk-m,
.beyond a {
  color: var(--rose);
  font-style: italic;
}
.date {
  width: 56px;
  padding: 8px 0;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
}
.date small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.date b {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.date em {
  font-size: 13px;
  color: var(--mute);
}
.date.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.date.on em {
  color: #f3d9cf;
}
.date:disabled {
  opacity: 0.35;
}
.slot {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 16px;
}
.slot small {
  font-style: italic;
  color: var(--mute);
  font-size: 13px;
}
.slot.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.slot.on small {
  color: #f3d9cf;
}
.slot:disabled {
  opacity: 0.35;
}
.hint,
.beyond {
  margin: 0;
  font-style: italic;
  color: var(--mute);
}
.rowi {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
  cursor: pointer;
}
.rowi:last-child {
  border-bottom: 0;
}
.rowi .pic {
  position: relative;
}
.rowi img,
.rowi .ph {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(60, 40, 20, 0.16);
}
.rowi .nm {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
}
.rowi .ds {
  font-style: italic;
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.25;
  margin: 2px 0 6px;
}
.rowi .sizes {
  display: flex;
  gap: 4px 14px;
  flex-wrap: wrap;
  font-size: 15px;
  font-style: normal;
}
.rowi .sizes div:not(:last-child)::after {
  content: ' |';
  color: var(--line);
  margin-left: 10px;
}
.rowi .badge {
  right: auto;
  left: -4px;
}
.rowi.out {
  cursor: default;
}
.rowi.out img {
  filter: grayscale(0.5) opacity(0.6);
}
.add {
  margin-top: 8px;
  border: 0;
  background: none;
  padding: 0;
  font: italic 500 16px var(--font-body);
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.add:not(.is-out):not(.has)::after {
  content: ' +';
}
.add.has {
  color: var(--ink);
}
.add.is-out {
  color: var(--mute);
  text-decoration: none;
  display: inline-block;
}
.foot {
  text-align: center;
  padding: 10px 16px 30px;
  color: var(--mute);
  font-style: italic;
}
html .foot {
  background: transparent;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 10px 0;
}
.soc {
  display: flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
  font-style: normal;
}
.made a {
  color: var(--ink);
}
/* sheet */
#sheet,
#checkout {
  --sheet-bg: var(--paper);
  border-radius: 4px 4px 0 0;
}
.car {
  padding: 26px 0 0;
}
.car-img {
  width: 220px;
  flex-basis: 100%;
  height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 12px 26px rgba(60, 40, 20, 0.2);
}
.car-n {
  text-align: center;
  font-style: italic;
  color: var(--mute);
  margin: 10px 0 0;
}
.sh-in {
  padding: 18px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.sh-t {
  font: 400 46px/1 var(--font-title);
  margin: 0;
}
.sh-d {
  font-style: italic;
  color: var(--mute);
  margin: -8px 0 0;
}
.og {
  text-align: left;
}
.og legend {
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.req,
.opt-l {
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--mute);
}
.opt {
  border-bottom: 1px dotted var(--line);
  padding: 10px 2px;
  font-size: 17px;
}
.opt input {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
}
.opt:has(input:checked) .o-n {
  font-weight: 600;
}
.o-n small {
  font-style: italic;
  color: var(--mute);
  font-size: 14px;
}
.o-p {
  font-style: italic;
}
.sh-foot {
  background: var(--paper);
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
}
.qty {
  border: 1px solid var(--ink);
  border-radius: 99px;
}
.qty button {
  border: 0;
  background: none;
  width: 38px;
  height: 44px;
  font-size: 20px;
}
.qty.sm button {
  height: 32px;
  width: 30px;
}
.add-cart {
  background: var(--ink);
  color: var(--paper);
  border-radius: 99px;
  padding: 14px;
  font: 500 15px var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#cartbar {
  background: var(--ink);
  color: var(--paper);
  border-radius: 99px;
  padding: 14px 20px;
  font: 500 16px var(--font-body);
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.co .sh-in {
  text-align: left;
}
.line {
  border-bottom: 1px dotted var(--line);
  padding-bottom: 12px;
  font-size: 17px;
}
.line small {
  font-style: italic;
  color: var(--mute);
  font-size: 14.5px;
}
.co-sum {
  font-size: 18px;
}
.co input:not([type]),
.co textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  background: none;
  font-size: 17px;
}
.warn {
  margin: 0;
  font-style: italic;
  border: 1px dashed var(--rose);
  padding: 8px 12px;
  color: var(--rose);
}
