/* Ecomax Products Store — 首页风格（参考 ecomax-products.com） */

:root {
    --ecomax-green: #1b7a3d;
    --ecomax-green-dark: #145c2e;
    --ecomax-black: #0d0d0d;
    --ecomax-gray: #f4f4f4;
}

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body.ecomax-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    background: #fff;
}

.top-bar {
    background: #ce0e2d;
    color: #fff;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1rem;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-start;
}

.header-center {
    justify-self: center;
}

.header-right {
    justify-self: end;
}

.header-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* 无下拉项与 .dropdown 同为块级子项，避免高度/基线不一致 */
.main-nav > .dropdown,
.main-nav > .nav-item-static {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
}

.main-nav .nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    color: #222;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    padding: 0;
}

.main-nav .nav-link-dropdown:hover,
.main-nav .nav-link-dropdown.active {
    color: #ce0e2d;
}

.main-nav .dropdown-menu {
    border-radius: 0;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

.main-nav .dropdown-item {
    font-size: 0.875rem;
    color: #333;
    padding: 0.15rem 1.25rem;
}

.main-nav .dropdown-item:hover {
    background: #f4f4f4;
    color: #ce0e2d;
}

.main-nav .dropdown-item.product-nav-sub {
    padding-left: 2rem;
    font-weight: 400;
}

/* PRODUCT：一级可点进列表；有二级时用按钮展开/收起 */
.main-nav .product-nav-menu {
    width: 310px;
    min-width: 310px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.main-nav .product-nav-parent {
    min-width: 0;
}

.main-nav .product-nav-parent > .dropdown-item {
    padding-right: 0.5rem;
}

.main-nav .product-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin-right: 0.35rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
}

.main-nav .product-nav-toggle:hover {
    color: #ce0e2d;
}

.main-nav .product-nav-chevron {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.main-nav .product-nav-toggle[aria-expanded="true"] .product-nav-chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.product-nav-toggle--mobile {
    width: 1.75rem;
    height: 1.75rem;
    text-decoration: none;
    line-height: 1;
}

.product-nav-toggle--mobile .product-nav-chevron {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.product-nav-toggle--mobile[aria-expanded="true"] .product-nav-chevron {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}

/* 产品列表页左侧分类侧栏 */
.product-sidebar {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 0.75rem 0.5rem 0.75rem 0;
    border-right: 1px solid #e5e5e5;
}

.product-sidebar__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.product-sidebar__group + .product-sidebar__group {
    margin-top: 0.15rem;
}

.product-sidebar__link {
    display: block;
    padding: 0.4rem 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.product-sidebar__link:hover {
    color: #ce0e2d;
}

.product-sidebar__link.is-active {
    color: #ce0e2d;
}

.product-sidebar__link--sub {
    padding-left: 1.25rem;
    font-weight: 400;
}

.product-sidebar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin-right: 0.15rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
}

.product-sidebar__toggle:hover {
    color: #ce0e2d;
}

.product-sidebar__toggle .product-nav-chevron {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.product-sidebar__toggle[aria-expanded="true"] .product-nav-chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.product-sidebar__children {
    margin-top: 0.1rem;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0.25rem;
    color: #222;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-icon-btn:hover {
    color: #ce0e2d;
}

.icon-btn {
    font-size: 1.25rem;
    line-height: 1;
    border: none;
    background: transparent;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #222;
    box-shadow: 0 6px 0 #222, 0 -6px 0 #222;
}

@media (max-width: 991.98px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .header-center {
        display: none !important;
    }
}

.hero-split {
    display: flex;
    min-height: 400px;
    overflow: hidden;
}

.hero-split__left {
    flex: 0 0 40%;
    background: var(--ecomax-black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 3rem 3rem 4rem;
}

.hero-split__right {
    flex: 0 0 60%;
    overflow: hidden;
}

.hero-split__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
}

.hero-split__btn {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    padding: 0.625rem 2rem;
    background-color: #ce0e2d;
    border-color: #ce0e2d;
}

.hero-split__btn:hover {
    background-color: #a80b24;
    border-color: #a80b24;
}

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

.hero-split .carousel,
.hero-split .carousel-inner,
.hero-split .carousel-item {
    height: 100%;
}

@media (max-width: 767.98px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-split__left {
        flex: none;
        padding: 2.5rem 1.5rem;
        align-items: center;
        text-align: center;
    }

    .hero-split__right {
        flex: none;
        height: 260px;
    }
}

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

.section-title {
    letter-spacing: 0.12em;
    font-size: 1.35rem;
}

/* Product Card */

.product-card {
    background: #fff;
    border: 1px solid #ebebeb;
    transition: box-shadow 0.25s ease;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.product-card__image-wrap {
    aspect-ratio: 1 / 1;
    background: #fafafa;
    cursor: pointer;
}

.product-card__img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.product-card__image-wrap:hover .product-card__img {
    transform: scale(1.04);
}

.product-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    background: #0d6efd;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2em 0.55em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 1;
}

.product-card__image-wrap:hover .product-card__overlay {
    opacity: 1;
}

.product-card__qv-btn {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
}

.product-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 0.875rem;
    height: calc(1.4em * 2);
}

.product-card__price {
    font-size: 0.9375rem;
    color: #222;
}

.product-card__body .btn-dark {
    border-radius: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    padding: 0.5rem;
}

/* Quick View Modal */

.qv-modal {
    border-radius: 0;
    border: none;
    overflow: hidden;
}

.qv-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    opacity: 1;
    padding: 0.4rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
}

.qv-modal__img-col {
    background: #f5f5f5;
}

.qv-gallery {
    display: flex;
    flex-direction: column;
}

.qv-gallery__main {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.qv-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.88);
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    color: #333;
    transition: background 0.15s;
    padding: 0;
}

.qv-arrow:hover {
    background: #fff;
}

.qv-arrow--prev { left: 0.5rem; }
.qv-arrow--next { right: 0.5rem; }

.qv-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    background: #f5f5f5;
    flex-wrap: wrap;
}

.qv-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: opacity 0.15s, border-color 0.15s;
    display: block;
}

.qv-thumb:hover {
    opacity: 1;
}

.qv-thumb--active {
    border-color: #222;
    opacity: 1;
}

.qv-modal__badge {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    border-radius: 0;
}

.qv-modal__title {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.qv-modal__price {
    color: #222;
}

.qv-modal__desc {
    line-height: 1.7;
    color: #666;
    flex: 1;
}

.qv-modal__qty {
    border: 1px solid #ddd;
    display: inline-flex;
    width: fit-content;
}

.qv-qty-btn {
    width: 2.25rem;
    height: 2.25rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.15s ease;
}

.qv-qty-btn:hover {
    background: #f4f4f4;
}

.qv-qty-val {
    width: 2.5rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    line-height: 2.25rem;
}

.qv-modal__detail .btn {
    border-radius: 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    padding: 0.625rem;
}

.qv-share-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.qv-share-link:hover {
    color: #ce0e2d;
}

.category-feature {
    background: #CE0E2D;
    padding: 2.75rem 0 3.25rem;
}

.category-feature__title {
    margin: 0 0 1.75rem;
    color: #fff;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.category-feature__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-feature__viewport {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-feature__viewport::-webkit-scrollbar {
    display: none;
}

.category-feature__track {
    display: flex;
    align-items: stretch;
    gap: 1.35rem;
    width: max-content;
}

.category-feature__arrow {
    position: relative;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.category-feature__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.65rem;
    height: 0.65rem;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.category-feature__arrow--prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.category-feature__arrow--next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.category-feature__arrow:hover,
.category-feature__arrow:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.category-feature__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.category-icon {
    display: flex;
    flex-direction: column;
    flex: 0 0 10.75rem;
    width: 10.75rem;
    min-height: 10.75rem;
    padding: 0.7rem 0.55rem 0.65rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.category-icon:hover,
.category-icon:focus-visible {
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.category-icon__art {
    display: block;
    height: 7.8rem;
    overflow: hidden;
}

.category-icon__art img {
    display: block;
    width: 100%;
    height: 8.6rem;
    object-fit: cover;
    object-position: center top;
}

.category-icon__label {
    display: block;
    margin-top: auto;
    padding-top: 0.35rem;
    color: #fff;
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    font-stretch: condensed;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
    .category-feature {
        padding: 2rem 0 2.25rem;
    }

    .category-feature__track {
        gap: 0.85rem;
    }

    .category-icon {
        flex-basis: 8.75rem;
        width: 8.75rem;
        min-height: 0;
    }

    .category-icon__art {
        height: 7.8rem;
    }

    .category-icon__art img {
        height: 8.6rem;
    }
}

.benefits-section {
    background: #fff;
}

.benefit-item {
    padding: 0 1rem;
}

.benefit-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.benefit-item__title {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: #111;
    line-height: 1.3;
}

.benefit-item__desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #777;
    max-width: 220px;
    margin: 0 auto;
}


.review-card {
    border-radius: 0;
    border-color: #e5e5e5 !important;
}

.review-card__title {
    font-size: 1.125rem;
    line-height: 1.35;
    color: #111;
}

.review-card__body {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #666;
}

.review-card__stars {
    letter-spacing: 0.15em;
}

.review-star {
    color: #e8a838;
    font-size: 1rem;
}

.review-card__author {
    font-size: 0.8125rem;
    color: #222;
}

.review-card__source {
    font-size: 0.75rem;
    color: #999;
}

.blog-card__img-wrap {
    width: 100%;
}

.blog-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

.site-footer {
    background: var(--ecomax-black);
    color: #fff;
}

.footer-newsletter {
    background: #141414;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
}

.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-social-link:hover {
    color: #fff;
    opacity: 0.75;
}

.btn-success {
    background-color: var(--ecomax-green);
    border-color: var(--ecomax-green);
}

.btn-success:hover {
    background-color: var(--ecomax-green-dark);
    border-color: var(--ecomax-green-dark);
}

.contact-page {
    padding: 2rem 0;
}

.contact-title {
    letter-spacing: 0.06em;
    font-size: 1.75rem;
    font-weight: 600;
}

.contact-intro {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form .form-label {
    font-weight: 500;
    font-size: 0.875rem;
}

.contact-form .form-control {
    border-radius: 0;
    border-color: #ced4da;
    padding: 0.625rem 0.875rem;
}

.contact-form .form-control:focus {
    border-color: var(--ecomax-green);
    box-shadow: 0 0 0 0.2rem rgba(27, 122, 61, 0.15);
}

.collection-header {
    border-color: #e5e5e5 !important;
}

.fans-hero-banner {
    min-height: 115px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(26, 26, 26, 1), rgba(192, 23, 45, 1) 100%);
    padding-top:70px;
    padding-bottom:70px;
}

.fans-hero-banner__title {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding:1.5rem;
}

.fans-hero-banner .container {
    width: 100%;
}

.collection-title {
    letter-spacing: 0.08em;
    font-weight: 600;
}

.collection-filter .form-select {
    border-radius: 0;
    border-color: #ced4da;
    font-size: 0.875rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    background-position: right 0.5rem center;
}

.collection-filter .form-select:focus {
    border-color: var(--ecomax-green);
    box-shadow: 0 0 0 0.2rem rgba(27, 122, 61, 0.15);
}

.fans-buy-btn {
    background-color: #18181a;
    border-color: #18181a;
    color: #fff;
}

.fans-buy-btn:hover,
.fans-buy-btn:focus,
.fans-buy-btn:active {
    background-color: #101012 !important;
    border-color: #101012 !important;
    color: #fff !important;
}

/* Product Detail Page */

.product-detail__image-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fafafa;
}

.product-detail__image-wrap .carousel-inner,
.product-detail__image-wrap .carousel-item {
    height: 100%;
}

.product-detail__img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 完整显示产品；cover 会裁切上下 */
    object-position: center;
    transition: transform 0.35s ease;
}

.product-detail__image-wrap:hover .product-detail__img {
    transform: scale(1.03);
}

.product-detail-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-detail-gallery__thumb {
    border: 1px solid #ddd;
    background: #fff;
    padding: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
    overflow: hidden;
}

.product-detail-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-detail-gallery__thumb.is-active {
    border-color: #18181a;
}

.product-detail-gallery .carousel-control-prev,
.product-detail-gallery .carousel-control-next {
    width: 10%;
}

.product-detail-gallery .carousel-control-prev-icon,
.product-detail-gallery .carousel-control-next-icon {
    background-color: rgba(24, 24, 26, 0.75);
    border-radius: 50%;
    background-size: 60% 60%;
}

.product-detail__title {
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.product-detail__price {
    color: #222;
}

.product-detail__description p {
    font-size: 0.9375rem;
}

.product-detail__features li span:first-child {
    font-size: 0.875rem;
    line-height: 1.5;
}

.benefit-card {
    transition: box-shadow 0.25s ease;
}

.benefit-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.reviews-section .progress {
    background: #e9ecef;
    border-radius: 4px;
}

.breadcrumb-item a {
    color: var(--ecomax-green);
}

.breadcrumb-item a:hover {
    color: var(--ecomax-green-dark);
}

.similar-products .product-card {
    transition: box-shadow 0.25s ease;
}

.similar-products .product-card:hover {
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

/* About Us Page */

.about-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("https://images.unsplash.com/photo-1581783898382-80f499465151?w=1920&q=80") center center / cover no-repeat;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 1), rgba(192, 23, 45, 1) 100%);
}

.about-hero__title {
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.about-story-title {
    letter-spacing: 0.06em;
    font-size: 1.5rem;
    color: #222;
}

.about-story-highlight {
    font-size: 1.125rem;
    color: var(--ecomax-green);
    line-height: 1.6;
}

.about-story-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
}

.about-story-img-wrap {
    background: #fafafa;
}

.about-story-img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.about-story-img-wrap:hover .about-story-img {
    transform: scale(1.03);
}

.about-benefit-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.about-benefit-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.about-benefit-icon {
    color: var(--ecomax-green);
}

/* User Manuals Page */

.manuals-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("https://images.unsplash.com/photo-1581783898382-80f499465151?w=1920&q=80") center center / cover no-repeat;
}

.manuals-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 1), rgba(192, 23, 45, 1) 100%);
}

.manuals-hero__title {
    letter-spacing: 0.08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.manual-card {
    color: #222;
    transition: transform 0.25s ease;
}

a.manual-card:hover {
    color: #222;
    transform: translateY(-4px);
}

.manual-card__image-wrap {
    aspect-ratio: 1 / 1;
    background: #fafafa;
    border: 1px solid #eee;
}

.manual-card__img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.manual-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

a.manual-card:hover .manual-card__overlay {
    opacity: 1;
}

a.manual-card:hover .manual-card__img {
    transform: scale(1.05);
}

.manual-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

/* Warranty Policy Page */

.warranty-hero {
    display: flex;
    min-height: 360px;
    overflow: hidden;
}

.warranty-hero__left {
    flex: 0 0 45%;
    background: var(--ecomax-black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 3rem 3rem 4rem;
    color: #fff;
}

.warranty-hero__right {
    flex: 0 0 55%;
    overflow: hidden;
}

.warranty-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.warranty-hero__subtitle {
    letter-spacing: 0.08em;
    font-size: 1.5rem;
    line-height: 1.3;
}

.warranty-hero__contact {
    font-size: 0.9375rem;
    opacity: 0.85;
}

@media (max-width: 767.98px) {
    .warranty-hero {
        flex-direction: column;
    }

    .warranty-hero__left {
        flex: none;
        padding: 2.5rem 1.5rem;
        align-items: center;
        text-align: center;
    }

    .warranty-hero__right {
        flex: none;
        height: 220px;
    }
}

.warranty-collection-tile {
    aspect-ratio: 1 / 1.2;
}

.warranty-collection-tile__img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.warranty-collection-tile:hover .warranty-collection-tile__img {
    transform: scale(1.05);
}

/* FAQs Page */

.faq-wrapper {
    max-width: 760px;
}

.faq-page__title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #222;
}

.faq-main-item,
.faq-sub-item {
    border: 0;
    border-radius: 0;
}

.faq-main {
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

.faq-main-item + .faq-main-item {
    border-top: 1px solid #d8d8d8;
}

.faq-main-button {
    background: #d9d9d9;
    color: #111;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 1rem 1.25rem;
}

.faq-main-button:not(.collapsed) {
    background: #d9d9d9;
    color: #111;
    box-shadow: none;
}

.faq-main-button:focus,
.faq-sub-button:focus {
    box-shadow: none;
}

.faq-main-button::after,
.faq-sub-button::after {
    background-image: none;
    content: "+";
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #111;
    transform: none;
}

.faq-main-button:not(.collapsed)::after,
.faq-sub-button:not(.collapsed)::after {
    content: "-";
    background-image:none;
}

.faq-main-body {
    background: #fff;
}

.faq-sub-item {
    border-top: 1px solid #d8d8d8;
}

.faq-sub-button {
    background: #fff;
    color: #111;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 1.2rem 0;
}

.faq-sub-button,
.faq-sub-button:not(.collapsed) {
    box-shadow: none;
    color: #111;
    background: #fff;
}

.faq-sub-body {
    color: #6a6a6a;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 0 0 1.5rem 0;
    max-width: 92%;
}

.lang-switcher__btn {
    gap: 0.35rem;
    min-width: auto;
    padding: 0.2rem 0.35rem;
    text-decoration: none;
}

.lang-switcher__btn::after {
    margin-left: 0.15rem;
    border-top-color: currentColor;
    opacity: 0.85;
}

.lang-switcher__flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

.lang-switcher__menu {
    min-width: 3.25rem;
    padding: 0.35rem 0;
    border: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.lang-switcher__menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.65rem;
}

.lang-switcher__menu .dropdown-item:hover,
.lang-switcher__menu .dropdown-item:focus {
    background: #f5f5f5;
}

.lang-switcher__menu .dropdown-item.active {
    background: #1a3a5c;
}

.lang-switcher__menu .dropdown-item.active:hover,
.lang-switcher__menu .dropdown-item.active:focus {
    background: #1a3a5c;
}

@media (max-width: 767.98px) {
    .faq-main-button {
        font-size: 1.15rem;
        padding: 0.875rem 1rem;
    }

    .faq-sub-button {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .faq-sub-body {
        max-width: 100%;
        font-size: 0.9rem;
    }
}
