/*
Theme Name: Las Casas Child
Theme URI: https://las-casas.es/
Description: Tema hijo de Las Casas.
Author: Las Casas
Author URI: https://las-casas.es/
Template: lascasas-theme
Version: 1.0.0
Text Domain: lascasas-child
*/

/* =========================
   RESET Y BOX-SIZING
   ========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =========================
   HEADER
   ========================= */

.lc-site-header {
    position: relative;
    width: 100%;
    z-index: 9999;
}

.lc-header-top {
    background: #d5d0d0;
}

.lc-header-brand {
    width: min(1440px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

.lc-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.4vw, 18px);
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    color: #333300;
    text-decoration: none;
}

.lc-brand-link:hover {
    color: #5c4920;
    text-decoration: none;
}

.lc-brand-logo-wrap {
    width: clamp(30px, 3vw, 42px);
    height: clamp(30px, 3vw, 42px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    flex: 0 0 auto;
}

.lc-brand-logo-spinner {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    transform-style: preserve-3d;
    animation: lc-brand-logo-rotate 10s linear infinite;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

.lc-brand-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(2px);
    filter:
        grayscale(0.12)
        saturate(0.78)
        brightness(1.08)
        contrast(1.08)
        drop-shadow(0 0 1px rgba(255,255,255,0.35));
}

.lc-brand-logo-glint {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0) 18%,
        rgba(255,255,255,0.08) 34%,
        rgba(255,255,255,0.60) 50%,
        rgba(255,255,255,0.12) 63%,
        rgba(255,255,255,0) 78%
    );
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-120%) skewX(-14deg) translateZ(8px);
    animation: lc-brand-logo-glint 10s linear infinite;
    pointer-events: none;
}

.lc-brand-text {
    width: clamp(250px, 50vw, 450px);
    height: 50px;
    overflow: visible;
}

@keyframes lc-brand-logo-rotate {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes lc-brand-logo-glint {
    0%, 100% {
        opacity: 0;
        transform: translateX(-120%) skewX(-14deg) translateZ(8px);
    }
    12% {
        opacity: 0.10;
    }
    22% {
        opacity: 0.72;
        transform: translateX(105%) skewX(-14deg) translateZ(8px);
    }
    28% {
        opacity: 0;
        transform: translateX(130%) skewX(-14deg) translateZ(8px);
    }
    58% {
        opacity: 0;
        transform: translateX(-120%) skewX(-14deg) translateZ(8px);
    }
    70% {
        opacity: 0.58;
        transform: translateX(100%) skewX(-14deg) translateZ(8px);
    }
    76% {
        opacity: 0;
        transform: translateX(130%) skewX(-14deg) translateZ(8px);
    }
}

.lc-header-bottom {
    background: #000;
    position: relative;
    z-index: 1000;
}

.lc-header-bottom-inner {
    width: min(1440px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lc-main-nav {
    flex: 1;
    min-width: 0;
}

.lc-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.lc-menu li {
    margin: 0;
    padding: 0;
}

.lc-menu a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: clamp(17px, 1.2vw, 22px);
    line-height: 1.2;
}

.lc-menu a:hover,
.lc-menu .current-menu-item > a,
.lc-menu .current_page_item > a {
    color: #e2c48e;
    text-decoration: none;
}

.lc-account-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    perspective: 600px;
}

.lc-account-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: center;
    transition: transform 0.7s ease;
}

.lc-account-link:hover .lc-account-icon,
.lc-account-link:focus-visible .lc-account-icon,
.lc-account-link:active .lc-account-icon {
    transform: rotateY(360deg);
}

.lc-header-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.lc-header-toggle span {
    width: 24px;
    height: 2px;
    background: #e2c48e;
    border-radius: 2px;
    display: block;
}

.lc-header-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #050505;
    border-top: 1px solid rgba(226, 196, 142, 0.18);
    border-bottom: 1px solid rgba(226, 196, 142, 0.18);
    z-index: 10050;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.lc-header-drawer-inner {
    width: min(1440px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 16px;
}

.lc-header-drawer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lc-header-drawer-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lc-header-drawer-menu li:last-child {
    border-bottom: 0;
}

.lc-header-drawer-menu a {
    display: block;
    padding: 14px 0;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 18px;
}

.lc-header-drawer-menu a:hover,
.lc-header-drawer-menu .current-menu-item > a,
.lc-header-drawer-menu .current_page_item > a {
    color: #e2c48e;
    text-decoration: none;
}

.lc-header-drawer-account {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 18px;
}

.lc-header-drawer-account-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

/* =========================
   FOOTER
   ========================= */

.lc-site-footer {
    background: #4a4a4a;
    border-top: 1px solid rgba(226, 196, 142, 0.22);
    position: relative;
    z-index: 1000;
}

/* Franja gris a todo el ancho en los artículos del blog (sustituye al título) */
.lc-blog-bar {
    width: 100%;
    height: 48px;
    background: #4a4a4a;
    margin: 0 0 24px;
}

.lc-footer-inner {
    width: min(1440px, calc(100% - 24px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.lc-footer-left {
    display: flex;
    align-items: center;
}

.lc-footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
}

.lc-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}

.lc-footer-menu li {
    margin: 0;
    padding: 0;
}

.lc-footer-menu a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
}

.lc-footer-menu a:hover,
.lc-footer-menu .current-menu-item > a,
.lc-footer-menu .current_page_item > a {
    color: #e2c48e;
    text-decoration: none;
}

/* ── Submenú desplegable del footer (se abre hacia ARRIBA) ── */
.lc-footer-menu li {
    position: relative;
}

.lc-footer-menu .menu-item-has-children > a::after {
    content: "+";
    margin-left: 7px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    opacity: .9;
}

.lc-footer-menu .menu-item-has-children:hover > a::after,
.lc-footer-menu .menu-item-has-children:focus-within > a::after,
.lc-footer-menu .menu-item-has-children.lc-open > a::after {
    content: "\2212"; /* − cuando está desplegado */
}

.lc-footer-menu .sub-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin: 0 0 8px;
    padding: 8px 0;
    list-style: none;
    min-width: 220px;
    background: #000;
    border: 1px solid rgba(226, 196, 142, 0.28);
    border-radius: 10px;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.55);
    display: none;
    z-index: 1001;
}

.lc-footer-menu li:hover > .sub-menu,
.lc-footer-menu li:focus-within > .sub-menu,
.lc-footer-menu li.lc-open > .sub-menu {
    display: block;
}

.lc-footer-menu .sub-menu li {
    margin: 0;
}

.lc-footer-menu .sub-menu a {
    display: block;
    padding: 9px 18px;
    white-space: nowrap;
    font-size: 15px;
}

.lc-footer-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.lc-footer-toggle span {
    width: 24px;
    height: 2px;
    background: #e2c48e;
    border-radius: 2px;
    display: block;
}

.lc-footer-drawer {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #050505;
    border-top: 1px solid rgba(226, 196, 142, 0.18);
    border-bottom: 1px solid rgba(226, 196, 142, 0.18);
    z-index: 10050;
    box-shadow: 0 -16px 40px rgba(0,0,0,0.35);
}

.lc-footer-drawer-inner {
    width: min(1440px, calc(100% - 24px));
    margin: 0 auto;
    padding: 14px 0 18px;
}

.lc-footer-drawer-translate {
    margin-bottom: 16px;
}

.lc-footer-drawer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lc-footer-drawer-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lc-footer-drawer-menu li:last-child {
    border-bottom: 0;
}

.lc-footer-drawer-menu a {
    display: block;
    padding: 14px 0;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 18px;
}

.lc-footer-drawer-menu a:hover,
.lc-footer-drawer-menu .current-menu-item > a,
.lc-footer-drawer-menu .current_page_item > a {
    color: #e2c48e;
    text-decoration: none;
}

/* Submenú en el cajón móvil del footer: se abre al tocar el "+" */
.lc-footer-drawer-menu .menu-item-has-children > a::after {
    content: "+";
    float: right;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.lc-footer-drawer-menu .menu-item-has-children.lc-open > a::after {
    content: "\2212"; /* − */
}

.lc-footer-drawer-menu .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 6px 16px;
}

.lc-footer-drawer-menu li.lc-open > .sub-menu {
    display: block;
}

.lc-footer-drawer-menu .sub-menu li {
    border-bottom: 0;
}

.lc-footer-drawer-menu .sub-menu a {
    padding: 10px 0;
    font-size: 16px;
    opacity: .9;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 980px) {
    .lc-main-nav,
    .lc-account-link {
        display: none;
    }

    .lc-header-bottom-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .lc-header-toggle {
        display: inline-flex;
        order: 1;
    }

    .lc-footer-toggle {
        display: inline-flex;
    }

    .lc-footer-menu {
        display: none;
    }

    .lc-footer-inner {
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .lc-header-brand {
        min-height: 70px;
    }

    .lc-brand-link {
        gap: 10px;
        font-size: clamp(22px, 7vw, 40px);
    }

    .lc-header-bottom-inner,
    .lc-footer-inner {
        min-height: 62px;
    }

    .lc-header-drawer-menu a,
    .lc-footer-drawer-menu a,
    .lc-header-drawer-account {
        font-size: 17px;
    }

    .lc-brand-logo-wrap {
        width: 32px;
        height: 32px;
    }

    .lc-brand-text {
        width: min(70vw, 300px);
        height: 38px;
    }
}

@media (max-width: 480px) {
    .lc-brand-link {
        gap: 8px;
    }

    .lc-brand-logo-wrap {
        width: 28px;
        height: 28px;
    }

    .lc-brand-text {
        width: min(72vw, 240px);
        height: 32px;
    }
}

/* =========================
   TRUST BADGES
   ========================= */

.lc-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: #0B1014;
    border-top: 1px solid rgba(226, 196, 142, 0.2);
    border-bottom: 1px solid rgba(226, 196, 142, 0.2);
    margin-bottom: 15px;
}

.lc-badge {
    text-align: center;
    min-width: 100px;
}

.lc-badge i {
    font-size: 22px;
    color: #E2C48E;
    margin-bottom: 6px;
    display: block;
}

.lc-badge span {
    font-size: 11px;
    color: #C2C2C2;
    font-weight: 500;
}

@media (max-width: 640px) {
    .lc-trust-badges {
        gap: 12px;
        padding: 12px 10px;
    }

    .lc-badge {
        min-width: 80px;
    }

    .lc-badge i {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .lc-badge span {
        font-size: 9px;
    }
}

/* =========================
   TRUSTPILOT
   ========================= */

#trustpilot-gtm-floating-wrapper {
    background-color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 40px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    border: 1px solid #dbdbdb !important;
    bottom: 20px !important;
    left: 16px !important;
}

.trustpilot-widget iframe {
    height: 22px !important;
    width: 120px !important;
}

/* =========================
   404 PAGE
   ========================= */

.lc-404-page {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #0B1014 0%, #1a1a1a 100%);
}

.lc-404-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(11, 16, 20, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid rgba(226, 196, 142, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lc-404-badge {
    font-size: 120px;
    font-weight: 800;
    font-family: 'DM Serif Display', serif;
    background: linear-gradient(135deg, #E2C48E 0%, #F8D189 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lc-404-title {
    font-size: clamp(28px, 5vw, 42px);
    font-family: 'DM Serif Display', serif;
    color: #E2C48E;
    margin-bottom: 20px;
}

.lc-404-text {
    font-size: 18px;
    line-height: 1.5;
    color: #C2C2C2;
    margin-bottom: 32px;
}

.lc-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.lc-404-btn,
.lc-404-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.lc-404-btn {
    background: #E2C48E;
    color: #0B1014;
    border: none;
}

.lc-404-btn:hover {
    background: #F8D189;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 196, 142, 0.3);
    color: #0B1014;
}

.lc-404-btn-secondary {
    background: transparent;
    border: 2px solid #E2C48E;
    color: #E2C48E;
}

.lc-404-btn-secondary:hover {
    background: #E2C48E;
    color: #0B1014;
    transform: translateY(-2px);
}

.lc-404-search-wrap {
    padding-top: 32px;
    border-top: 1px solid rgba(226, 196, 142, 0.15);
    margin-bottom: 32px;
}

.lc-404-search-title {
    font-size: 18px;
    font-weight: 600;
    color: #E2C48E;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lc-404-search-form .search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 8px;
}

.lc-404-search-form .search-field {
    flex: 1;
    padding: 12px 20px;
    background: #1a1a1a;
    border: 1px solid rgba(226, 196, 142, 0.3);
    border-radius: 40px;
    color: #fff;
    font-size: 15px;
}

.lc-404-search-form .search-field:focus {
    outline: none;
    border-color: #E2C48E;
}

.lc-404-search-form .search-submit {
    padding: 12px 24px;
    background: #E2C48E;
    border: none;
    border-radius: 40px;
    color: #0B1014;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lc-404-search-form .search-submit:hover {
    background: #F8D189;
}

.lc-404-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.lc-404-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C2C2C2;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.lc-404-links a i {
    font-size: 14px;
    color: #E2C48E;
}

.lc-404-links a:hover {
    color: #E2C48E;
}

@media (max-width: 640px) {
    .lc-404-card {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .lc-404-badge {
        font-size: 80px;
    }

    .lc-404-title {
        font-size: 28px;
    }

    .lc-404-text {
        font-size: 16px;
    }

    .lc-404-actions {
        flex-direction: column;
    }

    .lc-404-btn,
    .lc-404-btn-secondary {
        justify-content: center;
    }

    .lc-404-links {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
}

/* =========================
   BLOG PAGE
   ========================= */

.lc-blog-page {
    padding: 60px 0;
    background: #0B1014;
}

.lc-blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.lc-blog-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    color: #E2C48E;
    margin-bottom: 12px;
}

.lc-blog-description {
    font-size: 18px;
    color: #C2C2C2;
}

.lc-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.lc-blog-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(226, 196, 142, 0.15);
}

.lc-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(226, 196, 142, 0.3);
}

.lc-blog-card-image {
    display: block;
    overflow: hidden;
}

.lc-blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-blog-card:hover .lc-blog-card-image img {
    transform: scale(1.05);
}

.lc-blog-card-content {
    padding: 24px;
}

.lc-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #999;
}

.lc-blog-meta i {
    color: #E2C48E;
    margin-right: 5px;
}

.lc-blog-card-title {
    font-size: 22px;
    font-family: 'DM Serif Display', serif;
    margin-bottom: 14px;
}

.lc-blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lc-blog-card-title a:hover {
    color: #E2C48E;
}

.lc-blog-excerpt {
    color: #C2C2C2;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.lc-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E2C48E;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.lc-blog-read-more:hover {
    gap: 12px;
    color: #F8D189;
}

.lc-blog-pagination {
    margin-top: 50px;
    text-align: center;
}

.lc-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    background: #1a1a1a;
    color: #C2C2C2;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lc-blog-pagination .page-numbers.current {
    background: #E2C48E;
    color: #0B1014;
}

.lc-blog-pagination .page-numbers:hover:not(.current) {
    background: #2a2a2a;
    color: #E2C48E;
}

.lc-blog-pagination .prev,
.lc-blog-pagination .next {
    width: auto;
    padding: 0 16px;
    gap: 8px;
}

.lc-blog-empty {
    text-align: center;
    padding: 60px;
    background: #1a1a1a;
    border-radius: 20px;
    color: #C2C2C2;
}

@media (max-width: 768px) {
    .lc-blog-page {
        padding: 40px 0;
    }

    .lc-blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lc-blog-card-content {
        padding: 20px;
    }
}

/* =========================
   MOBILE HEADER FIX
   ========================= */

img,
svg {
    max-width: 100%;
}

.lc-site-header,
.lc-site-header * {
    box-sizing: border-box;
}

.lc-site-header img {
    height: auto;
}

.lc-brand-logo-wrap {
    width: clamp(28px, 8vw, 42px) !important;
    height: clamp(28px, 8vw, 42px) !important;
    max-width: 42px !important;
    max-height: 42px !important;
    overflow: hidden;
}

.lc-brand-logo-spinner,
.lc-brand-logo {
    width: 100% !important;
    height: 100% !important;
}

.lc-brand-logo {
    object-fit: contain !important;
}

.lc-brand-text {
    display: block;
    width: min(70vw, 450px) !important;
    height: auto !important;
    max-height: 60px !important;
}

@media (max-width: 640px) {
    .lc-header-brand {
        min-height: 56px !important;
        padding: 6px 0 !important;
    }

    .lc-brand-link {
        max-width: calc(100vw - 24px);
        gap: 8px !important;
    }

    .lc-brand-logo-wrap {
        width: 28px !important;
        height: 28px !important;
    }

    .lc-brand-text {
        width: min(72vw, 240px) !important;
        max-height: 34px !important;
    }

    .lc-header-bottom-inner {
        min-height: 54px !important;
    }
}




/* =========================
   MOBILE APP MODE
   ========================= */

@media (max-width: 768px) {

    body {
        background: #0B1014 !important;
        overflow-x: hidden !important;
    }

    .site,
    .site-content,
    .content-area,
    .container,
    .wrap,
    .wrapper,
    .content-wrapper,
    .entry-content,
    .page-content,
    .post,
    .page,
    article,
    main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* убираем «коробки» */

    .widget,
    .card,
    .box,
    .content-box,
    .booking-box,
    .search-box,
    .sidebar,
    .elementor-widget-container,
    .wp-block-group,
    .wp-block-cover,
    .wp-block-columns {
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    /* убираем лишние внутренние отступы */

    .container,
    .wrap,
    .wrapper,
    .content-wrapper,
    .entry-content,
    .page-content,
    main,
    article {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* карточки делаем app-style */

    .lc-blog-card,
    .lc-404-card {
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    /* footer/header во всю ширину */

    .lc-site-header,
    .lc-site-footer {
        border-radius: 0 !important;
    }

    /* картинки */

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* запрещаем горизонтальный скролл */

    html,
    body {
        overflow-x: hidden !important;
    }
}