/*
 * Custom CSS for SKI-OPTOM - Wholesale Ski Equipment
 * Оптовая продажа лыжного оборудования
 * Add this to your Bono child theme style.css
 */

/* ========== GENERAL IMPROVEMENTS ========== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== B2B HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0891b2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0 L1200,0 L1200,60 C900,90 600,30 300,60 L0,90 Z"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: #0c4a6e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0c4a6e;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0c4a6e;
    border: 2px solid #0c4a6e;
    padding: 12px 30px;
}

.btn-outline:hover {
    background: #0c4a6e;
    color: white;
}

/* ========== B2B ADVANTAGES SECTION ========== */
.b2b-advantages-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.features-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.15);
    border-color: #0891b2;
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    color: #0891b2;
    filter: drop-shadow(0 2px 4px rgba(8, 145, 178, 0.2));
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0c4a6e;
    font-weight: 700;
}

.feature-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* ========== WHOLESALE CONDITIONS SECTION ========== */
.wholesale-conditions {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    color: white;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.condition-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.condition-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.condition-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.condition-label {
    font-size: 16px;
    opacity: 0.95;
    font-weight: 500;
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
    padding: 80px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.category-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #0891b2 0%, #0c4a6e 100%);
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.25);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}

.category-card:hover .category-name {
    color: white;
}

.category-icon {
    font-size: 64px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    color: #0891b2;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
    transition: color 0.3s ease;
}

/* ========== PRODUCTS SECTION (WHOLESALE) ========== */
.homepage-featured-products {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0891b2 0%, #0c4a6e 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-description {
    font-size: 19px;
    color: #64748b;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Wholesale WooCommerce product grid */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.woocommerce ul.products li.product {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2 0%, #0c4a6e 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover::before {
    transform: scaleX(1);
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.2);
    transform: translateY(-8px);
    border-color: #0891b2;
}

.woocommerce ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Wholesale badge on product */
.wholesale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0891b2;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0c4a6e;
    line-height: 1.4;
}

.woocommerce ul.products li.product .price {
    font-size: 24px;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 8px;
}

/* Price prefix for wholesale */
.price-prefix {
    display: block;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 5px;
}

/* Minimum order quantity */
.min-order-qty {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .button {
    background: linear-gradient(135deg, #0891b2 0%, #0c4a6e 100%);
    color: white;
    border-radius: 8px;
    padding: 12px 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: none;
    width: 100%;
}

.woocommerce ul.products li.product .button:hover {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

/* ========== ABOUT / WHY US SECTION (B2B) ========== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #0c4a6e;
    font-weight: 800;
}

.about-content p {
    font-size: 19px;
    color: #64748b;
    margin-bottom: 50px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.15);
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ========== TRUST BADGES SECTION ========== */
.trust-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

.trust-badge-icon {
    font-size: 32px;
    color: #0891b2;
}

/* ========== B2B CONTACT FORM SECTION ========== */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
}

.form-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 18px;
    color: #0c4a6e;
    font-weight: 800;
}

.form-description {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.6;
}

/* B2B form inputs */
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea,
.contact-form-section select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #0c4a6e;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus,
.contact-form-section select:focus {
    border-color: #0891b2;
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.contact-form-section textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-section button[type="submit"],
.contact-form-section input[type="submit"] {
    background: linear-gradient(135deg, #0891b2 0%, #0c4a6e 100%);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form-section button[type="submit"]:hover,
.contact-form-section input[type="submit"]:hover {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.35);
}

/* Form labels */
.contact-form-section label {
    display: block;
    margin-bottom: 8px;
    color: #0c4a6e;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 17px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .form-wrapper {
        padding: 35px 25px;
    }

    .form-title {
        font-size: 30px;
    }

    .trust-badges {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* ========== PRICING TABLES (WHOLESALE) ========== */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-tier {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-tier.featured {
    border-color: #0891b2;
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.2);
    transform: scale(1.05);
}

.pricing-tier:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.2);
}

.tier-name {
    font-size: 24px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 10px;
}

.tier-qty {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
}

.tier-price {
    font-size: 48px;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 5px;
}

.tier-price-unit {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.tier-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 15px;
}

.tier-features li:last-child {
    border-bottom: none;
}

/* ========== CALL TO ACTION BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: 80px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #0891b2;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.15);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* ========== SPACING UTILITIES ========== */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-80 { margin-bottom: 80px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-80 { margin-top: 80px !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* ========== COLOR UTILITIES ========== */
.text-primary { color: #0891b2 !important; }
.text-secondary { color: #0c4a6e !important; }
.text-muted { color: #64748b !important; }

.bg-primary { background: #0891b2 !important; }
.bg-secondary { background: #0c4a6e !important; }
.bg-light { background: #f8fafc !important; }



/* ========== BRANDS (4x2 GRID, BIGGER TILES) ========== */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-logo {
    width: 160px;
    height: 100px;
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(148,163,184,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,23,42,.05);
}

.brand-logo:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #0891b2;
    box-shadow: 0 12px 28px rgba(8,145,178,.25);
    background: #e6f8ff;
}

.brand-logo svg {
    width: 100px;
    height: auto;
    transition: all .3s ease;
    opacity: 0.95;
}

.brand-logo:hover svg {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(8,145,178,0.35));
}