
/* ==========================================
   VAILON LABS - SHOP HERO SECTION
========================================== */

.vailon-shop-hero {
    padding: 25px 0 !important;
    background: #142b42;
    color: #ffffff;
    text-align: center;
}

.vailon-shop-hero .vailon-shop-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #70d1c5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.vailon-shop-hero h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1.3;
}

.vailon-shop-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #e0e8f0;
    font-size: 14px;
    line-height: 1.6;
}

.vailon-shop-hero .vailon-shop-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ==========================================
   SHOP / COLLECTION PAGES
========================================== */

.vailon-shop-page {
    background: #ffffff;
    color: #203345;
}

.vailon-shop-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.vailon-shop-heading {
    padding: 40px 0;
    background: #f4f8fa;
    border-bottom: 1px solid #e4ebef;
}

.vailon-shop-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #2878ad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.vailon-shop-heading h1 {
    margin: 0 0 12px;
    color: #172b3c;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.25;
    font-weight: 700;
}

.vailon-shop-heading p {
    margin: 0;
    color: #687987;
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   FILTERS
========================================== */

.vailon-shop-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px;
    margin: 0 0 26px;
    padding: 20px;
    background: #f8fafb;
    border: 1px solid #e5eaee;
    border-radius: 8px;
}

.vailon-filter-field {
    display: flex;
    flex: 1 1 150px;
    flex-direction: column;
    gap: 7px;
}

.vailon-filter-field label,
.vailon-shop-sorting label {
    color: #344858;
    font-size: 13px;
    font-weight: 600;
}

.vailon-filter-field input,
.vailon-filter-field select,
.vailon-shop-sorting select {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #d7e0e6;
    border-radius: 5px;
    background: #ffffff;
    color: #203345;
    font-size: 14px;
}

.vailon-filter-button,
.vailon-shop-page .vailon-quick-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #2878ad;
    border-radius: 5px;
    background: #2878ad;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.vailon-filter-button:hover,
.vailon-shop-page .vailon-quick-add:hover {
    border-color: #1e5e88;
    background: #1e5e88;
    color: #ffffff;
}

.vailon-clear-filters {
    padding: 12px 4px;
    color: #526676;
    font-size: 13px;
    text-decoration: underline;
}

/* ==========================================
   SHOP TOOLBAR
========================================== */

.vailon-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 24px;
}

.vailon-shop-result-count {
    margin: 0;
    color: #687987;
    font-size: 14px;
}

.vailon-shop-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vailon-shop-sorting select {
    width: auto;
    min-width: 190px;
}

/* ==========================================
   PRODUCT GRID
========================================== */

.vailon-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.vailon-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e9ed;
    border-radius: 8px;
    background: #ffffff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vailon-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(24, 47, 65, 0.08);
}

.vailon-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    overflow: hidden;
    background: #f4f6f7;
}

.vailon-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.vailon-product-card:hover .vailon-product-image img {
    transform: scale(1.04);
}

.vailon-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 4px;
    background: #2878ad;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================
   PRODUCT INFORMATION
========================================== */

.vailon-product-info {
    padding: 18px;
}

.vailon-product-title {
    min-height: 46px;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.vailon-product-title a {
    color: #203345;
    text-decoration: none;
}

.vailon-product-title a:hover {
    color: #2878ad;
}

.vailon-product-strength {
    min-height: 20px;
    margin-bottom: 12px;
    color: #687987;
    font-size: 13px;
}

.vailon-product-strength span {
    color: #344858;
    font-weight: 600;
}

.vailon-product-price {
    min-height: 25px;
    margin-bottom: 16px;
    color: #203345;
    font-size: 17px;
    font-weight: 700;
}

.vailon-product-price del {
    color: #87939d;
    font-size: 13px;
    font-weight: 400;
}

.vailon-product-price ins {
    text-decoration: none;
}

.vailon-product-actions {
    display: flex;
}

.vailon-shop-page .vailon-quick-add {
    width: 100%;
    box-sizing: border-box;
}

.vailon-shop-page .vailon-choose-options {
    background: #ffffff;
    color: #2878ad;
}

.vailon-shop-page .vailon-choose-options:hover {
    background: #2878ad;
    color: #ffffff;
}

/* ==========================================
   PAGINATION
========================================== */

.vailon-shop-pagination {
    margin-top: 40px;
}

.vailon-shop-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.vailon-shop-pagination a,
.vailon-shop-pagination span {
    display: block;
    padding: 9px 13px;
    border: 1px solid #e0e7ec;
    border-radius: 4px;
    text-decoration: none;
}

.vailon-shop-pagination .current,
.vailon-shop-pagination a:hover {
    border-color: #2878ad;
    background: #2878ad;
    color: #ffffff;
}

.vailon-no-products {
    padding: 45px 20px;
    text-align: center;
    background: #f8fafb;
    border-radius: 8px;
}

/* ==========================================
   HIDE DEFAULT WOOCOMMERCE ELEMENTS
========================================== */

.woocommerce .woocommerce-products-header,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: none;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {
    .vailon-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

/* ==========================================
   MOBILE HERO
========================================== */

@media (max-width: 768px) {
    .vailon-shop-hero {
        padding: 22px 15px !important;
    }

    .vailon-shop-hero .vailon-shop-container {
        padding: 0;
    }

    .vailon-shop-hero .vailon-shop-eyebrow {
        margin-bottom: 7px;
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .vailon-shop-hero h1 {
        margin-bottom: 8px;
        font-size: 26px !important;
        line-height: 1.3;
    }

    .vailon-shop-hero p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* ==========================================
   MOBILE SHOP & PRODUCT GRID
========================================== */

@media (max-width: 700px) {
    .vailon-shop-container {
        width: calc(100% - 30px);
    }

    .vailon-shop-heading {
        padding: 30px 0;
    }

    .vailon-shop-heading h1 {
        font-size: 28px;
    }

    .vailon-shop-heading p {
        font-size: 14px;
    }

    .vailon-shop-filters {
        padding: 14px;
        gap: 12px;
    }

    .vailon-filter-field {
        flex-basis: calc(50% - 12px);
    }

    .vailon-shop-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .vailon-shop-sorting {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .vailon-shop-sorting select {
        min-width: 0;
        max-width: 65%;
    }

    .vailon-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vailon-product-image {
        padding: 10px;
    }

    .vailon-product-info {
        padding: 12px;
    }

    .vailon-product-title {
        min-height: 40px;
        font-size: 13px;
        line-height: 1.4;
    }

    .vailon-product-strength {
        font-size: 12px;
    }

    .vailon-product-price {
        font-size: 15px;
    }

    .vailon-shop-page .vailon-quick-add {
        padding: 10px 6px;
        font-size: 12px;
    }
}
