/* Custom Product Grid Layout styling */


/* Layout wrapper to show Filters side-by-side with products */
.shop-custom-layout-container-21a97697 {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px 0 !important;
    padding: 0 20px !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

.shop-custom-sidebar-21a97697 {
    flex: 0 0 280px !important;
    width: 280px !important;
    box-sizing: border-box !important;
    background: #fff3c8 !important;
    border-radius: 25px !important;
    padding: 24px !important;
}

/* Strip the theme/WooCommerce default white widget boxes so the yellow
   sidebar background shows through cleanly */
.shop-custom-sidebar-21a97697 .widget,
.shop-custom-sidebar-21a97697 .widget_search,
.shop-custom-sidebar-21a97697 .widget_price_filter,
.shop-custom-sidebar-21a97697 .widget_layered_nav,
.shop-custom-sidebar-21a97697 .widget_layered_nav_filters,
.shop-custom-sidebar-21a97697 .widget_rating_filter,
.shop-custom-sidebar-21a97697 .widget_product_categories,
.shop-custom-sidebar-21a97697 .widget_block {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.shop-custom-main-21a97697 {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure WooCommerce product grid uses a responsive grid with our sidebar.
   minmax(240px, 1fr) lands on 3 columns on a standard desktop width and
   adapts up/down automatically as the viewport width changes. */
.shop-custom-main-21a97697 ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Grid styling for the shortcode's own grid wrapper — responsive, lands on
   3 columns at a standard desktop width and adapts with viewport width */
.custom-prod-grid-container-21a97697 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

/* Force layout override on Shop loops */
.archive.post-type-archive-product .products .product,
.archive.tax-product_cat .products .product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Responsive sidebar */
@media (max-width: 991px) {
    .shop-custom-layout-container-21a97697 {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .shop-custom-sidebar-21a97697 {
        width: 100% !important;
        flex: none !important;
    }
}

/* Card Container Styles */
.custom-prod-card-21a97697 {
    display: flex;
    flex-direction: column;
    background: #fdf6e6 !important; /* Soft warm cream background */
    border-radius: 22px !important; /* Heavily rounded corners */
    padding: 16px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
}

.custom-prod-card-21a97697:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(227, 200, 149, 0.2);
}

/* 1. Image on top with heavily rounded corners */
.custom-prod-image-wrap-21a97697 {
    width: 100% !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden !important;
    border-radius: 16px !important; /* Rounded corners inside card */
    margin-bottom: 14px !important;
    background-color: #f7fafc !important;
}

.custom-prod-img-21a97697 {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.custom-prod-card-21a97697:hover .custom-prod-img-21a97697 {
    transform: scale(1.04);
}

/* 2. Title left, Stars right */
.custom-prod-header-row-21a97697 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

.custom-prod-title-21a97697 {
    margin: 0 !important;
    font-family: "Averia Serif Libre", "Georgia", serif ;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #000000 !important;
    flex: 1 !important;
}

.custom-prod-title-21a97697 a {
    text-decoration: none !important;
    color: inherit !important;
}

/* Default WooCommerce star-rating markup (rounded star icon font) sized to
   fit the compact card */
.custom-prod-stars-21a97697 .star-rating {
    font-size: 13px !important;
    width: 5.4em !important;
    white-space: nowrap !important;
}

/* 3. Description limited to 4 lines */
.custom-prod-desc-21a97697 {
    margin-bottom: 14px !important;
    flex-grow: 1 !important;
}

.custom-prod-desc-21a97697 p {
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #1a1a1a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 4. Price & Add to Cart row alignment */
.custom-prod-footer-row-21a97697 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    width: 100% !important;
}

.custom-prod-price-box-21a97697 {
    font-family: "Georgia", serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

/* Price range or discount styles */
.custom-prod-price-box-21a97697 del {
    font-size: 16px !important;
    color: #888888 !important;
    margin-right: 6px !important;
    font-weight: normal !important;
}

.custom-prod-price-box-21a97697 ins {
    text-decoration: none !important;
}

/* Custom golden-pill Add to Cart button layout */
.custom-prod-cart-box-21a97697 {
    display: flex !important;
    align-items: center !important;
}

.custom-prod-cart-box-21a97697 .custom-add-btn-21a97697 {
    background-color: #e9d5ab !important; /* Golden/Beige background */
    color: #000000 !important;
    border: none !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 50px !important; /* Rounded pill style button */
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    text-decoration: none !important;
}

.custom-prod-cart-box-21a97697 .custom-add-btn-21a97697:hover {
    background-color: #e3c895 !important;
}

/* Hide standard loop wrappers added by themes inside products list */
.custom-prod-card-21a97697 + .ast-shop-thumbnail-wrap,
.custom-prod-card-21a97697 + .title,
.custom-prod-card-21a97697 + .price {
    display: none !important;
}