*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--nyw-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--nyw-dark);
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-top {
    background: linear-gradient(135deg, #111111 0%, var(--nyw-dark) 50%, #222222 100%);
    color: var(--nyw-text-light);
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: rgba(255,255,255,0.85);
    transition: all 0.3s;
}

.header-top a:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(40, 73, 168, 0.5);
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-header {
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-main {
    background: var(--nyw-white);
    padding: 6px 0 0 0;
    position: relative;
    z-index: 100;
    border-bottom: none;
}

.header-main-inner {
    display: flex;
    align-items: center;
}

.header-logo {
    flex: 0 0 170px;
    position: relative;
    z-index: 101;
}

.header-logo a {
    display: block;
    position: relative;
}

.header-logo img {
    max-height: 110px;
    width: auto;
    position: relative;
    margin-bottom: -52px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.35));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header-logo img:hover {
    filter: drop-shadow(0 6px 25px rgba(40, 73, 168, 0.5)) brightness(1.05);
    transform: scale(1.03);
}

.header-logo::after {
    content: '';
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(40, 73, 168, 0.4), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s;
}

.header-logo:hover::after {
    opacity: 1;
}

.site-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nyw-primary);
    text-decoration: none;
}

.site-title:hover {
    color: var(--nyw-primary-dark);
}

.header-search {
    flex: 1;
    max-width: 450px;
    margin: 0 auto;
}

.search-form {
    display: flex;
}

.search-form {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.search-form input[type="text"],
.search-form input[type="search"] {
    border: 1px solid var(--nyw-border);
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 8px 14px;
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
    min-width: 0;
    background: var(--nyw-bg-light);
}

.search-form input[type="text"]:focus,
.search-form input[type="search"]:focus {
    border-color: var(--nyw-primary);
    background: var(--nyw-white);
    box-shadow: inset 0 0 0 1px var(--nyw-primary);
}

.search-form button {
    background: linear-gradient(180deg, var(--nyw-primary) 0%, var(--nyw-primary-dark) 100%);
    color: var(--nyw-white);
    border: none;
    padding: 8px 18px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-form button:hover {
    background: linear-gradient(180deg, var(--nyw-primary-dark) 0%, #162d6e 100%);
    box-shadow: 0 2px 6px rgba(40, 73, 168, 0.3);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
}

.cta-label {
    font-size: 10px;
    color: var(--nyw-text-light);
    display: block;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--nyw-primary);
    transition: color 0.3s;
}

.cta-number:hover {
    color: var(--nyw-primary-dark);
}

.header-nav {
    background: linear-gradient(180deg, var(--nyw-primary) 0%, var(--nyw-primary-dark) 100%);
    position: relative;
    z-index: 99;
    box-shadow: 0 3px 12px rgba(40, 73, 168, 0.25);
}

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

.header-nav > .container {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 0 0 190px;
}

.nav-menu > li {
    position: static;
}

.nav-menu > li > a {
    color: var(--nyw-white);
    padding: 11px 20px;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--nyw-white);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-menu > li:hover > a::after,
.nav-menu > li.current-menu-item > a::after {
    width: 60%;
}

.nav-menu > li:hover > a {
    background: rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 8px rgba(255,255,255,0.15);
}

.nav-menu > li.current-menu-item > a {
    background: rgba(255, 255, 255, 0.15);
}

.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 20px 24px;
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 100;
    list-style: none;
    border-radius: 0 0 10px 10px;
    border-top: 3px solid var(--nyw-primary);
}

.has-mega-menu:hover > .mega-menu {
    display: flex;
}

.mega-menu > li {
    flex: 1 1 auto;
    min-width: 0;
    list-style: none;
    padding: 0;
}

.mega-menu li ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--nyw-dark);
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 500;
    text-transform: none;
    background: var(--nyw-white);
    border: 1px solid #e8eaed;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.mega-menu > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--nyw-primary);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.mega-menu > li > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--nyw-primary);
    border-bottom: 1.5px solid var(--nyw-primary);
    transform: rotate(-45deg);
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.mega-menu > li > a:hover {
    color: var(--nyw-primary);
    background: rgba(40, 73, 168, 0.04);
    border-color: rgba(40, 73, 168, 0.2);
    box-shadow: 0 2px 8px rgba(40, 73, 168, 0.08);
    transform: translateY(-1px);
}

.mega-menu > li > a:hover::before {
    transform: scaleY(1);
}

.mega-menu > li > a:hover::after {
    opacity: 1;
    transform: rotate(-45deg) translateX(2px);
}

/* Sub-level items inside mega menu */
.mega-menu li ul li a {
    color: var(--nyw-text);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    display: block;
    transition: color 0.2s, padding-left 0.2s;
    border-radius: 4px;
}

.mega-menu li ul li a:hover {
    color: var(--nyw-primary);
    padding-left: 20px;
    background: rgba(40, 73, 168, 0.04);
}

.mega-menu-column-title > a {
    font-weight: 600;
    color: var(--nyw-dark);
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
    border-bottom: 1px solid var(--nyw-border);
    padding-bottom: 8px;
}

.mobile-visit-link {
    display: none;
}

.menu-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    transition: transform 0.3s;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.has-mega-menu:hover .menu-arrow {
    transform: rotate(225deg);
}

.hero-section {
    padding: 20px 0;
    background: var(--nyw-bg-light);
}

.hero-inner {
    display: flex;
    gap: 0;
}

.hero-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--nyw-white);
    border: 1px solid var(--nyw-border);
    border-radius: 4px 0 0 4px;
    display: flex;
    flex-direction: column;
}

.sidebar-categories {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.sidebar-title {
    background: var(--nyw-primary);
    color: var(--nyw-white);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px 0 0 0;
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    color: var(--nyw-text);
    font-size: 13px;
    border-bottom: 1px solid var(--nyw-bg-light);
    transition: all 0.3s;
}

.sidebar-category-item a:hover {
    background: var(--nyw-bg-light);
    color: var(--nyw-primary);
    padding-left: 25px;
}

.cat-arrow {
    color: var(--nyw-text-light);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.sidebar-category-item a:hover .cat-arrow {
    color: var(--nyw-primary);
    transform: translateX(3px);
}

.sidebar-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-btn {
    flex: 1;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.sidebar-btn-catalog {
    background: linear-gradient(135deg, var(--nyw-primary) 0%, #1e3a7a 100%);
    color: var(--nyw-white);
}

.sidebar-btn-catalog:hover {
    background: linear-gradient(135deg, #1e3a7a 0%, var(--nyw-primary) 100%);
}

.sidebar-btn-call {
    background: linear-gradient(135deg, #f7f8fa 0%, #e4e7ec 100%);
    color: var(--nyw-text);
    border-top: 1px solid var(--nyw-border);
}

.sidebar-btn-call:hover {
    background: linear-gradient(135deg, #e4e7ec 0%, #d1d5db 100%);
}

.hero-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 0 4px 4px 0;
    min-height: 280px;
    background: #f0f2f5;
}

.slider-wrapper {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide-active {
    opacity: 1;
    z-index: 1;
}

.slide-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 20px 30px;
    gap: 16px;
}

.slide-content {
    flex: 1;
    min-width: 0;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--nyw-text-light);
    color: var(--nyw-text);
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    margin-bottom: 16px;
    background: transparent;
}

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

.slide-btn:hover {
    border-color: var(--nyw-primary);
    color: var(--nyw-primary);
    background: rgba(40, 73, 168, 0.04);
}

.slide-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--nyw-dark);
    line-height: 1.15;
    margin-bottom: 12px;
    font-style: italic;
}

.slide-features {
    margin: 0;
}

.slide-features-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--nyw-dark);
    margin-bottom: 8px;
}

.slide-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-features ul li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: var(--nyw-text);
    line-height: 1.7;
}

.slide-features ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--nyw-primary);
    border-radius: 50%;
}

.slide-image {
    flex: 0 0 42%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding: 10px 0 20px;
    position: relative;
}

.slide-image::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 18px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
    transition: transform 0.5s ease;
}

.slide:hover .slide-image img {
    transform: scale(1.03);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #c5c9d0;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot-active {
    background: var(--nyw-primary);
    transform: scale(1.2);
}

.featured-categories-section {
    padding: 0;
    background: linear-gradient(180deg, #fafbfc 0%, var(--nyw-white) 100%);
    border-bottom: 1px solid var(--nyw-border);
}

.categories-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.categories-bar-title {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--nyw-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    margin: 0;
    border-right: 1px solid var(--nyw-border);
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.01);
}

.categories-strip {
    display: flex;
    align-items: stretch;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-strip::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-right: 1px solid var(--nyw-border);
    position: relative;
}

.category-chip:last-child {
    border-right: none;
}

.category-chip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--nyw-primary), var(--nyw-primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-chip:hover::after {
    transform: scaleX(1);
}

.category-chip:hover {
    background: rgba(40, 73, 168, 0.04);
}

.category-chip:hover .category-chip-img {
    border-color: var(--nyw-primary);
    box-shadow: 0 0 0 2px rgba(40, 73, 168, 0.1);
}

.category-chip:hover .category-chip-img img {
    transform: scale(1.1);
}

.category-chip-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--nyw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nyw-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.category-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-chip-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--nyw-dark);
    line-height: 1.3;
    transition: color 0.2s;
    white-space: normal;
    max-width: 120px;
}

.category-chip:hover .category-chip-name {
    color: var(--nyw-primary);
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--nyw-dark);
    margin-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nyw-primary);
    margin-top: 4px;
}

.featured-products-section {
    padding: 8px 0 10px;
    background: linear-gradient(180deg, #f7f8fa 0%, #f0f2f5 100%);
}

.products-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-top: 5px;
    padding-bottom: 4px;
    padding-right: 100px;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.products-rail .product-tile {
    margin-left: 12px;
}

.products-rail .product-tile:first-of-type {
    margin-left: 0;
}

.products-rail::-webkit-scrollbar {
    display: none;
}

.product-tile {
    flex: 0 0 140px;
    scroll-snap-align: start;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: var(--nyw-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--nyw-border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-tile-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--nyw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-tile:hover .product-tile-img img {
    transform: scale(1.08);
}

.product-tile-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--nyw-primary);
    color: var(--nyw-white);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-tile-name {
    display: block;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--nyw-dark);
    line-height: 1.3;
    border-top: 1px solid var(--nyw-border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.product-tile:hover .product-tile-name {
    color: var(--nyw-primary);
}

.products-row {
    display: flex;
    align-items: stretch;
    position: relative;
}

.products-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    right: 15px;
    border: 1px solid var(--nyw-primary);
    border-radius: 10px 0 0 10px;
    pointer-events: none;
    z-index: 0;
}

.products-rail-title {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nyw-primary);
    border-radius: 9px 0 0 9px;
    margin-right: 12px;
}

.products-rail-title span {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 700;
    color: var(--nyw-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.products-rail-viewall {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    margin-left: -139px;
    padding-left: 40px;
    padding-right: 4px;
    z-index: 2;
    background: none;
}

.products-rail-viewall a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--nyw-text-light);
    text-decoration: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
    padding: 6px 10px 6px 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(40,73,168,0) 0%, rgba(40,73,168,0.85) 40%, rgba(40,73,168,0.95) 100%);
    color: var(--nyw-white);
    box-shadow: 0 2px 8px rgba(40,73,168,0.3);
    transition: gap 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, color 0.2s;
}

.products-rail-viewall a:hover {
    gap: 8px;
    color: var(--nyw-dark);
}

.site-footer {
    background: var(--nyw-dark);
    color: var(--nyw-text-light);
}

.footer-main {
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-widget-title {
    color: var(--nyw-white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--nyw-primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-widget a {
    color: var(--nyw-text-light);
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--nyw-white);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget li a {
    font-size: 14px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu li a {
    color: var(--nyw-text-light);
    font-size: 14px;
    transition: all 0.3s;
}

.footer-menu li a:hover {
    color: var(--nyw-white);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nyw-white);
}

.footer-description {
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.7;
}

.footer-bottom {
    height: 60px;
    display: flex;
    align-items: center;
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.footer-col {
    display: flex;
    align-items: center;
}

.footer-col-logo img {
    max-height: 32px;
    width: auto;
}

.footer-col-logo .footer-site-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nyw-white);
    text-decoration: none;
}

.footer-col-links .footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 16px;
}

.footer-col-links .footer-menu li a {
    color: var(--nyw-text-light);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col-links .footer-menu li a:hover {
    color: var(--nyw-white);
}

.footer-tagline {
    font-size: 12px;
    color: var(--nyw-text-light);
    margin: 6px 0 0;
    line-height: 1.4;
}

.footer-col-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--nyw-text-light);
}

.footer-col-contact a {
    color: var(--nyw-text-light);
    transition: color 0.2s;
}

.footer-col-contact a:hover {
    color: var(--nyw-white);
}

.footer-address {
    font-size: 11px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: var(--nyw-text-light);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--nyw-white);
}

.footer-col-copy {
    justify-content: flex-end;
}

.copyright {
    font-size: 11px;
    color: var(--nyw-text-light);
    white-space: nowrap;
}

.no-products,
.no-categories {
    text-align: center;
    padding: 40px;
    color: var(--nyw-text-light);
    font-size: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--nyw-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 1024px) {
    .product-tile {
        flex: 0 0 120px;
    }

    .hero-sidebar {
        width: 190px;
    }

    .slide-title {
        font-size: 26px;
    }

    .slide-inner {
        padding: 20px 25px;
        gap: 15px;
    }

    .slide-features ul li {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {

    /* ── Header ── */
    .header-top {
        font-size: 11px;
        padding: 2px 0;
    }

    .header-main {
        padding: 6px 0;
    }

    .header-main-inner {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }

    .header-logo {
        flex: 0 0 auto;
    }

    .header-logo img {
        max-height: 50px;
        margin-bottom: 0;
        filter: none;
    }

    .header-logo img:hover {
        filter: none;
        transform: none;
    }

    .header-logo::after {
        display: none;
    }

    .header-search {
        flex: 1;
        max-width: none;
        margin: 0;
        order: 0;
    }

    .search-form input[type="search"] {
        padding: 7px 10px;
        font-size: 12px;
    }

    .search-form button {
        padding: 7px 12px;
    }

    .header-cta {
        display: none;
    }

    /* ── Mobile Menu Toggle ── */
    .mobile-menu-toggle {
        display: flex;
        flex: 0 0 auto;
        order: 3;
    }

    /* ── Navigation ── */
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        background: linear-gradient(180deg, var(--nyw-primary-dark) 0%, #1a2d5e 100%);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    .header-nav.nav-open {
        display: block;
    }

    .header-nav > .container {
        padding: 0;
    }

    .nav-menu {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        padding: 14px 20px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu > li > a::after {
        display: none;
    }

    /* Arrow indicator for items with submenus */
    .has-mega-menu > a .menu-arrow {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255, 255, 255, 0.6);
        border-bottom: 2px solid rgba(255, 255, 255, 0.6);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .has-mega-menu.menu-open > a .menu-arrow {
        transform: rotate(-135deg);
    }

    .has-mega-menu.menu-open > a {
        background: rgba(255, 255, 255, 0.1);
    }

    /* ── Mega Menu (Mobile) ── */
    .mega-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        background: rgba(0, 0, 0, 0.15);
        padding: 6px 0;
        gap: 2px;
    }

    .has-mega-menu:hover > .mega-menu {
        display: none;
    }

    .has-mega-menu.menu-open > .mega-menu {
        display: flex;
        flex-direction: column;
    }

    .mega-menu > li {
        flex: none;
        width: 100%;
    }

    .mega-menu > li > a {
        background: transparent;
        border: none;
        border-radius: 0;
        color: rgba(255, 255, 255, 0.9);
        padding: 11px 20px 11px 36px;
        font-size: 13px;
        font-weight: 400;
    }

    .mega-menu > li > a::before {
        display: none;
    }

    .mega-menu > li > a::after {
        border-color: rgba(255, 255, 255, 0.4);
        opacity: 1;
        width: 5px;
        height: 5px;
    }

    .mega-menu > li > a:hover,
    .mega-menu > li > a:active {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        transform: none;
        box-shadow: none;
        border: none;
    }

    .mega-menu > li > a:hover::after,
    .mega-menu > li > a:active::after {
        opacity: 1;
    }

    /* Sub-level items in mobile mega menu */
    .mega-menu li ul {
        padding: 0;
    }

    .mega-menu li ul li a {
        color: rgba(255, 255, 255, 0.75);
        padding: 8px 20px 8px 48px;
        font-size: 12.5px;
    }

    .mega-menu li ul li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
        padding-left: 48px;
    }

    .mega-menu-column-title > a {
        color: rgba(255, 255, 255, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        font-size: 13px;
        padding: 10px 20px 10px 36px;
    }

    /* ── "Visit Page" link for parent items ── */
    .mobile-visit-link {
        display: block;
        padding: 8px 20px 8px 36px;
        color: var(--nyw-accent, #ffc107);
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.04);
    }

    .mobile-visit-link:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-visit-link svg {
        vertical-align: middle;
        margin-right: 4px;
    }

    /* ── Hero Section ── */
    .hero-inner {
        flex-direction: column;
    }

    .hero-sidebar {
        width: 100%;
        order: 2;
    }

    .hero-slider {
        width: 100%;
        min-height: 480px;
        height: auto;
        border-radius: 4px;
    }

    .slider-wrapper {
        min-height: 480px;
    }

    .slide {
        height: auto;
        min-height: 480px;
    }

    .slide-inner {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: 480px;
        padding: 20px;
        gap: 12px;
    }

    .slide-content {
        flex: none;
        padding: 0;
    }

    .slide-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .slide-desc {
        font-size: 13px;
    }

    .slide-features ul {
        gap: 4px;
    }

    .slide-features ul li {
        font-size: 11px;
    }

    .slide-image {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        min-height: 220px;
        padding: 0 0 10px;
    }

    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
    }

    .sidebar-title {
        border-radius: 0;
    }

    .sidebar-category-list a {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* ── Categories Bar ── */
    .categories-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .categories-bar-title {
        border-right: none;
        border-bottom: 1px solid var(--nyw-border);
        padding: 8px 0;
    }

    .product-tile {
        flex: 0 0 110px;
    }

    /* ── Page Content ── */
    .sp-layout {
        flex-direction: column;
    }

    .sp-layout .sp-sidebar {
        width: 100%;
        order: 2;
        margin-top: 20px;
    }

    .sp-layout .sp-content {
        width: 100%;
    }

    .pg-title {
        font-size: 20px;
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .footer-col {
        justify-content: center;
    }

    .footer-col-contact {
        flex-wrap: wrap;
        justify-content: center;
    }

    .copyright {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .header-top-left,
    .header-top-right {
        font-size: 10px;
    }

    .header-logo img {
        max-height: 40px;
    }

    .hero-slider {
        min-height: 440px;
    }

    .slider-wrapper {
        min-height: 440px;
    }

    .slide {
        min-height: 440px;
    }

    .slide-inner {
        min-height: 440px;
        padding: 15px;
    }

    .slide-title {
        font-size: 18px;
    }

    .slide-image {
        min-height: 180px;
    }

    .product-tile {
        flex: 0 0 100px;
    }

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

    .footer-bottom-inner {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-col {
        justify-content: center;
    }

    .footer-col-links .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-col-contact {
        flex-wrap: wrap;
        justify-content: center;
    }

    .copyright {
        white-space: normal;
    }
}

/* ============================================
   HOMEPAGE LAYOUT (desktop only)
   min-height ensures footer stays at bottom
   when content is short; natural scroll when
   new sections push content beyond viewport.
   ============================================ */

@media (min-width: 769px) {
    body.home {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
    }

    body.home .site-header {
        flex: 0 0 auto;
    }

    body.home .site-main {
        flex: 1 1 auto;
    }

    body.home .hero-inner {
        height: 400px;
    }

    body.home .hero-sidebar {
        max-height: 100%;
    }

    body.home .sidebar-category-list {
        flex: 1 1 0;
        overflow-y: auto;
        min-height: 0;
        scrollbar-width: thin;
        scrollbar-color: var(--nyw-primary) transparent;
    }

    body.home .sidebar-category-list::-webkit-scrollbar {
        width: 3px;
    }

    body.home .sidebar-category-list::-webkit-scrollbar-thumb {
        background: var(--nyw-primary);
        border-radius: 3px;
    }

    body.home .sidebar-actions {
        flex-shrink: 0;
    }

    body.home .site-footer {
        flex: 0 0 auto;
    }
}

/* ============================================
   USP STRIP
   ============================================ */

.usp-section {
    padding: 20px 0;
    background: var(--nyw-white);
    border-bottom: 1px solid var(--nyw-border);
}

.usp-grid {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.usp-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 6px;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.usp-item:hover {
    background: var(--nyw-bg-light);
}

.usp-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(40, 73, 168, 0.08) 0%, rgba(40, 73, 168, 0.15) 100%);
    border-radius: 8px;
    color: var(--nyw-primary);
}

.usp-text {
    min-width: 0;
}

.usp-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--nyw-dark);
    line-height: 1.3;
}

.usp-desc {
    font-size: 11px;
    color: var(--nyw-text-light);
    line-height: 1.4;
    margin-top: 1px;
}

/* ============================================
   TECH RESOURCES
   ============================================ */

.resources-section {
    padding: 24px 0;
    background: var(--nyw-white);
    border-top: 1px solid var(--nyw-border);
}

.resources-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.resources-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--nyw-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--nyw-bg-light);
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card:hover {
    border-color: var(--nyw-primary);
    background: var(--nyw-white);
    box-shadow: 0 4px 12px rgba(40, 73, 168, 0.1);
    transform: translateY(-2px);
}

.resource-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nyw-white);
    border-radius: 6px;
    color: var(--nyw-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.resource-card:hover .resource-icon {
    background: var(--nyw-primary);
    color: var(--nyw-white);
}

.resource-info {
    min-width: 0;
}

.resource-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--nyw-dark);
    line-height: 1.3;
}

.resource-card:hover .resource-name {
    color: var(--nyw-primary);
}

.resource-meta {
    font-size: 10px;
    color: var(--nyw-text-light);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================
   CONTACT CTA BAND
   ============================================ */

.cta-section {
    padding: 24px 0;
    background: linear-gradient(135deg, var(--nyw-primary) 0%, var(--nyw-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.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);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    color: var(--nyw-white);
}

.cta-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--nyw-white);
    margin: 0;
    line-height: 1.3;
}

.cta-text p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 2px 0 0;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--nyw-white);
    color: var(--nyw-primary);
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-phone-link:hover {
    background: var(--nyw-dark);
    color: var(--nyw-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cta-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--nyw-white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-contact-link:hover {
    border-color: var(--nyw-white);
    background: rgba(255,255,255,0.1);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .usp-grid {
        flex-wrap: wrap;
    }

    .usp-item {
        flex: 0 0 calc(50% - 8px);
    }

    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-phone-link,
    .cta-contact-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .usp-item {
        flex: 0 0 100%;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PAGE & POST STYLES
   ============================================ */

.page-container {
    padding: 40px 15px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--nyw-dark);
    margin-bottom: 25px;
}

.entry-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--nyw-text);
}

.entry-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.entry-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content img {
    border-radius: 4px;
    margin: 15px 0;
}

.entry-content ul, .entry-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* Post meta */
.post-meta {
    font-size: 13px;
    color: var(--nyw-text-light);
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.post-thumbnail {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

/* Posts grid (archive) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.post-card {
    background: var(--nyw-white);
    border: 1px solid var(--nyw-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.post-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-content {
    padding: 15px;
}

.post-card-content h2 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-card-content h2 a {
    color: var(--nyw-dark);
}

.post-card-content h2 a:hover {
    color: var(--nyw-primary);
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--nyw-border);
    border-radius: 4px;
    color: var(--nyw-text);
    font-size: 14px;
    transition: all 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--nyw-primary);
    color: var(--nyw-white);
    border-color: var(--nyw-primary);
}

/* ============================================
   WOOCOMMERCE SINGLE PRODUCT
   ============================================ */

.woocommerce div.product {
    padding: 40px 0;
}

.woocommerce div.product div.images {
    float: left;
    width: 48%;
}

.woocommerce div.product div.images img {
    border-radius: 8px;
    border: 1px solid var(--nyw-border);
}

.woocommerce div.product div.summary {
    float: right;
    width: 48%;
}

.woocommerce div.product .product_title {
    font-size: 28px;
    font-weight: 600;
    color: var(--nyw-dark);
    margin-bottom: 15px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--nyw-text);
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-tabs {
    clear: both;
    padding-top: 30px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid var(--nyw-border);
    display: flex;
    gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 25px;
    color: var(--nyw-text);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--nyw-primary);
    border-bottom-color: var(--nyw-primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 20px 0;
    font-size: 15px;
    line-height: 1.8;
}

/* Related products */
.woocommerce .related.products {
    clear: both;
    padding-top: 40px;
    border-top: 1px solid var(--nyw-border);
    margin-top: 30px;
}

.woocommerce .related.products h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.woocommerce .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
}

.header-cta > svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

/* ============================================
   SCREEN READER TEXT
   ============================================ */

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

.screen-reader-text:focus {
    background-color: var(--nyw-bg-light);
    clip: auto !important;
    clip-path: none;
    color: var(--nyw-dark);
    display: block;
    font-size: 14px;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   WOOCOMMERCE SHOP PAGE (products-grid within archive)
   ============================================ */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        float: none;
        width: 100%;
    }

    .woocommerce div.product div.summary {
        margin-top: 20px;
    }

    .woocommerce .related.products ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }

    .woocommerce .related.products ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   HOMEPAGE VIEWPORT-FIT LAYOUT
   ============================================ */

@media (min-width: 769px) {
    body.home {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
    }

    body.home .site-main {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    body.home .hero-inner {
        height: 400px;
    }

    body.home .sidebar-category-list {
        flex: 1 1 0;
        overflow-y: auto;
        min-height: 0;
    }

    body.home .sidebar-actions {
        flex-shrink: 0;
    }

    body.home .cta-section {
        margin-top: auto;
    }

    body.home .site-footer {
        flex: 0 0 auto;
    }
}

/* ============================================
   USP STRIP
   ============================================ */

.usp-section {
    background: var(--nyw-bg-light, #f8f9fa);
    padding: 24px 0;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
    border-bottom: 1px solid var(--nyw-border, #e5e7eb);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
}

.usp-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.08);
    border-radius: 10px;
    color: var(--nyw-primary, #1a365d);
}

.usp-icon svg {
    stroke: var(--nyw-primary, #1a365d);
}

.usp-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    line-height: 1.3;
}

.usp-desc {
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin-top: 2px;
    line-height: 1.4;
}

/* ============================================
   TECH RESOURCES
   ============================================ */

.resources-section {
    padding: 32px 0;
}

.resources-header {
    margin-bottom: 20px;
}

.resources-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nyw-text-light, #718096);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.resource-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.1);
    transform: translateY(-1px);
}

.resource-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 54, 93, 0.08);
    border-radius: 8px;
}

.resource-icon svg {
    stroke: var(--nyw-primary, #1a365d);
}

.resource-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
}

.resource-meta {
    font-size: 11px;
    color: var(--nyw-text-light, #718096);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ============================================
   CONTACT CTA BAND
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d) 0%, #2a4a7f 100%);
    padding: 28px 0;
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.cta-badge svg {
    stroke: #fff;
}

.cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.cta-text p {
    font-size: 13px;
    margin: 4px 0 0;
    opacity: 0.85;
    color: #fff;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-phone-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.cta-phone-link svg {
    stroke: #fff;
}

.cta-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #fff;
    border-radius: 8px;
    color: var(--nyw-primary, #1a365d);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-contact-link:hover {
    background: #f0f4f8;
    color: var(--nyw-primary, #1a365d);
}

.cta-contact-link svg {
    stroke: var(--nyw-primary, #1a365d);
}

/* ============================================
   LATEST PRODUCTS GRID
   ============================================ */

.latest-products-section {
    padding: 30px 0 36px;
    background: #fff;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.latest-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.latest-products-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
}

.latest-products-viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
    transition: color 0.2s;
}

.latest-products-viewall:hover {
    color: #2a4a7f;
}

.latest-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.latest-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    transition: border-color 0.3s;
    pointer-events: none;
    z-index: 1;
}

.latest-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.12);
}

.latest-product-card:hover::before {
    border-color: var(--nyw-primary, #1a365d);
}

.latest-product-img {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--nyw-bg-light, #f8f9fa);
    overflow: hidden;
}

.latest-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-product-card:hover .latest-product-img img {
    transform: scale(1.06);
}

.latest-product-info {
    padding: 8px 10px 10px;
}

.latest-product-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    text-align: center;
}

/* ============================================
   NEW SECTIONS RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .latest-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-phone-link,
    .cta-contact-link {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ARCHIVE / CATEGORY / SHOP PAGE
   ============================================ */

.archive-product-main {
    padding: 0 0 48px;
    background: #fff;
}

/* Breadcrumb — shared with single product */
.arc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    border-bottom: 1px solid var(--nyw-border, #e5e7eb);
    margin-bottom: 24px;
}

.arc-breadcrumb a {
    color: var(--nyw-text-light, #718096);
    text-decoration: none;
    transition: color 0.2s;
}

.arc-breadcrumb a:hover {
    color: var(--nyw-primary, #1a365d);
}

.arc-breadcrumb span {
    color: var(--nyw-dark, #1a202c);
    font-weight: 500;
}

.arc-breadcrumb svg {
    flex-shrink: 0;
    opacity: 0.4;
}

/* Page Header */
.arc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.arc-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0;
    line-height: 1.2;
}

.arc-description {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 6px 0 0;
    line-height: 1.5;
    max-width: 600px;
}

.arc-count {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 4px;
}

/* Subcategory chips */
.arc-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.arc-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    text-decoration: none;
    transition: all 0.2s ease;
}

.arc-subcat-chip:hover {
    background: rgba(26, 54, 93, 0.06);
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
}

.arc-subcat-chip svg {
    opacity: 0.5;
}

.arc-subcat-count {
    font-size: 11px;
    font-weight: 600;
    background: rgba(26, 54, 93, 0.08);
    color: var(--nyw-primary, #1a365d);
    padding: 1px 7px;
    border-radius: 10px;
}

/* Sidebar + Content Layout */
.arc-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- Catalog Sidebar ---- */
.catalog-sidebar {
    position: sticky;
    top: 20px;
}

.csb-block {
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.csb-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 12px;
}

.csb-heading svg {
    opacity: 0.5;
}

/* Sidebar Search */
.csb-search-wrap {
    display: flex;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.csb-search-wrap:focus-within {
    border-color: var(--nyw-primary, #1a365d);
}

.csb-search-input {
    flex: 1;
    padding: 9px 12px;
    border: none;
    font-size: 13px;
    outline: none;
    background: transparent;
    min-width: 0;
}

.csb-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    border: none;
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.csb-search-btn:hover {
    background: #2a4a7f;
}

.csb-search-btn svg {
    stroke: #fff;
}

/* Sidebar Category List */
.csb-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.csb-cat-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.csb-cat-item > a:hover {
    background: rgba(26, 54, 93, 0.06);
    color: var(--nyw-primary, #1a365d);
}

.csb-cat-item.csb-cat-active > a {
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    font-weight: 600;
}

.csb-cat-item.csb-cat-active > a .csb-cat-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.csb-cat-count {
    font-size: 11px;
    font-weight: 600;
    background: rgba(26, 54, 93, 0.08);
    color: var(--nyw-primary, #1a365d);
    padding: 1px 7px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Subcategory list */
.csb-sub-list {
    list-style: none;
    margin: 2px 0 4px;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--nyw-border, #e5e7eb);
}

.csb-sub-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--nyw-text-light, #718096);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.csb-sub-item > a:hover {
    color: var(--nyw-primary, #1a365d);
    background: rgba(26, 54, 93, 0.04);
}

.csb-sub-item.csb-cat-active > a {
    color: var(--nyw-primary, #1a365d);
    font-weight: 600;
    background: rgba(26, 54, 93, 0.06);
}

/* Product Grid — 3 cols with sidebar */
.arc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Product Card */
.arc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arc-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.1);
    transform: translateY(-3px);
}

.arc-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--nyw-bg-light, #f8f9fa);
    overflow: hidden;
}

.arc-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.arc-card:hover .arc-card-img img {
    transform: scale(1.06);
}

.arc-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.arc-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 4px;
}

.arc-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.arc-card-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nyw-primary, #1a365d);
    opacity: 0.7;
    margin-bottom: 4px;
}

.arc-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arc-card-excerpt {
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin: 6px 0 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--nyw-primary, #1a365d);
    transition: gap 0.2s ease;
}

.arc-card:hover .arc-card-link {
    gap: 8px;
}

/* Pagination */
.arc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 32px 0 0;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.arc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    text-decoration: none;
    transition: all 0.2s;
}

.arc-pagination .page-numbers:hover {
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
    background: rgba(26, 54, 93, 0.04);
}

.arc-pagination .page-numbers.current {
    background: var(--nyw-primary, #1a365d);
    border-color: var(--nyw-primary, #1a365d);
    color: #fff;
}

.arc-pagination .page-numbers.dots {
    border: none;
    background: none;
    min-width: 24px;
}

.arc-pagination .page-numbers.prev,
.arc-pagination .page-numbers.next {
    border: none;
    background: none;
}

.arc-pagination .page-numbers.prev:hover,
.arc-pagination .page-numbers.next:hover {
    background: rgba(26, 54, 93, 0.06);
}

/* Empty state */
.arc-empty {
    text-align: center;
    padding: 60px 20px;
}

.arc-empty svg {
    margin-bottom: 16px;
}

.arc-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 8px;
}

.arc-empty p {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
}

.arc-empty a {
    color: var(--nyw-primary, #1a365d);
    text-decoration: underline;
}

/* Archive Responsive */
@media (max-width: 1024px) {
    .arc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .arc-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .csb-block {
        margin-bottom: 0;
    }

    .arc-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .arc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sr-grid {
        grid-template-columns: 1fr;
    }

    .arc-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .catalog-sidebar {
        grid-template-columns: 1fr;
    }

    .arc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .arc-card-body {
        padding: 10px 12px 12px;
    }

    .arc-card-title {
        font-size: 13px;
    }

    .arc-card-excerpt,
    .arc-card-cat {
        display: none;
    }
}

/* ============================================
   SEARCH RESULTS PAGE
   ============================================ */

.search-results-main {
    padding: 0 0 48px;
    background: #fff;
}

.sr-query {
    color: var(--nyw-primary, #1a365d);
    font-weight: 700;
}

.sr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.sr-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.sr-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.08);
}

.sr-card-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--nyw-bg-light, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.sr-card-body {
    flex: 1;
    min-width: 0;
}

.sr-card-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nyw-text-light, #718096);
    margin-bottom: 4px;
}

.sr-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-card-excerpt {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search Empty */
.sr-empty {
    text-align: center;
    padding: 60px 20px;
}

.sr-empty-icon {
    margin-bottom: 16px;
}

.sr-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 8px;
}

.sr-empty p {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.sr-empty-search {
    max-width: 400px;
    margin: 0 auto 16px;
}

.sr-empty-search .search-form {
    display: flex;
    gap: 8px;
}

.sr-empty-search .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.sr-empty-search .search-field:focus {
    border-color: var(--nyw-primary, #1a365d);
}

.sr-empty-search .search-submit {
    padding: 10px 20px;
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sr-empty-search .search-submit:hover {
    background: #2a4a7f;
}

.sr-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
}

.sr-browse-link:hover {
    text-decoration: underline;
}

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

/* ============================================
   404 ERROR PAGE
   ============================================ */

.error-404-main {
    padding: 0 0 48px;
    background: #fff;
}

.e404 {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 500px;
    margin: 0 auto;
}

.e404-icon {
    margin-bottom: 16px;
    opacity: 0.6;
}

.e404-code {
    font-size: 72px;
    font-weight: 800;
    color: var(--nyw-primary, #1a365d);
    margin: 0;
    line-height: 1;
    opacity: 0.15;
}

.e404-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: -8px 0 8px;
}

.e404-text {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 28px;
    line-height: 1.6;
}

.e404-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.e404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.e404-btn-primary {
    background: var(--nyw-primary, #1a365d);
    color: #fff;
}

.e404-btn-primary:hover {
    background: #2a4a7f;
    color: #fff;
}

.e404-btn-primary svg {
    stroke: #fff;
}

.e404-btn-secondary {
    background: rgba(26, 54, 93, 0.06);
    color: var(--nyw-primary, #1a365d);
    border: 1px solid var(--nyw-border, #e5e7eb);
}

.e404-btn-secondary:hover {
    background: rgba(26, 54, 93, 0.12);
    color: var(--nyw-primary, #1a365d);
}

.e404-btn-secondary svg {
    stroke: var(--nyw-primary, #1a365d);
}

.e404-search {
    border-top: 1px solid var(--nyw-border, #e5e7eb);
    padding-top: 24px;
}

.e404-search-label {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 10px;
}

.e404-search .search-form {
    display: flex;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto;
}

.e404-search .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.e404-search .search-field:focus {
    border-color: var(--nyw-primary, #1a365d);
}

.e404-search .search-submit {
    padding: 10px 18px;
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.e404-search .search-submit:hover {
    background: #2a4a7f;
}

@media (max-width: 480px) {
    .e404-actions {
        flex-direction: column;
    }

    .e404-btn {
        justify-content: center;
    }

    .e404-code {
        font-size: 56px;
    }
}

/* ============================================
   GENERIC PAGE / SINGLE POST / BLOG ARCHIVE
   ============================================ */

.page-main {
    padding: 0 0 48px;
    background: #fff;
}

/* Page Article */
.pg-article {
    padding: 32px 0;
}

.pg-article-narrow {
    max-width: 760px;
}

.pg-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 20px;
    line-height: 1.3;
}

/* Post Meta */
.pg-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.pg-post-date,
.pg-post-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
}

.pg-post-date svg,
.pg-post-author svg {
    opacity: 0.5;
}

/* Featured Image */
.pg-featured-img {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nyw-border, #e5e7eb);
}

.pg-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.pg-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--nyw-text, #4a5568);
}

.pg-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 32px 0 12px;
}

.pg-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 24px 0 10px;
}

.pg-content p {
    margin: 0 0 16px;
}

.pg-content img {
    border-radius: 8px;
    margin: 16px 0;
}

.pg-content ul,
.pg-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.pg-content li {
    margin-bottom: 6px;
}

.pg-content a {
    color: var(--nyw-primary, #1a365d);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pg-content a:hover {
    color: #2a4a7f;
}

.pg-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--nyw-primary, #1a365d);
    background: var(--nyw-bg-light, #f8f9fa);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--nyw-text-light, #718096);
}

.pg-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.pg-content th,
.pg-content td {
    padding: 10px 14px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    text-align: left;
}

.pg-content th {
    background: var(--nyw-bg-light, #f8f9fa);
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
}

/* Tags */
.pg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.pg-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--nyw-text-light, #718096);
    text-decoration: none;
    transition: all 0.2s;
}

.pg-tag:hover {
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
    background: rgba(26, 54, 93, 0.04);
}

/* Post Navigation */
.pg-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.pg-post-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    max-width: 48%;
}

.pg-post-nav-link:hover {
    border-color: var(--nyw-primary, #1a365d);
    background: rgba(26, 54, 93, 0.02);
}

.pg-post-next {
    margin-left: auto;
    text-align: right;
}

.pg-post-nav-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nyw-text-light, #718096);
}

.pg-post-nav-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.1);
    transform: translateY(-3px);
}

.blog-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--nyw-bg-light, #f8f9fa);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    opacity: 0.4;
}

.blog-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin-bottom: 6px;
}

.blog-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--nyw-primary, #1a365d);
}

/* Blog / Page Responsive */
@media (max-width: 768px) {
    .pg-title {
        font-size: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card {
        flex-direction: row;
    }

    .blog-card-img {
        aspect-ratio: 1 / 1;
        width: 120px;
        flex-shrink: 0;
    }

    .pg-post-nav {
        flex-direction: column;
    }

    .pg-post-nav-link {
        max-width: 100%;
    }

    .pg-post-next {
        text-align: left;
        flex-direction: row-reverse;
    }
}

@media (max-width: 480px) {
    .blog-card-img {
        width: 90px;
    }

    .blog-card-excerpt {
        display: none;
    }
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */

.single-product-main {
    padding: 0 0 48px;
    background: #fff;
}

/* Breadcrumb */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    border-bottom: 1px solid var(--nyw-border, #e5e7eb);
    margin-bottom: 32px;
}

.sp-breadcrumb a {
    color: var(--nyw-text-light, #718096);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-breadcrumb a:hover {
    color: var(--nyw-primary, #1a365d);
}

.sp-breadcrumb span {
    color: var(--nyw-dark, #1a202c);
    font-weight: 500;
}

.sp-breadcrumb svg {
    flex-shrink: 0;
    opacity: 0.4;
}

/* Hero: Image + Info */
.sp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Gallery */
.sp-gallery {
    position: sticky;
    top: 24px;
}

.sp-image-main {
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.sp-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sp-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.sp-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.sp-thumb {
    width: 64px;
    height: 64px;
    border: 2px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 4px;
    background: #fff;
    transition: border-color 0.2s;
}

.sp-thumb.active,
.sp-thumb:hover {
    border-color: var(--nyw-primary, #1a365d);
}

.sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info Panel */
.sp-info {
    padding-top: 8px;
}

.sp-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 54, 93, 0.06);
    color: var(--nyw-primary, #1a365d);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.sp-category-badge:hover {
    background: rgba(26, 54, 93, 0.12);
    color: var(--nyw-primary, #1a365d);
}

.sp-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
    line-height: 1.3;
}

.sp-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--nyw-text, #4a5568);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nyw-border, #e5e7eb);
}

.sp-description p {
    margin: 0 0 10px;
}

.sp-description p:last-child {
    margin-bottom: 0;
}

/* Section Labels */
.sp-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 12px;
}

.sp-section-label svg {
    stroke: var(--nyw-text-light, #718096);
}

/* PDF Documents */
.sp-docs {
    margin-bottom: 24px;
}

.sp-docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-doc-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-doc-item:hover {
    background: rgba(26, 54, 93, 0.06);
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
}

.sp-doc-item svg {
    stroke: var(--nyw-primary, #1a365d);
    flex-shrink: 0;
}

.sp-section-label--system {
    margin-top: 16px;
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
}

.sp-doc-item--system {
    background: transparent;
    border-color: var(--nyw-border, #e5e7eb);
    color: var(--nyw-text-light, #718096);
    font-weight: 400;
}

.sp-doc-item--system svg {
    stroke: var(--nyw-text-light, #718096);
}

.sp-doc-item--system:hover {
    background: var(--nyw-bg-light, #f8f9fa);
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
}

.sp-doc-item--system:hover svg {
    stroke: var(--nyw-primary, #1a365d);
}

/* Resource Links */
.sp-resources {
    margin-bottom: 24px;
}

.sp-resources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-resource-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sp-resource-item:hover {
    border-color: var(--nyw-primary, #1a365d);
    color: var(--nyw-primary, #1a365d);
}

.sp-resource-item svg {
    flex-shrink: 0;
    opacity: 0.4;
}

.sp-resource-item:hover svg {
    opacity: 1;
    stroke: var(--nyw-primary, #1a365d);
}

/* CTA Buttons */
.sp-cta {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.sp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sp-cta-primary {
    background: var(--nyw-primary, #1a365d);
    color: #fff;
}

.sp-cta-primary:hover {
    background: #2a4a7f;
    color: #fff;
}

.sp-cta-primary svg {
    stroke: #fff;
}

.sp-cta-secondary {
    background: rgba(26, 54, 93, 0.06);
    color: var(--nyw-primary, #1a365d);
    border: 1px solid var(--nyw-border, #e5e7eb);
}

.sp-cta-secondary:hover {
    background: rgba(26, 54, 93, 0.12);
    color: var(--nyw-primary, #1a365d);
}

.sp-cta-secondary svg {
    stroke: var(--nyw-primary, #1a365d);
}

/* Related Products */
.sp-related {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.sp-related-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 20px;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sp-related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sp-related-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.1);
    transform: translateY(-2px);
}

.sp-related-img {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--nyw-bg-light, #f8f9fa);
}

.sp-related-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sp-related-card:hover .sp-related-img img {
    transform: scale(1.05);
}

.sp-related-info {
    padding: 12px 14px;
}

.sp-related-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Hide default WooCommerce single product elements */
.nywint-single-product .woocommerce-product-gallery,
.nywint-single-product > .images,
.nywint-single-product > .summary,
.nywint-single-product > .woocommerce-tabs,
.nywint-single-product > .related.products,
.nywint-single-product > .product_meta {
    display: none !important;
}

/* Single Product Responsive */
@media (max-width: 1024px) {
    .sp-hero {
        gap: 32px;
    }

    .sp-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sp-gallery {
        position: static;
    }

    .sp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-cta {
        flex-direction: column;
    }

    .sp-cta-btn {
        justify-content: center;
    }
}

/* ─── Local Contacts ─────────────────────────── */
.lc-header {
    text-align: center;
    margin-bottom: 2rem;
}
.lc-subtitle {
    color: var(--nyw-text-light, #64748b);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}
.lc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.lc-map-col {
    position: sticky;
    top: 100px;
}
.lc-map-wrap {
    background: #f8fafc;
    border: 1px solid var(--nyw-border, #e2e8f0);
    border-radius: 12px;
    padding: 1.5rem;
    overflow: hidden;
}
.lc-us-map {
    width: 100%;
    height: auto;
    display: block;
}
.lc-region-btns {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.lc-region-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--nyw-border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nyw-text, #1e293b);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.lc-region-btn:hover {
    border-color: var(--nyw-primary, #0a1628);
    background: #f1f5f9;
}
.lc-region-btn.active {
    border-color: var(--nyw-primary, #0a1628);
    background: var(--nyw-primary, #0a1628);
    color: #fff;
}
.lc-region-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.lc-state-select-wrap {
    margin-bottom: 1.5rem;
}
.lc-state-select-wrap label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
#lc-state-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--nyw-border, #e2e8f0);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
#lc-state-select:focus {
    outline: none;
    border-color: var(--nyw-primary, #0a1628);
    box-shadow: 0 0 0 3px rgba(10,22,40,0.08);
}
.lc-results {
    min-height: 300px;
}
.lc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    color: #94a3b8;
    gap: 1rem;
}
.lc-placeholder p {
    font-size: 1rem;
    margin: 0;
}
.lc-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 200px;
    color: #64748b;
    font-size: 0.95rem;
}
.lc-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e2e8f0;
    border-top-color: var(--nyw-primary, #0a1628);
    border-radius: 50%;
    animation: lc-spin 0.6s linear infinite;
}
@keyframes lc-spin {
    to { transform: rotate(360deg); }
}
.lc-results-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--nyw-border, #e2e8f0);
    color: var(--nyw-primary, #0a1628);
}
.lc-rep-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.lc-rep-card {
    background: #fff;
    border: 1px solid var(--nyw-border, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.lc-rep-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.lc-rep-header {
    background: linear-gradient(135deg, var(--nyw-primary, #0a1628), #1e3a5f);
    padding: 1rem 1.25rem;
    color: #fff;
}
.lc-rep-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    color: #fff;
}
.lc-rep-company {
    font-size: 0.85rem;
    opacity: 0.8;
}
.lc-rep-body {
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.lc-rep-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--nyw-text, #1e293b);
    white-space: nowrap;
}
.lc-rep-item svg {
    flex-shrink: 0;
    color: #64748b;
}
.lc-rep-item a {
    color: var(--nyw-accent, #cb5500);
    text-decoration: none;
}
.lc-rep-item a:hover {
    text-decoration: underline;
}
.lc-error {
    color: #dc2626;
    text-align: center;
    padding: 2rem;
}

/* Local Contacts responsive */
@media (max-width: 1024px) {
    .lc-layout {
        grid-template-columns: 1fr;
    }
    .lc-map-col {
        position: static;
    }
}
@media (max-width: 768px) {
    .lc-map-wrap {
        padding: 1rem;
    }
    .lc-region-btns {
        gap: 0.35rem;
    }
    .lc-region-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .lc-rep-header {
        padding: 0.85rem 1rem;
    }
    .lc-rep-body {
        padding: 0.85rem 1rem;
    }
}
@media (max-width: 480px) {
    .lc-region-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   STATIC PAGES — Sidebar Layout
   ============================================ */

.sp-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0 48px;
}

.sp-layout.sp-has-sidebar {
    flex-direction: row;
}

.sp-content {
    flex: 1;
    min-width: 0;
}

.sp-content--wide {
    max-width: 900px;
    margin: 0 auto;
}

.sp-page-intro {
    font-size: 16px;
    color: var(--nyw-text-light, #718096);
    margin: -8px 0 28px;
    line-height: 1.7;
}

/* ── Sidebar ─────────────────────────────── */

.sp-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
}

.sp-sidebar-nav {
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.sp-sidebar-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nyw-text-light, #718096);
    padding: 16px 18px 8px;
    margin: 0;
}

.sp-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}

.sp-sidebar-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nyw-text, #4a5568);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sp-sidebar-item a:hover {
    background: var(--nyw-bg-light, #f8f9fa);
    color: var(--nyw-primary, #1a365d);
}

.sp-sidebar-item a svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.sp-sidebar-item.sp-active a {
    background: linear-gradient(135deg, rgba(26,54,93,0.06), rgba(26,54,93,0.02));
    color: var(--nyw-primary, #1a365d);
    border-left-color: var(--nyw-primary, #1a365d);
    font-weight: 600;
}

.sp-sidebar-item.sp-active a svg {
    opacity: 1;
    color: var(--nyw-primary, #1a365d);
}

/* Sidebar contact card */
.sp-sidebar-contact {
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d), #2a4a7f);
    border-radius: 12px;
    padding: 20px 18px;
    margin-top: 16px;
    color: #fff;
}

.sp-sidebar-contact h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #fff;
    opacity: 0.9;
}

.sp-sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 10px;
}

.sp-sidebar-contact-item:last-child {
    margin-bottom: 0;
}

.sp-sidebar-contact-item svg {
    opacity: 0.7;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.sp-sidebar-contact-item a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sp-sidebar-contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   OUR TEAM PAGE
   ============================================ */

.tm-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 36px;
}

.tm-card {
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tm-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.tm-card--primary {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 2px 8px rgba(26,54,93,0.1);
}

.tm-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d) 0%, #2a4a7f 100%);
    color: #fff;
}

.tm-card:not(.tm-card--primary) .tm-card-header {
    background: var(--nyw-bg-light, #f8f9fa);
    color: var(--nyw-dark, #1a202c);
}

.tm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm-card:not(.tm-card--primary) .tm-avatar {
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    color: var(--nyw-primary, #1a365d);
}

.tm-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.tm-role {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.tm-card:not(.tm-card--primary) .tm-name {
    color: var(--nyw-dark, #1a202c);
}

.tm-card:not(.tm-card--primary) .tm-role {
    color: var(--nyw-text-light, #718096);
}

.tm-card-body {
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.tm-info-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
}

.tm-info-row svg {
    color: var(--nyw-primary, #1a365d);
    opacity: 0.6;
    flex-shrink: 0;
}

.tm-info-row a {
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
}

.tm-info-row a:hover {
    text-decoration: underline;
}

.tm-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nyw-text-light, #718096);
    background: var(--nyw-bg-light, #f8f9fa);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Office info */
.tm-office-info {
    border-top: 1px solid var(--nyw-border, #e5e7eb);
    padding-top: 28px;
}

.tm-office-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 18px;
}

.tm-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tm-office-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--nyw-bg-light, #f8f9fa);
    border-radius: 10px;
    font-size: 14px;
}

.tm-office-item svg {
    color: var(--nyw-primary, #1a365d);
    margin-top: 2px;
    flex-shrink: 0;
}

.tm-office-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nyw-text-light, #718096);
    margin-bottom: 2px;
}

.tm-office-item a {
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
}

.tm-office-item a:hover {
    text-decoration: underline;
}

/* ============================================
   ADDRESS & MAP PAGE
   ============================================ */

.am-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.am-info-card {
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
}

.am-info-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--nyw-border, #e5e7eb);
}

.am-info-section:last-child {
    border-bottom: none;
}

.am-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(26,54,93,0.08), rgba(26,54,93,0.03));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nyw-primary, #1a365d);
}

.am-info-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 4px;
}

.am-info-section p {
    margin: 0;
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
    line-height: 1.6;
}

.am-info-section a {
    color: var(--nyw-primary, #1a365d);
    text-decoration: none;
}

.am-info-section a:hover {
    text-decoration: underline;
}

.am-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nyw-border, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.am-map-wrap iframe {
    display: block;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */

.cf-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #1e40af;
}

.cf-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #3b82f6;
}

.cf-notice p {
    margin: 0;
    line-height: 1.6;
}

.cf-form-wrap {
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    padding: 28px;
}

/* CF7 form styling */
.cf-form-wrap .wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin-bottom: 16px;
}

.cf-form-wrap .wpcf7-form input[type="text"],
.cf-form-wrap .wpcf7-form input[type="email"],
.cf-form-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    margin-top: 6px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--nyw-bg-light, #f8f9fa);
}

.cf-form-wrap .wpcf7-form input[type="text"]:focus,
.cf-form-wrap .wpcf7-form input[type="email"]:focus,
.cf-form-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 0 0 3px rgba(26,54,93,0.1);
    background: #fff;
}

.cf-form-wrap .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cf-form-wrap .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d), #2a4a7f);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cf-form-wrap .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,54,93,0.25);
}

/* ============================================
   CONTACT SUPPORT / TECH SUPPORT
   ============================================ */

.cs-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.cs-card {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cs-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.cs-card-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(26,54,93,0.08), rgba(26,54,93,0.03));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nyw-primary, #1a365d);
}

.cs-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 6px;
}

.cs-card a {
    color: var(--nyw-primary, #1a365d);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.cs-card a:hover {
    text-decoration: underline;
}

.cs-card span {
    font-size: 15px;
    color: var(--nyw-text, #4a5568);
}

.cs-card-note {
    font-size: 12px !important;
    color: var(--nyw-text-light, #718096) !important;
    margin: 4px 0 0 !important;
}

.cs-form-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.cs-form-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
}

/* Tech support resources */
.ts-resources {
    margin-bottom: 8px;
}

.ts-resources h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
}

.ts-resource-grid {
    display: grid;
    gap: 12px;
}

.ts-resource-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.ts-resource-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 2px 12px rgba(26,54,93,0.08);
}

.ts-resource-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(26,54,93,0.08), rgba(26,54,93,0.03));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--nyw-primary, #1a365d);
}

.ts-resource-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 2px;
}

.ts-resource-card p {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
}

.ts-resource-arrow {
    margin-left: auto;
    color: var(--nyw-text-light, #718096);
    opacity: 0;
    transition: opacity 0.2s;
}

.ts-resource-card:hover .ts-resource-arrow {
    opacity: 1;
}

/* ============================================
   DOWNLOAD / PDF PAGE
   ============================================ */

.dl-section {
    margin-bottom: 32px;
}

.dl-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
}

.dl-catalog-card {
    display: flex;
    gap: 28px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dl-catalog-img {
    width: 180px;
    flex-shrink: 0;
}

.dl-catalog-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.dl-catalog-info h2 {
    font-size: 22px;
    margin-top: 0;
}

.dl-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.dl-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
}

.dl-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--nyw-primary, #1a365d);
    border-radius: 50%;
    opacity: 0.5;
}

.dl-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--nyw-bg-light, #f8f9fa);
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--nyw-text, #4a5568);
}

.dl-btn:hover {
    border-color: var(--nyw-primary, #1a365d);
    background: #fff;
    box-shadow: 0 2px 8px rgba(26,54,93,0.08);
}

.dl-btn svg {
    color: var(--nyw-primary, #1a365d);
    flex-shrink: 0;
}

.dl-btn strong {
    display: block;
    font-size: 14px;
    color: var(--nyw-dark, #1a202c);
}

.dl-btn small {
    display: block;
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin-top: 2px;
}

.dl-btn--primary {
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d), #2a4a7f);
    border-color: transparent;
    color: #fff;
}

.dl-btn--primary strong {
    color: #fff;
}

.dl-btn--primary small {
    color: rgba(255,255,255,0.75);
}

.dl-btn--primary svg {
    color: #fff;
}

.dl-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,54,93,0.25);
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d), #2a4a7f);
}

/* Download grid items */
.dl-grid {
    display: grid;
    gap: 8px;
}

.dl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--nyw-text, #4a5568);
    font-size: 14px;
}

.dl-item:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 2px 8px rgba(26,54,93,0.06);
}

.dl-item svg:first-child {
    color: #dc2626;
    flex-shrink: 0;
}

.dl-item svg:last-child {
    color: var(--nyw-text-light, #718096);
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.dl-item:hover svg:last-child {
    opacity: 1;
}

.dl-item span {
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
}

.dl-item strong {
    display: block;
    color: var(--nyw-dark, #1a202c);
    font-size: 14px;
}

.dl-item small {
    display: block;
    color: var(--nyw-text-light, #718096);
    font-size: 12px;
    margin-top: 2px;
}

.dl-note {
    padding: 16px 20px;
    background: var(--nyw-bg-light, #f8f9fa);
    border-radius: 10px;
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
}

.dl-note a {
    color: var(--nyw-primary, #1a365d);
}

/* ============================================
   INSTALLATION INFO PAGE
   ============================================ */

.ii-section {
    margin-bottom: 32px;
}

.ii-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 8px;
}

.ii-section-desc {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 0 0 16px;
}

.ii-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.ii-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--nyw-dark, #1a202c);
    transition: all 0.2s ease;
}

.ii-link-card svg {
    color: var(--nyw-primary, #1a365d);
    flex-shrink: 0;
    opacity: 0.6;
}

.ii-link-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 2px 8px rgba(26,54,93,0.08);
    color: var(--nyw-primary, #1a365d);
}

.ii-link-card:hover svg {
    opacity: 1;
}

/* ============================================
   SOFTWARE DOWNLOAD PAGE
   ============================================ */

.sw-hero {
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 32px;
}

.sw-hero-img {
    width: 260px;
    flex-shrink: 0;
}

.sw-hero-img img {
    width: 100%;
    border-radius: 8px;
}

.sw-hero-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 8px;
}

.sw-hero-info p {
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
    margin: 0 0 16px;
    line-height: 1.7;
}

.sw-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sw-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
}

.sw-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border: 2px solid #16a34a;
    border-radius: 50%;
}

.sw-download-section {
    margin-bottom: 32px;
}

.sw-download-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
}

.sw-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sw-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 10px;
}

.sw-step-num {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--nyw-primary, #1a365d), #2a4a7f);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.sw-step strong {
    display: block;
    font-size: 15px;
    color: var(--nyw-dark, #1a202c);
    margin-bottom: 2px;
}

.sw-step p {
    font-size: 13px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
}

.sw-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 1px solid #fbbf24;
    border-radius: 10px;
    margin-top: 24px;
}

.sw-notice svg {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.sw-notice strong {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 4px;
}

.sw-notice p {
    font-size: 13px;
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

.sw-notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 16px 0 32px;
}

.sw-notice-col p {
    font-size: 13px;
    color: var(--nyw-text, #4a5568);
    line-height: 1.7;
    margin: 0 0 8px;
}

.sw-divider {
    border: none;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
    margin: 40px 0;
}

.sw-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 24px;
}

.sw-2wire-hero {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
}

.sw-2wire-images {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.sw-2wire-images figure {
    margin: 0;
    text-align: center;
}

.sw-2wire-images figure img {
    max-height: 200px;
    width: auto;
    border-radius: 6px;
}

.sw-2wire-images figcaption {
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin-top: 6px;
    line-height: 1.4;
}

.sw-2wire-info p {
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
    line-height: 1.7;
    margin: 0 0 12px;
}

.sw-dl-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.sw-dl-col h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 12px;
}

.sw-steps-list {
    padding-left: 20px;
    margin: 0;
}

.sw-steps-list li {
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
    line-height: 1.7;
    margin-bottom: 12px;
}

.sw-note-small {
    font-size: 12px;
    color: var(--nyw-text-light, #718096);
    margin: 12px 0 0;
    font-style: italic;
}

.sw-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sw-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--nyw-primary, #1a365d);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    text-decoration: none;
}

.sw-dl-btn:hover {
    background: #2a4a7f;
    color: #fff;
}

.sw-dl-btn--pdf {
    background: #dc2626;
}

.sw-dl-btn--pdf:hover {
    background: #b91c1c;
}

.sw-dl-btn--link {
    background: transparent;
    color: var(--nyw-primary, #1a365d);
    border: 1px solid var(--nyw-border, #e5e7eb);
}

.sw-dl-btn--link:hover {
    background: var(--nyw-bg-light, #f8f9fa);
    border-color: var(--nyw-primary, #1a365d);
}

.sw-dl-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 8px;
}

/* ============================================
   IPX NETWORK INTERCOM PAGE
   ============================================ */

.ipx-advantages {
    margin-bottom: 36px;
}

.ipx-advantages h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 20px;
}

.ipx-adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ipx-adv-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.ipx-adv-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.ipx-adv-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(26,54,93,0.1), rgba(26,54,93,0.04));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nyw-primary, #1a365d);
    margin-bottom: 14px;
}

.ipx-adv-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 6px;
}

.ipx-adv-card p {
    font-size: 14px;
    color: var(--nyw-text, #4a5568);
    margin: 0;
    line-height: 1.6;
}

.ipx-manuals {
    padding-top: 28px;
    border-top: 1px solid var(--nyw-border, #e5e7eb);
}

.ipx-manuals h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 16px;
}

/* ============================================
   CONTACT US LANDING PAGE
   ============================================ */

.cu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cu-card {
    display: block;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--nyw-border, #e5e7eb);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

.cu-card:hover {
    border-color: var(--nyw-primary, #1a365d);
    box-shadow: 0 4px 16px rgba(26,54,93,0.1);
    transform: translateY(-2px);
}

.cu-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(26,54,93,0.1), rgba(26,54,93,0.04));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nyw-primary, #1a365d);
    margin-bottom: 16px;
}

.cu-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--nyw-dark, #1a202c);
    margin: 0 0 6px;
}

.cu-card p {
    font-size: 14px;
    color: var(--nyw-text-light, #718096);
    margin: 0;
}

.cu-card-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nyw-text-light, #718096);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.cu-card:hover .cu-card-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}

/* ============================================
   STATIC PAGES — Responsive
   ============================================ */

@media (max-width: 1024px) {
    .sp-sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .sp-layout {
        flex-direction: column;
    }
    .sp-layout.sp-has-sidebar {
        flex-direction: column;
    }
    .sp-sidebar {
        width: 100%;
        position: static;
    }
    .sp-sidebar-links {
        display: flex;
        flex-wrap: wrap;
        padding: 0 12px 12px;
        gap: 4px;
    }
    .sp-sidebar-item a {
        padding: 8px 14px;
        border-left: none;
        border-radius: 8px;
        font-size: 13px;
    }
    .sp-sidebar-item.sp-active a {
        border-left: none;
        background: var(--nyw-primary, #1a365d);
        color: #fff;
    }
    .sp-sidebar-item.sp-active a svg {
        color: #fff;
    }
    .sp-sidebar-contact {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
        padding: 16px 18px;
    }
    .sp-sidebar-contact h4 {
        width: 100%;
        margin-bottom: 6px;
    }
    .tm-office-grid {
        grid-template-columns: 1fr;
    }
    .dl-catalog-card {
        flex-direction: column;
    }
    .dl-catalog-img {
        width: 120px;
    }
    .sw-hero {
        flex-direction: column;
    }
    .sw-hero-img {
        width: 100%;
        max-width: 280px;
    }
    .sw-dl-columns {
        grid-template-columns: 1fr;
    }
    .sw-notice-grid {
        grid-template-columns: 1fr;
    }
    .sw-2wire-hero {
        flex-direction: column;
    }
    .sw-2wire-images {
        justify-content: center;
    }
    .ipx-adv-grid {
        grid-template-columns: 1fr;
    }
    .cu-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Homepage HTML Block ── */
.homepage-html-section {
    background: var(--nyw-white, #fff);
}

/* ============================================ */
/* Installation Information Page                */
/* ============================================ */
.ii-section {
    margin-bottom: 2rem;
}
.ii-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nyw-dark, #1a1a2e);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nyw-primary, #0d6efd);
}
.ii-section-desc {
    color: var(--nyw-text-muted, #6b7280);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

/* Resource grid (General Resource Links) */
.ii-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.ii-resource-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--nyw-light-bg, #f8f9fa);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: var(--nyw-dark, #1a1a2e);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.ii-resource-card:hover {
    border-color: var(--nyw-primary, #0d6efd);
    box-shadow: 0 2px 8px rgba(13,110,253,0.12);
    transform: translateY(-1px);
    color: var(--nyw-primary, #0d6efd);
}
.ii-resource-card svg {
    flex-shrink: 0;
    color: var(--nyw-primary, #0d6efd);
}

/* Download list grid */
.ii-dl-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ii-dl-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--nyw-white, #fff);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: var(--nyw-dark, #1a1a2e);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ii-dl-item:hover {
    border-color: var(--nyw-primary, #0d6efd);
    box-shadow: 0 2px 8px rgba(13,110,253,0.10);
}
.ii-dl-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,110,253,0.08);
    border-radius: 6px;
    color: var(--nyw-primary, #0d6efd);
}
.ii-dl-info {
    flex: 1;
    min-width: 0;
}
.ii-dl-info strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--nyw-dark, #1a1a2e);
    line-height: 1.3;
}
.ii-dl-info span {
    display: block;
    font-size: 0.82rem;
    color: var(--nyw-text-muted, #6b7280);
    margin-top: 2px;
}
.ii-dl-action {
    flex-shrink: 0;
    color: var(--nyw-primary, #0d6efd);
    opacity: 0.5;
    transition: opacity 0.2s;
}
.ii-dl-item:hover .ii-dl-action {
    opacity: 1;
}

/* Grouped download items (Kit Manuals) */
.ii-dl-grid--grouped {
    gap: 1.5rem;
}
.ii-dl-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ii-dl-group-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nyw-dark, #1a1a2e);
    margin: 0;
    padding-left: 0.25rem;
}

@media (max-width: 600px) {
    .ii-resource-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ii-dl-item {
        padding: 0.7rem 0.75rem;
    }
    .ii-dl-icon {
        width: 30px;
        height: 30px;
    }
}

/* ============================================ */
/* Download Manuals Page                        */
/* ============================================ */
.dm-catalog-section {
    margin-bottom: 2rem;
}
.dm-catalog-card {
    display: flex;
    gap: 1.5rem;
    background: var(--nyw-light-bg, #f8f9fa);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    align-items: flex-start;
}
.dm-catalog-img {
    flex-shrink: 0;
    width: 160px;
}
.dm-catalog-img img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dm-catalog-info h2 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}
.dm-catalog-info ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--nyw-text-muted, #6b7280);
}
.dm-catalog-info ul li {
    margin-bottom: 0.3rem;
}
.dm-catalog-info h3 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    color: var(--nyw-dark, #1a1a2e);
}
.dm-warranty {
    margin-bottom: 1.5rem;
}
.dm-warranty h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.dm-main-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--nyw-dark, #1a1a2e);
    margin-bottom: 0.25rem;
}

/* Category section */
.dm-category-section {
    margin-bottom: 2.5rem;
}
.dm-shared-pdfs {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(13,110,253,0.04);
    border: 1px solid rgba(13,110,253,0.12);
    border-radius: 8px;
}
.dm-shared-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nyw-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.dm-shared-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.dm-shared-list .sw-dl-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
}

/* Product grid */
.dm-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.dm-product-card {
    display: flex;
    gap: 0.75rem;
    background: var(--nyw-white, #fff);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.dm-product-card:hover {
    border-color: var(--nyw-primary, #0d6efd);
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
}
.dm-product-img {
    flex-shrink: 0;
    width: 80px;
    align-self: flex-start;
}
.dm-product-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
}
.dm-product-info {
    flex: 1;
    min-width: 0;
}
.dm-product-info h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}
.dm-product-info h3 a {
    color: var(--nyw-dark, #1a1a2e);
    text-decoration: none;
}
.dm-product-info h3 a:hover {
    color: var(--nyw-primary, #0d6efd);
}
.dm-product-pdfs {
    margin-bottom: 0.5rem;
}
.dm-pdf-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nyw-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}
.dm-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--nyw-primary, #0d6efd);
    text-decoration: none;
    padding: 0.15rem 0;
    margin-right: 0.75rem;
}
.dm-pdf-link:hover {
    text-decoration: underline;
}
.dm-pdf-link svg {
    flex-shrink: 0;
}
.dm-product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--nyw-text-muted, #6b7280);
    text-decoration: none;
    margin-top: 0.25rem;
}
.dm-product-link:hover {
    color: var(--nyw-primary, #0d6efd);
}

@media (max-width: 768px) {
    .dm-catalog-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .dm-catalog-img {
        width: 120px;
    }
    .dm-catalog-info ul {
        text-align: left;
    }
    .dm-product-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .dm-product-card {
        flex-direction: column;
    }
    .dm-product-img {
        width: 60px;
    }
}
