/*
Theme Name: Astra Child
Template: astra
Author: Child Theme Configurator
Version: 1.0.1780375255
Updated: 2026-06-02 04:40:55
*/

body {
    overflow-x: hidden;
}


/* BESTSELLER SLIDER */ 
.best-seller-section { position: relative; width: 100%; padding: 20px 0; } 
.bestSellerSwiper { overflow: hidden; width: 100%; } 
.bestSellerSwiper .swiper-slide { height: auto; } 

/*.bestSellerSwiper .swiper-slide {*/
/*    margin-right: 6px !important;*/
/*}*/
/*@media (min-width: 768px) {*/
/*    .bestSellerSwiper .swiper-slide { margin-right: 8px !important; }*/
/*}*/
/*@media (min-width: 1024px) {*/
/*    .bestSellerSwiper .swiper-slide { margin-right: 8px !important; }*/
/*}*/

.bestSellerSwiper .swiper-slide {
    margin-right: 6px !important;
}
@media (min-width: 768px) {
    .bestSellerSwiper .swiper-slide { margin-right: 8px !important; }
}
@media (min-width: 1024px) {
    .bestSellerSwiper .swiper-slide { margin-right: 8px !important; }
}





/* Product Card */
.product-card { background: #fff; border-radius: 0px; overflow: hidden; } 
.product-image img { width: 100%; display: block; } 
.product-content { padding: 15px; } 
.product-content h3 { font-size: 16px; margin-bottom: 10px; } 
.product-price { font-weight: 600; } 

/* Arrows */ 
.bestSellerSwiper .swiper-button-next, .bestSellerSwiper .swiper-button-prev { color: #000; } 
.bestSellerSwiper .swiper-button-next:after, 
.bestSellerSwiper .swiper-button-prev:after { font-size: 18px; font-weight: bold; }

.bestSellerSwiper .swiper-button-prev {
    left: 12px;
    right: auto;
}

.bestSellerSwiper .swiper-button-next {
    left: auto;
    right: 12px;
}

.bestSellerSwiper .swiper-button-disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* WooCommerce Product Slider */
.bestSellerSwiper ul.products {
    margin: 0 !important;
    padding: 0 !important;
}
.bestSellerSwiper li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* =============================================
   TOP SPACING — Cart, Checkout, Single Product
   ============================================= */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    margin-top: 0 !important;
    padding-top: 180px !important;
}

.single-product .entry-content {
    padding-top: 180px !important;
}

/* =============================================
   SHOP GRID
============================================= */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

/* =============================================
   PRODUCT CARD
============================================= */
.woocommerce ul.products li.product,
.swiper-slide li.product {
    /*padding-bottom: 25px !important;*/
    background-color: #fff;
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
    border-radius: 0px;
    transition: 0.3s;
    /* Reset any default margins/padding WooCommerce adds */
    margin: 0 !important;
}

/* =============================================
   PRODUCT IMAGE
============================================= */
.woocommerce ul.products li.product > a > img,
.woocommerce ul.products li.product > a .wp-post-image,
.woocommerce ul.products li.product img,
.swiper-slide li.product .product-image-wrap img,
.swiper-slide li.product .product-image-wrap a img {
    width: 100% !important;
    display: block;
    /*height: 320px !important;*/
    object-fit: cover;
    margin: 0 !important;
}

/* Image wrap — required for absolute-positioned Quick View button */
.product-image-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

/* Remove default bottom margin on the image anchor */
.woocommerce ul.products li.product > a {
    display: block;
    line-height: 0;
}

/* =============================================
   HIDE ALL LEFTOVER DEFAULT WOO OUTPUT
   (price, button, title that WC might still inject)
============================================= */
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .product-category,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product > .star-rating,
.woocommerce ul.products li.product > span.price {
    display: none !important;
}

/* =============================================
   CUSTOM CARD CONTENT AREA
============================================= */
.custom-shop-content {
    padding: 22px;
}

.custom-product-title {
    margin-bottom: 10px;
    font-weight: 600;
    color: #332b32;
    font-size: 22px;
    line-height: 1.3;
}

.custom-short-desc {
    margin-bottom: 16px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    /*min-height: 48px;*/
}

.custom-price {
    margin-bottom: 18px;
    font-weight: 700;
    color: #332b32;
    font-size: 22px;
}

/* =============================================
   VIEW PRODUCT BUTTON
============================================= */
.custom-view-product-btn {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    font-weight: 600;
    background-color: #332b32;
    color: #fff !important;
    height: 52px;
    border-radius: 0px;
    transition: 0.3s;
    
}
.custom-view-product-btn:hover {
    background-color: #4d424b;
}

/* =============================================
   QUICK VIEW BUTTON (absolute, over image)
============================================= */
.custom-quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    background-color: #fff;
    color: #332b32;
    border: none;
    cursor: pointer;
    border-radius: 0px;
    z-index: 10;
    pointer-events: auto;
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
    opacity: 0;
    padding: 14px 28px;
    white-space: nowrap;
}

/* =============================================
   DARK OVERLAY ON IMAGE HOVER
============================================= */
.woocommerce ul.products li.product::after,
.swiper-slide li.product::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background-color: rgba(0, 0, 0, 0.35);
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}
.woocommerce ul.products li.product:hover::after,
.swiper-slide li.product:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Quick View button visible on hover — works in shop grid AND bestseller slider */
.woocommerce ul.products li.product:hover .custom-quick-view-btn,
.swiper-slide li.product:hover .custom-quick-view-btn {
    visibility: visible;
    opacity: 1;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

/* =============================================
   QUICK VIEW MODAL
============================================= */
.quickview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    padding: 40px;
    overflow: auto;
}
.quickview-content {
    max-width: 1100px;
    background-color: #fff;
    position: relative;
    border-radius: 0px;
    margin: auto;
    padding: 40px;
}
.quickview-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 34px;
    cursor: pointer;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 991px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}


/* =============================================
   CART TOTALS — Shipment row improvements
   ============================================= */

/* "Enter your pincode" hint — styled accent box */
.woocommerce-cart .cart_totals .shipping td .shipping-calculator-form ~ p,
.woocommerce-cart .cart_totals td .woocommerce-shipping-destination ~ .shipping-calculator-button,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator p:first-child,
.woocommerce-cart .cart_totals td > p:first-child {
    background: #eee !important;
    border-left: 3px solid #332b32;
    padding: 8px 12px;
    border-radius: 0px 0px 0px 0px;
    font-size: 12px;
    color: #332b32;
    margin-bottom: 10px;
}

/* "Shipping to Goa." text */
.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

/* "Change address" — make it look like a button */
.woocommerce-cart .cart_totals .shipping-calculator-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #332b32;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 0px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.woocommerce-cart .cart_totals .shipping-calculator-button::after {
    content: ' ›';
    font-size: 15px;
}

.woocommerce-cart .cart_totals .shipping-calculator-button:hover {
    background: #4d424b;
}


/* =============================================
   SHOP CARD FIXES — shadow, overlay, spacing
============================================= */

.woocommerce ul.products li.product,
.swiper-slide li.product {
    overflow: visible !important;
    display: flex;
    flex-direction: column;
}

.product-image-wrap {
    border-radius: 0px 0px 0px 0px;
    overflow: hidden;
    position: relative;
    line-height: 0;
    flex-shrink: 0;
}

.woocommerce ul.products li.product::after,
.swiper-slide li.product::after {
    display: none !important;
}

.product-image-wrap::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    border-radius: 0px 0px 0px 0px;
}

.woocommerce ul.products li.product:hover .product-image-wrap::after,
.swiper-slide li.product:hover .product-image-wrap::after {
    visibility: visible;
    opacity: 1;
}

.woocommerce ul.products li.product:hover .custom-quick-view-btn,
.swiper-slide li.product:hover .custom-quick-view-btn {
    visibility: visible;
    opacity: 1;
}

.custom-shop-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-product-title {
    font-size: 20px;
    font-weight: 600;
    color: #332b32;
    margin-bottom: 6px;
    line-height: 1.3;
}

.custom-short-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.custom-price {
    font-size: 20px;
    font-weight: 700;
    color: #332b32;
    margin-bottom: 14px;
}

.custom-view-product-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 46px;
    background-color: #332b32;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0px;
    transition: background-color 0.25s;
    margin-bottom: 0;
}

.custom-view-product-btn:hover {
    background-color: #4d424b;
}

/* Pagination spacing */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px !important;
    padding-top: 20px !important;
}




/* YITH — hide all lists by default */
.yith-wcan-filter ul {
    display: none !important;
    margin-top: 8px !important;
}

/* Open when filter container has a checked input */
.yith-wcan-filter:has(input:checked) ul {
    display: block !important;
}

/* Open when flower-open class is toggled by JS */
.yith-wcan-filter.flower-open ul {
    display: block !important;
}

/* Arrow styling */
.yith-wcan-filter h4 {
    cursor: pointer;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 0px solid #e0d6ea !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #332b32 !important;
    margin-bottom: 0 !important;
    user-select: none;
}

.yith-wcan-filter h4::after {
    content: "▾" !important;
    font-size: 16px !important;
    color: #4d424b !important;
    transition: transform 0.3s !important;
    margin-left: 8px !important;
}

.yith-wcan-filter.flower-open h4::after,
.yith-wcan-filter:has(input:checked) h4::after {
    transform: rotate(180deg) !important;
}

/* Reduce gap between each filter block (Occasion, Colour, Expressions, Flowers) in the shop sidebar */
.widget:has(.yith-wcan-filter) {
    margin-bottom: 0 !important;
}

.yith-wcan-filter {
    margin-bottom: 6px !important;
}



/* Price slider thumb color */
#flower-price-slider {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 4px !important;
    border-radius: 0px !important;
    /*background: #e0d6ea !important;*/
    outline: none !important;
    cursor: pointer !important;
}

#flower-price-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 0% !important;
    background: #332b32 !important;
    cursor: pointer !important;
    border: 0px solid #fff !important;
    box-shadow: 0 1px 6px rgba(51,43,50,0.4) !important;
}

#flower-price-slider::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border-radius: 0% !important;
    background: #332b32 !important;
    cursor: pointer !important;
    border: 2px solid #fff !important;
}
#flower-price-slider::-moz-range-thumb {
    background: #332b32 !important;
}

/* Apply button */
#flower-price-apply {
    background: #332b32 !important;
}
#flower-price-apply:hover {
    background: #4d424b !important;
}

/* Reset button */
#flower-price-reset {
    border-color: #4d424b !important;
    color: #4d424b !important;
}



/* =============================================
   SEARCH RESULTS PAGE — Full replacement
   Remove all previous search CSS and use this
   ============================================= */

/* Remove Astra's narrow content wrapper */
.search #primary,
.search .site-main,
.search #main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search .ast-container {
    max-width: 1200px !important;
    padding: 0 30px !important;
}

/* Kill sidebar on search page */
.search .secondary,
.search .ast-primary-sidebar {
    display: none !important;
}

/* Page wrapper */
.flower-search-page {
    max-width: 1200px;
    margin: 50px auto 80px;
    padding: 0 30px;
    box-sizing: border-box;
}

/* Header */
.flower-search-header {
    text-align: center;
    margin-bottom: 50px;
}

.flower-search-title {
    font-size: 26px !important;
    font-weight: 600 !important;
    color: #2d2140 !important;
    margin: 0 0 8px !important;
}

.flower-search-title span {
    color: #87689a;
}

.flower-search-count {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Grid — matches shop exactly */
.flower-search-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 35px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Card — matches shop card exactly */
.flower-search-card {
    background: #fff !important;
    border-radius: 0px !important;
    overflow: hidden !important;
    border: 1px solid #eee !important;
    transition: 0.3s !important;
    position: relative !important;
    padding-bottom: 25px !important;
    display: flex !important;
    flex-direction: column !important;
}

.flower-search-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

/* Image */
.flower-search-card .product-image-wrap img,
.flower-search-card img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* Dark overlay on hover */
.flower-search-card .product-image-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 320px;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.flower-search-card:hover .product-image-wrap::after {
    opacity: 1;
    visibility: visible;
}

/* Quick View button */
.flower-search-card .custom-quick-view-btn {
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}

.flower-search-card:hover .custom-quick-view-btn {
    opacity: 1;
    visibility: visible;
}

/* No results */
.flower-search-empty {
    text-align: center;
    padding: 80px 20px;
}

.flower-search-empty p {
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
}

.flower-search-shop-btn {
    display: inline-block;
    background: #87689a;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 0px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: 0.2s;
}

.flower-search-shop-btn:hover {
    background: #6f537f;
}

/* Responsive */
@media (max-width: 991px) {
    .flower-search-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 576px) {
    .flower-search-page {
        padding: 0 15px;
        margin: 30px auto 60px;
    }

    .flower-search-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .flower-search-title {
        font-size: 20px !important;
    }
}





/* My Account layout fix for Astra */
/*.woocommerce-account .ast-container,*/
/*.woocommerce-account .ast-article-post,*/
/*.woocommerce-account .entry-content {*/
/*    max-width: 960px !important;*/
/*    margin: 40px auto !important;*/
/*    padding: 0 20px !important;*/
/*}*/

/*.woocommerce-account .woocommerce {*/
/*    display: flex !important;*/
/*    gap: 24px !important;*/
/*    align-items: flex-start !important;*/
/*    background: none !important;*/
/*    box-shadow: none !important;*/
/*    padding: 0 !important;*/
/*    max-width: 100% !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation {*/
/*    width: 200px !important;*/
/*    min-width: 200px !important;*/
/*    flex-shrink: 0 !important;*/
/*    background: #fff !important;*/
/*    border-radius: 16px !important;*/
/*    box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;*/
/*    overflow: hidden !important;*/
/*    padding: 8px !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation ul {*/
/*    list-style: none !important;*/
/*    padding: 0 !important;*/
/*    margin: 0 !important;*/
/*    display: flex !important;*/
/*    flex-direction: column !important;*/
/*    gap: 2px !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation ul li {*/
/*    float: none !important;*/
/*    width: 100% !important;*/
/*    border: none !important;*/
/*    border-top: none !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation ul li a {*/
/*    display: block !important;*/
/*    padding: 12px 16px !important;*/
/*    border-radius: 10px !important;*/
/*    font-size: 14px !important;*/
/*    font-weight: 600 !important;*/
/*    color: #4d424b !important;*/
/*    text-decoration: none !important;*/
/*    border: none !important;*/
/*    background: transparent !important;*/
/*    transition: background 0.2s, color 0.2s !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {*/
/*    background: #f0ecf5 !important;*/
/*    color: #332b32 !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {*/
/*    background: #332b32 !important;*/
/*    color: #fff !important;*/
/*}*/

/*.woocommerce-account .woocommerce-MyAccount-content {*/
/*    flex: 1 !important;*/
/*    background: #fff !important;*/
/*    border-radius: 16px !important;*/
/*    box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;*/
/*    padding: 36px !important;*/
/*    color: #332b32 !important;*/
/*    font-size: 14px !important;*/
/*    line-height: 1.7 !important;*/
/*    min-height: 300px !important;*/
/*}*/




/* =============================================
   LILY & LILAC — FULL MOBILE RESPONSIVE CSS
   Add to: assets/css/quickview.css  (bottom)
   OR add to: style.css (bottom)
   Covers: Quick View, Shop, Single Product,
           Cart/Checkout, Search, Header
   ============================================= */



/* =============================================
   2. SHOP PAGE
   ============================================= */

@media (max-width: 768px) {

    /* Shop layout — filters sidebar + grid */
    .woocommerce-page .ast-container,
    .woocommerce .ast-container {
        padding: 0 12px !important;
    }

    /* 2-col grid on tablet */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* Card content tighter */
    .custom-shop-content {
        padding: 12px 14px 14px !important;
    }

    .custom-product-title {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    .custom-short-desc {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .custom-price {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .custom-view-product-btn {
        height: 40px !important;
        font-size: 13px !important;
    }

    /* Quick View — always visible on touch (no hover) */
    .custom-quick-view-btn {
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 12px !important;
        padding: 10px 18px !important;
    }

    /* Overlay always slightly visible on mobile */
    .product-image-wrap::after {
        opacity: 0.2 !important;
        visibility: visible !important;
    }
}


/* Fix Elementor shop page mobile overlap */
@media (max-width: 768px) {
    div.woocommerce.columns-3 {
        padding-bottom: 60vh !important;
        overflow: visible !important;
    }

    .elementor-widget-shortcode {
        padding-bottom: 40px !important;
    }

    /* Fix grid inside Elementor shortcode */
    div.woocommerce.columns-3 ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    nav.woocommerce-pagination {
        margin-bottom: 40px !important;
        padding-bottom: 60px !important;
        position: relative !important;
        z-index: 1 !important;
        clear: both !important;
    }

    .woocommerce-page .entry-content,
    .woocommerce-page .elementor-widget-shortcode,
    .woocommerce-page div.woocommerce {
        padding-bottom:60px !important;
        overflow: visible !important;
    }
}




/**/

@media (max-width: 480px) {

    /* 1-col on small phones */
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .custom-product-title { font-size: 18px !important; }
    .custom-price         { font-size: 18px !important; }

    .custom-view-product-btn {
        height: 46px !important;
        font-size: 14px !important;
    }
}


/* =============================================
   3. SINGLE PRODUCT PAGE
   Responsive rules for this page live in
   assets/css/single-product.css — kept in one
   place to avoid two mobile stylesheets fighting
   over the same selectors with !important.
   ============================================= */


/* =============================================
   4. CART PAGE
   ============================================= */




/* =============================================
   5. CHECKOUT PAGE
   ============================================= */

@media (max-width: 768px) {

    .wp-block-woocommerce-checkout {
        padding-top: 100px !important;
    }

    /* Stack billing + order summary */
    .woocommerce-checkout .col2-set {
        width: 100% !important;
        float: none !important;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        width: 100% !important;
        float: none !important;
    }

    /* Input font size — prevent iOS zoom */
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        font-size: 16px !important;
    }

    /* Place order button */
    #place_order {
        width: 100% !important;
        padding: 16px !important;
        font-size: 16px !important;
    }
}


/* =============================================
   6. SEARCH RESULTS PAGE
   ============================================= */

@media (max-width: 768px) {

    .search-results-wrap {
        padding: 0 12px !important;
        margin: 20px auto !important;
    }

    .search-results-title {
        font-size: 16px !important;
    }

    .search-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}


@media (max-width: 480px) {
    .search-products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .search-products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}


/* ============================================================
   Checkout "Your order" table — fix item meta (Delivery Date, etc.)
   wrapping/breaking awkwardly inside the product-name cell.
   ============================================================ */

.woocommerce-checkout-review-order-table td.product-name dl.variation,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.woocommerce-checkout-review-order-table td.product-name dl.variation dt,
.woocommerce-checkout-review-order-table td.product-name dl.variation dd,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta li,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta-label {
    display: inline;
    float: none;
    margin: 0;
    padding: 0;
    font-weight: 500;
    white-space: normal;
}

.woocommerce-checkout-review-order-table td.product-name dl.variation dd p,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta p {
    display: inline;
    margin: 0;
}

.woocommerce-checkout-review-order-table td.product-name dl.variation dd,
.woocommerce-checkout-review-order-table td.product-name .wc-item-meta-value {
    white-space: nowrap;
}

.woocommerce-checkout-review-order-table td.product-name {
    padding-right: 12px;
}



/* =============================================
   7. BESTSELLER SLIDER
   ============================================= */

@media (max-width: 768px) {

    body .bestSellerSwiper .product-image-wrap {
        aspect-ratio: 1 / 1 !important;
        background: #f5f0f5;
    }

    body .bestSellerSwiper .product-image-wrap img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
    }

    .bestSellerSwiper .custom-shop-content {
        padding: 10px 12px 4px !important;
    }

    .bestSellerSwiper .custom-product-title {
        font-size: 15px !important;
    }

    .bestSellerSwiper .custom-price {
        font-size: 15px !important;
    }

    .bestSellerSwiper .custom-view-product-btn {
        height: 38px !important;
        font-size: 13px !important;
    }
}



/* =============================================
   8. GENERAL HEADER / NAV (Astra)
   ============================================= */

@media (max-width: 768px) {

    /* Top bar — stack on mobile */
    .ast-above-header-bar .ast-container {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 6px 12px !important;
    }

    /* Single product top spacing */
    .single-product .entry-content {
        padding-top: 80px !important;
    }

    /* Cart / Checkout top spacing */
    .wp-block-woocommerce-cart {
        padding-top: 80px !important;
    }
}


/* =============================================
   9. TOUCH — Quick View button always visible
      (on touch devices hover doesn't exist)
   ============================================= */

@media (hover: none) {
    .custom-quick-view-btn {
        opacity: 1 !important;
        visibility: visible !important;
    }
    .product-image-wrap::after {
        opacity: 0.25 !important;
        visibility: visible !important;
    }
}




/* =============================================
   MY ACCOUNT DASHBOARD — Lily & Lilac
   Add to: style.css
   ============================================= */

/* ── Navigation menu ── */
.woocommerce-MyAccount-navigation {
    width: 260px !important;
    float: left !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 20px rgba(77,66,75,0.08) !important;
    overflow: hidden !important;
    border-top: 4px solid #332b32 !important;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f8f5f8 !important;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #666 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f8f5f8 !important;
    color: #87689a !important;
    padding-left: 26px !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f5f0f8 !important;
    color: #87689a !important;
    font-weight: 600 !important;
    border-left: 3px solid #87689a !important;
}

/* ── Content area ── */
.woocommerce-MyAccount-content {
    float: right !important;
    width: calc(100% - 290px) !important;
}

/* Dashboard welcome message */
.woocommerce-MyAccount-content p:first-child {
    background: #f8f5f8;
    padding: 16px 20px;
    border-radius: 4px;
    border-left: 3px solid #87689a;
    font-size: 14px;
    color: #555;
    margin-bottom: 24px;
}

/* ── Orders table ── */
.woocommerce-orders-table {
    border: none !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.woocommerce-orders-table th {
    background: #f5f0f8 !important;
    color: #332b32 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 14px 16px !important;
    border: none !important;
}

.woocommerce-orders-table td {
    padding: 14px 16px !important;
    border-color: #f8f5f8 !important;
    font-size: 14px !important;
    color: #555 !important;
}

.woocommerce-orders-table .button {
    background: #87689a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.woocommerce-orders-table .button:hover {
    background: #6f537f !important;
}

/* ── Address boxes ── */
.woocommerce-Address {
    background: #fff !important;
    border: 1px solid #f0ecf0 !important;
    border-radius: 4px !important;
    padding: 24px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}

.woocommerce-Address-title h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #332b32 !important;
    margin-bottom: 12px !important;
}

/* ── Form fields in account details ── */
.woocommerce-EditAccountForm .form-row input,
.woocommerce-EditAccountForm .form-row select {
    border: 1.5px solid #e8e2e8 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    background: #faf8fa !important;
}

.woocommerce-EditAccountForm .form-row input:focus {
    border-color: #87689a !important;
    background: #fff !important;
}

.woocommerce-EditAccountForm .button {
    background: #4d424b !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.woocommerce-EditAccountForm .button:hover {
    background: #332b32 !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-bottom: 24px !important;
    }

    .woocommerce-MyAccount-content {
        float: none !important;
        width: 100% !important;
    }

    .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .woocommerce-MyAccount-navigation ul li {
        border-bottom: none !important;
        border-right: 1px solid #f8f5f8 !important;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 10px !important;
        font-size: 12px !important;
        text-align: center !important;
    }

    .woocommerce-MyAccount-navigation ul li a:hover {
        padding-left: 10px !important;
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left: none !important;
        border-bottom: 3px solid #87689a !important;
    }
}



/* Force 1:1 Square Ratio for Quick View Mobile */
@media (max-width: 768px) {
    /* Unlock the restrictive containers */
    #ast-quick-view-modal .ast-qv-image-info,
    #ast-quick-view-modal .woocommerce-product-gallery,
    #ast-quick-view-modal .woocommerce-product-gallery__wrapper,
    #ast-quick-view-modal .flex-viewport {
        height: auto !important;
        max-height: none !important;
    }
    
    /* Force 1:1 size on the image */
    #ast-quick-view-modal .woocommerce-product-gallery__image img,
    #ast-quick-view-modal .ast-qv-image-info img,
    .ast-quick-view-modal-inner img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important; /* Forces perfect square */
        object-fit: contain !important; /* Prevents edges from cutting */
        object-position: center !important;
        background-color: transparent !important;
        display: block !important;
        margin: 0 auto !important;
    }
}