/* Storefront palette matched to the Kiddy reference: white canvas, ink type, black buttons. */

body.ax-store {
  background: #fff !important;
  background-image: none !important;
  color: #576471 !important;
  font-family: "Alexandria", sans-serif !important;
}

body.ax-store p,
body.ax-store li,
body.ax-store span,
body.ax-store label,
body.ax-store small,
body.ax-store td,
body.ax-store th,
body.ax-store address,
body.ax-store input,
body.ax-store select,
body.ax-store textarea,
body.ax-store button,
body.ax-store h1,
body.ax-store h2,
body.ax-store h3,
body.ax-store h4,
body.ax-store h5,
body.ax-store h6 {
  font-family: "Alexandria", sans-serif !important;
}

body.ax-store p,
body.ax-store li,
body.ax-store span,
body.ax-store label,
body.ax-store small,
body.ax-store address {
  color: #576471 !important;
}

body.ax-store h1,
body.ax-store h2,
body.ax-store h3,
body.ax-store h4,
body.ax-store h5,
body.ax-store h6,
body.ax-store .text-dark,
body.ax-store .secondary-color,
body.ax-store .primary-color {
  color: #212529 !important;
}

body.ax-store a {
  color: #212529 !important;
}

body.ax-store a:hover {
  color: #000 !important;
}

body.ax-store .ax-btn,
body.ax-store .btn-primary,
body.ax-store .btn-success,
body.ax-store .btn-dark,
body.ax-store .btn-dashboard,
body.ax-store .btn-login,
body.ax-store .checkout-btn,
body.ax-store .page-item.active .page-link,
body.ax-store .ax-brandbar li,
body.ax-store .ax-brandbar a {
  color: #fff !important;
}

body.ax-store .ax-btn:hover,
body.ax-store .btn-primary:hover,
body.ax-store .btn-dark:hover,
body.ax-store .checkout-btn:hover {
  color: #fff !important;
}

body.ax-store .text-white,
body.ax-store .bg-gradient,
body.ax-store .bg-gradient h1,
body.ax-store .bg-gradient p,
body.ax-store .bg-gradient .text-white {
  color: #212529 !important;
}

body.ax-store .bg-gradient {
  background: #fff !important;
}

body.ax-store .bg-theme-primary,
body.ax-store .btn-dashboard,
body.ax-store .btn-primary,
body.ax-store .btn-success,
body.ax-store .btn-login,
body.ax-store .bg-primary,
body.ax-store .page-item.active .page-link {
  background: #212529 !important;
  border-color: #212529 !important;
  color: #fff !important;
}

body.ax-store .btn-dashboard:hover,
body.ax-store .btn-primary:hover,
body.ax-store .btn-success:hover,
body.ax-store .btn-login:hover {
  background: #000 !important;
  color: #fff !important;
}

body.ax-store .card,
body.ax-store .product-card {
  background: #fff !important;
  border: 1px solid #eef0f2 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}

body.ax-store .product-card img,
body.ax-store .card-img-top {
  background: #f7f8f9;
  object-fit: contain;
}

body.ax-store .form-control,
body.ax-store .form-select {
  min-height: 48px;
  border: 1px solid #e6e8eb !important;
  border-radius: 10px !important;
  background: #f9fafb !important;
  color: #212529 !important;
  box-shadow: none !important;
}

body.ax-store .form-control:focus,
body.ax-store .form-select:focus {
  border-color: #212529 !important;
  background: #fff !important;
}

body.ax-store .ax-pagehead {
  padding: 36px 0 8px;
}

body.ax-store .ax-pagehead h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.ax-store .ax-pagehead p {
  margin: 8px 0 0;
  font-weight: 300;
}

body.ax-store .breadcrumb {
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}

body.ax-store .breadcrumb a,
body.ax-store .breadcrumb .active {
  color: #576471 !important;
}

body.ax-store .table {
  --bs-table-bg: #fff;
  color: #212529;
}

body.ax-store .content-box,
body.ax-store .sidebar {
  background: #fff;
}

.ax-qv[hidden],
.ax-cmp[hidden] {
  display: none !important;
}

.ax-qv {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ax-qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 37, 41, 0.45);
}

.ax-qv-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px;
  width: min(720px, 100%);
  padding: 24px;
  border-radius: 16px;
  background: #fff;
}

.ax-qv-dialog img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.ax-qv-x,
.ax-cmp-head button,
.ax-cmp-item button {
  border: 0;
  background: #f3f4f6;
  color: #212529;
  cursor: pointer;
}

.ax-qv-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

.ax-qv-copy h2 {
  margin: 8px 0 10px;
  color: #212529 !important;
  font-size: 24px;
  font-weight: 600;
}

.ax-qv-price {
  margin: 0 0 20px;
  color: #576471 !important;
  font-size: 18px;
  font-weight: 600;
}

.ax-qv-price s {
  margin-right: 8px;
  color: #b7bdc4 !important;
  font-weight: 400;
}

.ax-qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ax-qv-actions button,
.ax-qv-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.ax-qv-actions button {
  border: 0;
  background: #212529;
  color: #fff !important;
  cursor: pointer;
}

.ax-qv-actions a {
  background: #f3f4f6;
  color: #212529 !important;
}

.ax-cmp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3900;
  width: min(320px, calc(100% - 36px));
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(33, 37, 41, 0.16);
}

.ax-cmp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #212529;
}

.ax-cmp-head button,
.ax-cmp-item button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.ax-cmp-item {
  display: grid;
  grid-template-columns: 54px 1fr 28px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}

.ax-cmp-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ax-cmp-item strong,
.ax-cmp-item span,
.ax-cmp-item a {
  display: block;
  color: #212529 !important;
  font-size: 13px;
  text-align: left;
}

.ax-cmp-item span {
  color: #576471 !important;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ax-qv-dialog {
    grid-template-columns: 1fr;
  }
}
