.woocommerce ul.products li.product {
    border: 1px solid #ebebeb;
}

.woocommerce-js ul.products li.product a img, 
.woocommerce-page ul.products li.product a img {
    margin-bottom: 20px;
}

.woocommerce-js ul.products li.product .woocommerce-loop-product__title, 
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 24px;
}

.woocommerce ul.products .astra-shop-summary-wrap {
    padding-bottom: 15px; 
}

.woocommerce ul.products .astra-shop-summary-wrap .button {
    padding: 15px 30px;
    margin-top: 20px !important;
}

.woocommerce ul.products .astra-shop-summary-wrap .amount {
     font-size: 18px;
}


.woocommerce ul.products a.ast-on-card-button.ast-select-options-trigger,
.woocommerce .woocommerce-result-count, 
.woocommerce-page .woocommerce-result-count,
form.woocommerce-ordering,
.woocommerce-js div.product form.cart .reset_variations {
    display: none !important;
}

.term-description {
    font-size: 18px;
    line-height: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.term-description a {
    color: #f07e2d;
}

/* SINGLE PRODUCT */
.woocommerce .add-to-cart-message-custom {
    display: inline-block;
    margin-top: 8px;
}

.woocommerce-message::before {
    top: 24px;
}

.woocommerce-js div.product div.images.woocommerce-product-gallery .flex-viewport {
    border: 1px solid #ebebeb;
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: contain !important;
    object-position: center !important;
}

.woocommerce-product-gallery__image--placeholder img,
.flex-control-thumbs img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
}

.ast-woocommerce-container .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: contain !important;
}

.flex-control-thumbs li {
    width: 31.33% !important;
    margin-right: 3% !important;
    margin-bottom: 10px !important;
}

.flex-control-thumbs li:nth-child(3n) {
    margin-right: 0 !important;
}

.flex-control-thumbs li:nth-child(3n+1) {
    clear: left;
}

/* Keep your existing thumbnail image styles */
.flex-control-thumbs img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    object-position: center !important;
}

.single-product .rental-period-information {
    color: #f07e2d;
    margin-bottom: 15px;
}

.single-product > .summary > .price > .amount,
.woocommerce-js div.product p.price, 
.woocommerce-js div.product span.price {
    font-size: 34px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 20px;
}

.single-product .summary .woocommerce-variation-price .price .amount,
.single-product .product-type-variable .summary .price .amount,
.single-product .woocommerce-variation-price .price {
    border-bottom: 0px !important;
}

.single-product .woocommerce-product-details__short-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
}

.woocommerce-js div.product form.cart .variations select {
    margin-bottom: 20px;
}

.yith-wapo-block {
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 20px !important;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option {
    border-top: 1px solid #ebebeb;
    padding-top: 15px;
}

.yith-wapo-block .options-container select {
    margin-top: 15px;
}

.yith-wapo-block .yith-wapo-addon .yith-wapo-option:first-child {
    border-top: 0;
}

body .yith-wapo-block .yith-wapo-addon .yith-wapo-option .description {
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 0;
}

.woocommerce-js .quantity .qty {
    min-height: 46px;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    padding: 15px 20px;
}

.single-product .related.products > h2 {
    text-align: center;
    font-size: 32px;
    border-top: 1px solid #ebebeb;
    padding-top: 30px;
    margin-bottom: 30px;
}

.woocommerce-js .variations select, .woocommerce-js .woocommerce-ordering select {
    padding: 15px !important;
}


/*
 * MINI CART
 */
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block {
    display: none !important;
}

.wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #f07e2d;
}

.wc-block-mini-cart__drawer .wc-block-components-product-price {
    font-size: 16px;
}

.wc-block-mini-cart__drawer .wc-block-components-product-details__name {
    font-weight: 700;
}

.wc-block-mini-cart__drawer .wc-block-components-totals-item__description,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-cart-button-block {
    display: none !important;
}

/**
 * CART
 */
.woocommerce-checkout .entry-header {
    margin-top: 30px;
}

.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, 
.woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    display: none !important;
}


.ast-single-post.woocommerce-checkout .site-content {
    margin-bottom: 50px;
}

/** 
 * YITH QUOTE
 */
.ywraq-view-quote-wrapper h2 {
    margin-bottom: 0;
}

.ywraq-view-quote-wrapper p {
    margin: 10px 10px 10px 0;
}

body .ywraq-view-quote-wrapper table.shop_table.order_details {
    padding: 20px;
}

.ywraq-view-quote__order-status {
    display: none;
}

.ywraq-view-quote-wrapper table.shop_table.order_details,
.ywraq-additional-information > div, 
.ywraq-status-ywraq-new .ywraq-admin-message {
    border-radius: 0 !important;
}

.ywraq-view-quote-wrapper .product-name .product-name-item {
    flex: 1;
}

.ywraq-view-quote-wrapper .product-name .product-name-item .wc-item-meta {
    margin-left: 0 !important;
    font-style: italic;
}

/* HIDE PAYMENT METHOD YITH */
.ywraq-view-quote-wrapper .ywraq-view-quote-wrapper .span.product-name-item,
.ywraq-view-quote-wrapper table.shop_table.order_details tr:last-child {
    display: none !important;
}

.ywraq-status-ywraq-new .ywraq-admin-message {
    background: #f07e2d !important;
    color: #fff !important;
    font-size: 18px;
}

.ywraq-view-quote-wrapper {
    margin-bottom: 40px;
}

.raq_status.new {
    background: #f07e2d !important;
    color: #fff !important;
}

@media(max-width: 500px) {
    .ywraq-view-quote-wrapper h2 {
	margin-left: 10px;
    }

    body .ywraq-view-quote-wrapper table.shop_table.order_details {
  	padding: 20px 10px;
    }

    body .ywraq-view-quote-wrapper table.shop_table.order_details .product-name {
	padding: 0;
        display: block;
   	margin-bottom: 20px;
    }

    body .ywraq-view-quote-wrapper table.shop_table.order_details span.product-thumbnail {
	display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }

    body .ywraq-status-ywraq-new .message-content {
	padding: 20px 0;
    }
 
    body .ywraq-status-ywraq-new .message-content p {
  	margin: 0;
    }
}
    

/**
 * RESPONSIVE
 */
.home .woocommerce.columns-3 {
    padding: 0 20px;
}

@media (max-width: 921px) {
    .woocommerce ul.products li.product.tablet-align-left, .woocommerce-page ul.products li.product.tablet-align-left {
       text-align: center !important;
    }

    .woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 18px;
        padding: 0 5px;
    }
}
