/*
Theme Name: Sliver Market

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
    display: none;
}

table.shop_table_responsive tbody th {
    display: none;
}

table.shop_table_responsive tr td {
    display: block;
    text-align: right;
    clear: both;
}

table.shop_table_responsive tr td::before {
    content: attr(data-title) ': ';
    float: left;
}

table.shop_table_responsive tr td.product-remove a {
    text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
    display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
    display: none;
}

table.shop_table_responsive tr td.download-actions .button {
    display: block;
    text-align: center;
}

@media screen and (min-width: 48em) {
    table.shop_table_responsive thead {
        display: table-header-group;
    }

    table.shop_table_responsive tbody th {
        display: table-cell;
    }

    table.shop_table_responsive tr th,
    table.shop_table_responsive tr td {
        text-align: left;
    }

    table.shop_table_responsive tr td {
        display: table-cell;
    }

    table.shop_table_responsive tr td::before {
        display: none;
    }
}

/**
 * Products
 */
ul.products {
    margin: 0;
    padding: 0;
}

ul.products li.product {
    list-style: none;
    position: relative;
    margin-bottom: 2em;
}

ul.products li.product img {
    display: block;
}

ul.products li.product .button {
    display: block;
}

@media screen and (min-width: 48em) {
    ul.products li.product {
        width: 30.79667%;
        float: left;
        margin-right: 3.8%;
    }

    ul.products li.product.first {
        clear: both;
    }

    ul.products li.product.last {
        margin-right: 0;
    }

    ul.products.columns-1 li.product {
        float: none;
        width: 100%;
    }

    ul.products.columns-2 li.product {
        width: 48.1%;
    }

    ul.products.columns-3 li.product {
        width: 30.79667%;
    }

    ul.products.columns-4 li.product {
        width: 22.15%;
    }

    ul.products.columns-5 li.product {
        width: 16.96%;
    }

    ul.products.columns-6 li.product {
        width: 13.49333%;
    }
}

/**
 * Single product
 */
.single-product div.product {
    position: relative;
}

.single-product div.product .woocommerce-product-gallery {
    position: relative;
    float: left;
}



.single-product
    div.product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 2em;
    right: 1em;
    display: block;
    z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    margin: 0;
    padding: 0;
}

.single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs
    li {
    list-style: none;
    cursor: pointer;
    float: left;
}

.single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs
    li
    img {
    opacity: 0.5;
}

.single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs
    li
    img.flex-active {
    opacity: 1;
}

.single-product
    div.product
    .woocommerce-product-gallery
    .flex-control-thumbs
    li:hover
    img {
    opacity: 1;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-2
    .flex-control-thumbs
    li {
    width: 48.1%;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-2
    .flex-control-thumbs
    li:nth-child(2n) {
    margin-right: 0;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-2
    .flex-control-thumbs
    li:nth-child(2n + 1) {
    clear: both;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-3
    .flex-control-thumbs
    li {
    width: 30.79667%;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-3
    .flex-control-thumbs
    li:nth-child(3n) {
    margin-right: 0;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-3
    .flex-control-thumbs
    li:nth-child(3n + 1) {
    clear: both;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-4
    .flex-control-thumbs
    li {
    width: 22.15%;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-4
    .flex-control-thumbs
    li:nth-child(4n) {
    margin-right: 0;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-4
    .flex-control-thumbs
    li:nth-child(4n + 1) {
    clear: both;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-5
    .flex-control-thumbs
    li {
    width: 16.96%;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-5
    .flex-control-thumbs
    li:nth-child(5n) {
    margin-right: 0;
}

.single-product
    div.product
    .woocommerce-product-gallery.woocommerce-product-gallery--columns-5
    .flex-control-thumbs
    li:nth-child(5n + 1) {
    clear: both;
}

.stock:empty::before {
    display: none;
}

.stock.in-stock {
    color: #0f834d;
}

.stock.out-of-stock {
    color: #e2401c;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {
    .col2-set .form-row-first {
        float: left;
        margin-right: 3.8%;
    }

    .col2-set .form-row-last {
        float: right;
        margin-right: 0;
    }

    .col2-set .form-row-first,
    .col2-set .form-row-last {
        width: 48.1%;
    }
}

/**
 * General WooCommerce components
 */

/**
 * Header cart
 */
.site-header-cart {
    position: relative;
    margin: 0;
    padding: 0;
}

.site-header-cart .cart-contents {
    text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
    display: none;
}

.site-header-cart .product_list_widget {
    margin: 0;
    padding: 0;
}

/**
 * Star rating
 */
.star-rating {
    overflow: hidden;
    position: relative;
    height: 1.618em;
    line-height: 1.618;
    width: 5.3em;
    font-family: star;
    font-weight: 400;
}

.star-rating::before {
    content: '\53\53\53\53\53';
    opacity: 0.25;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: '\53\53\53\53\53';
    top: 0;
    position: absolute;
    left: 0;
    color: #4169e1;
}

p.stars a {
    position: relative;
    height: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
    margin-right: 1px;
    font-weight: 400;
}

p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-family: star;
    content: '\53';
    color: #404040;
    text-indent: 0;
    opacity: 0.25;
}

p.stars a:hover ~ a::before {
    content: '\53';
    color: #404040;
    opacity: 0.25;
}

p.stars:hover a::before {
    content: '\53';
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active::before {
    content: '\53';
    color: #4169e1;
    opacity: 1;
}

p.stars.selected a.active ~ a::before {
    content: '\53';
    color: #404040;
    opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
    content: '\53';
    color: #4169e1;
    opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.woocommerce-tabs ul.tabs li {
    display: block;
    margin: 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    padding: 1em 0;
    display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
    margin-bottom: 1em;
}

.ux-shipping-progress__bar {
    background: #d3d2d2;
    border-radius: 5px;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
    text-align: right;
}

.woocommerce-password-strength.strong {
    color: #0f834d;
}

.woocommerce-password-strength.short {
    color: #e2401c;
}

.woocommerce-password-strength.bad {
    color: #e2401c;
}

.woocommerce-password-strength.good {
    color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
    box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
    box-shadow: inset 2px 0 0 #e2401c;
}

.required {
    color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    background-color: #0f834d;
    clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
    background-color: #3d9cd2;
}

.woocommerce-error {
    background-color: #e2401c;
}

.demo_store {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    background-color: #3d9cd2;
    z-index: 9999;
}

@media screen and (min-width: 48em) {
    /**
	 * Header cart
	 */
    .site-header-cart .widget_shopping_cart {
        position: absolute;
        top: 100%;
        width: 100%;
        z-index: 999999;
        left: -999em;
        display: block;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    }

    .site-header-cart:hover .widget_shopping_cart,
    .site-header-cart.focus .widget_shopping_cart {
        left: 0;
        display: block;
    }
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
    margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
    text-align: right;
    line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
    float: left;
}

.widget_price_filter .ui-slider {
    position: relative;
    text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 1em;
    height: 1em;
    cursor: ew-resize;
    outline: none;
    background: #4169e1;
    box-sizing: border-box;
    margin-top: -0.25em;
    opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
    margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
    box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: 0;
    background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
    height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
    height: 100%;
}

/* (Removed Stripe-style checkout CSS; standalone page now owns checkout styles) */

/**
 * Cart Page Styling
 */

/* Cart layout */
.cart-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    margin-top: 20px;
}

.cart-layout__main {
    flex: 1 1 60%;
    min-width: 320px;
}

.cart-layout__aside {
    flex: 1 1 320px;
    max-width: 420px;
    position: relative;
}

@media (max-width: 991px) {
    .cart-layout {
        flex-direction: column;
    }

    .cart-layout__main,
    .cart-layout__aside {
        max-width: 100%;
    }

    .cart-layout__aside .cart-collaterals {
        position: static;
    }
}

/* Cart form */
.woocommerce-cart-form {
    margin-bottom: 30px;
    position: relative;
    transition: opacity 0.2s ease;
}

.woocommerce-cart-form.is-auto-updating {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce-cart-form.is-auto-updating::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    z-index: 1;
}

.woocommerce-cart-form.is-auto-updating::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #28a745;
    top: 50%;
    left: 50%;
    margin: -16px 0 0 -16px;
    z-index: 2;
    animation: cart-form-spinner 0.9s linear infinite;
}

@keyframes cart-form-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Cart items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-items__header {
    display: grid;
    grid-template-columns: 1fr 120px 160px 140px;
    gap: 16px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
}

.cart-items__header-cell--product {
    grid-column: 1 / span 1;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 40px 80px 1fr 120px 140px 130px;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    position: relative;
}

@media (min-width: 768px) {
    .cart-item-card {
        align-items: center;
    }
}

.cart-item-card__remove {
    align-self: center;
    text-align: center;
}

.cart-item-card__remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.cart-item-card__remove .remove:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-item-card__media img {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.cart-item-card__details {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
}

.cart-item-savings-row {
    display: block;
}

.cart-item-savings-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 2px;
    background: rgb(40, 167, 69);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* Product price */
.cart-item-card__price {
    text-align: right;
    font-weight: bold;
    color: #ff3030;
}

.cart_totals .cart-subtotal td {
    color: rgb(73, 80, 87) !important;
}

.cart-item-card__subtotal {
    text-align: right;
    font-weight: bold;
    color: #28a745;
}

.cart-item-card__subtotal .woocommerce-Price-amount {
    font-weight: bold !important;
}

.mobile-label {
    display: none;
    font-weight: 500;
    margin-right: 4px;
}

@media (max-width: 767px) {
    .mobile-label {
        display: inline;
    }
}

.quantity.buttons-added {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
}

.quantity.buttons-added button {
    width: 55px;
    height: 55px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity.buttons-added button:hover {
    background: #e9ecef;
    color: #212529;
}

.quantity.buttons-added button.minus {
    border-right: 1px solid #dee2e6;
}

.quantity.buttons-added button.plus {
    border-left: 1px solid #dee2e6;
}

.quantity.buttons-added input.qty {
    width: 50px;
    height: 35px;
    border: none;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    background: white;
}

.quantity.buttons-added input.qty:focus {
    outline: none;
    background: #f8f9fa;
}

/* Product subtotal */
.woocommerce-Price-amount {
    font-weight: 600;
}

.woocommerce-Price-currencySymbol {
    margin-right: 2px;
}

.cart-actions-row {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cart-actions-row .coupon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cart-actions-row .coupon input {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.cart-actions-row .button {
    padding: 8px 16px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cart-actions-row .button:hover {
    background: #005a87;
}

.cart-actions-row .button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.cart-recommendations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.cart-recommendations h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.cart-recommendations__slider {
    display: flex;
    gap: 20px;
}

.cart-payment-block {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
}

.cart-payment-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.cart-payment-heading i {
    font-size: 20px;
    color: #1fa67a;
}

.cart-payment-icons {
    border-top: 1px dashed #e0e0e0;
    padding-top: 16px;
}

.payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.payment-list__item {
    width: 48px;
    height: 30px;
}

.cart-global-slider-section {
    margin-top: 48px;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(15, 20, 40, 0.08);
}

.cart-global-slider-heading h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-global-slider .recommendation-card {
    height: 100%;
}

.cart-global-slider .recommendation-card__actions .button {
    border-radius: 30px;
}

.recommendation-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 20, 40, 0.08);
}

.recommendation-card__image {
    display: block;
    margin-bottom: 12px;
}

.recommendation-card__image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.recommendation-card__name {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}

.recommendation-card__name:hover {
    color: #007cba;
}

.recommendation-card__price {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.recommendation-card__actions {
    margin-top: 12px;
}

.recommendation-card__actions .button {
    width: 100%;
    text-align: center;
    background: #ff6b35 !important;
    border-radius: 10px;
}

.slick-slider .recommendation-card {
    box-shadow: none;
}

@media (max-width: 1024px) {
    .recommendation-card {
        padding: 14px;
    }
}

@media (max-width: 767px) {
    .cart-recommendations {
        margin-top: 30px;
    }
}

/* Cart collaterals (totals section) */
.cart-collaterals {
    width: 100%;
    margin-top: 0;
}

@media (max-width: 991px) {
    .cart-layout__main {
        order: 1;
    }

    .cart-layout__aside {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cart-items__header {
        display: none;
    }

    .cart-item-card {
        grid-template-columns: 80px 1fr 40px;
        grid-template-areas:
            'remove remove .'
            'media details details'
            'media price price'
            'media quantity quantity'
            'media subtotal subtotal';
        padding: 16px;
    }

    .cart-item-card__remove {
        grid-area: remove;
        align-self: center;
        text-align: left;
        padding-top: 8px;
    }

    .cart-item-card__media {
        grid-area: media;
    }

    .cart-item-card__details {
        grid-area: details;
    }

    .cart-item-card__price {
        grid-area: price;
        text-align: left;
        margin-top: 8px;
    }

    .cart-item-card__quantity {
        grid-area: quantity;
        margin-top: 12px;
    }

    .cart-item-card__subtotal {
        grid-area: subtotal;
        text-align: left;
        margin-top: 8px;
    }

    .cart-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-actions-row .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-actions-row .coupon input,
    .cart-actions-row .button {
        width: 100%;
    }
}

.cart_totals {
    width: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
}

.cart_totals h2 {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
}

.cart_totals .shop_table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals .shop_table tr {
    border-bottom: 1px solid #dee2e6;
}

.cart_totals .shop_table tr:last-child {
    border-bottom: none;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 12px 0;
    text-align: left;
}

.cart_totals .shop_table th {
    font-weight: 500;
    color: #495057;
    width: 50%;
}

.cart_totals .shop_table td {
    text-align: right;
    font-weight: 600;
    color: #28a745;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
    padding-top: 15px;
}

/* Shipping methods */
.woocommerce-shipping-methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-shipping-methods li {
    margin: 5px 0;
}

.woocommerce-shipping-methods label {
    font-weight: 500;
    color: #495057;
}

.woocommerce-shipping-destination {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

/* Proceed to checkout */
.wc-proceed-to-checkout {
    margin-top: 20px;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #28a745;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.checkout-button:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Screen reader text */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

.wc-block-components-product-metadata {
    display: none;
}

/* Cart Recommendations Responsive Visibility */
.cart-recommendations-desktop {
    display: block;
}
.cart-recommendations-mobile {
    display: none;
}

@media (max-width: 991px) {
    .cart-recommendations-desktop {
        display: none;
    }
    .cart-recommendations-mobile {
        display: block;
    }
}

/* Coupon Block in Summary */
.cart-coupon-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #dee2e6;
}

.cart-coupon-block .coupon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.cart-coupon-block .input-text {
    width: 80%;
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.cart-coupon-block .button {
    width: auto;
    padding: 14px 16px;
    justify-content: center;
    background: #007cba;
    color: white;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.cart-coupon-block .button:hover {
    background: #005a87;
}

.cart-coupon-notices {
    margin-top: 10px;
}

.cart-coupon-notices .woocommerce-error,
.cart-coupon-notices .woocommerce-message,
.cart-coupon-notices .woocommerce-info {
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 4px;
    font-size: 13px;
    list-style: none !important;
    width: 100%;
    box-sizing: border-box;
}

/* Hide icons if they mess up layout */
.cart-coupon-notices .woocommerce-error::before,
.cart-coupon-notices .woocommerce-message::before,
.cart-coupon-notices .woocommerce-info::before {
    display: none !important;
}

.cart-coupon-status {
    margin-top: 12px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 6px;
    padding: 12px;
}

.cart-coupon-status__label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.cart-coupon-status__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-coupon-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #e8f6ef;
    border: 1px solid #28a745;
    color: #1a1a1a;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.cart-coupon-status--empty {
    text-align: left;
    color: #6c757d;
}

.cart-coupon-status__empty-text {
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .cart-coupon-block .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-coupon-block .button,
    .cart-coupon-block .input-text {
        width: 100%;
    }
}

/* Related Products Separator */
.related-products-separator {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both;
    border: none !important;
    display: block !important;
}

.related-products-heading {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 0 20px;
    padding: 0;
}

/* Grid view - separator spans full width across all columns */
.products-list:not(.list-view) .related-products-separator {
    grid-column: 1 / -1;
    display: block !important;
}

/* List view - separator already full width by default */
.products-list.list-view .related-products-separator {
    display: block !important;
    width: 100% !important;
}
