/* Unified SVG icon rendering for storefront UI. */

.header-icon-label-button,
.header-search button,
.icon-button,
.catalog-drawer__close,
.catalog-drawer__cta,
.mobile-menu__search button,
.mobile-menu__link-button,
.mobile-menu__nav a,
.ui-icon-link,
.ui-icon-button-label,
.catalog-filter-close,
.checkout-trust span,
.favorite-toggle,
.product-lightbox__close,
.product-lightbox__arrow {
    -webkit-tap-highlight-color: transparent;
}

.header-icon-label-button img,
.header-search button img,
.icon-button img,
.catalog-drawer__close img,
.catalog-drawer__cta img,
.catalog-drawer__nav a span img,
.catalog-drawer__nav a em img,
.mobile-menu__search button img,
.mobile-menu__head .icon-button img,
.ui-icon-link img,
.ui-icon-button-label img,
.catalog-filter-close img,
.active-filter-chip img,
.cart-empty__icon img,
.checkout-trust span img,
.favorite-toggle img,
.product-lightbox__close img,
.product-lightbox__arrow img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    pointer-events: none;
}

.header-catalog-button.header-icon-label-button,
.mobile-catalog-button.header-icon-label-button,
.ui-icon-link,
.ui-icon-button-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-catalog-button.header-icon-label-button img,
.mobile-catalog-button.header-icon-label-button img,
.catalog-drawer__cta img,
.mobile-menu__search button img {
    width: 16px;
    height: 16px;
}

.header-search button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header-search button img {
    width: 17px;
    height: 17px;
}

.icon-button--favorite > img,
.icon-button--cart > img,
.icon-button--menu > img {
    width: 20px !important;
    height: 20px !important;
}

.catalog-drawer__close,
.catalog-filter-close,
.product-lightbox__close,
.product-lightbox__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-drawer__close img,
.catalog-filter-close img,
.product-lightbox__close img,
.product-lightbox__arrow img {
    width: 19px;
    height: 19px;
}

.catalog-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-drawer__cta img,
.header-catalog-button.header-icon-label-button img,
.mobile-catalog-button.header-icon-label-button img,
.mobile-menu__search button img,
.button.ui-icon-link img,
.button.ui-icon-button-label img,
.filter-submit.ui-icon-button-label img,
.button-buy-attention.ui-icon-link img,
.product-check-block > .button img {
    filter: brightness(0) invert(1);
}

.catalog-drawer__nav a span {
    overflow: hidden;
    border-radius: 10px;
    background: rgba(35, 88, 246, .08);
}

.catalog-drawer__nav a span img {
    width: 17px;
    height: 17px;
    color: #2358f6;
}

.catalog-drawer__nav a em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-drawer__nav a em img {
    width: 16px;
    height: 16px;
}

.mobile-menu__search button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.mobile-menu__search button img {
    flex: 0 0 15px;
    width: 15px !important;
    height: 15px !important;
}

.mobile-menu__nav a,
.mobile-menu__link-button {
    position: relative;
}

.mobile-menu__nav a::after,
.mobile-menu__link-button::after {
    background-image: url('/images/icons/ui-chevron-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    color: transparent !important;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.mobile-menu__link-button[data-favorites-open]::after {
    background-image: url('/images/icons/ui-heart.svg');
    background-size: 16px 16px;
    color: transparent !important;
}

.ui-icon-link img,
.ui-icon-button-label img {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

.catalog-filter-close {
    border: 0;
}

.active-filter-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.active-filter-chip img {
    width: 13px;
    height: 13px;
    opacity: .72;
}

.cart-empty__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cart-empty__icon img {
    width: 30px;
    height: 30px;
}

.checkout-trust span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.checkout-trust span img {
    width: 16px;
    height: 16px;
    color: #2358f6;
}

.favorite-toggle img {
    width: 17px !important;
    height: 17px !important;
}

.product-lightbox__close img,
.product-lightbox__arrow img {
    filter: brightness(0) invert(1);
}

.ui-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ui-breadcrumbs > img {
    width: 13px;
    height: 13px;
    opacity: .55;
}

.logo--footer {
    display: inline-flex;
    width: 92px;
    max-width: 92px;
    height: 30px;
    align-items: center;
    overflow: hidden;
}

.logo--footer .logo__image {
    display: block;
    width: 92px;
    height: auto;
    object-fit: contain;
}

.site-footer__bottom .ui-icon-link {
    gap: 6px;
}

.site-footer__bottom .ui-icon-link img {
    width: 15px;
    height: 15px;
}

.product-info-compact > .product-specs-compact {
    display: none !important;
}

.model-specs-accordion--cards {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(17, 26, 54, .07);
    box-shadow: 0 16px 38px rgba(17, 26, 54, .07);
    overflow: hidden;
}

.model-specs-accordion--cards summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(135deg, #fff, #f6f8ff);
    color: var(--dark, #111a36);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 950;
    letter-spacing: -.045em;
}

.model-specs-accordion--cards summary::-webkit-details-marker {
    display: none;
}

.model-specs-accordion--cards summary b {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.model-specs-accordion--cards summary b::before,
.model-specs-accordion--cards summary b::after {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #2358f6;
}

.model-specs-accordion--cards summary b::after {
    transform: rotate(90deg);
}

.model-specs-accordion--cards[open] summary b::after {
    opacity: 0;
}

.model-specs-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 16px !important;
    background: #fff !important;
}

.model-specs-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(17, 26, 54, .07) !important;
    background: linear-gradient(180deg, #fff, #f8faff) !important;
    box-shadow: none !important;
}

.model-specs-card > b {
    padding: 0 !important;
    color: #111a36 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

.model-specs-card ul {
    display: grid !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.model-specs-card li {
    display: flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 9px 11px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: rgba(35, 88, 246, .055) !important;
    color: #111a36 !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
}

.model-specs-card li::before {
    content: none !important;
}

.product-check-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 18px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 26px;
    background: radial-gradient(circle at 88% 18%, rgba(255, 122, 0, .16), transparent 28%), radial-gradient(circle at 12% 88%, rgba(35, 88, 246, .14), transparent 30%), linear-gradient(135deg, #fff, #f7f9ff);
    border: 1px solid rgba(17, 26, 54, .07);
    box-shadow: 0 16px 38px rgba(17, 26, 54, .07);
}

.product-check-block__copy h2 {
    margin: 6px 0 8px;
    color: #111a36;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -.055em;
}

.product-check-block__copy p:last-child {
    max-width: 680px;
    margin: 0;
    color: #5f6b84;
    font-weight: 750;
    line-height: 1.5;
}

.product-check-block__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.product-check-block__grid span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 11px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(17, 26, 54, .06);
    color: #111a36;
    font-size: 13px;
    font-weight: 900;
}

.product-check-block__grid img {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.product-check-block > .button {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .product-check-block {
        grid-template-columns: 1fr;
    }

    .model-specs-card-grid {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
    }

    .model-specs-accordion--cards summary {
        padding: 18px 16px;
    }

    .product-check-block__grid {
        grid-template-columns: 1fr;
    }

    .product-check-block > .button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .mobile-catalog-button.header-icon-label-button {
        display: inline-flex !important;
    }

    .mobile-menu__head .icon-button img {
        width: 20px !important;
        height: 20px !important;
    }
}
