/**
 * CoralVue Hyvä redesign — light premium storefront.
 */
:root {
    --cv-blue: #0077b9;
    --cv-navy: #092a48;
    --cv-orange: #f58220;
    --cv-orange-hover: #d86f14;
    --cv-white: #fff;
    --cv-gray: #f5f7f8;
    --cv-border: #e4e8eb;
    --cv-text: #17232d;
    --cv-muted: #5b6770;
    --cv-radius: 16px;
    --cv-radius-sm: 12px;
}

body {
    background: var(--cv-white);
    color: var(--cv-text);
    font-family: "Lato", "Inter", sans-serif;
}

.page-wrapper .container {
    max-width: 1200px;
}

/* Header */
.cv-header-redesign {
    background: #fff;
    border-bottom: 1px solid var(--cv-border);
    box-shadow: none;
}

.cv-util-bar {
    background: var(--cv-navy);
    color: #fff;
    font-size: 13px;
}

.cv-util-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cv-util-ship {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
}

.cv-util-links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-util-links a {
    color: #fff !important;
    text-decoration: none;
    opacity: 0.9;
}

.cv-util-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.cv-header-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0 0.75rem;
}

.cv-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.cv-header-logo-wrap img,
.cv-header-redesign .logo img {
    max-height: 52px;
    width: auto;
}

.cv-store-switch {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.cv-store-switch-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.42;
    transition: opacity 160ms ease;
}

.cv-store-switch-link.is-active,
.cv-store-switch-link:hover,
.cv-store-switch-link:focus-visible {
    opacity: 1;
}

.cv-store-switch-main img {
    max-height: 48px;
    width: auto;
}

.cv-store-switch-outlet {
    padding-left: 0.85rem;
    border-left: 1px solid var(--cv-border);
}

.cv-store-switch-outlet img {
    max-height: 34px;
    width: auto;
}

.cv-search-bar {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: 999px;
    overflow: hidden;
}

.cv-search-cat {
    border: 0;
    background: #f8fafb;
    color: var(--cv-text);
    font-size: 13px;
    padding: 0 0.85rem;
    max-width: 10.5rem;
    border-right: 1px solid var(--cv-border);
}

.cv-search-bar input[type="search"] {
    flex: 1;
    border: 0;
    min-width: 0;
    height: 48px;
    padding: 0 1rem;
    font-size: 15px;
    background: transparent;
}

.cv-search-bar input:focus,
.cv-search-cat:focus {
    outline: none;
}

.cv-search-btn {
    width: 56px;
    border: 0;
    background: var(--cv-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cv-search-btn:hover {
    background: var(--cv-orange-hover);
}

.cv-search-bar-mobile-wrap,
.cv-search-bar-mobile {
    display: none;
}

.cv-skip-products {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
}

.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cv-icon-btn,
.cv-header-redesign .btn {
    color: var(--cv-navy);
    background: transparent;
    border: 0;
    padding: 0.4rem;
}

.cv-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--cv-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.cv-header-nav-row {
    background: #fff;
    border-top: 1px solid var(--cv-border);
}

.cv-header-redesign .cv-mega-nav,
.cv-header-redesign .cv-header-nav-row .cv-mega-nav {
    display: flex;
    position: relative;
    background: transparent;
    width: 100%;
}

.cv-header-redesign .cv-mega-top-list {
    width: 100%;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    flex-wrap: nowrap;
}

.cv-header-redesign .cv-mega-top-item--wide {
    position: static;
}

.cv-header-redesign .cv-mega-top-link {
    color: var(--cv-text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 14px 10px;
}

.cv-header-redesign .cv-mega-toggle {
    color: var(--cv-text);
}

.cv-header-redesign .cv-mega-top-item:hover .cv-mega-top-link,
.cv-header-redesign .cv-mega-top-item:hover .cv-mega-toggle,
.cv-header-redesign .cv-mega-top-link:hover {
    background: transparent;
    color: var(--cv-blue);
    box-shadow: none;
}

.cv-header-redesign .cv-mega-top-item:hover .cv-mega-top-link {
    box-shadow: inset 0 -2px 0 var(--cv-orange);
}

.cv-header-redesign .cv-nav-sale {
    color: var(--cv-orange) !important;
}

.cv-header-redesign .cv-mega-panel {
    left: 0;
    width: min(1200px, 96vw);
    border-radius: 0 0 12px 12px;
}

.cv-header-redesign .cv-mega-panel--brands .cv-mega-panel-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-header-redesign .cv-mega-panel--brands .cv-mega-col-links a {
    font-weight: 600;
    color: #334155;
    padding: 0.28rem 0;
}

.cv-header-redesign .cv-mega-panel--commercial {
    left: 0;
    width: 280px;
}

.cv-header-redesign .cv-mega-panel--commercial .cv-mega-panel-inner {
    display: block;
    padding: 14px 18px 16px;
}

.cv-header-redesign .cv-mega-panel--commercial .cv-mega-col {
    margin-bottom: 0.7rem;
}

.cv-header-redesign .cv-mega-panel--commercial .cv-mega-col:last-child {
    margin-bottom: 0;
}

.cv-header-redesign .cv-mega-panel--parts .cv-mega-panel-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cv-header-redesign .cv-mega-panel--parts .cv-mega-col-title {
    margin-top: 0.7rem;
}

.cv-header-redesign .cv-mega-panel--parts .cv-mega-col-title:first-child {
    margin-top: 0;
}

/* Homepage */
.cms-index-index .page-main {
    margin: 0;
    padding: 0;
}

.cv-home {
    color: var(--cv-text);
}

.cv-section {
    padding: 4.5rem 0;
}

.cv-section-muted {
    background: var(--cv-gray);
}

.cv-section-head {
    margin-bottom: 1.75rem;
}

.cv-section-head-center {
    text-align: center;
}

.cv-section-head h2,
.cv-home h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--cv-navy);
    margin: 0 0 0.4rem;
}

.cv-section-head p {
    margin: 0;
    color: var(--cv-muted);
}

.cv-home-hero {
    padding: 1.5rem 0 0;
}

.cv-hero-card {
    min-height: 460px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 16px 40px rgba(9, 42, 72, 0.12);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.cv-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 20, 34, 0.72) 0%, rgba(7, 20, 34, 0.28) 48%, rgba(7, 20, 34, 0.08) 100%);
}

.cv-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    padding: 3.5rem 3rem;
    color: #fff;
}

.cv-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.cv-eyebrow-blue {
    color: var(--cv-blue);
}

.cv-hero-copy h1 {
    margin: 0 0 0.85rem;
    font-size: 3.1rem;
    line-height: 1.08;
    font-weight: 900;
    color: #fff;
}

.cv-hero-sub {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.cv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
}

.cv-btn-orange,
.cv-btn-orange:hover {
    background: var(--cv-orange);
    border-color: var(--cv-orange);
    color: #fff !important;
}

.cv-btn-orange:hover {
    background: var(--cv-orange-hover);
}

.cv-btn-blue,
.cv-btn-blue:hover {
    background: var(--cv-blue);
    border-color: var(--cv-blue);
    color: #fff !important;
}

.cv-btn-ghost,
.cv-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff !important;
}

.cv-btn-sm {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: 100%;
}

.cv-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cv-cat-card {
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm);
    padding: 1rem 1rem 1.1rem;
    text-decoration: none;
    color: var(--cv-text);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.cv-cat-card:hover {
    box-shadow: 0 14px 30px rgba(9, 42, 72, 0.1);
    color: var(--cv-text);
}

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

.cv-cat-media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f8fafb;
    margin-bottom: 0.85rem;
}

.cv-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.cv-cat-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}

.cv-cat-arrow {
    color: var(--cv-blue);
}

.cv-brand-row {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.cv-brand-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 0.85rem 1.1rem;
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: 12px;
    text-decoration: none;
}

.cv-brand-row picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cv-brand-row img {
    display: block;
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cv-brand-row a:hover {
    border-color: var(--cv-blue);
}

.cv-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.cv-product-card {
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cv-product-media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: #fff;
    padding: 1rem;
}

.cv-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cv-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cv-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.cv-product-body {
    padding: 0 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.cv-product-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
}

.cv-product-body h3 a {
    color: var(--cv-navy);
    text-decoration: none;
}

.cv-product-price {
    font-weight: 800;
    color: var(--cv-text);
}

.cv-product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.cv-text-link {
    color: var(--cv-blue);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.cv-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cv-solution-card {
    min-height: 320px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
}

.cv-solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 42, 72, 0.05), rgba(9, 42, 72, 0.72));
}

.cv-solution-copy {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    color: #fff;
}

.cv-solution-copy h3 {
    margin: 0 0 0.4rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
}

.cv-solution-copy p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.88);
}

.cv-promo-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #f6f1ea;
    border-radius: 20px;
    padding: 2.5rem;
}

.cv-promo-copy h2 {
    font-size: 2.2rem;
    margin: 0 0 0.75rem;
}

.cv-promo-copy p {
    color: var(--cv-muted);
    margin: 0 0 1.25rem;
    max-width: 32rem;
}

.cv-promo-media img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.cv-edu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cv-edu-card {
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--cv-text);
}

.cv-edu-card picture {
    display: block;
}

.cv-edu-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cv-edu-card div {
    padding: 1.15rem 1.2rem 1.3rem;
}

.cv-edu-card h3 {
    margin: 0 0 0.35rem;
    color: var(--cv-navy);
    font-size: 1.15rem;
}

.cv-edu-card p {
    margin: 0;
    color: var(--cv-muted);
}

.cv-trust {
    border-top: 1px solid var(--cv-border);
    padding: 1.75rem 0;
    background: var(--cv-gray);
}

.cv-trust-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.cv-trust-item,
.cv-trust-row > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.85rem 0.9rem;
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: 12px;
    color: var(--cv-blue);
}

.cv-trust-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8f4fb;
    color: var(--cv-blue);
}

.cv-trust-row strong {
    display: block;
    color: var(--cv-navy);
    font-size: 0.88rem;
    line-height: 1.25;
    font-weight: 800;
}

.cv-trust-row span:not(.cv-trust-icon) {
    display: block;
    color: var(--cv-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Footer */
.cv-footer-redesign {
    margin-top: 0;
    border-top: 0;
    background: var(--cv-navy);
    color: #d7e0e8;
}

.cv-newsletter {
    background: #eef1f3;
    color: var(--cv-text);
    padding: 1.75rem 0;
}

.cv-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex-wrap: wrap;
}

.cv-newsletter-copy {
    flex: 1 1 18rem;
    min-width: 0;
    max-width: 36rem;
}

.cv-newsletter-form {
    flex: 0 1 28rem;
    width: 100%;
    margin: 0;
}

.cv-footer-redesign .cv-newsletter h2,
.cv-footer-redesign .cv-newsletter-title,
.cv-newsletter h2,
.cv-newsletter-title {
    display: block;
    position: static;
    margin: 0 0 0.4rem;
    color: var(--cv-navy) !important;
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 800;
}

.cv-footer-redesign .cv-newsletter p,
.cv-footer-redesign .cv-newsletter-text,
.cv-newsletter p,
.cv-newsletter-text {
    display: block;
    position: static;
    margin: 0;
    color: var(--cv-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    height: auto !important;
    max-height: none !important;
    white-space: normal !important;
}

.cv-footer-main {
    padding: 3rem 0 2rem;
}

.cv-footer-redesign .cv-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.cv-footer-redesign h2 {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.9rem;
}

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

.cv-footer-redesign li {
    margin: 0 0 0.5rem;
}

.cv-footer-redesign a {
    color: #c5d0d9;
    text-decoration: none;
}

.cv-footer-redesign a:hover {
    color: #fff;
}

.cv-footer-logo {
    display: block;
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: 800;
    line-height: 1.3 !important;
    margin: 0 0 0.55rem;
}

.cv-footer-brand p,
.cv-footer-tagline {
    display: block;
    position: static;
    color: #9aadb8 !important;
    max-width: 20rem;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0;
    white-space: normal !important;
}

.cv-footer-redesign .cv-footer-bottom {
    background: #071f36;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-footer-redesign .cv-copyright-text {
    color: #8ea0ab;
}

.cv-footer-redesign .form.subscribe,
.cv-newsletter .form.subscribe {
    display: flex;
    gap: 0.5rem;
}

.cv-footer-redesign .form.subscribe input[type="email"],
.cv-newsletter input[type="email"] {
    min-width: 240px;
    border-radius: 10px;
    border: 1px solid var(--cv-border);
    height: 48px;
}

.cv-newsletter .action.subscribe,
.cv-newsletter .btn-primary,
.cv-newsletter button[type="submit"] {
    background: var(--cv-orange) !important;
    border-color: var(--cv-orange) !important;
    color: #fff !important;
    border-radius: 10px;
    min-height: 48px;
    padding: 0 1.25rem;
    font-weight: 800;
}

.cv-newsletter-form .form.subscribe {
    width: 100%;
    max-width: 28rem;
}

@media (max-width: 1023px) {
    .cv-util-links {
        display: none;
    }

    .cv-util-inner {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: 30px;
        padding: 0.3rem 0;
    }

    .cv-util-ship {
        width: 100%;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.35;
        padding: 0 0.5rem;
        white-space: normal;
    }

    .cv-header-row {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.5rem 0 0.35rem;
    }

    .cv-header-left {
        gap: 0.25rem;
        flex: 1;
        min-width: 0;
    }

    .cv-header-logo-wrap {
        min-width: 0;
    }

    .cv-header-logo-wrap img,
    .cv-header-redesign .logo img,
    .cv-store-switch-main img {
        max-height: 30px;
    }

    .cv-store-switch {
        gap: 0.55rem;
    }

    .cv-store-switch-outlet {
        padding-left: 0.55rem;
    }

    .cv-store-switch-outlet img {
        max-height: 22px;
    }

    .cv-header-redesign .lg\\:hidden .btn,
    .cv-header-redesign [aria-label="Open menu"] {
        padding: 0.25rem;
    }

    .cv-search-bar:not(.cv-search-bar-mobile) {
        display: none;
    }

    .cv-search-bar-mobile-wrap {
        display: block;
        width: 100%;
        padding-bottom: 0.65rem;
    }

    .cv-search-bar-mobile {
        display: flex;
        width: 100%;
        max-width: none;
        height: 42px;
        margin: 0;
        padding: 0 !important;
        border-radius: 999px;
        overflow: hidden;
    }

    .cv-search-bar-mobile input[type="search"] {
        height: 42px;
        font-size: 14px;
        padding: 0 0.85rem;
    }

    .cv-search-bar-mobile .cv-search-btn {
        width: 48px;
        flex: 0 0 48px;
        height: 42px;
        align-self: stretch;
        border-radius: 0 999px 999px 0;
    }

    .cv-header-redesign .cv-header-nav-row {
        display: none;
    }

    .cv-header-redesign .cv-header-nav-row .cv-mega-nav {
        display: none;
    }

    /* Shop By */
    .cv-shopby,
    .catalog-category-view .block.filter,
    .catalogsearch-result-index .block.filter {
        background: #fff !important;
        border: 1px solid var(--cv-border) !important;
        border-radius: 12px !important;
        padding: 0.45rem 0.7rem !important;
        margin: 0.75rem 0 1rem !important;
    }

    .cv-shopby .filter-content,
    .block.filter .filter-content {
        padding-top: 0.35rem !important;
    }

    .cv-shopby-toggle,
    .cv-shopby .block-title,
    .block.filter .block-title {
        margin: 0 !important;
    }

    .cv-shopby-label,
    .cv-shopby .cv-shopby-label,
    .block.filter .block-title span {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        font-weight: 800 !important;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--cv-navy) !important;
    }

    .cv-shopby-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        border: 1px solid var(--cv-border);
        background: var(--cv-gray);
        color: var(--cv-navy);
        padding: 0;
    }

    .cv-shopby .filter-option.card,
    .block.filter .filter-option.card {
        margin: 0.45rem 0 0 !important;
        padding: 0.55rem 0.65rem !important;
        border: 1px solid var(--cv-border);
        border-radius: 10px;
        box-shadow: none;
        background: #fff;
    }

    .cv-shopby .filter-options-title,
    .cv-shopby .filter-options-title .title,
    .block.filter .filter-options-title,
    .block.filter .filter-options-title .title {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        color: var(--cv-navy) !important;
    }

    .cv-shopby .filter-options-title span.rounded,
    .block.filter .filter-options-title span.rounded {
        width: 26px;
        height: 26px;
        padding: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px !important;
        background: var(--cv-gray);
    }

    .cv-shopby .filter-options-content,
    .block.filter .filter-options-content {
        padding-top: 0.35rem !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
    }

    .cv-shopby .filter-options-content .items,
    .block.filter .filter-options-content .items {
        margin: 0;
        padding: 0;
    }

    .cv-shopby .filter-options-content li,
    .block.filter .filter-options-content li {
        margin: 0;
        padding: 0;
    }

    .cv-shopby .filter-options-content a,
    .block.filter .filter-options-content a {
        position: relative;
        font-size: 0.82rem;
        line-height: 1.35;
        padding: 0.2rem 0;
        background: transparent;
    }

    .cv-shopby .filter-options-content .count,
    .block.filter .filter-options-content .count {
        position: static !important;
        display: inline !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 0 0 0.25rem;
        background: none !important;
        color: var(--cv-muted) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        line-height: inherit !important;
    }

    /* Compact 2-up product cards */
    .catalog-category-view .products.wrapper ul.grid,
    .catalogsearch-result-index .products.wrapper ul.grid,
    .products.wrapper ul.product-items,
    .products.wrapper ul.grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
    }

    .cv-plp-card,
    .catalog-category-view .product-item.cv-plp-card {
        min-width: 0 !important;
        padding: 0.45rem 0.35rem 0.7rem !important;
        border: 1px solid var(--cv-border);
        border-radius: 12px;
        box-shadow: none;
    }

    .cv-plp-card .relative.w-full {
        margin-bottom: 0.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 124px;
        min-height: 124px;
        max-height: 124px;
    }

    .cv-plp-card .product-item-photo,
    .cv-plp-card .product-item-photo img,
    .cv-plp-card img.product-image-photo {
        display: block !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        max-height: 132px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .cv-plp-card .product-info {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        padding-bottom: 0.15rem !important;
        text-align: center;
    }

    .cv-plp-card .product-item-link {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        font-weight: 700;
    }

    .cv-plp-card .price {
        font-size: 0.88rem !important;
    }

    .cv-plp-card .cv-plp-brand {
        font-size: 0.68rem;
    }

    .cv-plp-card .cv-plp-brand-logo {
        max-width: 38%;
    }

    .cv-plp-card .cv-plp-brand-logo img {
        max-height: 1.35rem;
    }

    .cv-plp-card .btn,
    .cv-plp-card .cv-plp-view-details,
    .cv-plp-card .cv-plp-order-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.72rem !important;
        padding: 0.4rem 0.45rem !important;
        min-height: 0;
    }

    .cv-plp-card .btn svg {
        width: 14px;
        height: 14px;
    }

    .page-title-wrapper .page-title,
    .page-main .page-title,
    h1.page-title {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .cv-hero-copy h1 {
        font-size: 2.1rem;
    }

    .cv-hero-copy {
        padding: 2rem 1.4rem;
    }

    .cv-cat-grid,
    .cv-product-grid,
    .cv-brand-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cv-solution-grid,
    .cv-edu-grid,
    .cv-promo-banner {
        grid-template-columns: 1fr;
    }

    .cv-trust {
        padding: 1rem 0;
    }

    .cv-trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .cv-trust-item,
    .cv-trust-row > div {
        padding: 0.7rem 0.65rem;
        gap: 0.55rem;
    }

    .cv-trust-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .cv-trust-row strong {
        font-size: 0.78rem;
    }

    .cv-trust-row span:not(.cv-trust-icon) {
        font-size: 0.68rem;
    }

    .cv-newsletter {
        padding: 1.15rem 0;
    }

    .cv-newsletter-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .cv-newsletter-copy,
    .cv-newsletter-form {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
    }

    .cv-newsletter-form,
    .cv-newsletter .form.subscribe,
    .cv-newsletter-form .form.subscribe {
        width: 100%;
        max-width: none;
    }

    .cv-newsletter .form.subscribe {
        display: flex;
        gap: 0;
    }

    .cv-newsletter input[type="email"] {
        min-width: 0;
        flex: 1;
        border-radius: 10px 0 0 10px;
        height: 46px;
    }

    .cv-newsletter .action.subscribe,
    .cv-newsletter .btn-primary,
    .cv-newsletter button[type="submit"] {
        border-radius: 0 10px 10px 0;
        min-height: 46px;
        padding: 0 1rem;
    }

    .cv-footer-redesign .cv-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
    }

    .cv-footer-redesign .cv-footer-brand {
        grid-column: 1 / -1;
    }

    .cv-section {
        padding: 3rem 0;
    }
}

/* Outlet homepage */
.cv-outlet-hero {
    margin: 0;
    overflow: hidden;
}

.cv-outlet-hero-inner {
    display: block;
    min-height: 420px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.cv-outlet-hero--savings {
    background:
        linear-gradient(115deg, rgba(0, 0, 0, 0.28) 0 40%, transparent 56%),
        linear-gradient(28deg, transparent 58%, rgba(255, 255, 255, 0.05) 58% 70%, transparent 70%),
        linear-gradient(155deg, transparent 0 46%, rgba(0, 0, 0, 0.18) 46% 62%, transparent 62%),
        linear-gradient(135deg, #061627 0%, #0c355c 48%, #0077b9 100%);
}

.cv-outlet-hero--parts {
    background:
        linear-gradient(115deg, rgba(0, 0, 0, 0.22) 0 40%, transparent 56%),
        linear-gradient(28deg, transparent 58%, rgba(255, 255, 255, 0.08) 58% 70%, transparent 70%),
        linear-gradient(155deg, transparent 0 46%, rgba(0, 0, 0, 0.12) 46% 62%, transparent 62%),
        linear-gradient(135deg, #c45a10 0%, #f58220 55%, #ffb35a 100%);
}

.cv-outlet-hero-copy {
    position: relative;
    z-index: 2;
    padding: 2.4rem 46% 2.4rem 6vw;
    max-width: none;
}

.cv-outlet-hero-copy .cv-outlet-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cv-outlet-hero--savings .cv-outlet-kicker {
    color: #ffb35a;
}

.cv-outlet-hero--parts .cv-outlet-kicker {
    color: #3b220c;
}

.cv-outlet-hero-copy h2 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.cv-outlet-hero--savings .cv-outlet-hero-copy h2 em {
    color: #4fc3f7;
    font-style: normal;
}

.cv-outlet-hero--parts .cv-outlet-hero-copy h2 em {
    color: #3b220c;
    font-style: normal;
}

.cv-outlet-hero-copy .cv-outlet-offer {
    margin: 0 0 1.15rem;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.cv-outlet-hero--parts .cv-outlet-hero-copy .cv-outlet-offer {
    color: #3b220c;
}

.cv-outlet-hero-art {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 36%;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 1.35rem 1.25rem 1.35rem 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
}

.cv-outlet-hero-art > picture,
.cv-outlet-hero-art > img {
    display: block;
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.cv-outlet-hero-art picture.cv-outlet-hero-art-main,
.cv-outlet-hero-art > img.cv-outlet-hero-art-main {
    grid-row: 1 / span 2;
}

.cv-outlet-hero-art img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.cv-outlet-support {
    padding: 3.5rem 0;
    background: #fff;
}

.cv-outlet-support-inner {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: 2.5rem 3rem;
    align-items: center;
}

.cv-outlet-support-photo {
    width: 260px;
    max-width: 100%;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--cv-orange);
    background: var(--cv-gray);
}

.cv-outlet-support-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-outlet-support-copy h2 {
    margin: 0 0 0.4rem;
    color: var(--cv-blue);
    font-size: 2rem;
    font-weight: 800;
}

.cv-outlet-support-lead {
    margin: 0 0 0.85rem;
    color: var(--cv-text);
    font-size: 1.15rem;
    font-weight: 700;
}

.cv-outlet-support-copy p {
    margin: 0 0 1.25rem;
    color: var(--cv-muted);
    line-height: 1.6;
    max-width: 38rem;
}

.cv-outlet-support-copy a:not(.cv-btn) {
    color: var(--cv-blue);
    font-weight: 700;
}

.cv-outlet-about {
    padding: 3rem 0 3.5rem;
    background: var(--cv-gray);
}

.cv-outlet-about h2 {
    margin: 0 0 1rem;
    color: var(--cv-navy);
    font-size: 1.7rem;
}

.cv-outlet-about p {
    margin: 0 0 1rem;
    color: var(--cv-muted);
    line-height: 1.65;
    max-width: 52rem;
}

@media (max-width: 1023px) {
    .cv-outlet-hero-inner {
        min-height: 300px;
    }

    .cv-outlet-hero-copy {
        padding: 1.6rem 42% 1.6rem 1.25rem;
        max-width: none;
    }

    .cv-outlet-hero-copy h2 {
        font-size: 1.85rem;
    }

    .cv-outlet-hero-copy .cv-outlet-offer {
        font-size: 0.92rem;
    }

    .cv-outlet-hero-art {
        left: 48%;
        padding: 1rem 0.75rem 1rem 0;
        gap: 0.45rem;
    }

    .cv-outlet-support {
        padding: 2rem 0;
    }

    .cv-outlet-support-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    .cv-outlet-support-photo {
        width: 180px;
        border-width: 5px;
    }

    .cv-outlet-support-copy h2 {
        font-size: 1.6rem;
    }

    .cv-outlet-support-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .cv-outlet-about {
        padding: 2rem 0 2.5rem;
    }

    .cv-outlet-about h2 {
        font-size: 1.35rem;
    }

    .cv-outlet-card .relative.w-full {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
}

.cv-outlet-card {
    text-align: center;
    background: #fff;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0.35rem 0.45rem 1rem !important;
}

.cv-outlet-card .relative.w-full,
.cv-outlet-card .cv-product-media {
    overflow: visible !important;
}

.cv-outlet-card .product-item-photo img,
.cv-outlet-card img.product-image-photo,
.cv-outlet-card .cv-product-media img {
    border-radius: 0 2.25rem 0 0;
    background: #fff;
}

.cv-outlet-stamp {
    position: absolute;
    left: -4px;
    top: 46%;
    z-index: 3;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
    background:
        radial-gradient(circle, #e8a57a 0 56%, transparent 57%),
        repeating-conic-gradient(#fff 0 10deg, #e8a57a 10deg 18deg);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.cv-outlet-stamp span {
    display: block;
    max-width: 4.4rem;
}

.cv-outlet-card .cv-plp-brand,
.cv-outlet-card .cv-product-body .cv-plp-brand {
    color: #4b5560;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
}

.cv-outlet-card .product-item-link,
.cv-outlet-card .cv-product-body h3 a {
    color: #0d1c3d !important;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 800;
}

.cv-outlet-card .price-box,
.cv-outlet-card .cv-product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.cv-outlet-card .special-price .price,
.cv-outlet-card .price-final_price .price,
.cv-outlet-card .cv-outlet-sale {
    color: #c0392b !important;
    font-size: 1.15rem !important;
    font-weight: 800;
}

.cv-outlet-card .old-price .price,
.cv-outlet-card .price-box .old-price .price,
.cv-outlet-card .cv-outlet-was {
    color: #8a9399 !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    text-decoration: line-through;
}

.cv-outlet-card .cv-plp-order-btn,
.cv-outlet-card .cv-plp-order-btn.btn-primary,
.cv-outlet-card .cv-product-actions .cv-btn {
    width: auto;
    min-width: 70%;
    justify-content: center;
    background: var(--cv-orange) !important;
    border-color: var(--cv-orange) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 800;
    padding: 0.65rem 1.25rem !important;
}

.cv-outlet-card .cv-plp-order-btn svg {
    display: none;
}

.cv-outlet-card .review-summary,
.cv-outlet-card [class*="rating"] {
    display: none;
}

.cv-outlet-card [data-addto="compare"],
.cv-outlet-card [data-addto="wishlist"] {
    display: none;
}

/* Hyvä 3-column pages (Amasty blog): below xl, Hyvä uses a 2-track grid and
   leaves .column.main in track 1 (sidebar width). Main content then wraps
   titles at ~320px while the sidebar gets the wide track. */
.page-layout-3columns .columns > .column.main,
.page-layout-3columns .columns > .sidebar {
    min-width: 0;
}

@media (min-width: 768px) {
    .page-layout-3columns .columns {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
        grid-template-rows: auto auto;
    }

    .page-layout-3columns .columns > .column.main {
        grid-column: 1;
        grid-row: 1 / span 4;
        width: auto;
        max-width: none;
    }

    .page-layout-3columns .columns > .sidebar.sidebar-main {
        grid-column: 2;
        grid-row: 1;
    }

    .page-layout-3columns .columns > .sidebar.sidebar-additional {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (min-width: 1280px) {
    .page-layout-3columns .columns {
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 260px);
    }

    .page-layout-3columns .columns > .sidebar.sidebar-main {
        grid-column: 1;
        grid-row: 1;
    }

    .page-layout-3columns .columns > .column.main {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .page-layout-3columns .columns > .sidebar.sidebar-additional {
        grid-column: 3;
        grid-row: 1;
    }
}

.amblog-slider {
    display: flex;
    flex-wrap: nowrap;
}

.amblog-slider > .post-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

.amblog-slider .post-title,
.amblog-slider .amblog-headline,
.amblog-post-container .amblog-content h2,
.amblog-container-list .amblog-content h2,
.amblog-content .post-title,
.amblog-recent-post,
.sidebar .post-item-details a {
    overflow-wrap: break-word;
    word-break: normal !important;
    hyphens: none;
}

.amblog-post-container,
.amblog-container-list,
.amblog-content,
.amblog-element-block {
    min-width: 0;
}

.amblog-post-container .amblog-post-title,
.amblog-container-list .amblog-post-title {
    word-break: normal !important;
}

.amblog-slider .post-item.-post-no-image img {
    display: none;
}

.amblog-slider .post-item.-post-no-image .post-image {
    min-height: 0;
}

.amblog-post-title,
.amblog-headline,
.amblog-post-container .post-title,
.amblog-recent-post .post-title,
.sidebar .amblog-headline {
    overflow-wrap: break-word;
    word-break: normal !important;
    hyphens: none;
}

.amblog-post-container img,
.amblog-post-content img,
.amblog-shot img {
    max-width: 100%;
    height: auto;
}

.amblog-post-content,
.amblog-shot {
    overflow-wrap: break-word;
}

.page-layout-3columns .columns {
    width: 100%;
}
