.text-center {
    text-align: center;
}
.header-top__wrap.text-center {
    justify-content: center;
}
.header-top__wrap a {
    display: block;
}

.cookie-warning {
    display: none;
    position: fixed;
    background: rgba(255,255,255,0.9);
    text-align: center;
    padding: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -0.5px 10px 0 rgb(0 0 0 / 6%);
}
.cookie-warning a {
    text-decoration: revert;
    font-size: 17px;
}
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: gray;
    /*border: 2px solid #BFE2FF;*/
}
.cookie_btn:hover {
    color: #FFF;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #FFF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

.subscribe__fz {
    font-size: 13px;
    padding: 5px;
    font-weight: normal;
}
.subscribe__fz input{
    -webkit-appearance: checkbox;
}

.custom__fz {
    font-size: 13px;
}
.custom__fz input{
    -webkit-appearance: checkbox;
}
/* перенести*/
.product__main .product__price {
    justify-content: flex-start;
}
.product__price span {
    text-decoration: line-through;
    margin-left: 11px;
    font-size: 12px;
    width: fit-content;
    color: grey;
}

@media only screen and (max-width:749px){
    .product__price {
        font-size: 14px;
    }
    .product__price span {
        font-size: 12px;
    }
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== Size guide modal - polished styles ===== */
.size-modal-custom {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  color: #1f1f1f;
}
.size-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  border-bottom: 1px solid #e9e9e9;
}
.size-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}
.size-modal-close {
  appearance: none;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #6b6b6b;
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.size-modal-close:hover {
  background: #f6f6f6;
  border-color: #d5d5d5;
  color: #222;
  transform: translateY(-1px);
}
.size-modal-content {
  padding: 20px 24px 24px 24px;
  max-height: 70vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/* Table aesthetics inside modal */
.size-modal-content table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
}
.size-modal-content table thead th {
  background: #f7f7f7;
  color: #222;
  font-weight: 600;
  padding: 14px 14px;
  border-bottom: 1px solid #ececec;
}
.size-modal-content table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f1f1;
}
.size-modal-content table tbody tr:nth-child(odd) td {
  background: #fcfcfc;
}
.size-modal-content table tbody tr:hover td {
  background: #f6faff;
}
.size-modal-content table th,
.size-modal-content table td {
  text-align: left;
  font-size: 14px;
}
/* Helper text when table is missing */
.size-modal-custom .no-size-table {
  margin: 10px 0 0;
  background: #fff7f7;
  border: 1px solid #ffd6d6;
  color: #a11;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
/* Mobile tweaks */
@media (max-width: 700px) {
  .size-modal-custom { max-width: 97vw; }
  .size-modal-header { padding: 16px 16px; }
  .size-modal-content { padding: 16px; }
  .size-modal-header h2 { font-size: 16px; }
}
/* Optional: nicer scrollbar in webkit */
.size-modal-content::-webkit-scrollbar { height: 10px; width: 10px; }
.size-modal-content::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 10px; }
.size-modal-content::-webkit-scrollbar-thumb:hover { background: #bcbcbc; }

/* Auto layout for columns inside size guide table */
.size-modal-content table { table-layout: auto; }
/* Reset previously set wide first column */
.size-modal-content table th:first-child,
.size-modal-content table td:first-child { width: auto; }

/* Column separators */
.size-modal-content table th,
.size-modal-content table td { border-right: 1px solid #eaeaea; }
.size-modal-content table th:last-child,
.size-modal-content table td:last-child { border-right: none; }

/* Highlight columns with alternating backgrounds (tbody only) */
.size-modal-content table tbody td:nth-child(odd) { background: #fbfdff; }
.size-modal-content table tbody td:nth-child(even) { background: #ffffff; }

/* Slightly stronger header */
.size-modal-content table thead th { background: #f2f5f8; border-bottom: 1px solid #e3e6ea; }