/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
*/

/* =========================
   GLOBAL
========================= */
.rashid-custom-shop-page .site-main,
.rashid-custom-shop-page .content-area {
    width: 100%;
    max-width: 100%;
}

.rashid-shop-page .container {
    width: min(1280px, 92%);
    margin: 0 auto;
}

.rashid-shop-page a {
    text-decoration: none;
}

.rashid-shop-page ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================
   HERO
========================= */
.rashid-shop-hero {
    background: #f5f3ef;
    padding: 70px 0 85px;
    position: relative;
    overflow: hidden;
}

.rashid-shop-hero-inner {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.rashid-breadcrumb {
    font-size: 14px;
    color: #9a948d;
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.rashid-breadcrumb a {
    color: #9a948d;
}

.rashid-shop-title {
    font-size: 72px;
    line-height: 1;
    margin: 0 0 24px;
    font-weight: 800;
    letter-spacing: -2px;
    color: #111;
}

.rashid-shop-desc {
    max-width: 680px;
    font-size: 24px;
    line-height: 1.7;
    color: #6f6a64;
    margin: 0;
}

.rashid-shop-bg-text {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 220px;
    line-height: 1;
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    pointer-events: none;
}

/* =========================
   TOOLBAR
========================= */
.rashid-shop-toolbar {
    border-top: 1px solid #ece7e1;
    border-bottom: 1px solid #ece7e1;
    background: #fff;
    padding: 24px 0;
	overflow: hidden;
}

.rashid-toolbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap; 
}

.rashid-top-cats {
   display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
  
}
.rashid-top-cats.dragging {
    cursor: grabbing;
}

.rashid-top-cats::-webkit-scrollbar {
    display: none;
}
.rashid-top-cats a {
	flex: 0 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
	border: solid 1px #0000003b;
	padding: 5px 12px;
	border-radius: 50px;
	color: #6b645d;
	font-size: 14px;
	font-weight: 400;
}

.rashid-top-cats a.active,
.rashid-top-cats a:hover {
    border-color: #111;
}
.rashid-toolbar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 10px;
}
/* optional scrollbar styling */
.rashid-top-cats::-webkit-scrollbar {
    height: 6px;
}

.rashid-top-cats::-webkit-scrollbar-thumb {
    background: #d8d1c8;
    border-radius: 999px;
}

.rashid-top-cats::-webkit-scrollbar-track {
    background: transparent;
}
.rashid-result-count {
    color: #8c857c;
    font-size: 15px;
}

.rashid-ordering {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rashid-ordering .sort-label {
    font-size: 14px;
    font-weight: 700;
    color: #6b645d;
}

.rashid-ordering select {
    min-width: 150px;
    max-width: 170px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #ddd5cc;
    padding: 0 18px;
    background: #fff;
}
.rashid-view-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.rashid-view-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #ddd5cc;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.rashid-view-btn.active {
    border-color: #111;
}

/* LIST VIEW */
.rashid-shop-products.list-view ul.products {
    grid-template-columns: 1fr !important;
}

.rashid-shop-products.list-view .rashid-product-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: center;
    text-align: left;
}

.rashid-shop-products.list-view .rashid-product-thumb {
    min-height: 260px;
}

.rashid-shop-products.list-view .rashid-product-info {
    padding: 0;
}

/* =========================
   MAIN LAYOUT
========================= */
.rashid-shop-main {
    padding: 42px 0 70px;
}

.rashid-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
}

/* =========================
   SIDEBAR
========================= */
.rashid-sidebar-box {
    background: #fff;
}

.rashid-sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.rashid-sidebar-head h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 800;
}

.rashid-sidebar-head a {
    font-size: 13px;
    color: #9b948b;
    font-weight: 700;
}

.rashid-cat-list li {
    border-bottom: 1px solid #eee7df;
}

.rashid-cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    color: #111;
    gap: 12px;
}

.rashid-cat-list li a span {
    font-size: 18px;
}

.rashid-cat-list li a strong {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f2eee9;
    color: #8c857c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.rashid-shop-sidebar .rashid-sidebar-box {
    padding: 0;
}

.rashid-extra-filters,
.rashid-shop-sidebar .widget,
.rashid-shop-sidebar .wp-block-group,
.rashid-shop-sidebar .wp-block-woocommerce-filter-wrapper {
    margin-bottom: 28px;
}

.rashid-shop-sidebar h2{
	 font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
}
.rashid-shop-sidebar h3,
.rashid-shop-sidebar h4,
.rashid-shop-sidebar .widget-title,
.rashid-shop-sidebar .wp-block-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 1px;
}


.rashid-extra-filters h3 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #111;
}

.rashid-extra-filters ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rashid-extra-filters li {
    margin-bottom: 12px;
}

.rashid-extra-filters label,
.rashid-extra-filters a {
    color: #111;
    text-decoration: none;
    font-size: 15px !important;
}

.rashid-extra-filters .wc-block-components-price-slider__range-input-progress {
    height: 4px;
}

.rashid-extra-filters button,
.rashid-extra-filters .wc-block-components-button {
    border-radius: 999px;
}

/* =========================
   PRODUCTS GRID
========================= */
.rashid-shop-products ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin: 0 !important;
    padding: 0 !important;
}

.rashid-shop-products ul.products::before,
.rashid-shop-products ul.products::after {
    display: none !important;
}

/* =========================
   PRODUCT CARD
========================= */
.rashid-product-card {
    position: relative;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    background: #fff;
    text-align: left;
}

.rashid-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 999px;
    z-index: 2;
}

.rashid-product-thumb {
    display: block;
    background: #f8f8f8;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce ul.products li.product a img {
  margin: 0;
  
}
.rashid-product-card .rashid-product-thumb img {
    width: 100%;
  	height: 360px !important;
  	object-fit: cover;
	transition: transform 0.45s ease;
}

.rashid-product-info {
	display: flex;
	justify-content: space-between;
	
}
/* Hover Add to Cart */
.rashid-product-hover-cart {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 70px;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.rashid-product-card:hover .rashid-product-hover-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rashid-product-hover-cart .button,
.rashid-product-hover-cart .added_to_cart {
    width: 100%;
    min-height: 48px;
    border-radius: 999px !important;
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 14px;
	line-height: 26px;
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: .518em 1em;
    margin: 0 !important;
    transition: all 0.25s ease;
}
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart{
  line-height: 24px;
}

.rashid-product-hover-cart .button:hover,
.rashid-product-hover-cart .added_to_cart:hover {
    background: #fff !important;
    color: #111 !important;
}

.rashid-product-info h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.rashid-product-info h2 a {
    color: #111;
}

.rashid-product-price {
    font-size: 17px;
    font-weight: 700;
    color: #111;
   	padding: .5em 0;
}

.rashid-product-btn-wrap {
    margin-top: 10px;
}

.rashid-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.rashid-product-btn:hover {
    background: #111;
    color: #fff;
}


/* =========================
   PAGINATION
========================= */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0 6px;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd5cc;
    border-radius: 999px;
    color: #111;
}
.rashid-cat-list li a.active,
.rashid-top-cats a.active {
    border-color: #111;
    color: #111;
    font-weight: 700;
}
.woocommerce .woocommerce-ordering {
  	margin: 0;
}
.woocommerce .woocommerce-result-count {
  	margin: 0;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .rashid-shop-title {
        font-size: 56px;
    }

    .rashid-shop-desc {
        font-size: 20px;
    }

    .rashid-shop-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .rashid-toolbar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .rashid-top-cats {
        width: 100%;
    }

    .rashid-toolbar-right {
        width: 100%;
        justify-content: space-between;
		
    }
}

@media (max-width: 767px) {
    .rashid-shop-hero {
        padding: 42px 0 50px;
    }

    .rashid-shop-title {
        font-size: 38px;
    }

    .rashid-shop-desc {
        font-size: 16px;
    }

    .rashid-shop-bg-text {
        font-size: 100px;
        right: -10px;
        top: 20px;
    }

    .rashid-shop-layout {
        grid-template-columns: 1fr;
    }

    .rashid-toolbar-inner {
        align-items: flex-start;
    }

    .rashid-toolbar-right {
        flex-direction: column;
        align-items: flex-start;
		margin-left: 0px;
  		flex-direction: row;
    }

    .rashid-shop-products ul.products {
        grid-template-columns: 1fr;
    }

    .rashid-product-thumb {
        min-height: 280px;
    }
	.rashid-shop-products.list-view .rashid-product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
	.rashid-view-switcher {
		  display: none;
	}
}