:root {
	--myia-primary: #073763;
	--myia-accent: #169de4;
	--myia-surface: #f4f8fb;
	--myia-text: #0b2743;
	--myia-radius: 18px;
	--myia-border: #e6edf3;
	--myia-muted: #687786;
	--myia-shell: 1180px;
}

* { box-sizing: border-box; }
html.myia-menu-open, html.myia-menu-open body { overflow: hidden; }
body.myia-optica-home { background: #fff; color: var(--myia-text); }
.myia-shell { width: min(calc(100% - 28px), var(--myia-shell)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.site-header { padding: 0 !important; background: #fff; border: 0; margin: 0 !important; }
.site-header .col-full { max-width: none; margin: 0; padding: 0; }
.site-content { margin-top: 0; }
.site-content > .col-full { max-width: none; margin: 0; padding: 0; }
.myia-optica-home .site-main { margin: 0; }

.myia-header { background: #fff; position: relative; z-index: 50; }
.myia-header__top { min-height: 72px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 10px; }
.myia-header__brand { min-width: 0; display: flex; justify-content: center; align-items: center; }
.myia-header__brand .custom-logo-link { display: inline-flex; line-height: 0; }
.myia-header__brand .custom-logo { width: auto; height: auto; max-height: 42px; max-width: min(210px, 48vw); object-fit: contain; }
.myia-header__site-title { color: var(--myia-text); font-weight: 800; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.myia-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.myia-icon-button { position: relative; width: 42px; height: 42px; border: 0; border-radius: 12px; padding: 0; background: transparent; color: var(--myia-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.myia-icon-button:hover { background: var(--myia-surface); color: var(--myia-text); }
.myia-icon-button svg, .myia-search__icon svg, .myia-benefit__icon svg, .myia-bottom-nav__icon svg, .myia-section-heading svg, .myia-button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.myia-header__cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--myia-accent); color: #fff; font-size: 10px; font-weight: 800; border: 2px solid #fff; }
.myia-header__search-wrap { padding-bottom: 12px; }
.myia-search { min-height: 48px; display: flex; align-items: center; gap: 10px; background: var(--myia-surface); border: 1px solid #edf2f6; border-radius: 12px; padding: 0 14px; }
.myia-search__icon { display: inline-flex; color: #091d32; flex: 0 0 auto; }
.myia-search__icon svg { width: 22px; height: 22px; }
.myia-search__input { width: 100% !important; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; color: var(--myia-text); font-size: 15px; }
.myia-search__input:focus { outline: 0; }

.myia-drawer { position: fixed; inset: 0; z-index: 999999; }
.myia-drawer__overlay { position: absolute; inset: 0; border: 0; background: rgba(3, 21, 38, .44); }
.myia-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 380px); background: #fff; padding: 18px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 18px 0 50px rgba(0,0,0,.13); overflow: auto; }
.myia-drawer.is-open .myia-drawer__panel { transform: translateX(0); }
.myia-drawer__brand { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--myia-border); margin-bottom: 12px; }
.myia-drawer__brand .custom-logo { max-width: 150px; max-height: 40px; width: auto; }
.myia-drawer__menu { list-style: none; margin: 0; padding: 0; }
.myia-drawer__menu li { border-bottom: 1px solid var(--myia-border); }
.myia-drawer__menu a { display: block; padding: 14px 4px; color: var(--myia-text); text-decoration: none; font-weight: 650; }
.myia-drawer__menu .sub-menu { list-style: none; margin: 0 0 8px 14px; padding: 0; }

.myia-home { padding-bottom: 28px; }
.myia-hero { margin-top: 0; }
.myia-hero__viewport { position: relative; aspect-ratio: 2.15 / 1; min-height: 210px; border-radius: var(--myia-radius); overflow: hidden; background: var(--myia-surface); }
.myia-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.myia-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.myia-hero__media, .myia-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.myia-hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.54) 42%, rgba(255,255,255,0) 70%); }
.myia-hero__content { position: relative; z-index: 2; height: 100%; width: min(50%, 460px); padding: clamp(20px, 4vw, 46px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.myia-hero__content h1 { margin: 0 0 8px; color: var(--myia-primary); font-size: clamp(26px, 5vw, 52px); line-height: .97; letter-spacing: -.04em; font-weight: 850; }
.myia-hero__content p { margin: 0 0 14px; max-width: 30ch; color: var(--myia-text); font-size: clamp(13px, 1.6vw, 17px); line-height: 1.35; }
.myia-button { min-height: 40px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--myia-primary); color: #fff !important; font-size: 13px; font-weight: 700; }
.myia-button svg { width: 17px; height: 17px; }
.myia-button--accent { background: var(--myia-accent); }
.myia-hero__dots { min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.myia-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #d1dce5; }
.myia-hero__dots button.is-active { background: var(--myia-primary); }

.myia-categories { margin: 2px 0 14px; }
.myia-categories__track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.myia-category { min-width: 0; color: var(--myia-text); text-decoration: none; text-align: center; }
.myia-category__image { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--myia-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.myia-category__image img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.myia-category__name { display: block; margin-top: 8px; font-size: 12px; line-height: 1.15; font-weight: 600; }

.myia-benefits { margin: 14px 0 18px; padding: 12px; border-radius: 10px; background: linear-gradient(90deg, #f7fbfe, var(--myia-surface)); display: grid; grid-template-columns: repeat(4, 1fr); }
.myia-benefit { min-width: 0; min-height: 46px; padding: 0 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--myia-text); text-decoration: none; border-right: 1px solid #dce8f1; font-size: 12px; line-height: 1.2; }
.myia-benefit:last-child { border-right: 0; }
.myia-benefit__icon { flex: 0 0 auto; display: inline-flex; color: var(--myia-primary); }
.myia-benefit__icon svg { width: 26px; height: 26px; }

.myia-section-heading { margin: 14px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.myia-section-heading h2 { margin: 0; color: var(--myia-text); font-size: clamp(21px, 3vw, 30px); line-height: 1.05; font-weight: 820; letter-spacing: -.025em; }
.myia-section-heading a { display: inline-flex; align-items: center; gap: 4px; color: var(--myia-accent); text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.myia-section-heading a span { display: inline-flex; }
.myia-section-heading svg { width: 17px; height: 17px; }
.myia-products__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.myia-product-card { min-width: 0; border: 1px solid var(--myia-border); border-radius: 9px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.myia-product-card__image { display: block; aspect-ratio: 1.25 / 1; padding: 10px 8px 0; background: #fff; }
.myia-product-card__image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.myia-product-card__body { flex: 1; padding: 6px 8px 8px; display: flex; flex-direction: column; }
.myia-product-card__title { min-height: 34px; color: #1d2833; text-decoration: none; text-align: center; font-size: 12px; line-height: 1.22; font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.myia-product-card__price { margin: 5px 0 7px; color: var(--myia-primary); font-size: 15px; line-height: 1.15; font-weight: 850; text-align: center; }
.myia-product-card__price del { color: #8b96a0; font-size: 11px; font-weight: 500; }
.myia-product-card__button.button { margin-top: auto; width: 100%; min-height: 38px; padding: 8px 6px; border: 0; border-radius: 8px; background: var(--myia-primary); color: #fff; font-size: 12px; line-height: 1.1; font-weight: 700; text-align: center; box-shadow: none; }
.myia-product-card__button.button:hover { background: var(--myia-primary); color: #fff; filter: brightness(.92); }

.myia-promo { position: relative; min-height: 145px; margin: 16px 0 4px; border-radius: 10px; overflow: hidden; background: var(--myia-surface); display: grid; grid-template-columns: 1fr 1.4fr; }
.myia-promo__media { position: relative; min-height: 145px; }
.myia-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.myia-promo__content { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.myia-promo__content h2 { margin: 0 0 5px; color: var(--myia-text); font-size: 22px; line-height: 1.05; font-weight: 820; }
.myia-promo__content p { margin: 0 0 10px; color: var(--myia-text); font-size: 13px; line-height: 1.35; }

.myia-bottom-nav { display: none; }

@media (max-width: 767px) {
	body { padding-bottom: 76px; }
	.myia-shell { width: min(calc(100% - 20px), var(--myia-shell)); }
	.myia-header__top { min-height: 64px; grid-template-columns: 42px 1fr auto; }
	.myia-icon-button { width: 39px; height: 39px; }
	.myia-header__brand .custom-logo { max-height: 34px; max-width: 46vw; }
	.myia-header__search-wrap { padding-bottom: 10px; }
	.myia-search { min-height: 45px; border-radius: 10px; }
	.myia-hero__viewport { min-height: 0; aspect-ratio: 2.18 / 1; border-radius: 10px; }
	.myia-hero__content { width: 56%; padding: 14px 16px; }
	.myia-hero__content h1 { font-size: clamp(22px, 7vw, 31px); }
	.myia-hero__content p { font-size: 11px; margin-bottom: 9px; }
	.myia-button { min-height: 34px; padding: 0 14px; font-size: 11px; }
	.myia-categories__track { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; padding-bottom: 2px; }
	.myia-categories__track::-webkit-scrollbar { display: none; }
	.myia-category { flex: 0 0 calc((100vw - 72px) / 5); }
	.myia-category__name { font-size: 10px; }
	.myia-benefits { padding: 8px 4px; gap: 0; overflow-x: auto; }
	.myia-benefit { min-width: 118px; padding: 0 7px; font-size: 10px; }
	.myia-benefit__icon svg { width: 23px; height: 23px; }
	.myia-section-heading { margin-top: 14px; }
	.myia-section-heading h2 { font-size: 20px; }
	.myia-section-heading a { font-size: 11px; }
	.myia-products__track { gap: 7px; }
	.myia-product-card__image { aspect-ratio: 1.18 / 1; padding: 7px 5px 0; }
	.myia-product-card__body { padding: 4px 5px 6px; }
	.myia-product-card__title { min-height: 30px; font-size: 10px; }
	.myia-product-card__price { font-size: 12px; margin: 4px 0 6px; }
	.myia-product-card__button.button { min-height: 34px; padding: 7px 3px; font-size: 10px; border-radius: 7px; }
	.myia-promo { min-height: 120px; grid-template-columns: .9fr 1.2fr; }
	.myia-promo__media { min-height: 120px; }
	.myia-promo__content { padding: 12px; }
	.myia-promo__content h2 { font-size: 17px; }
	.myia-promo__content p { font-size: 10px; }
	.myia-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; min-height: 68px; padding: 7px 12px max(7px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--myia-border); display: flex; align-items: flex-start; justify-content: space-around; backdrop-filter: blur(10px); }
	.myia-bottom-nav__item { flex: 1; min-width: 0; color: #5f6e7c; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; line-height: 1.1; overflow: hidden; }
	.myia-bottom-nav__item.is-active { color: var(--myia-accent); }
	.myia-bottom-nav__icon { display: inline-flex; }
	.myia-bottom-nav__icon svg { width: 25px; height: 25px; }
}

@media (min-width: 768px) {
	.myia-header__top { min-height: 78px; grid-template-columns: 48px 1fr auto; }
	.myia-header__search-wrap { padding-bottom: 18px; }
	.myia-search { max-width: 820px; margin-inline: auto; }
	.myia-home { padding-bottom: 50px; }
	.myia-categories { margin-top: 6px; }
	.myia-category__name { font-size: 14px; }
	.myia-products__track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.myia-product-card__title { font-size: 14px; }
	.myia-product-card__price { font-size: 17px; }
	.myia-product-card__button.button { font-size: 13px; }
}

@media (min-width: 1100px) {
	.myia-header__top { grid-template-columns: 52px 1fr 104px; }
	.myia-products__track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* =========================================================
   MYIA - CORRECCIÓN PROFESIONAL WOOCOMMERCE
   ========================================================= */

/* Contenido general centrado */
body:not(.myia-optica-home) .site-content > .col-full,
.myia-optica-home .storefront-product-section {
    width: min(calc(100% - 40px), 1380px);
    max-width: 1380px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0;
    padding-right: 0;
}

/* Secciones de productos Storefront */
.storefront-product-section {
    clear: both;
    margin-top: 34px;
    margin-bottom: 45px;
}

.storefront-product-section > h2,
.storefront-product-section .section-title {
    margin: 0 0 24px;
    color: var(--myia-text);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
}


/* =========================================================
   GRID DE PRODUCTOS
   ========================================================= */

.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    display: none !important;
}


/* =========================================================
   TARJETA
   ========================================================= */

.woocommerce ul.products li.product,
ul.products li.product {
    float: none !important;
    clear: none !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 16px !important;

    background: #fff;
    border: 1px solid var(--myia-border);
    border-radius: 16px;

    display: flex !important;
    flex-direction: column;
    align-items: stretch;

    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: #d7e2eb;
    box-shadow: 0 10px 30px rgba(7, 55, 99, .08);
}


/* =========================================================
   IMAGEN DEL PRODUCTO
   IMPORTANTE: NO CORTAR LOS LENTES
   ========================================================= */

.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100% !important;
    height: 250px !important;

    margin: 0 0 16px !important;
    padding: 18px !important;

    display: block;

    object-fit: contain !important;
    object-position: center center !important;

    background: #fff;

    border-radius: 12px;
}


/* =========================================================
   NOMBRE
   ========================================================= */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
    min-height: 44px;

    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #182638;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;

    letter-spacing: -0.015em;

    text-align: center;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   PRECIO
   ========================================================= */

.woocommerce ul.products li.product .price,
ul.products li.product .price {
    margin: 0 0 14px !important;

    color: var(--myia-primary) !important;

    font-size: 20px !important;
    line-height: 1.2;
    font-weight: 750 !important;

    letter-spacing: -0.025em;

    text-align: center;
}

.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
    color: #8895a1;
    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.woocommerce ul.products li.product .button,
ul.products li.product .button {
    width: 100% !important;

    min-height: 46px;

    margin-top: auto !important;
    padding: 12px 16px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border: 0 !important;
    border-radius: 10px !important;

    background: var(--myia-primary) !important;

    color: #fff !important;

    font-size: 14px !important;
    line-height: 1.2;
    font-weight: 650 !important;

    text-align: center;

    box-shadow: none !important;

    transition:
        transform .15s ease,
        filter .15s ease;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
    color: #fff !important;
    filter: brightness(.93);
    transform: translateY(-1px);
}


/* =========================================================
   TIPOGRAFÍA GENERAL
   ========================================================= */

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 400;
    letter-spacing: -0.008em;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .woocommerce ul.products li.product a img,
    ul.products li.product a img {
        height: 220px !important;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body:not(.myia-optica-home) .site-content > .col-full,
    .myia-optica-home .storefront-product-section {
        width: calc(100% - 24px);
    }

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .woocommerce ul.products li.product,
    ul.products li.product {
        padding: 10px !important;
        border-radius: 12px;
    }

    .woocommerce ul.products li.product a img,
    ul.products li.product a img {
        height: 150px !important;

        margin-bottom: 10px !important;
        padding: 8px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    ul.products li.product .woocommerce-loop-product__title {
        min-height: 38px;

        margin-bottom: 7px !important;

        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .woocommerce ul.products li.product .price,
    ul.products li.product .price {
        margin-bottom: 10px !important;

        font-size: 16px !important;
    }

    .woocommerce ul.products li.product .button,
    ul.products li.product .button {
        min-height: 40px;

        padding: 9px 6px !important;

        border-radius: 8px !important;

        font-size: 11px !important;
    }
}


/* ==========================================
   MYIA - LOGO REALMENTE CENTRADO
   ========================================== */

.myia-header__top {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.myia-header__brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.myia-header__actions {
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.myia-header__menu-toggle {
    position: relative;
    z-index: 2;
}

/* =========================================================
   MYIA - FOOTER PERSONALIZADO
   ========================================================= */
.site-footer {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	color: var(--myia-text);
}
.site-footer > .col-full {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.myia-footer { width: 100%; background: #fff; border-top: 1px solid var(--myia-border); }
.myia-footer a { text-decoration: none; }
.myia-footer__main { background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%); }
.myia-footer__inner {
	width: min(calc(100% - 40px), var(--myia-shell));
	margin-inline: auto;
	padding: 42px 0 34px;
	display: grid;
	grid-template-columns: minmax(260px, 1.25fr) minmax(150px, .7fr) minmax(260px, 1fr);
	gap: clamp(28px, 5vw, 70px);
	align-items: start;
}
.myia-footer__logo { min-height: 46px; display: flex; align-items: center; }
.myia-footer__logo .custom-logo-link { display: inline-flex; line-height: 0; }
.myia-footer__logo .custom-logo { width: auto; height: auto; max-width: 245px; max-height: 58px; object-fit: contain; }
.myia-footer__site-name { color: var(--myia-primary); font-size: 27px; line-height: 1; font-weight: 850; letter-spacing: -.035em; }
.myia-footer__description { max-width: 34ch; margin: 18px 0 0; color: #4e6070; font-size: 14px; line-height: 1.6; }
.myia-footer__socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.myia-footer__socials a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #edf5fa; color: var(--myia-primary); transition: transform .16s ease, background .16s ease, color .16s ease; }
.myia-footer__socials a:hover { transform: translateY(-2px); background: var(--myia-accent); color: #fff; }
.myia-footer__socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.myia-footer__column h2 { margin: 3px 0 15px; color: var(--myia-text); font-size: 16px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.myia-footer__menu { list-style: none; margin: 0; padding: 0; }
.myia-footer__menu li { margin: 0; padding: 0; }
.myia-footer__menu a { display: inline-block; padding: 5px 0; color: #4e6070; font-size: 14px; line-height: 1.35; }
.myia-footer__menu a:hover { color: var(--myia-accent); }
.myia-footer__contacts { display: grid; gap: 13px; }
.myia-footer__contact { display: flex; align-items: flex-start; gap: 11px; color: var(--myia-text); }
a.myia-footer__contact:hover strong { color: var(--myia-accent); }
.myia-footer__contact-icon { flex: 0 0 31px; width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; color: var(--myia-accent); }
.myia-footer__contact-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.myia-footer__contact > span:last-child { min-width: 0; display: grid; gap: 2px; }
.myia-footer__contact strong { color: var(--myia-text); font-size: 13px; line-height: 1.2; font-weight: 750; transition: color .15s ease; }
.myia-footer__contact small { color: #657584; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.myia-footer__mobile-accordions { display: none; }
.myia-footer__services {
	width: min(calc(100% - 40px), var(--myia-shell));
	margin-inline: auto;
	padding: 20px 0 24px;
	border-top: 1px solid #dce7ee;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.myia-footer__service { min-width: 0; padding: 0 22px; display: flex; align-items: center; gap: 11px; border-right: 1px solid #dce7ee; }
.myia-footer__service:first-child { padding-left: 0; }
.myia-footer__service:last-child { padding-right: 0; border-right: 0; }
.myia-footer__service-icon { flex: 0 0 auto; display: inline-flex; color: var(--myia-accent); }
.myia-footer__service-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.myia-footer__service > span:last-child { min-width: 0; display: grid; gap: 2px; }
.myia-footer__service strong { color: var(--myia-text); font-size: 12px; line-height: 1.2; font-weight: 750; }
.myia-footer__service small { color: #677887; font-size: 10.5px; line-height: 1.25; }
.myia-footer__bottom { background: var(--myia-footer-bottom, #062942); color: #fff; }
.myia-footer__bottom-inner {
	width: min(calc(100% - 40px), var(--myia-shell));
	min-height: 86px;
	margin-inline: auto;
	padding: 18px 0;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "copyright payments" "legal developer";
	gap: 12px 24px;
	align-items: center;
}
.myia-footer__copyright { grid-area: copyright; margin: 0; color: rgba(255,255,255,.86); font-size: 11px; line-height: 1.4; }
.myia-footer__payments { grid-area: payments; justify-self: end; line-height: 0; }
.myia-footer__payments img { width: auto; height: auto; max-width: 280px; max-height: 34px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.myia-footer__legal { grid-area: legal; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 18px; }
.myia-footer__legal a { color: rgba(255,255,255,.78); font-size: 10.5px; line-height: 1.3; }
.myia-footer__legal a:hover { color: #fff; }
.myia-footer__developer { grid-area: developer; justify-self: end; display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.8); font-size: 10.5px; white-space: nowrap; }
.myia-footer__developer strong,
.myia-footer__developer a { color: #fff; font-weight: 800; }
.myia-footer__developer-icon { display: inline-flex; color: var(--myia-accent); margin-left: 2px; }
.myia-footer__developer-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 767px) {
	.myia-footer__inner {
		width: min(calc(100% - 32px), var(--myia-shell));
		padding: 28px 0 14px;
		display: block;
		text-align: center;
	}
	.myia-footer__brand { display: flex; flex-direction: column; align-items: center; }
	.myia-footer__logo { min-height: 38px; justify-content: center; }
	.myia-footer__logo .custom-logo { max-width: 205px; max-height: 48px; }
	.myia-footer__site-name { font-size: 24px; }
	.myia-footer__description { max-width: 30ch; margin-top: 13px; font-size: 12px; line-height: 1.5; }
	.myia-footer__socials { margin-top: 15px; justify-content: center; }
	.myia-footer__socials a { width: 34px; height: 34px; }
	.myia-footer__socials svg { width: 17px; height: 17px; }
	.myia-footer__desktop-column { display: none; }
	.myia-footer__mobile-accordions { display: block; width: min(calc(100% - 32px), var(--myia-shell)); margin: 4px auto 0; border-top: 1px solid #dce7ee; }
	.myia-footer__mobile-accordions details { border-bottom: 1px solid #dce7ee; }
	.myia-footer__mobile-accordions summary { min-height: 46px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; color: var(--myia-text); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
	.myia-footer__mobile-accordions summary::-webkit-details-marker { display: none; }
	.myia-footer__mobile-accordions summary::after { content: '+'; font-size: 18px; line-height: 1; font-weight: 400; transition: transform .15s ease; }
	.myia-footer__mobile-accordions details[open] summary::after { transform: rotate(45deg); }
	.myia-footer__menu--mobile { padding: 2px 0 12px; text-align: left; }
	.myia-footer__menu--mobile a { display: block; padding: 7px 2px; font-size: 12px; }
	.myia-footer__contacts--mobile { padding: 4px 0 14px; text-align: left; }
	.myia-footer__contact { gap: 8px; }
	.myia-footer__contact-icon { flex-basis: 27px; width: 27px; height: 27px; }
	.myia-footer__contact-icon svg { width: 21px; height: 21px; }
	.myia-footer__contact strong { font-size: 11px; }
	.myia-footer__contact small { font-size: 10.5px; }
	.myia-footer__services {
		width: min(calc(100% - 28px), var(--myia-shell));
		padding: 16px 0 18px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}
	.myia-footer__service { padding: 0 8px; flex-direction: column; justify-content: flex-start; gap: 5px; text-align: center; }
	.myia-footer__service:nth-child(n+4) { display: none; }
	.myia-footer__service:first-child { padding-left: 0; }
	.myia-footer__service:last-child { padding-right: 0; }
	.myia-footer__service-icon svg { width: 24px; height: 24px; }
	.myia-footer__service strong { font-size: 9.5px; }
	.myia-footer__service small { display: none; }
	.myia-footer__bottom-inner {
		width: min(calc(100% - 32px), var(--myia-shell));
		min-height: 0;
		padding: 17px 0 18px;
		display: flex;
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
	.myia-footer__copyright { order: 1; font-size: 9.5px; }
	.myia-footer__payments { order: 2; justify-self: auto; }
	.myia-footer__payments img { max-width: 190px; max-height: 25px; }
	.myia-footer__legal { order: 3; justify-content: center; gap: 5px 12px; }
	.myia-footer__legal a { font-size: 9px; }
	.myia-footer__developer { order: 4; justify-self: auto; font-size: 9.5px; }
}
