.in-stock-label{
    font-size: 0.9rem!important;
}
.single-box-sku {
    font-size: 0.8rem !important;
}
.single-box-brand{
    font-size: 0.9rem!important;
}
.alert-primary {
    position: relative;
    padding: 16px 18px 16px 72px;
    border: 1px solid #b8ddff;
    border-left: 4px solid #0094ff;
    border-radius: 8px;
    background: #f4f9ff;
    color: #212121;
    font-size: 0.95rem!Important;
    font-weight: 500!Important;
}
.alert-primary::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e8f3ff;
}

.alert-primary::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);

    width: 23px;
    height: 23px;
    background: #0094ff;

    -webkit-mask: url("data:image/svg+xml,%3Csvg fill='none' height='26' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24' width='26' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='13' rx='2' width='15' x='1' y='3'%3E%3C/rect%3E%3Cpath d='M16 8h3l4 4v4h-7z'%3E%3C/path%3E%3Ccircle cx='5.5' cy='18.5' r='1.5'%3E%3C/circle%3E%3Ccircle cx='18.5' cy='18.5' r='1.5'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg fill='none' height='26' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' viewBox='0 0 24 24' width='26' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='13' rx='2' width='15' x='1' y='3'%3E%3C/rect%3E%3Cpath d='M16 8h3l4 4v4h-7z'%3E%3C/path%3E%3Ccircle cx='5.5' cy='18.5' r='1.5'%3E%3C/circle%3E%3Ccircle cx='18.5' cy='18.5' r='1.5'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}
.alert-primary span{
     font-size: 0.95rem!Important;
    font-weight: 500!Important;
}
@media (max-width: 768px) {
    .alert-primary {
        padding: 20px 16px;
        text-align: center;
    }

    .alert-primary::before {
        left: 50%;
        top: 16px;
        transform: translateX(-50%);
    }

    .alert-primary::after {
        left: 50%;
        top: 27px;
        transform: translateX(-50%);
    }

    .alert-primary {
        padding-top: 72px;
    }
}

/* Viber канал – бутон на страницата след поръчка */
.info-order a[href*="invite.viber.com"] { text-decoration: none; }
.info-order a[href*="invite.viber.com"] img { display: block; width: 56px; height: 56px; margin: 8px auto 10px; }
.info-order a[href*="invite.viber.com"] strong {
  display: inline-block;
  background: #7360F2;
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  padding: 12px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(115, 96, 242, 0.35);
  margin: 0 0 6px;
}
.info-order a[href*="invite.viber.com"]:hover strong { background: #5f4ddb; }
.info-order a[href*="invite.viber.com"] strong::after {
  content: "налични модели и размери с отстъпка";
  display: block;
  font-weight: 400;
  font-size: 13px;
  opacity: 0.92;
  margin-top: 2px;
}

/* Responsive product size charts — 2026-10-08. Original chart values unchanged. */
.el-overlay.el-modal-drawer:has(> .el-drawer-page .drawer-content img),
.el-overlay.el-modal-drawer:has(> .el-drawer-page .drawer-content table) {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
}

.el-drawer-page:has(.drawer-content img),
.el-drawer-page:has(.drawer-content table) {
  width: min(100%, 640px) !important;
  max-width: 100vw;
  box-sizing: border-box;
}

.el-drawer-page .drawer-content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.el-drawer-page .drawer-content img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin-inline: auto;
  object-fit: contain;
}

.el-drawer-page:has(.drawer-content img) .el-drawer__header,
.el-drawer-page:has(.drawer-content table) .el-drawer__header {
  margin-bottom: 0;
  padding: 16px 20px;
}

.el-drawer-page:has(.drawer-content img) .el-drawer__body,
.el-drawer-page:has(.drawer-content table) .el-drawer__body {
  min-width: 0;
  padding: 12px 20px 24px;
}

.el-drawer-page .drawer-content p:has(> img:only-child) {
  margin: 0;
}

.el-drawer-page .drawer-content table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}

.el-drawer-page .drawer-content table th,
.el-drawer-page .drawer-content table td {
  padding: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .el-drawer-page:has(.drawer-content img),
  .el-drawer-page:has(.drawer-content table) {
    width: 100% !important;
  }

  .el-drawer-page:has(.drawer-content img) .el-drawer__header,
  .el-drawer-page:has(.drawer-content table) .el-drawer__header {
    padding: 14px 12px;
  }

  .el-drawer-page:has(.drawer-content img) .el-drawer__body,
  .el-drawer-page:has(.drawer-content table) .el-drawer__body {
    padding: 8px 12px 24px;
  }
}

/* Product preorder banner: reserve icon space regardless of theme load order. */
.product-description .alert-primary {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 18px 22px 18px 82px !important;
  min-height: 82px;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
}
.product-description .alert-primary::before {
  left: 18px;
  top: 18px;
  transform: none;
  width: 45px;
  height: 45px;
}
.product-description .alert-primary::after {
  left: 29px;
  top: 29px;
  transform: none;
  width: 23px;
  height: 23px;
}
@media (max-width: 768px) {
  .product-description .alert-primary {
    padding: 16px 16px 16px 68px !important;
    min-height: 72px;
  }
  .product-description .alert-primary::before {
    left: 14px;
    top: 16px;
    width: 38px;
    height: 38px;
  }
  .product-description .alert-primary::after {
    left: 22px;
    top: 24px;
    width: 22px;
    height: 22px;
  }
}