.shop-opening-dialog {
  box-sizing: border-box;
  width: min(760px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 28px;
  border: 1px solid #d6dfd0;
  border-radius: 24px;
  color: #174d3d;
  background: #fff;
  overflow: auto;
  box-shadow: 0 24px 80px #00392c30;
}
.shop-opening-dialog::backdrop {
  background: #123e31a8;
  backdrop-filter: blur(5px);
}
.shop-opening-dialog * {
  box-sizing: border-box;
}
.shop-opening-dialog button {
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
}
.shop-opening-dialog button:disabled {
  opacity: 0.5;
  cursor: default;
}
.shop-opening-dialog h1 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.shop-opening-dialog h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 10px 0 18px;
}
.shop-opening-dialog p {
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0;
}
.shop-opening-dialog .eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: #a57c31;
  font-weight: 700;
}
.shop-dialog-close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 44px;
  border: 0;
  border-radius: 50%;
  background: #f1f4ed;
  color: #174d3d;
  font-size: 27px !important;
}
.shop-space-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 50px;
  gap: 16px;
}
.shop-space-header img {
  width: 68px;
  height: 42px;
}
.shop-space-price {
  background: #edc56c;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.shop-space-price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}
.shop-space-intro {
  margin: 18px 0;
}
.shop-space-intro p {
  color: #5e7265;
}
.shop-space-image {
  width: 100%;
  height: clamp(120px, 23vh, 200px);
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}
.shop-space-benefits h2 {
  font-size: 21px;
  margin: 18px 0 12px;
}
.shop-space-benefits ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
  list-style: none;
}
.shop-space-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  line-height: 1.3;
}
.shop-space-benefits li > span {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  background: #edf4ec;
  border-radius: 50%;
  font-size: 18px;
}
.shop-space-actions {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.shop-opening-dialog .secure-primary {
  background: #075342;
  color: #fff;
  border: 1px solid #075342;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 650;
}
.shop-opening-dialog .secure-secondary {
  background: #fff;
  color: #17503f;
  border: 1px solid #cbd8c8;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
}
.shop-space-actions [data-learn] {
  border-color: #ba8b2f;
  color: #9f741f;
}
.shop-opening-status:empty {
  display: none;
}
.shop-guide-dialog {
  width: min(720px, calc(100% - 28px));
  text-align: center;
  padding-top: 30px;
}
.shop-guide-dialog h2 {
  padding: 0 32px;
}
.shop-guide-dialog video,
.shop-guide-poster {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 38vh;
  background: #f0f4ec;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  object-fit: contain;
}
.shop-guide-poster {
  position: relative;
}
.shop-guide-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.shop-guide-poster > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
}
.shop-guide-copy {
  padding: 14px 0;
}
.shop-guide-copy > span {
  color: #b58a32;
  font-size: 12px;
  font-weight: 700;
}
.shop-guide-copy h3 {
  font-size: 23px;
  line-height: 1.2;
  margin: 6px 0;
}
.shop-guide-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-guide-dots {
  display: flex;
  gap: 1px;
}
.shop-guide-dots button {
  border: 0;
  background: none;
  width: 24px;
  min-width: 0;
  padding: 0;
}
.shop-guide-dots button::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4cec0;
}
.shop-guide-dots button[aria-current='step']::after {
  background: #b98a2d;
}
.shop-guide-ready {
  padding-top: 14px;
  border-top: 1px solid #e1e7db;
  margin-top: 18px !important;
}
.shop-guide-ready button {
  border: 0;
  background: none;
  text-decoration: underline;
  color: #075342;
  padding: 0;
}
.shop-payment-dialog {
  width: min(440px, calc(100% - 28px));
  padding-top: 36px;
}
.shop-payment-total {
  font-size: 34px !important;
  font-weight: 700;
}
.shop-payment-total small {
  font-size: 14px;
  display: block;
  font-weight: 400;
}
.shop-payment-dialog label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}
.shop-payment-dialog form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.shop-payment-dialog input {
  width: 100%;
  padding: 12px;
  border: 1px solid #b7cbba;
  border-radius: 9px;
  font: inherit;
  color: #174d3d;
  min-height: 46px;
}
.admin-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.admin-guide-grid video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f0f4ec;
  border-radius: 8px;
}
.admin-guide-grid textarea,
.admin-guide-grid input {
  width: 100%;
}
.admin-guide-grid .dependency-card {
  margin: 0;
}
.admin-guide-grid .dependency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 550px) {
  .shop-opening-dialog {
    padding: 20px;
    border-radius: 18px;
  }
  .shop-space-header {
    padding-right: 35px;
  }
  .shop-space-price {
    font-size: 19px;
  }
  .shop-space-benefits ul {
    gap: 8px;
  }
  .shop-space-benefits li {
    font-size: 12px;
    gap: 6px;
  }
  .shop-space-benefits li > span {
    width: 25px;
    height: 25px;
  }
  .shop-space-actions {
    grid-template-columns: 1fr;
    margin-top: 16px;
    gap: 8px;
  }
  .shop-space-image {
    height: 135px;
  }
  .shop-space-intro {
    margin: 14px 0;
  }
  .shop-space-benefits h2 {
    font-size: 19px;
  }
  .shop-guide-dialog {
    padding-top: 28px;
  }
  .shop-guide-dialog h2 {
    font-size: 22px;
  }
  .shop-guide-copy h3 {
    font-size: 20px;
  }
  .shop-guide-controls {
    gap: 4px;
  }
  .shop-guide-controls > .secure-primary,
  .shop-guide-controls > .secure-secondary {
    font-size: 12px;
    padding: 8px;
  }
  .shop-guide-dots button {
    width: 18px;
  }
  .shop-dialog-close {
    right: 9px;
    top: 9px;
  }
}
@media (max-height: 700px) and (min-width: 551px) {
  .shop-space-dialog {
    padding: 18px 24px;
  }
  .shop-space-image {
    height: 120px;
  }
  .shop-space-intro {
    margin: 10px 0;
  }
  .shop-space-intro h1 {
    font-size: 28px;
  }
  .shop-space-benefits h2 {
    margin: 12px 0 8px;
  }
  .shop-space-benefits ul {
    gap: 5px;
  }
  .shop-space-actions {
    margin-top: 12px;
  }
  .shop-guide-dialog video,
  .shop-guide-poster {
    max-height: 30vh;
  }
  .shop-guide-copy {
    padding: 8px 0;
  }
}
/* Keep the complete offer visible within ordinary laptop and phone viewports. */
.shop-opening-dialog.shop-space-dialog {
  padding: 22px;
}
.shop-space-header {
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0 50px 0 0;
}
.shop-space-intro {
  margin: 12px 0;
}
.shop-space-image {
  height: clamp(100px, 20vh, 160px);
}
.shop-space-benefits h2 {
  margin: 14px 0 10px;
}
.shop-space-benefits ul {
  gap: 6px 16px;
}
.shop-space-actions {
  margin-top: 16px;
}
.shop-opening-dialog .shop-space-header .shop-space-price {
  line-height: 1.1;
}
.shop-opening-dialog .shop-space-header img {
  margin: 0;
}
.shop-space-dialog .shop-opening-status {
  font-size: 12px;
}
@media (max-width: 550px) {
  .shop-opening-dialog.shop-space-dialog {
    padding: 18px;
  }
  .shop-space-header {
    padding-right: 38px;
  }
  .shop-space-price {
    padding: 7px 12px;
  }
  .shop-space-intro h1 {
    font-size: 26px;
  }
  .shop-space-image {
    height: 120px;
  }
  .shop-space-actions {
    margin-top: 14px;
  }
  .shop-space-benefits h2 {
    margin: 12px 0 10px;
  }
}
@media (max-height: 700px) {
  .shop-space-intro {
    margin: 8px 0;
  }
  .shop-space-image {
    height: 95px;
  }
  .shop-space-benefits h2 {
    margin: 10px 0 8px;
  }
  .shop-space-benefits ul {
    gap: 4px 12px;
  }
  .shop-space-actions {
    margin-top: 12px;
  }
  .shop-space-benefits li > span {
    height: 24px;
    width: 24px;
  }
  .shop-space-header img {
    height: 35px;
    width: 54px;
  }
  .shop-space-price {
    font-size: 18px;
  }
  .shop-space-intro h1 {
    font-size: 26px;
  }
  .shop-space-intro p {
    margin: 5px 0;
  }
}
@media (max-height: 650px) and (max-width: 550px) {
  .shop-opening-dialog.shop-space-dialog {
    padding: 14px;
  }
  .shop-space-intro h1 {
    font-size: 23px;
  }
  .shop-space-image {
    height: 75px;
  }
  .shop-space-benefits h2 {
    font-size: 16px;
  }
  .shop-space-benefits li {
    font-size: 11px;
  }
  .shop-space-actions {
    margin-top: 10px;
    gap: 6px;
  }
  .shop-space-actions button {
    padding: 8px 10px !important;
    min-height: 42px;
  }
  .shop-space-price {
    font-size: 17px;
  }
  .shop-space-header {
    padding-right: 34px;
  }
}
@media (max-height: 650px) and (max-width: 350px) {
  .shop-space-image {
    height: 52px;
  }
  .shop-space-benefits li > span {
    width: 20px;
    height: 20px;
  }
  .shop-space-benefits ul {
    gap: 3px 8px;
  }
  .shop-space-intro h1 {
    font-size: 22px;
  }
  .shop-space-benefits h2 {
    font-size: 15px;
  }
  .shop-space-actions {
    margin-top: 8px;
  }
}
@media (max-height: 650px) and (max-width: 550px) {
  .shop-guide-dialog {
    padding: 26px 16px 16px;
  }
  .shop-guide-dialog h2 {
    font-size: 19px;
    margin: 8px 0 12px;
    padding: 0 28px;
  }
  .shop-guide-dialog .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .shop-guide-dialog video,
  .shop-guide-poster {
    height: 100px;
    max-height: 100px;
    aspect-ratio: auto;
  }
  .shop-guide-copy {
    padding: 8px 0;
  }
  .shop-guide-copy h3 {
    font-size: 18px;
    margin: 4px 0;
  }
  .shop-guide-copy p {
    font-size: 12px;
    line-height: 1.35;
    margin: 5px 0;
  }
  .shop-guide-ready {
    margin-top: 10px !important;
    padding-top: 8px;
  }
  .shop-guide-ready button {
    min-height: 32px;
  }
  .shop-guide-controls > button {
    min-height: 40px;
  }
}
