@charset "UTF-8";
/* WooCommerce Category Card Overrides 
   Make them look distinct from Product Cards! */
ul.products li.product-category {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    text-align: center !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

/* Force containment off to stop shadows from clipping */
ul.products li.product-category,
ul.products li.product-category a,
ul.products li.product-category div {
    overflow: visible !important;
}

ul.products li.product-category a img {
    width: 85% !important;
    margin: 0 auto 10px auto !important;
    /* Center the squeezed bubble */
    border-radius: 50% !important;
    /* Circle images for categories */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    /* Almost invisible shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 3px solid #fff !important;
    aspect-ratio: 1/1 !important;
    /* Force a perfect circle */
    object-fit: cover !important;
    display: block !important;
}

ul.products li.product-category a:hover img {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

ul.products li.product-category h2.woocommerce-loop-category__title {
    font-size: 1.25em !important;
    font-weight: 600 !important;
    color: #333 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
}

ul.products li.product-category h2.woocommerce-loop-category__title mark {
    background: transparent !important;
    color: #999 !important;
    font-size: 0.75em !important;
    font-weight: 300 !important;
    display: block !important;
    margin-top: 4px !important;
}

/* Hide product-related UI from categories if the theme mistakenly injected it */
ul.products li.product-category .button,
ul.products li.product-category .price,
ul.products li.product-category .button,
ul.products li.product-category .price,
ul.products li.product-category .star-rating,
ul.products li.product-category .add_to_cart_button {
    display: none !important;
}

/* Hide the ugly native WooCommerce/Theme sale badges to prevent duplicates */
.woocommerce span.onsale {
    display: none !important;
}

/* Out of Stock product badge across all loops */
.woocommerce ul.products li.product .cvetochka-out-of-stock-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #555;
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* Sale product badge across all loops */
.woocommerce ul.products li.product .cvetochka-sale-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: linear-gradient(135deg, #e91e63 0%, #ff4b82 100%) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 16px !important;
    z-index: 100 !important;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    pointer-events: none !important;
    animation: salePulse 2s infinite !important;
}

.woocommerce ul.products li.product {
    position: relative;
    /* Ensure containment */
}

/* =========================================================
   Product Card Re-Design (1 to 1 mock match) 
   ========================================================= */
.woocommerce ul.products li.product:not(.product-category) {
    background: #ffffff !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 16px !important;
    padding: 0 0 20px 0 !important;
    text-align: left !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    margin-bottom: 25px !important;
    height: 100% !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product:not(.product-category):hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
    /* Removed transform: translateY to fix Webkit overflow: hidden subpixel jitter on images */
}

/* Image */
.woocommerce ul.products li.product:not(.product-category)>a>img,
.woocommerce ul.products li.product:not(.product-category) .woocommerce-LoopProduct-link img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    display: block !important;
}

/* Force hover images to strictly respect dimensions and prevent jitter */
.woocommerce ul.products li.product:not(.product-category) img.secondary-image,
.woocommerce ul.products li.product:not(.product-category) img.hover-image {
    height: 300px !important;
    object-fit: cover !important;
}

/* Link Wrapper Structural Flow */
.woocommerce ul.products li.product:not(.product-category)>a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 0 !important;
    text-decoration: none !important;
    position: relative !important;
    z-index: 1 !important;
    height: auto !important;
}

.woocommerce ul.products li.product:not(.product-category) .kadence-loop-image-area {
    display: block !important;
    height: 300px !important;
    overflow: hidden !important;
}

/* Kadence Grid Wrapper */
.woocommerce ul.products li.product:not(.product-category) .product-details {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 1fr auto !important;
    grid-template-areas: 'title title' 'price button' !important;
    align-items: center !important;
    padding: 15px !important;
    flex-grow: 1 !important;
}

.woocommerce ul.products li.product:not(.product-category) .product-details-inner {
    display: contents !important;
}

/* Title */
.woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
    grid-area: title !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ff69b4 !important;
    padding: 0 0 10px 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: inherit !important;
    flex-grow: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Price */
.woocommerce ul.products li.product:not(.product-category) .price {
    grid-area: price !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    color: #111 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    gap: 2px !important;
}

.woocommerce ul.products li.product:not(.product-category) .price del {
    color: #cecece !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    opacity: 1 !important;
    display: block !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product:not(.product-category) .price ins,
.woocommerce ul.products li.product:not(.product-category) .price>span,
.woocommerce ul.products li.product:not(.product-category) .price>bdi {
    display: block !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

/* Action Wrap */
.woocommerce ul.products li.product:not(.product-category) .product-action-wrap {
    grid-area: button !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cart Button Pill */
.woocommerce ul.products li.product:not(.product-category) .button,
.woocommerce ul.products li.product:not(.product-category) .added_to_cart {
    position: static !important;
    width: 60px !important;
    height: 40px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #a3617b 0%, #d889a7 50%, #a3617b 100%) !important;
    background-size: 200% auto !important;
    color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 20px rgba(163, 97, 123, 0.3) !important;
    transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.3s ease !important;
    border: none !important;
    font-size: 0 !important;
    z-index: 2 !important;
}

.woocommerce ul.products li.product:not(.product-category) .button:hover {
    background-position: right center !important;
    transform: scale(1.05) !important;
}

/* If product is Out of Stock, hide the cart button so it stays clean */
.woocommerce ul.products li.product.outofstock .button {
    display: none !important;
}

/* Cart SVG */
.woocommerce ul.products li.product:not(.product-category) .button::before { content: "" !important;

    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Hide rating from these tiny cards to keep minimal */
.woocommerce ul.products li.product:not(.product-category) .star-rating {
    display: none !important;
}

/* Mobile grid optimizations */
@media (max-width: 768px) {
    .grid-cols {
        row-gap: 0 !important;
    }
}

/* =========================================================
   Premium Single Product Page Overhaul
   ========================================================= */

/* Main Layout Setup */
.woocommerce div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 50px !important;
    margin-top: 50px !important;
    padding-bottom: 60px !important;
}

/* Images Left Column */
.woocommerce div.product div.images {
    flex: 1 1 500px !important;
    max-width: 55% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    background: #fff !important;
    position: relative !important;
}

.woocommerce div.product div.images img:not(.zoomImg) {
    border-radius: 20px !important;
    width: 100% !important;
    height: auto !important;
    /* Extremely important: stops vertical stretching */
    display: block !important;
    transition: transform 0.5s ease !important;
}

/* Hide native or duplicate magnifying glasses from WooCommerce core */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    display: block !important;
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99 !important;
    background: #fff !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger img {
    display: none !important;
    /* Hide ugly native SVG img if the theme injects a ::before icon */
}

/* Thumbnails */
.woocommerce div.product div.images .flex-control-thumbs {
    margin: 15px -7.5px 0 -7.5px !important;
    padding: 0 15px !important;
}

.woocommerce div.product div.images .thumbnails {
    margin: 15px -7.5px 0 -7.5px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce div.product div.images .thumbnails .thumbnail {
    position: relative !important;
    display: inline-block !important;
    overflow: visible !important;
    /* Ensure borders are never cleanly severed */
}

.woocommerce div.product div.images .flex-control-thumbs li::before,
.woocommerce div.product div.images .thumbnails .thumbnail::before {
    display: none !important;
    /* Overrule old padding hack */
}

.woocommerce div.product div.images .flex-control-thumbs li img,
.woocommerce div.product div.images .thumbnails img {
    width: 100% !important;
    height: unset !important;
    /* Crucial override to break free of global height:auto */
    aspect-ratio: 1/1 !important;
    /* JS controls width, this enforces the square height */
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
    opacity: 0.5 !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .thumbnails img:hover {
    opacity: 1 !important;
    border-color: #e91e63 !important;
}

/* Summary Right Column */
.woocommerce div.product div.summary {
    flex: 1 1 400px !important;
    max-width: 45% !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Duplicate Kadence Grid Wrapper removed (handled globally) */

/* Price block */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    /* Premium brand pop */
    margin: 0 0 30px 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 15px !important;
    line-height: 1 !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: #a0a0a0 !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

@keyframes salePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(233, 30, 99, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    }
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    color: #ff69b4 !important;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.4) !important;
    /* Sale price glowing hot pink */
}

/* Target native or injected Sale badges over the product image gallery */
.woocommerce div.product .onsale,
.cvetochka-sale-badge.single-product-badge {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    background: linear-gradient(135deg, #e91e63 0%, #ff4b82 100%) !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4) !important;
    z-index: 100 !important;
    letter-spacing: 1px !important;
    animation: salePulse 2s infinite !important;
    margin: 0 !important;
}

/* Short Description */
.woocommerce-product-details__short-description {
    font-size: 17px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
    font-weight: 400 !important;
}

/* Add to Cart Layout */
.woocommerce div.product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 20px !important;
    margin-top: 10px !important;
    padding-top: 30px !important;
    border-top: 1px solid #eaeaea !important;
}

/* Quantity Container Layout */
.woocommerce div.product form.cart div.quantity,
.woocommerce-cart table.cart div.quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 60px !important;
    margin: 0 !important;
    float: none !important;
    border: 2px solid #eaeaea !important;
    border-radius: 14px !important;
    background: #fafafa !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Quantity Text Input */
.woocommerce div.product form.cart .quantity input.qty,
.woocommerce-cart table.cart .quantity input.qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #222 !important;
    background: transparent !important;
    transition: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart table.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart table.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.woocommerce div.product form.cart .quantity input.qty:focus,
.woocommerce-cart table.cart .quantity input.qty:focus {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Custom +/- Buttons injected by themes */
.woocommerce div.product form.cart .quantity .plus,
.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity input[type="button"],
.woocommerce-cart table.cart .quantity .plus,
.woocommerce-cart table.cart .quantity .minus,
.woocommerce-cart table.cart .quantity input[type="button"] {
    width: 40px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #777 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s, color 0.2s !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product form.cart .quantity .plus:hover,
.woocommerce div.product form.cart .quantity .minus:hover,
.woocommerce div.product form.cart .quantity input[type="button"]:hover,
.woocommerce-cart table.cart .quantity .plus:hover,
.woocommerce-cart table.cart .quantity .minus:hover,
.woocommerce-cart table.cart .quantity input[type="button"]:hover {
    background: #eaeaea !important;
    color: #111 !important;
}

@keyframes cartPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 97, 123, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(163, 97, 123, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(163, 97, 123, 0);
    }
}

/* Main Premium Add to Cart Button */
.woocommerce div.product form.cart .single_add_to_cart_button {
    flex-grow: 1 !important;
    height: 60px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #a3617b 0%, #d889a7 50%, #a3617b 100%) !important;
    background-size: 200% auto !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(163, 97, 123, 0.3) !important;
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    line-height: 1 !important;
    animation: cartPulse 2s infinite !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(163, 97, 123, 0.45), 0 0 0 5px rgba(163, 97, 123, 0.2) !important;
    background-position: right center !important;
    animation: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:active {
    transform: translateY(1px) !important;
    box-shadow: 0 5px 15px rgba(163, 97, 123, 0.3) !important;
}

/* Product Meta (Categories, SKU, etc) */
.woocommerce div.product .product_meta {
    margin-top: 40px !important;
    padding-top: 25px !important;
    border-top: 1px dashed #e0e0e0 !important;
    font-size: 14.5px !important;
    color: #777 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    font-weight: 500 !important;
}

.woocommerce div.product .product_meta a {
    color: #a3617b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.woocommerce div.product .product_meta a:hover {
    color: #8e5168 !important;
}

/* Tabs Panel Area */
.woocommerce div.product .woocommerce-tabs {
    flex: 1 1 100% !important;
    margin-top: 80px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 50px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #f5f5f5 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 40px !important;
    border-bottom: 2px solid #eaeaea !important;
    padding: 0 0 15px 0 !important;
    margin: 0 0 40px 0 !important;
    list-style: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #999 !important;
    text-decoration: none !important;
    position: relative !important;
    transition: color 0.3s ease !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #111 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {

    position: absolute !important;
    bottom: -17px !important;
    /* perfectly overlaps the border-bottom of the ul container */
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: #e91e63 !important;
    border-radius: 3px 3px 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    font-size: 16.5px !important;
    color: #444 !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 25px 0 !important;
    line-height: 1.3 !important;
}

/* Related Products Layout Fixes */
.woocommerce .related.products {
    flex: 1 1 100% !important;
    margin-top: 80px !important;
}

.woocommerce .related.products>h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

/* Out of Stock Single Page Adjustments */
.woocommerce div.product p.stock.out-of-stock {
    color: #e53935 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    background: #ffebee !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    margin-bottom: 25px !important;
}

/* Mobile Responsiveness for Single Product */
@media (max-width: 991px) {
    .woocommerce div.product {
        gap: 30px !important;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .woocommerce div.product .product_title {
        font-size: 32px !important;
    }

    .woocommerce div.product .woocommerce-tabs {
        padding: 30px !important;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }

    .woocommerce div.product form.cart div.quantity {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: space-between !important;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .woocommerce div.product form.cart div.quantity input.qty {
        flex-grow: 1 !important;
    }

    .woocommerce div.product form.cart .quantity .plus,
    .woocommerce div.product form.cart .quantity .minus,
    .woocommerce div.product form.cart .quantity input[type="button"] {
        width: 60px !important;
    }
}

/* /* ==========================================================
   ====== WOOCOMMERCE PREMIUM CART & MINI-CART REDESIGN ======
   ========================================================== */

/* 1. MINI CART MODAL (Aesthetics Only) */
.widget_shopping_cart_content,
.elementor-menu-cart__container {
    background: #fff !important;
    border: none !important;
    border-radius: 20px 0 0 20px !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08) !important;
}

/* Ensure Elementor & Woo Cart List lines are clean */
.woocommerce ul.cart_list li,
.woocommerce ul.cart_list li,
.woocommerce.widget_shopping_cart .cart_list li,
.woocommerce .widget_shopping_cart .cart_list li,
.woocommerce ul.product_list_widget li,
.elementor-menu-cart__product {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

.woocommerce ul.cart_list li:last-child,
.elementor-menu-cart__product:last-child {
    border-bottom: none !important;
}

/* Thumbnail Curves & Flex Alignment */
.woocommerce ul.cart_list li>a:not(.remove) {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-grow: 1 !important;
    margin: 0 !important;
}

.elementor-menu-cart__product-image {
    order: 1 !important;
    flex-shrink: 0 !important;
}

.elementor-menu-cart__product-name {
    order: 2 !important;
    flex-grow: 1 !important;
}

.elementor-menu-cart__product-price {
    order: 3 !important;
    white-space: nowrap !important;
    padding: 0 !important;
}

.elementor-menu-cart__product-remove {
    order: 4 !important;
    flex-shrink: 0 !important;
}

.woocommerce ul.cart_list li .quantity {
    white-space: nowrap !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-block !important;
    text-align: right !important;
}

.woocommerce ul.cart_list li img,
.elementor-menu-cart__product-image img {
    width: 60px !important;
    height: 60px !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
    float: none !important;
}

/* Red "Remove" Icon (Cross) */
.woocommerce ul.cart_list li a.remove,
.elementor-menu-cart__product-remove a,
.woocommerce table.cart a.remove {
    background: #ffeeef !important;
    color: #ff4757 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s ease !important;
    order: 3 !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
}

.woocommerce ul.cart_list li a.remove:hover,
.elementor-menu-cart__product-remove a:hover,
.woocommerce table.cart a.remove:hover {
    background: #ff4757 !important;
    color: #fff !important;
}

/* Title colors */
.woocommerce ul.cart_list li a:not(.remove),
.elementor-menu-cart__product-name a {
    font-weight: 700 !important;
    color: #333 !important;
    text-decoration: none !important;
}

.woocommerce ul.cart_list li a:not(.remove):hover,
.elementor-menu-cart__product-name a:hover {
    color: #92536b !important;
}

/* Prices */
.woocommerce ul.cart_list li .quantity .amount,
.elementor-menu-cart__product-price .amount,
.woocommerce.widget_shopping_cart .total .amount,
.elementor-menu-cart__subtotal .amount {
    font-weight: 700 !important;
    color: #92536b !important;
}

/* Action Buttons Container (Ensure stacking instead of squishing) */
.woocommerce.widget_shopping_cart .buttons,
.elementor-menu-cart__footer-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* Generic Action Button Shape */
.woocommerce.widget_shopping_cart .buttons .button,
.elementor-menu-cart__footer-buttons .elementor-button {
    text-align: center !important;
    padding: 15px 10px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
}

/* Secondary Button ("View Cart") */
.woocommerce.widget_shopping_cart .buttons .button:not(.checkout),
.elementor-menu-cart__footer-buttons .elementor-button:not(.elementor-button--checkout) {
    background: #f5f5f5 !important;
    color: #333 !important;
    box-shadow: none !important;
}

.woocommerce.widget_shopping_cart .buttons .button:not(.checkout):hover,
.elementor-menu-cart__footer-buttons .elementor-button:not(.elementor-button--checkout):hover {
    background: #e0e0e0 !important;
    color: #111 !important;
}

/* Primary Button ("Checkout") Brand Colors */
.woocommerce.widget_shopping_cart .buttons .button.checkout,
.woocommerce .cart-collaterals .checkout-button,
.elementor-menu-cart__footer-buttons .elementor-button--checkout {
    background: linear-gradient(135deg, #a3617b 0%, #d889a7 50%, #a3617b 100%) !important;
    background-size: 200% auto !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(163, 97, 123, 0.3) !important;
    transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
    border: none !important;
}

.woocommerce.widget_shopping_cart .buttons .button.checkout:hover,
.woocommerce .cart-collaterals .checkout-button:hover,
.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background-position: right center !important;
    box-shadow: 0 10px 25px rgba(163, 97, 123, 0.4) !important;
    transform: translateY(-2px) !important;
}


/* ==========================================================
   ====== 2. MAIN CART PAGE (/cart/) (Aesthetics Only) ======
   ========================================================== */

/* Cart Main Blocks Backgrounds */
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.elementor-widget-woocommerce-cart .elementor-widget-container>div {
    background: #fff !important;
    border-radius: 24px 0px 0px 24px !important;
    padding: 35px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

@media (max-width: 767px) {

    .woocommerce-cart form.woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals .cart_totals {
        padding: 20px !important;
    }

    /* Remove WooCommerce native table mobile shadows/blocks */
    .woocommerce table.shop_table_responsive tr,
    .woocommerce table.shop_table_responsive td,
    .woocommerce-cart .cart-collaterals .cart_totals table tr,
    .woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal, .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 15px 0 !important; width: 100% !important; border-bottom: 1px solid #f2f2f2 !important; } .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total { border-bottom: none !important; } .woocommerce-cart .cart-collaterals .cart_totals table th { display: block !important; font-size: 16px !important; font-weight: 600 !important; color: #555 !important; padding: 0 !important; margin: 0 !important; text-align: left !important; width: auto !important; border: none !important; } .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th { font-weight: 800 !important; color: #111 !important; } .woocommerce-cart .cart-collaterals .cart_totals table td { display: flex !important; align-items: center !important; justify-content: flex-end !important; width: auto !important; padding: 0 !important; margin: 0 !important; text-align: right !important; border: none !important; }
}

@media (min-width: 992px) {

    /* Flush right side edge of screen cart totals container */
    .woocommerce-cart .cart-collaterals .cart_totals {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }
}

/* Cart Table Borders */
.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border: none !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

.woocommerce table.cart td.product-price,
.woocommerce table.cart th.product-price {
    display: none !important;
}

.woocommerce table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-cart table.cart th {
    display: none !important;
}

/* Minimalist Cart Elements Override */
.woocommerce-cart table.cart div.quantity {
    height: 38px !important;
    max-width: 100px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    background: transparent !important;
}

.woocommerce-cart table.cart .quantity input.qty {
    width: 36px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.woocommerce-cart table.cart .quantity .plus,
.woocommerce-cart table.cart .quantity .minus,
.woocommerce-cart table.cart .quantity input[type="button"] {
    width: 32px !important;
    font-size: 16px !important;
}

/* Cart Page Images */
.woocommerce table.cart img {
    border-radius: 8px !important;
    box-shadow: none !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
}

/* Main Checkout Big Button */
.woocommerce .cart-collaterals .checkout-button {
    border-radius: 12px !important;
    height: 60px !important;
    line-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    margin-top: 25px !important;
}

/* Coupon block minimalist */
.woocommerce table.cart td.actions .coupon .input-text {
    border-radius: 8px !important;
    border: 1px solid #eee !important;
    padding: 0 15px !important;
    height: 48px !important;
    font-size: 15px !important;
    background: transparent !important;
}

.woocommerce table.cart td.actions .button,
.woocommerce table.cart td.actions .coupon .button {
    border-radius: 8px !important;
    height: 48px !important;
    padding: 0 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: transparent !important;
    color: #555 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

.woocommerce table.cart td.actions .button:hover {
    background: #f5f5f5 !important;
    color: #111 !important;
    border-color: #ccc !important;
}
/* ==========================================================
   ====== 4. CART TOTALS REDESIGN (USER REQUEST) ===========
   ========================================================== */



.woocommerce-cart .cart-collaterals .cart_totals table tr.cart-subtotal, .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total { display: flex !important; align-items: center !important; justify-content: space-between !important; padding: 15px 0 !important; width: 100% !important; border-bottom: 1px solid #f2f2f2 !important; } .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total { border-bottom: none !important; } .woocommerce-cart .cart-collaterals .cart_totals table th { display: block !important; font-size: 16px !important; font-weight: 600 !important; color: #555 !important; padding: 0 !important; margin: 0 !important; text-align: left !important; width: auto !important; border: none !important; } .woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th { font-weight: 800 !important; color: #111 !important; } .woocommerce-cart .cart-collaterals .cart_totals table td { display: flex !important; align-items: center !important; justify-content: flex-end !important; width: auto !important; padding: 0 !important; margin: 0 !important; text-align: right !important; border: none !important; }





/* Ensure QTY text shrinks gracefully if needed */
.cvetochka-cart-qty {
    margin-right: 15px !important;
    color: #888 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

/* Ensure right alignment on main cart table item subtotals (Screenshot 1 fix) */
.woocommerce-cart table.cart td.product-subtotal,
.woocommerce-cart table.cart th.product-subtotal {
    text-align: right !important;
}

/* ==========================================================
   ====== 6. CART SAVINGS DISPLAY ===========================
   ========================================================== */
.woocommerce-cart table.cart td.product-subtotal del,
.cart_totals table td .amount del {
    display: inline-block !important;
    font-size: 14px !important;
    color: #999 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
}

.woocommerce-cart table.cart td.product-subtotal ins,
.cart_totals table td .amount ins {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #a3617b !important;
}

/* Specific styling for the badge in the cart row */
.woocommerce-cart table.cart td.product-subtotal .cart-item-badge {
    position: static !important;
    display: inline-block !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    animation: none !important;
    box-shadow: none !important;
}

/* ==========================================================
   ====== 8. OPTIMIZED SEO TEXT ACCORDION ELEMENT ===========
   ========================================================== */
.cvetochka-seo-block {
    position: relative;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.cvetochka-seo-content {
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.cvetochka-seo-fade {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cvetochka-seo-block.expanded .cvetochka-seo-fade {
    opacity: 0;
}

.cvetochka-seo-toggle {
    display: inline-block;
    margin: 15px auto 0;
    background: transparent;
    border: none;
    color: #a3617b;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.3s;
}

.cvetochka-seo-toggle:hover {
    color: #8e5168;
    text-decoration: underline;
}

/* Hide shipping totals on Cart page (shipping is calculated on Checkout) */
.woocommerce-cart .cart-collaterals .cart_totals table tr.shipping {
    display: none !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr.shipping td {
    display: none !important;
}

.cvetochka-seo-content h2, 
.cvetochka-seo-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #111;
}

.cvetochka-seo-content p {
    margin-bottom: 15px;
}

.cvetochka-seo-content ul {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 15px;
}

.cvetochka-seo-content li {
    margin-bottom: 8px;
}


/* ==========================================================
   ====== 9. PRODUCT GRID ALIGNMENT FIXES ===================
   ========================================================== */
.woocommerce ul.products li.product:not(.product-category) {
    background: #ffffff !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 16px !important;
    padding: 0 0 20px 0 !important;
    text-align: left !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    margin-bottom: 25px !important;
    height: 100% !important;
}

.woocommerce ul.products li.product:not(.product-category) > a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 0 !important;
    width: 100% !important;
}




/* Make sure related products container respects standard grid geometry */
.woocommerce .related ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.woocommerce .related ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}



@media (max-width: 1024px) {
    .woocommerce .related ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce .related ul.products {
        grid-template-columns: 1fr !important; /* 1 column on mobile */
        gap: 15px !important;
    }
    
    /* Main loop side-by-side gap fix on mobile */
    .woocommerce ul.products:not(.related) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Categories get 2 in a row */
        gap: 15px !important;
        padding: 0 10px !important;
    }
    
    /* Force products (but NOT categories) to span full width (1 per row) */
    .woocommerce ul.products:not(.related) li.product:not(.product-category) {
        grid-column: span 2 !important;
    }
    
    .woocommerce ul.products li.product {
        margin-bottom: 0 !important; /* Grid gap handles spacing */
        width: 100% !important;
    }
    
    /* Mobile specific overrides for Price Colors */
    body .woocommerce ul.products li.product:not(.product-category) .price,
    body .woocommerce ul.products li.product:not(.product-category) .price ins,
    body .woocommerce ul.products li.product:not(.product-category) .price ins .amount,
    body .woocommerce ul.products li.product:not(.product-category) .price > .amount,
    body .woocommerce ul.products li.product:not(.product-category) .price > bdi,
    body .woocommerce-Price-amount {
        color: #111111 !important;
    }
    
    body .woocommerce ul.products li.product:not(.product-category) .price del,
    body .woocommerce ul.products li.product:not(.product-category) .price del .amount,
    body .woocommerce ul.products li.product:not(.product-category) .price del bdi {
        color: #999999 !important;
    }

    /* Mobile Title color */
    body .woocommerce ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
        color: #ff69b4 !important;
    }

    /* Protect single product sale price from mobile #111 overrides */
    body.single-product .woocommerce div.product p.price ins,
    body.single-product .woocommerce div.product span.price ins,
    body.single-product .woocommerce div.product p.price ins .amount,
    body.single-product .woocommerce div.product span.price ins .amount,
    body.single-product .woocommerce-Price-amount {
        color: #ff69b4 !important;
    }
    
    body.single-product .woocommerce div.product p.price del,
    body.single-product .woocommerce div.product span.price del,
    body.single-product .woocommerce div.product p.price del .amount,
    body.single-product .woocommerce div.product span.price del .amount,
    body.single-product .woocommerce div.product span.price del bdi {
        color: #999999 !important;
        text-shadow: none !important;
    }

    /* =========================================================
       Cart Form & Cart Totals Mobile Adaptations
       ========================================================= */

    /* Hide standard cart headers on mobile */
    .woocommerce-cart table.cart thead {
        display: none !important;
    }

    /* Remove box-shadow and lines from all problematic table rows */
    .woocommerce-cart table.cart tr.cart-subtotal,
    .woocommerce .cart-collaterals .shop_table tr.cart-subtotal,
    .woocommerce-cart table.shop_table tr,
    .woocommerce .cart-collaterals .shop_table tr {
        box-shadow: none !important;
        border-bottom: none !important;
        display: block !important;
        padding: 5px 0 !important;
    }

    /* Product Row Grid Layout for Mobile */
    .woocommerce-cart table.cart tr.woocommerce-cart-form__cart-item,
    .elementor-widget-woocommerce-cart table.cart tr.woocommerce-cart-form__cart-item {
        display: grid !important;
        grid-template-columns: 100px 1fr !important;
        grid-template-rows: auto auto !important;
        grid-template-areas: 
            "thumb name"
            "qty subtotal" !important;
        gap: 15px 10px !important;
        align-items: center !important;
        padding: 20px 0 !important;
        border-bottom: 1px solid #eee !important;
        position: relative !important;
    }

    .woocommerce-cart table.cart td.product-thumbnail,
    .elementor-widget-woocommerce-cart table.cart td.product-thumbnail { 
        grid-area: thumb !important; 
        width: 100% !important; 
        padding: 0 !important; 
        border: none !important;
    }
    .woocommerce-cart table.cart td.product-thumbnail img { 
        width: 100% !important; 
        height: auto !important; 
        border-radius: 8px !important; 
    }
    
    .woocommerce-cart table.cart td.product-name,
    .elementor-widget-woocommerce-cart table.cart td.product-name { 
        grid-area: name !important; 
        text-align: left !important; 
        padding: 0 35px 0 0 !important; /* Leave room for absolute cross */
        border: none !important;
        font-weight: 700 !important;
        font-size: 15px !important;
    }
    
    .woocommerce-cart table.cart td.product-quantity,
    .elementor-widget-woocommerce-cart table.cart td.product-quantity { 
        grid-area: qty !important; 
        padding: 0 !important; 
        border: none !important;
        min-width: 0 !important; /* Force bypass of standard WooCommerce width */
    }
    
    .woocommerce-cart table.cart td.product-price,
    .elementor-widget-woocommerce-cart table.cart td.product-price { 
        display: none !important;
    }
    
    .woocommerce-cart table.cart td.product-subtotal,
    .elementor-widget-woocommerce-cart table.cart td.product-subtotal { 
        grid-area: subtotal !important; 
        text-align: right !important; 
        padding: 0 !important; 
        font-weight: 800 !important; /* Thick final price */
        color: #111 !important; 
        font-size: 16px !important;
        border: none !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .woocommerce-cart table.cart td.product-remove,
    .elementor-widget-woocommerce-cart table.cart td.product-remove { 
        position: absolute !important;
        top: 20px !important;
        right: 0 !important;
        text-align: right !important; 
        padding: 0 !important; 
        width: 35px !important;
        border: none !important;
    }
    
    .woocommerce-cart table.cart td.product-remove a.remove,
    .elementor-widget-woocommerce-cart table.cart td.product-remove a.remove {
        color: #999 !important;
        font-weight: 300 !important;
        font-size: 24px !important;
        margin: 0 !important;
        display: inline-block !important;
        line-height: 1 !important;
    }

    /* Hide the annoying labels WooCommerce injects on mobile! */
    .woocommerce-cart table.cart td.product-name::before,
    .woocommerce-cart table.cart td.product-price::before,
    .woocommerce-cart table.cart td.product-quantity::before,
    .woocommerce-cart table.cart td.product-subtotal::before,
    .elementor-widget-woocommerce-cart table.cart td::before {
        display: none !important;
    }



    /* Enforce strict vertical stacking for all cart action forms */
    form.woocommerce-cart-form .actions,
    .elementor-widget-woocommerce-cart .actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 0 20px 0 !important;
    }

    /* Fix Coupon form mobile horizontal alignment */
    form.woocommerce-cart-form .actions .coupon,
    .elementor-widget-woocommerce-cart .actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 15px !important;
        border: none !important;
        border-radius: 0 !important;
        margin-bottom: 25px !important;
        align-items: stretch !important;
    }

    form.woocommerce-cart-form .actions .coupon input.input-text,
    .elementor-widget-woocommerce-cart .actions .coupon input.input-text {
        width: 100% !important;
        border: 1px solid #ddd !important;
        text-align: left !important;
        padding: 0 15px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        min-height: 48px !important;
        height: auto !important;
    }
    
    form.woocommerce-cart-form .actions .coupon button.button,
    .elementor-widget-woocommerce-cart .actions .coupon button.button {
        width: 100% !important;
        background: #ef3e64 !important;
        color: #fff !important;
        border-radius: 8px !important;
        padding: 0 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        min-height: 48px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-transform: uppercase !important;
    }
    
    /* Update Cart Button wrapper */
    form.woocommerce-cart-form .actions > button.button,
    button[name="update_cart"] {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        text-align: center !important;
        display: block !important;
        padding: 15px !important;
        border-radius: 8px !important;
        background: #f5f5f5 !important;
        color: #333 !important;
    }

    /* =========================================================
       Checkout Order Review Table Mobile Adaptations
       ========================================================= */

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #eee !important;
        box-shadow: none !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td {
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        flex: 1 !important;
        border: none !important;
        padding: 0 !important;
        color: #555 !important;
        font-size: 14px !important;
    }

    /* Hide injected unit prices inside product-name on checkout block */
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .amount,
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name del,
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name ins,
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .cvetochka-cart-discount-badge {
        display: none !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .product-thumbnail {
        width: 50px !important; /* Smaller image as per screenshot */
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name .product-thumbnail img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name strong.product-quantity {
        font-weight: 500 !important;
        font-size: 14px !important;
        color: #888 !important;
        margin-left: auto !important; /* Pushes Qty right */
        padding-right: 15px !important;
        white-space: nowrap !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-total {
        font-weight: 800 !important;
        color: #79ba59 !important; /* Green exactly matches screenshot 1 Item Price */
        font-size: 15px !important;
        text-align: right !important;
        min-width: 70px !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-total del {
        display: none !important; /* Hide old checkout price per user request */
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-total ins {
        display: inline-block !important;
        text-decoration: none !important;
        font-weight: 800 !important;
        color: #79ba59 !important; /* Extracted green match */
        margin: 0 !important;
    }

    /* Cart Totals Aesthetics - Center Spread */
    .woocommerce table.shop_table tr.cart-subtotal th,
    .woocommerce table.shop_table tr.order-total th,
    .woocommerce table.shop_table tr.fee th,
    .woocommerce table.shop_table tr.shipping th,
    .woocommerce table.shop_table tr.cart-discount th,
    .woocommerce-cart .cart-collaterals .shop_table th,
    .elementor-widget-woocommerce-cart .shop_table th {
        display: none !important; 
    }
    
    .woocommerce table.shop_table tr.cart-subtotal td,
    .woocommerce table.shop_table tr.order-total td,
    .woocommerce table.shop_table tr.fee td,
    .woocommerce table.shop_table tr.shipping td,
    .woocommerce table.shop_table tr.cart-discount td,
    .woocommerce-cart .cart-collaterals .shop_table td,
    .elementor-widget-woocommerce-cart .shop_table td {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        text-align: left !important;
        padding: 12px 0 !important;
        border: none !important;
        gap: 15px !important;
    }

    /* Polish the pseudo-element label injected by WooCommerce */
    .woocommerce table.shop_table tr.cart-subtotal td::before,
    .woocommerce table.shop_table tr.order-total td::before,
    .woocommerce table.shop_table tr.fee td::before,
    .woocommerce table.shop_table tr.shipping td::before,
    .woocommerce table.shop_table tr.cart-discount td::before,
    .woocommerce-cart .cart-collaterals .shop_table td::before,
    .elementor-widget-woocommerce-cart .shop_table td::before {
        display: block !important;
        flex: 1 1 auto !important;
        text-align: left !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        color: #b09ba6 !important; /* Title color matching screenshot */
        text-transform: none !important;
        letter-spacing: 0 !important;
        margin: 0 !important;
    }

    /* Price and Quantity text */
    .woocommerce table.shop_table td .cvetochka-cart-qty,
    .elementor-widget-woocommerce-cart .shop_table td .cvetochka-cart-qty {
        flex: 0 0 auto !important;
        text-align: center !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #888 !important;
        min-width: 45px !important;
    }

    .woocommerce table.shop_table td .amount,
    .elementor-widget-woocommerce-cart .shop_table td .amount {
        flex: 0 0 auto !important;
        text-align: right !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #79ba59 !important; /* Green matching screenshot */
        min-width: 75px !important;
    }

    /* Grand Total specific styling */
    .woocommerce table.shop_table tr.order-total td::before {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #b09ba6 !important;
    }

    .woocommerce table.shop_table tr.order-total td .amount {
        font-size: 16px !important;
        color: #79ba59 !important;
    }
}

    /* Target specific totals table shipping value to make it Pink via Screenshot 1 */
    .woocommerce table.shop_table tr.shipping td .amount,
    .elementor-widget-woocommerce-cart .shop_table tr.shipping td .amount {
        color: #fca7b9 !important;
    }

/* Force both main and hover images exactly 100%x100% within the container to eliminate gaps */
.woocommerce ul.products li.product:not(.product-category) .kadence-loop-image-area img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 16px 16px 0 0 !important;
}

/* Universal Cart Discount Badge (Applies to both PC and Mobile) */
.cvetochka-cart-discount-badge {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    background-color: #f03e65 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    z-index: 10 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 10px rgba(240, 62, 101, 0.3) !important;
}

/* PC Cart Thumbnail Size Increase */
@media (min-width: 769px) {
    .woocommerce html .woocommerce-cart table.cart td.product-thumbnail,
    .elementor-widget-woocommerce-cart table.cart td.product-thumbnail {
        width: 120px !important;
    }
    
    .woocommerce-cart table.cart td.product-thumbnail img,
    .elementor-widget-woocommerce-cart table.cart td.product-thumbnail img {
        width: 100px !important;
        max-width: 100px !important;
        height: auto !important;
        border-radius: 8px !important;
    }
}
