/*
Theme Name:   Bw Zenny Child
Theme URI:    https://zenny.bzotech.com/intro/
Author:       The BZOTech
Author URI:   https://bzotech.com/
Description: With Zenny Glasses WordPress template for WooCommerce you'll make a statement that it's not just about fashion accessories.
Template:     bw-zenny
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: clinic, eye glasses, glasses, glasses shop, glasses website, optical, optical clinic, optical shop, optical store, optics, optics shop, optometry, shop, store, sunglasses
Text Domain: bw-zenny-child
*/


/* Επαναφορά icon fonts στο υπόλοιπο site */
.fa, .fas, .fa-solid { font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important; font-weight: 900 !important; }
.far, .fa-regular { font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important; font-weight: 400 !important; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", FontAwesome !important; }
.fal, .fa-light { font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", FontAwesome !important; font-weight: 300 !important; }
.dashicons, .dashicons-before::before, [class*="dashicons-"]::before { font-family: dashicons !important; }
[class^="eicon-"], [class*=" eicon-"], .eicon { font-family: eicons !important; }
.material-icons { font-family: 'Material Icons' !important; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined' !important; }

/* Form elements */
input, select, textarea, button, optgroup {
    font-family: var(--site-font-primary) !important;
}


/* ============================================
   ClearLens — Custom Homepage Sections
   1. Category Banners (4 equal, centered)
   2. Eye Exam Section
   ============================================ */


/* =========================================
   1. CATEGORY BANNERS
   ========================================= */

.cl-cats {
    max-width: 1400px;
    margin: 32px auto;
    padding: 0 20px;
}
.cl-cats-header {
    text-align: center;
    margin-bottom: 40px;
}
.cl-cats-label, 
.cl-section-label{
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    color: #2878bb;
    margin-bottom: 0;
    font-weight: 500 !important;
    letter-spacing: 2px;
}
.cl-cats-title {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
}
.cl-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 380px;
    gap: 20px;
}
.cl-cat {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    text-decoration: none;
    background: #f5f5f5;
    transition: transform 0.4s ease;
}
.cl-cat:hover { transform: translateY(-4px); }
.cl-cat img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.8s ease;
}
.cl-cat:hover img { transform: scale(1.08); }
.cl-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.cl-cat-content {
    position: absolute;
    inset: 0;
    padding: 25px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}
.cl-cat-sub {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
}
.cl-cat-name {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 14px;
    line-height: 1.2;
    color: #fff;
}
.cl-cat-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: border-color 0.3s;
    color: #fff;
}
.cl-cat:hover .cl-cat-btn { border-bottom-color: #fff; }

@media (max-width: 992px) {
    .cl-cats-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 320px;
    }
}
@media (max-width: 600px) {
    .cl-cats-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }
    .cl-cats-title { font-size: 26px; }
}


/* =========================================
   2. EYE EXAM SECTION
   ========================================= */

.cl-eye-exam {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
}
.cl-eye-exam-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* --- Left Visual --- */
.cl-eye-exam-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #f5f1ec;
}
.cl-eye-exam-visual img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
}
.cl-eye-exam-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2;
}
.cl-badge-num {
    font-size: 42px;
    font-weight: 700;
    color: #2878bb;
    line-height: 1;
}
.cl-badge-txt {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Right Content --- */
.cl-eye-exam-label {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2878bb;
    margin-bottom: 16px;
    font-weight: 500;
}
.cl-eye-exam-title {
    font-size: 48px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 24px;
}
.cl-eye-exam-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 36px;
    max-width: 540px;
}

/* --- Features List --- */
.cl-eye-exam-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.cl-eye-exam-features li {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}
.cl-eye-exam-features li:last-child { border-bottom: none; }
.cl-feat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8f1f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2878bb;
}
.cl-feat-icon svg {
    width: 22px;
    height: 22px;
}
.cl-eye-exam-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.cl-eye-exam-features p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* --- CTA Buttons --- */
.cl-eye-exam-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.cl-btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cl-btn-primary:hover {
    background: #2878bb;
    color: #fff;
    transform: translateY(-2px);
}
.cl-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 0;
    transition: color 0.3s;
}
.cl-btn-secondary:hover { color: #2878bb; }
.cl-btn-secondary svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   Reusable Section Headers
   ========================================= */

.cl-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.cl-section-title {
    font-size: 40px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.cl-section-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}
@media (max-width: 600px) {
    .cl-section-title { font-size: 26px; }
    .cl-section-desc { font-size: 14px; }
}


/* =========================================
   Newsletter Form
   ========================================= */

.eg-newsletter-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 400px;
    margin: 0;
}
.eg-newsletter-form .wpcf7-form-control-wrap {
    flex: 1;
    display: block;
    margin: 0;
}
.eg-newsletter-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.eg-newsletter-input:focus {
    border-color: #1a1a1a;
    background: #fff;
}
.eg-submit-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}
.eg-submit-btn:hover { background: #000; }

/* Καθάρισμα από CF7 */
.eg-newsletter-form br,
.eg-newsletter-form .wpcf7-not-valid-tip {
    display: none !important;
}
.eg-newsletter-form .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-width: 1px !important;
}
.eg-newsletter-form div[data-lastpass-icon-root],
.eg-newsletter-form div[data-lastpass-root] {
    display: none !important;
}


/* =========================================
   Checkout
   ========================================= */

.wc-block-components-radio-control .wc-block-components-radio-control__input {
    padding: 0 10px;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:after,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:before {
    display: none;
}


/* =========================================
   Eye Exam Responsive
   ========================================= */

@media (max-width: 992px) {
    .cl-eye-exam-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cl-eye-exam-visual {
        aspect-ratio: 16 / 10;
        max-height: 500px;
    }
    .cl-eye-exam-title { font-size: 36px; }
}
@media (max-width: 600px) {
    .cl-eye-exam { margin: 50px auto; }
    .cl-eye-exam-title { font-size: 28px; }
    .cl-eye-exam-badge {
        bottom: 15px;
        left: 15px;
        padding: 14px 18px;
    }
    .cl-badge-num { font-size: 32px; }
    .cl-btn-primary { width: 100%; text-align: center; }
}


/* =========================================
   Misc
   ========================================= */

.after-append-footer {
    display: none !important;
}

a.grid-2.grid-view.load-shop-ajax {
    display: none !important;
}

.product-thumb-link img {
    display: block;
    width: 100%;
    transition: all 0.3s ease-out 0s;
    -webkit-transition: all 0.3s ease-out 0s;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
}

.archive .item-product {
    border: 1px solid #0000001a;
    padding: 12px;
}

a.addcart-link.case-cart-default.addcart-link-style5.product_type_simple.add_to_cart_button.bzotech_ajax_add_to_cart.product_type_simple {
    width: fit-content !important;
    padding: 10px 20px;
    text-transform: capitalize !important;
}

.key-trending {
    display: none !important;
}

.product-thumb-link img {
    display: block;
    width: 100%;
    transition: all 0.3s ease-out 0s;
    -webkit-transition: all 0.3s ease-out 0s;
    display: block;
    width: 100%;
    transition: all 0.3s ease-out 0s;
    -webkit-transition: all 0.3s ease-out 0s;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: #fff !important;
    padding: 10px;
    box-sizing: border-box;
}

.scroll-top-style2 svg.progress-circle path {
    stroke: #2a76bd !important;
}

.scroll-top-style2 {
	   color: #2a76bd !important;
}

.item-grid-product-style3 .addcart-link-style5 {
    border: 1px solid #2878bb;
}

.elementor-29658 .elementor-element.elementor-element-1f60d77 .bzotech-navbar-nav > li > a {
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    line-height: 18px;
    padding: 10px !important;
    margin: 8px 10px 5px 10px !important;
    border: none !important;
}

.elementor-29658 .elementor-element.elementor-element-1f60d77 .bzotech-navbar-nav > li:hover > a {
    color: #000000;
    background: #aec7e6;
    text-decoration: none !important;
    border: none !important;
}

.menu_mobile_style-left .close-menu-not-style-icon, 
.position_content-left .close-menu {

    background: #2b79be !important;
}

.product-title-single {
    font-size: 40px;
    font-weight: 600;
    font-size: 24px;
    line-height: 42px;
}

h2.font-title.color-title.title34.text-uppercase.font-medium {
    font-size: 24px !important;
}

.main-top-filter__right {
    display: none;
}

.eg_cart_body .cart-collaterals {
    background: #00000008;
    padding: 20px !important;
}

.eg_cart_body form.woocommerce-cart-form {
    padding: 20px !important;
}

#main-content {
    padding: 45px 0 !important;
}

.mini-cart-button {
    display: flex;
    gap: 10px !important;
    margin: 10px 0 0 0px;
    align-content: center;
}

.mini-cart-button .button {
    width: fit-content !important;
    text-align: center;
    margin: 0 auto;
    padding: 10px 12px !important;
    font-size: 14px;
    line-height: 21px;
}