/*
Theme Name: Rashy
Theme URI: https://mygoalthemes.com/demo/rashy
Author: GoalTheme
Author URI: #
Description: Rashy is clean theme, it's used Goalthemes Framework.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: rashy
Tested up to: 5.4
Requires PHP: 7.0
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

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

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-categories-list.aligncenter{
    text-align: center;
}

rs-module-wrap{
    z-index: 0;
}


a.wc-forward br {
    display: none !important;
}

.prev-step-button{
	    cursor: pointer;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0;
    font-weight: 500;
    font-family: "Inter Tight", Helvetica, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    color: #fff !important;
    background-color: #2b2b2b;
    background-image: linear-gradient(to right, #F13223 0%, #F13223 100%);
    background-size: 100%;
    background-position: 100% 0%;
    background-repeat: no-repeat;
    transition: background-size 0.25s cubic-bezier(1, 1, 0, 0) 0s;
    border: 0;
    white-space: nowrap;
    letter-spacing: 1px;
    padding: 10px 30px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 1;
    overflow: hidden;
    position: relative;
	&:hover{
		background-color: #2b2b2b !important;
    background-image: unset;
		color: #fff !important;
	}
}


.header-search-custom.header-search-custom > span {
    color: #FFFFFF;
}

/* Remove background color from the entire checkout table */
.woocommerce-checkout .shop_table {
    background: none !important;  /* Ensure no background is applied */
}

/* Adjust width of product name column and price column */
.shop_table.woocommerce-checkout-review-order-table th,
.shop_table.woocommerce-checkout-review-order-table td {
    padding: 12px 16px !important;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

/* Adjust column widths */
.shop_table.woocommerce-checkout-review-order-table .product-name {
    width: 90% !important; /* Left side (product name and details) takes more space */
    padding-right: 20px !important;
}

.shop_table.woocommerce-checkout-review-order-table .product-total {
    width: 10% !important; /* Price column takes less space */
    text-align: right !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #333 !important;
}

/* Adjust image size */
.shop_table.woocommerce-checkout-review-order-table .product-name .wc-gzd-cart-item-thumbnail img {
    width: 50px !important;
    height: 50px !important;
    margin-right: 10px !important;
}

/* Make sure product details (variations, etc.) also respect the space allocation */
.shop_table.woocommerce-checkout-review-order-table .product-name .wc-gzd-cart-item-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
	flex-wrap:wrap;
}



.shop_table.woocommerce-checkout-review-order-table .variation dd {
    margin-bottom: 8px !important;
}

/* Delivery info, size, style, brand: Make font size smaller and color lighter */
.shop_table.woocommerce-checkout-review-order-table .wc-gzd-cart-info.delivery-time-info {
    font-size: 12px !important;
    color: #777 !important; /* Lighter color */
}

.shop_table.woocommerce-checkout-review-order-table .variation dd p {
    font-size: 12px !important; /* Smaller font size */
    color: #777 !important; /* Lighter color */
}

.shop_table.woocommerce-checkout-review-order-table .variation dt {
	 font-weight: bold !important;
    font-size: 12px !important; /* Smaller font size */
    color: #777 !important; /* Lighter color */
}

/* Responsive styles for mobile and tablet to maintain readability */
@media (max-width: 768px) {
    .shop_table.woocommerce-checkout-review-order-table .product-name {
        width: 90% !important; /* More space for product names on mobile */
    }

    .shop_table.woocommerce-checkout-review-order-table .product-total {
        width: 10% !important; /* More space for price column on mobile */
    }

    .shop_table.woocommerce-checkout-review-order-table .product-name .wc-gzd-cart-item-thumbnail img {
        width: 40px !important;
        height: 40px !important;
    }

    .shop_table.woocommerce-checkout-review-order-table th,
    .shop_table.woocommerce-checkout-review-order-table td {
        padding: 10px 12px !important; /* Adjust padding for smaller screens */
        font-size: 12px !important; /* Reduce font size for mobile/tablet */
    }

    .shop_table.woocommerce-checkout-review-order-table .product-name {
        font-size: 13px !important;
    }

    .shop_table.woocommerce-checkout-review-order-table .product-total {
        font-size: 14px !important;
    }
}

/* Responsive styles for very small devices */
@media (max-width: 480px) {
	.shop_table.woocommerce-checkout-review-order-table {
        padding: 0 !important; /* Adjust product name width for smaller screens */
    }
	
    .shop_table.woocommerce-checkout-review-order-table .product-name {
        width: 90% !important; /* Adjust product name width for smaller screens */
    }

    .shop_table.woocommerce-checkout-review-order-table .product-total {
        width: 10% !important; /* Adjust price column for smaller screens */
    }

    .shop_table.woocommerce-checkout-review-order-table th,
    .shop_table.woocommerce-checkout-review-order-table td {
        padding: 8px 10px !important; /* Reduce padding further */
        font-size: 11px !important; /* Further reduce font size */
    }

    .shop_table.woocommerce-checkout-review-order-table .product-name {
        font-size: 12px !important;
    }

    .shop_table.woocommerce-checkout-review-order-table .product-total {
        font-size: 13px !important;
    }

    .shop_table.woocommerce-checkout-review-order-table .product-name .wc-gzd-cart-item-thumbnail img {
        width: 35px !important;
        height: 35px !important;
    }
}

/* Edit Order Button Color */
.shop_table.woocommerce-checkout-review-order-table .actions .button {
    background-color: #F13223; /* Edit Order Button Color */
    color: white;
}

/* Place Order Button Color */
button#place_order {
    background-color: #F13223 !important; /* Place Order Button Color */
}



.widget_shopping_cart_content dl.variation {
  display: flex;
  flex-wrap: wrap;
  margin: 0; /* remove any default spacing */
}


/* Default styles for desktop/larger devices */
.widget_shopping_cart_content dl.variation {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.widget_shopping_cart_content dl.variation dt {
  width: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0;
	font-size:12px !important;
}

.widget_shopping_cart_content dl.variation dd {
  width: 80%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0;
	font-size:12px !important;
}

.widget_shopping_cart_content dl.variation dd p {
  margin: 0;
}



/* Responsive layout for smaller screens */
@media (max-width: 1000px) {
.widget_shopping_cart_content dl.variation dt {
  width: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0;
	font-size:10px !important;
}

.widget_shopping_cart_content dl.variation dd {
  width: 70%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 0;
font-size:10px !important;
}
}
