.product-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 60px auto;
}

.product-gallery img {
    width: 100%;
    border-radius: 12px;
}

.product-summary h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 16px;
    border: 0;
    cursor: pointer;
}

.products {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.product-card {
    list-style: none;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
}

.product-card img {
    width: 100%;
}

.product-card h2 {
    font-size: 18px;
    margin: 15px 0;
}

.cart-content {
    position: fixed;
    top: 0;
    right: -420px;
    max-width: 420px;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: all 0.35s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

.cart-content.active {
    right: 0;
}

/* Header feel (optional) */
.cart-content::before {
    content: "Your Cart";
    font-size: 20px;
    font-weight: 600;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

/* CART LIST */
.woocommerce-mini-cart {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    list-style: none;
    margin: 0;
}

/* ITEM CARD */
.woocommerce-mini-cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #fafafa;
    position: relative;
    transition: 0.3s;
}

.woocommerce-mini-cart-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* REMOVE BUTTON */
.remove_from_cart_button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background: var(--maroon);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 14px;
    text-decoration: none;
}
.remove.remove_from_cart_button{
    color: #fff !important;
}
.woocommerce-mini-cart__empty-message {
    padding: 20px 0 0 20px !important;
}

.close-cart {
    display: flex;
    justify-content: flex-end;
    font-size: 25px;
    position: absolute;
    right: 20px;
}

.close-cart a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 24px;
    text-decoration: none;
    color: #222;
    border-radius: 50%;
    background: #f5f5f5;
}

.close-cart a:hover {
    background: #111;
    color: #fff;
}
/* PRODUCT IMAGE */
.woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
}

/* PRODUCT NAME */
.woocommerce-mini-cart-item a {
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.woocommerce-mini-cart-item a:hover {
    color: #0073aa;
}

/* QUANTITY + PRICE */
.quantity {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

/* SUBTOTAL */
.woocommerce-mini-cart__total {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
}

/* BUTTONS */
.woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.woocommerce-mini-cart__buttons a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* VIEW CART */
.wc-forward {
    background: #f1f1f1;
    color: #333;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    background: rgb(255, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9998;
}

.cart-content.active .cart-overlay {
    opacity: 1;
    visibility: visible;
}


#order_review {
    position: sticky;
    top: 100px;
}

.cart-drawer {
    position: absolute;
    right: 200px;
}
button.cart-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sec-content {
    padding: 70px 0;
    background: #fff;
}

.is-medium table.wc-block-cart-items .wc-block-cart-items__row,.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,.is-small table.wc-block-cart-items .wc-block-cart-items__row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}










/* ===========================
   Cart Page
=========================== */

.wp-block-woocommerce-cart {
    padding: 0 20px;
}


/* ===========================
   Products Table
=========================== */

.wc-block-cart-items {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.wc-block-cart-items thead {
    background: #f8f8f8;
}

.wc-block-cart-items th {
    padding: 22px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #555;
    font-weight: 600;
}

.wc-block-cart-items__row {
    border-bottom: 1px solid #eee;
}

.wc-block-cart-items td {
    padding: 28px 22px;
    vertical-align: middle;
}

/* ===========================
   Product Image
=========================== */

.wc-block-cart-item__image img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

/* ===========================
   Product Name
=========================== */

.wc-block-components-product-name {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.wc-block-components-product-name:hover {
    color: #b28b52;
}

/* ===========================
   Price
=========================== */

.wc-block-cart-item__prices {
    margin: 12px 0;
}

.wc-block-components-product-price__value {
    font-size: 18px;
    font-weight: 700;
}

.wc-block-components-product-price del {
    color: #999;
    margin-right: 10px;
}

/* ===========================
   Quantity
=========================== */

.wc-block-components-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.wc-block-components-quantity-selector input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 16px;
}

.wc-block-components-quantity-selector__button {
    width: 42px;
    height: 42px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: .3s;
}

.wc-block-components-quantity-selector__button:hover {
    background: #111;
    color: #fff;
}

/* ===========================
   Remove Button
=========================== */

.wc-block-cart-item__remove-link {
    margin-top: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: .3s;
}

.wc-block-cart-item__remove-link:hover {
    color: #d63638;
}

/* ===========================
   Cart Total Card
=========================== */

.wc-block-cart__sidebar {
    position: sticky;
    top: 40px;
}

.wp-block-woocommerce-cart-order-summary-block {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.wc-block-cart__totals-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.wc-block-components-totals-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.wc-block-components-totals-footer-item {
    border: none;
    padding-top: 25px;
}

.wc-block-components-totals-item__label {
    font-size: 17px;
    font-weight: 600;
}

.wc-block-components-totals-item__value {
    font-size: 24px;
    font-weight: 700;
}

/* ===========================
   Checkout Button
=========================== */

.wc-block-cart__submit-button {
    width: 100%;
    height: 58px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    transition: .3s;
}

.wc-block-cart__submit-button:hover {
    background: #b28b52;
}

/* ===========================
   Coupon
=========================== */

.wc-block-components-panel__button {
    padding: 18px 0;
    font-weight: 600;
    cursor: pointer;
}

.woocommerce-mini-cart-item a img {
  margin-bottom: 15px;
}
/* Checkout Button Wrapper */
.wc-block-cart__submit {
    margin-top: 30px;
}

.wc-block-cart__submit-container {
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
}

/* Checkout Button */
.wc-block-cart__submit-button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 60px;
    padding: 16px 24px;
    border: 2px solid #111;
    border-radius: 8px;
    background: #111 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

/* Text */
.wc-block-cart__submit-button .wc-block-components-button__text {
    color: inherit;
    font-weight: inherit;
}

/* Hover */
.wc-block-cart__submit-button:hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #111;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

/* Focus */
.wc-block-cart__submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.15);
}
.sec-single-product {
    padding: 110px 0 0;
}
.woocommerce-message{
    border-top-color: var(--maroon);
}
.woocommerce-message::before{color: var(--maroon);}
.woocommerce span.onsale{display: none;}
.woocommerce div.product .product_title{text-transform: capitalize;}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
    color: var(--black);
}
.woocommerce div.product form.cart .button{margin-top: 25px;}
.woocommerce-page ul.cart_list li img, .woocommerce-page ul.product_list_widget li img{float: none !important;}
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image{padding-left: 16px;}
table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
    padding: 0 25px;
}
.price{font-size: 22px;}
.wp-block-button__link:hover{color: white;}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
    background: var(--maroon);
    border-bottom-color: var(--maroon);
    color: #fff;
}
.woocommerce-order h2 {
    margin-bottom: 15px;
}
/* Mobile */
@media (max-width: 768px) {
    .wc-block-cart__submit-button {
        min-height: 54px;
        font-size: 15px;
    }
    .woocommerce ul.order_details {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .woocommerce ul.order_details li{border-right: none;}
    .woocommerce ul.order_details li strong{padding-top: 10px;}
}
@media (max-width: 787px) {
    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
        margin-top: 30px;
    }
}
/* ===========================
   Mobile
=========================== */

@media (max-width:991px){
    .sec-single-product {
        padding: 70px 0 0;
    }

    .wc-block-components-sidebar-layout{
        grid-template-columns:1fr;
    }

    .wc-block-cart__sidebar{
        position:static;
    }

    .wc-block-cart-item__image img{
        width:80px;
        height:80px;
    }

    .wc-block-components-product-name{
        font-size:18px;
    }
}

.related.products, div#tab-description > h2{
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    font-weight: 400;
}
