/*
Theme Name: XCards Theme
Author: Helen Huang
Description: A custom theme for XCards
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: xcards-theme
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 2rem 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

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

.nav-menu li {
    position: relative;
    margin: 0 15px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007bff;
}

/* Submenu styles */
.nav-menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 99999;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li:hover > ul {
    display: block;
}

.nav-menu ul li {
    margin: 0;
    padding: 0;
}

.nav-menu ul a {
    padding: 10px 15px;
    white-space: nowrap;
}

/* No menu message */
.no-menu-message {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
}

/* Footer */
.site-footer {
    background: #f5f7fa;
    padding: 3rem 0 2rem 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    color: #222;
    font-size: 1rem;
    margin-top: 4rem;
}
.site-footer .site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}
.site-footer a {
    color: #208cff;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer a:hover {
    color: #304963;
    text-decoration: underline;
}
.site-footer .copyright {
    color: #888;
    font-size: 0.95rem;
    margin-top: 1rem;
}
.site-footer #footer-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.site-footer #footer-menu li {
    display: inline-block;
}

/* Header Flex Layout */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}
.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-links a {
    margin-left: 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.header-links a:hover {
    color: #007bff;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}
.site-branding img,
.site-branding .custom-logo {
    max-height: 40px;
    width: auto;
}
.site-title {
    font-size: 1.5rem;
    margin: 0;
}
.main-navigation {
    margin: 0;
}
.main-navigation ul {
    gap: 2rem;
}
@media (max-width: 900px) {
    .header-flex {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    .header-left, .header-center, .header-right {
        flex: unset;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    .header-right {
        justify-content: center;
    }
    .main-navigation ul {
        gap: 1rem;
    }
}

/* Modern hero banner styles */
.hero-bg {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(120deg, #e9f0fa 0%, #f5f7fa 100%);
    min-height: 725px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 4rem 0rem 2rem 0rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-cards-img {
    position: relative;
    z-index: 1;
    width: 80vw;
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

/* --- PARTNERS SECTION --- */
.partners-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0 3rem 0;
    text-align: center;
}
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}
.partners-logos img {
    height: 80px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(1);
    transition: filter 0.2s, opacity 0.2s;
}
.partners-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.partners-caption {
    font-size: 1rem;
    color: #888;
    margin-bottom: 0;
}

/* --- FEATURES SECTION --- */
.features-section {
    background: #fff;
    padding: 0;
}
.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.feature-row {
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin: 6rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-text {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.feature-image {
    flex: 0 0 60%;
    max-width: 60%;
    text-align: center;
}
.feature-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(32,140,255,0.10), 0 2px 8px rgba(0,0,0,0.08);
}
.btn-small {
    padding: 0.35rem 1.25rem;
    font-size: 0.9rem;
    max-width: 160px;
}

/* --- HIGHLIGHT SECTION --- */
.feature-highlight {
    background: #f5f7fa;
    padding: 3rem 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}
.feature-highlight-text {
    color: #208cff;
}

/* --- AI PHONE SECTION --- */
.ai-phone-section {
    background: #fff;
    padding: 4rem 0;
}
.ai-phone-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ai-phone-text {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
}
.ai-phone-image {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
}
.ai-phone-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(32,140,255,0.10), 0 2px 8px rgba(0,0,0,0.08);
}

/* --- BUTTONS --- */
.btn.btn-primary {
    background: #208cff;
    color: #fff;
    border: none;
    padding: 0.5rem 2.25rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(32,140,255,0.15);
    transition: background 0.2s;
    max-width: 220px;
    width: auto;
    display: inline-block;
}
.btn.btn-primary:hover {
    background: #304963;
    color: #f3f3f6;
}
.btn.btn-secondary {
    background: transparent;
    color: #222;
    border: 2px solid #208cff;
    padding: 0.5rem 2.25rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn.btn-secondary:hover {
    background: #208cff;
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .feature-row, .ai-phone-container {
        flex-direction: column;
        gap: 2rem;
    }
    .feature-text, .feature-image, .ai-phone-text, .ai-phone-image {
        flex: unset;
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    .feature-row {
        margin: 2rem 0;
    }
    .ai-phone-section {
        padding: 2rem 0;
    }
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-cards-img {
        max-width: 98vw;
        border-radius: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .partners-logos img {
        height: 28px;
    }
    .feature-highlight {
        font-size: 1.1rem;
        padding: 2rem 0;
    }
}

/* --- VIDEO SECTION --- */
.video-section {
    background: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-container video {
    width: 100%;
    max-width: 1200px;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(32,140,255,0.10), 0 2px 8px rgba(0,0,0,0.08);
}

/* WooCommerce Shop Page Styles */
.woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Shop Header */
.woocommerce-products-header {
    margin-bottom: 40px;
    text-align: center;
}

.woocommerce-products-header__title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

/* Shop Filters and Sorting */
.woocommerce-result-count,
.woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

/* Product Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Product Card */
.product {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Product Image */
.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.woocommerce-loop-product__title {
    padding: 15px;
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

/* Product Price */
.price {
    padding: 0 15px 15px;
    color: #007bff;
    font-weight: bold;
}

.price del {
    color: #999;
    margin-right: 8px;
}

.price ins {
    text-decoration: none;
}

/* Add to Cart Button */
.add_to_cart_button {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.add_to_cart_button:hover {
    background-color: #0056b3;
}

/* Sale Badge */
.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    z-index: 1;
}

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

.woocommerce-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination li {
    margin: 0 5px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.woocommerce-pagination span.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .woocommerce-products-header__title {
        font-size: 2em;
    }
}

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

    .woocommerce-result-count,
    .woocommerce-ordering {
        text-align: center;
    }
}

/* Shop Page Layout */
.shop-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.shop-sidebar {
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.shop-main {
    min-width: 0; /* Prevents grid item from overflowing */
}

/* Product Card Structure */
.product-card {
    background: #fff;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-thumbnail {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.product-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

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

    .shop-sidebar {
        order: 2;
    }

    .shop-main {
        order: 1;
    }
}

/* Sidebar Search Styles */
.sidebar-search {
    padding: 20px 30px 20px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-search .search-form {
    display: flex;
    gap: 10px;
}

.sidebar-search .search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.sidebar-search .search-submit {
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar-search .search-submit:hover {
    background-color: #0056b3;
}

.product-main-img {
    width: 350px;
    height: auto;
    object-fit: cover;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-details-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.product-gallery-thumbs img {
    width: 100px;
    height: auto;
}

.product-know-section {
    background: #fff;
    padding: 5rem 2rem;
}

.product-know-title {
    font-size: 3rem;
    font-weight: 800;
    color: #222;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Product Features Section Layout */
.product-features-section {
    margin-bottom: 2rem;
}
.product-features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 0 2rem;
}
.features-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}
.features-col-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-features-img img {
    width: 260px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border-radius: 18px;
}
.product-features-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}
.feature-item-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    font-size: 1.15rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: right;
}
.feature-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 1.15rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: left;
}
.feature-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    margin-bottom: 0.3rem;
}
@media (max-width: 900px) {
    .product-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .features-col-center {
        margin: 2rem 0;
    }
    .features-col {
        flex-direction: row;
        justify-content: space-between;
        gap: 1.5rem;
        align-items: center;
    }
    .features-col {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .product-features-img img {
        width: 150px;
    }
    .product-features-section {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .product-features-title {
        font-size: 1.5rem;
    }
    .product-know-title {
        font-size: 2rem;
    }
}

.product-box-section {
    background: #fff;
    padding: 5rem 2rem 6rem 2rem;
    margin: 0 auto;
}
.product-box-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -1px;
}
.product-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}
.box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    height: 100%;
    justify-content: flex-start;
}
.box-item img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    margin-bottom: 2.2rem;
    box-shadow: none;
    border-radius: 0;
    display: block;
}
.box-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -0.5px;
    min-height: 2.5em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.box-item p {
    font-size: 1.05rem;
    color: #444;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}
@media (max-width: 1100px) {
    .product-box-grid {
        grid-template-columns: 1fr;
        gap: 3rem 0;
    }
    .box-item img {
        width: 180px;
        height: 180px;
    }
    .product-box-title {
        font-size: 2.2rem;
    }
}
@media (max-width: 600px) {
    .product-box-section {
        padding: 2.5rem 0.5rem 3rem 0.5rem;
    }
    .product-box-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .box-item img {
        width: 90px;
        height: 90px;
        margin-bottom: 1.2rem;
    }
    .box-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        min-height: 1.5em;
    }
    .box-item p {
        font-size: 0.95rem;
    }
}

.product-specs-section {
    background: #fff;
    padding: 4rem 2rem 5rem 2rem;
    margin: 0 auto;
}
.product-specs-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: -1px;
}
.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    line-height: 1.3;
}
.spec-icon {
    font-size: 2.2rem;
    color: #2563eb !important;
    min-width: 2.5rem;
}
.spec-label, .spec-value {
    font-size: 1.1rem;
}
@media (max-width: 900px) {
    .product-specs-title {
        font-size: 2.2rem;
    }
    .product-specs-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .spec-item {
        font-size: 1.1rem;
    }
    .spec-icon {
        font-size: 1.5rem;
    }
    .spec-label, .spec-value {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .product-specs-section {
        padding: 2rem 0.5rem 2.5rem 0.5rem;
    }
    .product-specs-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    .spec-item {
        font-size: 1rem;
        gap: 0.7rem;
    }
    .spec-icon {
        font-size: 1.1rem;
    }
    .spec-label, .spec-value {
        font-size: 0.95rem;
    }
}

.product-compare-section {
    background: #e1e6ea;
    padding: 5rem 0 7rem 0;
    text-align: center;
}
.product-compare-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #222;
}
.product-compare-table-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}
.product-compare-table {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(32, 49, 76, 0.10);
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    max-width: 700px;
    width: 100%;
    overflow: hidden;
}
.product-compare-table th, .product-compare-table td {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    border: none;
}
.product-compare-table th {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    background: none;
    text-align: left;
    border-bottom: 2px solid #f0f2f5;
}
.product-compare-table td {
    background: none;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
}
.product-compare-table tr:last-child td {
    border-bottom: none;
}
.product-compare-table td:first-child {
    font-weight: 500;
    color: #222;
    text-align: left;
    letter-spacing: 0.01em;
}
.product-compare-table td, .product-compare-table th {
    text-align: center;
}
.product-compare-table td:first-child, .product-compare-table th:first-child {
    text-align: left;
}
.compare-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(34,197,94,0.08);
}
.compare-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #f3f4f6;
    color: #bdbdbd;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: none;
}
.user-manual-section {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 1.5rem 3rem 1.5rem;
}
.user-manual-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    color: #1a1a1a;
}
.manual-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.manual-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0 2.5rem 0;
}
.manual-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
}
@media (max-width: 600px) {
    .user-manual-title {
        font-size: 1.5rem;
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .user-manual-section {
        padding: 0 0.5rem 2rem 0.5rem;
    }
    .manual-img img {
        max-width: 95vw;
    }
}
@media (max-width: 900px) {
    .product-compare-title {
        font-size: 1.5rem;
    }
    .product-compare-table {
        min-width: 100%;
        max-width: 100%;
    }
    .product-compare-table th, .product-compare-table td {
        padding: 0.8rem 0.5rem;
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .product-compare-section {
        padding: 2rem 0 3rem 0;
    }
    .product-compare-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    .product-compare-table th, .product-compare-table td {
        padding: 0.5rem 0.2rem;
        font-size: 0.95rem;
    }
}

.contact-hero-section {
    border-radius: 2rem;
    margin: 3rem auto 2.5rem auto;
    max-width: 700px;
    padding: 2.5rem 1rem 2.5rem 1rem;
    text-align: center;
}
.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -1px;
}
.contact-subtitle {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 0;
}
.contact-form-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0 4rem 0;
}
.contact-form-wrapper {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 2px 16px rgba(32,49,76,0.08);
    padding: 2.5rem 2rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e1e6ea;
    border-radius: 0.7rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    background: #f8fafc;
    transition: border 0.2s;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border: 1.5px solid #2563eb;
    outline: none;
    background: #fff;
}
.wpcf7-form input[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.wpcf7-form input[type="submit"]:hover {
    background: #1a3fa6;
}
@media (max-width: 700px) {
    .contact-hero-section {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin: 1.5rem auto 1.2rem auto;
    }
    .contact-title {
        font-size: 1.5rem;
    }
    .contact-form-wrapper {
        padding: 1.2rem 0.5rem;
    }
}