/* Kartu ringkas di katalog, dashboard pengguna, checkout dan panel pemilik. */
.catalog-grid {
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
}
.catalog-grid .theme-product img {
  height: 174px;
}
.catalog-grid .theme-product > div {
  padding: 13px;
}
.catalog-grid .theme-product h3 {
  font-size: 18px;
  margin-bottom: 9px;
}
.catalog-grid .theme-price-line {
  font-size: 16px;
  gap: 3px 7px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.catalog-grid .theme-original-price {
  font-size: 13px;
  margin-left: 0;
}
.catalog-grid .catalog-actions {
  gap: 7px;
  padding-top: 8px;
}
.catalog-grid .catalog-actions .site-button {
  font-size: 11px;
  padding: 9px 10px;
}
.theme-usage {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #687366;
  margin-bottom: 8px;
}
.cards {
  gap: 14px;
}
.event-card {
  padding: 15px;
}
.event-card > h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.event-summary {
  min-height: 96px;
  gap: 10px;
}
.event-portrait {
  width: 72px;
  height: 72px;
}
.event-summary p,
.event-summary a,
.event-links a {
  font-size: 11px;
}
.event-links {
  margin: 12px 0;
  gap: 10px;
}
.event-card-actions {
  margin-top: 12px;
  gap: 6px;
}
.event-card-actions button,
.event-card-actions .button {
  font-size: 11px;
  padding: 8px;
  min-height: 44px;
}
.new-card {
  min-height: 240px;
}
.order-card {
  padding: 18px;
  margin: 14px 0;
}
.order-card h2 {
  font-size: 23px;
}
.order-card h3 {
  font-size: 17px;
}
.admin-theme-prices {
  gap: 14px;
}
.admin-theme-prices img {
  height: 145px;
}
.admin-theme-prices article > div {
  padding: 15px;
}
.admin-theme-prices strong {
  font-size: 18px;
  margin-bottom: 12px;
}
.admin-theme-prices h3 {
  font-size: 17px;
}
.theme-image-preview {
  height: 190px;
}
@media (min-width: 1550px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .catalog-grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}
@media (max-width: 760px) {
  .catalog-grid {
    grid-auto-columns: 230px;
    gap: 12px;
  }
  .catalog-grid .theme-product img {
    height: 160px;
  }
  .catalog-grid .theme-product h3 {
    font-size: 17px;
  }
  .catalog-grid .theme-product > div {
    padding: 12px;
  }
  .event-card {
    padding: 14px;
  }
  .event-portrait {
    width: 68px;
    height: 68px;
  }
  .event-summary {
    min-height: 90px;
  }
  .admin-theme-prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-theme-prices article > div {
    padding: 12px;
  }
  .admin-theme-prices img {
    height: 140px;
  }
}
@media (max-width: 450px) {
  .admin-theme-prices {
    grid-template-columns: 1fr;
  }
}
/* Tema Jawa dan Islami mengikuti desain.MD pada seluruh komponen undangan. */
.wedding-jawa {
  --w-ink: #59432f;
  --w-muted: #705d49;
  --w-sage: #f1e3c9;
  --w-line: #d4be91;
  --theme-paper: #fff7e8;
}
.wedding-islami {
  --w-ink: #184d42;
  --w-muted: #46665a;
  --w-sage: #e8eee4;
  --w-line: #c7cbb0;
  --theme-paper: #fffaf0;
}
:is(.wedding-jawa, .wedding-islami) .w-section {
  border-color: var(--skin-gold);
  color: var(--w-ink);
}
:is(.wedding-jawa, .wedding-islami) .w-section > h2 {
  position: relative;
  padding-top: 24px;
}
:is(.wedding-jawa, .wedding-islami) .w-section > h2:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: calc(50% - 24px);
  width: 48px;
  height: 9px;
  border-top: 1px solid var(--skin-gold);
  border-bottom: 1px solid var(--skin-gold);
}
.wedding-jawa .w-section > h2:before {
  border-radius: 50%;
}
.wedding-islami .w-section > h2:before {
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  border: 1px solid var(--skin-gold);
  transform: rotate(45deg);
}
:is(.wedding-jawa, .wedding-islami)
  :is(
    .w-eyebrow,
    .guest-salutation,
    .cover-guest,
    .wedding-title > p:first-of-type,
    .wedding-title h1 i
  ) {
  color: var(--skin-ink) !important;
}
:is(.wedding-jawa, .wedding-islami) .cover-portrait {
  border-color: var(--skin-gold);
  box-shadow: 0 9px 24px #32250c24;
}
.wedding-jawa .cover-portrait {
  border-radius: 110px 110px 12px 12px;
  border-width: 4px;
}
.wedding-islami .cover-portrait {
  border-radius: 50% 50% 10px 10px;
  border-width: 4px;
  outline: 1px solid var(--skin-gold);
  outline-offset: 6px;
}
:is(.wedding-jawa, .wedding-islami) .w-couple {
  border-width: 1px;
  border-radius: 190px 190px 20px 20px;
  background: transparent;
}
.wedding-jawa .partner-photo {
  border-radius: 110px 110px 16px 16px;
}
.wedding-islami .partner-photo {
  border-radius: 50% 50% 10px 10px;
}
:is(.wedding-jawa, .wedding-islami) .schedule-section {
  border: 1px solid var(--skin-gold);
  border-radius: 130px 130px 12px 12px;
  margin: 18px 18px 0;
  padding-top: 65px;
}
:is(.wedding-jawa, .wedding-islami) .schedule-timeline:before {
  background: var(--skin-gold);
}
:is(.wedding-jawa, .wedding-islami)
  :is(
    .agenda-marker,
    .agenda-time,
    .schedule-timeline h3,
    .agenda-details > p
  ) {
  color: var(--skin-ink);
  border-color: var(--skin-gold);
}
:is(.wedding-jawa, .wedding-islami) .agenda-marker {
  background: var(--theme-paper);
}
:is(.wedding-jawa, .wedding-islami)
  .schedule-timeline
  .agenda-details
  > .prose {
  color: var(--w-muted);
}
:is(.wedding-jawa, .wedding-islami)
  :is(.button.primary, #sendRsvp, .wedding-open) {
  background: var(--skin-accent);
  border-color: var(--skin-accent);
  color: white !important;
}
:is(.wedding-jawa, .wedding-islami) .countdown > div {
  background: var(--theme-paper);
  border-color: var(--skin-gold);
}
:is(.wedding-jawa, .wedding-islami) .countdown strong {
  color: var(--skin-ink);
}
:is(.wedding-jawa, .wedding-islami) .wedding-nav {
  background: var(--theme-paper);
  border-color: var(--skin-gold);
}
:is(.wedding-jawa, .wedding-islami) .wedding-nav a {
  color: var(--skin-ink);
}
:is(.wedding-jawa, .wedding-islami) .wedding-nav a.active {
  background: var(--w-sage);
  color: var(--skin-ink);
}
:is(.wedding-jawa, .wedding-islami) :is(.wish-totals span, .wedding-audio) {
  background: var(--w-sage);
  border-color: var(--skin-gold);
  color: var(--skin-ink);
}
:is(.wedding-jawa, .wedding-islami) :is(input, textarea, select):focus-visible {
  outline-color: var(--skin-accent);
}
/* Owner Studio: navigasi kiri, ruang kerja, dan panel ringkasan seperti referensi. */
.admin-shell {
  --ink: #26243c;
  --green: #6559d9;
  --muted: #6f7084;
  --line: #e8e7f1;
  --paper: #f6f6fb;
  --sage: #efedfc;
  background: radial-gradient(at left top, #eee5fa, transparent 55%), #f4f9fa;
  min-height: 100vh;
}
.admin-shell svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.admin-shell > aside {
  width: 218px;
  padding: 34px 20px;
  background: #ffffff6b;
  border: 0;
  backdrop-filter: blur(8px);
  overflow-y: auto;
}
.admin-shell .brand {
  font-size: 38px;
  color: #292739;
}
.admin-shell .brand span {
  color: #6559d9;
}
.admin-shell .workspace {
  margin: 32px 0 15px;
  font-size: 9px;
  color: #77748f;
}
.admin-shell .admin-nav {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 13px;
  margin: 5px 0;
  border-radius: 10px;
  color: #68677d;
  text-decoration: none;
  font-size: 12px;
}
.admin-shell .admin-nav:hover {
  background: #ece9fc;
}
.admin-shell .admin-nav.active {
  background: #6559d9;
  color: #fff;
  box-shadow: 0 7px 16px #6559d91a;
}
.admin-nav b {
  margin-left: auto;
  background: #fff2;
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 10px;
}
.admin-shell .customer-dashboard {
  margin-top: 24px;
  font-size: 11px;
}
.admin-shell .aside-bottom {
  padding: 8px 12px 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 15px #25203b0b;
  text-align: center;
  margin: 35px 0 20px;
}
.admin-shell .aside-bottom img {
  max-width: 100%;
  height: auto;
}
.admin-shell .aside-bottom h3 {
  font: 600 12px Arial;
  color: #45415e;
}
.admin-shell .aside-bottom a {
  font-size: 11px;
  color: #6559d9;
  text-decoration: none;
}
.admin-shell .user {
  flex-wrap: wrap;
}
.admin-shell .user button {
  min-height: 44px;
  font-size: 10px;
}
.admin-shell > .main {
  margin-left: 218px;
  background: transparent;
}
.admin-shell header {
  background: transparent;
  border: 0;
  padding: 0 30px;
  height: 78px;
  gap: 20px;
  font-size: 12px;
}
.admin-owner {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
}
.admin-owner .avatar {
  background: #6559d9;
  color: white;
}
.admin-shell .admin-panel {
  padding: 0 28px 28px;
  max-width: 1600px;
  margin: 0 auto;
}
.admin-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.admin-topline p {
  margin: 0;
  color: #6d6597;
}
.admin-topline time {
  font-size: 11px;
  color: #79758a;
}
.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 26px;
  align-items: start;
}
.admin-center {
  min-width: 0;
  background: #fff;
  border-radius: 26px;
  padding: 27px;
}
.admin-welcome {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 290px;
}
.admin-welcome > div {
  position: relative;
  z-index: 1;
  flex: 1;
}
.admin-welcome h1 {
  font:
    600 clamp(28px, 2.6vw, 40px)/1.15 Arial,
    sans-serif;
  letter-spacing: -1.5px;
  margin: 10px 0 14px;
  color: #222132;
}
.admin-welcome p {
  font-size: 12px;
  line-height: 1.6;
  color: #777387;
}
.admin-welcome > img {
  width: 46%;
  height: auto;
  margin-right: -15px;
}
.admin-shell .primary {
  background: #6559d9;
  border-color: #6559d9;
  color: #fff;
}
.admin-shell .primary:hover {
  background: #5044c0;
}
.admin-welcome .button {
  font-size: 11px;
  gap: 12px;
  border-radius: 8px;
  margin-top: 4px;
}
.admin-welcome .button svg {
  width: 16px;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 26px;
}
.admin-metrics > div {
  padding: 14px;
  background: #f2f0fc;
  border-radius: 12px;
}
.admin-metrics > div:nth-child(2) {
  background: #edf6fc;
}
.admin-metrics > div:nth-child(3) {
  background: #fff1ed;
}
.admin-metrics span {
  display: block;
  font-size: 10px;
  color: #6f6986;
}
.admin-metrics strong {
  font: 600 25px/1.5 Arial;
  color: #34314a;
}
.admin-shell .admin-detail {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  padding: 25px 0;
  border: 0;
  background: transparent;
  z-index: auto;
  overflow-wrap: anywhere;
}
.admin-detail .eyebrow {
  font-size: 9px;
  color: #6559d9;
  margin-bottom: 20px;
}
.admin-detail h2 {
  font: 600 30px/1.2 Arial;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #282337;
}
.admin-detail > p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.admin-detail-stat {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}
.admin-detail-stat > svg {
  box-sizing: content-box;
  padding: 12px;
  border-radius: 12px;
  background: #dceefe;
  color: #5d65d8;
}
.admin-detail-stat:nth-of-type(2) > svg {
  background: #ffe7ed;
  color: #cc5577;
}
.admin-detail-stat:nth-of-type(3) > svg {
  background: #ffe5c9;
  color: #bf7628;
}
.admin-detail-stat small {
  display: block;
  color: #7a7589;
  font-size: 10px;
}
.admin-detail-stat strong {
  font-size: 13px;
  color: #342e45;
}
.admin-detail > .button {
  font-size: 11px;
  min-height: 44px;
  border-radius: 9px;
  margin: 12px 0;
}
.admin-recent {
  border-top: 1px solid #e2e1ed;
  margin-top: 24px;
  padding-top: 24px;
}
.admin-recent h3 {
  font-size: 13px;
}
.admin-recent p {
  font-size: 11px;
}
.admin-recent small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.admin-recent strong {
  color: #4a445f;
  font-weight: 500;
}
.admin-shell .admin-section {
  padding: 22px 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #eeecf6;
  border-radius: 0;
  background: #fff;
  min-width: 0;
}
.admin-section[hidden],
.admin-welcome[hidden] {
  display: none !important;
}
.admin-shell .admin-section h2 {
  font: 600 21px/1.3 Arial;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
.admin-shell .admin-section > p {
  font-size: 11px;
  line-height: 1.8;
}
.admin-shell .order-card {
  background: #f5f2fe;
  border: 0;
  border-left: 4px solid #8f83e6;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}
.admin-shell .order-card:nth-child(even) {
  background: #edf6fc;
  border-left-color: #87badd;
}
.admin-shell .order-card h3 {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.admin-shell .order-card p {
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 9px;
}
.admin-shell .order-card button,
.admin-shell .order-card .button {
  font-size: 11px;
  min-height: 44px;
}
.admin-shell .order-badge {
  background: #eeeafd;
  color: #5145a9;
  font-size: 10px;
  padding: 4px 8px;
  vertical-align: middle;
}
.admin-shell .admin-event-list article {
  background: #f7f6fc;
  border: 0;
  border-left: 3px solid #d7d0f3;
  border-radius: 10px;
  margin: 10px 0;
  padding: 14px;
}
.admin-shell .admin-event-list h3 {
  font-size: 14px;
}
.admin-shell .admin-event-list p {
  font-size: 11px;
}
.admin-shell .admin-event-list button {
  min-height: 44px;
  font-size: 11px;
}
.admin-shell .admin-pagination {
  flex-wrap: wrap;
  font-size: 11px;
  gap: 7px;
}
.admin-shell .admin-pagination button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 10px;
}
.admin-shell .admin-search {
  gap: 8px;
}
.admin-shell .admin-search input {
  min-width: 0;
}
.admin-shell .admin-search button {
  font-size: 11px;
}
.admin-shell :is(input, select, textarea) {
  border-color: #dedbea;
  border-radius: 8px;
  background: #fdfcff;
  max-width: 100%;
  min-width: 0;
}
.admin-shell label {
  font-size: 12px;
}
.admin-shell :is(button, .button):focus-visible,
.admin-shell a:focus-visible {
  outline: 2px solid #6559d9;
  outline-offset: 3px;
}
.admin-shell .main > footer {
  font-size: 12px;
  padding: 15px 30px;
}
.admin-shell .admin-track-list article {
  padding: 15px;
}
.admin-shell .admin-track-list audio {
  max-width: 100%;
  width: 100%;
}
.admin-shell .admin-theme-prices label {
  font-size: 11px;
}
.admin-shell .admin-theme-prices h3 {
  font-size: 15px;
}
.admin-shell .admin-theme-prices p {
  font-size: 10px;
}
.admin-shell .admin-theme-prices input {
  padding: 9px;
}
.admin-shell .admin-theme-prices .button {
  min-height: 44px;
  font-size: 11px;
}
.admin-shell .theme-upload-grid {
  gap: 16px;
}
.admin-shell .theme-upload-grid h3 {
  font-size: 14px;
}
.admin-shell .theme-upload-grid input[type="file"] {
  width: 100%;
  font-size: 10px;
}
.admin-shell #adminContent {
  min-width: 0;
}
.admin-shell .admin-audit article {
  padding: 13px;
  font-size: 11px;
}
.admin-shell .admin-audit small {
  font-size: 10px;
}
@media (min-width: 1600px) {
  .admin-workspace {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 36px;
  }
  .admin-center {
    padding: 35px;
  }
}
@media (max-width: 1190px) {
  .admin-workspace {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 20px;
  }
  .admin-shell > aside {
    width: 190px;
    padding: 28px 13px;
  }
  .admin-shell > .main {
    margin-left: 190px;
  }
  .admin-shell .admin-panel {
    padding: 0 20px 20px;
  }
  .admin-center {
    padding: 22px;
  }
  .admin-welcome h1 {
    font-size: 28px;
  }
  .admin-welcome > img {
    width: 40%;
  }
  .admin-detail h2 {
    font-size: 25px;
  }
}
@media (max-width: 1000px) {
  .admin-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-shell .admin-detail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
  }
  .admin-detail > .eyebrow,
  .admin-detail > h2,
  .admin-detail > p,
  .admin-detail > .button,
  .admin-recent {
    grid-column: 1/-1;
  }
  .admin-detail > h2 {
    font-size: 25px;
    margin-bottom: 0;
  }
  .admin-detail > p:not(.eyebrow) {
    margin-bottom: 0;
  }
  .admin-detail-stat {
    margin: 4px 0;
    gap: 8px;
  }
  .admin-detail-stat > svg {
    padding: 8px;
  }
  .admin-detail .eyebrow {
    margin-bottom: 0;
  }
  .admin-detail > .button {
    justify-self: start;
  }
  .admin-recent {
    margin-top: 4px;
  }
  .admin-recent p {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
  }
}
@media (max-width: 760px) {
  .admin-shell > aside {
    position: static;
    width: 100%;
    padding: 18px;
    background: #fff9;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .admin-shell .brand {
    font-size: 31px;
  }
  .admin-shell .workspace {
    margin: 12px 0 4px;
  }
  .admin-shell > aside nav {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    width: 100%;
    white-space: nowrap;
  }
  .admin-shell .admin-nav {
    flex: none;
    margin: 0;
    font-size: 11px;
    padding: 9px 11px;
    min-height: 44px;
  }
  .admin-shell .customer-dashboard {
    margin: 0;
  }
  .admin-shell .aside-bottom {
    display: none;
  }
  .admin-shell .user {
    display: flex;
    margin-top: 10px;
    padding-top: 10px;
  }
  .admin-shell .user > div {
    display: block;
  }
  .admin-shell .user small {
    display: none;
  }
  .admin-shell .user strong {
    font-size: 11px;
  }
  .admin-shell .user .admin-mobile-link {
    display: none;
  }
  .admin-shell > .main {
    margin-left: 0;
  }
  .admin-shell header {
    height: 55px;
    padding: 0 18px;
  }
  .admin-shell .admin-panel {
    padding: 0 12px 16px;
  }
  .admin-topline {
    padding: 0 6px;
    margin-bottom: 12px;
  }
  .admin-topline time {
    font-size: 10px;
  }
  .admin-topline .eyebrow {
    font-size: 8px;
  }
  .admin-center {
    padding: 18px;
    border-radius: 20px;
  }
  .admin-welcome {
    min-height: 250px;
  }
  .admin-welcome h1 {
    font-size: 29px;
  }
  .admin-welcome p {
    font-size: 11px;
  }
  .admin-welcome > img {
    width: 38%;
    margin-right: -12px;
  }
  .admin-shell .admin-section h2 {
    font-size: 19px;
  }
  .admin-shell .admin-event-list article {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .admin-shell .admin-detail {
    grid-template-columns: 1fr;
    padding: 20px 12px;
  }
  .admin-detail-stat {
    grid-column: 1/-1;
  }
  .admin-metrics {
    gap: 8px;
  }
  .admin-metrics > div {
    padding: 12px;
  }
  .admin-metrics strong {
    font-size: 23px;
  }
  .admin-owner {
    font-size: 10px;
  }
  .admin-owner .avatar {
    width: 28px;
    height: 28px;
  }
  .admin-shell .admin-search {
    flex-wrap: wrap;
  }
  .admin-shell .admin-search label {
    width: 100%;
  }
  .admin-shell .admin-search button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .admin-shell * {
    scroll-behavior: auto;
    transition: none;
  }
}
.admin-shell .admin-center {
  container-type: inline-size;
}
.admin-shell .admin-orders {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.admin-shell .admin-orders .order-card {
  margin: 0;
  padding: 14px;
}
.admin-shell .order-card p {
  margin-bottom: 6px;
}
.admin-shell .order-card h3 {
  margin-bottom: 10px;
}
.admin-shell[data-admin-screen="overview"] .admin-orders {
  max-height: 440px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #bab1ef #f3f1fc;
}
.admin-shell[data-admin-screen="overview"] .admin-event-list {
  max-height: 350px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #bab1ef #f3f1fc;
}
.admin-shell .admin-section h2,
.admin-shell .admin-section h3 {
  color: #343047;
}
.admin-shell .user small {
  color: #706a86;
}
.admin-shell .brand span {
  color: #6559d9 !important;
}
@container (min-width:620px) {
  .admin-shell .admin-orders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Countdown untuk semua tema, dengan fallback warna tema bagi tema baru. */
.wedding-v2 {
  --countdown-bg: var(--skin-accent, var(--w-ink, #385345));
  --countdown-text: #fff;
  --countdown-border: var(--skin-gold, var(--w-line, #d8e0d0));
}
.wedding-navy {
  --countdown-bg: #34415b;
  --countdown-border: #aa9b67;
}
.wedding-sakura {
  --countdown-bg: #784952;
  --countdown-border: #c9a37a;
}
.wedding-meihua {
  --countdown-bg: #853c43;
  --countdown-border: #b98f72;
}
.wedding-jawa {
  --countdown-bg: #59432f;
  --countdown-border: #b49558;
}
.wedding-islami {
  --countdown-bg: #184d42;
  --countdown-border: #c7a45c;
}
.wedding-v2 .countdown {
  gap: 10px;
  width: 100%;
  max-width: 420px;
}
.wedding-v2 .countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 14px 5px;
  border: 1px solid var(--countdown-border);
  border-radius: 12px;
  background: var(--countdown-bg);
  box-shadow: 0 5px 12px #34290d15;
}
.wedding-v2 .countdown > div:first-child {
  border-left: 1px solid var(--countdown-border);
}
.wedding-v2 .countdown > div strong {
  font-size: 30px;
  line-height: 1.2;
  color: var(--countdown-text);
}
.wedding-v2 .countdown > div span {
  font: 11px/1.6 Arial;
  color: var(--countdown-text);
  margin-top: 7px;
  letter-spacing: 0.4px;
}
/* Ornamen transparan terpisah dari foto/latar; gerakan berhenti di luar layar. */
.theme-decoration-host {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.theme-decoration-host > :not(.theme-decoration):not(.theme-scenery) {
  position: relative;
  z-index: 1;
}
.theme-decoration {
  position: absolute;
  z-index: 0;
  width: min(var(--ornament-size), 42%);
  pointer-events: none;
  user-select: none;
}
.theme-decoration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  animation-duration: var(--ornament-duration, 7s);
  animation-delay: var(--ornament-delay, 0s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: paused;
}
.ornament-top-left {
  top: 0;
  left: 0;
}
.ornament-top-right {
  top: 0;
  right: 0;
}
.ornament-bottom-left {
  bottom: 0;
  left: 0;
}
.ornament-bottom-right {
  bottom: 0;
  right: 0;
}
.ornament-top-left img {
  transform-origin: top left;
}
.ornament-top-right img {
  transform-origin: top right;
}
.ornament-bottom-left img {
  transform-origin: bottom left;
}
.ornament-bottom-right img {
  transform-origin: bottom right;
}
.ornament-motion-sway {
  animation-name: ornament-sway;
}
.ornament-motion-float {
  animation-name: ornament-float;
}
.ornament-in-view .theme-decoration img {
  animation-play-state: running;
}
.ornaments-paused .theme-decoration img {
  animation-play-state: paused;
}
.ornament-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ornament-settings label {
  min-width: 0;
}
.ornament-settings :is(select, input) {
  display: block;
  width: 100%;
  padding: 10px;
  min-height: 44px;
  margin: 6px 0;
}
.ornament-thumb {
  width: 95px;
  height: 95px;
  object-fit: contain;
  background: repeating-conic-gradient(#f2eff8 0% 25%, #fff 0% 50%) 0/16px 16px;
  border: 1px solid #dedbea;
  border-radius: 10px;
  margin-bottom: 12px;
}
.ornament-list > form,
#ornamentUpload {
  border: 1px solid #e6e2ed;
  padding: 16px;
  border-radius: 12px;
  margin: 16px 0;
}
#ornamentEditor {
  margin-top: 30px;
  border-top: 1px solid #e8e2ef;
  padding-top: 24px;
}
#ornamentEditor p {
  font-size: 12px;
  line-height: 1.8;
}
#ornamentEditor input[type="file"] {
  width: 100%;
  font-size: 12px;
}
#ornamentEditor .actions {
  flex-wrap: wrap;
}
@keyframes ornament-sway {
  from {
    transform: rotate(-3deg);
  }
  to {
    transform: rotate(3deg);
  }
}
@keyframes ornament-float {
  from {
    transform: translateY(0) rotate(-2deg);
  }
  to {
    transform: translateY(-12px) rotate(2deg);
  }
}
@media (max-width: 390px) {
  .wedding-v2 .countdown {
    gap: 6px;
  }
  .wedding-v2 .countdown > div {
    min-height: 80px;
    padding: 12px 3px;
  }
  .wedding-v2 .countdown > div strong {
    font-size: 25px;
  }
  .wedding-v2 .countdown > div span {
    font-size: 10px;
  }
  .ornament-settings {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-decoration img {
    animation: none !important;
    transform: none !important;
  }
}
.wedding-v2 .countdown > div span {
  color: var(--countdown-text) !important;
}
/* Katalog slide per kategori dengan preview dua ponsel. */
.catalog-slider {
  margin: 32px 0 40px;
  min-width: 0;
}
.catalog-slide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.catalog-slide-heading > h3 {
  font: 600 20px/1.3 Arial;
  margin: 0;
}
.catalog-slide-heading > div {
  display: flex;
  gap: 8px;
}
.catalog-slide-heading button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
}
.catalog-slide-heading button:disabled {
  opacity: 0.35;
  cursor: default;
}
.catalog-slider .catalog-grid {
  scroll-snap-type: x mandatory;
  padding: 2px 2px 16px;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
}
.catalog-slider .theme-product {
  scroll-snap-align: start;
}
.catalog-slider .theme-product > a {
  display: block;
  overflow: hidden;
  text-decoration: none;
}
.catalog-slider .theme-product > div > h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.catalog-slider .theme-product > div {
  padding: 13px;
}
.catalog-slider .theme-price-line {
  font-size: 15px;
}
.starting-price,
.package-options-label {
  display: block;
  font-size: 10px;
  color: #6c7467;
}
.starting-price {
  margin-bottom: 2px;
}
.package-options-label {
  margin: 4px 0 8px;
}
.slide-hint {
  font-size: 10px;
  color: #788078;
}
.theme-mockup {
  height: 216px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 25px 16px 20px;
  background: color-mix(in srgb, var(--tile) 20%, #fff);
  overflow: hidden;
  isolation: isolate;
}
.sample-phone {
  position: relative;
  width: 84px;
  height: 166px;
  background-color: var(--phone-paper);
  background-size: cover;
  background-position: center;
  border: 3px solid #242629;
  outline: 1px solid #828381;
  border-radius: 15px;
  box-shadow: 5px 9px 11px #0003;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 16px 5px 8px;
  text-align: center;
  color: var(--phone-ink);
  flex-shrink: 0;
}
.sample-phone:before {
  content: "";
  position: absolute;
  left: calc(50% - 13px);
  top: 3px;
  height: 4px;
  width: 26px;
  background: #222;
  border-radius: 5px;
}
.phone-back {
  transform: rotate(9deg) translateY(6px);
}
.phone-front {
  transform: rotate(12deg) translateY(-7px);
}
.catalog-slider .sample-phone img {
  display: block;
  width: 47px;
  height: 65px;
  object-fit: cover;
  border-radius: 28px 28px 3px 3px;
  margin: 7px 0;
  flex-shrink: 0;
}
.sample-phone small {
  font: 5px/1.2 Georgia;
  color: var(--phone-ink);
}
.sample-phone b {
  font:
    12px/1.3 "Great Vibes",
    Georgia;
  color: var(--phone-ink);
  white-space: nowrap;
}
.sample-phone i {
  font: 4px/1.5 Arial;
  color: var(--phone-ink);
  margin-top: 4px;
}
.sample-phone > span {
  font: 4px/1.5 Arial;
  border-radius: 3px;
  background: var(--phone-ink);
  color: var(--phone-paper);
  padding: 3px 5px;
  margin-top: 7px;
}
.phone-back > span {
  background: transparent;
  border: 1px solid var(--phone-gold);
  color: var(--phone-ink);
}
.package-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 35px auto;
}
.package-overview > article {
  padding: 28px;
  border: 1px solid #d7dfcd;
  border-radius: 18px;
  text-align: left;
  background: #f8faf4;
}
.package-overview > article:last-child {
  background: #e8eddf;
}
.package-overview h3 {
  font: 32px Georgia;
  margin: 12px 0;
}
.package-overview strong {
  display: block;
  font-size: 20px;
  color: #385345;
}
.package-overview p {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.8;
  margin: 18px 0;
}
.package-overview article > small {
  font-size: 9px;
  letter-spacing: 2px;
  color: #66745f;
}
.package-overview .site-button {
  margin-top: 22px;
}
.package-description-settings {
  border: 1px solid #e1ddea;
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
}
.package-description-settings textarea {
  width: 100%;
  display: block;
  margin: 8px 0 16px;
}
.admin-theme-prices strong {
  font-size: 13px;
  line-height: 1.7;
}
.bank-card .bank-chip {
  display: block;
  width: 58px;
  height: 43px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  object-fit: contain;
  margin: 12px 0;
  position: static;
}
.bank-card .bank-chip:before,
.bank-card .bank-chip:after {
  display: none;
}
/* Komponen undangan untuk 15 desain baru. */
.wedding-collection {
  background: var(--theme-paper) !important;
  color: var(--skin-ink);
}
.wedding-collection
  :is(
    h1,
    h2,
    h3,
    .w-eyebrow,
    .guest-salutation,
    .cover-guest,
    .wedding-title > p:first-of-type,
    .wedding-title h1 i
  ) {
  color: var(--skin-ink) !important;
}
.wedding-collection .w-section {
  border-color: var(--skin-gold);
  color: var(--skin-ink);
}
.wedding-collection .w-section p {
  color: var(--skin-ink);
}
.wedding-collection .has-theme-background:before {
  background: color-mix(in srgb, var(--theme-paper) 80%, transparent);
}
.wedding-collection .has-theme-background.wedding-hero:before,
.wedding-collection .has-theme-background.wedding-intro:before {
  background: color-mix(in srgb, var(--theme-paper) 25%, transparent);
}
.wedding-collection :is(.cover-portrait, .partner-photo, .w-couple) {
  border-color: var(--skin-gold);
  box-shadow: 0 8px 22px #3228121c;
}
.wedding-collection .w-couple {
  border-radius: 170px 170px 24px 24px;
  background: transparent;
}
.wedding-collection :is(.wedding-open, .button.primary, #sendRsvp) {
  background: var(--skin-accent);
  border-color: var(--skin-accent);
  color: var(--theme-paper) !important;
}
.wedding-collection .wedding-nav {
  background: var(--theme-paper);
  border-color: var(--skin-gold);
}
.wedding-collection .wedding-nav a {
  color: var(--skin-ink);
}
.wedding-collection .wedding-nav a.active {
  background: color-mix(in srgb, var(--skin-gold) 20%, var(--theme-paper));
}
.wedding-collection .schedule-section {
  border: 1px solid var(--skin-gold);
  border-radius: 130px 130px 12px 12px;
  margin: 18px 18px 0;
  padding-top: 65px;
}
.wedding-collection .schedule-timeline:before {
  background: var(--skin-gold);
}
.wedding-collection
  :is(
    .agenda-marker,
    .agenda-time,
    .schedule-timeline h3,
    .agenda-details > p
  ) {
  color: var(--skin-ink);
  border-color: var(--skin-gold);
}
.wedding-collection .agenda-marker {
  background: var(--theme-paper);
}
.wedding-collection .wish-totals span {
  background: var(--theme-paper);
  border-color: var(--skin-gold);
  color: var(--skin-ink);
}
.wedding-collection .preview-banner {
  background: var(--skin-ink);
  color: var(--theme-paper);
}
.wedding-collection :is(input, select, textarea):focus-visible {
  outline-color: var(--skin-ink);
}
.wedding-collection .w-section > h2:before {
  content: "";
  display: block;
  width: 50px;
  height: 10px;
  border-top: 1px solid var(--skin-gold);
  margin: 0 auto 10px;
}
.wedding-elegant.variant-deco :is(.cover-portrait, .partner-photo) {
  border-radius: 8px;
  border-width: 3px;
  outline: 1px solid var(--skin-gold);
  outline-offset: 6px;
}
.wedding-elegant.variant-arch :is(.cover-portrait, .partner-photo) {
  border-radius: 150px 150px 8px 8px;
  border-width: 3px;
}
.wedding-elegant.variant-oval :is(.cover-portrait, .partner-photo) {
  border-radius: 50%;
  border-width: 2px;
}
.wedding-flower :is(.cover-portrait, .partner-photo) {
  border-radius: 130px 130px 30px 30px;
  border-width: 3px;
}
.wedding-flower .w-section > h2:before {
  border-radius: 50%;
  border-bottom: 1px solid var(--skin-gold);
}
.wedding-islamic :is(.cover-portrait, .partner-photo) {
  border-radius: 50% 50% 10px 10px;
  border-width: 4px;
  outline: 1px solid var(--skin-gold);
  outline-offset: 5px;
}
.wedding-islamic .w-section > h2:before {
  width: 10px;
  height: 10px;
  border: 1px solid var(--skin-gold);
  transform: rotate(45deg);
}
@media (max-width: 1100px) and (min-width: 761px) {
  .catalog-slider .catalog-grid {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
  .theme-mockup {
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .catalog-slider .catalog-grid {
    grid-auto-columns: 232px;
    gap: 12px;
  }
  .catalog-slide-heading > h3 {
    font-size: 18px;
  }
  .theme-mockup {
    height: 200px;
  }
  .package-overview {
    grid-template-columns: 1fr;
  }
  .package-overview > article {
    padding: 24px;
  }
  .catalog-slider {
    margin: 25px 0;
  }
  .catalog-slider .catalog-actions .site-button {
    flex: 1;
  }
}
.theme-mockup:is(
  .mockup-burgundy,
  .mockup-onyx,
  .mockup-taqwa,
  .mockup-andalus
) {
  background: var(--tile);
}
.package-feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.package-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  padding: 6px 0;
}
.package-feature-list li > span:first-child {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3e765c;
  color: white;
  font-size: 12px;
  margin-top: 1px;
}
.package-feature-list .excluded {
  color: #827c78;
}
.package-feature-list .excluded > span:first-child {
  background: #a25959;
}
.package-feature-list small {
  margin-left: 8px;
  font-size: 10px;
  color: #857b72;
}
.package-term {
  font-size: 11px !important;
  line-height: 1.7 !important;
}
.package-pending {
  font-size: 11px;
  margin: 18px 0;
}
.package-pending summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
}
.package-pending p {
  font-size: 11px;
  line-height: 1.8;
}
.premium-settings {
  border: 1px solid var(--line);
  padding: 20px;
  margin: 22px 0;
  border-radius: 12px;
}
.premium-settings label {
  display: block;
  font-size: 12px;
  margin: 16px 0;
}
.premium-settings :is(input:not([type="checkbox"]), select) {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.premium-settings input[type="color"] {
  max-width: 100px;
  padding: 4px;
}
.premium-settings .check-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.premium-settings .check-row input {
  width: 20px;
  height: 20px;
}
.premium-settings > small {
  font-size: 11px;
}
.event-map-embed {
  border: 0;
  border-radius: 12px;
  width: 100%;
  height: 280px;
  margin-top: 25px;
  position: relative;
  z-index: 1;
}
.auto-scroll-control {
  position: fixed;
  bottom: 92px;
  right: 15px;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--w-line);
  border-radius: 24px;
  font-size: 11px;
  min-height: 44px;
  padding: 10px 15px;
  box-shadow: 0 4px 16px #0002;
}
.has-custom-accent :is(.button.primary, .wedding-open, #sendRsvp) {
  background: var(--user-accent) !important;
  border-color: var(--user-accent) !important;
  color: var(--accent-text) !important;
}
.has-custom-accent .wedding-nav a.active {
  border-bottom: 2px solid var(--user-accent);
}
.wedding-v2:not(.is-open) .auto-scroll-control {
  display: none;
}
.checkout-package-details {
  margin: 18px 0;
}
.checkout-package-details > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 12px;
}
.package-feature-list .excluded {
  color: #6c645f;
}
.package-feature-list small {
  color: #75695f;
}
/* Pilih satu tema untuk mengedit harga; nilai tema lain tetap tersimpan di form. */
.theme-price-editor {
  margin: 28px 0;
}
.theme-price-editor > label {
  display: block;
}
.admin-shell #adminPriceThemeSelect {
  display: block;
  width: 100%;
  max-width: 520px;
  min-height: 48px;
  padding: 12px;
  margin: 12px 0 20px;
}
.theme-price-editor .admin-theme-prices {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
}
.theme-price-editor [data-theme-price][hidden] {
  display: none !important;
}
.theme-price-editor .admin-theme-prices article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
}
.theme-price-editor .admin-theme-prices article > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.theme-price-editor .admin-theme-prices article > div {
  min-width: 0;
}
.package-more > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  color: #385345;
  padding: 9px 4px;
}
.package-more > summary::-webkit-details-marker {
  display: none;
}
.package-more > summary:focus-visible {
  outline: 2px solid #385345;
  outline-offset: 3px;
  border-radius: 6px;
}
.package-more .package-collapse-label {
  display: none;
}
.package-more[open] .package-expand-label {
  display: none;
}
.package-more[open] .package-collapse-label {
  display: inline;
}
.package-more[open] .package-more-arrow {
  transform: rotate(180deg);
}
.package-more > .package-feature-list {
  margin-top: 12px;
}
.package-overview > article {
  align-self: start;
}
@media (max-width: 600px) {
  .theme-price-editor .admin-theme-prices article {
    grid-template-columns: minmax(0, 1fr);
  }
  .theme-price-editor .admin-theme-prices article > img {
    height: 160px;
    object-position: center 35%;
  }
}
.ornament-upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.ornament-upload-actions > button {
  min-height: 44px;
}
.ornament-upload-actions > span {
  font-size: 11px;
  color: #706a80;
}
.ornament-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.ornament-pending-grid figure {
  margin: 0;
  min-width: 0;
}
.ornament-pending-grid figcaption {
  font-size: 11px;
  overflow-wrap: anywhere;
  margin-top: 6px;
}
.ornament-admin-preview {
  display: grid;
  place-items: center;
  height: 150px;
  overflow: hidden;
  border: 1px solid #dedbea;
  border-radius: 10px;
  background: repeating-conic-gradient(#f2eff8 0% 25%, #fff 0% 50%) 0/16px 16px;
}
.ornament-admin-preview img {
  width: 90px;
  height: 110px;
  object-fit: contain;
  transform-origin: top right;
  animation-duration: var(--ornament-duration, 7s);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
.ornament-saved-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 22px 0;
}
.ornament-saved-heading h4 {
  margin: 0;
}
.ornament-saved-badge {
  display: inline-block;
  background: #e8eddf;
  color: #385345;
  padding: 5px 10px;
  border-radius: 18px;
  font-size: 11px !important;
}
#ornamentEditorStatus:not(:empty) {
  background: #edf6ec;
  color: #315239;
  padding: 12px 14px;
  border: 1px solid #cbdcc4;
  border-radius: 8px;
}
.ornament-form-status:not(:empty) {
  padding: 10px 0;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .ornament-admin-preview img {
    animation: none !important;
  }
}
/* Snackbar global: empat keadaan, tombol tutup dan timer per pesan. */
#toast.snackbar-stack {
  position: fixed;
  left: auto;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
  z-index: 10000;
  text-align: left;
  scrollbar-width: thin;
}
#toast.snackbar-stack:empty {
  display: none;
}
.snackbar {
  --snack-bg: #d6e8fc;
  --snack-ink: #172c48;
  --snack-accent: #2278be;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--snack-bg);
  color: var(--snack-ink);
  border: 1px solid #ffffff60;
  border-radius: 12px;
  padding: 14px 8px 14px 16px;
  box-shadow: 0 6px 18px #22314b20;
  pointer-events: auto;
  flex-shrink: 0;
  animation: snackbar-in 0.18s ease-out both;
  font:
    12px/1.6 Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.snackbar-success {
  --snack-bg: #bef7a1;
  --snack-ink: #123a1d;
  --snack-accent: #27893c;
}
.snackbar-warning {
  --snack-bg: #ffe29a;
  --snack-ink: #4d330a;
  --snack-accent: #a76600;
}
.snackbar-error {
  --snack-bg: #ffb6be;
  --snack-ink: #541d24;
  --snack-accent: #c52d47;
}
.snackbar-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--snack-accent);
}
.snackbar svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.snackbar-content {
  min-width: 0;
  flex: 1;
  max-height: 200px;
  overflow-y: auto;
}
.snackbar-content > strong {
  display: block;
  font:
    700 13px/1.5 Arial,
    sans-serif;
  color: var(--snack-ink);
}
.snackbar-content > p {
  font:
    12px/1.6 Arial,
    sans-serif;
  margin: 3px 0 0;
  color: var(--snack-ink);
  white-space: pre-line;
}
.snackbar .snackbar-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--snack-ink);
  cursor: pointer;
}
.snackbar .snackbar-close:hover {
  background: #ffffff45;
}
.snackbar .snackbar-close:focus-visible {
  outline: 2px solid var(--snack-ink);
  outline-offset: -3px;
}
.snackbar-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}
body:has(.wedding-v2) #toast.snackbar-stack {
  bottom: calc(100px + env(safe-area-inset-bottom));
  max-height: calc(100svh - 120px);
}
@keyframes snackbar-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  #toast.snackbar-stack {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .snackbar {
    padding-left: 12px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .snackbar {
    animation: none;
  }
}
