/**
 * Woo Elementor Addon - Frontend Styles
 * Version: 1.0.0
 */

.wea-products-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wea-carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.wea-carousel-item {
    flex: 0 0 auto;
}

.wea-product-item {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.wea-product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wea-product-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.wea-product-info {
    padding: 15px;
}

.wea-product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
}

.wea-product-title a {
    color: inherit;
    text-decoration: none;
}

.wea-product-price {
    margin-bottom: 10px;
}

.wea-add-to-cart-btn {
    margin-top: 10px;
}

/* Category Filter */
.wea-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wea-layout-vertical {
    flex-direction: column;
}

.wea-filter-btn {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.wea-filter-btn:hover {
    background: #e2e2e2;
}

.wea-filter-btn.wea-active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.wea-count {
    font-size: 12px;
    opacity: 0.7;
}

.wea-no-products {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* ===== Woo Banner ===== */
.wea-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.wea-banner .swiper {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

.wea-banner[data-height-mode="auto"] .swiper,
.wea-banner[data-height-mode="auto"] .swiper-wrapper {
    height: auto !important;
}

.wea-banner .swiper-wrapper {
    height: 100% !important;
}

.wea-banner .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Image layer - fills slide via absolute (internal positioning, not page layout) */
.wea-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wea-slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Content Overlay - positioned via flexbox on slide */
.wea-slide-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Slide Link - covers entire slide */
.wea-slide-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    text-decoration: none;
}

/* Arrows customization */
.wea-banner .swiper-button-prev,
.wea-banner .swiper-button-next {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s ease;
}

.wea-banner .swiper-button-prev::after,
.wea-banner .swiper-button-next::after {
    font-size: inherit;
}

/* Arrow style: outline */
.wea-banner.wea-arrows-outline .swiper-button-prev,
.wea-banner.wea-arrows-outline .swiper-button-next {
    border: 2px solid currentColor;
    background: transparent;
}

/* Arrow style: filled */
.wea-banner.wea-arrows-filled .swiper-button-prev,
.wea-banner.wea-arrows-filled .swiper-button-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* Dots customization */
.wea-banner .swiper-pagination {
    z-index: 10;
}

/* Dot style: line */
.wea-banner.wea-dots-line .swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    border-radius: 0;
}

/* Fade effect fix for Swiper */
.wea-banner .swiper-fade .swiper-slide {
    transition-property: opacity;
}

/* No slides fallback */
.wea-banner .wea-no-products {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ─── Woo Trust Bar ─── */

.woo-trust-bar {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.woo-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
    flex: 1 1 0;
    min-width: 0;
}

.woo-trust-item:hover {
    transform: translateY(-2px);
}

a.woo-trust-item:hover {
    opacity: 0.85;
}

.woo-trust-icon {
    font-size: var(--icon-size, 28px);
    line-height: 1;
}

.woo-trust-text {
    text-align: center;
}

.woo-trust-title {
    font-weight: 600;
    line-height: 1.3;
}

.woo-trust-desc {
    font-size: 0.85em;
    line-height: 1.4;
    opacity: 0.75;
    margin-top: 2px;
}

.woo-trust-separator {
    width: 1px;
    align-self: stretch;
    background-color: #dddddd;
    flex-shrink: 0;
}

/* Responsive: stack items on mobile */
@media (max-width: 767px) {
    .woo-trust-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .woo-trust-separator {
        display: none;
    }
}

/* ─── Woo Contact Section ─── */

.wea-contact-section {
    width: 100%;
}

.wea-contact-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wea-contact-card {
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.wea-contact-card--info {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.wea-contact-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}

.wea-contact-subheading {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 28px;
    color: #666666;
}

/* CF7 Form Styling */
.wea-contact-form-wrap .wpcf7 {
    max-width: 100%;
}

.wea-contact-form-wrap .wpcf7 form {
    margin: 0;
}

.wea-contact-form-wrap .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 16px;
}

.wea-contact-form-wrap .wpcf7 label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #101010;
}

.wea-contact-form-wrap .wpcf7-text,
.wea-contact-form-wrap .wpcf7-email,
.wea-contact-form-wrap .wpcf7-select,
.wea-contact-form-wrap .wpcf7-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: "Open Sans", sans-serif;
    transition: border-color 0.18s ease;
}

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

.wea-contact-form-wrap .wpcf7-text:focus,
.wea-contact-form-wrap .wpcf7-email:focus,
.wea-contact-form-wrap .wpcf7-select:focus,
.wea-contact-form-wrap .wpcf7-textarea:focus {
    border-color: #E3092F;
    outline: none;
}

.wea-contact-form-wrap .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 32px;
    border: 0;
    border-radius: 6px;
    background: #E3092F;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(227, 9, 47, 0.3);
}

.wea-contact-form-wrap .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 9, 47, 0.4);
}

.wea-contact-form-wrap .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid;
}

.wea-contact-form-wrap .wpcf7-response-output.wpcf7-validation-errors,
.wea-contact-form-wrap .wpcf7-response-output.wpcf7-aborted {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.wea-contact-form-wrap .wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.wea-contact-no-form {
    padding: 20px;
    background-color: rgba(227, 9, 47, 0.08);
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
}

.wea-contact-template-note {
    padding: 16px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    color: #999999;
}

/* Info Column - Dark Card */
.wea-contact-privacy {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 28px;
    background-color: rgba(227, 9, 47, 0.12);
    border: 1px solid rgba(227, 9, 47, 0.2);
    border-radius: 6px;
}

.wea-contact-privacy i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.wea-contact-privacy p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.wea-contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.wea-contact-info-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wea-contact-info-list li:last-child {
    margin-bottom: 0;
}

.wea-contact-info-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(227, 9, 47, 0.16);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.wea-contact-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.5);
}

.wea-contact-info-list a {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
    color: #ffffff;
}

.wea-contact-info-list a:hover {
    color: #F8BC26;
}

.wea-contact-info-list div span:not(.wea-contact-info-label) {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

/* Response Time Badge */
.wea-contact-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 24px;
    background-color: rgba(248, 188, 38, 0.12);
    border: 1px solid rgba(248, 188, 38, 0.25);
    border-radius: 999px;
}

.wea-contact-response-badge i {
    font-size: 0.85rem;
}

.wea-contact-response-badge span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #F8BC26;
}

/* Social Links */
.wea-contact-social {
    display: flex;
    gap: 10px;
}

.wea-contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F8BC26;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.18s ease;
}

.wea-contact-social-link:hover {
    background-color: #E3092F;
    border-color: #E3092F;
    color: #ffffff;
    transform: translateY(-2px) rotate(10deg);
}

/* Responsive */
@media (max-width: 992px) {
    .wea-contact-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wea-contact-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .wea-contact-card {
        padding: 24px;
        border-radius: 12px;
    }

    .wea-contact-heading {
        font-size: 1.5rem;
    }

    .wea-contact-info-list li {
        gap: 12px;
    }

    .wea-contact-info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .wea-contact-columns {
        padding: 0 16px;
    }

    .wea-contact-card {
        padding: 20px;
    }

    .wea-contact-heading {
        font-size: 1.3rem;
    }

    .wea-contact-subheading {
        font-size: 0.9rem;
    }

    .wea-contact-privacy {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .wea-contact-response-badge {
        width: 100%;
        justify-content: center;
    }
}