/* Connected storefront controls. The chosen Studio palette stays authoritative. */
.live-store {
  --ink: #58232e;
  --red: #a72e43;
  --line: #e6cbd0;
}
.live-store .store-header nav button {
  padding: 0;
  font-size: inherit;
}
.live-store .footer button {
  display: block;
  padding: 4px 0;
  text-decoration: underline;
  font-size: 10px;
}
.live-store form label,
.admin-page form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  margin-block: 10px;
}
.live-store input,
.live-store textarea,
.live-store select,
.admin-page input,
.admin-page textarea,
.admin-page select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c9adb4;
  background: #fffcf8;
  color: #432730;
  font: inherit;
  border-radius: 3px;
  min-height: 44px;
}
.live-store textarea,
.admin-page textarea {
  resize: vertical;
  min-height: 95px;
}
.live-store button:disabled,
.admin-page button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.live-store .check,
.admin-page .check {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.live-store .check input,
.admin-page .check input {
  width: 20px;
  min-height: 20px;
  flex-shrink: 0;
}
.loading-state {
  padding: 65px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state {
  text-align: center;
  padding: 55px 25px;
  border: 1px solid var(--line);
  background: #fdf3f2;
}
.empty-state > span {
  font: 60px var(--latin);
  color: var(--red);
}
.empty-state h3 {
  font-size: 25px;
  font-weight: 500;
  margin-block: 15px;
}
.empty-state p {
  margin: 15px auto 25px;
  max-width: 480px;
  line-height: 2;
}
.small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}
.notice {
  padding: 15px;
  background: #fff1ce;
  border: 1px solid #e6cb82;
  color: #674c19;
  font-size: 12px;
  margin-block: 15px;
}
.live-catalog-tools {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: end;
  gap: 15px;
  margin-bottom: 30px;
}
.live-catalog-tools label {
  margin: 0 !important;
}
.live-catalog-tools .button {
  height: 45px;
  padding-inline: 25px;
}
.product-price {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px !important;
  color: var(--ink) !important;
  margin-top: 10px;
}
.product-price del {
  font-size: 11px;
  color: var(--muted);
}
.discount-label {
  font-size: 10px;
  color: var(--red);
}
.add-button {
  margin-top: 16px;
  width: 100%;
  font-size: 12px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding-top: 30px;
  font-size: 12px;
}
.pagination button {
  border: 1px solid var(--line);
  padding: 8px 16px;
  min-height: 40px;
}
.category-page-heading {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}
.category-page-heading > .category-glyph {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
}
.category-page-heading h1 {
  font-size: 43px;
  margin: 12px 0;
}
.subcategory-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.subcategory-links a {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 18px;
}
.live-categories {
  background: #fffaf7;
  border-bottom: 1px solid var(--line);
}
.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 25px;
}
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 25px;
  border: 1px solid #e7d0d2;
  border-radius: 120px 120px 12px 12px;
  background: #f6dee4;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  perspective: 700px;
}
.category-tile:nth-child(2n) {
  background: #eee5d7;
}
.category-tile:nth-child(3n) {
  background: #eadff0;
}
.category-orbit {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7ed85, #fff7ed00 70%);
  transform-style: preserve-3d;
}
.category-glyph {
  width: 220px;
  height: 220px;
  overflow: visible;
  filter: drop-shadow(0 7px 5px #85384a20);
}
.category-tile h3 {
  font-size: 21px;
  font-weight: 500;
  margin: 20px 0 8px;
  text-align: center;
}
.category-tile > span:last-child {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
}
.category-tile > span:last-child svg {
  width: 18px;
}
.product-detail > a {
  display: inline-block;
  margin-bottom: 25px;
  font-size: 12px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: start;
}
.detail-image {
  background: #f5e4e7;
}
.detail-image img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}
.product-detail h1 {
  font-size: 42px;
  margin: 15px 0;
}
.detail-price {
  font-size: 25px;
  margin-bottom: 25px;
}
.detail-price del {
  font-size: 15px;
  opacity: 0.6;
}
.product-detail-grid > div:last-child > p {
  margin: 20px 0;
  line-height: 2.1;
}
.product-detail details {
  margin-block: 25px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.product-detail details > p {
  margin-top: 15px;
}
.reviews-section {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding-top: 40px;
}
.reviews-section > h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.review {
  padding: 20px;
  border: 1px solid var(--line);
  margin-block: 15px;
}
.review span {
  margin-inline-start: 20px;
  color: var(--red);
}
.review p {
  margin-top: 10px;
}
#review-form {
  max-width: 600px;
  margin-top: 30px;
}
#store-dialog {
  max-width: 740px;
  padding: 45px 35px 30px;
}
#modal-content > h2 {
  font-size: 27px;
  margin-bottom: 20px;
}
#modal-content > p {
  margin: 15px 0;
}
.account-tabs,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.account-tabs button,
.account-actions button,
.account-actions a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  min-height: 42px;
  font-size: 12px;
}
.account-tabs button[aria-pressed="true"] {
  background: var(--red);
  color: white;
}
#account-form {
  margin-top: 25px;
}
#auth-message {
  margin-top: 15px;
  line-height: 2;
}
.customer-order {
  border: 1px solid var(--line);
  padding: 20px;
  margin-block: 20px;
}
.customer-order > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.customer-order p,
.customer-order ul {
  margin-top: 12px;
  font-size: 12px;
}
.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr 80px 25px;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.cart-line > img {
  width: 60px;
  height: 75px;
  object-fit: cover;
}
.cart-line > div small,
.cart-line > div strong {
  display: block;
  margin-top: 7px;
  font-size: 11px;
}
.cart-line > div strong {
  color: var(--red);
}
.cart-line label {
  font-size: 10px !important;
}
.cart-line input {
  padding: 8px;
}
.cart-line > button {
  font-size: 24px;
}
.cart-total {
  font-weight: 600;
  margin: 25px 0 10px;
}
#checkout-quote {
  margin-block: 25px;
}
#checkout-quote dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px;
  background: #f6e4e7;
  gap: 10px;
}
#checkout-quote dd {
  text-align: left;
  margin: 0;
}
.journal h2 {
  font-size: 30px;
  margin: 12px 0 25px;
}
.journal details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.journal details p {
  white-space: normal;
  line-height: 2;
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  max-width: min(90vw, 650px);
  background: #542732;
  color: white;
  padding: 13px 24px;
  border-radius: 5px;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
  text-align: center;
  font-size: 12px;
}
#toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Owner dashboard: clear sections and dense, scrollable operational tables. */
.admin-page {
  background: #fcf8f5;
  --line: #e7d4d7;
  --red: #a72e43;
  --ink: #432730;
  --muted: #776168;
}
.admin-header {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: #f7dce1;
}
.admin-header img {
  border-radius: 50%;
}
.admin-header h1 {
  font-size: 23px;
}
.admin-header p {
  font-size: 11px;
  color: var(--muted);
}
.admin-header > a:last-child {
  margin-inline-start: auto;
  font-size: 12px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
.admin-sidebar {
  border-inline-end: 1px solid var(--line);
  padding: 35px 20px;
  min-height: 80vh;
}
.admin-sidebar .eyebrow {
  font-size: 9px;
  margin-bottom: 25px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.admin-sidebar button {
  text-align: right;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  min-height: 44px;
}
.admin-sidebar button[aria-current="page"] {
  background: var(--red);
  color: white;
}
.admin-sidebar > button {
  margin-top: 30px;
  border: 1px solid var(--line);
  width: 100%;
}
.admin-workspace {
  padding: 35px 4%;
  min-width: 0;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.admin-toolbar h2 {
  font-size: 28px;
  font-weight: 500;
}
.admin-toolbar > button {
  border: 1px solid var(--line);
  padding: 8px 15px;
}
#admin-message {
  margin-bottom: 15px;
  color: var(--red);
  font-size: 12px;
}
.admin-login {
  max-width: 500px;
  padding: 40px;
  margin: 55px auto;
  background: white;
  border: 1px solid var(--line);
}
.admin-login > h2 {
  font-size: 30px;
  margin: 12px 0;
}
.admin-login > p {
  font-size: 12px;
  margin: 15px 0;
}
.admin-form {
  max-width: 760px;
}
.admin-form > .button {
  margin-top: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-message {
  margin-top: 20px;
  color: var(--red);
  font-size: 12px;
}
.panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.panel-actions > button:not(.button) {
  padding: 10px 14px;
  border: 1px solid var(--line);
  min-height: 44px;
  font-size: 12px;
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  background: white;
  margin-block: 25px;
}
.table-scroll table {
  border-collapse: collapse;
  min-width: 600px;
  width: 100%;
  font-size: 12px;
  text-align: right;
}
.table-scroll th,
.table-scroll td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-scroll th {
  background: #f7e7e9;
  font-weight: 600;
  white-space: nowrap;
}
.table-scroll td small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
}
.table-scroll tbody tr:last-child td {
  border-bottom: 0;
}
.small-button,
.table-scroll button {
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  min-height: 36px;
  white-space: nowrap;
}
.admin-search {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
}
.admin-search label {
  min-width: 200px;
  flex: 1;
  margin: 0 !important;
}
.admin-search .button {
  min-height: 44px;
  padding-block: 10px;
}
.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 25px 0;
}
.finance-grid > div {
  padding: 20px;
  background: #f4e4e6;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.finance-grid span {
  font-size: 12px;
}
.finance-grid b {
  font-size: 24px;
  font-weight: 500;
}
.admin-page .notice {
  max-width: 800px;
}
#admin-dialog {
  max-width: 850px;
  width: 94%;
  padding: 45px 35px 30px;
}
#admin-dialog-title {
  font-size: 25px;
  margin-bottom: 22px;
}
.whatsapp-preview {
  font: 14px/2 var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f5e7e9;
  padding: 20px;
}
.secondary {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  margin-top: 25px;
}
@media (max-width: 800px) {
  .live-catalog-tools {
    grid-template-columns: 1fr 1fr;
  }
  .live-catalog-tools > label:first-child {
    grid-column: 1/-1;
  }
  .category-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .category-tile {
    padding: 25px 10px 20px;
  }
  .category-orbit {
    width: 155px;
    height: 155px;
  }
  .category-glyph {
    width: 155px;
    height: 155px;
  }
  .category-tile h3 {
    font-size: 17px;
  }
  .category-tile > span:last-child {
    font-size: 9px;
    gap: 5px;
  }
  .product-detail-grid {
    gap: 30px;
  }
  .product-detail h1 {
    font-size: 30px;
  }
  .admin-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .admin-sidebar {
    padding-inline: 12px;
  }
  .admin-sidebar button {
    font-size: 12px;
    padding-inline: 12px;
  }
  .finance-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .live-store .store-header nav {
    gap: 12px;
    font-size: 10px;
  }
  .live-store .store-header {
    gap: 12px;
  }
  .live-catalog-tools {
    gap: 12px;
  }
  .live-catalog-tools label {
    font-size: 10px !important;
  }
  .live-catalog-tools input,
  .live-catalog-tools select {
    font-size: 12px;
  }
  .live-catalog-tools .button {
    font-size: 11px;
  }
  .category-tiles {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .category-tile {
    border-radius: 70px 12px 12px 70px;
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 0 12px;
    align-items: center;
    padding: 15px;
    text-align: right;
  }
  .category-orbit {
    grid-row: 1/3;
    width: 128px;
    height: 142px;
  }
  .category-tile h3 {
    margin: 0;
    text-align: right;
    font-size: 19px;
  }
  .category-tile > span:last-child {
    font-size: 11px;
    align-self: start;
  }
  .category-glyph {
    width: 142px;
    height: 142px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-image img {
    max-height: 450px;
  }
  .product-detail h1 {
    font-size: 33px;
  }
  .product-detail .button {
    width: 100%;
  }
  .category-page-heading h1 {
    font-size: 32px;
  }
  .category-page-heading > .category-glyph {
    width: 85px;
    height: 85px;
  }
  #store-dialog {
    padding: 45px 20px 25px;
    width: 94%;
    max-height: 90dvh;
  }
  #modal-content > h2 {
    font-size: 24px;
  }
  .cart-line {
    grid-template-columns: 45px 1fr 62px 20px;
    gap: 10px;
  }
  .cart-line > img {
    width: 45px;
    height: 60px;
  }
  .cart-line > div {
    font-size: 11px;
  }
  .cart-line input {
    padding: 6px;
  }
  .account-tabs button {
    font-size: 11px;
    padding-inline: 10px;
  }
  .customer-order > div small {
    font-size: 9px;
  }
  .live-store .footer > div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .live-store .footer button {
    display: inline-block;
  }
  .admin-header {
    padding: 15px 5%;
    gap: 12px;
  }
  .admin-header img {
    width: 52px;
    height: 52px;
  }
  .admin-header h1 {
    font-size: 18px;
  }
  .admin-header > a:last-child {
    font-size: 10px;
  }
  .admin-layout {
    display: block;
  }
  .admin-sidebar {
    min-height: 0;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 4%;
  }
  .admin-sidebar > .eyebrow {
    display: none;
  }
  .admin-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 7px;
  }
  .admin-sidebar nav button {
    white-space: nowrap;
    border: 1px solid var(--line);
    font-size: 11px;
    padding: 8px 13px;
    min-height: 40px;
  }
  .admin-sidebar > button {
    width: auto;
    margin: 5px 0 0;
    padding: 7px 14px;
    font-size: 10px;
    min-height: 35px;
  }
  .admin-workspace {
    padding: 25px 4%;
  }
  .admin-login {
    margin: 30px 5%;
    padding: 30px 22px;
  }
  .admin-toolbar h2 {
    font-size: 25px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel-actions {
    gap: 10px;
  }
  .panel-actions .button {
    font-size: 12px;
    padding: 10px 16px;
  }
  .panel-actions > button:not(.button) {
    font-size: 10px;
    padding-inline: 10px;
  }
  .finance-grid {
    gap: 10px;
  }
  .finance-grid > div {
    padding: 15px;
  }
  .finance-grid b {
    font-size: 19px;
  }
  .finance-grid span {
    font-size: 10px;
  }
  .pagination {
    gap: 12px;
    font-size: 10px;
  }
  .pagination button {
    font-size: 10px;
    padding-inline: 12px;
  }
  #admin-dialog {
    padding: 45px 20px 25px;
  }
  .admin-search label {
    min-width: 150px;
  }
}
/* Product sculptures: each physical part has its own movement and timing. */
.category-tile {
  position: relative;
  overflow: hidden;
}
.category-tile:hover,
.category-tile:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px #8c325419;
}
.category-glyph {
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.category-tile:hover .category-glyph,
.category-tile:focus-visible .category-glyph {
  transform: scale(1.07) rotate(-3deg);
}
.category-glyph [class^="sculpture-"],
.category-glyph [class^="twinkle-"] {
  transform-box: fill-box;
  transform-origin: center;
}
.sculpture-float {
  animation: sculpture-drift 6s ease-in-out infinite;
}
.sculpture-hand .sculpture-float {
  animation-delay: -2s;
}
.sculpture-gift .sculpture-float {
  animation-delay: -4s;
}
.sculpture-cap {
  animation: cap-dance 6s ease-in-out infinite;
}
.sculpture-balm {
  animation: balm-rise 6s ease-in-out infinite;
}
.sculpture-pump {
  animation: pump-press 5s ease-in-out infinite;
}
.sculpture-lid {
  animation: cream-reveal 5s ease-in-out infinite;
}
.sculpture-companion {
  animation: companion-drift 6s ease-in-out infinite;
}
.sculpture-gift-lid {
  animation: gift-open 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.sculpture-gift-products {
  animation: gift-reveal 6s ease-in-out infinite;
}
.sculpture-dropper {
  animation: dropper-lift 5s ease-in-out infinite;
}
.sculpture-drop {
  animation: serum-drop 5s ease-in infinite;
}
.sculpture-mirror {
  animation: mirror-tilt 6s ease-in-out infinite;
}
.sculpture-halo {
  transform-origin: 120px 120px;
  animation: halo-turn 26s linear infinite;
}
.sculpture-shadow {
  animation: shadow-breathe 6s ease-in-out infinite;
}
.twinkle-one,
.twinkle-two,
.twinkle-three {
  animation: beauty-twinkle 3.6s ease-in-out infinite;
}
.twinkle-two {
  animation-delay: -1.2s;
}
.twinkle-three {
  animation-delay: -2.4s;
}
@keyframes sculpture-drift {
  0%,
  100% {
    transform: translateY(2px) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}
@keyframes cap-dance {
  0%,
  100% {
    transform: translate(0, 6px) rotate(-3deg);
  }
  50% {
    transform: translate(9px, -19px) rotate(12deg);
  }
}
@keyframes balm-rise {
  0%,
  100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes pump-press {
  0%,
  40%,
  100% {
    transform: translateY(0);
  }
  50%,
  60% {
    transform: translateY(7px);
  }
  75% {
    transform: translateY(-3px);
  }
}
@keyframes cream-reveal {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  45%,
  65% {
    transform: translate(3px, -15px) rotate(8deg);
  }
}
@keyframes companion-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-6px) rotate(-5deg);
  }
}
@keyframes gift-open {
  0%,
  10%,
  100% {
    transform: translateY(0) rotate(0);
  }
  45%,
  65% {
    transform: translate(2px, -42px) rotate(-7deg);
  }
}
@keyframes gift-reveal {
  0%,
  10%,
  100% {
    transform: translateY(20px);
  }
  45%,
  65% {
    transform: translateY(-7px);
  }
}
@keyframes dropper-lift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  40%,
  65% {
    transform: translateY(-18px) rotate(5deg);
  }
}
@keyframes serum-drop {
  0%,
  25%,
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.5);
  }
  45% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  65% {
    opacity: 0;
    transform: translateY(36px) scale(0.7);
  }
}
@keyframes mirror-tilt {
  0%,
  100% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(-8px) scaleY(0.88);
  }
}
@keyframes halo-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shadow-breathe {
  0%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(0.8);
  }
}
@keyframes beauty-twinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.65) rotate(-15deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
  }
}

/* The entire banner is a delivery-details button. Repeated text is decorative. */
.delivery-strip {
  display: flex;
  width: 100%;
  background: #9c2d49;
  color: #fff7ee;
  min-height: 38px;
  overflow: hidden;
}
.delivery-strip[hidden] {
  display: none;
}
.delivery-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.1px;
}
.delivery-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: delivery-scroll 32s linear infinite;
}
.delivery-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-inline: 22px;
  flex-shrink: 0;
}
.delivery-group span {
  white-space: nowrap;
  direction: rtl;
}
.delivery-group i {
  font-style: normal;
  font-size: 15px;
  color: #f5c4cc;
}
.delivery-pause {
  width: 44px;
  flex-shrink: 0;
  border-inline-start: 1px solid #ffffff30;
  font-size: 15px;
}
.delivery-strip:hover .delivery-track,
.delivery-strip:focus-within .delivery-track,
.delivery-strip.is-paused .delivery-track {
  animation-play-state: paused;
}
@keyframes delivery-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Colorful, illustrated account and checkout dialogs. */
#store-dialog:has(.flow-shell) {
  width: min(970px, calc(100vw - 32px));
  max-width: 970px;
  padding: 0;
  background: #fffaf5;
  border: 1px solid #edcbd2;
  border-radius: 24px;
  overflow-x: hidden;
}
#store-dialog:has(.flow-shell)::backdrop {
  background: #46243285;
  backdrop-filter: blur(8px);
}
#store-dialog:has(.flow-shell) .dialog-close {
  z-index: 3;
  background: #fff7f0df;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  top: 15px;
  right: 15px;
  box-shadow: 0 3px 15px #54273214;
}
.flow-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 570px;
  animation: flow-arrive 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.flow-art {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f0b2c3, #f6d7d9 60%, #ebbdcf);
  padding: 30px 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
}
.flow-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #ffede8;
  box-shadow: 0 7px 20px #8b294a20;
}
.flow-art-copy {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}
.flow-art .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: #853951;
}
.flow-art h3 {
  font-size: 36px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 10px 0;
  color: #74273d;
}
.flow-art p {
  font-size: 11px;
  line-height: 2;
  max-width: 230px;
  color: #85445a;
}
.flow-sculpture {
  align-self: center;
  margin-top: 8px;
}
.flow-sculpture .category-glyph {
  width: 230px;
  height: 230px;
  filter: drop-shadow(0 10px 10px #9c43631f);
}
.flow-seal {
  font-family: var(--serif);
  font-style: italic;
  align-self: center;
  font-size: 14px;
  color: #8d3c57;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.flow-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: #fff1dd60;
  filter: blur(2px);
  animation: flow-orbit 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.flow-orb-one {
  width: 240px;
  height: 240px;
  left: -100px;
  top: 70px;
}
.flow-orb-two {
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: 90px;
  background: #bb7baa30;
  animation-delay: -5s;
}
.flow-panel {
  padding: 54px 38px 30px;
  min-width: 0;
}
.flow-panel > .eyebrow {
  font-size: 9px;
  color: #ac6379;
  letter-spacing: 2px;
}
.flow-panel h2 {
  font-size: 34px;
  font-weight: 600;
  color: #70293e;
  margin: 8px 0;
}
.flow-intro {
  font-size: 12px;
  color: #94717b;
  line-height: 1.9;
}
.flow-panel .account-tabs {
  background: #f4e4e6;
  border-radius: 12px;
  padding: 5px;
  gap: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 23px 0;
}
.flow-panel .account-tabs button {
  border: 0;
  padding: 8px;
  font-size: 12px;
  border-radius: 8px;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.flow-panel .account-tabs button:last-child {
  grid-column: 1/-1;
  min-height: 30px;
  font-size: 10px;
  color: #956372;
  padding: 3px;
}
.flow-panel .account-tabs button[aria-pressed="true"] {
  background: #fffaf5;
  color: #85364e;
  box-shadow: 0 3px 12px #9d466e1a;
}
.flow-panel form label {
  font-size: 12px;
  font-weight: 500;
  margin: 17px 0;
  gap: 8px;
}
.flow-panel form label > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.field-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #f1d4df;
  color: #953852;
  border-radius: 8px;
  font: 13px var(--latin);
}
.flow-panel input,
.flow-panel select,
.flow-panel textarea {
  background: #fffdf9;
  border: 1px solid #e0c7cd;
  border-radius: 11px;
  padding: 13px 15px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-size: 13px;
  min-height: 48px;
}
.flow-panel input::placeholder,
.flow-panel textarea::placeholder {
  color: #b797a1;
  font-size: 11px;
}
.flow-panel input:focus,
.flow-panel select:focus,
.flow-panel textarea:focus {
  outline: 0;
  border-color: #b34f74;
  box-shadow: 0 0 0 4px #db9eb72e;
}
.flow-panel label small {
  color: #987681;
  font-size: 10px;
  font-weight: 400;
}
.flow-submit {
  width: 100%;
  min-height: 49px;
  border-radius: 12px;
  background: linear-gradient(110deg, #97334f, #bd5c79);
  color: #fff9f2;
  box-shadow: 0 7px 18px #aa456c29;
  font-weight: 500;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 12px;
}
.flow-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #aa456c40;
}
.flow-footnote {
  font-size: 10px;
  text-align: center;
  color: #ad8592;
  border-top: 1px solid #f0dfe2;
  padding-top: 20px;
  margin-top: 28px;
}
.flow-panel [hidden] {
  display: none !important;
}
.flow-panel #auth-message:empty {
  display: none;
}
.flow-panel #auth-message {
  padding: 12px 15px;
  border-radius: 10px;
  background: #f9e9ed;
  font-size: 12px;
  margin-top: 16px;
}
.checkout-progress {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 25px 0;
  justify-content: space-between;
  gap: 8px;
  color: #a78994;
  font-size: 10px;
  border-bottom: 1px solid #ead8dd;
  padding-bottom: 17px;
}
.checkout-progress li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.checkout-progress b {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  background: #f1e4e7;
  font: 11px var(--latin);
}
.checkout-progress li[aria-current] {
  color: #943a57;
}
.checkout-progress li[aria-current] b {
  background: #ac4b6a;
  color: white;
  box-shadow: 0 3px 9px #a72e4326;
}
.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.checkout-fields label {
  min-width: 0;
}
.checkout-extras,
.checkout-policies {
  border-block: 1px solid #ecdbdf;
  padding: 12px 0;
  font-size: 11px;
  color: #8b5569;
}
.checkout-extras summary,
.checkout-policies summary {
  cursor: pointer;
}
.checkout-policies {
  border: 0;
  padding-top: 0;
}
.checkout-policies h4 {
  margin: 15px 0 4px;
}
.checkout-policies p {
  line-height: 2;
  color: #8c717b;
}
.payment-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  margin-block: 18px;
  background: #eee8f1;
  border: 1px solid #e2d5e7;
  border-radius: 12px;
  color: #77527d;
}
.payment-note > span {
  font-size: 25px;
}
.payment-note b,
.payment-note small {
  display: block;
}
.payment-note b {
  font-size: 12px;
}
.payment-note small {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 4px;
}
.flow-panel .check {
  font-size: 10px;
  font-weight: 400;
  align-items: flex-start;
  line-height: 2;
}
.flow-panel .check input {
  padding: 0;
  min-height: 20px;
  border-radius: 4px;
  accent-color: #a34768;
}
.flow-panel #checkout-quote {
  margin-block: 15px;
}
.flow-panel #checkout-quote dl {
  border-radius: 14px;
  background: linear-gradient(120deg, #f3dde5, #f9ecdf);
  font-size: 12px;
  gap: 13px;
}
.checkout-flow .flow-art {
  background: linear-gradient(145deg, #dfc9e7, #f4d6dc 60%, #eed1c3);
}
@keyframes flow-arrive {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes flow-orbit {
  to {
    transform: translate(25px, -30px) scale(1.15);
  }
}
@media (max-width: 800px) {
  .flow-shell {
    grid-template-columns: 0.7fr 1.2fr;
  }
  .flow-panel {
    padding: 50px 26px 26px;
  }
  .flow-art {
    padding: 28px 20px;
  }
  .flow-art h3 {
    font-size: 30px;
  }
  .flow-sculpture .category-glyph {
    width: 180px;
    height: 180px;
  }
}
@media (max-width: 600px) {
  #store-dialog:has(.flow-shell) {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 19px;
  }
  .flow-shell {
    display: block;
    min-height: 0;
  }
  .flow-art {
    min-height: 180px;
    padding: 22px;
  }
  .flow-logo {
    width: 44px;
    height: 44px;
  }
  .flow-art-copy {
    margin-top: 14px;
    max-width: 60%;
  }
  .flow-art h3 {
    font-size: 25px;
    line-height: 1.4;
    margin: 7px 0;
  }
  .flow-art h3 br {
    display: none;
  }
  .flow-art p {
    font-size: 10px;
    max-width: 190px;
  }
  .flow-art .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .flow-sculpture {
    position: absolute;
    left: -5px;
    top: 16px;
    margin: 0;
  }
  .flow-sculpture .category-glyph {
    width: 165px;
    height: 165px;
  }
  .flow-seal {
    display: none;
  }
  .flow-panel {
    padding: 24px 23px;
  }
  .flow-panel h2 {
    font-size: 29px;
  }
  .flow-panel .account-tabs {
    margin: 18px 0;
  }
  .flow-panel form label {
    margin: 13px 0;
  }
  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow-footnote {
    margin-top: 20px;
    padding-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-glyph *,
  .delivery-track,
  .flow-shell,
  .flow-orb {
    animation: none !important;
    transition: none !important;
  }
  .category-tile,
  .category-glyph,
  .flow-submit {
    transition: none !important;
  }
  .category-tile:hover,
  .category-tile:focus-visible,
  .category-tile:hover .category-glyph,
  .category-tile:focus-visible .category-glyph {
    transform: none;
  }
  .sculpture-gift-lid {
    transform: translateY(-30px);
  }
  .delivery-track {
    width: 100%;
    justify-content: center;
  }
  .delivery-group {
    padding: 0;
  }
  .delivery-group > *,
  .delivery-group + .delivery-group,
  .delivery-pause {
    display: none;
  }
  .delivery-group > span:first-child {
    display: inline;
  }
}
