.product-name {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.product-name .order-item-thumb {
  width: 124px;
  aspect-ratio: 1;

}

/* PRODUCT variations */

.product-attribute {
  margin-bottom: 17px;
}

.product-attribute .label {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 13px;
  color: #9CA3AF;
}

.product-attribute .label .selected-value {
  font-weight: 500;
  font-size: 13px;
  color: #F8FAFC;
}

.product-attribute .options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.product-attribute[data-attribute="Color"] .options {
  display: flex;
  gap: 16px;
}

.attr-btn {
  padding: 8px;
  border-radius: 30px;
  background: #2B2B51;
  color: #F8FAFC;
  font-weight: 500;
  border: none;
  line-height: 150%;
  font-size: 16px;
  cursor: pointer;

  transition: all 0.4s;
}

.product-attribute[data-attribute="Package"] .attr-btn {}

.attr-btn.active {
  background: #F8FAFC;
  color: #06060A;
}

.attr-btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.selected-value {
  margin-left: 5px;
  color: #fff;
}

.attr-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.attr-swatch::after {
  content: '';
  top: -4px;
  left: -4px;
  border: 2px solid #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: absolute;
  opacity: 0;
  scale: 0;
  transition: all 0.4s;
}

.attr-swatch.active::after {
  opacity: 1;
  scale: 1;
}

.attr-swatch.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* CART drawer */

.cart-drawer-item {
  position: relative;
  transition: opacity 0.2s ease;
}

.cart-drawer-item.loading {
  pointer-events: none;
}

.cart-drawer-item.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #15152b9c;
  z-index: 2;
  border-radius: 8px;
}

.cart-drawer__top {
  overflow-y: auto;
  height: 100%;
}

.cart-drawer__list {
  height: max-content;

}

.cart-drawer-item-quantiny__btn {
  border: none;
  color: #fff;
}

.cart-drawer-item__label {
  text-transform: capitalize;
}

.header-nav__item {
  font-weight: 400;
}

.header-nav__item.current-menu-item,
.header-nav__item.current_page_item {
  color: #F8FAFC;
  font-weight: 500;
}

.input__wrapp label {
  z-index: 2;
}

.wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 13px;
  margin-left: 20px;
  font-weight: normal;
  position: absolute;
  display: block;
}

.wp-editor-css {
  font-size: 16px;
  color: #B9C2DD;
  line-height: 1.6;
}

/* Paragraphs */
.wp-editor-css p {
  font-size: 16px;
  color: #B9C2DD;
  margin: 0 0 12px;
  line-height: 150%;
}

/* Headings base reset */
.wp-editor-css h1,
.wp-editor-css h2,
.wp-editor-css h3,
.wp-editor-css h4,
.wp-editor-css h5,
.wp-editor-css h6 {
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #F8FAFC;
}

/* Specific H3 (as requested) */
.wp-editor-css h3 {
  font-size: 20px;
  color: #F8FAFC;
}

/* Optional hierarchy scaling (логичная типографика) */
.wp-editor-css h1 {
  font-size: 32px;
}

.wp-editor-css h2 {
  font-size: 26px;
}

.wp-editor-css h4 {
  font-size: 18px;
}

.wp-editor-css h5 {
  font-size: 16px;
}

.wp-editor-css h6 {
  font-size: 14px;
}

/* Links */
.wp-editor-css a {
  color: #F8FAFC;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.wp-editor-css a:hover {
  opacity: 0.8;
}

/* Lists */
.wp-editor-css ul,
.wp-editor-css ol {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #B9C2DD;
}

/* List items */
.wp-editor-css li {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
  list-style: disc;
}

/* Nested lists */
.wp-editor-css ul ul,
.wp-editor-css ol ol,
.wp-editor-css ul ol,
.wp-editor-css ol ul {
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Strong / emphasis */
.wp-editor-css strong {
  color: #F8FAFC;
  font-weight: 600;
}

.wp-editor-css em {
  font-style: italic;
}

/* Blockquote */
.wp-editor-css blockquote {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid #F8FAFC;
  color: #B9C2DD;
  opacity: 0.9;
}

/* Images */
.wp-editor-css img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
}

.thank-you-block {
  background-color: #15152B;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  top: 0;
  left: 0;
  padding: 24px;
}

.form-wrapper-js {
  position: relative;
}

.thank-you-block__text {
  margin: 16px 0 36px;
}

textarea {
  padding: 20px !important;
}

.modal__inner {
  width: auto;
}

.form-wrapper-js .wpcf7-response-output {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: -6px 0 0 0;
  padding: 0;
  border: none !important;
  position: absolute;
  font-size: 14px;
  padding-left: 20px;
}

form.invalid .wpcf7-response-output {
  display: none;
}

.hero-product__btn {
  margin-top: 32px;
}


.swiper-thumbs-js .swiper-slide-thumb-active {
  border-color: #585AFF;
  border-width: 1.5px;
}

.hero-product__tabs .tab__text * {
  line-height: 150%;
}

.section-image-text__subtext {
  margin-top: 36px;
}

.section-image-text__text * {
  line-height: 133%;
}

.woocommerce-breadcrumb {
  display: none !important;
}

.breadcrumbs .woocommerce-breadcrumb {
  display: flex !important;
}

#sidebar {
  display: none !important;
}


.btn:before {
  z-index: -1;
}

.btn-secondary:before {
  display: none !important;
}

.btn {
  z-index: 2;
}

.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
  position: relative;

  margin: 8px;
  padding: 24px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  z-index: 5;
}

.woocommerce-error {
  border: 1px solid red;
}

.woocommerce-info,
.woocommerce-message {
  border: 1px solid green;
}

.checkbox-news {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-product__title * {
  font-weight: 500;
}

/* .woocommerce-notices-wrapper { */
/* position: fixed; */
/* right: 32px; */
/* margin-top: 8px; */
/* background: #000; */
/* color: #fff; */
/* border-radius: 8px; */
/* } */
/*  */
/* .woocommerce-notices-wrapper ul { */
/* padding: 24px; */
/* } */

.select2-dropdown {
  background-color: #15152B;
  color: #FFF;
  border: 1px solid transparent;
  border-radius: 12px !important;
  margin-top: 8px;

  padding: 4px;
}

.select2-results__options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.select2-results__option {
  border-radius: 8px !important;
  background: #1D1D38 !important;
  padding: 8px 16px !important;
}

.select2-results__option--highlighted {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 100%), var(--Input-Main, #1D1D38) !important;
}

.select2-search--dropdown {
  display: block;
  padding: 0 0 4px 0;

  border-radius: 8px !important;
  background: var(--Input-Main, #1D1D38);
  color: #B9C2DD;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #6868C9;
  display: block;
  padding: 4px;
  border-radius: 8px !important;
  background: var(--Input-Main, #1D1D38);
  color: #B9C2DD;
}

.select2-results__option--highlighted {
  position: relative;
}

.select2-results__option--highlighted:after {
  content: '';
  position: absolute;
  right: 12px;
  top: 12px;
  width: 13px;
  height: 11px;
  background-image: url(../images/icons/icon-agree.png);
}

.payment_box.payment_method_stripe {
  padding-right: 24px;
}

@media screen and (max-width: 600px) {

  .modal {
    padding: 16px;
    overflow: hidden;
  }

  .modal__inner {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow-y: auto;
    background-color: #15152B;
    padding: 16px;
  }

  .modal-content {
    height: max-content;
    width: 100%;
    max-height: 100%;
    padding: 0;
  }

  .attr-btn {
    padding: 10px;
  }

  .section-image-text__image {
    padding-top: 16px;
  }

  .section-gallery__content {
    margin-top: 40px;
  }

  .checkbox__wrapp {
    margin-top: 24px;
    padding-top: 0;
  }

  .footer__item h3 {
    font-size: 20px;
    color: rgba(248, 250, 252, 1);
  }

  .text-grey {
    color: rgba(185, 194, 221, 1);
  }
}