/* =========================================
   LAPTOP
   ========================================= */

@media (min-width: 1366px) and (max-width: 1600px) {
    #ecigzoo_contact_us {
        max-width: 590px !important;
    }
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 991px) {
    .single-product .woocommerce-product-gallery {
        padding: 15px;
    }

    .single-product .woocommerce-product-gallery__image {
        min-height: 450px;
    }

    .single-product .woocommerce-product-gallery__image img {
        height: 450px;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs li img {
        height: 70px !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .tier-pricing-summary-table {
        flex: 1 1 100% !important;
        margin-top: 5px !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .single_add_to_cart_button {
        flex: 1 1 auto !important;
        width: auto !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #ecigzoo_search .aws-search-form {
        height: 52px;
        padding-left: 17px;
    }

    #ecigzoo_search .aws-search-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .newsletter-fields {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 15px;
    }

    .newsletter-field {
        width: 100%;
    }

    .newsletter-field input[type="text"],
    .newsletter-field input[type="email"],
    .newsletter-submit input[type="submit"] {
        height: 50px;
    }

    .newsletter-field input[type="text"],
    .newsletter-field input[type="email"] {
        padding: 0 22px;
    }

    .single-product .woocommerce-product-gallery {
        padding: 10px;
        border-radius: 10px;
    }

    .single-product .woocommerce-product-gallery__image {
        min-height: 350px;
    }

    .single-product .woocommerce-product-gallery__image img {
        height: 350px;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 12px !important;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs li img {
        height: 65px !important;
        padding: 5px;
        border-radius: 8px;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled {
        display: grid !important;
        grid-template-columns: 60px 1fr;
        gap: 12px !important;
        align-items: center !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .quantity {
        width: 60px !important;
        margin: 0 !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .quantity .qty {
        width: 60px !important;
        height: 52px !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .single_add_to_cart_button {
        width: 100% !important;
        height: 52px !important;
        margin: 0 !important;
        line-height: 52px !important;
    }

    .single-product .woocommerce-variation-add-to-cart-enabled .tier-pricing-summary-table {
        grid-column: 1 / -1;
        width: 100% !important;
        margin-top: 5px !important;
    }

    .single-product .woocommerce-tabs {
        padding: 0 15px;
    }

    .single-product .woocommerce-tabs ul.tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .single-product .woocommerce-tabs ul.tabs li {
        padding: 12px 15px !important;
    }

    ul.tabs.wc-tabs {
        overflow-x: scroll !important;
    }

    #ecigzoo_contact_us {
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    #ecigzoo_contact_us .cf7-name-row {
        flex-direction: column !important;
        gap: 16px !important;
    }

    #ecigzoo_contact_us .cf7-name-row .cf7-col {
        width: 100% !important;
    }
}

/* ===== CLEANUP (Oct 2026) — added via Claude ===== */
/* Basket & checkout: stop block being pushed off-screen on mobile/tablet */
@media (max-width:1024px){
  .wp-block-woocommerce-cart.alignwide,
  .wp-block-woocommerce-checkout.alignwide{margin-left:0!important;margin-right:0!important;max-width:100%!important;width:auto!important}
}

/* Calmer page: show content straight away instead of fading in on scroll */
.elementor-invisible{visibility:visible!important}
.elementor-element.animated{animation:none!important}

/* One font family across the site (Poppins = Elementor global font) */
body,button,input,select,textarea,.woocommerce,.product_title,.woocommerce-loop-product__title{font-family:"Poppins",sans-serif}

@media (max-width:767px){
  /* Product page: compact gallery so name, price and Add to Basket appear sooner */
  .single-product .woocommerce-product-gallery .flex-viewport{max-height:340px}
  .single-product .woocommerce-product-gallery__image img{max-height:340px;width:auto!important;margin:0 auto;object-fit:contain}
  .single-product .woocommerce-product-gallery .flex-control-thumbs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding:8px 0!important;margin:0!important;scrollbar-width:none}
  .single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{display:none}
  .single-product .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 56px!important;width:56px!important;margin:0!important;float:none!important}
  .single-product .product_title{font-size:22px!important;font-weight:700!important;line-height:1.25!important}
  .single-product .elementor-element-80aee94{gap:14px!important}
  .single-product .elementor-element-464848c{padding-top:12px!important;padding-bottom:12px!important}
  .single-product table.variations{margin-bottom:0!important}
  .single-product .single_variation_wrap{margin-top:0!important;padding-top:0!important}
  .single-product .woocommerce-variation-add-to-cart{margin-top:6px!important}
  .single-product .e-atc-qty-button-holder{padding-top:6px!important}

  /* Product cards: hide the "Categories:" line, tidier button */
  .e-loop-item .elementor-element-d8abdc5{display:none!important}
  .e-loop-item .elementor-widget-woocommerce-product-add-to-cart .button{font-size:14px!important;padding:10px 12px!important}

  /* Category pages: filters live behind the orange Filters button on mobile */
  .elementor-element-e148246{display:none!important}
  .woocommerce-result-count{font-size:13px;white-space:nowrap}
  .woocommerce-ordering select{max-width:150px;font-size:13px}
}
/* Product page styled to match the live ecigzoo.co.uk product page */
.single-product .elementor-element-464848c{background:#fff!important}
.single-product .elementor-element-464848c .woocommerce-breadcrumb{color:rgba(18,18,18,.8)!important;text-transform:uppercase;font-size:12.6px!important;letter-spacing:.02em;text-align:left!important}
.single-product .elementor-element-464848c .woocommerce-breadcrumb a{color:rgba(18,18,18,.8)!important}
.single-product .elementor-element-80aee94 .elementor-element-d842234{order:-1}
.single-product .elementor-element-d842234 .posted_in.detail-container{display:none!important}
.single-product .elementor-element-d842234 .posted_in:not(.detail-container){font-size:0!important}
.single-product .elementor-element-d842234 .posted_in:not(.detail-container) a{font-size:12px!important;text-transform:uppercase;letter-spacing:1.2px;color:#000!important;font-weight:400}
.single-product .product_title{font-size:28px!important;font-weight:700!important;color:#000!important;letter-spacing:-.5px;line-height:1.15!important}
.single-product .elementor-element-2065299a .price,.single-product .elementor-element-2065299a .price *{color:#121212!important;font-weight:400!important;font-size:22.8px!important}
.single-product form.cart button.single_add_to_cart_button.button{background:#f7931e!important;color:#fff!important;text-transform:uppercase!important;font-weight:700!important;border-radius:5px!important;letter-spacing:.02em}
.single-product .cfvsw-swatches-option{border-radius:4px!important;border:1px solid rgba(18,18,18,.55)!important;padding:10px 14px!important;min-height:44px!important;box-shadow:none!important}
.single-product .cfvsw-swatches-option .cfvsw-swatch-inner{font-size:14.7px!important;font-weight:500!important;color:#121212!important}
.single-product .cfvsw-swatches-option.cfvsw-selected-swatch{border:2px solid #121212!important}
/* Homepage hero banner: keep the whole banner image visible at every screen width (images are 2560x873) */
.elementor-element-8c618d8 .elementor-main-swiper{height:auto!important;aspect-ratio:2560/873}
.elementor-element-8c618d8 .elementor-main-swiper .swiper-slide{height:auto!important;aspect-ratio:2560/873}
.elementor-element-8c618d8 .elementor-carousel-image{background-size:cover!important;background-position:center!important;height:100%!important}
/* Flavour profile line under product names */
.ez-flavour{font-size:12.5px!important;font-style:italic;color:#6b6b6b;margin:2px 0 6px!important;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.single-product .ez-flavour{font-size:14px!important;margin:-6px 0 0!important;-webkit-line-clamp:unset}
/* Product page: lighter description area */
.single-product .woocommerce-tabs.ez-converted{border:0!important;border-radius:0!important;padding:0!important}
@media (max-width:767px){
 .single-product .elementor-element-e233387 .elementor-loop-container{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .single-product .elementor-element-e233387 .e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item{display:none!important}
}
/* Homepage: plain white category strip (no cream background / wavy edges), even spacing */
.home .elementor-element-a9a7b28{background:#fff!important}
.home .elementor-element-a9a7b28>.elementor-shape{display:none!important}
.home [data-elementor-type=wp-page]>.e-con:not(.elementor-element-fe27d74){padding-top:28px!important;padding-bottom:28px!important}
@media (max-width:767px){.home .elementor-element-69b74a1 .e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item,.home .elementor-element-5bf3ebe .e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item~.e-loop-item{display:none!important}}
/* Category pages: simpler cards */
ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;font-weight:600!important;line-height:1.3!important;margin-bottom:0!important}
ul.products li.product .button{font-size:14px!important;padding:9px 14px!important;min-height:0!important;line-height:1.2!important}
@media (max-width:768px){
 body .woof_mobile_wc_toolbar .woocommerce-result-count{display:none!important}
 .woof_mobile_wc_toolbar{gap:10px}
 .woof_mobile_wc_toolbar .woocommerce-ordering{flex:1}
 .woof_mobile_wc_toolbar .woocommerce-ordering select{max-width:none!important;width:100%}
}
ul.products li.product .ez-flavour{padding:0 10px}
/* White product cards with dark prices (like the live site) - category pages, homepage and related products */
ul.products li.product,.e-loop-item.elementor-23352{background:#fff!important;border:1px solid rgba(18,18,18,.1)!important;border-radius:8px!important;overflow:hidden}
ul.products li.product .price,ul.products li.product .price *,.e-loop-item.elementor-23352 .price,.e-loop-item.elementor-23352 .price *{color:#121212!important;font-weight:400!important}
ul.products li.product .price del,ul.products li.product .price del *,.e-loop-item.elementor-23352 .price del,.e-loop-item.elementor-23352 .price del *{color:#8a8a8a!important}
ul.products li.product .woocommerce-loop-product__title,.e-loop-item.elementor-23352 .elementor-heading-title{color:#121212!important}
/* Category intro text (shown below the products) */
.ez-cat-intro{border-top:1px solid rgba(18,18,18,.1);padding-top:22px}
.ez-cat-intro .term-description,.ez-cat-intro p{font-size:15px;line-height:1.65;color:#333;max-width:900px}
.ez-cat-intro p{margin:0 0 12px}
.ez-cat-intro a{color:#d97a0b;text-decoration:underline}
/* ===== END CLEANUP ===== */
