/*
Theme Name: YXY Theme Final
Theme URI: https://yxycompany.example.com/
Author: Anogh
Author URI: https://yxycompany.example.com/
Description: A refreshed variation of YXY theme lighter look and new colors. B2B Google Ads Ready - Inquiry Mode + GTM + 5 Landing Pages
Version: 3.301.0
Text Domain: yxy-theme-final
*/

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

.woocommerce ul.products li.product {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 16px 20px;
    border: 1px solid #e4eaf4;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

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

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: #193190;
    box-shadow: 0 16px 40px rgba(15, 32, 63, 0.10);
}

.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 0;
    background: #ffffff;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #10203f;
}

.woocommerce ul.products li.product .price {
    font-weight: 600;
    color: #193190;
    margin-top: -4px;
    font-size: 15px;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    text-align: center;
    border-radius: 999px;
    background: #193190;
    color: #ffffff;
    font-size: 13px;
    padding: 9px 12px;
    transition: background-color 200ms ease, transform 150ms ease;
}

.woocommerce ul.products li.product .button:hover {
    background: #12276f;
    transform: translateY(-1px);
}

.woocommerce ul.products li.product .button.is-added {
    background: #12276f;
}

.woocommerce ul.products li.product .yxy-view-cart-button,
.woocommerce ul.products li.product a.added_to_cart {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    border-radius: 999px;
    border: 1px solid #e4eaf4;
    padding: 8px 12px;
    font-size: 13px;
    color: #193190;
    background: #ffffff;
    transition: border-color 200ms ease, color 200ms ease;
}

.woocommerce ul.products li.product .yxy-view-cart-button:hover,
.woocommerce ul.products li.product a.added_to_cart:hover {
    border-color: #193190;
    color: #193190;
}

/* Custom view button styling */
.woocommerce ul.products li.product .yxy-view-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8px;
    border-radius: 999px;
    border: 1px solid #e4eaf4;
    padding: 8px 12px;
    font-size: 13px;
    color: #193190;
    background: #ffffff;
    transition: border-color 200ms ease, color 200ms ease;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce ul.products li.product .yxy-view-button:hover {
    border-color: #193190;
    color: #193190;
    text-decoration: none;
}

/* Make product cards clickable with JavaScript */
.woocommerce ul.products li.product {
    cursor: pointer;
}

/* Prevent click events on links within product cards from bubbling up */
.woocommerce ul.products li.product a,
.woocommerce ul.products li.product .yxy-view-button {
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Hide any remaining add to cart buttons as fallback */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button.add_to_cart,
.woocommerce ul.products li.product .ajax_add_to_cart,
.woocommerce-page ul.products li.product .add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart,
.woocommerce-page ul.products li.product .ajax_add_to_cart,
.yxy-modern-product-card .add_to_cart_button,
.yxy-modern-product-card .button.add_to_cart,
.yxy-modern-product-card .ajax_add_to_cart {
    display: none !important;
    visibility: hidden !important;
}



/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background: #ffffff;
    line-height: 1.6;
}

body.yxy-nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #2563eb;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.yxy-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(14px);
    color: #e5e7eb;
    border-bottom: 1px solid rgba(31, 41, 55, 0.8);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, margin-bottom 0.3s ease;
}
/* cnlinko: header is transparent over the hero, then turns white on scroll.
   yxydz reuses the same is-white toggle (top <=10px over hero = not white). */
.yxy-header:not(.is-white) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
    margin-bottom: -80px;
}

.yxy-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    position: relative;
    gap: 16px;
}

.yxy-header-right {
    display: flex;
    align-items: center;
    gap: 32px;
    z-index: 60;
    transition: transform 200ms ease, opacity 200ms ease;
    margin-left: auto;
}

.yxy-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.yxy-header-cart {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 6px 18px;
    font-size: 13px;
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.yxy-header-cart:hover {
    border-color: rgba(59, 130, 246, 0.9);
    background-color: rgba(59, 130, 246, 0.08);
    color: #93c5fd;
}

.yxy-header-cart-icon svg {
    display: block;
}

.yxy-header-cart-text {
    font-weight: 600;
}

.yxy-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: transparent;
    color: inherit;
    gap: 6px;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.yxy-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
}

.yxy-nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.yxy-nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.yxy-nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.yxy-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 40;
    display: none;
}

body.yxy-nav-open .yxy-nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.yxy-nav-ready .yxy-nav-overlay {
    display: block;
}

.yxy-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 18px;
    flex-shrink: 0;
}

.yxy-logo img {
    max-height: 58px;
    width: auto;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.yxy-logo-wordmark {
    font-size: 24px;
    letter-spacing: 0.18em;
    color: #f8fafc;
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1.1;
}

/* Stacked brand + registered legal entity. The entity line is deliberately
   small and low-contrast: it is reassurance for procurement, not a slogan. */
.yxy-logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.yxy-logo-legal {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(248, 250, 252, 0.72);
    line-height: 1.25;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.yxy-header.is-white .yxy-logo-legal {
    color: rgba(16, 32, 63, 0.62);
}

@media (max-width: 980px) {
    .yxy-logo-legal {
        font-size: 10px;
        white-space: normal;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    /* The registered entity is shown for parity with desktop, as requested. It
       used to be display:none here because the header was tight and the entity
       wrapped to three lines. It now wraps naturally instead of disappearing —
       the mobile header has room for it because the burger and the language
       toggle were both reduced in size (v3.255.0 / v3.256.0); the changes are a
       pair, so re-enlarging either will crowd this line. */
    .yxy-logo-legal {
        display: block;
        font-size: 10px;
        line-height: 1.2;
        max-width: 200px;
        white-space: normal;
    }
}

.yxy-header a {
    color: inherit;
}

.yxy-logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.yxy-nav {
    display: flex;
    gap: 24px;
    font-size: 16.8px;
}

.yxy-nav li {
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

.yxy-nav li+li::before {
    content: "|";
    margin-right: 18px;
    color: rgba(226, 232, 240, 0.35);
    font-weight: 300;
}

.yxy-nav a {
    position: relative;
    padding-bottom: 2px;
    font-weight: 500;
    transition: color 140ms ease;
}

.yxy-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, #38bdf8, #6366f1);
    transform-origin: left;
    transform: scaleX(0.4);
    opacity: 0;
    transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.yxy-nav a:hover::after,
.yxy-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.yxy-nav a:hover,
.yxy-nav a:focus-visible {
    color: #cbd5f5;
}

.yxy-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #1e40af, #020617 55%);
    color: #e5e7eb;
    isolation: isolate;
}

.yxy-hero-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 120px 0 80px;
}

.yxy-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15), transparent 50%), radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.12), transparent 50%);
    z-index: 0;
}

#yxy-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.yxy-hero-modern-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
    align-items: center;
}

.yxy-hero-content h1 {
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.yxy-hero-typed {
    position: relative;
    display: inline-block;
    padding-right: 10px;
}

.yxy-hero-typed::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    width: 2px;
    height: 80%;
    background: #4f46e5;
    animation: yxy-caret-blink 0.9s steps(1) infinite;
}

@keyframes yxy-caret-blink {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

.yxy-eyebrow {
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 12px;
    color: #6366f1;
    margin-bottom: 12px;
}

.yxy-hero-content p {
    margin-top: 14px;
    color: #475569;
    max-width: 520px;
}

.yxy-hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.yxy-hero-stats {
    margin-top: 32px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    row-gap: 16px;
}

.yxy-hero-stats>div {
    min-width: 140px;
}

.yxy-hero-stats span {
    display: block;
}

.yxy-hero-stats span:first-child {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.yxy-hero-stats small {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.yxy-hero-visual {
    position: relative;
}

.yxy-hero-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.35);
    height: 420px;
}

.yxy-hero-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms ease, transform 800ms ease;
    transform: scale(1.03);
}

.yxy-hero-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yxy-hero-gallery-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.yxy-hero-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.4));
}

.yxy-snapshot {
    padding-top: 36px;
}

.yxy-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.yxy-snapshot-grid h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.yxy-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.yxy-capabilities-grid article {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.yxy-industries-marquee {
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 0;
    position: relative;
}

.yxy-industries-track {
    display: flex;
    gap: 40px;
    animation: marquee 18s linear infinite;
    font-weight: 600;
    color: #0f172a;
    width: max-content;
}

.yxy-industries-track span {
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.yxy-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.yxy-case-grid article {
    padding: 28px;
    border-radius: 24px;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.45);
}

.yxy-case-pill {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: #a5b4fc;
    margin-bottom: 14px;
}

.yxy-case-grid ul {
    margin-top: 16px;
    padding-left: 22px;
}

.yxy-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
}

.yxy-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.yxy-hero::before,
.yxy-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.yxy-hero::before {
    width: 260px;
    height: 260px;
    background: #38bdf8;
    top: -80px;
    left: -40px;
}

.yxy-hero::after {
    width: 260px;
    height: 260px;
    background: #4f46e5;
    bottom: -90px;
    right: -30px;
}

.yxy-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 72px 0 64px;
}

.yxy-hero-inner>div:first-child {
    max-width: 520px;
}

.yxy-hero-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.yxy-hero-subtitle {
    margin-top: 16px;
    max-width: 460px;
    color: #9ca3af;
}

.yxy-hero-cta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.yxy-btn-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.yxy-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.yxy-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.yxy-btn-outline {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.yxy-btn-outline:hover {
    border-color: #0f172a;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.yxy-hero-badges {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.yxy-hero-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.75);
}

.yxy-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease-in-out, transform 900ms ease-in-out;
    transform: scale(1.02);
}

.yxy-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.yxy-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 55%);
}

.yxy-hero-slide-caption {
    position: absolute;
    left: 20px;
    bottom: 18px;
    color: #e5e7eb;
    font-size: 13px;
}

.yxy-section {
    padding: 80px 0;
}

.yxy-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.yxy-section-kicker {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
}

.yxy-section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.yxy-section-subtitle {
    margin-top: 12px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

.yxy-grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.yxy-category-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.3);
    min-height: 220px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.yxy-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
    background-color: #f8fafc;
}

.yxy-category-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.yxy-category-card img {
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
    height: 120px;
    object-fit: contain;
    width: 100%;
}

.yxy-grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.yxy-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.yxy-product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.75);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.yxy-product-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yxy-product-title {
    font-size: 14px;
    font-weight: 600;
}

.yxy-product-meta {
    font-size: 12px;
    color: #6b7280;
}

.yxy-product-price {
    font-weight: 600;
    margin-top: 4px;
}

.yxy-product-actions {
    margin-top: 8px;
}

.yxy-product-actions .button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: #111827;
    color: #f9fafb;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.yxy-product-actions .button:hover {
    background-color: #020617;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.yxy-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.yxy-adv-card {
    padding: 16px 16px 18px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.8);
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.yxy-adv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(191, 219, 254, 0.9);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.95);
}

.yxy-adv-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.yxy-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.yxy-testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.yxy-testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.yxy-testimonial-card p {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
}

.yxy-testimonial-card p::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 28px;
    color: #c7d2fe;
}

.yxy-testimonial-author {
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
}

.yxy-footer {
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 55%) #010717;
    color: #cbd5f5;
    padding: 64px 0 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.yxy-footer-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    margin-bottom: 32px;
}

.yxy-footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.yxy-footer-tagline {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f8fafc;
    text-transform: uppercase;
}

.yxy-footer-blurb {
    margin: 8px 0 0;
    font-size: 14px;
    max-width: 360px;
    color: #a5b4fc;
}

.yxy-footer-cta-card {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    padding: 24px;
    max-width: 360px;
    color: #e0e7ff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.45);
}

.yxy-footer-cta-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #ffffff;
}

.yxy-footer-cta-card p {
    margin: 0 0 18px;
    font-size: 14px;
    color: #cbd5f5;
}

.yxy-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #f43f5e);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.yxy-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.yxy-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.yxy-footer-block h4 {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 14px;
}

.yxy-footer-list,
.yxy-footer-info,
.yxy-footer-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.yxy-footer-list a,
.yxy-footer-info a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease, color 120ms ease;
}

.yxy-footer-list a:hover,
.yxy-footer-info a:hover {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.4);
}

.yxy-footer-info span {
    color: #9ca3af;
    margin-right: 6px;
}

.yxy-footer-bullets li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.yxy-footer-bullets li {
    display: flex;
    align-items: center;
}

.yxy-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yxy-footer-socials a,
.yxy-footer-socials .yxy-social-link {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #e0e7ff;
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
    position: relative;
}

.yxy-footer-socials a:hover,
.yxy-footer-socials .yxy-social-link:hover {
    background: rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.yxy-social-link .yxy-social-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(56, 189, 248, 0.85));
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.yxy-social--whatsapp .yxy-social-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.1a9.9 9.9 0 0 0-9.9 9.9c0 1.75.45 3.46 1.31 4.99L2 22l5.16-1.34A9.87 9.87 0 0 0 12 21.9a9.9 9.9 0 0 0 0-19.8Zm5.73 14.05c-.24.68-1.18 1.24-1.9 1.4-.51.12-1.18.22-3.44-.74-2.89-1.2-4.74-4.14-4.89-4.34-.14-.2-1.16-1.54-1.16-2.94 0-1.4.72-2.08.98-2.37.24-.27.64-.39 1.03-.39.13 0 .25 0 .36.01.32.01.48.04.69.53.24.57.83 1.97.9 2.12.07.14.13.32.04.52-.1.2-.16.32-.31.49-.15.17-.32.38-.46.52-.15.15-.31.31-.14.61.17.3.76 1.25 1.64 2.02 1.13 1.01 2.08 1.32 2.38 1.46.3.14.48.12.66-.07.18-.2.76-.88.96-1.18.2-.3.4-.25.66-.15.27.1 1.68.79 1.96.93.28.14.46.21.53.33.07.12.07.72-.17 1.4Z'/%3E%3C/svg%3E");
}

.yxy-social--email .yxy-social-icon {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 5.5A2.5 2.5 0 0 1 5.5 3h13A2.5 2.5 0 0 1 21 5.5v13a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 18.5v-13ZM5.5 5a.5.5 0 0 0-.5.5v.38l6.77 4.24a1 1 0 0 0 1.06 0L19 5.88V5.5a.5.5 0 0 0-.5-.5h-13Zm13 3.97-4.93 3.09a3 3 0 0 1-3.14 0L5.5 8.97V18.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5V8.97Z'/%3E%3C/svg%3E");
}

.yxy-social--facebook .yxy-social-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.45);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 10.5V8.75c0-.72.48-.89.82-.89h1.63V5h-2.25C10.75 5 10 7.5 10 8.5v2H8v3h2v6h3v-6h2.25l.25-3h-2z'/%3E%3C/svg%3E");
}

.yxy-footer-bottom {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 18px;
}

/* ============ FOOTER (cnlinko-style dark slate) ============ */
.yxy-footer {
    background-color: #242933;
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 30px;
    margin-top: 60px;
    border-top: none;
}
.yxy-footer a {
    color: inherit;
    transition: color 0.3s;
}
.yxy-footer a:hover {
    color: #ffffff;
}
.yxy-foot-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.yxy-foot-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 36px;
    align-content: start;
}
.yxy-foot-col {
    min-width: 0;
}
.yxy-foot-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 22px;
}
.yxy-foot-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.yxy-foot-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}
.yxy-foot-links a:hover {
    color: #ffffff;
    opacity: 1;
}
.yxy-foot-contact {
    flex-shrink: 0;
    width: 280px;
    padding-top: 2px;
}
.yxy-foot-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}
.yxy-foot-contact-item:last-child {
    margin-bottom: 0;
}
.yxy-foot-contact-icon {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
    width: 22px;
    text-align: center;
    font-family: inherit;
}
.yxy-foot-contact-label {
    font-size: 13px;
    color: #96999d;
    line-height: 1.2;
    margin-bottom: 6px;
}
.yxy-foot-contact-value {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.4;
    text-decoration: none;
    font-style: normal;
}
.yxy-foot-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.yxy-foot-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.yxy-foot-share a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}
.yxy-foot-bottom {
    border-top: 1px solid #3a3f48;
    margin-top: 56px;
    padding-top: 26px;
}
.yxy-foot-store {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin-bottom: 18px;
}
.yxy-foot-store-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}
.yxy-foot-store a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
}
.yxy-foot-store a:hover {
    color: #ffffff;
}
.yxy-foot-legal {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #ffffff;
}
.yxy-foot-legal a {
    color: #ffffff;
    text-decoration: underline;
}
.yxy-foot-version {
    color: rgba(255, 255, 255, 0.5);
}
/* Trust entry point to the business licence on the Impressum. Sits with the
   copyright line, deliberately apart from the legal triplet. */
.yxy-foot-verify {
    color: rgba(255, 255, 255, 0.75);
}
.yxy-foot-verify a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.yxy-foot-verify a:hover {
    border-bottom-color: #ffffff;
}
@media (max-width: 1024px) {
    .yxy-foot-top {
        flex-direction: column;
        gap: 40px;
    }
    .yxy-foot-contact {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .yxy-foot-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
    .yxy-foot-bottom {
        margin-top: 40px;
    }
}

.yxy-shop-hero {
    padding: 64px 0;
    background: radial-gradient(circle at top left, #dbe7ff, #e8edff 35%, #f5f7fb 70%);
    position: relative;
    overflow: hidden;
}

.yxy-shop-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 360px;
    height: 360px;
    background: #c7d2fe;
    opacity: 0.35;
    filter: blur(60px);
    border-radius: 50%;
}

.yxy-shop-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.yxy-shop-eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 14px;
}

.yxy-shop-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
}

.yxy-shop-description,
.yxy-shop-subtitle {
    margin-top: 14px;
    color: #475569;
    max-width: 520px;
    font-size: 15px;
}

.yxy-shop-metrics {
    margin-top: 24px;
    display: flex;
    gap: 28px;
}

.yxy-shop-metrics>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yxy-shop-metric-value {
    font-size: 22px;
    font-weight: 600;
    color: #1d4ed8;
}

.yxy-shop-metric-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.yxy-shop-search-card {
    align-self: stretch;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.4);
    width: 100%;
}

.yxy-shop-search-label {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94a3b8;
}

.yxy-shop-search-field {
    margin-top: 14px;
    position: relative;
}

.yxy-shop-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.yxy-shop-search-input {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 12px 16px 12px 46px;
    font-size: 14px;
    background: rgba(15, 23, 42, 0.02);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.yxy-shop-search-input:focus {
    border-color: rgba(37, 99, 235, 0.9);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
    background: #fff;
}

.yxy-shop-search-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #94a3b8;
}

.yxy-mobile-filters {
    display: none;
}

.yxy-shop {
    padding-top: 32px;
}

.yxy-shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: flex-start;
}

.yxy-shop-filters {
    align-self: flex-start;
}

.yxy-filter-panel {
    border-radius: 18px;
    background: #ffffff;
    padding: 20px 18px 22px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.yxy-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.yxy-filter-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.yxy-filter-clear {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 4px 10px;
    font-size: 12px;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.yxy-filter-clear:hover {
    background-color: rgba(15, 23, 42, 0.04);
    border-color: rgba(107, 114, 128, 0.95);
    color: #111827;
}

.yxy-filter-group {
    margin-top: 14px;
}

.yxy-filter-group-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.yxy-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yxy-filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    font-size: 13px;
    cursor: pointer;
}

.yxy-filter-checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.yxy-filter-checkbox-label span {
    min-width: 0;
}

.yxy-filter-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yxy-filter-price-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
}

.yxy-filter-price-input:focus {
    border-color: rgba(37, 99, 235, 0.9);
}

.yxy-filter-price-sep {
    font-size: 13px;
    color: #6b7280;
}

.yxy-filter-price-slider {
    position: relative;
    margin-top: 14px;
    padding-top: 8px;
}

.yxy-filter-price-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 20px;
    background: transparent;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.yxy-filter-price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -8px;
}

.yxy-filter-price-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.yxy-filter-price-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
}

.yxy-filter-price-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -8px;
}

.yxy-filter-price-slider-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    z-index: 1;
}

.yxy-filter-price-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 36px;
}

.yxy-shop-results-wrapper {
    min-width: 0;
}

.yxy-shop-toolbar {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px rgba(148, 163, 184, 0.15);
}

.woocommerce-result-count {
    font-size: 13px;
    color: #6b7280;
}

.woocommerce-ordering select {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 6px 14px;
    background: #fff;
    font-size: 13px;
}

.yxy-shop-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.yxy-shop-pagination:empty {
    display: none;
}

.woocommerce-breadcrumb {
    display: none;
}

.woocommerce nav.woocommerce-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 15px 35px rgba(148, 163, 184, 0.25);
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

body.woocommerce-cart {
    background: radial-gradient(circle at top, #e5efff, #f4f7fb);
}

.woocommerce-cart .entry-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

.woocommerce-cart h1.entry-title {
    text-align: center;
    margin-bottom: 28px;
    font-size: 34px;
}

.woocommerce-cart .cart-empty {
    background: #0f172a;
    color: #f8fafc;
    padding: 18px 24px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.25);
}

.woocommerce-cart .return-to-shop .button {
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    padding: 10px 24px;
    font-weight: 600;
}

.woocommerce-cart form.woocommerce-cart-form {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    overflow-x: auto;
}

.woocommerce-cart table.shop_table {
    border: none;
    border-collapse: collapse;
}

.woocommerce-cart table.shop_table th {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: #94a3b8;
    border: none;
    padding-bottom: 12px;
}

.woocommerce-cart table.shop_table td {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px 12px;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.woocommerce-cart table.shop_table td.actions .coupon input.input-text {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 9px 16px;
}

.woocommerce-cart table.shop_table td.actions .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.woocommerce-cart table.shop_table td.actions .button,
.woocommerce-cart .cart_totals .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    border-radius: 999px;
    background: linear-gradient(135deg, #111827, #4338ca);
    color: #f8fafc;
    font-weight: 600;
    padding: 11px 26px;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart table.shop_table td.actions .button:hover,
.woocommerce-cart .cart_totals .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(67, 56, 202, 0.35);
}

.woocommerce-cart .cart-collaterals {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.woocommerce-cart .cart_totals {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

.woocommerce-cart .cart_totals h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.woocommerce-cart .cart_totals table {
    border: none;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    border: none;
    padding: 10px 0;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
    margin-top: 18px;
}

.woocommerce-cart table.shop_table td.product-remove a.remove {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626 !important;
    font-size: 18px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    background: #dc2626;
    color: #fff !important;
    transform: translateY(-1px);
}

.woocommerce-cart table.shop_table td.product-remove a.remove::after {
    content: attr(title);
    position: absolute;
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.05em;
    transform: translateY(10px);
    transition: opacity 120ms ease, transform 120ms ease;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover::after {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .yxy-hero-gallery {
        height: 320px;
    }

    .woocommerce-cart form.woocommerce-cart-form {
        padding: 18px;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 58px;
        height: 58px;
    }
}

.yxy-footer-top {
    grid-template-columns: 1fr 1fr;
}

.yxy-footer-bottom {
    margin-top: 16px;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 1024px) {
    .yxy-nav-toggle {
        display: flex;
    }

    /* Row order on phones/tablets: logo | language switcher | burger, so the
       burger sits at the far right where a thumb expects it. The drawer
       (.yxy-header-right) is position:fixed at this width, so it is out of
       flow and unaffected by these order values. */
    .yxy-lang-mobile { order: 1; }
    .yxy-nav-toggle { order: 2; }

    .yxy-header-inner {
        align-items: center;
    }

    .yxy-header-right {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 76px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px 24px 28px;
        background: rgba(3, 7, 18, 0.96);
        border-radius: 28px;
        border: 1px solid rgba(59, 130, 246, 0.25);
        box-shadow: 0 35px 90px rgba(2, 6, 23, 0.65);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
    }

    body.yxy-nav-open .yxy-header-right {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .yxy-nav {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        font-size: 15px;
    }

    .yxy-nav a {
        padding: 6px 0;
    }

    .yxy-header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .yxy-header-cart {
        width: 100%;
        text-align: center;
    }

    .yxy-hero-modern {
        padding: 70px 0 36px;
    }

    .yxy-hero-modern-inner,
    .yxy-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .yxy-hero-gallery {
        height: 360px;
    }

    .yxy-hero-content p {
        max-width: 100%;
    }

    .yxy-hero-actions {
        justify-content: flex-start;
    }

    .yxy-section {
        padding: 50px 0;
    }

    .yxy-grid-categories {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .yxy-grid-products,
    .yxy-advantages-grid,
    .yxy-testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .yxy-snapshot-grid,
    .yxy-capabilities-grid,
    .yxy-case-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .yxy-shop-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .yxy-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .yxy-shop-metrics {
        flex-wrap: wrap;
        gap: 18px;
    }

    .yxy-shop-results-wrapper {
        order: 1;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .yxy-hero-modern {
        padding-top: 60px;
    }

    .yxy-hero-gallery {
        height: 300px;
    }

    .yxy-hero-content h1 {
        font-size: clamp(32px, 8vw, 40px);
        line-height: 1.15;
    }

    .yxy-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .yxy-btn-primary,
    .yxy-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .yxy-hero-stats>div {
        min-width: 48%;
    }

    .yxy-snapshot-grid,
    .yxy-capabilities-grid,
    .yxy-case-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yxy-grid-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yxy-grid-products,
    .yxy-advantages-grid,
    .yxy-testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yxy-footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .yxy-shop-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .yxy-shop-search-card {
        margin-top: 12px;
        padding: 22px;
    }

    .yxy-shop-metrics>div {
        min-width: calc(50% - 14px);
    }

    /* Show mobile filters and hide desktop filters */
    .yxy-mobile-filters {
        display: block;
        margin-bottom: 24px;
    }

    .yxy-shop-layout .yxy-shop-filters {
        display: none;
    }

    .yxy-shop-toolbar {
        gap: 8px;
    }

    .yxy-shop-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-cart form.woocommerce-cart-form {
        padding: 20px;
    }

    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td {
        padding: 12px 8px;
    }
}

@media (max-width: 640px) {
    .yxy-header-right {
        left: 12px;
        right: 12px;
    }

    .yxy-logo a {
        gap: 8px;
    }

    .yxy-logo-wordmark {
        font-size: 22px;
        letter-spacing: 0.25em;
        max-width: 220px;
        line-height: 1.15;
        white-space: normal;
    }

    .yxy-nav li+li::before {
        display: none;
    }

    .yxy-hero-gallery {
        height: 260px;
    }

    .yxy-hero-stats>div {
        min-width: 120px;
    }

    .yxy-shop-toolbar {
        padding: 12px;
    }

    .yxy-shop-search-card {
        padding: 18px;
    }

    .woocommerce-cart .cart_totals {
        padding: 18px;
    }

    .woocommerce-cart table.shop_table td.product-thumbnail img {
        width: 58px;
        height: 58px;
    }
}

/* Single Product Page - Alibaba Style */
.yxy-single-product-container {
    padding: 40px 0 60px;
    background: radial-gradient(circle at top, #e5efff, #f4f7fb);
}

.yxy-product-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.yxy-product-gallery-section {
    position: sticky;
    top: 90px;
}

.yxy-product-details-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

/* Product Gallery */

.yxy-product-gallery {
    display: grid;
    grid-template-columns: 96px 1fr 56px;
    gap: 20px;
    background: #ffffff;
    border-radius: 28px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
    align-items: center;
}

.yxy-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.yxy-gallery-thumbnails::-webkit-scrollbar {
    width: 4px;
}

.yxy-gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
}

.yxy-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.5);
    border-radius: 4px;
}

.yxy-thumbnail {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 200ms ease, transform 150ms ease;
    flex-shrink: 0;
}

.yxy-thumbnail:hover {
    border-color: rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
}

.yxy-thumbnail.active {
    border-color: #2563eb;
}

.yxy-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.yxy-gallery-main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.25);
    aspect-ratio: 1 / 1;
}

.yxy-gallery-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.yxy-main-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 500ms ease;
    pointer-events: none;
}

.yxy-main-image.active {
    opacity: 1;
    pointer-events: auto;
}

.yxy-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.yxy-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
    z-index: 10;
    color: #0f172a;
}

.yxy-gallery-nav:hover {
    background: #ffffff;
    border-color: #2563eb;
    transform: translateY(-50%) scale(1.1);
}

.yxy-gallery-prev {
    left: 16px;
}

.yxy-gallery-next {
    right: 16px;
}

.yxy-gallery-counter {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.yxy-gallery-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.yxy-action-btn {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    color: #475569;
}

.yxy-action-btn:hover {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

/* Product Details */
.yxy-product-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.woocommerce div.product .star-rating {
    color: #fbbf24;
}

.woocommerce div.product .woocommerce-review-link {
    color: #64748b;
    font-size: 14px;
    text-decoration: underline;
}

.yxy-supplier-info {
    padding: 12px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 16px;
    font-size: 14px;
    color: #475569;
}

.yxy-supplier-label {
    color: #94a3b8;
    margin-right: 8px;
}

/* Price Section */
.yxy-price-section {
    margin-bottom: 24px;
}

.yxy-quantity-tier-controller {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #f8fafc;
    margin-bottom: 18px;
}

.yxy-quantity-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.yxy-quantity-input-group label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #475569;
}

.yxy-requested-qty {
    width: 140px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
}

.yxy-requested-qty:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.yxy-live-price-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff7ed;
    border-radius: 14px;
    border: 1px solid #fed7aa;
    padding: 14px 18px;
    min-width: 200px;
}

.yxy-live-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9a3412;
}

.yxy-live-price-value {
    font-size: 28px;
    color: #b91c1c;
    line-height: 1;
}

.yxy-live-price-tier {
    font-size: 13px;
    color: #92400e;
}

.yxy-total-price-panel {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #0f172a;
    color: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    min-width: 240px;
}

.yxy-total-price-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yxy-total-price-label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.yxy-total-price-hint {
    font-size: 12px;
    color: rgba(248, 250, 252, 0.75);
}

.yxy-total-price-value {
    font-size: 26px;
    font-weight: 700;
}

.yxy-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.yxy-primary-action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.yxy-primary-action-row form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.yxy-primary-action-row form.cart .quantity {
    display: none;
}

.yxy-primary-action-row form.cart .single_add_to_cart_button {
    flex: 1;
    min-width: 220px;
    justify-content: center;
}

.yxy-atc-wrapper {
    flex: 1;
    min-width: 240px;
}

.yxy-atc-wrapper form.cart {
    width: 100%;
}

.yxy-atc-wrapper form.cart .single_add_to_cart_button {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

.yxy-whatsapp-button,
.yxy-alibaba-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    padding: 12px 26px;
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.yxy-whatsapp-button {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.35);
}

.yxy-whatsapp-button:hover {
    transform: translateY(-2px);
    background: #16a34a;
}

.yxy-alibaba-button {
    background: transparent;
    border: 1px solid rgba(248, 113, 113, 0.6);
    color: #ef4444;
}

.yxy-alibaba-button:hover {
    transform: translateY(-1px);
    background: rgba(248, 113, 113, 0.08);
}

.yxy-action-buttons .single_add_to_cart_button {
    flex: 1;
    min-width: 220px;
}

@media (max-width: 640px) {
    .yxy-quantity-tier-controller {
        flex-direction: column;
    }

    .yxy-primary-action-row {
        flex-direction: column;
        width: 100%;
    }

    .yxy-action-buttons .single_add_to_cart_button,
    .yxy-whatsapp-button,
    .yxy-alibaba-button {
        width: 100%;
        justify-content: center;
    }

    .yxy-total-price-panel {
        width: 100%;
    }
}

.yxy-tiered-pricing-display {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

/* Hide prices in the Related Products section (cards keep image, title and View) */
.yxy-related-products li.product .price {
    display: none !important;
}

.yxy-dispatch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.yxy-dispatch-badge svg {
    flex-shrink: 0;
}

.yxy-price-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.yxy-price-tier-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 150ms ease, box-shadow 150ms ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.yxy-price-tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.yxy-price-tier-card.is-active {
    border-color: #f97316;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

/* New Self-Contained Tiered Pricing System */
.yxy-pricing-system {
    margin: 32px 0;
}

.yxy-tiers-container {
    margin-bottom: 24px;
}

.yxy-dispatch-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #f59e0b;
    font-weight: 500;
}

.yxy-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.yxy-tier-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yxy-tier-card:hover {
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.yxy-tier-card.is-active {
    border-color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(249, 115, 22, 0.1));
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.yxy-tier-qty {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.yxy-tier-price {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.yxy-pricing-note {
    text-align: center;
    color: #6b7280;
    margin: 0;
}

.yxy-calculator {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.yxy-qty-section {
    margin-bottom: 16px;
}

.yxy-qty-section label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.yxy-qty-input {
    width: 100%;
    max-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.2s ease;
}

.yxy-qty-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.yxy-pricing-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.yxy-unit-price,
.yxy-total-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.yxy-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.yxy-unit-value {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.yxy-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #dc2626;
}

.yxy-total-note {
    font-size: 11px;
    color: #9ca3af;
}

.yxy-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yxy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
}

.yxy-btn svg {
    flex-shrink: 0;
}

.yxy-btn-primary {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.yxy-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.yxy-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.yxy-btn-primary.loading {
    position: relative;
    color: transparent;
}

.yxy-btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: yxy-spin 0.8s linear infinite;
}

.yxy-btn-primary.added {
    background: linear-gradient(135deg, #059669, #10b981);
}

.yxy-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.yxy-btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* The Chinese product page's contact button. Same shape as the WhatsApp one
   above, WeChat's own brand green (#07c160) instead of WhatsApp's (#25d366) —
   a WeChat mark on WhatsApp green reads as a broken asset rather than a brand.
   Kept as a sibling rule, not a modifier, so the two can never both apply. */
.yxy-btn-wechat {
    background: #07c160;
    color: #ffffff;
}

.yxy-btn-wechat:hover {
    background: #06ad56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.3);
}

.yxy-btn-alibaba {
    background: #ffffff;
    color: #ff6a00;
    border: 2px solid #ff6a00;
}

.yxy-btn-alibaba:hover {
    background: #ff6a00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
}

.yxy-btn-email {
    background: #193190;
    color: #ffffff;
}

.yxy-btn-email:hover {
    background: #12246b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 49, 144, 0.3);
}

@keyframes yxy-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .yxy-tiers-grid {
        grid-template-columns: 1fr;
    }

    .yxy-pricing-display {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .yxy-qty-input {
        max-width: 100%;
    }

    .yxy-actions {
        gap: 8px;
    }

    .yxy-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}

.yxy-tier-qty-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.yxy-tier-price-value {
    font-size: 28px;
    font-weight: 700;
}

/* Floating Cart */
.yxy-floating-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    /* dvh tracks the mobile URL bar; vh stays as the fallback for older
       browsers that do not understand dvh. */
    height: 100dvh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    /* Parked off-canvas with a transform rather than `right: -400px`.
       A negative `right` pushes the drawer into the document's scrollable
       overflow region, which showed up as a stray white panel when a phone
       page could scroll sideways. A transform is not scrollable overflow. */
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

.yxy-floating-cart.show {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
}

.yxy-floating-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.yxy-floating-cart-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.yxy-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.yxy-cart-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.yxy-floating-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.yxy-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.yxy-cart-item:last-child {
    border-bottom: none;
}

.yxy-cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.yxy-cart-item-details {
    flex: 1;
}

.yxy-cart-item-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.yxy-cart-item-qty {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 2px;
}

.yxy-cart-item-price {
    font-size: 14px;
    color: #374151;
}

.yxy-cart-item-total {
    font-weight: 600;
    color: #111827;
    align-self: flex-start;
}

.yxy-floating-cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.yxy-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.yxy-floating-cart-total {
    color: #dc2626;
}

/* Update header cart to be clickable */
.yxy-header-cart {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.yxy-header-cart:hover {
    transform: translateY(-2px);
}

.yxy-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
}

/* Contact Page */
.yxy-contact-hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(252, 165, 165, 0.25), transparent 55%), #0f172a;
    color: #f8fafc;
}

.yxy-contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.25), transparent 40%);
    pointer-events: none;
}

.yxy-contact-hero .container {
    position: relative;
    z-index: 1;
}

.yxy-contact-hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.yxy-contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.yxy-contact-hero p {
    color: #cbd5f5;
}

.yxy-contact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.yxy-contact-metrics div {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    backdrop-filter: blur(6px);
}

.yxy-contact-metrics span {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #fef3c7;
}

.yxy-contact-map-card {
    position: relative;
    border-radius: 24px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.9));
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.yxy-contact-map-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), transparent 60%);
    pointer-events: none;
}

.yxy-contact-map-content {
    position: relative;
    z-index: 1;
}

.yxy-contact-map-card h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.yxy-contact-map-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #cbd5f5;
}

.yxy-map-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.08);
    border: 1px solid rgba(248, 250, 252, 0.2);
    font-weight: 500;
}

.yxy-contact-section {
    background: #f8fafc;
    padding: 80px 0;
}

.yxy-contact-layout {
    display: grid;
    grid-template-columns: 55% 20% 25%;
    gap: 40px;
    align-items: start;
}

.yxy-contact-process {
    order: 2;
}

.yxy-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    order: 3;
}

.yxy-contact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yxy-contact-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.yxy-contact-card-head span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
}

.yxy-contact-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yxy-contact-card a {
    color: #0f172a;
    font-weight: 600;
}

.yxy-contact-process {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.yxy-contact-process::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(248, 113, 113, 0.2), transparent 50%);
    pointer-events: none;
}

.yxy-contact-process h4 {
    margin-top: 0;
    color: #fff;
}

.yxy-contact-process ol {
    margin: 16px 0 24px;
    padding-left: 20px;
    counter-reset: yxy-step;
}

.yxy-contact-process li {
    margin-bottom: 12px;
    color: #cbd5f5;
}

.yxy-contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.yxy-contact-stats div {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.yxy-contact-stats span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #facc15;
}

.yxy-contact-form-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    order: 1;
}

.yxy-contact-form-head {
    margin-bottom: 32px;
}

.yxy-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.yxy-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.yxy-field-group span {
    font-weight: 600;
    color: #0f172a;
}

.yxy-field-group input,
.yxy-field-group select,
.yxy-field-group textarea {
    border: 1.5px solid #cbd5f5;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yxy-field-group input:focus,
.yxy-field-group select:focus,
.yxy-field-group textarea:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    background: #fff;
}

.yxy-field-group textarea {
    resize: vertical;
}

.yxy-field-group.is-required span::after {
    content: '*';
    color: #dc2626;
    margin-left: 4px;
}

.yxy-contact-form-footer {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #475569;
}

.yxy-form-notice {
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.yxy-form-notice--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #047857;
}

.yxy-form-notice--error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: #b91c1c;
}

.yxy-contact-form button {
    align-self: flex-start;
    min-width: 260px;
}

@media (max-width: 1024px) {
    .yxy-contact-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .yxy-contact-form-card {
        order: -1;
    }

    .yxy-contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .yxy-contact-hero {
        padding: 80px 0 60px;
    }

    .yxy-contact-map-card {
        padding: 28px;
    }

    .yxy-contact-form-card {
        padding: 28px;
    }

    .yxy-form-grid {
        grid-template-columns: 1fr;
    }

    .yxy-contact-form button {
        width: 100%;
        min-width: unset;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .yxy-floating-cart {
        width: 100%;
    }
}

/* Cart Page Styles */
.yxy-cart-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.yxy-cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.yxy-cart-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.yxy-cart-header p {
    font-size: 18px;
    color: #6b7280;
}

.yxy-cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.yxy-cart-items {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.yxy-cart-item-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 50px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.yxy-cart-item-row:last-child {
    border-bottom: none;
}

.yxy-cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.yxy-cart-item-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.yxy-item-price {
    font-size: 14px;
    color: #6b7280;
}

.yxy-cart-item-quantity input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.yxy-cart-item-total {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.yxy-remove-item {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.yxy-remove-item:hover {
    background: #fee2e2;
}

.yxy-cart-summary {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.yxy-cart-totals {
    margin-bottom: 24px;
}

.yxy-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    padding: 16px 0;
    border-top: 2px solid #e5e7eb;
}

.yxy-grand-total {
    color: #dc2626;
}

.yxy-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yxy-empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yxy-empty-cart h2 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 16px;
}

.yxy-empty-cart p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* Checkout Page Styles */
.yxy-checkout-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.yxy-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.yxy-checkout-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.yxy-checkout-header p {
    font-size: 18px;
    color: #6b7280;
}

.yxy-checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.yxy-order-summary {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.yxy-order-summary h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.yxy-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.yxy-summary-item:last-child {
    border-bottom: none;
}

.yxy-summary-item-details {
    flex: 1;
}

.yxy-item-name {
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.yxy-item-qty {
    font-size: 13px;
    color: #6b7280;
}

.yxy-summary-item strong {
    font-weight: 600;
    color: #111827;
}

.yxy-summary-total {
    padding: 20px 0;
    border-top: 2px solid #e5e7eb;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.yxy-checkout-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 32px;
}

.yxy-checkout-form h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.yxy-form-note {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 14px;
}

.yxy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.yxy-form-group {
    margin-bottom: 20px;
}

.yxy-form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.yxy-form-group input,
.yxy-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.yxy-form-group input:focus,
.yxy-form-group textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.yxy-checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.yxy-order-success {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.yxy-success-icon {
    font-size: 64px;
    color: #059669;
    margin-bottom: 24px;
}

.yxy-order-success h2 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 16px;
}

.yxy-order-success p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {

    .yxy-cart-content,
    .yxy-checkout-content {
        grid-template-columns: 1fr;
    }

    .yxy-cart-summary,
    .yxy-order-summary {
        position: static;
    }

    .yxy-cart-item-row {
        grid-template-columns: 60px 1fr 80px 80px 40px;
        gap: 12px;
    }

    .yxy-cart-item-image img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    .yxy-form-row {
        grid-template-columns: 1fr;
    }

    .yxy-checkout-actions {
        flex-direction: column;
        gap: 12px;
    }

    .yxy-cart-item-row {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .yxy-cart-item-image {
        display: flex;
        justify-content: center;
    }
}

.yxy-pricing-disclaimer {
    margin: 0;
    color: #92400e;
    font-size: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #94a3b8;
    font-size: 20px;
    font-weight: 500;
    margin-right: 12px;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none;
}

/* Add to Cart */
.woocommerce div.product form.cart {
    margin-bottom: 24px;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 12px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 80px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 15px;
    text-align: center;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
}

/* Variations */
.woocommerce div.product form.cart .variations {
    margin-bottom: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 16px;
}

.woocommerce div.product form.cart .variations td {
    padding: 10px 0;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.woocommerce div.product form.cart .variations select {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 14px;
}

/* Product Meta */
.yxy-product-meta {
    padding: 16px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 20px;
}

.woocommerce div.product .product_meta {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
}

.woocommerce div.product .product_meta>span {
    display: block;
}

.woocommerce div.product .product_meta span.posted_in,
.woocommerce div.product .product_meta span.tagged_as,
.woocommerce div.product .product_meta span.sku_wrapper {
    font-weight: 500;
}

/* Product Highlights */
.yxy-product-highlights {
    margin-bottom: 24px;
}

.yxy-product-highlights h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* Product Tabs */
.yxy-product-tabs-wrapper {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 16px 20px;
    position: relative;
}

.yxy-product-tabs-wrapper::before {
    content: "";
    position: absolute;
    inset: 20px 32px 0;
    border-radius: 28px;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.16), transparent 50%),
        radial-gradient(circle at 90% 0, rgba(236, 72, 153, 0.12), transparent 45%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.woocommerce div.product .woocommerce-tabs {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
    z-index: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce .wc-tabs-wrapper ul.wc-tabs {
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li {
    margin: 0;
    background: transparent;
    border: none;
    position: relative;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li::before {
    content: "";
    position: absolute;
    inset: 4px 0 -10px;
    border-radius: 999px;
    background: transparent;
    transition: all 200ms ease;
    z-index: -1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    color: #475569;
    transition: all 200ms ease;
    border: none;
    background: rgba(148, 163, 184, 0.14);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a::after,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    transition: opacity 200ms ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li.active::before {
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    filter: blur(6px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li.active a {
    background: linear-gradient(120deg, #2563eb, #7c3aed);
    color: #ffffff;
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.25);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li.active a::after {
    opacity: 0.8;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus-visible,
.woocommerce .wc-tabs-wrapper ul.wc-tabs li a:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.4);
    outline-offset: 2px;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce .wc-tabs-wrapper .wc-tab {
    padding: 28px;
    margin: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), #fff);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: tabFade 220ms ease;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce .wc-tabs-wrapper .wc-tab h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #0f172a;
}

.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce div.product .woocommerce-tabs .panel li,
.woocommerce .wc-tabs-wrapper .wc-tab p,
.woocommerce .wc-tabs-wrapper .wc-tab ul,
.woocommerce .wc-tabs-wrapper .wc-tab li {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

.woocommerce div.product .woocommerce-tabs .panel ul,
.woocommerce .wc-tabs-wrapper .wc-tab ul {
    padding-left: 20px;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs .panel ul li,
.woocommerce .wc-tabs-wrapper .wc-tab ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 22px;
}

.woocommerce div.product .woocommerce-tabs .panel ul li::before,
.woocommerce .wc-tabs-wrapper .wc-tab ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.woocommerce div.product .woocommerce-tabs .panel p+p,
.woocommerce div.product .woocommerce-tabs .panel p+ul,
.woocommerce div.product .woocommerce-tabs .panel ul+p,
.woocommerce .wc-tabs-wrapper .wc-tab p+p,
.woocommerce .wc-tabs-wrapper .wc-tab p+ul,
.woocommerce .wc-tabs-wrapper .wc-tab ul+p {
    margin-top: 12px;
}

.woocommerce div.product .woocommerce-tabs #comments ol.commentlist,
.woocommerce .wc-tabs-wrapper #comments ol.commentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs #comments ol.commentlist li,
.woocommerce .wc-tabs-wrapper #comments ol.commentlist li {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-tabs #reviews #review_form_wrapper,
.woocommerce .wc-tabs-wrapper #reviews #review_form_wrapper {
    margin-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 24px;
}

@keyframes tabFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Related Products */
.yxy-related-products {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 16px;
}

.woocommerce div.product .related {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.woocommerce div.product .related h2 {
    font-size: 24px;
    margin-bottom: 24px;
}

/* Responsive - Single Product */
@media (max-width: 1024px) {
    .yxy-product-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .yxy-product-gallery-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .yxy-product-gallery {
        flex-direction: column-reverse;
    }

    .yxy-gallery-thumbnails {
        flex-direction: row;
        max-height: none;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 8px;
    }

    .yxy-thumbnail {
        width: 60px;
        height: 60px;
    }

    .yxy-product-details-section {
        padding: 24px;
    }

    .yxy-product-title {
        font-size: 22px;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 26px;
    }

    .woocommerce div.product .woocommerce-tabs {
        padding: 24px;
    }

    .woocommerce div.product .related {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .yxy-single-product-container {
        padding: 20px 0 40px;
    }

    .yxy-thumbnail {
        width: 52px;
        height: 52px;
    }

    .yxy-gallery-nav {
        width: 36px;
        height: 36px;
    }

    .yxy-gallery-prev {
        left: 8px;
    }

    .yxy-gallery-next {
        right: 8px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* --- Modern Front Page Redesign Styles --- */

/* General Utilities */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yxy-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    color: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.yxy-bg-light {
    background-color: #f8fafc;
}

.yxy-center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Hero Updates */
.yxy-hero-modern h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.yxy-stat-item {
    text-align: left;
}

.yxy-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 4px;
}

.yxy-stat-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.yxy-card-stack {
    position: relative;
    height: 400px;
    width: 100%;
}

.yxy-card-visual {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.yxy-card-visual:hover {
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.2);
}

.yxy-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yxy-card-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.02);
    z-index: 1;
}

.yxy-card-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.yxy-card-visual.main-card {
    width: 150%;
    aspect-ratio: 4/3;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    position: absolute;
}

.yxy-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.yxy-pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Features Grid */
.yxy-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.yxy-feature-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.yxy-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: #0f172a;
}

.yxy-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.yxy-feature-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.yxy-feature-box p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

/* Category Showcase */
.yxy-category-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .yxy-category-showcase {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .yxy-category-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .yxy-category-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .yxy-category-showcase {
        grid-template-columns: 1fr;
    }
}

.yxy-cat-card {
    position: relative;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 20px;
    text-decoration: none;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Shop by Category */
.yxy-shop-by-category {
    overflow: hidden;
}

.yxy-sbc-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
    margin-top: 2px;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #e2e8f0;
}

.yxy-sbc-strip::-webkit-scrollbar {
    height: 8px;
}

.yxy-sbc-strip::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 999px;
}

.yxy-sbc-strip::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 999px;
}

.yxy-sbc-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    min-width: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.yxy-sbc-chip:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
}

.yxy-sbc-chip.is-active {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.yxy-sbc-chip-img {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    display: grid;
    place-items: center;
    border: 1px solid #e2e8f0;
}

.yxy-sbc-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yxy-sbc-chip span {
    font-size: 12px;
    text-align: center;
    line-height: 1.35;
    max-width: 124px;
    display: block;
    min-height: 32px;
    word-break: break-word;
}

.yxy-sbc-panels {
    margin-top: 12px;
}

.yxy-sbc-panel {
    display: none;
}

.yxy-sbc-panel.is-active {
    display: block;
}

.yxy-sbc-product-grid {
    margin-top: 4px;
    gap: 18px;
}

@media (max-width: 1024px) {
    .yxy-sbc-strip {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .yxy-sbc-strip::-webkit-scrollbar {
        display: none;
    }

    .yxy-sbc-chip {
        min-width: 98px;
        padding: 8px 9px;
    }

    .yxy-sbc-chip-img {
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 640px) {
    .yxy-sbc-strip {
        gap: 10px;
    }

    .yxy-sbc-chip {
        min-width: 92px;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    }
}

.yxy-cat-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 190px;
    border-radius: 18px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8fafc;
    transition: transform 0.6s ease;
}

.yxy-cat-overlay {
    display: none;
}

.yxy-cat-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yxy-cat-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}

.yxy-cat-link {
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: inline-block;
    color: #60a5fa;
}

.yxy-cat-card:hover .yxy-cat-bg {
    transform: scale(1.1);
}

.yxy-cat-card:hover .yxy-cat-link {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Product Grid */
.yxy-product-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .yxy-product-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .yxy-product-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .yxy-product-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .yxy-product-grid-modern {
        grid-template-columns: 1fr;
    }
}

.yxy-modern-product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.yxy-modern-product-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
    border-color: #cbd5e1;
}

.yxy-mp-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f8fafc;
    overflow: hidden;
}

.yxy-mp-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.yxy-modern-product-card:hover .yxy-mp-image img {
    transform: scale(1.05);
}

.yxy-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.yxy-mp-actions {
    position: absolute;
    bottom: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 8px;
    align-items: center;
}

.yxy-modern-product-card:hover .yxy-mp-actions {
    opacity: 1;
    transform: translateY(0);
}

.yxy-view-btn {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.yxy-view-btn:hover {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

.yxy-mp-actions .button {
    background: #0f172a;
    color: #fff;
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.yxy-mp-details {
    padding: 20px;
}

.yxy-mp-cat {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.yxy-mp-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.4;
}

.yxy-mp-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.yxy-mp-title a:hover {
    color: #3b82f6;
}

.yxy-mp-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 16px;
}

/* Capabilities Visual */
.yxy-capabilities-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    grid-auto-rows: 240px;
}

.yxy-cap-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.yxy-cap-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.yxy-cap-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yxy-cap-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yxy-cap-item:hover img {
    transform: scale(1.1);
}

.yxy-cap-item:hover .yxy-cap-overlay,
.yxy-cap-item.large .yxy-cap-overlay {
    opacity: 1;
}

.yxy-cap-overlay h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.yxy-cap-overlay p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
}

/* Certifications */
.yxy-certifications {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 100px 0;
}

.yxy-cert-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.yxy-check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

.yxy-check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
}

.yxy-check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.yxy-cert-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yxy-cert-logo {
    aspect-ratio: 4/3;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.yxy-cert-logo:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.yxy-cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.yxy-cert-logo:hover img {
    transform: scale(1.08);
}

.yxy-cert-placeholder {
    font-weight: 800;
    color: #64748b;
    font-size: 15px;
}

/* Testimonials Modern */
.yxy-testimonials-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
    grid-auto-rows: 1fr;
    perspective: 1200px;
}

.yxy-testimonial-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    display: none;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: rotateY(-12deg) scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform-origin: left center;
    transform-style: preserve-3d;
}

.yxy-testimonial-box.is-active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: rotateY(0deg) scale(1);
}

.yxy-testimonial-box.is-flip {
    animation: yxy-page-flip 0.7s ease both;
}

.yxy-stars {
    color: #f59e0b;
    font-size: 20px;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.yxy-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 28px;
    font-style: normal;
}

.yxy-author strong {
    display: block;
    color: #0f172a;
    font-weight: 800;
    font-size: 15px;
}

.yxy-author span {
    display: block;
    color: #64748b;
    font-size: 13px;
}

/* CTA Section */
.yxy-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 120px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.yxy-cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.yxy-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.yxy-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.yxy-cta-content p {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 32px;
}

.yxy-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.yxy-btn-white {
    background: #ffffff;
    color: #0f172a;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.yxy-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.25);
}

.yxy-btn-transparent {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.yxy-btn-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .yxy-hero-modern-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: left;
    }

    .yxy-hero-visual {
        order: 2;
    }

    .yxy-card-visual.main-card {
        width: 80%;
        max-width: 500px;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
    }

    .yxy-hero-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .yxy-hero-modern-inner {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .yxy-hero-content {
        order: 1;
    }

    .yxy-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .yxy-hero-actions {
        justify-content: center;
    }

    .yxy-hero-stats {
        justify-content: center;
    }

    .yxy-hero-visual {
        display: block !important;
        order: 2;
        margin-top: 32px;
        width: 100%;
        height: auto;
    }

    .yxy-hero-card-stack {
        position: static;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .yxy-card-visual.main-card {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 640 / 217 !important;
        height: auto !important;
        max-height: none !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto;
        opacity: 1 !important;
    }

    .yxy-card-stack {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 32px;
    }

    .yxy-card-visual {
        position: relative;
        width: 90%;
        max-width: 400px;
        height: 250px;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin: 0 auto;
        opacity: 1;
    }

    .yxy-card-visual.main-card,
    .yxy-card-visual.secondary-card {
        opacity: 1;
    }

    .yxy-capabilities-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .yxy-cap-item.large {
        grid-column: auto;
        grid-row: auto;
    }

    .yxy-cert-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Button Secondary Style (Cart/Checkout pages) */
.yxy-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
}

.yxy-btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

/* Single Product Refresh */
.yxy-product-page-shell {
    padding: 32px 0 72px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 32%),
        linear-gradient(180deg, #eef2f7 0%, #f8fafc 42%, #ffffff 100%);
}

.yxy-modern-product-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px 56px;
}

.yxy-modern-product-shell.yxy-single-product-alibaba {
    width: auto !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    font-family: inherit;
}

.yxy-modern-product-shell .yxy-product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: start;
}

.yxy-modern-product-shell .yxy-product-image-panel,
.yxy-modern-product-shell .yxy-product-info-panel {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.yxy-modern-product-shell .yxy-product-image-panel {
    position: relative;
    z-index: 1;
}

.yxy-modern-product-shell .yxy-product-info-panel {
    position: relative;
    z-index: 2;
}

.yxy-product-overview-card,
.yxy-product-gallery-card,
.yxy-product-purchase-card,
.yxy-product-description-card,
.yxy-product-details-card,
.yxy-product-highlights,
.yxy-product-meta,
.yxy-product-reviews,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 26px;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.06);
}

.yxy-product-overview-card,
.yxy-product-purchase-card,
.yxy-product-description-card,
.yxy-product-details-card,
.yxy-product-highlights,
.yxy-product-meta,
.yxy-product-reviews,
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
    padding: 28px;
}

.yxy-modern-product-shell .yxy-product-overview-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.yxy-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yxy-product-badge,
.yxy-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yxy-product-badge.is-in-stock {
    background: #ecfdf5;
    border-color: rgba(34, 197, 94, 0.28);
    color: #15803d;
}

.yxy-product-badge.is-made-to-order {
    background: #fff7ed;
    border-color: rgba(251, 146, 60, 0.3);
    color: #c2410c;
}

.yxy-product-rating-inline .woocommerce-product-rating {
    margin: 0;
    gap: 10px;
}

.yxy-product-headline-block {
    max-width: 54rem;
}

.yxy-modern-product-shell .yxy-product-title {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 2.25rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: #0f172a;
}

.yxy-product-intro-block {
    margin-top: 12px;
}

.yxy-product-intro-heading {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2563eb;
}

.yxy-product-intro-summary {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
}

.yxy-product-intro-specs {
    display: grid;
    gap: 8px;
    margin: 0;
}

.yxy-product-intro-spec-row {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 12px;
}

.yxy-product-intro-spec-label,
.yxy-product-intro-spec-value {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.yxy-product-intro-spec-label {
    font-weight: 700;
    color: #0f172a;
}

.yxy-product-intro-spec-value {
    color: #475569;
}

.yxy-product-subtitle {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    max-width: 48rem;
}

.yxy-product-summary {
    margin-top: 22px;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.yxy-product-summary p:last-child {
    margin-bottom: 0;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-pricing-system {
    display: grid;
    gap: 4px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-calculator {
    margin-bottom: 4px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-tiers-container {
    margin-bottom: 6px;
    padding: 6px 8px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-tiers-grid {
    margin-top: 4px;
    gap: 4px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-tier-card {
    padding: 6px 8px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-tier-price {
    font-size: 15px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-calculator-grid {
    gap: 6px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-qty-section,
.yxy-modern-product-shell .yxy-product-order-card .yxy-unit-price,
.yxy-modern-product-shell .yxy-product-order-card .yxy-total-price {
    padding: 6px 8px;
    border-radius: 14px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-qty-section label,
.yxy-modern-product-shell .yxy-product-order-card .yxy-label {
    margin-bottom: 2px;
    font-size: 8px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-qty-input {
    min-height: 32px;
    padding: 4px 8px;
    font-size: 15px;
    border-radius: 10px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-unit-value {
    font-size: clamp(0.98rem, 1.5vw, 1.2rem);
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-total-value {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-pricing-note {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.2;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-actions {
    gap: 4px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-btn {
    min-height: 34px;
    border-radius: 10px;
    font-size: 12px;
}

.yxy-modern-product-shell .yxy-product-order-card .yxy-secondary-actions {
    gap: 4px;
}

.yxy-modern-product-shell .yxy-product-description-card,
.yxy-modern-product-shell .yxy-product-details-card {
    padding: 24px;
}

.yxy-modern-product-shell .yxy-product-order-card {
    padding: 28px;
}
@media (max-width: 900px) {
    .yxy-modern-product-shell .yxy-product-order-card {
        padding: 20px;
    }
}
@media (max-width: 640px) {
    .yxy-modern-product-shell .yxy-product-order-card {
        padding: 16px;
    }
}

.yxy-modern-product-shell .yxy-product-overview-top {
    margin-bottom: 4px;
}

.yxy-modern-product-shell .yxy-product-headline-block {
    max-width: 48rem;
}

.yxy-modern-product-shell .yxy-product-title {
    font-size: clamp(1.2rem, 2.5vw, 2.25rem);
}

.yxy-modern-product-shell .yxy-product-subtitle {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
}

.yxy-modern-product-shell .yxy-product-quick-meta {
    margin-top: 8px;
    padding-top: 8px;
    gap: 6px;
}

.yxy-modern-product-shell .yxy-product-quick-meta-item strong {
    font-size: 12px;
    line-height: 1.3;
}

.yxy-modern-product-shell .yxy-order-title-row {
    margin-bottom: 6px;
}

.yxy-modern-product-shell .yxy-tiers-container {
    margin-bottom: 14px;
    padding: 14px;
}

.yxy-modern-product-shell .yxy-tiers-grid {
    margin-top: 12px;
    gap: 8px;
}

.yxy-order-dispatch {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.yxy-order-dispatch-label {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
}

.yxy-order-dispatch-value {
    display: block;
    color: #0f172a;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.yxy-modern-product-shell .yxy-tier-card {
    padding: 10px 12px;
}

.yxy-modern-product-shell .yxy-tier-price {
    font-size: 18px;
}

.yxy-modern-product-shell .yxy-calculator {
    margin-bottom: 10px;
}

.yxy-modern-product-shell .yxy-pricing-display {
    gap: 10px;
}

.yxy-modern-product-shell .yxy-qty-section,
.yxy-modern-product-shell .yxy-unit-price,
.yxy-modern-product-shell .yxy-total-price {
    padding: 12px;
}

.yxy-modern-product-shell .yxy-qty-section label,
.yxy-modern-product-shell .yxy-label {
    margin-bottom: 4px;
}

.yxy-modern-product-shell .yxy-qty-input {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 18px;
}

.yxy-modern-product-shell .yxy-unit-value {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.yxy-modern-product-shell .yxy-total-value {
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
}

.yxy-modern-product-shell .yxy-pricing-note {
    font-size: 11px;
}

.yxy-modern-product-shell .yxy-actions {
    gap: 8px;
}

.yxy-modern-product-shell .yxy-btn {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
}

.yxy-modern-product-shell .yxy-secondary-actions {
    gap: 8px;
}

.yxy-modern-product-shell .yxy-product-summary {
    margin-top: 18px;
}

.yxy-modern-product-shell .yxy-product-highlights-inline {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.yxy-modern-product-shell .yxy-product-highlight-list-compact {
    gap: 10px;
}

.yxy-modern-product-shell .yxy-product-highlight-list-compact li {
    padding: 12px 14px 12px 40px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.65;
}

.yxy-modern-product-shell .yxy-product-highlight-list-compact li::before {
    left: 14px;
    top: 16px;
    width: 10px;
    height: 10px;
}

.yxy-modern-product-shell .yxy-product-spec-list-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.yxy-modern-product-shell .yxy-product-spec-item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
}

.yxy-modern-product-shell .yxy-product-spec-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.yxy-modern-product-shell .yxy-product-spec-value {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.6;
}

.yxy-modern-product-shell .yxy-product-tabs-wrapper--compact {
    margin-top: 20px;
}

.yxy-modern-product-shell .yxy-product-tabs-wrapper--compact .woocommerce-tabs {
    padding: 24px;
}

.yxy-product-quick-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.yxy-product-quick-meta-item {
    display: grid;
    gap: 8px;
}

.yxy-product-quick-meta-label,
.yxy-fact-label,
.yxy-meta-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.yxy-product-quick-meta-item strong,
.yxy-product-quick-meta-value,
.yxy-fact-value,
.yxy-meta-value {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.7;
}

.yxy-product-quick-meta-value a,
.yxy-meta-value a {
    color: #1d4ed8;
    text-decoration: none;
}

.yxy-product-quick-meta-value a:hover,
.yxy-meta-value a:hover {
    text-decoration: underline;
}

.yxy-product-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.yxy-product-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 999px;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.95);
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.yxy-product-category-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.yxy-product-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 24px;
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.yxy-product-summary-large {
    margin-top: 0;
}

.yxy-product-summary-empty {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.yxy-product-gallery-card {
    padding: 18px;
    overflow: hidden;
}

.yxy-modern-product-shell .yxy-product-gallery {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.yxy-modern-product-shell .yxy-gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 6px;
}

.yxy-modern-product-shell .yxy-gallery-thumbnails::-webkit-scrollbar {
    width: 4px;
}

.yxy-modern-product-shell .yxy-gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 999px;
}

.yxy-modern-product-shell .yxy-thumbnail {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #f8fafc;
    overflow: hidden;
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-thumbnail:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.36);
}

.yxy-modern-product-shell .yxy-thumbnail.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.yxy-modern-product-shell .yxy-gallery-main {
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 1)),
        radial-gradient(circle at top, rgba(191, 219, 254, 0.24), transparent 46%);
}

.yxy-modern-product-shell .yxy-gallery-images {
    position: relative;
    width: 100%;
}

.yxy-modern-product-shell .yxy-main-image {
    padding: 28px;
}

.yxy-modern-product-shell .yxy-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.yxy-modern-product-shell .yxy-gallery-nav {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
}

.yxy-modern-product-shell .yxy-gallery-nav:hover {
    border-color: #2563eb;
}

.yxy-modern-product-shell .yxy-gallery-counter {
    bottom: 18px;
    right: 18px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    color: #ffffff;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.yxy-gallery-modal-open {
    overflow: hidden;
}

.yxy-gallery-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.78);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
    z-index: 1200;
}

.yxy-gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.yxy-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
}

.yxy-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(96vw, 1200px);
    height: min(88vh, 900px);
    padding: 28px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 40px 100px rgba(2, 6, 23, 0.5);
    overflow: hidden;
}

.yxy-gallery-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
    z-index: 2;
}

.yxy-gallery-modal__close:hover {
    transform: scale(1.04);
    border-color: rgba(96, 165, 250, 0.75);
    background: rgba(30, 41, 59, 0.96);
}

.yxy-gallery-modal__viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.yxy-gallery-modal__viewport.is-pannable {
    cursor: grab;
}

.yxy-gallery-modal__viewport.is-dragging {
    cursor: grabbing;
}

.yxy-gallery-modal__viewport.is-dragging .yxy-gallery-modal__image {
    transition: none;
}

.yxy-gallery-modal__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 120ms ease;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.yxy-modern-product-shell .yxy-product-intro-block {
    margin-top: 8px;
}

.yxy-modern-product-shell .yxy-product-intro-heading {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2563eb;
}

.yxy-modern-product-shell .yxy-product-intro-summary {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #0f172a;
}

.yxy-modern-product-shell .yxy-product-intro-specs {
    display: grid;
    gap: 5px;
    margin: 0;
}

.yxy-modern-product-shell .yxy-product-intro-spec-row {
    display: grid;
    grid-template-columns: minmax(108px, 136px) minmax(0, 1fr);
    gap: 8px;
}

.yxy-modern-product-shell .yxy-product-intro-spec-label,
.yxy-modern-product-shell .yxy-product-intro-spec-value {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
}

.yxy-modern-product-shell .yxy-product-intro-spec-label {
    font-weight: 700;
    color: #0f172a;
}

.yxy-modern-product-shell .yxy-product-intro-spec-value {
    color: #475569;
}

.yxy-section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.yxy-section-heading-row h2 {
    margin: 8px 0 0;
    font-size: 34px;
    line-height: 1.08;
    color: #0f172a;
}

.yxy-section-heading-row p {
    margin: 0;
    max-width: 16rem;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.yxy-section-heading-compact h2 {
    font-size: 30px;
}

.yxy-modern-product-shell .yxy-pricing-system {
    margin: 0;
    display: grid;
    gap: 6px;
}

.yxy-modern-product-shell .yxy-tiers-container {
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.yxy-modern-product-shell .yxy-dispatch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #b45309;
    border: 1px solid rgba(251, 191, 36, 0.32);
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-dispatch-badge svg {
    color: #f59e0b;
}

.yxy-modern-product-shell .yxy-tiers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px;
}

.yxy-modern-product-shell .yxy-tier-card {
    padding: 8px 10px;
    text-align: left;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #ffffff;
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-tier-card:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.yxy-modern-product-shell .yxy-tier-card.is-active {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.yxy-modern-product-shell .yxy-tier-qty {
    margin-bottom: 4px;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.yxy-modern-product-shell .yxy-tier-price {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
}

.yxy-modern-product-shell .yxy-calculator {
    margin-bottom: 8px;
}

.yxy-calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.yxy-modern-product-shell .yxy-qty-section,
.yxy-modern-product-shell .yxy-unit-price,
.yxy-modern-product-shell .yxy-total-price {
    padding: 8px 10px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
}

.yxy-modern-product-shell .yxy-qty-section label,
.yxy-modern-product-shell .yxy-label {
    display: block;
    margin-bottom: 2px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.yxy-modern-product-shell .yxy-qty-input {
    width: 100%;
    max-width: none;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: #ffffff;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.yxy-modern-product-shell .yxy-qty-input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.yxy-modern-product-shell .yxy-pricing-display {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.yxy-modern-product-shell .yxy-unit-price,
.yxy-modern-product-shell .yxy-total-price {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.yxy-modern-product-shell .yxy-total-price {
    background: #0f172a;
    border-color: transparent;
}

.yxy-modern-product-shell .yxy-unit-value {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.05;
    color: #0f172a;
    white-space: nowrap;
    overflow-wrap: normal;
}

.yxy-modern-product-shell .yxy-total-price .yxy-label,
.yxy-modern-product-shell .yxy-total-price .yxy-total-note {
    color: rgba(255, 255, 255, 0.76);
}

.yxy-modern-product-shell .yxy-total-note {
    display: block;
    font-size: 10px;
    line-height: 1.5;
}

.yxy-modern-product-shell .yxy-total-value {
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
    line-height: 1.05;
    color: #ffffff;
    white-space: nowrap;
    overflow-wrap: normal;
}

.yxy-modern-product-shell .yxy-pricing-note {
    margin: 0;
    font-size: 10px;
    line-height: 1.3;
    color: #64748b;
}

.yxy-modern-product-shell .yxy-actions {
    display: grid;
    gap: 5px;
}

.yxy-modern-product-shell .yxy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 13px;
}

.yxy-modern-product-shell .yxy-btn-primary {
    background: linear-gradient(90deg, #0f172a, #1d4ed8);
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-btn-primary:hover:not(:disabled) {
    background: linear-gradient(90deg, #0b1220, #1e40af);
}

.yxy-modern-product-shell .yxy-secondary-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.yxy-modern-product-shell .yxy-btn-email {
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.yxy-modern-product-shell .yxy-btn-email:hover {
    border-color: rgba(37, 99, 235, 0.55);
    color: #1d4ed8;
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-btn-whatsapp {
    background: #22c55e;
    box-shadow: none;
}

.yxy-modern-product-shell .yxy-btn-whatsapp:hover {
    background: #16a34a;
}

.yxy-modern-product-shell .yxy-btn-alibaba {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.yxy-modern-product-shell .yxy-btn-alibaba:hover {
    background: #ffedd5;
    color: #9a3412;
    border-color: #fb923c;
    box-shadow: none;
}

.yxy-product-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.yxy-product-facts-grid-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yxy-product-fact-item {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.yxy-product-fact-item strong {
    display: block;
    margin-top: 8px;
}

.yxy-product-fact-item-wide {
    grid-column: 1 / -1;
}

.yxy-product-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.yxy-product-highlight-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.yxy-product-highlight-content p:last-child {
    margin-bottom: 0;
}

.yxy-product-highlight-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.yxy-product-highlight-list li {
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 48px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.7;
}

.yxy-product-highlight-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.yxy-meta-list {
    display: grid;
    gap: 14px;
}

.yxy-meta-item {
    display: grid;
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.yxy-meta-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.yxy-product-tabs-wrapper,
.yxy-related-products,
.yxy-product-reviews {
    max-width: 1320px;
    padding: 0 20px;
}

.yxy-product-tabs-wrapper,
.yxy-product-reviews,
.yxy-related-products {
    margin: 24px auto 0;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
    padding: 28px;
}

.yxy-product-reviews {
    padding: 28px;
}

.yxy-product-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.yxy-product-review-card {
    padding: 22px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.woocommerce div.product .related ul.products,
.yxy-related-products--bottom ul.products {
    display: flex !important;
    flex-wrap: nowrap;
    width: 100%;
    gap: 2% !important;
    justify-content: center;
    align-items: stretch;
}

.woocommerce div.product .related ul.products li.product,
.yxy-related-products--bottom ul.products > li.product {
    flex: 0 0 22%;
    width: 22% !important;
    max-width: 22% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

.woocommerce div.product .related ul.products li.product .woocommerce-loop-product__title,
.yxy-related-products--bottom ul.products > li.product .woocommerce-loop-product__title {
    word-break: normal;
    overflow-wrap: break-word;
}

.yxy-product-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.yxy-product-review-copy h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f172a;
}

.yxy-product-review-rating {
    display: flex;
    gap: 3px;
    color: #cbd5e1;
    font-size: 15px;
}

.yxy-product-review-rating .is-filled {
    color: #f59e0b;
}

.yxy-product-review-author {
    text-align: right;
}

.yxy-product-review-author strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
}

.yxy-product-review-author span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

.yxy-product-review-card p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
    font-size: 14px;
}

.woocommerce div.product .related h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #0f172a;
}

.yxy-no-images {
    padding: 60px 24px;
    border-radius: 22px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.95);
    color: #64748b;
}

@media (max-width: 1180px) {
    .yxy-modern-product-shell .yxy-product-hero-grid,
    .yxy-product-content-grid,
    .yxy-product-support-grid {
        grid-template-columns: 1fr;
    }

    .yxy-modern-product-shell .yxy-product-spec-list-inline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yxy-product-facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .yxy-modern-product-shell {
        padding: 0 16px 52px;
    }

    .yxy-product-overview-card,
    .yxy-product-purchase-card,
    .yxy-product-facts-card,
    .yxy-product-highlights,
    .yxy-product-meta,
    .yxy-product-reviews,
    .woocommerce div.product .woocommerce-tabs,
    .woocommerce div.product .related {
        padding: 24px;
        border-radius: 24px;
    }

    .yxy-modern-product-shell .yxy-product-overview-top,
    .yxy-section-heading-row,
    .yxy-product-review-top,
    .yxy-meta-item {
        flex-direction: column;
        text-align: left;
    }

    .yxy-modern-product-shell .yxy-product-intro-spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .woocommerce div.product .related ul.products,
    .yxy-related-products--bottom ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        justify-content: stretch;
    }

    .woocommerce div.product .related ul.products li.product,
    .yxy-related-products--bottom ul.products > li.product {
        flex: none;
        width: 100% !important;
        max-width: none !important;
    }

    .yxy-modern-product-shell .yxy-product-spec-list-inline {
        grid-template-columns: 1fr;
    }

    .yxy-product-review-author {
        text-align: left;
    }

    .yxy-modern-product-shell .yxy-pricing-display,
    .yxy-modern-product-shell .yxy-secondary-actions,
    .yxy-product-quick-meta,
    .yxy-product-facts-grid,
    .yxy-product-facts-grid-detail {
        grid-template-columns: 1fr;
    }

    .yxy-modern-product-shell .yxy-product-gallery {
        grid-template-columns: 1fr;
    }

    .yxy-modern-product-shell .yxy-gallery-thumbnails {
        order: 2;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 4px;
    }

    .yxy-modern-product-shell .yxy-thumbnail {
        width: 64px;
        height: 64px;
    }

    .yxy-product-support-grid {
        padding: 0 16px;
    }

    .yxy-product-content-grid {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .yxy-product-page-shell {
        padding: 20px 0 56px;
    }

    .yxy-modern-product-shell .yxy-product-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .yxy-section-heading-row h2 {
        font-size: 26px;
    }

    .yxy-modern-product-shell .yxy-main-image {
        padding: 20px;
    }

    .yxy-modern-product-shell .yxy-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .woocommerce div.product .related ul.products,
    .yxy-related-products--bottom ul.products {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .yxy-gallery-modal {
        padding: 12px;
    }

    .yxy-gallery-modal__dialog {
        width: 100%;
        height: min(88vh, 720px);
        padding: 18px;
        border-radius: 22px;
    }

    .yxy-gallery-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .yxy-product-tabs-wrapper,
    .yxy-product-reviews,
    .yxy-related-products,
    .yxy-modern-product-shell,
    .yxy-product-content-grid,
    .yxy-product-support-grid,
    .yxy-product-page-shell > .yxy-breadcrumbs {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ── Breadcrumbs ── */
.yxy-breadcrumbs {
    margin-bottom: 20px;
    font-size: 13px;
    color: #000000;
}
.yxy-product-page-shell > .yxy-breadcrumbs {
    max-width: 1320px;
    margin: 0 auto 20px;
    padding: 0 20px;
}
.yxy-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.yxy-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 4px;
}
.yxy-breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 4px;
    color: #000000;
}
.yxy-breadcrumbs a {
    color: #000000;
    text-decoration: none;
    transition: color .2s;
}
.yxy-breadcrumbs a:hover {
    color: #2563eb;
}
.yxy-breadcrumbs span[itemprop="name"] {
    color: #000000;
}

/* Standard Page (Policies, etc.) Styles */
.yxy-standard-page {
    max-width: 800px;
    margin: 40px auto;
    color: #334155;
    line-height: 1.8;
}

.yxy-page-header {
    text-align: center;
    margin-bottom: 48px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 24px;
}

.yxy-page-title {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.yxy-page-featured-image {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.yxy-page-content {
    font-size: 16px;
}

.yxy-page-content p {
    margin-bottom: 24px;
}

.yxy-page-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 16px;
}

.yxy-page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 32px;
    margin-bottom: 12px;
}

.yxy-page-content ul, .yxy-page-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.yxy-page-content li {
    margin-bottom: 8px;
}

.yxy-page-content a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.yxy-page-content a:hover {
    color: #1d4ed8;
}

/* ==========================================================================
   No-Direct-Order (Inquiry) Mode
   ========================================================================== */

.yxy-inquiry-pricing {
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
    background: #f8fafc;
    margin-bottom: 14px;
}

.yxy-inquiry-pricing .yxy-inquiry-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.yxy-inquiry-pricing .yxy-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.yxy-inquiry-pricing .yxy-inquiry-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.yxy-inquiry-pricing .yxy-inquiry-price-value del {
    color: #94a3b8;
    font-weight: 500;
    margin-right: 8px;
}

.yxy-inquiry-pricing .yxy-inquiry-price-value ins {
    text-decoration: none;
    color: #16a34a;
}

.yxy-inquiry-quote-note {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

/* Inquiry-mode action grid: contact buttons become primary, full-width row */
.yxy-modern-product-shell .yxy-actions--inquiry {
    display: block;
}

.yxy-modern-product-shell .yxy-actions--inquiry .yxy-secondary-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.yxy-modern-product-shell .yxy-btn-chat {
    background: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.yxy-modern-product-shell .yxy-btn-chat:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.yxy-modern-product-shell .yxy-btn-chat:active {
    transform: translateY(1px);
}

@media (max-width: 640px) {
    .yxy-modern-product-shell .yxy-actions--inquiry .yxy-secondary-actions {
        grid-template-columns: 1fr;
    }
}

/* Header cart icon is hidden via PHP in inquiry mode; this is a safety net. */
body.yxy-inquiry-mode .yxy-header-cart {
    display: none;
}

/* ============================================================
   YXY Chat Widget — floating bubble + panel
   Styles for the Cloudflare-backed chat widget (js/yxy-chat.js).
   Blue (#2563eb) matches the in-page .yxy-btn-chat button.
   ============================================================ */

/* --- Floating bubble wrap + tooltip --- */
.yxy-chat-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.yxy-chat-bubble-tooltip {
    pointer-events: none;
    margin-bottom: 14px;
    position: relative;
    background: #fff;
    color: #0f172a;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    transform: translateY(8px);
    opacity: 0;
    animation: yxy-chat-tooltip-in 0.5s ease 1.2s forwards, yxy-chat-tooltip-bob 3s ease-in-out 2.5s infinite;
    transform-origin: 50% 100%;
}

.yxy-chat-bubble-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid rgba(37, 99, 235, 0.12);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.yxy-chat-bubble-tooltip__text {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes yxy-chat-tooltip-in {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes yxy-chat-tooltip-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.yxy-chat-wrap--opened .yxy-chat-bubble-tooltip {
    opacity: 0;
    transform: translateY(6px);
    animation: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.yxy-chat-wrap .yxy-chat-bubble {
    pointer-events: auto;
}

/* --- Floating bubble --- */
.yxy-chat-bubble {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yxy-chat-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}

.yxy-chat-bubble:active {
    transform: translateY(0);
}

.yxy-chat-bubble-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.yxy-chat-bubble-badge[data-badge="0"] {
    display: none;
}

.yxy-chat-bubble--pulse {
    animation: yxy-chat-pulse 1.5s ease-in-out infinite;
}

@keyframes yxy-chat-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 36px rgba(37, 99, 235, 0.55);
    }
}

/* --- Panel container --- */
.yxy-chat-panel {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 360px;
    max-height: 520px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.yxy-chat-panel--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- Header --- */
.yxy-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2563eb;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
}

.yxy-chat-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yxy-chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    transition: background 0.2s ease;
}

.yxy-chat-status-dot.yxy-chat-status--online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.yxy-chat-status-dot.yxy-chat-status--offline {
    background: #94a3b8;
}

.yxy-chat-header-title {
    font-size: 14px;
    font-weight: 700;
}

.yxy-chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.yxy-chat-close:hover {
    opacity: 1;
}

/* --- Messages area --- */
.yxy-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8fafc;
    min-height: 280px;
    max-height: 380px;
}

.yxy-chat-msg {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.yxy-chat-msg--visitor {
    align-items: flex-start;
}

.yxy-chat-msg--admin {
    align-items: flex-end;
}

.yxy-chat-msg--system {
    align-items: center;
}

.yxy-chat-msg-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

.yxy-chat-msg--visitor .yxy-chat-msg-bubble {
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.yxy-chat-msg--admin .yxy-chat-msg-bubble {
    background: #2563eb;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.yxy-chat-msg--system .yxy-chat-msg-bubble {
    background: transparent;
    color: #94a3b8;
    font-style: italic;
    font-size: 12px;
    padding: 4px 0;
    max-width: 100%;
    text-align: center;
}

.yxy-chat-msg--system .yxy-chat-msg-bubble a {
    color: #2563eb;
    text-decoration: underline;
    white-space: nowrap;
}

.yxy-chat-retry-wrap {
    text-align: center;
    padding: 8px 0 16px;
}

.yxy-chat-retry-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.yxy-chat-retry-btn:hover {
    background: #1d4ed8;
}

.yxy-chat-msg-time {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* --- Input row --- */
.yxy-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0 0 12px 12px;
}

.yxy-chat-input {
    flex: 1;
    resize: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    max-height: 100px;
    min-height: 38px;
    outline: none;
    transition: border-color 0.15s ease;
}

.yxy-chat-input:focus {
    border-color: #2563eb;
}

.yxy-chat-input::placeholder {
    color: #94a3b8;
}

.yxy-chat-send {
    flex-shrink: 0;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 38px;
}

.yxy-chat-send:hover {
    background: #1d4ed8;
}

.yxy-chat-send:active {
    transform: translateY(1px);
}

.yxy-chat-send:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .yxy-chat-wrap {
        /* Lifted clear of the sticky mobile CTA bar (Quote + WhatsApp). */
        bottom: 78px;
        right: 16px;
    }

    .yxy-chat-bubble-tooltip {
        font-size: 12px;
        padding: 8px 14px;
    }

    .yxy-chat-panel {
        bottom: 150px;
        /* 70% of the previous full-bleed width. That was `left: 8px;
           right: 8px`, i.e. 100vw - 16px, so 70% of it is (100vw - 16px) * .7.
           Anchored right (left: auto) so the panel stays under its launcher,
           which sits at right: 16px. Within this breakpoint the result tops out
           at 325px (480px viewport), so it never exceeds the desktop panel. */
        left: auto;
        right: 8px;
        width: calc((100vw - 16px) * 0.7);
        max-height: calc(100vh - 170px);
    }
}

/* ============================================================
   HOMEPAGE — CNLINKO-STYLE INDUSTRIAL LAYOUT
   Scoped under .cn-home; clean light B2B connector aesthetics.
   ============================================================ */
.cn-home {
    --cn-blue: #193190;
    --cn-blue-dark: #12276f;
    --cn-red: #c9151e;
    --cn-navy: #10203f;
    --cn-ink: #1c2b4a;
    --cn-muted: #5b6b86;
    --cn-line: #e4eaf4;
    --cn-bg-soft: #f4f7fc;
    --cn-bg-faint: #eef3fb;
    --color-active: var(--cn-blue);
    background: #ffffff;
    color: var(--cn-ink);
    font-family: 'Inter', system-ui, sans-serif;
}

/* Buttons + shared elements */
.cn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}
.cn-btn-primary {
    background: var(--cn-blue);
    color: #ffffff;
    border: 1px solid var(--cn-blue);
}
.cn-btn-primary:hover {
    background: var(--cn-blue-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.cn-section-head {
    margin-bottom: 38px;
}
.cn-section-head--center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.cn-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cn-blue);
}
.cn-section-title {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--cn-navy);
    letter-spacing: -0.01em;
}
.cn-section-sub {
    margin: 14px 0 0;
    color: var(--cn-muted);
    font-size: 16px;
    max-width: 640px;
    line-height: 1.6;
}
.cn-section-head--center .cn-section-sub {
    margin-left: auto;
    margin-right: auto;
}
.cn-learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 14px;
    color: var(--cn-blue);
}
.cn-learn::after {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23155bd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* cnlinko fluid hero fonts, replicated exactly (verified live on cnlinko.com):
   >=1600px: fixed 48px | 1581-1599: 2.5vw | 1281-1580: 2.286vw | 769-1280: 2.487vw
   (their rem bands 100vw/19.2|21|19.3 x 0.48rem), clamped to [26px, 48px];
   <=768px: fixed 24px (in the responsive block below). */
.cn-hero {
    --cn-f18: clamp(14px, 0.9375vw, 18px);
    --cn-f22: clamp(16px, 1.1458vw, 22px);
    --cn-f48: clamp(26px, 2.286vw, 48px);
    position: relative;
    /* The track lays every slide out side by side (`flex: 0 0 100%`), so the
       inactive slides sit at x = +/-100% of the viewport. Without clipping
       here they extend the document's scrollable width by a full viewport,
       which made the whole page horizontally scrollable on a phone. The hero
       is a full-bleed banner, so clipping is the correct behaviour and it is
       what cnlinko does. */
    overflow: hidden;
}
@media (min-width: 1600px) {
    .cn-hero { --cn-f18: 18px; --cn-f22: 22px; --cn-f48: 48px; }
}
@media (min-width: 1581px) and (max-width: 1599px) {
    .cn-hero { --cn-f48: clamp(26px, 2.5vw, 48px); }
}
@media (max-width: 1280px) {
    .cn-hero { --cn-f18: clamp(14px, 0.9327vw, 18px); --cn-f22: clamp(16px, 1.14vw, 22px); --cn-f48: clamp(26px, 2.487vw, 48px); }
}
/* ============ 1. HERO CAROUSEL (cnlinko full-bleed banner) ============ */
/* cnlinko: single dark scrim from the top (81% of slide height, 50% black).
   It is what makes white text readable — there is no bottom scrim. */
.cn-hero-image {
    position: relative;
}
.cn-hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 81.1%;
    background: linear-gradient(180deg, #000 0%, transparent 50%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}
.cn-hero-track {
    position: relative;
    display: flex;
    transition: transform 0.5s ease-out;
    will-change: transform;
}
/* Horizontal slider (cnlinko swiper): slides sit side by side, the track
   translates by -index*100%. JS keeps the track offset in sync. */
.cn-hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}
.cn-hero-slide.is-active { /* kept for the fade-up text animation hooks */ }
/* Full-bleed natural image (cnlinko banners are 1920x900) */
.cn-hero-image {
    width: 100%;
    aspect-ratio: 32 / 15;
    overflow: hidden;
}
.cn-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cn-hero-img-mobile { display: none; }
.cn-hero-image.has-mobile .cn-hero-img-pc { display: block; }
@media (max-width: 900px) {
    .cn-hero-image.has-mobile { aspect-ratio: auto; }
    .cn-hero-image.has-mobile .cn-hero-img-pc { display: none; }
    .cn-hero-image.has-mobile .cn-hero-img-mobile { display: block; height: auto; object-fit: cover; }
}
.cn-hero-copy {
    position: absolute;
    left: 0;
    bottom: clamp(80px, 8.34vw, 160px);
    width: 100%;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    padding: 0 20px;
    pointer-events: none;
    z-index: 2;
}
.cn-hero-copy a { pointer-events: auto; }
.cn-hero-text1 {
    margin: 0 0 clamp(6px, 0.52vw, 10px);
    font-size: min(var(--fst, var(--cn-f18, 18px)), 1.35vw, 20px);
    line-height: 1.3;
    opacity: 0;
}
.cn-hero-text2 {
    margin: 0 0 clamp(12px, 1.04vw, 20px);
    font-size: min(var(--fs, var(--cn-f48, 48px)), 4vw, 56px);
    font-weight: var(--tb, 400);
    line-height: 1.1;
    opacity: 0;
}
.cn-hero-text3 {
    margin: 0 auto;
    font-size: min(var(--cn-f22, 22px), 1.8vw, 26px);
    line-height: 1.4;
    opacity: 0;
}
.cn-hero-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(16px, 1.56vw, 30px);
    opacity: 0;
}

/* Rich text-zone layouts from the admin Hero Manager (25 zones = 5 cols × 5 rows).
   Matches the Hero Manager live preview exactly (applyLayout):
   left = (col-1)*20% + 2%, top = (row-1)*20% + 2%, width = span*20% - 4%. */
.cn-hero-copy--zone {
    left: calc((var(--hl, 1) - 1) * 20% + 2%);
    top: calc((var(--vt, 1) - 1) * 20% + 2%);
    right: auto;
    bottom: auto;
    width: calc(var(--wc, 1) * 20% - 4%);
    max-width: 100%;
    padding: 0;
    /* Copy inside a zone is centered as a block so the headline, supporting
       text and the "View More" button always share the same horizontal axis —
       the button stays centered to the headline regardless of title length. */
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.cn-hero-copy--zone .cn-hero-text1,
.cn-hero-copy--zone .cn-hero-text2 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.cn-hero-copy--zone .cn-hero-btn-group {
    justify-content: center;
}

/* cnlinko .index-btn (white-outline pill, fills on hover) */
.index-btn {
    padding: 8px 15px;
    border: 1px solid;
    border-radius: 100px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
    font-size: var(--bf, 14px);
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: background-color 0.4s, color 0.4s;
}
.index-btn:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
    margin-top: -2px;
    margin-left: 4px;
}
.index-btn:hover,
.index-btn.active {
    background-color: #fff;
    color: #333;
}

.cn-hero-slide.is-active .cn-hero-text1 { animation: cnFadeUp 0.6s ease 0s forwards; }
.cn-hero-slide.is-active .cn-hero-text2 { animation: cnFadeUp 0.6s ease 0.1s forwards; }
.cn-hero-slide.is-active .cn-hero-text3 { animation: cnFadeUp 0.6s ease 0.2s forwards; }
.cn-hero-slide.is-active .cn-hero-btn-group { animation: cnFadeUp 0.6s ease 0.3s forwards; }

@keyframes cnFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cn-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.cn-hero-arrow svg { width: 28px; height: 28px; }
.cn-hero-arrow--prev { left: 70px; }
.cn-hero-arrow--next { right: 70px; }

/* Series strip (how it origin looked: cnlinko bottom-left). Kevin wants these
   above the hero: horizontal tab row at the top of the hero, below the header. */
.cn-hero-series {
    position: absolute;
    top: 88px;
    left: 13.542vw;
    bottom: auto;
    z-index: 5;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    overflow: visible;
}
/* Line-bullet pagination is mobile-only (cnlinko hides it on PC) */
.cn-hero-pagination { display: none; }
@media (max-width: 900px) {
    .cn-hero-pagination { display: flex; }
}

.cn-hero-series-item {
    position: relative;
    padding: 6px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    line-height: 1.1;
    color: #fff;
    opacity: 0.35;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.4s;
}
.cn-hero-series-item + .cn-hero-series-item {
    margin-left: 34px;
}
.cn-hero-series-item span {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.4s;
}
.cn-hero-series-item.is-active {
    opacity: 1;
}
.cn-hero-series-item.is-active span {
    opacity: 1;
}

/* Section shell */
.cn-section {
    padding: 88px 0;
}
.cn-section + .cn-section {
    border-top: 1px solid var(--cn-line);
}

/* ============ BASE CAROUSEL (.cn-swiper) ============ */
.cn-swiper {
    position: relative;
    width: 100%;
}
.cn-swiper-track {
    position: relative;
    overflow: hidden;
}
.cn-swiper-slide {
    display: none;
    min-width: 100%;
}
.cn-swiper-slide.is-active {
    display: block;
    animation: cnSwiperIn 0.55s ease;
}
/* Measuring helper: keep hidden slides out of the visual flow while we read their height */
.cn-swiper-slide--measure {
    display: block !important;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: -9999px;
    width: 100%;
}
@keyframes cnSwiperIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cn-swiper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 22px rgba(15, 32, 63, 0.16);
    color: var(--cn-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cn-swiper-arrow:hover {
    background: var(--cn-blue);
    color: #fff;
}
.cn-swiper-arrow--prev { left: 0; }
.cn-swiper-arrow--next { right: 0; }
.cn-swiper-arrow:before {
    content: "";
    width: 10px;
    height: 10px;
}
.cn-swiper-arrow--prev:before {
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(2px, -1px);
}
.cn-swiper-arrow--next:before {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, 2px);
}
.cn-swiper-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}
.cn-swiper-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 100px;
    background: #c6cdd9;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.cn-swiper-dots button.is-active {
    width: 26px;
    background: var(--cn-blue);
}
/* ============ 2. PRODUCTS ============ */
.cn-products {
    background: var(--cn-bg-soft);
}
/* Products: 4 cards in one row (cnlinko grid) */
.cn-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.cn-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--cn-line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cn-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 32, 63, 0.10);
}
.cn-product-card .cn-product-media {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--cn-bg-faint);
    overflow: hidden;
}
.cn-product-card .cn-product-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cn-product-card:hover .cn-product-media img {
    transform: scale(1.05);
}
.cn-product-card .cn-product-info {
    position: static;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 22px 26px;
    background: none;
}
.cn-product-card .cn-product-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--cn-navy);
    line-height: 1.15;
}
.cn-product-card .cn-product-info p {
    flex: 1 1 auto;
    margin: 12px 0 0;
    color: var(--cn-muted);
    font-size: 15px;
    line-height: 1.6;
    min-height: 0;
}
.cn-product-card .index-btn {
    align-self: flex-start;
    margin-top: 18px;
}
.cn-products .index-btn {
    color: var(--cn-blue);
    border-color: var(--cn-blue);
}
.cn-products .index-btn.active {
    background: var(--cn-blue);
    color: #fff;
    border-color: var(--cn-blue);
}
.cn-products .index-btn.active:hover {
    background: var(--cn-blue-dark);
}

/* Interface type block (cnlinko tabs) */
.cn-interface-block {
    margin-top: 80px;
    padding-top: 80px;
}
.cn-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    position: relative;
}
.cn-tab-item {
    display: block;
    text-align: center;
    margin-left: 45px;
    margin-right: 45px;
    text-decoration: none;
}
.cn-tab-icon {
    display: block;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1;
    filter: grayscale(1);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.cn-tab-icon img {
    display: block;
    width: 100%;
    height: auto;
}
.cn-tab-item:hover .cn-tab-icon,
.cn-tab-item.active .cn-tab-icon {
    filter: grayscale(0);
    transform: translateY(-3px);
}
.cn-tab-text {
    display: block;
    margin-top: 20px;
    color: #333333;
    line-height: 1.1;
    transition: color 0.2s ease;
}
.cn-tab-item:hover .cn-tab-text,
.cn-tab-item.active .cn-tab-text {
    color: #193190;
}

/* ============ 3. APPLICATIONS ============ */
.cn-apps {
    background: #ffffff;
}
.cn-apps-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}
.cn-apps-left {
    flex: 0 0 36%;
    max-width: 36%;
}
.cn-apps-left .cn-section-title { margin-bottom: 0; }
.cn-apps-lead {
    margin: 20px 0 0;
    color: var(--cn-muted);
    font-size: 15px;
    line-height: 1.8;
}
.cn-apps-list {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
}
.cn-apps-list li {
    border-bottom: 1px solid var(--cn-line);
}
.cn-apps-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 2px;
    color: var(--cn-navy);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.cn-apps-list li a::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--cn-blue);
    border-right: 2px solid var(--cn-blue);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cn-apps-list li a:hover {
    color: var(--cn-blue);
    padding-left: 8px;
}
.cn-apps-list li a:hover::after { opacity: 1; }
.cn-apps-list li a.cn-app-more {
    color: var(--cn-blue);
}
.cn-apps-right {
    flex: 1 1 64%;
    min-width: 0;
}
.cn-app-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--cn-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 32, 63, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cn-app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 32, 63, 0.12);
}
.cn-app-media {
    aspect-ratio: 16 / 10;
    background: var(--cn-bg-faint);
    overflow: hidden;
}
.cn-app-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.cn-app-card:hover .cn-app-media img { transform: scale(1.04); }
.cn-app-body {
    padding: 26px 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
.cn-app-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--cn-navy);
    line-height: 1.3;
}
.cn-app-body .cn-app-series {
    margin-bottom: 24px;
}
.cn-app-series {
    color: var(--cn-muted);
    font-size: 14px;
    line-height: 1.6;
}
.cn-app-desc {
    margin: 0 0 22px;
    color: #555;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.01em;
}
.cn-app-body .index-btn {
    margin-top: auto;
    color: var(--cn-blue);
    border-color: var(--cn-blue);
}
.cn-app-body .index-btn.active {
    background: var(--cn-blue);
    color: #fff;
    border-color: var(--cn-blue);
}

/* ============ 2.5 OUR CERTIFICATES ============ */
.cn-certs {
    padding: 96px 0 88px;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(21,91,212,0.06), transparent 60%),
        radial-gradient(900px 400px at -10% 110%, rgba(25,49,144,0.05), transparent 60%),
        #ffffff;
    position: relative;
    overflow: hidden;
}
.cn-certs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25,49,144,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25,49,144,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
    pointer-events: none;
}
.cn-certs > .mxw-box {
    position: relative;
    z-index: 1;
}
.cn-section-foot {
    margin-top: 44px;
}
.cn-section-foot--center {
    text-align: center;
}
.cn-cert-hero {
    max-width: 1100px;
    margin: 0 auto 56px;
}
.cn-cert-hero-frame {
    margin: 0;
    position: relative;
    border-radius: 20px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(247,249,252,0.85)),
        repeating-linear-gradient(45deg, rgba(25,49,144,0.035) 0 2px, transparent 2px 14px);
    border: 1px solid rgba(25,49,144,0.1);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 30px 70px -36px rgba(25,49,144,0.32),
        0 6px 20px -14px rgba(25,49,144,0.18);
    transition: transform 0.55s cubic-bezier(.2,.7,.2,1), box-shadow 0.55s cubic-bezier(.2,.7,.2,1);
}
.cn-cert-hero-frame:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 44px 90px -36px rgba(25,49,144,0.38),
        0 10px 30px -14px rgba(25,49,144,0.22);
}
/* Inner plate = photo area only. Corners + gloss live here,
   so BR bracket always stays above the caption, never below it. */
.cn-cert-hero-plate {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 34px -22px rgba(25,49,144,0.45),
                0 2px 0 rgba(255,255,255,0.9) inset;
}
.cn-cert-hero-plate > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.4s ease;
    filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6));
}
.cn-cert-hero-frame:hover .cn-cert-hero-plate > img {
    transform: scale(1.015);
    filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6)) saturate(1.05);
}
.cn-cert-hero-plate::before,
.cn-cert-hero-plate::after {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    border: 2px solid var(--cn-blue);
    opacity: 0.85;
    pointer-events: none;
    z-index: 3;
}
.cn-cert-hero-plate::before {
    top: 8px; left: 8px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 16px;
}
.cn-cert-hero-plate::after {
    bottom: 8px; right: 8px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 16px;
}
.cn-cert-hero-gloss {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(115deg,
        transparent 20%,
        rgba(255,255,255,0.35) 48%,
        transparent 78%);
    transform: translateX(-120%);
    transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 2;
}
.cn-cert-hero-frame:hover .cn-cert-hero-gloss { transform: translateX(120%); }
.cn-cert-hero-cap {
    position: relative;
    z-index: 1;
    margin: 16px 6px 0;
    font-size: 13.5px;
    color: var(--cn-muted);
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.01em;
}
.cn-cert-hero-cap::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cn-blue), transparent);
    margin: 0 12px 4px;
    vertical-align: middle;
}
.cn-cert-hero-cap::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cn-blue), transparent);
    margin: 0 0 4px 12px;
    vertical-align: middle;
}
.cn-certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}
.cn-cert-card {
    margin: 0;
    background: #ffffff;
    border: 1px solid var(--cn-line);
    border-radius: 14px;
    padding: 18px 18px 22px;
    position: relative;
    transition: transform 0.45s cubic-bezier(.2,.7,.2,1),
                box-shadow 0.45s cubic-bezier(.2,.7,.2,1),
                border-color 0.3s ease;
    box-shadow: 0 2px 0 rgba(25,49,144,0.03),
                0 18px 40px -24px rgba(25,49,144,0.18);
    overflow: hidden;
}
.cn-cert-card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cn-blue), var(--cn-navy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.cn-cert-card:hover {
    transform: translateY(-6px);
    border-color: rgba(21,91,212,0.35);
    box-shadow: 0 4px 0 rgba(21,91,212,0.05),
                0 30px 60px -24px rgba(25,49,144,0.28);
}
.cn-cert-card:hover::after { transform: scaleX(1); }
.cn-cert-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef2f8 100%);
    box-shadow: inset 0 0 0 1px rgba(25,49,144,0.06);
}
.cn-cert-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1), filter 0.4s ease;
    filter: saturate(0.92);
}
.cn-cert-card:hover .cn-cert-media img {
    transform: scale(1.06);
    filter: saturate(1.05);
}
.cn-cert-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 30%,
        rgba(255,255,255,0.55) 50%,
        transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.cn-cert-card:hover .cn-cert-shine { transform: translateX(120%); }
.cn-cert-meta {
    padding: 18px 6px 2px;
}
.cn-cert-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.005em;
    color: var(--cn-navy);
    line-height: 1.2;
}
.cn-cert-sub {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--cn-muted);
    line-height: 1.5;
    font-weight: 500;
}
@media (max-width: 900px) {
    .cn-certs { padding: 72px 0 64px; }
    .cn-cert-hero { margin: 0 auto 40px; }
    .cn-cert-hero-frame { padding: 12px; border-radius: 14px; }
    .cn-cert-hero-plate::before,
    .cn-cert-hero-plate::after { width: 36px; height: 36px; }
    .cn-cert-hero-plate::before { top: 5px; left: 5px; border-top-left-radius: 10px; }
    .cn-cert-hero-plate::after  { bottom: 5px; right: 5px; border-bottom-right-radius: 10px; }
    .cn-cert-hero-gloss { inset: 0; }
    .cn-cert-hero-cap { font-size: 12.5px; margin-top: 12px; }
    .cn-certs-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .cn-cert-card { padding: 14px 14px 18px; }
    .cn-cert-title { font-size: 18px; }
}
@media (max-width: 520px) {
    .cn-certs { padding: 56px 0 52px; }
    .cn-cert-hero { margin: 0 auto 28px; }
    .cn-cert-hero-frame { padding: 8px; border-radius: 12px; }
    .cn-cert-hero-plate::before,
    .cn-cert-hero-plate::after { width: 26px; height: 26px; border-width: 1.5px; }
    .cn-cert-hero-cap { font-size: 12px; }
    .cn-certs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cn-cert-card { padding: 10px 10px 14px; border-radius: 10px; }
    .cn-cert-meta { padding: 12px 2px 0; }
    .cn-cert-title { font-size: 15px; }
    .cn-cert-sub { font-size: 12px; }
}

/* ============ 2.6 CUSTOM MANUFACTURING CTA ============ */
.cn-custom-cta {
    padding: 100px 0 80px;
    background:
        radial-gradient(1000px 420px at 15% -10%, rgba(21,91,212,0.07), transparent 60%),
        radial-gradient(900px 400px at 90% 120%, rgba(25,49,144,0.05), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(25,49,144,0.06);
    border-bottom: 1px solid rgba(25,49,144,0.06);
}
.cn-custom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25,49,144,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25,49,144,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 45%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 80%);
}
.cn-custom-cta > .mxw-box {
    position: relative;
    z-index: 1;
}
.cn-custom-cta .cn-section-head {
    margin-bottom: 36px;
}
.cn-custom-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 18px;
    margin: 30px 0 0;
}
.cn-custom-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    line-height: 1;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.cn-custom-btn::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}
.cn-custom-btn--primary {
    background: var(--cn-blue, #155bd4);
    color: #ffffff;
    border-color: var(--cn-blue, #155bd4);
    box-shadow: 0 10px 30px -8px rgba(21,91,212,0.55);
}
.cn-custom-btn--primary::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}
.cn-custom-btn--primary:hover {
    background: var(--cn-blue-dark, #12276f);
    border-color: var(--cn-blue-dark, #12276f);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(21,91,212,0.65);
    color: #ffffff;
}
.cn-custom-btn--ghost {
    background: #ffffff;
    color: var(--cn-navy, #10203f);
    border-color: var(--cn-navy, #10203f);
    box-shadow: 0 10px 30px -10px rgba(16,32,63,0.25);
}
.cn-custom-btn--ghost::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310203f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/></svg>");
}
.cn-custom-btn--ghost:hover {
    background: #10203f;
    color: #ffffff;
    border-color: #10203f;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -10px rgba(16,32,63,0.4);
}
.cn-custom-btn--ghost:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/></svg>");
}
/* Document-icon variant (used for quote/form buttons in CTA rows, outline → primary fill only on hover) */
.cn-custom-btn--icon-quote.cn-custom-btn--ghost::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310203f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><line x1='10' y1='9' x2='8' y2='9'/></svg>");
}
.cn-custom-btn--icon-quote.cn-custom-btn--ghost:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><line x1='10' y1='9' x2='8' y2='9'/></svg>");
}
.cn-custom-cta-pills {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.cn-custom-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid rgba(25,49,144,0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cn-navy, #10203f);
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px -6px rgba(25,49,144,0.15);
}
.cn-custom-pill::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cn-blue, #155bd4);
    margin-right: 8px;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .cn-custom-cta { padding: 72px 0 60px; }
    .cn-custom-btn { padding: 13px 24px; font-size: 14.5px; }
    .cn-custom-cta-pills { margin-top: 28px; gap: 8px; }
    .cn-custom-pill { font-size: 12px; padding: 6px 14px; }
}
@media (max-width: 520px) {
    .cn-custom-cta { padding: 56px 0 48px; }
    .cn-custom-cta-actions { flex-direction: column; align-items: stretch; }
    .cn-custom-btn { width: 100%; padding: 14px 20px; }
    .cn-custom-cta-pills { margin-top: 24px; }
    .cn-custom-pill { font-size: 11.5px; padding: 5px 12px; }
}

/* ============ 4. PRODUCT SERIES ============ */
.cn-series {
    background: var(--cn-bg-soft);
}
.cn-series-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
}
.cn-series-tab {
    padding: 11px 22px;
    border: 1px solid var(--cn-line);
    border-radius: 100px;
    background: #ffffff;
    color: var(--cn-navy);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cn-series-tab:hover { border-color: var(--cn-blue); color: var(--cn-blue); }
.cn-series-tab.is-active {
    background: var(--cn-blue);
    border-color: var(--cn-blue);
    color: #ffffff;
}
.cn-series-item {
    display: flex;
    align-items: stretch;
    gap: 48px;
    background: #ffffff;
    border: 1px solid var(--cn-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 32, 63, 0.06);
}
.cn-series-media {
    flex: 1 1 48%;
    min-height: 340px;
    background: var(--cn-bg-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cn-series-media img {
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: cover;
}
.cn-series-info {
    flex: 1 1 52%;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.cn-series-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cn-blue);
    margin-bottom: 12px;
}
.cn-series-info h3 {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 800;
    color: var(--cn-navy);
    line-height: 1.15;
}
.cn-series-sub {
    margin: 0 0 22px;
    color: var(--cn-muted);
    font-size: 16px;
    line-height: 1.6;
}
.cn-series-feats {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.cn-series-feats li {
    position: relative;
    padding: 6px 0 6px 20px;
    color: var(--cn-ink);
    font-size: 15px;
    line-height: 1.55;
}
.cn-series-feats li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 16px;
    width: 7px;
    height: 7px;
    background: var(--cn-blue);
    border-radius: 50%;
}
.cn-series-info .index-btn {
    color: var(--cn-blue);
    border-color: var(--cn-blue);
}
.cn-series-info .index-btn.active {
    background: var(--cn-blue);
    color: #fff;
    border-color: var(--cn-blue);
}
.cn-series-cta {
    margin-top: 46px;
    text-align: center;
}
.cn-series-cta .index-btn {
    color: var(--cn-blue);
    border-color: var(--cn-blue);
}
.cn-series-cta .index-btn.active {
    background: var(--cn-blue);
    color: #fff;
}

/* Keyboard focus visibility (accessibility) */
.cn-home :where(a, button, .index-btn, .cn-tab-item, .cn-swiper-arrow, .cn-hero-arrow, .cn-series-tab, .cn-apps-list a, .cn-hero-series-item):focus-visible {
    outline: 2px solid var(--cn-blue);
    outline-offset: 3px;
}

/* ============ HOMEPAGE RESPONSIVE ============ */
@media (max-width: 1024px) {
    .cn-apps-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .cn-apps-left,
    .cn-apps-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .cn-apps-left .cn-section-title { max-width: 640px; }
}
/* Tablet: 901–1279px — hero aspect-ratio (32/15) shrinks height to ~422–600px,
   so the 5×5 zone grid can push bottom-row content below the fold. Fall back
   to the same safe bottom-centered block as mobile, but keep PC font weights
   and slightly larger sizing than the mobile breakpoint. */
@media (min-width: 901px) and (max-width: 1279px) {
    .cn-hero-copy {
        bottom: clamp(60px, 7.5vw, 96px);
        padding-left: 32px;
        padding-right: 32px;
    }
    .cn-hero-copy--zone {
        left: 0;
        top: auto;
        bottom: clamp(60px, 7.5vw, 96px);
        width: 100%;
        max-width: 100%;
        padding-left: 32px;
        padding-right: 32px;
        display: block;
        text-align: center;
    }
    .cn-hero-copy--zone .cn-hero-text1,
    .cn-hero-copy--zone .cn-hero-text2,
    .cn-hero-copy--zone .cn-hero-text3 {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .cn-hero-copy--zone .cn-hero-btn-group {
        justify-content: center;
    }
    .cn-hero-text1 {
        font-size: min(var(--fst, var(--cn-f18, 18px)), 1.8vw, 18px);
        margin-bottom: 6px;
    }
    .cn-hero-text2 {
        font-size: min(var(--fs, var(--cn-f48, 48px)), 5vw, 48px);
        margin-bottom: 12px;
    }
    .cn-hero-text3 {
        font-size: min(var(--cn-f22, 22px), 2vw, 20px);
    }
    .cn-hero-btn-group {
        margin-top: 20px;
    }
    .index-btn {
        font-size: 13px;
        padding: 7px 14px;
    }
}
@media (max-width: 900px) {
    /* Slides with no dedicated mobile banner. The desktop 32:15 photo rendered
       at object-fit:contain collapsed the hero to ~183px — barely taller than
       the 71px header — so the copy was positioned *behind* the header and
       collided with the logo as soon as the header went transparent. Give the
       hero a real phone height and let the wide banner crop instead. `cover`
       trims only ~8% off each side of the 1024x480 banners, which are
       centre-weighted. Slides that do carry a mobile image are handled by the
       .has-mobile rules above and are left untouched. */
    .cn-hero-image:not(.has-mobile) {
        aspect-ratio: auto;
        height: clamp(260px, 62vw, 430px);
    }
    .cn-hero-image:not(.has-mobile) img {
        object-fit: cover;
    }
    .cn-hero-copy {
        bottom: 60px;
        padding-left: 40px;
        padding-right: 40px;
    }
    /* Zones are authored against a ~675px desktop hero, so anchoring them on a
       ~260px phone hero would push the copy out of the box. Always fall back to
       the centered bottom block on mobile. */
    .cn-hero-copy--zone {
        left: 0;
        top: auto;
        bottom: 60px;
        width: 100%;
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
        display: block;
        text-align: center;
    }
    .cn-hero-copy--zone .cn-hero-text1,
    .cn-hero-copy--zone .cn-hero-text2 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .cn-hero-copy--zone .cn-hero-btn-group {
        justify-content: center;
    }
    .cn-hero-text1 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .cn-hero-text2 {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    .cn-hero-text3 {
        font-size: 14px;
    }
    .cn-hero-btn-group {
        margin-top: 30px;
    }
    .index-btn {
        font-size: var(--bf, 13px);
        padding: 8px 15px;
    }
    .cn-hero-series {
        display: none;
    }
    /* cnlinko mobile pagination: thin line bullets, active grows to 30px */
    .cn-hero-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        line-height: 1.1;
    }
    .cn-hero-pagination button {
        width: 10px;
        height: 2px;
        padding: 0;
        border: none;
        border-radius: 0;
        background: #fff;
        opacity: 0.4;
        cursor: pointer;
        transition: width 0.3s ease, opacity 0.3s ease;
    }
    .cn-hero-pagination button.is-active {
        width: 30px;
        opacity: 1;
    }
    .cn-hero-arrow--prev { left: 10px; }
    .cn-hero-arrow--next { right: 10px; }
    .cn-hero-arrow svg { width: 22px; height: 22px; }
    /* Products grid: 2 cards per row on tablets */
    .cn-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Stack big image/info slides on tablets & mobile */
    .cn-series-item {
        flex-direction: column;
        gap: 0;
    }
    .cn-series-media {
        flex: 1 1 auto;
        width: 100%;
        min-height: 240px;
    }
    .cn-series-info {
        flex: 1 1 auto;
        width: 100%;
        padding: 32px 28px 36px;
    }
    .cn-swiper-arrow { width: 38px; height: 38px; }
    .cn-product-card .cn-product-media img {
        min-height: 240px;
    }
}
@media (max-width: 640px) {
    .cn-section {
        padding: 60px 0;
    }
    .cn-interface-block {
        margin-top: 56px;
        padding-top: 56px;
    }
    .cn-tabs {
        gap: 0;
    }
    .cn-tab-item {
        width: 25%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
    }
    .cn-tab-icon {
        width: 40px;
    }
    .cn-apps-list li a { font-size: 16px; }
}
@media (max-width: 520px) {
    .cn-product-media,
    .cn-series-media {
        min-height: 200px;
    }
    .cn-product-info h3,
    .cn-series-info h3 {
        font-size: 24px;
    }
    .cn-series-tab {
        padding: 9px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   HEADER — CNLINKO-STYLE WHITE TWO-ROW
   Fixed white header: utility top bar + logo/nav row.
   ============================================================ */
/* Header: transparent over the hero on the homepage (white text), solid white on scroll */
.yxy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: transparent;
    color: #fff;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
body.customize-partial-edit-shortcuts-shown .yxy-header { position: static; }
.yxy-header.is-white {
    background: #ffffff;
    color: #333;
    border-bottom: 1px solid var(--cn-line, #e4eaf4);
    box-shadow: 0 6px 24px rgba(15, 32, 63, 0.06);
}

/* cnlinko has no separate top bar on the homepage — hide it to match exactly */
.yxy-topbar {
    display: none;
}

/* Main row */
.yxy-header .yxy-header-inner {
    padding: 12px 16px;
    justify-content: space-between;
    gap: 18px;
}
.yxy-header .yxy-logo-wordmark {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}
.yxy-header.is-white .yxy-logo-wordmark {
    color: var(--cn-navy, #10203f);
}
.yxy-header .yxy-logo img {
    max-height: 54px;
}
.yxy-header .yxy-logo img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: filter 0.3s ease;
}
.yxy-header.is-white .yxy-logo img {
    filter: none;
}

/* Nav list (cnlinko: transparent shows white text, white header shows navy hover) */
.yxy-header .yxy-nav {
    gap: 34px;
    font-size: 16px;
}
.yxy-header .yxy-nav li + li::before {
    display: none;
}
.yxy-header .yxy-nav a {
    color: #fff;
    font-weight: 500;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.yxy-header.is-white .yxy-nav a {
    color: #333;
}
.yxy-header .yxy-nav a::after {
    background: #fff;
    height: 2px;
    border-radius: 0;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.yxy-header.is-white .yxy-nav a::after {
    background: var(--cn-blue, #193190);
}
.yxy-header .yxy-nav a:hover,
.yxy-header .yxy-nav .current-menu-item > a,
.yxy-header .yxy-nav .current_page_item > a,
.yxy-header .yxy-nav a:focus {
    color: #fff;
}
.yxy-header.is-white .yxy-nav a:hover,
.yxy-header.is-white .yxy-nav .current-menu-item > a,
.yxy-header.is-white .yxy-nav .current_page_item > a,
.yxy-header.is-white .yxy-nav a:focus {
    color: var(--cn-blue, #193190);
}
.yxy-header .yxy-nav a:hover::after,
.yxy-header .yxy-nav .current-menu-item > a::after,
.yxy-header .yxy-nav .current_page_item > a::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Dropdown (sub-menu) */
.yxy-header .yxy-nav .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 12px 0;
    background: #ffffff;
    border: 1px solid var(--cn-line, #e4eaf4);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 32, 63, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.yxy-header .yxy-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.yxy-header .yxy-nav .sub-menu a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
}
.yxy-header .yxy-nav .sub-menu a::after {
    display: none;
}

/* Cart pill: white over hero, navy on white header */
.yxy-header .yxy-header-cart {
    color: #fff;
}
.yxy-header.is-white .yxy-header-cart {
    color: var(--cn-navy, #10203f);
}
.yxy-header .yxy-header-cart:hover {
    color: var(--cn-blue, #193190);
}

/* Push content below fixed header */
body:not(.customize-partial-edit-shortcuts-shown) .yxy-header ~ main,
body:not(.customize-partial-edit-shortcuts-shown) .yxy-header ~ .cn-home {
    margin-top: 0;
}

/* Mobile: nav drawer inherits white */
@media (max-width: 900px) {
    .yxy-topbar-inner { flex-wrap: wrap; gap: 6px; }
    .yxy-topbar-links { gap: 14px; }
    .yxy-header .yxy-nav { gap: 6px; }
    /* Scoped to .is-white so the bar only paints white once it has scrolled
       past the hero — the same rule desktop follows. These were unconditional,
       which made the phone header white over the hero. That also made the
       burger invisible: its lines are `currentColor`, which is #fff in the
       transparent state, so they were white on white.
       The nav drawer is `position: fixed` with its own dark background and its
       link colours are forced white by the max-width:1024px block below, so it
       does not depend on anything here. */
    .yxy-header.is-white .yxy-header-inner { background: #ffffff; }
    .yxy-header.is-white .yxy-logo-wordmark { color: var(--cn-navy, #10203f); }
    .yxy-header.is-white .yxy-nav a { color: #333; }
}

/* Mobile drawer is dark: keep nav text white even after the header turns
   white on scroll (is-white) — otherwise links become invisible in the menu.
   Highest specificity + !important to beat inline styles and any WordPress
   Customizer / plugin overrides that leak #333 from the desktop white header. */
@media (max-width: 1024px) {
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-navigation .yxy-nav li,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-navigation .yxy-nav li a,
    body.yxy-nav-open .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-navigation .yxy-nav li a,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-header-navigation .yxy-nav li a,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav li a,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-nav li a,
    body.yxy-nav-open .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav li a,
    #yxy-header-right .yxy-nav li a,
    #yxy-header-right .yxy-header-navigation .yxy-nav li a {
        color: #ffffff !important;
    }

    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav a:hover,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav a:focus,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-nav a:hover,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-nav a:focus,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav .current-menu-item > a,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-nav .current_page_item > a,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-nav .current-menu-item > a,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-nav .current_page_item > a {
        color: #93c5fd !important;
    }

    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-cart,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-header-cart,
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-cart .yxy-header-cart-text {
        color: #ffffff !important;
    }
    body .yxy-header#yxy-header .yxy-header-right#yxy-header-right .yxy-header-cart:hover,
    body .yxy-header.is-white#yxy-header .yxy-header-right#yxy-header-right .yxy-header-cart:hover {
        color: #93c5fd !important;
    }
}

/* ===========================================================
   cnlinko-style single product page (cn-pd)
   =========================================================== */
.cn-pd {
    --pd-blue: #173993;
    --pd-blue-deep: #193190;
    --pd-blue-soft: #eef2fb;
    --pd-ink: #1a1a2e;
    --pd-muted: #666;
    --pd-line: #e6e8ee;
    overflow: hidden;
}
.cn-pd-wrapper,
.cn-pd-wrap {
    max-width: 100%;
}
.cn-pd-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---------- Sub-navigation top bar ---------- */
.cn-pd-tophead {
    background: #fff;
    border-bottom: 1px solid var(--pd-line);
    position: relative;
    z-index: 40;
}
.cn-pd-tophead .cn-pd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
}
.cn-pd-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.cn-pd-nav a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: color .2s ease, background .2s ease;
}
.cn-pd-nav a:hover { color: var(--pd-blue); }
.cn-pd-nav a.active {
    color: var(--pd-blue);
    font-weight: 600;
}
.cn-pd-nav a.cn-pd-nav-online {
    background: var(--pd-blue);
    color: #fff;
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 600;
}
.cn-pd-nav a.cn-pd-nav-online:hover { background: var(--pd-blue-deep); color: #fff; }

/* ---------- Hero (full-bleed slide) ---------- */
.cn-pd-page1 {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
}
.cn-pd-page1-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cn-pd-page1-img {
    position: absolute;
    inset: 0;
}
.cn-pd-page1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.cn-pd-page1-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,14,28,.18) 0%, rgba(10,14,28,.55) 100%);
}
.cn-pd-page1-body {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 70px;
}
.cn-pd-page1-box {
    max-width: 680px;
}
.cn-pd-page1-title {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
}
.cn-pd-page1-slogan {
    margin: 0 0 28px;
    font-size: clamp(15px, 2vw, 19px);
    color: rgba(255,255,255,.92);
    max-width: 560px;
}
.cn-pd-page1-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.cn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
}
.cn-btn-primary {
    background: var(--pd-blue);
    color: #fff;
}
.cn-btn-primary:hover { background: var(--pd-blue-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,57,147,.28); }
.cn-btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.8);
}
.cn-btn-outline:hover { background: #fff; color: var(--pd-blue); transform: translateY(-2px); }

/* ---------- Shared section scaffolding ---------- */
.cn-pd section {
    padding: 70px 0;
    position: relative;
}
.cn-pd-page2 { background: #fff; }
.cn-pd-page4 { background: var(--pd-blue-soft); }
.cn-pd-page5 { background: var(--pd-blue-soft); }
.cn-pd-page7 { background: #fff; }
.cn-pd-page8 { background: var(--pd-blue-soft); }
.cn-pd-page-title {
    text-align: center;
    margin-bottom: 44px;
}
.cn-pd-page-title h2 {
    margin: 0;
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 700;
    color: var(--pd-ink);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.cn-pd-page-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 48px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--pd-blue);
    border-radius: 3px;
}

/* ---------- Catalog: left chips + right carousel ---------- */
.cn-pd-catalog-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
}
.cn-pd-spec-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cn-pd-spec-item {
    background: #f6f8fc;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.cn-pd-spec-label {
    font-size: 12px;
    color: var(--pd-muted);
    letter-spacing: .3px;
}
.cn-pd-spec-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--pd-ink);
}
.cn-pd-certs {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cn-pd-certs-block {
    background: #f6f8fc;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    padding: 18px;
}
.cn-pd-certs-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-ink);
    margin-bottom: 12px;
}
.cn-pd-certs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cn-pd-cert-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #dbe1f0;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-blue);
}
.cn-pd-catalog-right { min-width: 0; }
.cn-pd-spec-title {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: var(--pd-ink);
    margin-bottom: 22px;
}
.cn-pd-spec-carousel {
    position: relative;
    background: #fafbfe;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    padding: 20px;
    overflow: hidden;
}
.cn-pd-spec-track {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
}
.cn-pd-spec-card {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
}
.cn-pd-spec-card.is-active { display: flex; animation: cnFadeUp .5s ease; }
@keyframes cnFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.cn-pd-spec-card-img {
    width: 100%;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 18px;
}
.cn-pd-spec-card-img img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    object-fit: contain;
    display: block;
}
.cn-pd-spec-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: var(--pd-muted);
}
.cn-pd-spec-card-title strong { color: var(--pd-ink); font-weight: 700; }
.cn-pd-copy {
    border: 1px solid var(--pd-blue);
    background: #fff;
    color: var(--pd-blue);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.cn-pd-copy:hover { background: var(--pd-blue); color: #fff; }
.cn-pd-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--pd-line);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease;
    color: var(--pd-ink);
}
.cn-pd-nav-arrow:hover { border-color: var(--pd-blue); color: var(--pd-blue); }
.cn-pd-nav-arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
}
.cn-pd-nav-arrow--prev { left: 16px; }
.cn-pd-nav-arrow--prev::before { transform: rotate(-45deg); }
.cn-pd-nav-arrow--next { right: 16px; }
.cn-pd-nav-arrow--next::before { transform: rotate(135deg); }

/* CTA contact-row below specifications carousel */
.cn-pd-cta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.cn-pd-cta-row .yxy-btn {
    justify-content: center;
    padding: 12px 14px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .cn-pd-cta-row { grid-template-columns: 1fr; gap: 8px; }
}

.cn-pd-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.cn-pd-catalog-tab {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--pd-line);
    border-radius: 20px;
    font-size: 14px;
    color: var(--pd-muted);
    cursor: pointer;
    transition: all .2s ease;
}
.cn-pd-catalog-tab.is-active {
    background: var(--pd-blue);
    border-color: var(--pd-blue);
    color: #fff;
}

/* ---------- Advantages ---------- */
.cn-pd-adv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cn-pd-adv-item {
    background: #fff;
    border-radius: 14px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 22px rgba(23,57,147,.07);
}
.cn-pd-adv-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pd-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
}
.cn-pd-adv-title {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--pd-ink);
}
.cn-pd-adv-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--pd-muted);
}

/* ---------- Image grids (family series / dimension) ---------- */
.cn-pd-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.cn-pd-img-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cn-pd-img-grid--1 {
    grid-template-columns: 1fr;
    justify-items: center;
}
.cn-pd-img-grid--1 .cn-pd-img-cell {
    width: min(100%, 760px);
    min-height: 0;
    padding: 24px;
}
.cn-pd-img-grid--1 .cn-pd-img-cell img {
    max-height: 600px;
    width: auto;
    max-width: 100%;
}
.cn-pd-img-cell {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cn-pd-img-cell img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}
.cn-pd-img-cell:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(23,57,147,.12); }

/* ---------- Parameter table ---------- */
.cn-pd-param-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.cn-pd-param-table th,
.cn-pd-param-table td {
    width: 25%;
    border-bottom: 1px solid var(--pd-line);
    vertical-align: middle;
}
.cn-pd-param-table th {
    padding: 16px 20px;
    background: var(--pd-blue-soft);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: var(--pd-ink);
}
.cn-pd-param-table td {
    padding: 16px 20px;
    font-size: 15px;
    color: var(--pd-muted);
}
.cn-pd-param-table tbody tr:last-child th,
.cn-pd-param-table tbody tr:last-child td {
    border-bottom: none;
}

/* ---------- Application cases ---------- */
.cn-pd-cases-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.cn-pd-case-card {
    background: #fff;
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(23,57,147,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cn-pd-case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(23,57,147,.14); text-decoration: none; }
.cn-pd-case-title { font-size: 16px; font-weight: 600; color: var(--pd-ink); }
.cn-pd-case-arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--pd-blue-soft);
    color: var(--pd-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* AI-written use cases: editorial split — sticky intro rail + numbered card index */
.cn-pd-cases-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}
.cn-pd-cases-intro {
    position: sticky;
    top: 120px;
    padding-top: 6px;
}
.cn-pd-cases-kicker {
    display: inline-block;
    font: 700 12px/1.4 ui-monospace, Consolas, monospace;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--pd-blue);
    margin-bottom: 16px;
}
.cn-pd-cases-statement {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.12;
    font-weight: 700;
    color: var(--pd-ink);
}
.cn-pd-cases-lead {
    margin: 0 0 26px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--pd-muted);
}
.cn-pd-cases-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--pd-ink);
    color: #fff;
    font: 600 13px/1 ui-monospace, Consolas, monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.cn-pd-cases-count strong { font-size: 21px; color: #f59e0b; }
.cn-pd-cases-list--text {
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 14px;
}
.cn-pd-case-card--text {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    padding: 22px 22px 22px 18px;
    min-height: 0;
    box-shadow: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cn-pd-case-card--text:hover {
    transform: translateY(-3px);
    border-color: var(--pd-blue);
    box-shadow: 0 16px 36px rgba(23, 57, 147, .1);
}
.cn-pd-case-num {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 900;
    font-size: calc(clamp(68px, 7vw, 96px) * .65);
    line-height: .85;
    letter-spacing: -.04em;
    color: var(--pd-blue);
    background: transparent;
    border-radius: 0;
    padding: 2px 0;
}
.cn-pd-case-num::after {
    content: "";
    flex: none;
    height: 3px;
    width: 100%;
    margin-top: 10px;
    background: var(--pd-blue);
    border-radius: 2px;
    opacity: .35;
}
.cn-pd-case-body { min-width: 0; }
.cn-pd-case-card--text .cn-pd-case-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: 16.5px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--pd-ink);
}
.cn-pd-case-card--text .cn-pd-case-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--pd-muted);
}
@media (max-width: 1200px) {
    .cn-pd-cases-grid { grid-template-columns: 1fr; gap: 30px; }
    .cn-pd-cases-intro { position: static; padding-top: 0; }
    .cn-pd-case-card--text { grid-template-columns: 96px 1fr; }
    .cn-pd-case-num { font-size: calc(clamp(56px, 6vw, 80px) * .65); }
}
@media (max-width: 768px) {
    .cn-pd-cases-list--text { grid-template-columns: 1fr; }
    .cn-pd-case-card--text { padding: 18px; grid-template-columns: 1fr; }
    .cn-pd-case-num { font-size: calc(clamp(56px, 14vw, 88px) * .65); padding: 0; }
    .cn-pd-case-num::after { display: none; }
}

/* ---------- cn-pd responsiveness ---------- */
@media (max-width: 1024px) {
    .cn-pd-catalog-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .cn-pd-container { padding: 0 16px; }
    .cn-pd section { padding: 52px 0; }
    .cn-pd-tophead { display: none; }
    .cn-pd-page1 { min-height: 60vh; }
    .cn-pd-page1-body { padding-bottom: 44px; }
    .cn-pd-spec-list { grid-template-columns: 1fr; }
    .cn-pd-adv-list { grid-template-columns: 1fr; }
    .cn-pd-img-grid, .cn-pd-img-grid--3 { grid-template-columns: 1fr; }
    .cn-pd-cases-list { grid-template-columns: 1fr; }
    .cn-pd-param-table tr { display: flex; flex-wrap: wrap; }
    .cn-pd-param-table th,
    .cn-pd-param-table td { width: 50%; padding: 12px 14px; }
    .cn-pd-nav-arrow { width: 36px; height: 36px; }
}

/* ---------- cn-pd extra sections (cnlinko parity) ---------- */

/* Application Interface Type tabs row */
.cn-pd-interface {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--pd-line);
}
.cn-pd-interface-title {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: var(--pd-ink);
    text-align: center;
    margin-bottom: 28px;
}
.cn-pd-interface-tabs {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
}
.cn-pd-interface-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.cn-pd-interface-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cn-pd-interface-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.cn-pd-interface-tab:hover .cn-pd-interface-icon img,
.cn-pd-interface-tab.is-active .cn-pd-interface-icon img {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-3px);
}
.cn-pd-interface-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    transition: color .2s ease;
}
.cn-pd-interface-tab:hover .cn-pd-interface-text { color: var(--pd-blue); }

/* Active (current product's) interface: boxed + highlighted */
/* Negative margins mirror the padding so the box grows outward and the
   inner icon/text stay line-aligned with the neighbouring tabs. */
.cn-pd-interface-tab.is-active {
    position: relative;
    padding: 14px 10px 10px;
    margin: -14px -10px -10px;
    background: rgba(23, 57, 147, .07);
    border: 1px solid var(--pd-blue);
    border-radius: 12px;
}
.cn-pd-interface-tab.is-active .cn-pd-interface-icon img {
    opacity: 1;
    filter: grayscale(0);
}
.cn-pd-interface-tab.is-active .cn-pd-interface-text {
    color: var(--pd-blue);
    font-weight: 600;
}
.cn-pd-interface-tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: var(--pd-blue);
    transform: translateX(-50%) rotate(45deg);
}

/* page4: advantage feature band + image list */
.cn-pd-cta-bg {
    position: absolute;
    inset: 0;
}
.cn-pd-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cn-pd-cta-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,28,.82) 0%, rgba(10,14,28,.35) 70%, rgba(10,14,28,.12) 100%);
}
.cn-pd-cta-body {
    position: relative;
    z-index: 2;
}

/* page4: advantage feature band + image list */
.cn-pd-adv-feature {
    margin-bottom: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cn-pd-adv-feature img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}
.cn-pd-adv-feature-tint {
    display: none;
}
.cn-pd-adv-feature-title {
    padding: 22px 6px 0;
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 700;
    color: var(--pd-ink);
    max-width: 720px;
    text-align: center;
}
.cn-pd-adv-list {
    grid-template-columns: repeat(2, 1fr);
}
/* Advantage cards: 2-column split — image fills half the space, text the
   other half — and images are shown uncropped (object-fit: contain). */
.cn-pd-adv-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 26px;
    padding: 24px;
}
.cn-pd-adv-media {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cn-pd-adv-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.cn-pd-adv-body { min-width: 0; }
.cn-pd-adv-icon { display: none; }

/* page8: application case image cards */
.cn-pd-case-card {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    text-align: left;
}
.cn-pd-case-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cn-pd-case-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.cn-pd-case-card:hover .cn-pd-case-media img { transform: scale(1.05); }
.cn-pd-case-title {
    padding: 18px 20px 8px;
    display: block;
}
.cn-pd-case-arrow {
    margin-left: 20px;
    margin-bottom: 18px;
}

/* cn-pd extra sections responsiveness */
@media (max-width: 1024px) {
    .cn-pd-interface-tabs { grid-template-columns: repeat(4, 1fr); gap: 22px 14px; }
}
@media (max-width: 768px) {
    .cn-pd-interface-tabs { grid-template-columns: repeat(2, 1fr); }
    .cn-pd-adv-list { grid-template-columns: 1fr; }
    .cn-pd-adv-item { grid-template-columns: 1fr; align-items: flex-start; }
}

/* ---------- B2B inquiry / RFQ form (audit fix #13) ---------- */
.cn-pd-page9 { background: #fff; }
.cn-pd-rfq-grid {
    display: grid;
    grid-template-columns: minmax(300px, 400px) 1fr;
    gap: 48px;
    align-items: start;
}
.cn-pd-rfq-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pd-blue);
    margin-bottom: 12px;
}
.cn-pd-rfq-title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--pd-ink);
    line-height: 1.25;
}
.cn-pd-rfq-lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--pd-muted);
}
.cn-pd-rfq-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.cn-pd-rfq-points li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pd-ink);
}
.cn-pd-rfq-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pd-blue-soft);
    color: var(--pd-blue);
    font-size: 12px;
    font-weight: 700;
}
.cn-pd-rfq-panel {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(26, 26, 46, .08);
    padding: 30px;
}
.cn-pd-rfq-notice {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
}
.cn-pd-rfq-notice ul { margin: 0; padding-left: 18px; }
.cn-pd-rfq-notice--ok {
    background: #f0f9f1;
    border-color: #bfe3c6;
    color: #1e7a34;
    font-weight: 600;
}
.cn-pd-rfq-notice--err {
    background: #fdf1f0;
    border-color: #f3c8c4;
    color: #b3261e;
}
.cn-pd-rfq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cn-pd-rfq-field {
    margin-bottom: 16px;
}
.cn-pd-rfq-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-ink);
}
.cn-pd-rfq-field input,
.cn-pd-rfq-field select,
.cn-pd-rfq-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: var(--pd-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.cn-pd-rfq-field textarea { resize: vertical; min-height: 84px; }
.cn-pd-rfq-field input:focus,
.cn-pd-rfq-field select:focus,
.cn-pd-rfq-field textarea:focus {
    outline: none;
    border-color: var(--pd-blue);
    box-shadow: 0 0 0 3px rgba(23, 57, 147, .12);
}
.cn-pd-rfq-submit {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: var(--pd-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cn-pd-rfq-submit:hover {
    background: var(--pd-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 57, 147, .28);
}
.cn-pd-rfq-privacy {
    margin-top: 12px;
    text-align: center;
    font-size: 12.5px;
    color: var(--pd-muted);
}
@media (max-width: 1024px) {
    .cn-pd-rfq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .cn-pd-rfq-panel { padding: 22px 18px; }
    .cn-pd-rfq-row { grid-template-columns: 1fr; gap: 0; }
}

.index-section2 {
  overflow: hidden;
  background-color: #f5f6f8;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  padding-bottom: 80px;
}

.index-section2 .tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
  padding-top: 80px;
  position: relative;
}

/* Decorative soft shadow under the interface tabs. Replaces the old
   img029@780x16.png asset: the local copy never shipped (404 on every
   homepage view) and the !important fallback hotlinked cnlinko.com's
   own server. The original was a ~5%-opacity black radial fade — this
   gradient reproduces it with zero requests and no third-party host. */
.index-section2 .tabs::after {
  content: "";
  display: block;
  width: 780px;
  height: 16px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0) 80%) no-repeat center bottom;
  background-size: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.index-section2 .tabs .tab-item {
  display: block;
  text-align: center;
  margin-left: 45px;
  margin-right: 45px;
}

.index-section2 .tabs .tab-item:hover .icon,
.index-section2 .tabs .tab-item.active .icon {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
}

.index-section2 .tabs .tab-item:hover .text,
.index-section2 .tabs .tab-item.active .text {
  color: #193190;
}

.index-section2 .tabs .tab-item .icon {
  width: 50px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  line-height: 1;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}

.index-section2 .tabs .tab-item .text {
  margin-top: 20px;
  /* font-size: 18px; */
  color: #333333;
  line-height: 1.1;
}

.index-section2 .swiper {
  position: relative;
}

.index-section2 .swiper .swiper-button {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  margin: 0;
}

.index-section2 .swiper .swiper-button:after {
  font-size: 20px;
  color: #173993;
}

.index-section2 .swiper .swiper-button.swiper-button-prev {
  left: -40px;
}

.index-section2 .swiper .swiper-button.swiper-button-next {
  right: -40px;
}

.index-section2 .swiper .title {
  /* font-size: 40px; */
  color: #333333;
  line-height: 1.1;
  text-align: center;
  margin-top: 45px;
}

.index-section2 .swiper .swiper-slide {
  position: relative;
  padding-top: 70px;
}

.index-section2 .swiper .swiper-slide:hover .item {
  transform: translateY(-20px);
}

.index-section2 .swiper .item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.index-section2 .swiper .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 30px 20px;
}

.index-section2 .swiper .info .text1 {
  /* font-size: 24px; */
  line-height: 1.1;
}

.index-section2 .swiper .info .text2 {
  /* font-size: 16px; */
  color: #333;
  line-height: 1.3;
  margin-top: 20px;
  min-height: 3.9em;
}

.index-section2 .swiper .info .index-btn {
  margin-top: 10px;
}

@media screen and (min-width: 1600px) {
  .index-section2 {
    padding-bottom: 80px;
  }

  .index-section2 .tabs {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .index-section2 .tabs::after {
    width: 780px;
    height: 16px;
  }

  .index-section2 .tabs .tab-item {
    margin-left: 45px;
    margin-right: 45px;
  }

  .index-section2 .tabs .tab-item .icon {
    width: 50px;
  }

  .index-section2 .tabs .tab-item .text {
    margin-top: 20px;
    /* font-size: 18px; */
  }

  .index-section2 .swiper .swiper-button:after {
    font-size: 20px;
  }

  .index-section2 .swiper .swiper-button.swiper-button-prev {
    left: -40px;
  }

  .index-section2 .swiper .swiper-button.swiper-button-next {
    right: -40px;
  }

  .index-section2 .swiper .title {
    font-size: 40px;
    margin-top: 45px;
  }

  .index-section2 .swiper .swiper-slide {
    padding-top: 70px;
  }

  .index-section2 .swiper .swiper-slide:hover .item {
    transform: translateY(-20px);
  }

  .index-section2 .swiper .info {
    padding: 30px 20px;
  }

  .index-section2 .swiper .info .text1 {
    font-size: 24px;
  }

  .index-section2 .swiper .info .text2 {
    font-size: 16px;
    margin-top: 20px;
  }

  .index-section2 .swiper .info .index-btn {
    margin-top: 10px;
  }
}

/* Medium screens (769px–1599px): the fixed 45px gaps + 50px icons make the
   interface-type row wider than the viewport, so the centered flex row
   overflows and gets cropped on both edges. Tighten spacing and allow a
   centered wrap as a fallback so all 8 types stay visible. */
@media screen and (min-width: 769px) and (max-width: 1599px) {
  .index-section2 .tabs {
    flex-wrap: wrap;
    row-gap: 30px;
  }

  .index-section2 .tabs .tab-item {
    margin-left: 20px;
    margin-right: 20px;
  }

  .index-section2 .tabs .tab-item .icon {
    width: 44px;
  }

  .index-section2 .tabs .tab-item .text {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .index-section2 {
    padding-bottom: 40px;
  }

  .index-section2 .tabs {
    padding-bottom: 30px;
    padding-top: 10px;
    flex-wrap: wrap;
  }

  .index-section2 .tabs::after {
    width: 100%;
    height: 8px;
  }

  .index-section2 .tabs .tab-item {
    width: 25%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
  }

  .index-section2 .tabs .tab-item .icon {
    width: 40px;
  }

  .index-section2 .tabs .tab-item .text {
    margin-top: 10px;
    /* font-size: 14px; */
  }

  .index-section2 .swiper .swiper-button:after {
    font-size: 20px;
  }

  .index-section2 .swiper .swiper-button.swiper-button-prev {
    left: 0;
  }

  .index-section2 .swiper .swiper-button.swiper-button-next {
    right: 0;
  }

  .index-section2 .swiper .title {
    font-size: 24px;
    margin-top: 40px;
  }

  .index-section2 .swiper .swiper-slide {
    padding-top: 35px;
  }

  .index-section2 .swiper .swiper-slide:hover .item {
    transform: translateY(-20px);
  }

  .index-section2 .swiper .image {
    width: 100%;
  }

  .index-section2 .swiper .info {
    padding: 20px 20px;
  }

  .index-section2 .swiper .info .text1 {
    font-size: 18px;
    font-weight: bold;
  }

  .index-section2 .swiper .info .text2 {
    font-size: 14px;
    margin-top: 14px;
  }

  .index-section2 .swiper .info .index-btn {
    margin-top: 10px;
  }
}

/* ==================== 首页 - 板块二 End ==================== */
/* ==================== 首页 - 板块三 Start ==================== */
.index-section3 {
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 120px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.index-section3 .body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.index-section3 .body .left {
  width: 360px;
  flex-shrink: 0;
}

.index-section3 .body .left .head {
  margin-bottom: 50px;
  color: #fff;
}

.index-section3 .body .left .head .text1 {
  /* font-size: 22px; */
}

.index-section3 .body .left .head .text2 {
  margin-top: 20px;
  /* font-size: 40px; */
}

.index-section3 .body .left .list {
  display: table;
}

.index-section3 .body .left .list .list-item {
  padding: 15px 20px;
  border: 1px solid;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  position: relative;
  /* font-size: 18px; */
  line-height: 1.1;
  margin-bottom: 20px;
  cursor: pointer;
  transition:
    background-color 0.4s,
    color 0.4s,
    border-color 0.4s;
}

.index-section3 .body .left .list .list-item.active {
  background-color: #193190;
  color: #fff;
  border-color: #193190;
}

.index-section3 .body .left .list .list-item:last-child {
  margin-bottom: 0;
}

.index-section3 .body .left .list .list-item:after {
  content: "\e60c";
  font-family: "iconfont";
  margin-left: 10px;
}

.index-section3 .body .right {
  width: 930px;
  flex-shrink: 0;
  position: relative;
}

.index-section3 .body .right .swiper-wrapper {
  align-items: stretch;
}

.index-section3 .body .right .swiper-slide {
  height: auto;
}

.index-section3 .body .right .right-item {
  position: relative;
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s;
}

.index-section3 .body .right .right-item:first-child~.right-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.index-section3 .body .right .right-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 3;
}

.index-section3 .body .right .right-item .item {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.index-section3 .body .right .right-item .image {
  width: 100%;
}

.index-section3 .body .right .right-item .image img {
  width: 100%;
}

.index-section3 .body .right .right-item .info {
  width: 100%;
  background-color: #fff;
  padding: 30px 35px;
  padding-bottom: 36px;
  flex-grow: 1;
  min-width: 0;
}

.index-section3 .body .right .right-item .info .text1 {
  /* font-size: 24px; */
}

.index-section3 .body .right .right-item .info .text2 {
  margin-top: 20px;
  /* font-size: 16px; */
  color: #666666;
  line-height: 1.6;
}

.index-section3 .body .right .right-item .info .index-btn {
  margin-top: 20px;
  color: #888;
}

.index-section3 .body .right .right-item .info .index-btn:hover {
  background-color: #193190;
  color: #fff;
}

.index-section3 .body .right .swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.index-section3 .body .right .swiper-button:after {
  font-size: 20px;
  color: #fff;
}

.index-section3 .body .right .swiper-button.swiper-button-prev {
  left: -55px;
}

.index-section3 .body .right .swiper-button.swiper-button-next {
  right: -55px;
}

@media screen and (min-width: 1600px) {
  .index-section3 {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .index-section3 .body .left {
    width: 360px;
  }

  .index-section3 .body .left .head {
    margin-bottom: 50px;
  }

  /* .index-section3 .body .left .head .text1 {
    font-size: 22px;
  } */
  .index-section3 .body .left .head .text2 {
    margin-top: 20px;
    /* font-size: 40px; */
  }

  .index-section3 .body .left .list .list-item {
    padding: 15px 20px;
    border-radius: 100px;
    /* font-size: 18px; */
    margin-bottom: 20px;
  }

  .index-section3 .body .left .list .list-item:after {
    margin-left: 10px;
  }

  .index-section3 .body .right {
    width: 930px;
  }

  .index-section3 .body .right .right-item .item {
    border-radius: 10px;
  }

  .index-section3 .body .right .right-item .info {
    padding: 30px 35px;
    padding-bottom: 36px;
  }

  .index-section3 .body .right .right-item .info .text1 {
    /* font-size: 24px; */
  }

  .index-section3 .body .right .right-item .info .text2 {
    margin-top: 20px;
    /* font-size: 16px; */
  }

  .index-section3 .body .right .right-item .info .index-btn {
    margin-top: 20px;
  }

  .index-section3 .body .right .swiper-button:after {
    font-size: 20px;
  }

  .index-section3 .body .right .swiper-button.swiper-button-prev {
    left: -55px;
  }

  .index-section3 .body .right .swiper-button.swiper-button-next {
    right: -55px;
  }
}

@media screen and (max-width: 768px) {
  .index-section3 {
    padding-top: 60px;
    padding-bottom: 60px;
    background-attachment: inherit;
  }

  .index-section3 .body {
    display: block;
    width: 100%;
  }

  .index-section3 .body .left {
    width: 100%;
    text-align: center;
  }

  .index-section3 .body .left .head {
    margin-bottom: 25px;
  }

  /* .index-section3 .body .left .head .text1 {
    font-size: 20px;
  } */
  .index-section3 .body .left .head .text2 {
    margin-top: 10px;
    /* font-size: 14px; */
  }

  .index-section3 .body .left .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .index-section3 .body .left .list .list-item {
    width: 48%;
    padding: 10px 10px;
    border-radius: 50px;
    /* font-size: 14px; */
    margin-bottom: 10px;
    justify-content: center;
  }

  .index-section3 .body .left .list .list-item:after {
    margin-left: 10px;
  }

  .index-section3 .body .right {
    width: 100%;
  }

  .index-section3 .body .right .right-item .item {
    border-radius: 10px;
  }

  .index-section3 .body .right .right-item .info {
    padding: 20px 18px;
    padding-bottom: 18px;
  }

  .index-section3 .body .right .right-item .info .text1 {
    /* font-size: 16px; */
    font-weight: bold;
  }

  .index-section3 .body .right .right-item .info .text2 {
    margin-top: 10px;
    /* font-size: 12px; */
  }

  .index-section3 .body .right .right-item .info .index-btn {
    margin-top: 20px;
  }

  .index-section3 .body .right .swiper-button:after {
    font-size: 20px;
  }

  .index-section3 .body .right .swiper-button.swiper-button-prev {
    left: -28px;
  }

  .index-section3 .body .right .swiper-button.swiper-button-next {
    right: -28px;
  }
}

/* ==================== 首页 - 板块三 End ==================== */
/* ==================== 首页 - 板块四 Start ==================== */
.index-section4 {
  overflow: hidden;
  background-size: cover;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.index-section4 .title {
  /* font-size: 40px; */
  margin-bottom: 40px;
  line-height: 1.1;
  text-align: center;
}

.index-section4 .tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
  width: 800px;
}

.index-section4 .tabs .swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  opacity: 1;
}

.index-section4 .tabs .swiper-button:after {
  font-size: 20px;
  color: #b8b9bb;
}

.index-section4 .tabs .swiper-button.swiper-button-prev {
  left: -40px;
}

.index-section4 .tabs .swiper-button.swiper-button-next {
  right: -40px;
}

.index-section4 .tabs .swiper-slide {
  padding-bottom: 10px;
}

.index-section4 .tabs .swiper-slide.swiper-slide-thumb-active .tab-item {
  border-color: #193190;
  background-color: #fff;
}

.index-section4 .tabs .swiper-slide.swiper-slide-thumb-active .tab-item:after {
  display: block;
}

.index-section4 .tabs .tab-item {
  text-align: center;
  border-radius: 10px;
  border: solid 1px rgba(204, 204, 204, 0.5);
  padding-left: 50px;
  padding-right: 50px;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
}

.index-section4 .tabs .tab-item:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid #193190;
  border-right: 1px solid #193190;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) rotate(135deg);
  background-color: #fff;
  display: none;
}

.index-section4 .tabs .tab-item .icon {
  width: 90px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.index-section4 .tabs .tab-item .text {
  /* font-size: 16px; */
  padding-bottom: 10px;
  padding-top: 10px;
}

.index-section4 .swiper {
  position: relative;
}

.index-section4 .swiper .item {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.index-section4 .swiper .item .image {
  width: 920px;
  flex-shrink: 0;
  margin-right: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.index-section4 .swiper .item .info {
  background: url(../images/index/img022@800x1015.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 40px;
  text-align: left;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.index-section4 .swiper .item .info .text1 {
  line-height: 1;
  padding: 6px 20px;
  /* font-size: 18px; */
  border-radius: 100px;
  border: solid 1px rgba(255, 255, 255, 0.5);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0.1);
}

.index-section4 .swiper .item .info .text2 {
  /* font-size: 36px; */
  margin-top: 15px;
}

.index-section4 .swiper .item .info .text2:after {
  content: "";
  display: block;
  width: 50px;
  height: 6px;
  background-color: #fff;
  margin-bottom: 40px;
  margin-top: 30px;
}

.index-section4 .swiper .item .info .text3 {
  margin-top: 30px;
  /* font-size: 22px; */
  font-weight: bold;
  line-height: 1.1;
}

.index-section4 .swiper .item .info .text4 {
  margin-top: 25px;
  /* font-size: 16px; */
  line-height: 1.8;
  opacity: 0.9;
}

.index-section4 .swiper .item .info .index-btn {
  margin-top: 90px;
  color: #193190;
}

@media screen and (min-width: 1600px) {
  .index-section4 {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .index-section4 .title {
    /* font-size: 40px; */
    margin-bottom: 40px;
  }

  .index-section4 .tabs {
    margin-bottom: 50px;
    width: 800px;
  }

  .index-section4 .tabs .swiper-button:after {
    font-size: 20px;
  }

  .index-section4 .tabs .swiper-button.swiper-button-prev {
    left: -40px;
  }

  .index-section4 .tabs .swiper-button.swiper-button-next {
    right: -40px;
  }

  .index-section4 .tabs .swiper-slide {
    padding-bottom: 10px;
  }

  .index-section4 .tabs .tab-item {
    border-radius: 10px;
    padding-left: 50px;
    padding-right: 50px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .index-section4 .tabs .tab-item:after {
    width: 10px;
    height: 10px;
    bottom: 5px;
  }

  .index-section4 .tabs .tab-item .icon {
    width: 90px;
  }

  .index-section4 .tabs .tab-item .text {
    /* font-size: 16px; */
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .index-section4 .swiper .item .image {
    width: 920px;
    margin-right: 30px;
    border-radius: 10px;
  }

  .index-section4 .swiper .item .info {
    padding: 50px 40px;
    border-radius: 10px;
  }

  .index-section4 .swiper .item .info .text1 {
    padding: 6px 20px;
    /* font-size: 18px; */
    border-radius: 100px;
  }

  .index-section4 .swiper .item .info .text2 {
    /* font-size: 36px; */
    margin-top: 15px;
  }

  .index-section4 .swiper .item .info .text2:after {
    width: 50px;
    height: 6px;
    margin-bottom: 40px;
    margin-top: 30px;
  }

  .index-section4 .swiper .item .info .text3 {
    margin-top: 30px;
    /* font-size: 22px; */
  }

  .index-section4 .swiper .item .info .text4 {
    margin-top: 25px;
    /* font-size: 16px; */
  }

  .index-section4 .swiper .item .info .index-btn {
    margin-top: 90px;
  }
}

@media screen and (max-width: 768px) {
  .index-section4 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .index-section4 .title {
    /* font-size: 24px; */
    margin-bottom: 30px;
  }

  .index-section4 .tabs {
    margin-bottom: 13px;
    width: 100%;
  }

  .index-section4 .tabs .swiper-button {
    display: none;
  }

  .index-section4 .tabs .swiper-button:after {
    font-size: 20px;
  }

  .index-section4 .tabs .swiper-button.swiper-button-prev {
    left: 0;
  }

  .index-section4 .tabs .swiper-button.swiper-button-next {
    right: 0;
  }

  .index-section4 .tabs .swiper-slide {
    padding-bottom: 10px;
  }

  .index-section4 .tabs .tab-item {
    border-radius: 6px;
    margin-left: 4px;
    margin-right: 4px;
    padding: 10px;
  }

  .index-section4 .tabs .tab-item:after {
    width: 10px;
    height: 10px;
    bottom: 5px;
  }

  .index-section4 .tabs .tab-item .icon {
    width: 50px;
  }

  .index-section4 .tabs .tab-item .text {
    /* font-size: 14px; */
    padding-bottom: 0;
    padding-top: 10px;
  }

  .index-section4 .swiper .item {
    width: 100%;
    display: block;
  }

  .index-section4 .swiper .item .image {
    display: block;
    width: 100%;
    margin-right: 8px;
    border-radius: 10px 10px 0 0;
  }

  .index-section4 .swiper .item .info {
    width: 100%;
    padding: 25px 20px;
    border-radius: 0 0 10px 10px;
  }

  .index-section4 .swiper .item .info .text1 {
    padding: 6px 20px;
    /* font-size: 14px; */
    border-radius: 25px;
  }

  .index-section4 .swiper .item .info .text2 {
    /* font-size: 18px; */
    margin-top: 15px;
  }

  .index-section4 .swiper .item .info .text2:after {
    width: 50px;
    height: 2px;
    margin-bottom: 20px;
    margin-top: 15px;
  }

  .index-section4 .swiper .item .info .text3 {
    margin-top: 15px;
    /* font-size: 14px; */
  }

  .index-section4 .swiper .item .info .text4 {
    margin-top: 25px;
    /* font-size: 12px; */
  }

  .index-section4 .swiper .item .info .index-btn {
    margin-top: 20px;
  }
}

/* ==================== 首页 - 板块四 End ==================== */
/* ==================== 首页 - 板块五 Start ==================== */
.index-section5 {
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.index-section5 .info {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.index-section5 .icon {
  width: 180px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.index-section5 .text1 {
  /* font-size: 24px; */
  color: #ffffff;
  line-height: 1.1;
}

.index-section5 .text2 {
  margin-top: 30px;
  /* font-size: 18px; */
  color: #ffffff;
  line-height: 1.8;
}

.index-section5 .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.index-section5 .btn-group .index-btn:nth-child(1) {
  background-color: #c9151e;
  border-color: #c9151e;
  color: #fff;
  margin-right: 17px;
}

.index-section5 .btn-group .index-btn:nth-child(2) {
  background-color: #fff;
  color: #193190;
}

@media screen and (min-width: 1600px) {
  .index-section5 {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .index-section5 .info {
    width: 980px;
  }

  .index-section5 .icon {
    width: 180px;
    margin-bottom: 20px;
  }

  .index-section5 .text1 {
    /* font-size: 24px; */
  }

  .index-section5 .text2 {
    margin-top: 30px;
    /* font-size: 18px; */
  }

  .index-section5 .btn-group {
    margin-top: 40px;
  }

  .index-section5 .btn-group .index-btn:nth-child(1) {
    margin-right: 17px;
  }
}

@media screen and (max-width: 768px) {
  .index-section5 {
    padding-top: 60px;
    padding-bottom: 60px;
    background-attachment: inherit;
  }

  .index-section5 .info {
    width: 100%;
  }

  .index-section5 .icon {
    width: 90px;
    margin-bottom: 10px;
  }

  .index-section5 .text1 {
    /* font-size: 16px; */
    line-height: 1.6;
  }

  .index-section5 .text2 {
    margin-top: 15px;
    /* font-size: 14px; */
  }

  .index-section5 .btn-group {
    margin-top: 20px;
  }

  .index-section5 .btn-group .index-btn:nth-child(1) {
    margin-right: 9px;
  }
}

/* ==================== 首页 - 板块五 End ==================== */
/* ==================== 首页 - 板块六 Start ==================== */
.index-section6 {
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}

.index-section6 .title {
  /* font-size: 40px; */
  margin-bottom: 40px;
  text-align: center;
  color: #333;
}

.index-section6 .item {
  text-align: left;
}

.index-section6 .item:hover .info .text1 {
  color: #193190;
}

.index-section6 .item:hover .info .index-btn {
  visibility: visible;
  opacity: 1;
}

.index-section6 .item .image {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.index-section6 .item .info {
  margin-top: 30px;
}

.index-section6 .item .info .time {
  font-size: 14px;
  line-height: 1.1;
  color: #999999;
}

.index-section6 .item .info .text1 {
  margin-top: 10px;
  /* font-size: 18px; */
  color: #333333;
  line-height: 1.1;
}

.index-section6 .item .info .index-btn {
  margin-top: 30px;
  background-color: #193190;
  color: #fff;
  border-color: #193190;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.4s,
    opacity 0.4s;
}

@media screen and (min-width: 1600px) {
  .index-section6 {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .index-section6 .title {
    /* font-size: 40px; */
    margin-bottom: 40px;
  }

  .index-section6 .item .image {
    border-radius: 10px;
  }

  .index-section6 .item .info {
    margin-top: 30px;
  }

  .index-section6 .item .info .time {
    font-size: 14px;
  }

  .index-section6 .item .info .text1 {
    margin-top: 10px;
    /* font-size: 18px; */
  }

  .index-section6 .item .info .index-btn {
    margin-top: 30px;
  }
}

@media screen and (max-width: 768px) {
  .index-section6 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .index-section6 .mxw-box {
    padding-left: 0;
    padding-right: 0;
  }

  .index-section6 .title {
    /* font-size: 24px; */
    margin-bottom: 20px;
  }

  .index-section6 .index-section6-swiper {
    padding-left: 20px;
  }

  .index-section6 .item .image {
    border-radius: 5px;
  }

  .index-section6 .item .info {
    margin-top: 15px;
  }

  .index-section6 .item .info .time {
    font-size: 14px;
  }

  .index-section6 .item .info .text1 {
    margin-top: 10px;
    /* font-size: 16px; */
  }

  .index-section6 .item .info .index-btn {
    opacity: 1;
    visibility: visible;
    margin-top: 30px;
  }
}

/* ==================== 首页 - 板块六 End ==================== */
/* ==================== 首页 - 板块七 Start ==================== */
/* ==================== 首页 - 板块七 End ==================== */
/* ==================== 首页 - 板块八 Start ==================== */
/* ==================== 首页 - 板块八 End ==================== */
/* ==================== 内页1 - 板块一 Start ==================== */
.ny1-section1 {
  position: relative;
}

.ny1-section1 .image {
  position: relative;
  z-index: 1;
}

.ny1-section1 .image img {
  width: 100%;
}

.ny1-section1 .info {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 2;
}

.ny1-section1 .info .text1 {
  font-size: 2.5vw;
  margin-bottom: 1.875vw;
  color: #193190;
  width: 42.5vw;
}

.ny1-section1 .info .text2 {
  font-size: 1.5vw;
  color: #333333;
  line-height: 1.8;
  text-align: justify;
  width: 42.5vw;
}

@media screen and (min-width: 1600px) {
  .ny1-section1 .info .text1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 30px;
    width: 680px;
  }

  .ny1-section1 .info .text2 {
    font-size: 24px;
    width: 680px;
  }
}

@media screen and (max-width: 768px) {
  .ny1-section1 .info {
    padding-right: 30px;
  }

  .ny1-section1 .info .text1 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 15px;
    width: 100%;
  }

  .ny1-section1 .info .text2 {
    font-size: 14px;
    width: 100%;
  }
}

/* ==================== 内页1 - 板块一 End ==================== */
/* ==================== 内页1 - tabs Start ==================== */
.ny1-tabs {
  background-color: #ffffff;
  box-shadow: 0vw 0vw 3.125vw 0vw rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 12;
}

.ny1-tabs .mxw-box,
.ny1-tabs .mxw-box2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ny1-tabs .tab-item {
  font-size: 1.125vw;
  color: #666666;
  position: relative;
  display: block;
  padding-top: 1.875vw;
  padding-bottom: 1.875vw;
  padding-left: 2.188vw;
  padding-right: 2.188vw;
}

.ny1-tabs .tab-item.active {
  color: #193190;
}

.ny1-tabs .tab-item.active:after {
  width: 100%;
}

.ny1-tabs .tab-item:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.188vw;
  background-color: #193190;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.4s;
  width: 0;
}

@media screen and (min-width: 1600px) {
  .ny1-tabs {
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);
  }

  .ny1-tabs .tab-item {
    font-size: 18px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 35px;
    padding-right: 35px;
  }

  .ny1-tabs .tab-item:after {
    height: 3px;
  }
}

@media screen and (max-width: 768px) {
  .ny1-tabs {
    top: 60px;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
  }

  .ny1-tabs .mxw-box {
    flex-wrap: wrap;
  }

  .ny1-tabs .tab-item {
    width: 32%;
    font-size: 14px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 9px;
    padding-right: 9px;
    text-align: center;
  }

  .ny1-tabs .tab-item:nth-child(3n-1) {
    margin-left: 2%;
    margin-right: 2%;
  }

  .ny1-tabs .tab-item:after {
    height: 3px;
  }
}

/* ==================== 内页1 - tabs End ==================== */
/* ==================== 内页1 - 板块二 Start ==================== */
.ny1-section2 {
  overflow: hidden;
  padding-bottom: 7.5vw;
}

.ny1-section2 .body {
  padding-top: 7.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ny1-section2 .body .image {
  width: 35.625vw;
  flex-shrink: 0;
  border-radius: 0.625vw;
  overflow: hidden;
}

.ny1-section2 .body .image img {
  width: 100%;
}

.ny1-section2 .body .body-right {
  width: 45vw;
  flex-shrink: 0;
}

.ny1-section2 .body .body-right .info {
  padding-right: 1.25vw;
  font-size: 1.125vw;
  line-height: 1.8;
  height: 13.125vw;
  overflow: auto;
  color: #333333;
  text-align: justify;
}

.ny1-section2 .body .body-right .info::-webkit-scrollbar {
  width: 0.375vw;
  height: 0.125vw;
  background: #ececec;
  border-radius: 6.25vw;
}

.ny1-section2 .body .body-right .info::-webkit-scrollbar-thumb {
  border-radius: 6.25vw;
  background: #193190;
  cursor: pointer;
}

.ny1-section2 .body .body-right .itembox {
  margin-top: 5vw;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ny1-section2 .body .body-right .item {
  position: relative;
  padding-right: 2.5vw;
}

.ny1-section2 .body .body-right .item .text1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.ny1-section2 .body .body-right .item .text1 span:nth-child(1) {
  font-size: 3vw;
  font-weight: bold;
  color: #193190;
  line-height: 1;
}

.ny1-section2 .body .body-right .item .text1 span:nth-child(2) {
  font-size: 1.125vw;
  color: #333333;
  line-height: 1.1;
  margin-top: 0.625vw;
  position: absolute;
  right: 0;
  white-space: nowrap;
}

.ny1-section2 .body .body-right .item .text2 {
  margin-top: 0.625vw;
  font-size: 1.125vw;
  color: #333333;
  text-align: center;
}

.ny1-section2 .body2 {
  padding-top: 7.5vw;
}

.ny1-section2 .body2 .itembox {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.ny1-section2 .body2 .item {
  width: 32%;
  position: relative;
  border-radius: 0.625vw;
  overflow: hidden;
  border-bottom: 1.875vw solid #193190;
}

.ny1-section2 .body2 .item:hover .image img {
  transform: scale(1.1);
}

.ny1-section2 .body2 .item:nth-child(3n-1) {
  margin-left: 2%;
  margin-right: 2%;
}

.ny1-section2 .body2 .item .info {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3.75vw 2.188vw;
  padding-bottom: 4.375vw;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  z-index: 2;
}

/* 2025-2-28 修改 */
.ny1-section2 .body2 .item .info .text1 {
  font-size: 2.625vw;
  /* line-height: 1.8; */
  line-height: 1.2;
  font-weight: bold;
}

/* 2025-2-28 修改 */
.ny1-section2 .body2 .item .info .text2 {
  font-size: 1.25vw;
  /* line-height: 1.6; */
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* justify-content: flex-start; */
  justify-content: space-between;
  min-height: 6.25vw;
}

/* 2025-2-28 修改 */
.ny1-section2 .body2 .item .info .text2 span {
  /* width: 32%; */
  padding: 0.25vw 0.625vw;
  text-align: center;
  font-size: 1.125vw;
  color: #666666;
  border-radius: 6.25vw;
  background-color: #fff;
  width: 96%;
  /* margin-bottom: 7px; */
  margin-bottom: clamp(10px, 0.7813vw, 15px);
}

/* 2025-2-28 修改 */
/* .ny1-section2 .body2 .item .info .text2 span:nth-child(3n-1) {
  margin-left: 2%;
  margin-right: 2%;
} */
/* .ny1-section2 .body2 .item .info .text2 span:nth-child(3) ~ span {
  margin-top: 2%;
} */
.ny1-section2 .body2 .item .image img {
  transition: all 0.5s;
}

@media screen and (min-width: 1600px) {
  .ny1-section2 {
    padding-bottom: 120px;
  }

  .ny1-section2 .body {
    padding-top: 120px;
  }

  .ny1-section2 .body .image {
    width: 570px;
    border-radius: 10px;
  }

  .ny1-section2 .body .body-right {
    width: 720px;
  }

  .ny1-section2 .body .body-right .info {
    padding-right: 20px;
    font-size: 18px;
    height: 220px;
  }

  .ny1-section2 .body .body-right .info::-webkit-scrollbar {
    width: 6px;
    height: 2px;
    border-radius: 100px;
  }

  .ny1-section2 .body .body-right .info::-webkit-scrollbar-thumb {
    border-radius: 100px;
  }

  .ny1-section2 .body .body-right .itembox {
    margin-top: 80px;
  }

  .ny1-section2 .body .body-right .item {
    padding-right: 40px;
  }

  .ny1-section2 .body .body-right .item .text1 span:nth-child(1) {
    font-size: 48px;
  }

  .ny1-section2 .body .body-right .item .text1 span:nth-child(2) {
    font-size: 18px;
    margin-top: 10px;
  }

  .ny1-section2 .body .body-right .item .text2 {
    margin-top: 10px;
    font-size: 18px;
  }

  .ny1-section2 .body2 {
    padding-top: 120px;
  }

  .ny1-section2 .body2 .item {
    border-radius: 10px;
    border-bottom: 30px solid #193190;
  }

  .ny1-section2 .body2 .item .info {
    padding: 60px 35px;
    padding-bottom: 70px;
  }

  .ny1-section2 .body2 .item .info .text1 {
    font-size: 42px;
  }

  .ny1-section2 .body2 .item .info .text2 {
    font-size: 20px;
    min-height: 100px;
  }

  /* 2025-2-28 修改 */
  .ny1-section2 .body2 .item .info .text2 span {
    padding: 4px 10px;
    font-size: 18px;
    border-radius: 100px;
  }
}

@media screen and (max-width: 768px) {
  .ny1-section2 {
    padding-bottom: 60px;
  }

  .ny1-section2 .body {
    padding-top: 60px;
    display: block;
  }

  .ny1-section2 .body .image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 30px;
  }

  .ny1-section2 .body .body-right {
    width: 100%;
  }

  .ny1-section2 .body .body-right .info {
    padding-right: 0;
    font-size: 14px;
    height: auto;
  }

  .ny1-section2 .body .body-right .info::-webkit-scrollbar {
    width: 6px;
    height: 2px;
    border-radius: 50px;
  }

  .ny1-section2 .body .body-right .info::-webkit-scrollbar-thumb {
    border-radius: 50px;
  }

  .ny1-section2 .body .body-right .itembox {
    margin-top: 40px;
    flex-wrap: wrap;
  }

  .ny1-section2 .body .body-right .item {
    padding-right: 0;
    width: 50%;
  }

  .ny1-section2 .body .body-right .item:nth-child(2)~.item {
    margin-top: 20px;
  }

  .ny1-section2 .body .body-right .item .text1 span:nth-child(1) {
    font-size: 30px;
  }

  .ny1-section2 .body .body-right .item .text1 span:nth-child(2) {
    position: static;
    font-size: 14px;
    margin-top: 5px;
    margin-left: 5px;
  }

  .ny1-section2 .body .body-right .item .text2 {
    margin-top: 10px;
    font-size: 14px;
  }

  .ny1-section2 .body2 {
    padding-top: 60px;
  }

  .ny1-section2 .body2 .itembox {
    flex-wrap: wrap;
  }

  .ny1-section2 .body2 .item {
    width: 100%;
    border-radius: 5px;
    border-bottom: 6px solid #193190;
    margin-bottom: 20px;
  }

  .ny1-section2 .body2 .item:last-child {
    margin-bottom: 0;
  }

  .ny1-section2 .body2 .item:nth-child(3n-1) {
    margin-left: 0;
    margin-right: 0;
  }

  .ny1-section2 .body2 .item .info {
    padding: 20px 18px;
    padding-bottom: 20px;
  }

  .ny1-section2 .body2 .item .info .text1 {
    font-size: 21px;
  }

  .ny1-section2 .body2 .item .info .text2 {
    font-size: 14px;
    min-height: inherit;
  }

  .ny1-section2 .body2 .item .info .text2 span {
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 50px;
  }
}

/* ==================== 内页1 - 板块二 End ==================== */
/* ==================== 内页1 - 板块三 Start ==================== */
.ny1-section3 {
  background-color: #f8f8f8;
  padding-top: 7.5vw;
  padding-bottom: 7.5vw;
  overflow: hidden;
}

.ny1-section3 .title {
  text-align: center;
  display: block;
  margin-bottom: 3.75vw;
}

.ny1-section3 .title .text1 {
  font-size: 2.5vw;
  line-height: 1.1;
}

.ny1-section3 .title .text2 {
  margin-top: 0.938vw;
  font-size: 1.375vw;
  line-height: 1.6;
}

.ny1-section3 .itembox {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.ny1-section3 .item {
  width: 23.5%;
  position: relative;
  margin-right: 2%;
  border-radius: 0.625vw;
  overflow: hidden;
  transition: all 0.4s;
}

.ny1-section3 .item.active {
  width: 33.75vw;
  flex-shrink: 0;
}

.ny1-section3 .item.active .item-text1 {
  opacity: 0;
  visibility: hidden;
}

.ny1-section3 .item.active .info {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ny1-section3 .item:nth-child(4) {
  margin-right: 0;
}

.ny1-section3 .item:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
  position: absolute;
  top: 0;
  left: 0;
}

.ny1-section3 .item .item-text1 {
  font-size: 2vw;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3.75vw 2.5vw;
  line-height: 1.1;
  z-index: 3;
  transition: all 0.4s;
}

.ny1-section3 .item .info {
  width: 33.75vw;
  padding: 2.5vw 3.75vw;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.ny1-section3 .item .info .text1 {
  font-size: 2vw;
  line-height: 1.1;
  margin-bottom: 0.938vw;
  font-weight: bold;
}

.ny1-section3 .item .info .text2 {
  font-size: 1.375vw;
  line-height: 1.2;
  margin-bottom: 2.188vw;
}

.ny1-section3 .item .info .text3 {
  font-size: 1vw;
  line-height: 1.8;
  text-align: justify;
}

.ny1-section3 .item .image {
  height: 41.875vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (min-width: 1600px) {
  .ny1-section3 {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .ny1-section3 .title {
    margin-bottom: 60px;
  }

  .ny1-section3 .title .text1 {
    font-size: 40px;
  }

  .ny1-section3 .title .text2 {
    margin-top: 15px;
    font-size: 22px;
  }

  .ny1-section3 .item {
    border-radius: 10px;
  }

  .ny1-section3 .item.active {
    width: 540px;
  }

  .ny1-section3 .item .item-text1 {
    font-size: 32px;
    padding: 60px 40px;
  }

  .ny1-section3 .item .info {
    width: 540px;
    padding: 40px 60px;
  }

  .ny1-section3 .item .info .text1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .ny1-section3 .item .info .text2 {
    font-size: 22px;
    margin-bottom: 35px;
  }

  .ny1-section3 .item .info .text3 {
    font-size: 16px;
  }

  .ny1-section3 .item .image {
    height: 670px;
  }
}

@media screen and (max-width: 768px) {
  .ny1-section3 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .ny1-section3 .title {
    margin-bottom: 30px;
  }

  .ny1-section3 .title .text1 {
    font-size: 22px;
    font-weight: bold;
  }

  .ny1-section3 .title .text2 {
    margin-top: 10px;
    font-size: 14px;
  }

  .ny1-section3 .itembox {
    display: block;
  }

  .ny1-section3 .item {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .ny1-section3 .item:last-child {
    margin-bottom: 0;
  }

  .ny1-section3 .item.active {
    width: 100%;
  }

  .ny1-section3 .item .item-text1 {
    font-size: 8px;
    padding: 60px 20px;
    display: none;
  }

  .ny1-section3 .item .info {
    width: 100%;
    padding: 20px 20px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .ny1-section3 .item .info .text1 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .ny1-section3 .item .info .text2 {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .ny1-section3 .item .info .text3 {
    font-size: 12px;
  }

  .ny1-section3 .item .image {
    height: 335px;
  }
}

/* ==================== 内页1 - 板块三 End ==================== */
/* ==================== 内页1 - 板块四 Start ==================== */
.ny1-section4 {
  background-color: #fff;
  position: relative;
  padding-top: 7.5vw;
  padding-bottom: 7.5vw;
  overflow: hidden;
}

.ny1-section4 .title {
  text-align: center;
  font-size: 2.5vw;
  margin-bottom: 3.75vw;
}

.ny1-section4 .image {
  width: 71.25vw;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.125vw;
}

.ny1-section4 .swiper {
  position: relative;
}

/* 2025-3-21 修改居中 */
.ny1-section4 .swiper .image2 {
  border-radius: 0.625vw;
  overflow: hidden;
  border: 1px solid #193190;
  text-align: center;
}

.ny1-section4 .swiper .swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ny1-section4 .swiper .swiper-button::after {
  font-size: 1.5vw;
  color: #193190;
}

.ny1-section4 .swiper .swiper-button.swiper-button-prev {
  left: -2.938vw;
}

.ny1-section4 .swiper .swiper-button.swiper-button-next {
  right: -2.938vw;
}

@media screen and (min-width: 1600px) {
  .ny1-section4 {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .ny1-section4 .title {
    font-size: 40px;
    margin-bottom: 60px;
  }

  .ny1-section4 .image {
    width: 1140px;
    margin-bottom: 50px;
  }

  .ny1-section4 .swiper .image2 {
    border-radius: 10px;
  }

  .ny1-section4 .swiper .swiper-button::after {
    font-size: 24px;
  }

  .ny1-section4 .swiper .swiper-button.swiper-button-prev {
    left: -47px;
  }

  .ny1-section4 .swiper .swiper-button.swiper-button-next {
    right: -47px;
  }
}

@media screen and (max-width: 768px) {
  .ny1-section4 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .ny1-section4 .title {
    font-size: 16px;
    margin-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .ny1-section4 .image {
    width: 100%;
    margin-bottom: 25px;
  }

  .ny1-section4 .swiper .image2 {
    border-radius: 10px;
  }

  .ny1-section4 .swiper .swiper-button {
    margin: 0;
  }

  .ny1-section4 .swiper .swiper-button::after {
    font-size: 20px;
  }

  .ny1-section4 .swiper .swiper-button.swiper-button-prev {
    left: -20px;
  }

  .ny1-section4 .swiper .swiper-button.swiper-button-next {
    right: -20px;
  }
}

/* ==================== 内页1 - 板块四 End ==================== */
/* ==================== 内页1 - 板块五 Start ==================== */
.ny1-section5 {
  padding-top: 6.875vw;
  padding-bottom: 8.75vw;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: #175c97;
  background-size: 100%;
  overflow: hidden;
}

.ny1-section5 .title {
  font-size: 2.5vw;
  color: #fff;
  margin-bottom: 4.375vw;
  text-align: center;
  display: block;
  width: 100%;
}

.ny1-section5 .swiper {
  position: relative;
}

.ny1-section5 .swiper .ny1-section5-swiper {
  padding-bottom: 1.25vw;
  user-select: none;
}

.ny1-section5 .swiper .swiper-slide-active .item .year1 {
  opacity: 1;
  visibility: visible;
}

.ny1-section5 .swiper .swiper-slide-active .item .year2 {
  /* font-size: 1.75vw; */
  font-size: max(18px, 3vw);
  font-weight: bold;
}

.ny1-section5 .swiper:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.125vw;
  position: absolute;
  bottom: 1.25vw;
  left: 0;
  background-color: #ffffff;
  background: -webkit-linear-gradient(to left, transparent, #fff, transparent);
  background: -o-linear-gradient(to left, transparent, #fff, transparent);
  background: -moz-linear-gradient(to left, transparent, #fff, transparent);
  background: linear-gradient(to left, transparent, #fff, transparent);
}

.ny1-section5 .swiper .item {
  position: relative;
  padding-top: 7.5vw;
  text-align: center;
  cursor: pointer;
}

.ny1-section5 .swiper .item .year1 {
  font-size: 8vw;
  line-height: 1.1;
  text-align: center;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.2));
  -webkit-background-clip: text;
  color: transparent;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}


/* === YXY → CNLINKO BRIDGE: uniform aesthetics === */
.mxw-box { max-width: 1400px; margin-left: auto; margin-right: auto; }
@media (max-width: 1480px) { .mxw-box { padding-left: 40px; padding-right: 40px; } }
.container { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.font40 { font-size: 40px; line-height: 1.1; }
.font26 { font-size: 26px; }
.font24 { font-size: 24px; }
.font22 { font-size: 22px; }
.font18 { font-size: 18px; }
.font16 { font-size: 16px; }
@media (max-width: 768px) {
  .font40 { font-size: 24px; }
  .font26 { font-size: 16px; }
  .font24 { font-size: 18px; }
  .font18 { font-size: 14px; }
  .font16 { font-size: 14px; }
}
.index-btn {
  padding: 8px 15px;
  border: 1px solid;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  font-size: var(--bf, 14px);
  color: #fff;
  transition: background-color 0.4s, color 0.4s;
  text-decoration: none;
}
.index-btn:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid;
  border-right: 1px solid;
  transform: rotate(45deg);
  margin-left: 4px;
}
.index-btn:hover, .index-btn.active { background-color: #fff; color: #333; }
.index-section2 .index-btn.active, .index-section3 .index-btn.active, .index-section4 .index-btn.active, .index-section6 .index-btn { background-color: #193190; color: #fff; border-color: #193190; }
.index-section2 .index-btn.active:hover, .index-section3 .index-btn.active:hover, .index-section4 .index-btn.active:hover { background-color: #12276f; }

/* === BRIDGE: Apps (cn-apps) → index-section3 aesthetics === */
.index-section3 { background-size: cover; background-position: center; background-attachment: fixed; padding-top: 120px; padding-bottom: 120px; }
.index-section3 .cn-apps-inner { display: flex; align-items: center; justify-content: space-between; max-width: 100%; }
.index-section3 .cn-apps-left { width: 360px; flex-shrink: 0; max-width: 360px; }
.index-section3 .cn-apps-left .cn-eyebrow { color: #fff; font-size: 22px; margin: 0 0 20px; }
.index-section3 .cn-apps-left .cn-section-title { color: #fff; font-size: 40px; line-height: 1.1; margin: 0; }
.index-section3 .cn-apps-left .cn-apps-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.85;
    margin-top: 24px;
    letter-spacing: 0.01em;
}
.index-section3 .cn-apps-list { display: table; margin-top: 50px; }
.index-section3 .cn-apps-list li { border: none; margin-bottom: 20px; }
.index-section3 .cn-apps-list li a {
  padding: 15px 20px;
  border: 1px solid #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
  text-decoration: none;
}
.index-section3 .cn-apps-list li a:hover,
.index-section3 .cn-apps-list li a.active { background-color: #193190; border-color: #193190; color: #fff; }
.index-section3 .cn-apps-list li a::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  margin-left: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: border-color 0.4s;
}
.index-section3 .cn-apps-list li a.active::after { opacity: 1; }
.index-section3 .cn-apps-right { width: 930px; flex-shrink: 0; position: relative; }
.index-section3 .cn-app-card {
  display: flex; flex-flow: column; width: 100%; border-radius: 10px; overflow: hidden; background: #fff;
}
.index-section3 .cn-app-media img { width: 100%; display: block; }
.index-section3 .cn-app-body { padding: 30px 35px; background: #fff; flex-grow: 1; }
.index-section3 .cn-app-body h3 { font-size: 24px; margin: 0; color: #333; }
.index-section3 .cn-app-body .cn-app-series { display: block; margin-top: 10px; font-size: 18px; color: #193190; }
.index-section3 .cn-app-body .cn-app-desc { margin: 18px 0 6px; font-size: 15px; line-height: 1.8; color: #4a4a4a; }
.index-section3 .cn-app-body .index-btn { margin-top: 20px; color: #888; border-color: #888; }
.index-section3 .cn-app-body .index-btn:hover { background: #193190; color: #fff; border-color: #193190; }
@media (max-width: 1024px) {
  .index-section3 .cn-apps-inner { flex-direction: column; gap: 40px; }
  .index-section3 .cn-apps-left, .index-section3 .cn-apps-right { width: 100%; max-width: 100%; }
}
@media (max-width: 768px) {
  .index-section3 { padding-top: 60px; padding-bottom: 60px; background-attachment: inherit; }
}

/* === BRIDGE: Series (cn-series) → index-section4 aesthetics === */
.index-section4 { background-size: cover; background-position: center; padding-top: 80px; padding-bottom: 80px; overflow: hidden; }
.index-section4 .cn-section-title, .index-section4 .cn-section-sub { color: #333; text-align: center; }
.index-section4 .cn-series-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0; }
.index-section4 .cn-series-tab {
  padding: 11px 22px; border: 1px solid #ddd; border-radius: 100px; background: #fff; color: #333; font-size: 14px; cursor: pointer; transition: all 0.3s;
}
.index-section4 .cn-series-tab:hover { border-color: #193190; color: #193190; }
.index-section4 .cn-series-tab.is-active { background: #193190; border-color: #193190; color: #fff; }
.index-section4 .cn-series-item {
  display: flex; align-items: stretch; gap: 0; background: #fff; border-radius: 10px; overflow: hidden;
}
.index-section4 .cn-series-media { flex: 1 1 50%; min-height: 340px; background: #f8f8f8; }
.index-section4 .cn-series-media img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.index-section4 .cn-series-info { flex: 1 1 50%; padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.index-section4 .cn-series-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #193190; text-transform: uppercase; margin-bottom: 8px; }
.index-section4 .cn-series-info h3 { font-size: 30px; font-weight: 800; margin: 0 0 14px; color: #1a1a2e; }
@media (max-width: 900px) {
  .index-section4 .cn-series-item { flex-direction: column; }
  .index-section4 .cn-series-media { min-height: 240px; }
}

/* === FIX: Products and News as grid (not broken swiper) === */
.index-section2 .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  transform: none !important;
}
.index-section2 .swiper-slide {
  width: auto !important;
  padding-top: 0 !important;
  flex-shrink: 1 !important;
}
.index-section2 .swiper .swiper-button,
.index-section2 .swiper-pagination { display: none !important; }
@media (max-width: 1024px) {
  .index-section2 .swiper-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .index-section2 .swiper-wrapper { grid-template-columns: 1fr; }
}
.index-section6 .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transform: none !important;
}
.index-section6 .swiper-slide { width: auto !important; }
.index-section6 .swiper-pagination { display: none !important; }
@media (max-width: 1024px) {
  .index-section6 .swiper-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .index-section6 .swiper-wrapper { grid-template-columns: 1fr; }
}

/* === FIX: Products cards - info below image with white bg (not overlay) === */
.index-section2 .swiper .item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.index-section2 .swiper .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.index-section2 .swiper .image { position: static; }
.index-section2 .swiper .image img { display: block; width: 100%; height: auto; }
.index-section2 .swiper .info {
  position: static !important;
  background: #fff !important;
  padding: 24px 20px !important;
  text-align: left;
}
.index-section2 .swiper .info .text1 { color: #1a1a2e !important; font-weight: 700; }
.index-section2 .swiper .info .text2 { color: #555 !important; min-height: auto !important; }

/* === FIX: remaining gaps vs cnlinko === */
/* Products title not cut off by hero */
.index-section2 { padding-top: 80px; }
.index-section2 .title { margin-top: 0 !important; padding-top: 20px; }
/* Connection Interface dashed line - pure-CSS gradient (was a hotlinked
   cnlinko.com PNG that 404'd whenever that server refused the request) */
.index-section2 .tabs::after,
.index-section2 .index-section2-down::after {
  content: "";
  display: block;
  width: 780px;
  height: 16px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0) 80%) no-repeat center bottom !important;
  background-size: 100% !important;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  /* Both decorative rules need the cap. `.index-section2-down::after` used to
     be missed here, so it kept the desktop 780px width: centred with
     translateX(-50%) on a 390px screen it reached x = 585px, i.e. 195px of
     horizontal page scroll. Keep the two selectors together. */
  .index-section2 .tabs::after,
  .index-section2 .index-section2-down::after { width: 90%; height: 8px; }
}
/* Applications left list visible at all widths */
.index-section3 .cn-apps-inner { align-items: flex-start; }
.index-section3 .cn-apps-left { display: block !important; }
/* Service Platform ensure bg visible */
.index-section5 { min-height: 400px; background-size: cover !important; background-position: center !important; }
/* Latest News grid ensure 3 visible even with 1 post - use placeholders via CSS if needed */

/* === FIX: Latest News images visible for all 3 === */
.index-section6 .item .image { display: block; overflow: hidden; border-radius: 10px; }
.index-section6 .item .image img { display: block; width: 100%; height: auto; }
.index-section6 .mxw-box .swiper-wrapper { align-items: stretch; }
.index-section6 .swiper-slide .item { height: 100%; display: flex; flex-direction: column; }
.index-section6 .item .info { flex-grow: 1; }
/* Products title not clipped */
.index-section2 { padding-top: 100px !important; }
.index-section2 .title.font40 { padding-top: 0; margin-top: 0; }

/* === FIX: Header transparent over hero like cnlinko (restore after homepage append) === */
.yxy-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(14px);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, margin-bottom 0.3s ease;
}
.yxy-header:not(.is-white) {
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  margin-bottom: -80px !important;
}
.yxy-header.is-white {
  background: #fff !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  margin-bottom: 0 !important;
}

/* === FIX: Products gap after title + equal card heights === */
.index-section2 .title.font40 {
  margin-bottom: 48px !important;
}
.index-section2 .swiper-wrapper {
  align-items: stretch !important;
}
.index-section2 .swiper .item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.index-section2 .swiper .image {
  height: 280px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}
.index-section2 .swiper .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.index-section2 .swiper .info {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.index-section2 .swiper .info .text2 {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.index-section2 .swiper .info .index-btn {
  margin-top: auto !important;
  align-self: flex-start !important;
}

/* === FIX: perfect equal heights + bottom gap === */
.index-section2 .swiper-wrapper {
  grid-auto-rows: 1fr !important;
}
.index-section2 .swiper .item {
  min-height: 0 !important;
}
.index-section2 .swiper .info {
  min-height: 180px !important;
}
/* Gap after Products cards before Connection Interface Type */
.index-section2-down {
  margin-top: 80px !important;
  padding-top: 60px !important;
}
@media (min-width: 768px) {
  .index-section2-down { padding-top: 80px !important; }
}

/* === FINAL: perfect equal heights + larger gap === */
.index-section2 .swiper .item {
  height: 540px !important;
}
.index-section2 .swiper .info {
  height: auto !important;
  flex: 1 1 auto !important;
}
.index-section2 {
  padding-bottom: 60px !important;
}
.index-section2-down {
  margin-top: 100px !important;
  padding-top: 40px !important;
}
.index-section2-down .title-box {
  text-align: center;
}
.index-section2-down .title-box .title,
.index-section2-down .title-box .text1 {
  margin-left: auto;
  margin-right: auto;
}

/* === FIX: button above text - clamp desc to 4 lines, button below === */
.index-section2 .swiper .info .text2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex: none !important;
  min-height: 0 !important;
  margin-bottom: 16px !important;
}
.index-section2 .swiper .info .index-btn {
  position: relative !important;
  z-index: 1 !important;
}

/* === FIX: arrows gap from border (Marine & Offshore) === */
.index-section3 .cn-swiper-arrow--prev,
.index-section3 .body .right .swiper-button.swiper-button-prev {
  left: 24px !important;
}
.index-section3 .cn-swiper-arrow--next,
.index-section3 .body .right .swiper-button.swiper-button-next {
  right: 24px !important;
}
/* Also hero arrows if needed */
.cn-hero-arrow--prev { left: 24px !important; }
.cn-hero-arrow--next { right: 24px !important; }
@media (max-width: 768px) {
  .index-section3 .cn-swiper-arrow--prev { left: 12px !important; }
  .index-section3 .cn-swiper-arrow--next { right: 12px !important; }
  .cn-hero-arrow--prev { left: 12px !important; }
  .cn-hero-arrow--next { right: 12px !important; }
}

/* === FIX: Learn More button text white (was #888 on white) === */
.cn-app-body .index-btn,
.index-section3 .cn-app-body .index-btn,
.cn-apps-right .index-btn,
.cn-app-card .index-btn {
  color: #fff !important;
  background: #193190 !important;
  border-color: #193190 !important;
}
.cn-app-body .index-btn:hover,
.index-section3 .cn-app-body .index-btn:hover {
  background: #12276f !important;
  border-color: #12276f !important;
  color: #fff !important;
}

/* === UNIFY: Products (index-section2) — 4-card Learn More buttons: single exact visual style === */
.index-section2 .swiper .item .info .index-btn,
.index-section2 .swiper .item .info .index-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 15px !important;
  border-radius: 100px !important;
  border: 1px solid #193190 !important;
  background-color: #193190 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  overflow: hidden !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  margin-top: auto !important;
  align-self: flex-start !important;
  text-transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
}
.index-section2 .swiper .item .info .index-btn.active,
.index-section2 .swiper .item .info .index-btn:hover,
.index-section2 .swiper .item .info .index-btn:focus {
  background-color: #193190 !important;
  border-color: #193190 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.index-section2 .swiper .item .info .index-btn::after {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-top: 1px solid #ffffff !important;
  border-right: 1px solid #ffffff !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  transform: rotate(45deg) !important;
  margin-top: -2px !important;
  margin-left: 4px !important;
  margin-right: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.index-section2 .swiper .item .info .index-btn::before {
  content: none !important;
  display: none !important;
}
/* Equalize 4 product-card heights so buttons align horizontally */
.index-section2 .swiper-wrapper {
  align-items: stretch !important;
  display: flex !important;
}
.index-section2 .swiper-slide {
  height: auto !important;
}
.index-section2 .swiper .item {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.index-section2 .swiper .item .info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* === FINAL (authoritative): equal-size + fully responsive Products cards ===
   Consolidates all earlier conflicting overrides. The wrapper is a CSS grid
   (not flex) so widths are always equal per column and it reflows from
   4 → 2 → 1 columns on smaller screens. */
.index-section2 .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: 1fr !important;
  gap: 28px !important;
  align-items: stretch !important;
  transform: none !important;
}
.index-section2 .swiper-slide {
  width: auto !important;
  height: auto !important;
  padding-top: 0 !important;
  min-width: 0 !important;
}
.index-section2 .swiper .item,
.index-section2 .swiper .item .info {
  height: 100% !important;
  min-height: 0 !important;
}
.index-section2 .swiper .image {
  flex-shrink: 0 !important;
}
.index-section2 .swiper .info .text2 {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
@media (max-width: 1024px) {
  .index-section2 .swiper-wrapper { grid-template-columns: repeat(2, 1fr) !important; }
  .index-section2 .swiper .image { height: 240px !important; }
}
@media (max-width: 640px) {
  .index-section2 .swiper-wrapper { grid-template-columns: 1fr !important; }
  .index-section2 .swiper .image { height: 200px !important; }
  .index-section2 .swiper .item .info { padding: 20px 16px !important; }
}

/* === FIX: Product Series cards force FULL left-aligned content (title + tag + sub + bullets + btn) === */
.index-section4 .cn-series-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
}
.index-section4 .cn-series-info h3,
.index-section4 .cn-series-tag,
.index-section4 .cn-series-sub,
.index-section4 .cn-series-feats,
.index-section4 .cn-series-feats li {
  width: 100% !important;
  text-align: left !important;
  align-self: flex-start !important;
}
.index-section4 .cn-series-feats {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.index-section4 .cn-series-feats li {
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

/* ── Temporarily hide prices in product listings (inquiry-only mode) ──
   Applies to all WooCommerce product loops: shop archive, showcase pages,
   category archives, related products. Single-product main price unaffected. */
.products .product .price,
.yxy-price-quote {
	display: none !important;
}

/* ============================================================================
   MOBILE POLISH — authoritative block, keep last.
   Every rule here was measured on the live site at 320/360/390/414/768/1024px
   before being added; see scratch/mobile-audit/ for the harness.
   ============================================================================ */

/* Header row at phone widths.
   The desktop wordmark (22px, 0.25em tracking, 220px max) plus the language
   switcher plus the burger did not fit in a 360-414px container, so the
   switcher was pushed past the right edge and the whole page could be dragged
   sideways. The logo column now absorbs the slack and the wordmark truncates. */
@media (max-width: 520px) {
    .yxy-header .yxy-header-inner {
        padding: 10px 12px;
        gap: 8px;
    }

    .yxy-header .yxy-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .yxy-header .yxy-logo a {
        min-width: 0;
        gap: 8px;
    }

    .yxy-header .yxy-logo img {
        max-height: 38px;
    }

    .yxy-header .yxy-logo-text {
        min-width: 0;
    }

    .yxy-header .yxy-logo-wordmark {
        font-size: 15px;
        letter-spacing: 0.06em;
        max-width: none;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .yxy-lang-mobile {
        flex: 0 0 auto;
        margin-left: 0;
    }

    /* Language toggle: 40% smaller than the 44px box it previously had here
       (44 -> 26px), which read as bulky beside the logo on a phone.
       The `.yxy-lang-mobile` prefix is load-bearing: the compact rule in
       assets/i18n/i18n.css (`.yxy-lang-switch--compact .yxy-lang-btn`,
       specificity 0-2-0) outranks a bare `.yxy-lang-btn` (0-1-0), so without
       the prefix its 9px horizontal padding survives and the control does not
       actually shrink. */
    .yxy-lang-mobile .yxy-lang-btn {
        position: relative;
        min-height: 26px;
        min-width: 26px;
        padding: 3px 6px;
        font-size: 12px;
    }

    /* Keep a thumb-sized hit area without the visual bulk: the pill renders
       26px tall but stays tappable across ~44px. The insets are vertical only,
       so neighbouring buttons never overlap. */
    .yxy-lang-mobile .yxy-lang-btn::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -9px;
        bottom: -9px;
    }

    .yxy-lang-mobile .yxy-lang-sep {
        height: 9px;
    }

    /* Burger at half size (44 -> 22px box), as requested. Every part scales
       with it — radius, the three lines, and the gap between them — so the X
       animation's translateY has to match the new 5px line spacing. */
    .yxy-nav-toggle {
        position: relative;
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        min-height: 22px;
        border-radius: 6px;
        gap: 3.5px;
    }

    .yxy-nav-toggle span {
        width: 11px;
        height: 1.5px;
    }

    .yxy-nav-toggle.is-active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .yxy-nav-toggle.is-active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

    /* A 22px box is below the comfortable thumb target, so extend the hit area
       back out to ~44px. The left inset stops at the header's 8px gap so it
       cannot steal taps from the language switcher beside it. */
    .yxy-nav-toggle::after {
        content: "";
        position: absolute;
        left: -8px;
        right: -11px;
        top: -11px;
        bottom: -11px;
    }
}

/* The registered-entity line drops to 10px below 980px; keep it legible. */
@media (min-width: 481px) and (max-width: 980px) {
    .yxy-logo-legal {
        font-size: 11px;
    }
}

/* The landing-page eyebrow labels were 11px, under the legible floor. */
@media (max-width: 768px) {
    .cn-lp-hero-tag,
    .cn-lp-file-label,
    .cn-lp-file-sub,
    .cn-lp-nda-txt {
        font-size: 12px;
    }
}
