﻿@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lora/Lora-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lora/Lora-Bold.ttf") format("truetype");
}

:root {
  --shop-color-red: #b51b26;
  --shop-color-gold: #ae8648;
  --shop-color-gray: #555555;
  --shop-color-blue: #173a59;
  --shop-color-rating-blue: #2f84ed;
  --shop-color-rating-orange: #e7721b;
  --shop-color-footer-dark: #29292c;
  --shop-color-surface: #f6f7f8;
  --shop-color-border: #e4ebf1;
  --shop-font-heading: "Lora", Georgia, "Times New Roman", serif;
  --shop-font-body: Arial, Helvetica, sans-serif;
  --shop-font-size-body: 16px;
  --shop-font-size-h1: 32px;
  --shop-font-size-h2: 24px;
  --shop-font-size-h3: 18px;
  --shop-font-size-h4: 16px;
  --shop-font-size-h5: 15px;
  --shop-font-size-h6: 14px;
  --shop-h1-icon-size: 60px;
  --shop-h1-icon-gap: 14px;
  --shop-h1-icon-url: url("/img/messer-hackbeil.png");
}

html {
  font-size: 16px;
  min-height: 100%;
  position: relative;
}

body,
button,
input,
select,
textarea {
  font-family: var(--shop-font-body);
}

body {
  background: var(--shop-color-surface);
  color: var(--shop-color-gray);
  font-size: var(--shop-font-size-body);
  line-height: 1.5;
  margin-bottom: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--shop-font-heading);
  color: var(--shop-color-gray);
  line-height: 1.2;
  margin: 0 0 .75rem;
}

h1 {
  font-size: var(--shop-font-size-h1);
  font-weight: 400;
}

.aa-main h1,
.shop-website-content .shop-main h1,
.shop-website-content .shop-head h1,
.shop-website-content .category-head h1,
.shop-website-content .product-summary h1 {
  display: flex;
  align-items: center;
  gap: var(--shop-h1-icon-gap);
}

.aa-main h1::before,
.shop-website-content .shop-main h1::before,
.shop-website-content .shop-head h1::before,
.shop-website-content .category-head h1::before,
.shop-website-content .product-summary h1::before {
  content: "";
  flex: 0 0 var(--shop-h1-icon-size);
  width: var(--shop-h1-icon-size);
  height: calc(var(--shop-h1-icon-size) * 0.56);
  background: var(--shop-h1-icon-url) center / contain no-repeat;
}

h2 {
  font-size: var(--shop-font-size-h2);
  font-weight: 700;
}

.aa-main h2,
.shop-main h2 {
  position: relative;
  padding-bottom: 14px;
}

.aa-main h2::after,
.shop-main h2::after {
  content: "";
  display: block;
  width: 88px;
  max-width: 100%;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--shop-color-gold);
}

.aa-main .aa-product-teaser-card__title,
.aa-main .checkout-summary-panel__title,
.aa-main .shop-nav-editor__title,
.shop-main .aa-product-teaser-card__title,
.shop-main .checkout-summary-panel__title,
.shop-main .shop-nav-editor__title {
  padding-bottom: 0;
}

.aa-main .aa-product-teaser-card__title::after,
.aa-main .checkout-summary-panel__title::after,
.aa-main .shop-nav-editor__title::after,
.shop-main .aa-product-teaser-card__title::after,
.shop-main .checkout-summary-panel__title::after,
.shop-main .shop-nav-editor__title::after {
  content: none;
}

h3 {
  font-size: var(--shop-font-size-h3);
  font-weight: 700;
}

h4 {
  font-size: var(--shop-font-size-h4);
  font-weight: 700;
}

h5 {
  font-size: var(--shop-font-size-h5);
  font-weight: 700;
}

h6 {
  font-size: var(--shop-font-size-h6);
  font-weight: 700;
}

.shop-site-header__nav {
  margin-bottom: 0 !important;
}

.shop-site-header__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.shop-site-header__brand-row {
  display: contents;
}

.shop-site-header__brand {
  align-items: center;
  color: var(--shop-color-gray);
  display: inline-flex;
  min-height: 52px;
  order: 1;
  text-decoration: none;
}

.shop-site-header__logo {
  display: block;
  height: auto;
  max-height: 54px;
  max-width: min(220px, 100%);
  object-fit: contain;
}

.shop-site-header__nav-panel {
  align-items: center;
  flex: 1 1 100%;
  order: 4;
  padding-top: 6px;
}

.shop-site-header__cart {
  margin-left: auto;
  order: 3;
}

.shop-site-header__cart-label {
  color: var(--shop-color-blue);
  font-size: .82rem;
  font-weight: 700;
}

.shop-site-header__utility {
  align-items: center;
  background: var(--shop-color-gold);
  display: flex;
  flex: 1 1 100%;
  gap: 12px;
  order: 0;
  padding: 10px 14px;
}

.shop-site-header__search-row {
  align-items: center;
  display: flex;
  flex: 1 1 320px;
  min-width: min(320px, 100%);
  order: 2;
}

.shop-site-header__phone {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navbar-brand {
  font-weight: 700;
}

.shop-navbar-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 6px;
}

.shop-navbar-toggle:focus,
.shop-navbar-toggle:hover,
.shop-navbar-toggle:active {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.shop-navbar-toggle__icon {
  display: inline-grid;
  gap: 5px;
}

.shop-navbar-toggle__icon span {
  background: var(--shop-color-gold);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 24px;
}

@media (min-width: 576px) {
  .shop-navbar-toggle {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .shop-site-header__inner {
    display: grid;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .shop-site-header__utility,
  .shop-site-header__search-row {
    display: grid;
  }

  .shop-site-header__utility {
    align-items: center;
    background: var(--shop-color-gold);
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 14px;
  }

  .shop-site-header__brand-row {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 14px;
  }

  .shop-site-header__search-row {
    grid-column: 1 / -1;
    min-width: 0;
    order: initial;
    padding: 0 0 14px;
  }

  .shop-site-header__brand,
  .shop-site-header__cart {
    margin: 0;
    order: initial;
  }

  .shop-site-header__brand {
    overflow: visible;
    position: relative;
    z-index: 2;
  }

  .shop-site-header__logo {
    max-height: 44px;
    max-width: 180px;
    transform: scale(1.25);
    transform-origin: left top;
  }

  .shop-site-header__brand span {
    font-size: 1.15rem;
  }

  .shop-site-header__cart-label {
    display: none;
  }

  .shop-site-header__cart {
    justify-self: end;
  }

  .shop-site-header__search-row {
    padding: 0 0 14px;
  }

  .shop-site-header__search-row .aa-header-product-search {
    width: 100%;
  }

  .shop-site-header__nav-panel {
    border-top: 1px solid var(--shop-color-border);
    flex: unset;
    order: initial;
    padding: 10px 14px 14px;
    width: 100%;
  }

  .shop-site-header__nav-panel .navbar-nav {
    gap: 2px;
  }

  .shop-site-header__nav-panel .nav-link {
    padding-left: 0;
    padding-right: 0;
  }

  .aa-header-cart__value {
    font-size: .8rem;
    margin-left: 0;
  }
}

.container {
  max-width: 1320px;
}

.cart-summary-link {
  align-items: center;
  color: var(--shop-color-blue);
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

.cart-summary-link strong {
  font-size: .95rem;
}

.aa-header-product-search {
  position: relative;
  width: min(320px, 100%);
}

.aa-header-product-search__input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7dfe6;
  border-radius: 999px;
  background: #fff;
  color: var(--shop-color-gray);
  padding: 0 16px;
}

.aa-header-product-search__input::placeholder {
  color: #6b7782;
}

.aa-header-product-search__results {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.aa-header-product-search__result {
  display: block;
  padding: 10px 16px;
  color: var(--shop-color-blue);
  text-decoration: none;
  line-height: 1.35;
}

.aa-header-product-search__result:hover {
  background: #f4f7fa;
  color: var(--shop-color-red);
}

.aa-header-product-search__empty {
  color: #65707a;
  padding: 10px 16px;
}

.aa-header-product-search__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.aa-header-cart {
  align-items: center;
  color: var(--shop-color-blue);
  display: inline-grid;
  gap: 8px;
  grid-template-columns: auto auto;
  position: relative;
  text-decoration: none;
  font-weight: 700;
}

.aa-header-cart__icon {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 50%;
  color: var(--shop-color-red);
  display: inline-grid;
  height: 30px;
  place-items: center;
  width: 30px;
}

.aa-header-cart__icon svg {
  display: block;
  height: 18px;
  width: 18px;
}

.aa-header-cart__count {
  background: var(--shop-color-red);
  border-radius: 999px;
  color: #fff;
  display: inline-grid;
  font-size: .68rem;
  font-weight: 700;
  height: 19px;
  left: 20px;
  line-height: 1;
  min-width: 19px;
  padding: 0 5px;
  place-items: center;
  position: absolute;
  top: -7px;
}

.aa-header-cart__value {
  color: var(--shop-color-blue);
  font-size: .86rem;
  margin-left: 6px;
  white-space: nowrap;
}

.footer-link {
  color: inherit;
  margin-left: 14px;
}

.eyebrow {
  color: #65707a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.shop-head {
  margin: 28px 0 22px;
}

.shop-head-tight {
  margin-bottom: 16px;
}

.shop-head h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

@media (max-width: 575.98px) {
  :root {
    --shop-h1-icon-size: 42px;
    --shop-h1-icon-gap: 10px;
  }
}

.shop-copy {
  color: #4d5963;
  font-size: 1rem;
  margin: 0;
  max-width: 760px;
}

.shop-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.shop-category-nav__item {
  background: #fff;
  border: 1px solid #d8e0e6;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-size: .95rem;
  font-weight: 700;
  min-height: 40px;
  padding: 9px 14px;
  text-decoration: none;
}

.shop-category-nav__item.is-active {
  background: var(--shop-color-blue);
  border-color: var(--shop-color-blue);
  color: #fff;
}

.category-intro-panel {
  margin-bottom: 22px;
}

.category-intro-panel > :last-child {
  margin-bottom: 0;
}

.aa-product-teasers__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aa-product-teaser-card {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.aa-product-teaser-card__image-link {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #eff3f6;
  display: grid;
  overflow: hidden;
  place-items: center;
}

.aa-product-teaser-card__image-link img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.aa-product-teaser-card__image-placeholder {
  color: #65707a;
  font-size: .92rem;
  font-weight: 700;
}

.aa-product-teaser-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.aa-product-teaser-card__title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

.aa-product-teaser-card__title a {
  color: #202428;
  text-decoration: none;
}

.aa-product-teaser-card__text {
  color: #4d5963;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
}

.aa-product-teaser-card__price {
  display: grid;
  gap: 6px;
}

.aa-product-teaser-card__badge {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.aa-product-stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--shop-color-gold);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

.aa-product-stock-badge--detail {
  background: #111827;
}

.aa-product-teaser-card__price-value {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aa-product-teaser-card__price-value strong {
  font-size: 1.2rem;
}

.aa-product-teaser-card__price-strike {
  color: #7a858e;
  text-decoration: line-through;
}

.aa-product-teaser-card__meta,
.aa-product-teaser-card__sku {
  color: #65707a;
  font-size: .88rem;
  margin: 0;
}

.aa-product-teaser-card__button {
  justify-self: start;
}

.aa-container {
  margin: 0 auto;
  max-width: 1320px;
}

.aa-product-page {
  display: grid;
  gap: 28px;
}

.aa-product-hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.aa-product-gallery,
.aa-product-summary,
.aa-product-details {
  display: grid;
  gap: 18px;
}

.aa-product-summary:has(> .aa-form-row) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.aa-product-summary:has(> .aa-form-row) > :not(.aa-form-row):not(.aa-order-box) {
  grid-column: 1 / -1;
}

.aa-product-summary:has(> .aa-form-row) > .aa-form-row,
.aa-product-summary:has(> .aa-form-row) > .aa-order-box {
  align-self: start;
}

.aa-gallery-stage {
  position: relative;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.aa-gallery-hero {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.aa-gallery-hero--placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  color: #65707a;
  display: grid;
  font-weight: 700;
  width: 100%;
}

.aa-gallery-nav {
  align-items: center;
  align-self: stretch;
  background: #f3f5f7;
  border: 0;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: 1.8rem;
  justify-content: center;
  min-width: 54px;
}

.aa-gallery-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.aa-gallery-thumb {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

.aa-gallery-thumb.is-active {
  border-color: #195a92;
  box-shadow: 0 0 0 2px rgba(25, 90, 146, .15);
}

.aa-gallery-thumb img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.aa-product-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
}

.aa-product-shortdesc {
  color: #4d5963;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.aa-product-meta {
  color: #4d5963;
  display: grid;
  gap: 8px;
}

.aa-product-meta p {
  margin: 0;
}

.aa-price-box {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.aa-price-box__value {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aa-price-box__value strong {
  font-size: 1.8rem;
}

.aa-price-meta {
  color: #65707a;
  margin: 0;
}

.aa-button[disabled],
.aa-button.is-disabled,
.btn-primary[disabled] {
  background: #d7dee6;
  border-color: #d7dee6;
  color: #5f6f7f;
  cursor: not-allowed;
  pointer-events: none;
}

.aa-form-row,
.aa-order-box {
  display: grid;
  gap: 10px;
}

.aa-label {
  color: #65707a;
  font-size: .82rem;
  font-weight: 700;
}

.aa-input-with-unit {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.aa-input,
.aa-quantity__input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  height: 44px;
  padding: 0 12px;
  width: 100%;
}

.aa-input[type="number"],
.aa-quantity__input[type="number"],
.cart-qty-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.aa-input[type="number"]::-webkit-outer-spin-button,
.aa-input[type="number"]::-webkit-inner-spin-button,
.aa-quantity__input[type="number"]::-webkit-outer-spin-button,
.aa-quantity__input[type="number"]::-webkit-inner-spin-button,
.cart-qty-input[type="number"]::-webkit-outer-spin-button,
.cart-qty-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.aa-input-unit {
  color: #65707a;
  font-weight: 700;
  margin-left: 10px;
}

.aa-help {
  color: #65707a;
  font-size: .85rem;
  margin: 0;
}

.aa-quantity {
  display: grid;
  gap: 8px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
}

.aa-quantity__button {
  background: #eef3f7;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.aa-button--full {
  width: 100%;
}

.aa-cart-feedback {
  min-height: 20px;
}

.aa-cart-feedback.is-error {
  color: #8a2929;
}

.aa-cart-modal[hidden] {
  display: none;
}

.aa-cart-modal {
  align-items: center;
  background: rgb(23 58 89 / 42%);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1100;
}

.aa-cart-modal__panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgb(23 58 89 / 22%);
  display: grid;
  gap: 20px;
  max-width: 460px;
  padding: 28px;
  position: relative;
  text-align: center;
  width: min(100%, 460px);
}

.aa-cart-modal__panel h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0;
}

.aa-cart-modal__close {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd6dc;
  border-radius: 999px;
  color: var(--shop-color-blue);
  cursor: pointer;
  display: flex;
  font-size: .9rem;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
}

.aa-cart-modal__button {
  justify-self: center;
}

.aa-tabs {
  display: grid;
  gap: 16px;
}

.aa-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aa-tabs__button {
  background: #fff;
  border: 1px solid #d8e0e6;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-weight: 700;
  min-height: 40px;
  padding: 8px 14px;
}

.aa-tabs__button.is-active {
  background: var(--shop-color-blue);
  border-color: var(--shop-color-blue);
  color: #fff;
}

.aa-tabs__content {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 20px;
}

.aa-tab-panel {
  display: none;
}

.aa-tab-panel.is-active {
  display: block;
}

.aa-tab-panel > :first-child {
  margin-top: 0;
}

.aa-tab-panel > :last-child {
  margin-bottom: 0;
}

.aa-product-download {
  margin-top: 20px;
}

.checkout-shell {
  display: grid;
  gap: 18px;
}

.checkout-address-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.checkout-panel {
  display: grid;
  gap: 18px;
}

.checkout-summary-panel {
  margin-top: 40px;
}

.checkout-summary-panel__title {
  color: var(--shop-color-red);
  font-size: 1.4rem;
  margin: 0;
}

.section-head-lite h2 {
  font-size: 1.4rem;
  margin: 0;
}

.checkout-grid {
  display: grid;
  gap: 14px;
}

.checkout-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field span {
  color: #65707a;
  font-size: .82rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea:not(.ace_text-input) {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 40px;
  padding: 10px 12px;
  width: 100%;
}

.form-field textarea:not(.ace_text-input) {
  min-height: 96px;
  resize: vertical;
}

.full-span {
  grid-column: 1 / -1;
}

.toggle-field.boxed {
  background: #f8fafb;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  padding: 10px 12px;
}

.checkout-toggle {
  margin-top: -4px;
}

.checkout-price-note {
  color: #65707a;
  font-size: .72rem;
  line-height: 1.2;
  text-align: right;
}

.checkout-voucher-message {
  color: var(--shop-color-red);
  font-size: .864rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.prepayment-notice {
  background: #fff8eb;
  border: 1px solid #f1d29a;
  border-radius: 6px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.prepayment-notice h2,
.prepayment-notice p,
.prepayment-notice dl {
  margin: 0;
}

.prepayment-notice dl {
  display: grid;
  gap: 6px;
}

.prepayment-notice dl div {
  display: grid;
  gap: 12px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.prepayment-notice dt {
  color: #65707a;
  font-weight: 700;
}

.prepayment-notice dd {
  margin: 0;
}

.checkout-acceptance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-finish-summary {
  border-top: 1px solid #e5eaee;
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.checkout-finish-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-finish-row > strong {
  justify-self: end;
}

.checkout-finish-row--total {
  font-weight: 700;
}

.checkout-finish-row--total strong {
  font-size: 1.3rem;
}

.checkout-finish-row--payment {
  grid-template-columns: 1fr;
}

.checkout-code-field {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 130px minmax(180px, 320px);
}

.checkout-code-field span {
  margin: 0;
}

.checkout-radio-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-radio-row > span {
  font-weight: 700;
  margin-right: 4px;
}

.checkout-radio-row label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.checkout-radio-row label > span {
  display: grid;
  gap: 2px;
}

.checkout-option-note {
  color: #65707a;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.3;
}

.checkout-cart-items {
  display: grid;
  gap: 12px;
}

.checkout-cart-item {
  align-items: center;
  border-top: 1px solid #e5eaee;
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr) minmax(84px, auto) minmax(92px, auto) minmax(92px, auto);
  padding-top: 12px;
}

.checkout-cart-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.checkout-cart-item > div {
  display: grid;
  gap: 4px;
}

.checkout-cart-image {
  aspect-ratio: 4 / 3;
  background: #eef3f7;
  border-radius: 6px;
  overflow: hidden;
}

.checkout-cart-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.checkout-cart-image span {
  align-self: center;
  color: #65707a;
  font-size: .65rem;
  justify-self: center;
}

.checkout-cart-sku {
  color: #65707a;
  font-size: .5rem;
  line-height: 1.2;
}

.checkout-cart-quantity,
.checkout-cart-unit-price,
.checkout-cart-line-price {
  justify-items: end;
}

.checkout-cart-quantity {
  color: #65707a;
}

.checkout-cart-unit-price small {
  color: #65707a;
  font-size: .72rem;
  line-height: 1.2;
}

.checkout-cart-line-price strong {
  font-weight: 700;
}

.checkout-totals {
  border-top: 1px solid #e5eaee;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
}

.checkout-totals div {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.checkout-totals--subtotal div {
  justify-content: flex-end;
}

.checkout-totals dt,
.checkout-totals dd {
  margin: 0;
}

.checkout-totals--subtotal dd {
  font-weight: 700;
}

.checkout-total-line {
  font-size: 1.15rem;
  font-weight: 700;
}

.panel {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 22px;
}

.shop-card h2,
.cart-panel h2 {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.shop-card p:last-of-type {
  color: #4d5963;
  margin-bottom: 18px;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 92px;
  padding: 0 14px;
  text-decoration: none;
}

.btn-primary {
  background: var(--shop-color-red);
  border: 1px solid var(--shop-color-red);
  color: #fff;
}

.btn-primary:hover {
  background: #97131d;
  border-color: #97131d;
  color: #fff;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.btn-secondary {
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  color: var(--shop-color-blue);
}

.btn-danger {
  background: #8a2929;
  border: 1px solid #8a2929;
  color: #fff;
}

.cart-panel {
  --cart-image-width: 92px;
  --cart-product-width: 340px;
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.cart-panel-title {
  color: var(--shop-color-red);
}

.shop-website-content {
  max-width: 1320px;
  padding-left: 18px;
  padding-right: 18px;
}

.cart-summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-total-row {
  align-items: baseline;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.cart-total-row span {
  color: #65707a;
  font-weight: 700;
}

.cart-total-row strong {
  color: var(--shop-color-gray);
  font-size: 1.35rem;
}

.cart-item {
  align-items: center;
  border-top: 1px solid #e5eaee;
  display: grid;
  gap: 14px;
  grid-template-columns: var(--cart-image-width) var(--cart-product-width) minmax(360px, 1fr);
  padding-top: 12px;
}

.cart-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.cart-item-main {
  display: grid;
  gap: 4px;
}

.cart-item-link {
  color: inherit;
  text-decoration: none;
}

.cart-item-link:hover {
  color: var(--shop-color-red);
  text-decoration: underline;
}

.cart-item-sku {
  color: #65707a;
  font-size: .6rem;
  line-height: 1.2;
}

.cart-item-image {
  aspect-ratio: 4 / 3;
  background: #eef3f7;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  overflow: hidden;
  place-items: center;
}

.cart-item-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.cart-item-image a {
  display: block;
  height: 100%;
}

.cart-item-image span {
  color: #65707a;
  font-size: .72rem;
  font-weight: 700;
}

.cart-item-edit {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 96px minmax(220px, auto) auto minmax(96px, 1fr);
}

.cart-item-edit > strong {
  justify-self: end;
}

.cart-qty-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-qty-field {
  display: grid;
  gap: 4px;
}

.cart-qty-field span {
  color: #65707a;
  font-size: .72rem;
  font-weight: 700;
}

.cart-qty-input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  height: 40px;
  padding: 0 10px;
  width: 112px;
}

.cart-unit-price {
  display: grid;
  gap: 2px;
}

.cart-unit-price small {
  color: #65707a;
  font-size: .72rem;
  font-weight: 700;
}

.cart-remove-button {
  background: #fff;
  border: 1px solid var(--shop-color-red);
  border-radius: 5px;
  color: var(--shop-color-red);
  font-size: .78rem;
  font-weight: 700;
  height: 32px;
  padding: 0 10px;
}

.cart-remove-button:hover {
  background: var(--shop-color-red);
  color: #fff;
}

.empty-state,
.muted {
  color: #65707a;
}

.field-error {
  color: #8a2929;
}

.section-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.shop-admin-shell {
  display: grid;
  gap: 18px;
}

.shop-admin-page-container {
  max-width: none;
  padding-left: 16px;
  padding-right: 16px;
}

.shop-admin-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.shop-admin-head--compact {
  justify-content: flex-end;
}

.shop-admin-navbar-logout {
  margin: 0;
}

.shop-admin-navbar-logout button {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: .86rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0 12px;
}

.shop-admin-head h1,
.shop-admin-form h2,
.shop-admin-preview h2,
.shop-admin-login h1 {
  margin: 0;
}

.shop-admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-admin-form {
  display: grid;
  gap: 14px;
}

.shop-admin-form textarea:not(.ace_text-input) {
  font-family: Consolas, "Courier New", monospace;
}

.shop-admin-preview,
.shop-admin-save {
  grid-column: 1 / -1;
}

.shop-admin-section-head {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.shop-admin-section-head h2,
.shop-template-html h2 {
  margin: 0;
}

.shop-admin-preview-box {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 16px;
}

.shop-admin-preview-box nav,
.shop-admin-preview-box footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-admin-preview-box nav span,
.shop-admin-preview-box footer span {
  background: #eef3f7;
  border-radius: 6px;
  padding: 6px 10px;
}

.shop-admin-save {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.shop-admin-login {
  display: grid;
  gap: 16px;
  margin: 32px auto;
  max-width: 420px;
}

.shop-admin-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 6px;
  color: #14532d;
  padding: 10px 12px;
}

.shop-admin-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #7f1d1d;
  padding: 10px 12px;
}

.shop-admin-page-create {
  align-items: end;
  background: #f8fafb;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) minmax(170px, .8fr) minmax(130px, .55fr) auto;
  padding: 10px;
}

.shop-admin-page-create label {
  display: grid;
  gap: 4px;
}

.shop-admin-page-create span {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
}

.shop-admin-page-create input,
.shop-admin-page-create select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 9px;
  width: 100%;
}

.shop-admin-page-create button {
  align-items: center;
  background: #195a92;
  border: 1px solid #195a92;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.shop-admin-page-create--sidebar {
  align-items: stretch;
  grid-template-columns: 1fr;
}

.shop-admin-page-create--sidebar button {
  width: 100%;
}

.shop-admin-bank-import {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4e8;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, auto) auto;
  margin-bottom: 12px;
  padding: 12px;
}

.shop-admin-bank-import div {
  display: grid;
  gap: 2px;
}

.shop-admin-bank-import span {
  color: #65707a;
  font-size: .78rem;
}

.shop-admin-toast {
  animation: shop-admin-toast-in .18s ease-out;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(23, 58, 89, .18);
  font-size: .92rem;
  font-weight: 700;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 1000;
}

.shop-admin-toast.is-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #14532d;
}

.shop-admin-toast.is-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

.shop-admin-toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

@keyframes shop-admin-toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-admin-topnav {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
}

.shop-admin-topnav a,
.shop-admin-topnav span {
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-weight: 700;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
}

.shop-admin-topnav a:hover {
  background: #eef3f7;
}

.shop-admin-topnav .is-active {
  background: var(--shop-color-blue);
  color: #fff;
}

.shop-admin-topnav span {
  color: #8a959e;
}

.shop-gift-voucher-admin-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.shop-gift-voucher-admin-card {
  display: grid;
  gap: 6px;
}

.shop-gift-voucher-admin-card span {
  color: #65707a;
  font-size: .82rem;
}

.shop-gift-voucher-admin-card strong {
  font-size: 1.3rem;
}

.shop-gift-voucher-admin-filter {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 1fr) 220px auto;
  margin-bottom: 16px;
}

.shop-gift-voucher-admin-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .95fr);
}

.shop-gift-voucher-admin-table-wrap {
  overflow-x: auto;
}

.shop-gift-voucher-admin-table {
  border-collapse: collapse;
  width: 100%;
}

.shop-gift-voucher-admin-table th,
.shop-gift-voucher-admin-table td {
  border-bottom: 1px solid #e5eaee;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.shop-gift-voucher-admin-table th {
  color: #65707a;
  font-size: .82rem;
  font-weight: 700;
}

.shop-gift-voucher-admin-table td small {
  color: #65707a;
}

.shop-gift-voucher-admin-table tr.is-selected {
  background: #f9fbfc;
}

.shop-gift-voucher-admin-table a {
  color: var(--shop-color-blue);
  text-decoration: none;
}

.shop-gift-voucher-admin-table a:hover {
  color: var(--shop-color-red);
}

.shop-gift-voucher-admin-detail {
  display: grid;
  gap: 16px;
  align-content: start;
}

.shop-gift-voucher-admin-detail__meta,
.shop-gift-voucher-admin-detail__notes,
.shop-gift-voucher-admin-detail__grid {
  display: grid;
  gap: 12px;
}

.shop-gift-voucher-admin-detail__meta,
.shop-gift-voucher-admin-detail__notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-gift-voucher-admin-detail__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-gift-voucher-admin-detail__meta > div,
.shop-gift-voucher-admin-detail__notes > div,
.shop-gift-voucher-admin-detail-card,
.shop-gift-voucher-admin-ledger__item {
  background: #f8fafb;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  padding: 12px 14px;
}

.shop-gift-voucher-admin-detail__meta span,
.shop-gift-voucher-admin-detail__notes span {
  color: #65707a;
  display: block;
  font-size: .8rem;
  margin-bottom: 4px;
}

.shop-gift-voucher-admin-detail-card h3,
.shop-gift-voucher-admin-ledger h3 {
  margin: 0 0 10px;
}

.shop-gift-voucher-admin-detail-card p {
  margin: 0;
}

.shop-gift-voucher-admin-note-form {
  display: grid;
  gap: 10px;
}

.shop-gift-voucher-admin-note-form textarea {
  min-height: 110px;
  resize: vertical;
  width: 100%;
}

.shop-gift-voucher-admin-ledger__list {
  display: grid;
  gap: 10px;
}

.shop-gift-voucher-admin-ledger__item {
  display: grid;
  gap: 8px;
}

.shop-gift-voucher-admin-ledger__item > div {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.shop-gift-voucher-admin-ledger__item span,
.shop-gift-voucher-admin-ledger__item p {
  color: #65707a;
  margin: 0;
}

.shop-gift-voucher-admin-ledger__item .is-negative {
  color: var(--shop-color-red);
}

.shop-gift-voucher-admin-ledger__item .is-positive {
  color: var(--shop-color-blue);
}

.shop-admin-subnav {
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.shop-admin-subnav a {
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: .86rem;
  font-weight: 700;
  min-height: 36px;
  padding: 8px 12px;
  text-decoration: none;
}

.shop-admin-subnav a:hover {
  background: #eef3f7;
}

.shop-admin-subnav a.is-active {
  background: var(--shop-color-blue);
  color: #fff;
}

.shop-admin-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 250px minmax(0, 1fr) 260px;
}

.shop-media-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.shop-media-folders {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
  position: sticky;
  top: 16px;
}

.shop-media-folder-create,
.shop-media-folder-list {
  display: grid;
  gap: 10px;
}

.shop-media-folder-create-box {
  background: #f8fafc;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 10px;
}

.shop-media-folder-list {
  gap: 6px;
}

.shop-media-folder-row {
  margin-left: 0;
}

.shop-media-folder-row__icon {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 4px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: .56rem;
  font-weight: 800;
  height: 10px;
  justify-content: center;
  justify-self: center;
  text-transform: uppercase;
  width: 10px;
}

.shop-media-main {
  min-height: 560px;
}

.shop-media-upload-form {
  display: flex;
  justify-content: flex-end;
}

.shop-media-upload-form label {
  cursor: pointer;
  margin: 0;
}

.shop-media-upload-placeholder {
  align-items: center;
  border: 1px dashed #aac1d5;
  border-radius: 8px;
  color: #65707a;
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 220px;
  padding: 24px;
  text-align: center;
}

.shop-media-upload-placeholder strong {
  color: var(--shop-color-blue);
  font-size: 1rem;
}

.shop-media-library {
  display: grid;
  gap: 16px;
}

.shop-media-library__tools {
  display: flex;
  justify-content: flex-start;
}

.shop-media-library__search {
  margin: 0;
  max-width: 420px;
  width: 100%;
}

.shop-media-library__empty {
  align-items: center;
  border: 1px dashed #aac1d5;
  border-radius: 8px;
  color: #65707a;
  display: grid;
  min-height: 140px;
  padding: 24px;
  text-align: center;
}

.shop-media-grid--tiles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
}

@media (max-width: 1599px) {
  .shop-media-grid--tiles {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
}

@media (max-width: 1199px) {
  .shop-media-grid--tiles {
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  }
}

@media (max-width: 767px) {
  .shop-media-grid--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shop-media-tile {
  min-width: 0;
}

.shop-media-tile__button {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  padding: 8px;
  text-align: left;
  width: 100%;
}

.shop-media-tile__button:hover {
  border-color: #aac1d5;
  box-shadow: 0 0 0 1px #dbe9f4;
}

.shop-media-tile__preview,
.shop-media-dialog__preview,
.shop-media-pdf-preview {
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  overflow: hidden;
}

.shop-media-tile__preview {
  aspect-ratio: 1 / 1;
  display: block;
  width: 100%;
}

.shop-media-tile__preview > img,
.shop-media-dialog__preview > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.shop-media-dialog__preview {
  aspect-ratio: 1 / 1;
  max-width: 320px;
}

.shop-media-dialog__preview > img {
  object-fit: contain;
}

.shop-media-pdf-preview {
  align-items: center;
  background: #fff1f1;
  border-color: #e5a3a3;
  color: #b91c1c;
  display: flex;
  font-size: 1.15rem;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  text-decoration: none;
  width: 100%;
}

.shop-media-pdf-preview:hover {
  background: #ffe4e6;
  color: #8a2929;
}

.shop-media-tile__name {
  color: var(--shop-color-blue);
  display: block;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.shop-media-tile__meta {
  color: #65707a;
  display: grid;
  font-size: .68rem;
  gap: 2px;
  line-height: 1.2;
}

.shop-media-replace-form label {
  cursor: pointer;
  margin: 0;
}

.shop-media-dialog__content {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.shop-media-dialog__body {
  display: grid;
  gap: 14px;
}

.shop-media-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-media-dialog__actions form {
  display: inline-flex;
}

.shop-media-metadata-form {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.shop-media-metadata-form button {
  justify-self: start;
}

.shop-admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.shop-admin-dashboard-panel {
  display: grid;
  gap: 20px;
}

.shop-admin-dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shop-admin-dashboard-card {
  background: #f8fbfd;
  border: 1px solid #dbe5ed;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.shop-admin-dashboard-card__label {
  color: #65707a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.shop-admin-dashboard-card__value {
  color: var(--shop-color-blue);
  font-size: 1.25rem;
  line-height: 1.3;
}

.shop-admin-tree {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 14px;
  position: sticky;
  top: 16px;
}

.shop-admin-tree nav,
.shop-admin-tree__group {
  display: grid;
  gap: 2px;
}

.shop-admin-tree__group {
  margin-left: 0;
  padding-left: 0;
}

.shop-admin-tree__branch {
  border-left: 1px dashed #cfd9e2;
  display: grid;
  gap: 4px;
  margin-left: 12px;
  padding-left: 10px;
}

.shop-admin-tree__group-label {
  border-bottom: 1px solid #dfe4e8;
  color: #65707a;
  font-size: .84rem;
  font-weight: 700;
  margin-top: 4px;
  padding-bottom: 4px;
  text-transform: uppercase;
}

.shop-admin-tree__group-label-link {
  border-radius: 4px;
  display: block;
  text-decoration: none;
}

.shop-admin-tree__group-label-link:hover {
  background: #eef3f7;
  color: var(--shop-color-blue);
}

.shop-admin-tree__group-label-link.is-active {
  border-bottom-color: var(--shop-color-blue);
  color: var(--shop-color-blue);
}

.shop-admin-tree__root,
.shop-admin-tree__item {
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: block;
  font-weight: 700;
  min-height: 34px;
  padding: 8px 10px;
  text-decoration: none;
}

.shop-admin-tree__item {
  font-size: .92rem;
  font-weight: 600;
  margin-left: calc(var(--tree-depth, 0) * 14px);
}

.shop-admin-tree__item.is-child {
  margin-left: 10px;
}

.shop-admin-tree__item.is-grandchild {
  margin-left: 22px;
}

.shop-admin-tree__root:hover,
.shop-admin-tree__item:hover {
  background: #eef3f7;
}

.shop-admin-tree__root.is-active,
.shop-admin-tree__item.is-active {
  background: var(--shop-color-blue);
  color: #fff;
}

.shop-admin-tree__item.is-muted {
  color: #8a959e;
  cursor: default;
}

.shop-admin-tree-create {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
}

.shop-admin-tree-create label {
  display: grid;
  gap: 4px;
}

.shop-admin-tree-create span {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
}

.shop-admin-tree-create input,
.shop-admin-tree-create select,
.shop-admin-tree-row__rename input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 9px;
  width: 100%;
}

.shop-admin-tree-create button,
.shop-admin-tree-row button {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  justify-content: center;
  min-height: 32px;
  padding: 0 8px;
}

.shop-admin-tree-create > button {
  background: #195a92;
  border-color: #195a92;
  color: #fff;
}

.shop-admin-tree-movebar {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.shop-admin-tree-movebar__label {
  color: #5a6672;
  font-size: .78rem;
  font-weight: 700;
}

.shop-admin-template-library {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
  position: sticky;
  top: 16px;
}

.shop-admin-template-library__head {
  border-bottom: 1px solid #dfe4e8;
  padding-bottom: 6px;
}

.shop-admin-template-library__head h2 {
  color: var(--shop-color-blue);
  font-size: .98rem;
  margin: 0;
}

.shop-admin-template-library__list {
  display: grid;
  gap: 6px;
}

.shop-admin-template-library__item {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: grid;
  gap: 8px;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 74px;
  padding: 4px 6px;
  text-decoration: none;
}

.shop-admin-template-library__item:hover {
  background: #f3f7fb;
  border-color: #aac1d5;
}

.shop-admin-template-library__item.is-dragging {
  opacity: .45;
}

.shop-admin-template-library__item img,
.shop-admin-template-library__item i,
.shop-admin-template-library__item > span {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: flex;
  font-size: 1.9rem;
  font-weight: 700;
  height: 64px;
  justify-content: center;
  object-fit: cover;
  width: 64px;
}

.shop-admin-template-library__item strong {
  font-size: .84rem;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-admin-tree-movebar div {
  display: flex;
  gap: 4px;
}

.shop-admin-tree-movebar button {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: .95rem;
  font-weight: 700;
  height: 31px;
  justify-content: center;
  min-width: 31px;
  padding: 0;
}

.shop-admin-tree-movebar button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.shop-admin-tree-row {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: grid;
  gap: 1px;
  grid-template-columns: 8px minmax(0, 1fr) 11px;
  margin-left: calc(var(--tree-depth, 0) * 8px);
  padding: 0 3px;
  position: relative;
}

.shop-admin-tree-row.is-active {
  background: #f3f7fb;
  border-color: #aac1d5;
}

.shop-admin-tree-row.is-muted {
  background: #fbfcfd;
}

.shop-admin-tree-row.is-muted .shop-admin-tree-row__link {
  color: #6b7b89;
}

.shop-admin-tree-row.is-muted .shop-admin-tree-row__menu-button {
  background: #f4f7fa;
  border-color: #d9e2ea;
  color: #506272;
}

.shop-admin-tree-row.is-muted .shop-admin-tree-row__menu-panel {
  opacity: 1;
}

.shop-admin-tree-row__link {
  color: var(--shop-color-blue);
  font-size: .82rem;
  font-weight: 700;
  grid-column: 2;
  line-height: 1;
  text-decoration: none;
}

.shop-admin-tree-row__status {
  border-radius: 999px;
  display: block;
  height: 7px;
  justify-self: center;
  width: 7px;
}

.shop-admin-tree-row__status.is-active {
  background: #22c55e;
}

.shop-admin-tree-row__status.is-inactive {
  background: #9ca3af;
}

.shop-admin-tree-row__moves,
.shop-admin-tree-row__state {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.shop-admin-tree-row__moves {
  display: none;
}

.shop-admin-tree-row__menu {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  position: relative;
}

.shop-admin-tree-row .shop-admin-tree-row__menu-button {
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 4px;
  color: var(--shop-color-blue);
  font-size: .58rem;
  font-weight: 700;
  height: 12px !important;
  line-height: 1;
  min-height: 12px !important;
  min-width: 12px !important;
  padding: 0 !important;
  width: 12px !important;
}

.shop-admin-tree-row__menu-button span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.shop-admin-tree-row__menu-panel {
  background: #fff;
  border: 1px solid #cdd8e2;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 58, 89, .18);
  display: none;
  min-width: 132px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
}

.shop-admin-tree-row__menu.is-open .shop-admin-tree-row__menu-panel {
  display: grid;
  gap: 4px;
}

.shop-admin-tree-row__menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-size: .78rem;
  justify-content: flex-start;
  min-height: 28px;
  padding: 0 8px;
  width: 100%;
}

.shop-admin-tree-row__menu-panel button:hover {
  background: #eef3f7;
}

.shop-admin-tree-row__menu-rename {
  border-top: 1px solid #e4ebf1;
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding-top: 6px;
}

.shop-admin-tree-row__menu-rename input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 9px;
  width: 100%;
}

.shop-admin-tree-row__menu-rename[hidden] {
  display: none;
}

.shop-admin-tree-row__moves button {
  min-width: 31px;
  padding: 0;
}

.shop-admin-dialog {
  background: transparent;
  border: 0;
  max-width: min(900px, calc(100vw - 48px));
  padding: 0;
  width: 100%;
}

.shop-admin-dialog::backdrop {
  background: rgba(23, 58, 89, .42);
}

.shop-admin-dialog[hidden] {
  display: none;
}

.shop-admin-dialog__backdrop-form {
  inset: 0;
  position: fixed;
}

.shop-admin-dialog__backdrop-form button {
  background: transparent;
  border: 0;
  cursor: default;
  height: 100%;
  inset: 0;
  padding: 0;
  position: fixed;
  width: 100%;
}

.shop-admin-dialog__panel {
  background: #fff;
  border: 1px solid #d7e1ea;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(23, 58, 89, .24);
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.shop-admin-dialog__head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.shop-admin-dialog__head h2,
.shop-admin-dialog__head p {
  margin: 0;
}

.shop-admin-dialog__head p {
  color: #65707a;
  margin-top: 6px;
}

.shop-admin-dialog__close {
  align-items: center;
  background: #eef3f7;
  border: 0;
  border-radius: 999px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-size: 1.3rem;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 0;
}

.shop-admin-page-properties-form {
  display: grid;
  gap: 18px;
}

.shop-admin-page-properties-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-media-warning-dialog__body {
  display: grid;
  gap: 14px;
}

.shop-media-warning-dialog__table-wrap {
  overflow-x: auto;
}

.shop-media-warning-dialog__table td,
.shop-media-warning-dialog__table th {
  white-space: nowrap;
}

.shop-admin-page-properties-form__grid label {
  display: grid;
  gap: 8px;
}

.shop-admin-page-properties-form__grid span {
  color: var(--shop-color-blue);
  font-size: .82rem;
  font-weight: 700;
}

.shop-admin-page-properties-form__grid input,
.shop-admin-page-properties-form__grid textarea {
  border: 1px solid #cfd6dc;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.shop-admin-page-properties-form__grid textarea {
  min-height: 180px;
  resize: vertical;
}

.shop-admin-page-properties-form__grid input[readonly] {
  background: #f7fafc;
  color: #65707a;
}

.shop-admin-page-properties-form__hint {
  color: #65707a;
  font-size: .86rem;
  line-height: 1.5;
}

.shop-admin-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .shop-admin-dialog {
    max-width: calc(100vw - 20px);
  }

  .shop-admin-dialog__panel {
    padding: 18px;
  }

  .shop-admin-page-properties-form__grid {
    grid-template-columns: 1fr;
  }
}

.shop-admin-tree-row button.is-danger {
  background: #8a2929;
  border-color: #8a2929;
  color: #fff;
}

.shop-template-list {
  display: grid;
  gap: 10px;
}

.shop-nav-editor {
  display: grid;
  gap: 8px;
}

.shop-nav-editor__row {
  align-items: center;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 100px 92px auto auto;
  padding: 10px 12px;
}

.shop-nav-editor__title {
  display: grid;
  gap: 6px;
  padding-left: calc(var(--nav-depth, 0) * 26px);
  position: relative;
}

.shop-nav-editor__title::before {
  background: #cfd9e2;
  content: "";
  display: block;
  height: 1px;
  left: calc((var(--nav-depth, 0) * 26px) - 18px);
  position: absolute;
  top: 50%;
  width: calc(var(--nav-depth, 0) * 18px);
}

.shop-nav-editor__title small {
  color: #65707a;
}

.shop-nav-editor__title label {
  display: grid;
  gap: 4px;
}

.shop-nav-editor__title label span {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
}

.shop-nav-editor__title input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.shop-nav-editor__title button {
  align-self: start;
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-weight: 700;
  justify-self: start;
  min-height: 34px;
  padding: 0 10px;
}

.shop-nav-editor__title a {
  color: var(--shop-color-blue);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.shop-nav-editor__actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.shop-nav-editor__state-actions,
.shop-template-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shop-nav-editor__actions button {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: inline-flex;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  min-width: 34px;
}

.shop-nav-editor__templates {
  border-top: 1px solid #e8edf1;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  margin-left: calc(var(--nav-depth, 0) * 26px);
  padding-top: 10px;
}

.shop-nav-template-add {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) auto;
}

.shop-nav-template-add select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 36px;
  padding: 8px 10px;
  width: 100%;
}

.shop-nav-template-add button,
.shop-nav-template-row form:last-child button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  min-height: 34px;
  padding: 0 10px;
}

.shop-nav-template-add button {
  background: #195a92;
  border: 1px solid #195a92;
  color: #fff;
}

.shop-nav-template-add button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.shop-nav-template-list {
  display: grid;
  gap: 8px;
}

.shop-nav-template-row {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  padding: 8px 10px;
}

.shop-nav-template-row span {
  display: grid;
  gap: 2px;
}

.shop-nav-template-row small {
  color: #65707a;
}

.shop-page-template-window {
  display: grid;
  gap: 16px;
  min-height: 520px;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.shop-page-template-window.is-drop-target {
  background: #f3f7fb;
  border-color: #4f8fbd;
  box-shadow: inset 0 0 0 2px rgba(79, 143, 189, .22);
}

.shop-page-template-window.is-drop-disabled {
  opacity: .74;
}

.shop-page-url-form {
  align-items: flex-end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) auto;
}

.shop-page-url-form label {
  display: grid;
  gap: 4px;
}

.shop-page-url-form span {
  color: #5a6b79;
  font-size: .8rem;
  font-weight: 700;
}

.shop-page-url-form input {
  min-height: 36px;
}

.shop-page-delivery-mode-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.shop-page-delivery-mode-form > span {
  color: #5a6b79;
  font-size: .8rem;
  font-weight: 700;
}

.shop-page-delivery-mode-form label {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.section-actions form {
  margin: 0;
}

.shop-admin-inline-note {
  color: #5a6b79;
  font-size: .85rem;
}

.shop-page-empty-window {
  min-height: 460px;
}

.shop-page-template-list {
  display: grid;
  gap: 0;
}

.shop-page-template-row {
  border-top: 1px solid #dfe4e8;
}

.shop-page-template-row:last-child {
  border-bottom: 1px solid #dfe4e8;
}

.shop-page-template-row__summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  list-style: none;
  padding: 14px 0;
}

.shop-page-template-row__summary::-webkit-details-marker {
  display: none;
}

.shop-page-template-row__identity {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 128px minmax(0, 1fr);
  min-width: 0;
}

.shop-page-template-row__identity img,
.shop-page-template-row__identity i,
.shop-page-template-row__fallback {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  color: var(--shop-color-blue);
  display: flex;
  font-size: 2.8rem;
  font-weight: 700;
  height: 128px;
  justify-content: center;
  object-fit: cover;
  width: 128px;
}

.shop-page-template-row__meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shop-page-template-row__meta small {
  color: #65707a;
}

.shop-page-template-row__content {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
}

.shop-page-template-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-page-template-row__actions form {
  margin: 0;
}

.shop-page-template-row__actions--inline {
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
}

.shop-page-template-switch {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--shop-color-blue);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  padding: 0;
}

.shop-page-template-switch:focus,
.shop-page-template-switch:hover,
.shop-page-template-switch:active {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.shop-page-template-switch__track {
  align-items: center;
  background: #c5d1db;
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  padding: 2px;
  transition: background .18s ease;
  width: 42px;
}

.shop-page-template-switch__thumb {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .2);
  display: block;
  height: 20px;
  transform: translateX(0);
  transition: transform .18s ease;
  width: 20px;
}

.shop-page-template-switch__label {
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.shop-page-template-switch.is-active .shop-page-template-switch__track {
  background: var(--shop-color-rating-blue);
}

.shop-page-template-switch.is-active .shop-page-template-switch__thumb {
  transform: translateX(18px);
}

.shop-page-template-switch.is-inactive .shop-page-template-switch__label {
  color: #65707a;
}

.shop-page-template-order-actions {
  align-items: center;
  display: flex !important;
  gap: 4px;
  line-height: 1;
}

.shop-page-template-order-actions--inline {
  justify-self: start;
}

.shop-page-template-order-actions form {
  margin: 0;
}

.shop-page-template-order-actions button {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  color: var(--shop-color-blue);
  cursor: pointer;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 26px;
}

.shop-page-template-order-actions button i {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font-size: .9rem;
  height: auto;
  width: auto;
}

.shop-page-template-order-actions button:hover {
  background: var(--shop-color-blue);
  border-color: var(--shop-color-blue);
  color: #fff;
}

.shop-page-template-label-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 1fr) auto;
}

.shop-page-template-label-form .form-field {
  margin: 0;
}

.shop-page-template-media-slots {
  border-top: 1px solid #e8edf1;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 8px;
  width: 100%;
}

.shop-page-template-text-slots {
  border-top: 1px solid #e8edf1;
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 8px;
}

.shop-page-template-text-slot {
  display: grid;
  gap: 6px;
}

.shop-page-template-text-slot label {
  display: grid;
  gap: 4px;
}

.shop-page-template-text-slot span {
  color: #65707a;
  font-size: .74rem;
  font-weight: 700;
}

.shop-page-template-text-slot textarea {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  font: inherit;
  min-height: 82px;
  padding: 8px 10px;
  resize: vertical;
  width: 100%;
}

.shop-inline-html-editor {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  display: grid;
  gap: 0;
  overflow: hidden;
}

.shop-inline-html-editor .ck-editor__editable_inline {
  min-height: 240px;
}

.shop-inline-html-editor__tools {
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid #edf1f4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
}

.shop-inline-html-editor__raw-wrap {
  background: #fff;
  border-top: 1px solid #edf1f4;
  padding: 12px;
}

.shop-inline-html-editor__raw-label {
  color: var(--shop-color-blue);
  display: block;
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-inline-html-editor__raw {
  background: #fff;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.55;
  min-height: 220px;
  width: 100%;
}

.shop-inline-html-editor__hint {
  color: #4b5c6b;
  font-size: .82rem;
  line-height: 1.45;
  margin-top: 8px;
}

.shop-page-template-text-save {
  align-items: center;
  background: var(--shop-color-blue);
  border: 1px solid var(--shop-color-blue);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  justify-content: center;
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
}

.shop-page-template-category-picker {
  border-top: 1px solid #e8edf1;
  display: grid;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 8px;
}

.shop-page-template-category-picker label {
  display: grid;
  gap: 4px;
}

.shop-page-template-category-picker span {
  color: #65707a;
  font-size: .74rem;
  font-weight: 700;
}

.shop-page-template-category-picker select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 9px;
}

.shop-page-template-media-picker {
  border: 1px solid #e1e8ee;
  border-radius: 8px;
  display: block;
  max-height: none;
  overflow: hidden;
  width: 100%;
}

.shop-page-template-media-summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(160px, .9fr) 56px minmax(0, 1fr) auto;
  list-style: none;
  padding: 8px;
}

.shop-page-template-media-summary::-webkit-details-marker {
  display: none;
}

.shop-page-template-media-summary__placeholder {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.shop-page-template-media-summary__preview {
  display: grid;
}

.shop-page-template-media-summary__preview img,
.shop-page-template-media-summary__preview .shop-page-template-media-empty {
  height: 42px;
}

.shop-page-template-media-summary__preview img {
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.shop-page-template-media-summary__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shop-page-template-media-summary__meta strong,
.shop-page-template-media-summary__meta small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-page-template-media-summary__meta strong {
  color: var(--shop-color-blue);
  font-size: .78rem;
}

.shop-page-template-media-summary__meta small {
  color: #65707a;
  font-size: .7rem;
}

.shop-page-template-media-summary__action {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-size: .74rem;
  font-weight: 700;
  padding: 6px 8px;
  white-space: nowrap;
}

.shop-page-template-media-picker[open] .shop-page-template-media-summary {
  border-bottom: 1px solid #e8edf1;
}

.shop-page-template-media-controls {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(160px, .8fr) minmax(180px, 1fr);
  padding: 8px 8px 0;
}

.shop-page-template-media-controls label {
  display: grid;
  gap: 4px;
}

.shop-page-template-media-controls span {
  color: #65707a;
  font-size: .74rem;
  font-weight: 700;
}

.shop-page-template-media-controls input,
.shop-page-template-media-controls select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 9px;
  width: 100%;
}

.shop-page-template-media-picker__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.shop-page-template-media-card {
  display: grid;
}

.shop-page-template-media-card[hidden] {
  display: none;
}

.shop-page-template-media-picker__empty {
  border: 1px dashed #d8e4ee;
  border-radius: 8px;
  color: #65707a;
  font-size: .78rem;
  padding: 12px;
}

.shop-page-template-media-picker__empty[hidden] {
  display: none;
}

.shop-page-template-media-card button {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  color: var(--shop-color-blue);
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 7px;
  text-align: left;
}

.shop-page-template-media-card.is-selected button {
  background: #f3f7fb;
  border-color: #4f8fbd;
  box-shadow: inset 0 0 0 1px rgba(79, 143, 189, .18);
}

.shop-page-template-media-card img,
.shop-page-template-media-empty {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  display: flex;
  height: 72px;
  justify-content: center;
  object-fit: cover;
  width: 100%;
}

.shop-page-template-media-empty {
  color: #65707a;
  font-weight: 700;
}

.shop-page-template-media-card strong,
.shop-page-template-media-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-page-template-media-card strong {
  font-size: .78rem;
  line-height: 1.2;
}

.shop-page-template-media-card small {
  color: #65707a;
  font-size: .7rem;
  line-height: 1.2;
}

.shop-template-row {
  align-items: center;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  color: #202428;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) 120px 120px 120px 92px auto;
  padding: 12px 14px;
}

.shop-template-row:hover {
  border-color: #aac1d5;
  background: #f8fafb;
}

.shop-template-row a {
  color: #202428;
  text-decoration: none;
}

.shop-template-row strong,
.shop-template-row small {
  display: block;
}

.shop-template-row small {
  color: #65707a;
  margin-top: 3px;
}

.shop-template-state {
  background: #eef3f7;
  border-radius: 6px;
  color: #4d5963;
  font-weight: 700;
  justify-self: start;
  padding: 5px 8px;
}

.shop-template-state.is-active {
  background: #dcfce7;
  color: #14532d;
}

.shop-template-editor {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr);
}

.shop-template-editor-page .shop-admin-head h1 {
  font-size: 1rem;
}

.shop-template-tabs {
  align-items: flex-start;
  display: flex;
  gap: 6px;
  position: relative;
}

.shop-template-tab {
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px 6px 0 0;
  color: var(--shop-color-blue);
  cursor: pointer;
  display: block;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 7px 10px;
}

.shop-template-tab.is-active {
  background: var(--shop-color-blue);
  border-color: var(--shop-color-blue);
  color: #fff;
}

.shop-template-tab-menu {
  position: relative;
}

.shop-template-tab-menu summary {
  list-style: none;
}

.shop-template-tab-menu summary::-webkit-details-marker {
  display: none;
}

.shop-template-tab-panel {
  background: #fff;
  border: 1px solid #d8e4ee;
  border-radius: 0 6px 6px;
  box-shadow: 0 12px 28px rgb(23 58 89 / 16%);
  display: grid;
  gap: 4px;
  left: 0;
  max-height: 320px;
  min-width: 280px;
  overflow-y: auto;
  padding: 8px;
  position: absolute;
  top: calc(100% - 1px);
  z-index: 20;
}

.shop-template-tab-item {
  border-radius: 5px;
  color: var(--shop-color-blue);
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  text-decoration: none;
}

.shop-template-tab-item:hover,
.shop-template-tab-item.is-active {
  background: #f3f7fb;
}

.shop-template-tab-item span {
  font-size: .84rem;
  font-weight: 700;
}

.shop-template-tab-item small,
.shop-template-tab-empty {
  color: #65707a;
  font-size: .76rem;
}

.shop-template-version-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.shop-template-version-panel__current span,
.shop-template-version-panel__empty {
  color: #65707a;
  font-size: .82rem;
  margin: 4px 0 0;
}

.shop-template-version-panel__current {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.shop-template-version-panel__current strong {
  color: var(--shop-color-blue);
  font-size: .9rem;
}

.shop-template-version-dropdown {
  border: 0;
}

.shop-template-version-dropdown summary {
  list-style: none;
}

.shop-template-version-dropdown summary::-webkit-details-marker {
  display: none;
}

.shop-template-version-dropdown__summary {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.shop-template-version-dropdown__summary-copy,
.shop-template-version-dropdown__summary-current {
  display: grid;
  gap: 4px;
}

.shop-template-version-dropdown__summary-copy strong,
.shop-template-version-dropdown__summary-current strong {
  color: var(--shop-color-blue);
  font-size: .9rem;
}

.shop-template-version-dropdown__summary-copy span,
.shop-template-version-dropdown__summary-current span,
.shop-template-version-dropdown__hint,
.shop-template-version-selector__field small,
.shop-template-version-detail__meta span,
.shop-template-version-detail__status span {
  color: #65707a;
  font-size: .76rem;
}

.shop-template-version-dropdown__summary-current {
  justify-items: end;
  text-align: right;
}

.shop-template-version-dropdown__panel {
  border-top: 1px solid #e4ebf1;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
}

.shop-template-version-dropdown__hint {
  margin: 0;
}

.shop-template-version-selector {
  display: grid;
  gap: 12px;
}

.shop-template-version-selector__field {
  gap: 8px;
}

.shop-template-version-selector__input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  color: var(--shop-color-blue);
  font-size: .9rem;
  font-weight: 700;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.shop-template-version-detail-list {
  display: grid;
}

.shop-template-version-detail {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.shop-template-version-detail__head {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.shop-template-version-detail__meta {
  display: grid;
  gap: 3px;
}

.shop-template-version-detail__meta strong {
  color: var(--shop-color-blue);
  font-size: .92rem;
}

.shop-template-version-detail__badges,
.shop-template-version-detail__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-template-version-detail__actions form {
  margin: 0;
}

.shop-template-version-badge {
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 8px;
}

.shop-template-version-badge.is-live {
  background: #e8f7ee;
  color: #17663a;
}

.shop-template-version-badge.is-draft {
  background: #eef3f7;
  color: var(--shop-color-blue);
}

.shop-dashboard-template-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.shop-dashboard-template-summary .shop-admin-section-head {
  margin-bottom: 0;
}

.shop-dashboard-template-summary .shop-admin-section-head p {
  color: #65707a;
  font-size: .82rem;
  margin: 4px 0 0;
}

.shop-dashboard-template-summary__list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shop-dashboard-template-summary__item {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  color: #202428;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 12px;
  text-decoration: none;
}

.shop-dashboard-template-summary__item:hover {
  background: #f8fafb;
  border-color: #aac1d5;
}

.shop-dashboard-template-summary__icon,
.shop-dashboard-template-summary__icon img,
.shop-dashboard-template-summary__icon i {
  align-items: center;
  display: flex;
  justify-content: center;
}

.shop-dashboard-template-summary__icon {
  align-self: start;
  background: #eef3f7;
  border-radius: 8px;
  color: var(--shop-color-blue);
  min-height: 84px;
  min-width: 84px;
}

.shop-dashboard-template-summary__icon img {
  max-height: 48px;
  max-width: 48px;
}

.shop-dashboard-template-summary__icon i,
.shop-dashboard-template-summary__icon span {
  font-size: 2.3rem;
  font-weight: 700;
}

.shop-dashboard-template-summary__content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.shop-dashboard-template-summary__head {
  align-items: start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.shop-dashboard-template-summary__head strong {
  color: var(--shop-color-blue);
  font-size: .9rem;
}

.shop-dashboard-template-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.shop-dashboard-template-summary__content small,
.shop-dashboard-template-summary__versions span {
  color: #65707a;
  font-size: .76rem;
}

.shop-dashboard-template-summary__versions {
  border-top: 1px solid #eef3f7;
  display: grid;
  gap: 3px;
  margin-top: 2px;
  padding-top: 8px;
}

.shop-dashboard-template-summary__versions strong {
  color: var(--shop-color-blue);
}

.shop-dashboard-code-sources {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.shop-dashboard-code-sources .shop-admin-section-head {
  margin-bottom: 0;
}

.shop-dashboard-code-sources .shop-admin-section-head p,
.shop-dashboard-code-sources__group-head p {
  color: #65707a;
  font-size: .82rem;
  margin: 4px 0 0;
}

.shop-dashboard-code-sources__group {
  display: grid;
  gap: 12px;
}

.shop-dashboard-code-sources__group-head h3 {
  color: var(--shop-color-blue);
  font-size: .95rem;
  margin: 0;
}

.shop-dashboard-code-sources__list {
  display: grid;
  gap: 10px;
}

.shop-dashboard-code-sources__item {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.shop-dashboard-code-sources__item-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.shop-dashboard-code-sources__item-head strong {
  color: var(--shop-color-blue);
  font-size: .9rem;
}

.shop-dashboard-code-sources__badge {
  background: #eef3f7;
  border-radius: 999px;
  color: var(--shop-color-blue);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 8px;
  white-space: nowrap;
}

.shop-dashboard-code-sources__meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shop-dashboard-code-sources__meta div {
  display: grid;
  gap: 2px;
}

.shop-dashboard-code-sources__meta dt {
  color: #65707a;
  font-size: .72rem;
  font-weight: 700;
}

.shop-dashboard-code-sources__meta dd {
  color: #202428;
  font-size: .8rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.shop-dashboard-code-sources__actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.shop-dashboard-code-sources__unavailable {
  color: #65707a;
  font-size: .76rem;
  font-weight: 700;
}

.shop-project-config {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.shop-project-config .shop-admin-section-head {
  margin-bottom: 0;
}

.shop-project-config .shop-admin-section-head p,
.shop-project-config__section-head p {
  color: #65707a;
  font-size: .82rem;
  margin: 4px 0 0;
}

.shop-project-config__form,
.shop-project-config__section {
  display: grid;
  gap: 14px;
}

.shop-project-config__section {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  padding: 16px;
}

.shop-project-config__asset-groups {
  display: grid;
  gap: 14px;
}

.shop-project-config__asset-group {
  border: 1px solid #e4ebf1;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.shop-project-config__asset-group-head {
  display: grid;
  gap: 3px;
}

.shop-project-config__section-head h3,
.shop-project-config__style-card-head h4 {
  color: var(--shop-color-blue);
  margin: 0;
}

.shop-project-config__asset-group-head h4 {
  color: var(--shop-color-blue);
  margin: 0;
}

.shop-project-config__asset-group-head p {
  color: #65707a;
  font-size: .8rem;
  margin: 0;
}

.shop-project-config__grid {
  display: grid;
  gap: 12px;
}

.shop-project-config__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-project-config__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-project-config__color-field input {
  font-family: Consolas, "Courier New", monospace;
}

.shop-project-config__color-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 26px minmax(0, 1fr);
}

.shop-project-config__swatch {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  height: 26px;
  width: 26px;
}

.shop-project-config__styles {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-project-config__asset-selects {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-project-config__asset-picker {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  max-height: 340px;
  overflow: auto;
  padding-right: 4px;
}

.shop-project-config__asset-card {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 128px;
  padding: 10px;
  text-align: center;
}

.shop-project-config__asset-card.is-selected {
  border-color: #195a92;
  box-shadow: 0 0 0 2px rgb(25 90 146 / 10%);
}

.shop-project-config__asset-card input {
  margin: 0;
}

.shop-project-config__asset-card img {
  height: 42px;
  max-width: 100%;
  object-fit: contain;
}

.shop-project-config__asset-card span {
  color: var(--shop-color-blue);
  font-size: .76rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.shop-project-config__style-card {
  background: #f8fafb;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.shop-project-config__style-card-head {
  display: grid;
  gap: 2px;
}

.shop-project-config__style-card-head span {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
}

.shop-project-config__style-grid {
  display: grid;
  gap: 10px;
}

.shop-code-source-viewer__meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.shop-code-source-viewer__meta div {
  display: grid;
  gap: 3px;
}

.shop-code-source-viewer__meta strong {
  color: var(--shop-color-blue);
  font-size: .82rem;
}

.shop-code-source-viewer__meta span {
  color: #202428;
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.shop-code-source-viewer {
  display: grid;
  gap: 14px;
}

.shop-code-source-viewer__code {
  background: #f8fafb;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  color: #202428;
  font-family: Consolas, "Courier New", monospace;
  font-size: .84rem;
  line-height: 1.5;
  margin: 0;
  max-height: 70vh;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.shop-media-audit-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-media-audit-summary__card {
  display: grid;
  gap: 4px;
}

.shop-media-audit-summary__card strong {
  color: var(--shop-color-blue);
  font-size: 1.8rem;
}

.shop-media-audit-summary__card span {
  color: #65707a;
  font-size: .84rem;
  font-weight: 700;
}

.shop-media-audit-summary__card.is-warning strong {
  color: var(--shop-color-red);
}

.shop-media-audit-sources__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-media-audit-source {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.shop-media-audit-source.is-unavailable {
  background: #fff8f8;
  border-color: #f1c7cb;
}

.shop-media-audit-source__head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.shop-media-audit-source__badge,
.shop-media-audit-status {
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 8px;
}

.shop-media-audit-source__badge,
.shop-media-audit-status.is-ok {
  background: #e8f7ee;
  color: #17663a;
}

.shop-media-audit-source.is-unavailable .shop-media-audit-source__badge,
.shop-media-audit-status.is-missing {
  background: #fff0f1;
  color: var(--shop-color-red);
}

.shop-media-audit-source p,
.shop-media-audit-source small {
  color: #65707a;
  margin: 0;
}

.shop-media-audit-table-wrap {
  overflow: auto;
}

.shop-media-audit-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.shop-media-audit-table th,
.shop-media-audit-table td {
  border-bottom: 1px solid #e4ebf1;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.shop-media-audit-table th {
  color: var(--shop-color-blue);
  font-size: .78rem;
  font-weight: 700;
}

.shop-media-audit-table td {
  color: #202428;
  font-size: .82rem;
}

.shop-media-audit-table tr.is-missing {
  background: #fffafb;
}

.shop-media-audit-table__file {
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.shop-shipping-rates-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.shop-shipping-rates-form {
  display: grid;
  gap: 18px;
}

.shop-shipping-rates-method {
  display: grid;
  gap: 14px;
}

.shop-shipping-rates-method .shop-admin-section-head {
  align-items: center;
  gap: 12px;
}

.shop-shipping-rates-method__actions {
  display: flex;
  justify-content: flex-end;
}

.shop-shipping-rates-method__description,
.shop-shipping-rates-method__hint {
  color: #5f6f7f;
  font-size: .9rem;
  margin: 0;
}

.shop-shipping-rates-table-wrap {
  overflow: auto;
}

.shop-shipping-rates-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.shop-shipping-rates-table th,
.shop-shipping-rates-table td {
  border-bottom: 1px solid #e4ebf1;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.shop-shipping-rates-table th {
  background: #f7fafc;
  color: var(--shop-color-blue);
  font-size: .78rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  white-space: nowrap;
  z-index: 1;
}

.shop-shipping-rates-table td input {
  min-height: 34px;
  width: 100%;
}

.shop-shipping-rates-sidebar {
  position: sticky;
  top: 16px;
}

.shop-shipping-rates-zone-list {
  display: grid;
  gap: 10px;
}

.shop-shipping-rates-zone {
  background: #f8fafc;
  border: 1px solid #dbe4ec;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.shop-shipping-rates-zone strong,
.shop-shipping-rates-zone p {
  margin: 0;
}

.shop-shipping-rates-zone p {
  color: #5f6f7f;
  font-size: .88rem;
  line-height: 1.4;
}

.shop-shipping-rates-form__actions {
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .shop-shipping-rates-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-shipping-rates-sidebar {
    position: static;
  }
}

.shop-template-workspace,
.shop-template-editor .shop-admin-save {
  grid-column: 1 / -1;
}

.shop-template-workspace {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 1.35fr);
}

.shop-template-settings {
  align-content: start;
}

.shop-template-name-field input {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 8px;
  padding-top: 8px;
}

.shop-template-meta {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 96px 96px;
}

.shop-template-name-field {
  grid-column: 1 / -1;
}

.form-field select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 40px;
  padding: 10px 12px;
  width: 100%;
}

.shop-template-active {
  align-self: end;
  min-height: 40px;
}

.shop-template-icon-panel {
  align-content: start;
}

.shop-template-icon-panel h2 {
  color: #65707a;
  font-size: .78rem;
  font-weight: 700;
}

.shop-template-icon-upload {
  align-items: start;
  border: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 0;
}

.shop-template-icon-upload img,
.shop-template-icon-upload i,
.shop-template-icon-upload > span {
  align-items: center;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  color: #65707a;
  display: flex;
  font-size: 2.8rem;
  font-weight: 700;
  height: 128px;
  justify-content: center;
  object-fit: cover;
  width: 128px;
}

.shop-template-icon-fields {
  display: grid;
  border: 0;
  gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  margin: 0;
  max-height: 180px;
  overflow-y: auto;
  padding: 0;
  padding-right: 4px;
}

.shop-template-icon-search {
  display: grid;
  grid-column: 1 / -1;
}

.shop-template-icon-search input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  min-height: 32px;
  padding: 6px 8px;
  width: 100%;
}

.shop-template-icon-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  grid-column: 1 / -1;
}

.shop-template-icon-tab {
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 5px;
  color: var(--shop-color-blue);
  font-size: .74rem;
  font-weight: 700;
  min-height: 28px;
  padding: 4px 7px;
}

.shop-template-icon-tab.is-active {
  background: var(--shop-color-blue);
  border-color: var(--shop-color-blue);
  color: #fff;
}

.shop-template-icon-tab:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.shop-template-icon-choice {
  align-items: center;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 60px;
  padding: 6px 10px;
}

.shop-template-icon-choice[hidden] {
  display: none;
}

.shop-template-icon-choice:has(input:checked) {
  background: #f3f7fb;
  border-color: #4f8fbd;
}

.shop-template-icon-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shop-template-icon-choice img,
.shop-template-icon-choice i,
.shop-template-icon-choice__preview {
  align-items: center;
  background: #eef3f7;
  border-radius: 5px;
  color: #65707a;
  display: flex;
  font-size: 1.45rem;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.shop-template-icon-choice span:last-child {
  color: var(--shop-color-blue);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shop-template-icon-library-link {
  grid-column: 2;
  justify-self: start;
}

.shop-template-icon-library-page h1 {
  color: var(--shop-color-blue);
  font-size: 1.25rem;
  margin: 0;
}

.shop-template-icon-library-create h2,
.shop-template-icon-library-page .panel h2 {
  color: var(--shop-color-blue);
  font-size: 1rem;
  margin: 0;
}

.shop-template-icon-library-list {
  display: grid;
  gap: 8px;
}

.shop-template-icon-library-row {
  align-items: end;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  padding: 10px;
}

.shop-template-icon-library-row > i,
.shop-template-icon-library-row > img {
  align-items: center;
  align-self: stretch;
  background: #eef3f7;
  border: 1px solid #d8e4ee;
  border-radius: 6px;
  color: var(--shop-color-blue);
  display: flex;
  font-size: 2.5rem;
  justify-content: center;
  min-height: 80px;
  object-fit: cover;
  width: 80px;
}

.shop-template-icon-library-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .8fr) minmax(150px, .65fr) auto;
}

.shop-template-html textarea:not(.ace_text-input) {
  font-family: Consolas, "Courier New", monospace;
  min-height: 520px;
}

.shop-template-code-editor {
  display: grid;
  gap: 12px;
}

.shop-template-code-editor textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
  min-height: 520px;
  overflow: auto;
  padding: 10px 12px;
  tab-size: 2;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  resize: vertical;
  white-space: pre;
  word-break: normal;
}

.shop-template-code-editor__preview-wrap {
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  overflow: hidden;
}

.shop-template-code-editor__preview-label {
  background: #f8fafc;
  border-bottom: 1px solid #d8e4ee;
  color: var(--shop-color-blue);
  font-size: .78rem;
  font-weight: 700;
  padding: 8px 12px;
  text-transform: uppercase;
}

.shop-template-code-editor__preview {
  background: #f8fafb;
  color: #202428;
  font-family: Consolas, "Courier New", monospace;
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
  max-height: 420px;
  min-height: 220px;
  overflow: auto;
  padding: 12px;
  tab-size: 2;
  white-space: pre-wrap;
  word-break: break-word;
}

.shop-template-vars {
  align-content: start;
  min-width: 0;
}

.shop-placeholder-details {
  border-top: 1px solid #e8edf1;
  padding-top: 8px;
}

.shop-placeholder-details summary {
  color: var(--shop-color-blue);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
}

.shop-placeholder-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.shop-placeholder-list code {
  background: #eef3f7;
  border-radius: 6px;
  color: var(--shop-color-blue);
  padding: 6px 8px;
}

.shop-preview-status {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.shop-preview-status div:first-child {
  display: grid;
  gap: 4px;
}

.shop-preview-status span {
  color: #65707a;
}

.shop-preview-frame-panel {
  display: grid;
  gap: 16px;
}

.shop-preview-frame {
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  min-height: 680px;
  width: 100%;
}

.shop-asset-check-list {
  display: grid;
  gap: 10px;
}

.shop-asset-check-row {
  align-items: start;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 92px minmax(220px, 1fr) 110px minmax(220px, 1fr);
  padding: 12px 14px;
}

.shop-asset-check-row.is-ok {
  border-color: #86efac;
}

.shop-asset-check-row.is-warning {
  border-color: #f8c471;
}

.shop-asset-check-row code {
  overflow-wrap: anywhere;
}

.shop-asset-check-row small {
  color: #65707a;
}

@media (max-width: 900px) {
  .aa-product-hero {
    grid-template-columns: 1fr;
  }

  .aa-product-summary:has(> .aa-form-row) {
    grid-template-columns: 1fr;
  }

  .checkout-grid-4,
  .checkout-grid-2 {
    grid-template-columns: 1fr;
  }

  .checkout-cart-item,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-image {
    width: 88px;
  }

  .cart-item-edit {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cart-item-edit > strong {
    justify-self: start;
  }

  .cart-qty-fields {
    flex-direction: column;
  }

  .cart-qty-field,
  .cart-qty-input {
    width: 100%;
  }

  .cart-total-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
  }

  .cart-panel .section-actions {
    width: 100%;
  }

  .cart-panel .section-actions .btn-primary {
    width: 100%;
  }

  .shop-admin-head {
    flex-direction: column;
  }

  .shop-admin-page-create {
    grid-template-columns: 1fr;
  }

  .shop-admin-grid {
    grid-template-columns: 1fr;
  }

  .shop-admin-layout {
    grid-template-columns: 1fr;
  }

  .shop-media-layout {
    grid-template-columns: 1fr;
  }

  .shop-admin-tree,
  .shop-admin-template-library,
  .shop-media-folders {
    position: static;
  }

  .shop-admin-section-head {
    flex-direction: column;
  }

  .shop-code-source-viewer__meta {
    grid-template-columns: 1fr;
  }

  .shop-media-audit-summary,
  .shop-media-audit-sources__grid {
    grid-template-columns: 1fr;
  }

  .shop-project-config__grid--two,
  .shop-project-config__grid--three,
  .shop-project-config__styles,
  .shop-project-config__asset-selects {
    grid-template-columns: 1fr;
  }

  .shop-template-row,
  .shop-template-editor,
  .shop-template-meta,
  .shop-template-workspace,
  .shop-template-icon-library-form,
  .shop-template-icon-library-row,
  .shop-page-template-label-form,
  .shop-nav-editor__row,
  .shop-nav-template-add,
  .shop-nav-template-row,
  .shop-media-metadata-form,
  .shop-asset-check-row {
    grid-template-columns: 1fr;
  }

  .shop-template-version-panel__current,
  .shop-template-version-dropdown__summary,
  .shop-template-version-dropdown__summary-current,
  .shop-template-version-detail__head {
    justify-items: start;
    text-align: left;
  }

  .shop-template-version-detail__actions {
    justify-content: flex-start;
  }

  .shop-media-dialog__content,
  .shop-media-grid--tiles,
  .shop-media-metadata-form {
    grid-template-columns: 1fr;
  }

  .shop-nav-editor__actions {
    justify-content: flex-start;
  }

  .checkout-cart-quantity,
  .checkout-cart-unit-price,
  .checkout-cart-line-price {
    justify-items: start;
  }
}

.gift-voucher-design-admin-preview {
  align-items: end;
  aspect-ratio: 1.15 / 1;
  background-color: #101828;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  color: #fff;
  display: flex;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.gift-voucher-design-admin-preview::after {
  background: linear-gradient(180deg, transparent, rgba(16, 24, 40, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.gift-voucher-design-admin-preview strong {
  position: relative;
  z-index: 1;
}


