.catalog-wrap {
    padding-top: calc(120 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: calc(50 / 1440 * 100vw);
}

.catalog-header {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(20 / 1440 * 100vw);

    box-sizing: border-box;
}

.catalog-title {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    
    .catalog-header {
        gap: calc(20 / 1440 * 100vw);
    }

}

/*category*/

.catalog-categories {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(10 / 1440 * 100vw);
}

@media screen and (max-width: 1024px) {
    
    .catalog-categories {
        gap: 10px;
    }

}

/*catalog list*/

.catalog-product {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: calc(50 / 1440 * 100vw);
}

.product-list {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-item__picture {
    width: 100%;
    aspect-ratio: 1 / 1;

    position: relative;

    border-radius: 20px;
    overflow: hidden;
}

.product-item__tabs {
    position: absolute;
    top: 10px;
    left: 10px;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;

    z-index: 2;
}

.product-item__tab {
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    background: var(--clr-light-green);
}

.product-item__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: .3s ease-in-out;
}

.product-item__picture:hover .product-item__image {
    transform: scale(1.05);
}

.product-item__info {

}

.product-item__category {
    margin: 0 0 calc(16 / 1440 * 100vw) 0;
}

.product-item__title {
    margin: 0 0 calc(18 / 1440 * 100vw) 0;
}

.product-item__price {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    
    .catalog-product {
        gap: 50px;
    }

    .product-item__category {
        margin: 0 0 16px 0;
    }
    
    .product-item__title {
        margin: 0 0 18px 0;
    }

}

/*search*/

.catalog-search.search-form {
    width: 100%;
}

/*pagination*/

.catalog-pagination,
.catalog-pagination .navigation.pagination {
    width: 100%;
}

.catalog-pagination .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(12 / 1440 * 100vw);
}

.catalog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: calc(48 / 1440 * 100vw);
    height: calc(48 / 1440 * 100vw);
    padding: 0 calc(6 / 1440 * 100vw);
    border-radius: 50%;
    box-sizing: border-box;

    font-family: var(--font-family-secondary);
    font-size: var(--body-size);
    font-weight: 500;
    line-height: 1;
    color: var(--clr-black);
    text-decoration: none;

    transition: outline 0.3s ease-in-out, color 0.3s ease-in-out, background 0.3s ease-in-out;
}

.catalog-pagination a.page-numbers:hover,
.catalog-pagination a.page-numbers:focus-visible {
    outline: 1px solid var(--clr-terkot);
    color: var(--clr-terkot);
    background: var(--clr-milk);
}

.catalog-pagination .page-numbers.current {
    outline: 1px solid var(--clr-terkot);
    color: var(--clr-terkot);
    font-weight: 600;
    background: var(--clr-white);
}

.catalog-pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 calc(4 / 1440 * 100vw);
    outline: none;
    background: none;
    cursor: default;
}

.catalog-pagination a.prev.page-numbers,
.catalog-pagination a.next.page-numbers {
    font-size: calc(20 / 1440 * 100vw);
    font-weight: 400;
}

@media screen and (max-width: 1024px) {
    .catalog-pagination .nav-links {
        gap: 10px;
    }

    .catalog-pagination .page-numbers {
        min-width: 44px;
        height: 44px;
        padding: 0 4px;
    }

    .catalog-pagination a.prev.page-numbers,
    .catalog-pagination a.next.page-numbers {
        font-size: 18px;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 16px;
    }
}

@media screen and (max-width: 768px) {
    .catalog-wrap {
        padding-top: 100px;
        gap: 30px;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .catalog-categories {
        gap: 8px;
    }

    .catalog-product {
        gap: 30px;
    }

    .product-list {
        gap: 20px;
    }

    .catalog-pagination .nav-links {
        gap: 8px;
    }

    .catalog-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .catalog-pagination a.prev.page-numbers,
    .catalog-pagination a.next.page-numbers {
        font-size: 16px;
    }
}

/*banner*/

.section-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.catalog-picture {
    width: 100%;
    height: 100%;
}

.catalog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}/* page header */

.product-page {
    padding-bottom: calc(50 / 1440 * 100vw);
}

.product-page__header {
    padding: calc(60 / 1440 * 100vw) 0 calc(32 / 1440 * 100vw);
    margin-bottom: calc(40 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: calc(20 / 1440 * 100vw);

    border-bottom: 1px solid var(--clr-light-gray);
    box-sizing: border-box;
}

.breadcrumbs {
    margin: 0;
}

.woocommerce-breadcrumb {
    margin: 0;
}

.woocommerce-breadcrumb a {
    color: var(--clr-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--clr-terkot);
}

/* product layout */

.product {
    padding-bottom: calc(120 / 1440 * 100vw);

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(50 / 1440 * 100vw);
}

.product__slider,
.product__content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.product__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: calc(40 / 1440 * 100vw);
}

.product__header {
    order: 1;
}

.product__characteristics {
    order: 2;
}

.product__info {
    order: 3;
}

.product__actions {
    order: 4;
}

.product__desc {
    order: 5;
}

/* gallery */

.product__slider-gallery {
    position: relative;
    width: 100%;
}

.product__slider-gallery .product__slider-nav {
    position: absolute;
    right: calc(20 / 1440 * 100vw);
    bottom: calc(20 / 1440 * 100vw);

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: calc(5 / 1440 * 100vw);

    z-index: 2;
}

.product__slider-badges {
    position: absolute;
    top: calc(10 / 1440 * 100vw);
    left: calc(10 / 1440 * 100vw);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: calc(10 / 1440 * 100vw);

    z-index: 2;
}

.product__slider-badge {
    padding: calc(10 / 1440 * 100vw);

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: calc(10 / 1440 * 100vw);
    background: var(--clr-light-green);
}

.product__slider {
    position: sticky;
    top: calc(120 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    gap: calc(20 / 1440 * 100vw);
}

.swiper {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background: var(--clr-white);
    overflow: hidden;
}

.swiper-slide-big {
    border-radius: calc(20 / 1440 * 100vw);
}

.swiper-slide-min {
    border-radius: calc(10 / 1440 * 100vw);
    cursor: pointer;
}

.mySwiper2 {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.mySwiper {
    display: none;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide-big a {
    display: block;
    width: 100%;
    height: 100%;
}

.product__slider-counter {
    height: calc(36 / 1440 * 100vw);
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: var(--clr-white);

    border-radius: 36px;
    background-color: var(--clr-terkot);
}

.product-button {
    position: static;

    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(36 / 1440 * 100vw);
    height: calc(36 / 1440 * 100vw);
    margin: 0;

    border-radius: 50%;
    background-color: var(--clr-terkot);

    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: var(--clr-dark-green);
}

.swiper-button-next .swiper-navigation-icon {
    display: none !important;
}

.swiper-button-prev .swiper-navigation-icon {
    display: none !important;
}

.product__slider-nav .swiper-button-next:after,
.product__slider-nav .swiper-button-prev:after {
    content: '';

    height: calc(12 / 1440 * 100vw);
    width: calc(12 / 1440 * 100vw);

    display: block;

    background: no-repeat url(//kao-kakao.ru/wp-content/themes/kaokakao/assets/icons/arrow-right.svg) center / contain;
    filter: brightness(0) invert(1);
}

.product__slider-nav .swiper-button-prev:after {
    transform: rotate(180deg);
}

/* product header */

.product__header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: calc(12 / 1440 * 100vw);
    width: 100%;
}

.product__title {
    margin: 0;
    text-transform: uppercase;
}

.product__category {
    margin: 0;
}

.product__subtitle {
    margin: 0;
}

.product__price {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(8 / 1440 * 100vw);
}

.product__price p {
    margin: 0;
}

.product__price-old {
    text-decoration: line-through;
}

/* characteristics */

.product__characteristics {
    width: 100%;
}

.characteristics {
    width: 100%;
    padding: calc(20 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(20 / 1440 * 100vw);

    border-radius: calc(12 / 1440 * 100vw);
    background-color: var(--clr-light-green);
    box-sizing: border-box;
}

.characteristics__title {
    margin: 0;
    text-transform: uppercase;
}

.characteristics__table {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: calc(10 / 1440 * 100vw);
}

.characteristics__table-row {
    display: flex;
    align-items: flex-end;
    gap: calc(10 / 1440 * 100vw);
    width: 100%;
}

.characteristics__table-wrap {
    display: flex;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
}

.characteristics__table-wrap::after {
    content: '';

    margin: 0 calc(10 / 1440 * 100vw);
    flex: 1;
    display: block;
    height: 1px;

    border-bottom: 1px dashed var(--clr-black);
}

.characteristics__table-title,
.characteristics__table-value {
    margin: 0;
    white-space: nowrap;
}

.characteristics__table-value {
    margin-left: auto;
    text-align: right;
}

/* attributes */

.product__info {
    width: 100%;
}

.product__info-mod {
    display: flex;
    flex-direction: column;
    gap: calc(20 / 1440 * 100vw);
}

.product__attribute {
    display: flex;
    flex-direction: column;
    gap: calc(8 / 1440 * 100vw);
}

.product__attribute-label {
    margin: 0;
}

.product__attribute-select--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.product__attribute-dropdown {
    position: relative;
    width: 100%;
    background-color: var(--clr-white);
    border: 1px solid var(--clr-light-gray);
    border-radius: calc(10 / 1440 * 100vw);
    box-sizing: border-box;
}

.product__attribute-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: calc(12 / 1440 * 100vw) calc(14 / 1440 * 100vw);
    background: transparent;
    border: none;
    border-radius: calc(10 / 1440 * 100vw);
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.product__attribute-trigger-icon {
    flex-shrink: 0;
    width: calc(16 / 1440 * 100vw);
    height: calc(10 / 1440 * 100vw);
    margin-left: calc(10 / 1440 * 100vw);
    background: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%23B93F18' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.2s ease;
}

.product__attribute-dropdown--open .product__attribute-trigger-icon {
    transform: rotate(180deg);
}

.product__attribute-list {
    list-style: none;
    margin: 0;
    padding: 0 calc(10 / 1440 * 100vw) calc(10 / 1440 * 100vw);
    border-radius: 0 0 calc(10 / 1440 * 100vw) calc(10 / 1440 * 100vw);
}

.product__attribute-list[hidden] {
    display: none;
}

.product__attribute-option {
    padding: calc(10 / 1440 * 100vw) calc(12 / 1440 * 100vw);
    margin-top: calc(4 / 1440 * 100vw);
    border-radius: calc(8 / 1440 * 100vw);
    color: var(--clr-black);
    font-family: var(--font-family-secondary);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    cursor: pointer;
    background-color: var(--clr-milk);
    transition: background 0.15s ease, color 0.15s ease;
}

.product__attribute-option:hover {
    background-color: rgba(185, 63, 24, 0.08);
}

.product__attribute-option--selected {
    background-color: var(--clr-terkot);
    color: var(--clr-white);
}

.product__attribute-option--selected:hover {
    background-color: var(--clr-terkot);
}

.product__attribute-option--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    color: var(--clr-gray);
}

.product__attribute-option--disabled:hover {
    background-color: var(--clr-milk);
}

/* actions */

.product__actions {
    width: 100%;
}

.product__submit {
    width: 100%;
}

/* description */

.product__desc {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: calc(20 / 1440 * 100vw);
}

.product__desc-title {
    margin: 0;
    text-transform: uppercase;
}

.product__desc-content p,
.product__desc-content ul,
.product__desc-content ol {
    color: var(--clr-gray);
}

.product__desc-content > :first-child {
    margin-top: 0;
}

.product__desc-content > :last-child {
    margin-bottom: 0;
}

/* popular products */

.product-popular {
    padding-top: 0;
}

.product-popular__title {
    margin: 0 0 calc(50 / 1440 * 100vw);
    text-transform: uppercase;
}

.product-popular__list {
    width: 100%;
}

.product-popular .product-item__tabs {
    position: absolute;
    top: calc(10 / 1440 * 100vw);
    left: calc(10 / 1440 * 100vw);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: calc(10 / 1440 * 100vw);

    z-index: 2;
}

.product-popular .product-item__tab {
    padding: calc(10 / 1440 * 100vw);

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: calc(10 / 1440 * 100vw);
    background: var(--clr-light-green);
}

.product-popular .product-item:hover .product-item__title {
    color: var(--clr-terkot);
}

/* responsive */

@media screen and (max-width: 1024px) {

    .product-page__header {
        padding: 60px 0 24px;
        gap: 20px;
    }

    .product {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-bottom: 80px;
    }

    .product__slider {
        position: relative;
        top: initial;
    }

    .product__content {
        gap: 32px;
    }

    .product__slider-badge {
        padding: 10px;
        border-radius: 10px;
    }

    .product__slider-badges {
        top: 10px;
        left: 10px;
        gap: 10px;
    }

    .swiper-slide-big {
        border-radius: 20px;
    }

    .product__slider-gallery .product__slider-nav {
        position: static;
        justify-content: center;
        width: 100%;
        margin-top: 16px;
        gap: 5px;
    }

    .product__slider-counter {
        min-width: auto;
        padding: 8px 16px;
        border-radius: 20px;
        color: var(--clr-white);
        background-color: var(--clr-terkot);
    }

    .product-button {
        width: 36px;
        height: 36px;
    }

    .product__slider-gallery .swiper-button-next:after,
    .product__slider-gallery .swiper-button-prev:after {
        height: 12px;
        width: 12px;
    }

    .product__slider-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .characteristics {
        padding: 0;
        gap: 0;
        background-color: var(--clr-white);
        overflow: hidden;
    }

    .characteristics__title {
        width: 100%;
        padding: 12px 16px;
        box-sizing: border-box;
        background-color: var(--clr-light-green);
    }

    .characteristics__table {
        width: 100%;
        padding: 16px;
        box-sizing: border-box;
    }

    .product__attribute-dropdown,
    .product__attribute-trigger {
        border-radius: 10px;
    }

    .product-popular__title {
        margin-bottom: 40px;
    }

    .product-popular .product-item__tabs {
        top: 10px;
        left: 10px;
        gap: 10px;
    }

    .product-popular .product-item__tab {
        padding: 10px;
        border-radius: 10px;
    }

}

@media screen and (max-width: 768px) {

    .product-page__header {
        padding-top: 60px;
        padding-bottom: 16px;
    }

    .product {
        padding-bottom: 50px;
        gap: 30px;
    }

    .product__content {
        gap: 24px;
    }

    .product__header {
        order: 1;
    }

    .product__desc {
        order: 2;
    }

    .product__characteristics {
        order: 3;
    }

    .product__info {
        order: 4;
    }

    .product__actions {
        order: 5;
    }

    .product__desc-title {
        display: none;
    }

    .product__desc-content {
        color: var(--clr-gray);
    }

    .product__subtitle {
        display: none;
    }

    .product-popular__title {
        margin-bottom: 30px;
    }

    .product-popular .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

}
body.f152-theme-light {
  --f152-bg:        #ffffff;
  --f152-text:      #1f2328;
  --f152-link:      #1e73be;
  --f152-btn-bg:    #2271b1;
  --f152-btn-text:  #ffffff;
  --f152-btn-radius: 8px;
  --f152-font-size-text: .8rem;
  --f152-font-size-btn: .875rem;
  --f152-shadow:    0 10px 30px rgba(0,0,0,.12);
  --f152-border:    rgba(0,0,0,.12);
}

body.f152-theme-dark {
  --f152-bg:        #111418;
  --f152-text:      #e6e8eb;
  --f152-link:      #7ab7ff;
  --f152-btn-bg:    #2c8cff;
  --f152-btn-text:  #ffffff;
  --f152-btn-radius: 8px;
  --f152-font-size-text: .8rem;
  --f152-font-size-btn: .875rem;
  --f152-shadow:    0 10px 30px rgba(0,0,0,.5);
  --f152-border:    rgba(255,255,255,.18);
}

[hidden] {
  display: none !important;
}

.f152-banner .f152-btn,
.f152-popup .f152-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1rem;
  font: inherit;
  font-size: var(--f152-font-size-btn, .875rem);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--f152-btn-radius, 8px);
  border: 0;
  background: var(--f152-btn-bg);
  color: var(--f152-btn-text);
  cursor: pointer;
  transition: transform .06s ease, filter .12s ease, opacity .2s ease;
  text-decoration: none;
}
.f152-banner .f152-btn:hover,
.f152-popup .f152-btn:hover { filter: brightness(1.05); }
.f152-banner .f152-btn:active,
.f152-popup .f152-btn:active { transform: translateY(1px) scale(.99); }
.f152-banner .f152-btn:focus,
.f152-popup .f152-btn:focus { outline: 2px solid color-mix(in srgb, var(--f152-btn-bg) 40%, transparent); outline-offset: 2px; }
.f152-banner .f152-btn--accept,
.f152-popup .f152-btn--accept {
  background: var(--f152-btn-accept-bg, var(--f152-btn-bg));
  color: var(--f152-btn-accept-text, var(--f152-btn-text));
}

.f152-banner .f152-btn--settings,
.f152-popup .f152-btn--settings {
  background: var(--f152-btn-settings-bg, transparent);
  color: var(--f152-btn-settings-text, var(--f152-link));
  border: 1px solid var(--f152-border);
}
body.f152-theme-dark .f152-banner .f152-btn--settings,
body.f152-theme-dark .f152-popup .f152-btn--settings {
  border-color: var(--f152-border);
}

.f152-banner .f152-btn--reject,
.f152-popup .f152-btn--reject {
  background: var(--f152-btn-reject-bg, #c0c0c0);
  color: var(--f152-btn-reject-text, #ffffff);
}

.f152-link--settings {
  color: var(--f152-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.f152-link--settings:focus {
  outline: 2px solid color-mix(in srgb, var(--f152-link) 40%, transparent);
  outline-offset: 2px;
}

.f152-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 2147483000;
  background: var(--f152-bg);
  color: var(--f152-text);
  border-top: 1px solid var(--f152-border);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.f152-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .9rem 1rem;
}

.f152-banner__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.f152-banner__message {
  flex: 1 1 520px;
  min-width: 0;
  font-size: var(--f152-font-size-text, .8rem);
  line-height: 1.5;
}
.f152-banner__message a {
  color: var(--f152-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.f152-banner__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.f152-banner .f152-btn--save,
.f152-popup .f152-btn--save {
  background: var(--f152-btn-bg);
  color: var(--f152-btn-text);
}

@media (max-width: 780px) {
  .f152-banner__layout {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .f152-banner__message {
    flex: none;
  }
  .f152-banner__actions {
    justify-content: flex-start;
  }
  .f152-banner .f152-btn,
  .f152-popup .f152-btn {
    gap: 0;
    padding: 0.5rem 0.8rem;
  }
}

.f152-popup {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  color: var(--f152-text);
}

.f152-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

.f152-popup__window {
  position: relative;
  width: min(720px, calc(100% - 2rem));
  margin: 8vh auto 0 auto;
  background: var(--f152-bg);
  border: 1px solid var(--f152-border);
  border-radius: 12px;
  box-shadow: var(--f152-shadow);
  padding: 1.25rem 1.25rem 1rem;
  height: 90%;
  overflow: auto;
}

.f152-popup__title {
  margin: 0 0 .5rem 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.f152-popup__content {
  margin-top: .5rem;
  display: grid;
  gap: .9rem;
}

.f152-popup__intro {
  font-size: .95rem;
  opacity: .95;
}
.f152-popup__intro a {
  color: var(--f152-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.f152-popup__group {
  border: 1px solid var(--f152-border);
  border-radius: 10px;
  padding: .8rem .9rem;
  background: color-mix(in srgb, var(--f152-bg) 92%, #000 8%);
}
body.f152-theme-dark .f152-popup__group {
  background: color-mix(in srgb, var(--f152-bg) 86%, #fff 14%);
}

.f152-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem .9rem;
  align-items: start;
}
.f152-row input[type="checkbox"] {
  transform: translateY(3px);
}
.f152-row__title { line-height: 1.2; }
.f152-row__desc {
  grid-column: 2 / -1;
  display: block;
  font-size: .9rem;
  opacity: .9;
}

.f152-popup__actions {
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  justify-content: flex-end;
}

.f152-popup__close {
  position: absolute;
  top: .5rem;
  inset-inline-end: .5rem;
  border: 0;
  background: transparent;
  color: var(--f152-text);
  font-size: 1.5rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 0 5px 1px !important;
}
.f152-popup__close:hover {
  background: color-mix(in srgb, var(--f152-text) 10%, transparent);
}
.f152-popup__close:focus {
  outline: 2px solid color-mix(in srgb, var(--f152-btn-bg) 40%, transparent);
  outline-offset: 2px;
}

.comment-form-f152,
.f152-checkout-consent {
  margin-top: .75rem;
  padding: .75rem .75rem;
  border: 1px dashed var(--f152-border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--f152-bg) 95%, #000 5%);
}
.comment-form-f152 label,
.f152-checkout-consent label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem .75rem;
  align-items: start;
}
.comment-form-f152 a,
.f152-checkout-consent a {
  color: var(--f152-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@supports not (color: color-mix(in srgb, black 50%, white 50%)) {
  .f152-popup__group,
  .comment-form-f152,
  .f152-checkout-consent {
    background: var(--f152-bg);
  }
  .f152-banner .f152-btn--settings:hover,
  .f152-popup .f152-btn--settings:hover,
  .f152-popup__close:hover {
    background: rgba(0,0,0,.06);
  }
}

.f152-consent input[type="checkbox"] {
    margin-right: 8px;
}
.f152-consent .f152-consent__input {
    margin-right: 8px;
}