
:root {
    --primary-color: #ec4899;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --muted-text: #6c757d;
    --bs-primary-bg-subtle: #ec489929;
}


/* Global */
.woocommerce .container {
    max-width: 1200px;
}

/* Product cards */
.wedding-product-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* Product page */

/* Cart / Checkout */
.woocommerce-cart-wrapper,
.woocommerce-checkout-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* =========================
   SHOP – MARRYLIN THEME
========================= */

/* Product grid */
/* .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
    margin: 0;
    padding: 0;
} */

/* Product card */
/* .woocommerce ul.products li.product {
    background: #ffffff;
    border: var(--bs-border-width) solid var(--bs-border-color);
    box-shadow: var(--bs-box-shadow-sm)!important;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
} */

/* Product image */
.woocommerce ul.products li.product img {
    border-radius: 15px;
    margin-bottom: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* Title */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

/* Price */
.woocommerce ul.products li.product .price {
    color: #d6a037; /* your gold tone */
    font-weight: 600;
    margin-bottom: 15px;
}

/* Add to cart button – THE IMPORTANT PART */
.woocommerce ul.products li.product .button , .woocommerce .added_to_cart.wc-forward, .woocommerce div.product form.cart .button, .woocommerce .single-product .button.wc-forward{
    background: #f04c9b;
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: background .2s ease, transform .2s ease;
    line-height: 1.4;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    text-align: center;
}
.woocommerce ul.products li.product .button{
    margin-bottom: 10px;
}
.woocommerce ul.products li.product .button:hover {
    background: #d83f89;
    transform: translateY(-1px);
}

/* Card content spacing */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 10px !important;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
/* Price spacing */
.woocommerce ul.products li.product .price {
    margin-bottom: 14px;
}

/* Title spacing */
.woocommerce ul.products li.product h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; 
    height: 55px;
    margin-bottom: 10px;
}
.woocommerce .woocommerce-ordering select {
    border-radius: 15px;
    height: 45px;
    padding: 0px 10px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
    left: 0.5em !important;
    top: 1.5em !important;
}
.woocommerce ul.woocommerce-error li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}



/* Tablet */
@media (max-width: 992px) {
    .woocommerce ul.products {
        gap: 28px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce ul.products li.product {
        padding: 16px;
        width: 100% !important;
    }

    .woocommerce ul.products li.product .button {
        width: 100%;
    }
}




/* =========================
   SINGLE PRODUCT – FIXED
========================= */

.single-product-page .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Image */
.single-product-page .woocommerce-product-gallery img {
    border-radius: 15px;
    width: 100%;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

/* Summary */
.single-product-page .summary {
    padding: 0;
}

/* Title */
.single-product-page .product_title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Price */
.single-product-page .price {
    color: #d6a037;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Add to cart */
.single-product-page .single_add_to_cart_button {
    background: #f04c9b;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    border: none;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

/* Similar products */
.single-product .related.products{
    display: none;
}


/* Mobile */
@media (max-width: 768px) {
    .single-product-page .product {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-product-page .single_add_to_cart_button {
        width: 100%;
    }
}

/* HARD STOP: hide sidebar on WooCommerce pages */
.woocommerce aside, .woocommerce #sidebar,
.woocommerce .sidebar,
.single-product aside,
.single-product .sidebar {
    display: none !important;
}

/* Force content full width */
.woocommerce .site-main,
.single-product .site-main {
    width: 100% !important;
    max-width: 100% !important;
}

/* Force Bootstrap column to full width on Woo product page */
.single-product .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Remove the sidebar column completely */
.single-product .col-lg-4 {
    display: none !important;
}

.single-product .summary .product_meta {
    font-weight: bold;
}
.single-product .summary .product_meta span a {
    font-weight: 400;
}

.single-product .woocommerce div.product form.cart{
    display: flex;
    align-items: center;
}

/* =========================
   CART PAGE – MARRYLIN
========================= */
.wc-block-cart__submit-container {
    background-color: var(--secondary-color);
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.wc-block-components-sidebar .wc-block-components-totals-coupon__content .wc-block-components-button{
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.wp-block-woocommerce-checkout .wc-block-components-button{
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
}


/* =========================
   CHECKOUT PAGE – MARRYLIN
========================= */
/* Hide first payment method only */
.wc-block-components-radio-control-accordion-option:first-child {
    display: none !important;
}
