/* Updated Selly presentation styles from templates/06-slow-morning.html. */

:root {
  --surface: var(--bg);
  --theme-accent: var(--accent);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --bg: #fff;
  --ink: #2f3b3c;
  --mute: #667577;
  --line: #e2eced;
  --accent: #007190;
  --tint: #bce4e5;
  --sun: #fdbf68;
  --ecru: #c2ae93;
  --ph: #bce4e5;
}
body {
  font: 400 15px/1.5 var(--font-body);
}
button {
  text-transform: inherit;
}
input,
textarea,
.pr,
.o-p,
.cb-t,
.add-cart span,
.co-sum b,
.line small:last-child {
  text-transform: none;
}
.top {
  padding: 26px 18px 18px;
  background: linear-gradient(180deg, var(--tint), #fff);
}
.top .hi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.top .hi::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(253, 191, 104, 0.35);
}
.top h1 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.05;
  margin: 12px 0 6px;
  letter-spacing: -0.01em;
}
.top p {
  margin: 0;
  color: var(--mute);
}
.status {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  background: #fff;
  border-radius: 99px;
  padding: 4px 12px;
  color: var(--accent);
  font-weight: 500;
}
.status.is-closed {
  color: #b0473e;
}
.tabs {
  position: sticky;
  top: var(--demo-h);
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--line);
  gap: 0;
  padding: 0 6px;
}
.tab {
  text-decoration: none;
  padding: 14px 12px 12px;
  font-size: 15px;
  color: var(--mute);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tab:first-child {
  color: var(--accent);
  border-color: var(--accent);
}
.sec-h {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 20px;
  margin: 26px 16px 12px;
}
/* catalogue tiles */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  padding: 0 16px;
}
.tile .pic {
  position: relative;
  background: var(--tint);
  border-radius: 22px;
  overflow: hidden;
}
.tile img,
.tile .ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: zoom-in;
}
.tile .nm {
  font-weight: 500;
  font-size: 15.5px;
  margin-top: 8px;
  line-height: 1.25;
}
.tile .ds {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.35;
  margin-top: 2px;
}
.tile .pr {
  font-size: 13.5px;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 500;
}
.tile.out img {
  filter: grayscale(1) opacity(0.5);
}
/* store rows */
.row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 0 16px 16px;
}
.row .pic {
  position: relative;
  width: 88px;
  height: 88px;
  background: var(--tint);
  border-radius: 18px;
  overflow: hidden;
}
.row img,
.row .ph {
  width: 88px;
  height: 88px;
  object-fit: cover;
}
.row .nm {
  font-weight: 500;
  font-size: 16px;
}
.row .ds {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.35;
  margin-top: 2px;
}
.row .pr {
  font-size: 13.5px;
  margin-top: 4px;
  color: var(--accent);
  font-weight: 500;
}
.row.out .nm,
.row.out .pr {
  color: var(--mute);
}
.row.out img {
  filter: grayscale(1) opacity(0.5);
}
body[data-mode='store'] .row {
  cursor: pointer;
}
.badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--sun);
  color: #4a3200;
  font-size: 11px;
  font-weight: 500;
  border-radius: 99px;
  padding: 2px 9px;
}
.badge.out {
  background: #fff;
  color: var(--mute);
}
.add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0;
  display: grid;
  place-items: center;
  padding: 0;
}
.add::before {
  content: '+';
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
}
.add.has {
  font-size: 12px;
  width: auto;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--sun);
  color: #4a3200;
}
.add.has::before {
  content: none;
}
.add.is-out {
  background: none;
  color: var(--mute);
  font-size: 12px;
  width: auto;
}
.add.is-out::before {
  content: none;
}
/* store: pickup + when */
.where {
  padding: 4px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: #fff;
}
.pk-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mute);
}
.pk-n {
  display: block;
  font-weight: 500;
  font-size: 17px;
  margin-top: 4px;
}
.pk-a {
  margin: 2px 0 6px;
  font-size: 13px;
  color: var(--mute);
}
.pk-m,
.beyond a {
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 500;
}
.lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 10px;
}
.date {
  width: 58px;
  padding: 9px 0;
  border: 0;
  background: #f4f9f9;
  border-radius: 16px;
  gap: 0;
}
.date small {
  font-size: 12px;
  color: var(--mute);
}
.date b {
  font-weight: 500;
  font-size: 22px;
}
.date em {
  font-size: 12px;
  color: var(--mute);
}
.date.on {
  background: var(--accent);
  color: #fff;
}
.date.on small,
.date.on em {
  color: var(--tint);
}
.date:disabled {
  opacity: 0.35;
}
.slot {
  border: 1px solid var(--line);
  background: none;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 13.5px;
  flex-direction: row;
  gap: 6px;
  align-items: baseline;
}
.slot small {
  color: var(--mute);
  font-size: 11.5px;
}
.slot.on {
  border-color: var(--accent);
  background: var(--tint);
}
.slot:disabled {
  opacity: 0.35;
}
.hint,
.beyond {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
}
.foot {
  text-align: center;
  padding: 36px 16px 26px;
  font-size: 13px;
  color: var(--mute);
}
.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
}
.soc {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.made a {
  color: var(--accent);
}
/* sheet */
#sheet,
#checkout {
  border-radius: 24px 24px 0 0;
}
.car {
  background: var(--tint);
}
.car-img {
  aspect-ratio: 4/3;
}
.sh-in {
  padding: 20px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sh-t {
  font-weight: 500;
  font-size: 24px;
  margin: 0;
}
.sh-d {
  margin: -16px 0 0;
  color: var(--mute);
  font-size: 14px;
}
.og {
  gap: 0;
}
.og legend {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
}
.req,
.opt-l {
  font-size: 12px;
  color: var(--mute);
  font-weight: 400;
}
.opt {
  padding: 9px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.opt:last-child {
  border-bottom: 0;
}
.opt input {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #c9d6d7;
  margin: 0 6px 0 0;
  display: grid;
  place-items: center;
}
.opt input:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.opt input:checked::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.opt input[type='checkbox'] {
  border-radius: 6px;
}
.o-n small {
  font-size: 12.5px;
  color: var(--mute);
}
.o-p {
  font-size: 15px;
  color: var(--mute);
}
.sh-foot {
  background: #fff;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}
.qty {
  gap: 4px;
}
.qty button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  font-size: 18px;
}
.qty.sm button {
  width: 30px;
  height: 30px;
}
.add-cart {
  background: var(--accent);
  color: #fff;
  padding: 15px;
  font-size: 16px;
  border-radius: 99px;
  font-weight: 500;
}
#cartbar {
  background: var(--accent);
  color: #fff;
  padding: 15px 20px;
  font-size: 15px;
  border-radius: 99px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(0, 113, 144, 0.3);
}
.line {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.line small {
  font-size: 12.5px;
  color: var(--mute);
}
.co-when {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.co-sum {
  font-size: 16px;
}
.co input:not([type]),
.co textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  background: none;
  margin-top: 6px;
}
.warn {
  margin: 0;
  font-size: 13px;
  color: #4a3200;
  background: #fff1da;
  padding: 10px 12px;
  border-radius: 12px;
}

/* Prices keep "Rp" capitalised in product details, like on the cards. */
dialog.product-dialog .detail-price,
dialog.product-dialog .detail-list b {
  text-transform: none;
}
