:root {
    --tydal-brand-navy: #0d2a43;
    --tydal-brand-navy-deep: #081d2f;
    --tydal-brand-blue: #1f668b;
    --tydal-brand-accent: #2f88aa;
    --tydal-brand-sky: #dcecf3;
    --tydal-brand-canvas: #f4f6f6;
    --tydal-brand-surface: #ffffff;
    --tydal-brand-ink: #14232f;
    --tydal-brand-muted: #5b6d79;
    --tydal-brand-border: #d9e1e5;
    --tydal-brand-shadow: 0 18px 48px rgba(13, 42, 67, .09);
}

body {
    color: var(--tydal-brand-ink);
}

body :where(button, .wp-element-button, input, select, textarea) {
    font-family: inherit;
}

body :where(a, button, .wp-element-button) {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.home .entry-content.wp-block-post-content.has-global-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Identidad provisional y navegación. */
header.wp-block-template-part {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(13, 42, 67, .1);
    box-shadow: 0 5px 22px rgba(13, 42, 67, .045);
    position: sticky;
    top: 0;
    z-index: 60;
}

body.admin-bar header.wp-block-template-part { top: 32px; }

header.wp-block-template-part .hostinger-ai-menu {
    background: transparent !important;
}

header.wp-block-template-part .hostinger-ai-menu-wrapper {
    box-sizing: border-box;
    column-gap: clamp(20px, 2.2vw, 42px);
    display: grid !important;
    grid-template-columns: minmax(150px, 220px) minmax(280px, 1fr) auto;
    max-width: none !important;
    min-height: 78px;
    padding-bottom: 15px !important;
    padding-left: clamp(24px, 3vw, 58px) !important;
    padding-right: clamp(24px, 3vw, 58px) !important;
    padding-top: 15px !important;
    width: 100% !important;
}

.tydal-header-search {
    align-self: center;
    display: flex;
    justify-self: center;
    margin: 0;
    max-width: 720px;
    min-width: 0;
    width: 100%;
}
.tydal-header-search input[type="search"] {
    background: #f8fafb;
    border: 1px solid #b8c8d0;
    border-radius: 0;
    box-sizing: border-box;
    color: var(--tydal-brand-ink);
    flex: 1 1 auto;
    font-size: 14px;
    height: 46px;
    min-width: 0;
    padding: 10px 15px;
}
.tydal-header-search input[type="search"]:focus { background: #fff; border-color: var(--tydal-brand-accent); box-shadow: 0 0 0 3px rgba(47, 136, 170, .12); outline: 0; }
.tydal-header-search button {
    align-items: center;
    background: var(--tydal-brand-blue);
    border: 1px solid var(--tydal-brand-blue);
    border-radius: 0;
    color: #fff;
    display: flex;
    flex: 0 0 52px;
    font-size: 24px;
    height: 46px;
    justify-content: center;
    padding: 0;
}
.tydal-header-search button:hover { background: var(--tydal-brand-navy); border-color: var(--tydal-brand-navy); }
.tydal-header-search button > span[aria-hidden="true"] {
    border: 2px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
    font-size: 0;
    height: 18px;
    line-height: 0;
    position: relative;
    transform: translate(-3px, -3px);
    width: 18px;
}
.tydal-header-search button > span[aria-hidden="true"]::after {
    background: currentColor;
    border-radius: 2px;
    bottom: -4px;
    content: "";
    height: 2px;
    position: absolute;
    right: -7px;
    transform: rotate(45deg);
    transform-origin: left center;
    width: 8px;
}

header .hostinger-ai-site-title {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin: 0;
    position: relative;
}

header .hostinger-ai-site-title a {
    color: var(--tydal-brand-navy) !important;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

header .hostinger-ai-site-title::after {
    color: var(--tydal-brand-blue);
    content: "SOLUCIONES INDUSTRIALES";
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .14em;
    margin-top: 7px;
    white-space: nowrap;
}

.tydal-main-nav { gap: clamp(17px, 2.1vw, 32px); }

.tydal-main-nav a {
    color: #294052;
    font-size: 13px;
    letter-spacing: .01em;
    padding: 12px 0;
    position: relative;
}

.tydal-main-nav a::after {
    background: var(--tydal-brand-accent);
    bottom: 4px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
    width: 100%;
}

.tydal-main-nav a:hover::after { transform: scaleX(1); }

header .wp-block-woocommerce-customer-account,
header .wp-block-woocommerce-mini-cart {
    align-items: center;
    border: 1px solid var(--tydal-brand-border);
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

header .wp-block-woocommerce-customer-account:hover,
header .wp-block-woocommerce-mini-cart:hover {
    background: #eef5f8;
    border-color: #aac5d2;
}

/* Portada comercial: estructura inspirada en catálogos industriales, con contenido propio. */
.tydal-home {
    max-width: none;
    padding: 0 0 80px;
    width: 100%;
}

.tydal-home-utility {
    align-items: center;
    background: #fff;
    border: 1px solid var(--tydal-brand-border);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(205px, .7fr) minmax(420px, 1.65fr) minmax(150px, .55fr);
    min-height: 76px;
    padding: 12px 22px;
}

.tydal-home-utility-links { display: flex; gap: 20px; }
.tydal-home-utility-links a {
    color: var(--tydal-brand-navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
}
.tydal-home-utility-links a:hover { color: var(--tydal-brand-accent); }

.tydal-home-search-masthead { display: flex; gap: 0; margin: 0; max-width: none; }
.tydal-home-search-masthead input[type="search"] {
    border: 1px solid #b8c6cd;
    border-radius: 0;
    font-size: 15px;
    min-height: 48px;
    padding: 11px 16px;
}
.tydal-home-search-masthead button {
    background: var(--tydal-brand-blue);
    border-radius: 0;
    min-width: 106px;
    padding: 11px 20px;
    text-transform: uppercase;
}
.tydal-home-search-masthead button:hover { background: var(--tydal-brand-navy); }

.tydal-home-account-link {
    align-items: center;
    color: var(--tydal-brand-navy);
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    text-decoration: none;
}
.tydal-home-account-link span { font-size: 25px; line-height: 1; }
.tydal-home-account-link strong { font-size: 13px; }
.tydal-home-account-link:hover { color: var(--tydal-brand-accent); }

.tydal-home-family-nav {
    background: var(--tydal-brand-navy-deep);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 100%;
    min-width: 0;
    width: 100%;
}
.tydal-home-family-nav a {
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: .035em;
    min-height: 48px;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.tydal-home-family-nav a:hover { background: var(--tydal-brand-blue); color: #fff; }
.tydal-home-family-nav-all { background: rgba(47, 136, 170, .2); }

.tydal-home-benefits {
    background: #f4f6f7;
    border: 1px solid var(--tydal-brand-border);
    border-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tydal-home-benefits article {
    align-items: center;
    display: flex;
    gap: 15px;
    min-height: 92px;
    padding: 17px 24px;
}
.tydal-home-benefits article + article { border-left: 1px solid var(--tydal-brand-border); }
.tydal-home-benefits b {
    align-items: center;
    background: var(--tydal-brand-navy);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 42px;
    font-size: 19px;
    height: 42px;
    justify-content: center;
}
.tydal-home-benefits article:nth-child(2) b { background: var(--tydal-brand-accent); }
.tydal-home-benefits strong { color: var(--tydal-brand-navy); display: block; font-size: 14px; margin-bottom: 3px; }
.tydal-home-benefits span { color: var(--tydal-brand-muted); display: block; font-size: 12px; line-height: 1.45; }

.tydal-home-hero {
    background: var(--tydal-brand-navy-deep);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    min-height: 490px;
    overflow: hidden;
    padding: 0;
    position: relative;
}
.tydal-home-hero::before {
    background: linear-gradient(90deg, rgba(5, 22, 35, .98) 0%, rgba(8, 29, 47, .9) 38%, rgba(8, 29, 47, .28) 72%, rgba(8, 29, 47, .08) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}
.tydal-home-hero::after { display: none; }
.tydal-home-hero-image { inset: 0; position: absolute; }
.tydal-home-hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: 66% 50%;
    width: 100%;
}
.tydal-home-hero-copy {
    max-width: 700px;
    padding: clamp(58px, 7vw, 92px) clamp(34px, 6vw, 88px);
    position: relative;
    z-index: 2;
}
.tydal-home-eyebrow,
.tydal-home-section-heading > span,
.tydal-home-login span,
.tydal-home-contact span { color: var(--tydal-brand-accent); }
.tydal-home-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5.2vw, 70px);
    max-width: 670px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, .2);
}
.tydal-home-hero-copy > p { color: rgba(255, 255, 255, .86); max-width: 620px; }
.tydal-home-hero .tydal-home-button-primary { background: var(--tydal-brand-accent); }
.tydal-home-hero .tydal-home-button-primary:hover { background: #fff; color: var(--tydal-brand-navy); }
.tydal-home-hero .tydal-home-button-secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .65); color: #fff; }
.tydal-home-hero .tydal-home-button-secondary:hover { background: #fff; color: var(--tydal-brand-navy); }

.tydal-home-categories { padding: 44px clamp(12px, 2vw, 36px) 0; }
.tydal-home-categories .tydal-home-section-heading { margin: 0 auto 24px; max-width: 850px; text-align: center; }
.tydal-home-category-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tydal-home-category-grid a {
    border: 1px solid var(--tydal-brand-border);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.tydal-home-category-grid a:hover { border-color: var(--tydal-brand-accent); box-shadow: 0 13px 28px rgba(13, 42, 67, .11); }
.tydal-home-category-body {
    align-content: center;
    display: flex;
    flex-direction: column;
    min-height: 82px;
    order: 1;
    padding: 13px 12px;
    text-align: center;
}
.tydal-home-category-body strong { color: var(--tydal-brand-navy); font-size: 15px; line-height: 1.15; }
.tydal-home-category-body small { font-size: 11px; margin-top: 5px; }
.tydal-home-category-body em { color: #6b7d89; font-size: 10px; font-style: normal; margin-top: 4px; }
.tydal-home-category-body b { display: none; }
.tydal-home-category-image {
    aspect-ratio: 4 / 3;
    background: #eef1f2;
    order: 2;
    padding: 0;
}
.tydal-home-category-image::after { display: none; }
.tydal-home-category-image img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
    transform: none;
    width: 100% !important;
}
.tydal-home-category-grid a:hover .tydal-home-category-image img { transform: scale(1.015); }

.tydal-home-process,
.tydal-home-login,
.tydal-home-contact { border-radius: 0; margin-left: 0; margin-right: 0; max-width: none; }
.tydal-home-process .tydal-home-section-heading { margin-left: auto; margin-right: auto; text-align: center; }
.tydal-home-process .tydal-home-steps { margin-left: auto; margin-right: auto; }
.tydal-home-process { background: #edf2f4; border: 1px solid #dbe4e7; }
.tydal-home-steps article { box-shadow: 0 8px 20px rgba(13, 42, 67, .035); }
.tydal-home-login {
    background: linear-gradient(115deg, #f7fafb 0%, #eef6f8 58%, #e2f0f4 100%);
    border-bottom: 1px solid #d6e4e9;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #d6e4e9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    display: grid;
    gap: clamp(40px, 7vw, 110px);
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    padding: clamp(48px, 6vw, 82px) clamp(28px, 5vw, 82px);
    position: relative;
}
.tydal-home-login::before {
    background: linear-gradient(180deg, var(--tydal-brand-accent), var(--tydal-brand-blue));
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 6px;
}
.tydal-home-login-copy { align-items: flex-start; display: flex; gap: clamp(22px, 3vw, 38px); max-width: 960px; }
.tydal-home-login-icon {
    align-items: center;
    background: var(--tydal-brand-navy);
    border: 7px solid rgba(47, 136, 170, .15);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(13, 42, 67, .16);
    color: #fff;
    display: flex;
    flex: 0 0 68px;
    font-size: 27px;
    height: 68px;
    justify-content: center;
    margin-top: 3px;
    outline: 1px solid rgba(47, 136, 170, .35);
    width: 68px;
}
.tydal-home-login-copy h2 { font-size: clamp(34px, 3.5vw, 54px); max-width: 850px; }
.tydal-home-login-copy p { font-size: 17px; max-width: 720px; }
.tydal-home-login-panel {
    align-self: stretch;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(13, 42, 67, .11);
    box-sizing: border-box;
    box-shadow: 0 18px 45px rgba(13, 42, 67, .08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
}
.tydal-home-login-panel ul { display: grid; gap: 0; list-style: none; margin: 0 0 26px; padding: 0; }
.tydal-home-login-panel li { border-bottom: 1px solid #dfe8ec; color: var(--tydal-brand-navy); font-size: 15px; font-weight: 750; padding: 12px 0 12px 28px; position: relative; }
.tydal-home-login-panel li::before { color: var(--tydal-brand-accent); content: "✓"; font-size: 16px; font-weight: 900; left: 0; position: absolute; top: 11px; }
.tydal-home-login-panel .tydal-home-button { justify-content: space-between; width: 100%; }
.tydal-home-button { box-sizing: border-box; }
.tydal-home-login-panel .tydal-home-button b { font-size: 21px; }
.tydal-home-login-actions { display: grid; gap: 10px; }
.tydal-home-login-actions .tydal-home-button-secondary { background: #fff; border: 1px solid #cbd9df; color: var(--tydal-brand-navy); justify-content: center; }
.tydal-home-login-actions .tydal-home-button-secondary:hover { background: #edf4f6; border-color: var(--tydal-brand-accent); color: var(--tydal-brand-navy); }
.tydal-home-contact {
    background: linear-gradient(112deg, #061928 0%, var(--tydal-brand-navy-deep) 48%, #123b57 100%);
    box-shadow: var(--tydal-brand-shadow);
    display: grid;
    gap: clamp(40px, 7vw, 110px);
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    margin-top: 0;
    overflow: hidden;
    padding: clamp(50px, 6vw, 82px) clamp(28px, 5vw, 82px);
    position: relative;
}
.tydal-home-contact::before {
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0 0 0 58%;
    mask-image: linear-gradient(90deg, transparent, #000);
    position: absolute;
}
.tydal-home-contact::after { border: 46px solid rgba(72, 165, 198, .08); border-radius: 50%; content: ""; height: 250px; position: absolute; right: -58px; top: -92px; width: 250px; }
.tydal-home-contact > * { position: relative; z-index: 1; }
.tydal-home-contact-copy { max-width: 850px; }
.tydal-home-contact-copy h2 { font-size: clamp(36px, 4vw, 58px); max-width: 820px; }
.tydal-home-contact-copy p { font-size: 17px; }
.tydal-home-contact-action {
    align-self: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .16);
    box-sizing: border-box;
    padding: 28px;
}
.tydal-home-contact-action > div { border-left: 3px solid var(--tydal-brand-accent); margin-bottom: 24px; padding-left: 17px; }
.tydal-home-contact-action b { color: #fff; display: block; font-size: 17px; margin-bottom: 6px; }
.tydal-home-contact-action small { color: rgba(255, 255, 255, .72); display: block; font-size: 14px; line-height: 1.5; }
.tydal-home-contact-action .tydal-home-button { justify-content: space-between; width: 100%; }
.tydal-home-contact-action i { align-items: center; background: var(--tydal-brand-navy); border-radius: 50%; color: #fff; display: inline-flex; font-style: normal; height: 27px; justify-content: center; width: 27px; }

/* Catálogo técnico. */
.woocommerce-shop main,
.tax-product_cat main,
.search-results.post-type-archive-product main {
    background: var(--tydal-brand-canvas);
    padding-bottom: 78px !important;
    padding-top: 42px !important;
}

.woocommerce-shop h1.wp-block-query-title,
.tax-product_cat h1.wp-block-query-title,
.search-results h1.wp-block-query-title {
    color: var(--tydal-brand-navy);
    font-size: clamp(34px, 4vw, 48px);
    letter-spacing: -.035em;
    margin-bottom: 24px;
}

.woocommerce-shop .wc-block-breadcrumbs,
.tax-product_cat .wc-block-breadcrumbs,
.single-product .wc-block-breadcrumbs {
    color: #71818c;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .015em;
}

.woocommerce-shop .wc-block-breadcrumbs a,
.tax-product_cat .wc-block-breadcrumbs a,
.single-product .wc-block-breadcrumbs a { color: var(--tydal-brand-blue); text-decoration: none; }

.woocommerce-shop main > .wp-block-group.alignwide.is-layout-flex,
.tax-product_cat main > .wp-block-group.alignwide.is-layout-flex {
    align-items: center;
    background: #fff;
    border: 1px solid var(--tydal-brand-border);
    border-radius: 12px;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.woocommerce-shop .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count { color: var(--tydal-brand-muted); font-size: 13px; font-weight: 700; }

.woocommerce-shop .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select {
    background: #f8fafb;
    border: 1px solid #cbd7dc;
    border-radius: 9px;
    color: #294052;
    min-height: 42px;
    padding: 8px 38px 8px 12px;
}

.tydal-catalog-tools {
    background:
        linear-gradient(120deg, rgba(47, 136, 170, .04) 0 1px, transparent 1px 30px),
        linear-gradient(135deg, #f7fafb, #eaf2f5);
    background-size: 30px 30px, auto;
    border-color: #cbdce3;
    border-left: 5px solid var(--tydal-brand-accent);
    border-radius: 17px;
    box-shadow: 0 14px 34px rgba(13, 42, 67, .065);
    margin-bottom: 28px;
}

.tydal-catalog-intro span { color: var(--tydal-brand-blue); }
.tydal-product-search input[type="search"]:focus { border-color: var(--tydal-brand-accent); box-shadow: 0 0 0 3px rgba(47, 136, 170, .14); outline: 0; }
.tydal-product-search button { background: var(--tydal-brand-navy); }
.tydal-product-search button:hover { background: var(--tydal-brand-blue); transform: translateY(-1px); }

.woocommerce-shop .wc-block-product-template,
.tax-product_cat .wc-block-product-template { gap: 22px !important; }

.woocommerce-shop .wc-block-product-template li.wc-block-product,
.tax-product_cat .wc-block-product-template li.wc-block-product {
    border-color: #d7e0e4;
    border-radius: 17px;
    box-shadow: 0 9px 30px rgba(13, 42, 67, .06);
}

.woocommerce-shop .wc-block-product-template li.wc-block-product:hover,
.tax-product_cat .wc-block-product-template li.wc-block-product:hover {
    border-color: #aac2ce;
    box-shadow: 0 18px 36px rgba(13, 42, 67, .12);
    transform: translateY(-4px);
}

.woocommerce-shop .wc-block-product-template .wp-block-woocommerce-product-image,
.tax-product_cat .wc-block-product-template .wp-block-woocommerce-product-image {
    background:
        linear-gradient(rgba(13, 42, 67, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 42, 67, .025) 1px, transparent 1px),
        #f5f7f7;
    background-size: 22px 22px;
    border-bottom-color: #dfe6e9;
    padding: 22px;
}

.woocommerce-shop .wc-block-product-template .wp-block-post-title,
.tax-product_cat .wc-block-product-template .wp-block-post-title {
    color: var(--tydal-brand-navy);
    font-size: 15px !important;
    font-weight: 760;
}

.woocommerce-shop .wc-block-product-template .wp-block-woocommerce-product-price,
.tax-product_cat .wc-block-product-template .wp-block-woocommerce-product-price {
    color: var(--tydal-brand-blue);
    font-size: 18px !important;
}

.woocommerce-shop .wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link,
.tax-product_cat .wc-block-product-template .wp-block-woocommerce-product-button .wp-block-button__link {
    background: var(--tydal-brand-navy) !important;
    border-radius: 10px;
}

/* Ficha comercial y técnica. */
.single-product main.wp-block-group {
    background: var(--tydal-brand-canvas);
    padding-bottom: 82px !important;
    padding-top: 30px !important;
}

.single-product main > .wp-block-columns.alignwide {
    background: #fff;
    border: 1px solid var(--tydal-brand-border);
    border-radius: 24px;
    box-shadow: var(--tydal-brand-shadow);
    gap: clamp(28px, 5vw, 72px);
    margin-top: 22px;
    overflow: hidden;
    padding: clamp(24px, 4vw, 48px);
}

.single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child {
    align-items: center;
    background:
        linear-gradient(rgba(13, 42, 67, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 42, 67, .025) 1px, transparent 1px),
        #f3f6f6;
    background-size: 28px 28px;
    border: 1px solid #e0e6e8;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 440px;
    padding: 28px;
}

.single-product .woocommerce-product-gallery { width: 100% !important; }
.single-product .woocommerce-product-gallery__image img { max-height: 370px; object-fit: contain; width: 100%; }

.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child {
    align-self: center;
    min-width: 0;
    position: relative;
}

.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child::before {
    color: var(--tydal-brand-blue);
    content: "CATÁLOGO TÉCNICO · TYDAL";
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    margin-bottom: 13px;
}

.single-product h1.wp-block-post-title {
    color: var(--tydal-brand-navy);
    font-size: clamp(30px, 3.6vw, 45px) !important;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: 22px;
}

.single-product .wp-block-woocommerce-product-price {
    color: var(--tydal-brand-blue);
    font-size: 25px;
    font-weight: 850;
    margin-bottom: 20px;
}

.single-product .tydal-matrix-disclosure {
    background: #f4f8fa;
    border-color: #d2e0e6;
    margin: 16px 0 20px;
}

.single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child > p {
    color: var(--tydal-brand-muted);
    font-size: 14px;
    font-weight: 700;
}

.single-product form.cart { align-items: center; display: flex; gap: 10px; margin-top: 22px; }
.single-product form.cart .quantity input { border: 1px solid #bfcdd3; border-radius: 9px; min-height: 50px; text-align: center; }
.single-product form.cart button.single_add_to_cart_button {
    background: var(--tydal-brand-navy) !important;
    border: 1px solid var(--tydal-brand-navy) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 850 !important;
    min-height: 50px;
    padding: 12px 21px !important;
}
.single-product form.cart button.single_add_to_cart_button:hover { background: var(--tydal-brand-blue) !important; border-color: var(--tydal-brand-blue) !important; transform: translateY(-1px); }

.single-product .wp-block-post-terms { display: none !important; }

.tydal-product-assurance {
    border-top: 1px solid #e0e6e8;
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
}
.tydal-product-assurance span { color: #405766; font-size: 13px; font-weight: 700; }
.tydal-product-assurance b { color: var(--tydal-brand-accent); margin-right: 7px; }

.single-product .woocommerce-tabs {
    background: #fff;
    border: 1px solid var(--tydal-brand-border);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(13, 42, 67, .055);
    margin: 34px auto 0;
    max-width: 1280px;
    padding: clamp(24px, 4vw, 42px);
}
.single-product .woocommerce-tabs ul.tabs { border-bottom: 1px solid #dce4e7; margin-bottom: 24px !important; padding: 0 !important; }
.single-product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; margin: 0 !important; padding: 0 0 13px !important; }
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a { color: var(--tydal-brand-navy) !important; font-weight: 850 !important; padding: 0 !important; }
.single-product .woocommerce-tabs .panel h2 { color: var(--tydal-brand-navy); font-size: 26px; }
.single-product .woocommerce-tabs .panel p { color: #435866; line-height: 1.7; }

.single-product .wp-block-woocommerce-product-collection {
    background: #eaf0f2;
    border: 1px solid #d7e1e5;
    border-radius: 22px;
    margin-top: 34px;
    padding: clamp(24px, 4vw, 42px);
}
.single-product .wp-block-woocommerce-product-collection > h2 { color: var(--tydal-brand-navy); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.025em; margin: 0 0 24px !important; }
.single-product .wp-block-woocommerce-product-collection > h2::after { color: var(--tydal-brand-muted); content: "Otros productos destacados del catálogo"; display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; margin-top: 6px; }
.single-product .wp-block-woocommerce-product-collection .wc-block-product-template { display: grid !important; gap: 18px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.single-product .wp-block-woocommerce-product-collection li.wc-block-product { background: #fff; border: 1px solid #d8e1e5; border-radius: 15px; box-shadow: 0 7px 24px rgba(13, 42, 67, .05); display: flex; flex-direction: column; margin: 0 !important; overflow: hidden; padding: 0 0 16px !important; width: auto !important; }
.single-product .wp-block-woocommerce-product-collection li.wc-block-product:nth-child(n+5) { display: none !important; }
.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image { aspect-ratio: 4 / 3; background: #f5f7f7; border-bottom: 1px solid #e1e7e9; margin: 0 !important; overflow: hidden; padding: 18px; }
.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image a { display: block; height: 100%; }
.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image img { height: 100% !important; object-fit: contain !important; width: 100% !important; }
.single-product .wp-block-woocommerce-product-collection .wp-block-post-title { color: var(--tydal-brand-navy); font-size: 14px !important; line-height: 1.35; margin: 15px 15px 9px !important; min-height: 57px; text-align: left !important; }
.single-product .wp-block-woocommerce-product-collection .wp-block-post-title a { color: inherit; text-decoration: none; }
.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price { color: var(--tydal-brand-blue); font-size: 17px !important; font-weight: 850; margin: auto 15px 11px !important; text-align: left !important; }
.single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button { margin: 0 !important; padding: 0 15px !important; }
.single-product .wp-block-woocommerce-product-collection .wp-block-button__link { background: var(--tydal-brand-navy) !important; border: 0 !important; border-radius: 9px; color: #fff !important; font-size: 12px; font-weight: 850; min-height: 43px; padding: 10px; width: 100%; }

/* Pie institucional. */
footer.wp-block-template-part > .wp-block-group {
    background: linear-gradient(125deg, var(--tydal-brand-navy-deep), var(--tydal-brand-navy)) !important;
    border-top: 5px solid var(--tydal-brand-accent);
    color: rgba(255, 255, 255, .82);
}
footer.wp-block-template-part h3 { color: #fff !important; font-size: 17px !important; }
footer.wp-block-template-part a { color: rgba(255, 255, 255, .84) !important; }
footer.wp-block-template-part a:hover { color: #fff !important; }

/* Estado de sesión y acceso a descuentos. */
.tydal-session-status {
    background: #0d2a43;
    color: #fff;
    position: relative;
    z-index: 100;
}

.tydal-session-status.is-logged-in {
    background: #e8f4ee;
    color: #123d30;
}

.tydal-session-status-inner {
    align-items: center;
    display: flex;
    gap: 13px;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: none;
    min-height: 58px;
    padding: 9px 24px;
    width: 100%;
}

.tydal-session-status-icon {
    align-items: center;
    background: var(--tydal-brand-accent);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 20px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
}

.tydal-session-status.is-logged-in .tydal-session-status-icon { background: #20845d; }
.tydal-session-status-copy { flex: 1; line-height: 1.25; min-width: 0; }
.tydal-session-status-copy strong { display: block; font-size: 14px; font-weight: 900; letter-spacing: .01em; }
.tydal-session-status-copy small { color: rgba(255, 255, 255, .78); display: block; font-size: 12px; margin-top: 2px; }
.tydal-session-status.is-logged-in .tydal-session-status-copy small { color: #42685b; }

.tydal-session-status-inner > a {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 9px;
    color: var(--tydal-brand-navy);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
    padding: 9px 15px;
    text-decoration: none;
}

.tydal-session-status.is-logged-in .tydal-session-status-inner > a {
    background: #207a58;
    border-color: #207a58;
    color: #fff;
}

.tydal-session-status-inner > a:hover { transform: translateY(-1px); }

body.tydal-login-modal-open { overflow: hidden; }
.tydal-login-modal[hidden] { display: none !important; }
.tydal-login-modal {
    align-items: center;
    background: rgba(4, 20, 34, .72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 999999;
}

.tydal-login-modal-panel {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(4, 20, 34, .34);
    color: var(--tydal-brand-muted);
    max-width: 540px;
    padding: 34px;
    position: relative;
    text-align: center;
    width: 100%;
}

.tydal-login-modal-close {
    align-items: center;
    background: #eef3f5;
    border: 0;
    border-radius: 50%;
    color: var(--tydal-brand-navy);
    cursor: pointer;
    display: flex;
    font-size: 25px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 3px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
}

.tydal-login-modal-eyebrow {
    color: var(--tydal-brand-blue);
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    margin-bottom: 13px;
    text-transform: uppercase;
}

.tydal-login-modal-icon {
    align-items: center;
    background: #e8f0f5;
    border-radius: 50%;
    color: var(--tydal-brand-blue);
    display: flex;
    font-size: 27px;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    margin: 0 auto 18px;
    width: 58px;
}

.tydal-login-modal-panel h2 {
    color: var(--tydal-brand-navy);
    font-size: clamp(25px, 4vw, 33px);
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0 0 14px;
}

.tydal-login-modal-panel p { font-size: 15px; line-height: 1.6; margin: 0 auto; max-width: 440px; }
.tydal-login-modal-panel > small { color: #60727d; display: block; font-size: 12px; margin-top: 17px; }
.tydal-login-modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.tydal-login-modal-actions a,
.tydal-login-modal-actions button {
    align-items: center;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    line-height: 1.25;
    min-height: 48px;
    padding: 13px 18px;
    text-align: center;
    text-decoration: none;
}
.tydal-login-modal-primary { background: var(--tydal-brand-navy); border: 1px solid var(--tydal-brand-navy); color: #fff; }
.tydal-login-modal-secondary { background: #fff; border: 1px solid #b9c8cf; color: var(--tydal-brand-navy); }
.tydal-login-modal-primary:hover { background: var(--tydal-brand-blue); color: #fff; }
.tydal-login-modal-secondary:hover { background: #f2f6f7; }

@media (max-width: 900px) {
    header.wp-block-template-part .hostinger-ai-menu-wrapper { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 10px; }
    .tydal-header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
    header .hostinger-ai-site-navigation-wrapper { grid-column: 3; grid-row: 1; }
    .tydal-main-nav { display: none; }
    .tydal-home-family-nav {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }
    .tydal-home-family-nav::-webkit-scrollbar { display: none; }
    .tydal-home-family-nav a { flex: 0 0 190px; }
    .tydal-home-benefits { grid-template-columns: 1fr; }
    .tydal-home-benefits article { min-height: 74px; }
    .tydal-home-benefits article + article { border-left: 0; border-top: 1px solid var(--tydal-brand-border); }
    .tydal-home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tydal-home-login,
    .tydal-home-contact { grid-template-columns: 1fr; }
    .tydal-home-login-panel,
    .tydal-home-contact-action { justify-self: stretch; max-width: none; width: 100%; }
    .single-product main > .wp-block-columns.alignwide { flex-direction: column; }
    .single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child { min-height: 340px; width: 100%; }
    .single-product .wp-block-woocommerce-product-collection .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 782px) {
    body.admin-bar header.wp-block-template-part { top: 46px; }
}

@media (max-width: 680px) {
    body.home { overflow-x: clip; }
    .tydal-session-status-inner {
        align-items: center;
        display: grid;
        gap: 9px;
        grid-template-columns: 28px minmax(0, 1fr) auto;
        min-height: 54px;
        padding: 7px 12px;
    }
    .tydal-session-status-icon { flex-basis: 28px; font-size: 15px; height: 28px; width: 28px; }
    .tydal-session-status-copy { padding-top: 0; }
    .tydal-session-status-copy strong { font-size: 12px; line-height: 1.2; }
    .tydal-session-status-copy small { display: none; }
    .tydal-session-status-inner > a {
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        margin: 0;
        min-height: 36px;
        padding: 0 11px;
        white-space: nowrap;
    }

    .tydal-login-modal { align-items: flex-end; padding: 12px; }
    .tydal-login-modal-panel { border-radius: 20px; max-height: calc(100vh - 24px); overflow-y: auto; padding: 28px 19px 22px; }
    .tydal-login-modal-close { right: 12px; top: 12px; }
    .tydal-login-modal-eyebrow { padding: 0 36px; }
    .tydal-login-modal-icon { height: 52px; margin-bottom: 15px; width: 52px; }
    .tydal-login-modal-panel h2 { font-size: 26px; }
    .tydal-login-modal-actions { flex-direction: column; }
    .tydal-login-modal-actions a,
    .tydal-login-modal-actions button { width: 100%; }

    header.wp-block-template-part .hostinger-ai-menu-wrapper {
        min-height: 0;
        padding-bottom: 8px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 8px !important;
        row-gap: 7px;
    }
    .tydal-header-search input[type="search"] { font-size: 12px; height: 39px; padding: 8px 10px; }
    .tydal-header-search button { flex-basis: 44px; height: 39px; }
    header .hostinger-ai-site-title a { font-size: 19px; }
    header .hostinger-ai-site-title::after { display: none; }
    header .wp-block-woocommerce-customer-account,
    header .wp-block-woocommerce-mini-cart { border: 0; height: 36px; width: 36px; }

    .tydal-home { padding: 0 0 56px; }
    .tydal-home-login,
    .tydal-home-contact { gap: 28px; padding: 38px 18px; }
    .tydal-home-login-copy { display: block; }
    .tydal-home-login-icon { height: 56px; margin: 0 0 22px; width: 56px; }
    .tydal-home-login-copy h2,
    .tydal-home-contact-copy h2 { font-size: 31px; }
    .tydal-home-login-panel,
    .tydal-home-contact-action { padding: 21px; }
    .tydal-home-family-nav a {
        box-sizing: border-box;
        flex-basis: 154px;
        font-size: 9px;
        min-height: 42px;
        padding: 7px 9px;
    }
    .tydal-home-benefits article { gap: 8px; padding: 7px 10px; }
    .tydal-home-benefits b { flex-basis: 28px; font-size: 12px; height: 28px; }
    .tydal-home-benefits strong { font-size: 12px; line-height: 1.2; margin: 0; white-space: nowrap; }
    .tydal-home-benefits span { display: none; }
    .tydal-home-hero { min-height: 365px; }
    .tydal-home-hero::before { background: linear-gradient(90deg, rgba(5, 22, 35, .96), rgba(8, 29, 47, .78)); }
    .tydal-home-hero-image img { object-position: 60% 50%; }
    .tydal-home-hero-copy { padding: 30px 20px; }
    .tydal-home-hero h1 { font-size: 32px; line-height: 1.04; }
    .tydal-home-hero-copy > p { font-size: 13px; line-height: 1.45; }
    .tydal-home-actions { align-items: stretch; flex-direction: column; }
    .tydal-home-actions .tydal-home-button { width: 100%; }
    .tydal-home-categories { padding: 34px 10px 0; }
    .tydal-home-categories .tydal-home-section-heading { padding: 0 8px; }
    .tydal-home-category-grid { gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tydal-home-category-grid > a { grid-column: span 2; }
    .tydal-home-category-grid > a:last-child:nth-child(odd) { grid-column: 2 / span 2; }
    .tydal-home-category-body { min-height: 72px; padding: 11px 8px; text-align: center; }
    .tydal-home-category-body strong { font-size: 13px; }
    .tydal-home-category-body small { font-size: 10px; }
    .tydal-home-category-image { aspect-ratio: 1 / 1; }

    .woocommerce-shop main,
    .tax-product_cat main { padding-top: 24px !important; }
    .woocommerce-shop main > .wp-block-group.alignwide.is-layout-flex,
    .tax-product_cat main > .wp-block-group.alignwide.is-layout-flex { align-items: stretch; padding: 12px; }
    .tydal-catalog-tools { border-left-width: 3px; padding: 20px 16px; }

    .single-product main.wp-block-group { padding: 18px 12px 54px !important; }
    .single-product main > .wp-block-columns.alignwide { border-radius: 18px; gap: 24px; margin-top: 14px; padding: 14px; }
    .single-product main > .wp-block-columns.alignwide > .wp-block-column {
        box-sizing: border-box;
        max-width: 100%;
        width: auto !important;
    }
    .single-product main > .wp-block-columns.alignwide > .wp-block-column:first-child { border-radius: 14px; min-height: 250px; padding: 18px; }
    .single-product .woocommerce-product-gallery__image img { max-height: 250px; }
    .single-product main > .wp-block-columns.alignwide > .wp-block-column:last-child { padding: 7px 4px 10px; }
    .single-product h1.wp-block-post-title { font-size: 30px !important; margin-bottom: 16px; }
    .single-product .wp-block-woocommerce-product-price { font-size: 23px; }
    .single-product form.cart { align-items: stretch; flex-direction: column; }
    .single-product form.cart .quantity { width: 100% !important; }
    .single-product form.cart .quantity input { width: 100% !important; }
    .single-product .woocommerce-tabs { border-radius: 17px; margin-top: 22px; padding: 22px 18px; }
    .single-product .wp-block-woocommerce-product-collection { border-radius: 17px; margin-top: 22px; padding: 22px 14px; }
    .single-product .wp-block-woocommerce-product-collection .wc-block-product-template { grid-template-columns: 1fr !important; }
    .single-product .wp-block-woocommerce-product-collection li.wc-block-product { display: grid !important; grid-template-columns: 116px minmax(0, 1fr); padding: 0 !important; }
    .single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #e1e7e9; grid-row: 1 / 4; min-height: 178px; padding: 12px; }
    .single-product .wp-block-woocommerce-product-collection .wp-block-post-title { font-size: 13px !important; margin: 14px 13px 7px !important; min-height: 0; }
    .single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-price { font-size: 16px !important; margin: 0 13px 8px !important; }
    .single-product .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-button { padding: 0 13px 13px !important; }
    .single-product .wp-block-woocommerce-product-collection .wp-block-button__link { min-height: 39px; }

    footer.wp-block-template-part > .wp-block-group { padding-bottom: 42px !important; padding-top: 42px !important; }
}
