/* Updated Selly presentation styles from templates/03-doodle-diary.html. */

:root {
  --surface: var(--card);
  --theme-accent: var(--plum);
  --font-title: 'Playpen Sans', cursive;
  --font-body: 'Quicksand', sans-serif;
  --bg: #fdeeee;
  --card: #fff;
  --ink: #4a2531;
  --mute: #8a6a73;
  --line: #f3d3d6;
  --plum: #7a4456;
  --pink: #f8b6ba;
  --lav: #c0a9b3;
  --sheet-bg: #fdf3f3;
}
body {
  font: 500 15px/1.5 var(--font-body);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg);
}
.logo {
  font: 700 22px/1 var(--font-title);
  color: var(--plum);
  white-space: nowrap;
}
.logo i {
  font-style: normal;
  color: var(--pink);
  -webkit-text-stroke: 1.5px var(--plum);
}
.status {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  background: #fff;
  color: var(--plum);
  white-space: nowrap;
  border: 2px solid var(--line);
}
.status::before {
  content: '● ';
  color: #5ea16a;
}
.status.is-closed::before {
  color: #c0525f;
}
.hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}
.hero img,
.hero .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 238, 238, 0.94) 34%, rgba(253, 238, 238, 0.25));
}
.hero-t {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 34px 20px 0;
}
.hero-t h1 {
  font: 600 38px/1.02 var(--font-title);
  margin: 0;
  color: var(--plum);
}
.hero-t .cta {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
}
.pill {
  display: inline-block;
  border-radius: 99px;
  padding: 10px 20px;
  font: 700 14px var(--font-body);
  text-decoration: none;
  border: 0;
}
.pill.dark {
  background: var(--plum);
  color: #fff;
}
.pill.ghost {
  border: 2px solid var(--plum);
  color: var(--plum);
  background: rgba(255, 255, 255, 0.6);
}
.menu-h {
  text-align: center;
  padding: 22px 20px 6px;
}
.menu-h small {
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--mute);
}
.menu-h h2 {
  font: 600 30px/1.08 var(--font-title);
  margin: 6px 0 0;
  color: var(--plum);
}
.tabs {
  position: sticky;
  top: var(--demo-h);
  z-index: 5;
  background: var(--bg);
  padding: 14px 16px;
}
.tab {
  flex: 0 0 auto;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 99px;
  background: #fff;
  border: 2px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  color: var(--plum);
}
.tab:hover {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
}
.sec-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 18px 12px;
  font: 600 20px var(--font-title);
  color: var(--plum);
}
.sec-h .lim {
  font: 700 10.5px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pink);
  color: var(--plum);
  padding: 3px 9px;
  border-radius: 99px;
}
.card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border-radius: 24px;
  padding: 16px;
  margin: 0 16px 14px;
  box-shadow: 0 3px 0 var(--line);
}
.card h3 {
  font: 600 17px/1.2 var(--font-title);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--plum);
}
.card p {
  margin: 4px 0 8px;
  color: var(--mute);
  font-weight: 600;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .pr {
  font-weight: 700;
}
.card img,
.card .ph {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 20px;
  cursor: zoom-in;
  transform: rotate(2deg);
}
.badge {
  position: absolute;
  right: 12px;
  top: -9px;
  background: var(--pink);
  color: var(--plum);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  border: 2px solid #fff;
}
.badge.out {
  background: var(--lav);
  color: #fff;
}
.card.out {
  opacity: 0.6;
}
.card .add {
  position: absolute;
  right: 14px;
  bottom: -12px;
}
body[data-mode='store'] .card {
  margin-bottom: 24px;
  cursor: pointer;
}
.add {
  border: 0;
  background: var(--plum);
  color: #fff;
  border-radius: 99px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 0 #4a2531;
}
.add:not(.is-out):not(.has)::before {
  content: '+ ';
}
.add.has {
  background: var(--pink);
  color: var(--plum);
}
.add.is-out {
  background: #efe5e8;
  color: var(--mute);
  box-shadow: none;
}
/* order card */
.order {
  background: #fff;
  border: 2.5px dashed var(--pink);
  border-radius: 28px;
  margin: 18px 16px 4px;
  padding: 18px;
}
.order h2 {
  font: 600 24px/1 var(--font-title);
  margin: 0 0 12px;
  color: var(--plum);
}
.pk-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.pk-n {
  display: block;
  font-size: 16px;
  margin-top: 4px;
}
.pk-a {
  margin: 2px 0 6px;
  color: var(--mute);
  font-size: 13px;
}
.pk-m,
.beyond a {
  color: var(--plum);
  font-weight: 700;
}
.lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 16px 0 8px;
}
.date {
  width: 60px;
  padding: 8px 0;
  border-radius: 20px;
  border: 2px solid var(--line);
  background: var(--bg);
}
.date small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.date b {
  font: 600 24px/1.05 var(--font-title);
}
.date em {
  font-size: 11px;
  color: var(--mute);
}
.date.on {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.date.on em {
  color: var(--pink);
}
.date:disabled {
  opacity: 0.4;
}
.slot {
  border: 2px solid var(--line);
  background: var(--bg);
  border-radius: 16px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
}
.slot small {
  font-weight: 600;
  color: var(--mute);
  font-size: 11px;
}
.slot.on {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.slot.on small {
  color: var(--pink);
}
.slot:disabled {
  opacity: 0.4;
}
.hint,
.beyond {
  margin: 10px 0 0;
  color: var(--mute);
  font-size: 13px;
}
.foot {
  text-align: center;
  padding: 34px 16px 24px;
  color: var(--mute);
  font-size: 13px;
}
.foot .big {
  font: 600 26px var(--font-title);
  color: var(--plum);
  margin: 0 0 12px;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.soc {
  display: flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 99px;
  padding: 7px 14px;
  color: var(--plum);
  font-weight: 700;
  font-size: 13px;
}
.made a {
  color: var(--plum);
  font-weight: 700;
}
/* sheet */
#sheet,
#checkout {
  border-radius: 30px 30px 0 0;
}
.car {
  margin: 18px 18px 0;
  border-radius: 24px;
  background: #fff;
}
.car-img {
  aspect-ratio: 4/3;
  border-radius: 24px;
}
.sh-in {
  padding: 16px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sh-t {
  font: 600 30px/1.05 var(--font-title);
  margin: 0;
  color: var(--plum);
}
.sh-d {
  margin: -8px 0 0;
  color: var(--mute);
  font-size: 15px;
}
.og legend {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.req,
.opt-l {
  letter-spacing: 0.06em;
  font-size: 11px;
}
.req {
  color: #b04a5c;
}
.opt {
  position: relative;
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 15px;
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt .o-n small {
  font-weight: 600;
  color: var(--mute);
  font-size: 13px;
}
.opt .tag {
  align-self: flex-start;
  margin: 3px 0 1px;
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pink);
  color: var(--plum);
  padding: 2px 8px;
  border-radius: 99px;
  vertical-align: 2px;
}
.opt:has(input:checked) {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.opt:has(input:checked) small {
  color: var(--pink);
}
.opt:has(input:focus-visible) {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}
.og:has(.opt:nth-of-type(3)):not(:has(small)) {
  flex-direction: row;
  flex-wrap: wrap;
}
.sh-foot {
  background: var(--sheet-bg);
  padding: 12px 18px 18px;
}
.qty {
  background: #fff;
  border-radius: 99px;
  border: 2px solid var(--line);
}
.qty button {
  border: 0;
  background: none;
  width: 40px;
  height: 44px;
  font-size: 20px;
  font-weight: 700;
  color: var(--plum);
}
.qty.sm button {
  height: 32px;
  width: 30px;
}
.add-cart {
  background: var(--plum);
  color: #fff;
  border-radius: 99px;
  padding: 15px;
  font-weight: 700;
}
#cartbar {
  background: var(--plum);
  color: #fff;
  border-radius: 99px;
  padding: 15px 20px;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(74, 37, 49, 0.25);
}
.line {
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
}
.line small {
  color: var(--mute);
  font-weight: 600;
}
.co-when {
  font-weight: 700;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  color: var(--plum);
}
.co-sum {
  font-size: 16px;
  font-weight: 700;
}
.co input:not([type]),
.co textarea {
  border: 2px solid var(--line);
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  font-weight: 600;
}
.warn {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
}

/* Product details sit on the page's pink, not plain white. */
dialog.product-dialog {
  --surface: var(--bg);
}
