/*
 Theme Name:   Sofass Child
 Theme URI:    http://wordpress.com
 Description:  This is a child theme for Sofass
 Author:       Goalthemes
 Author URI:   http://mygoalthemes.com
 Template:     sofass
 Version:      1.0.0
 Text Domain:  sofass-child
*/

/* ==========================================================
   Mahakal Prints – Shop page redesign (body.mp-shop)
   ========================================================== */
.mp-shop{--mp-red:#c80908;--mp-red-d:#9e0706;--mp-soft:#fff4f3;--mp-ink:#1a1a1a;--mp-mute:#6b6b6b;--mp-line:#f1e3e2;--mp-shadow:0 14px 34px -14px rgba(160,7,6,.28)}

/* ---------- Hero ---------- */
.mp-shop-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#fff7f6 0%,#ffe6e4 55%,#fff9f8 100%);border-bottom:1px solid var(--mp-line);padding:26px 0 26px;margin-bottom:30px}
.mp-shop-hero:before,.mp-shop-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.mp-shop-hero:before{width:380px;height:380px;right:-120px;top:-170px;background:radial-gradient(circle,rgba(200,9,8,.16),rgba(200,9,8,0) 70%)}
.mp-shop-hero:after{width:240px;height:240px;left:-90px;bottom:-130px;background:radial-gradient(circle,rgba(200,9,8,.12),rgba(200,9,8,0) 70%)}
.mp-shop-hero .container{position:relative;z-index:1}
.mp-sh-crumb{font-size:13px;color:var(--mp-mute);margin-bottom:18px}
.mp-sh-crumb a{color:var(--mp-mute)}
.mp-sh-crumb a:hover{color:var(--mp-red)}
.mp-sh-crumb span{margin:0 8px;opacity:.5}
.mp-sh-crumb em{font-style:normal;color:var(--mp-red);font-weight:600}
.mp-sh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.mp-sh-text{max-width:680px}
.mp-sh-badge{display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--mp-red);border:1px solid #f5c9c7;border-radius:30px;padding:6px 14px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;box-shadow:0 4px 12px -6px rgba(200,9,8,.35)}
.mp-sh-title{font-size:40px;line-height:1.2;font-weight:800;color:var(--mp-ink);margin:14px 0 10px}
.mp-sh-desc{font-size:16px;line-height:1.65;color:#555;margin:0}
.mp-sh-count{flex:0 0 auto;text-align:center;background:var(--mp-red);color:#fff;border-radius:20px;padding:14px 22px;box-shadow:var(--mp-shadow)}
.mp-sh-count strong{display:block;font-size:34px;line-height:1;font-weight:800}
.mp-sh-count span{font-size:12px;letter-spacing:1px;text-transform:uppercase;opacity:.9}
.mp-sh-trust{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mp-sh-trust li{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.85);border:1px solid var(--mp-line);border-radius:16px;padding:12px 14px;backdrop-filter:blur(4px)}
.mp-sh-trust i{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:var(--mp-soft);color:var(--mp-red);display:flex;align-items:center;justify-content:center;font-size:18px}
.mp-sh-trust span{font-size:12px;color:var(--mp-mute);line-height:1.3}
.mp-sh-trust b{display:block;font-size:15px;color:var(--mp-ink)}
.mp-sh-cats{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.mp-chip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:#fff;color:var(--mp-ink)!important;border:1px solid #ecd6d5;border-radius:30px;padding:9px 18px;font-size:14px;font-weight:600;transition:all .25s ease;text-decoration:none!important}
.mp-chip small{background:var(--mp-soft);color:var(--mp-red);border-radius:20px;padding:1px 8px;font-size:11px;font-weight:700}
.mp-chip:hover{border-color:var(--mp-red);color:var(--mp-red)!important;transform:translateY(-2px)}
.mp-chip.is-active{background:var(--mp-red);border-color:var(--mp-red);color:#fff!important;box-shadow:0 8px 18px -8px rgba(200,9,8,.6)}
.mp-chip.is-active small{background:rgba(255,255,255,.22);color:#fff}

/* ---------- Toolbar ---------- */
.mp-shop .wrapper-fillter{margin-bottom:26px}
.mp-shop .goal-filter{background:#fff;border:1px solid var(--mp-line);border-radius:16px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;box-shadow:0 6px 20px -14px rgba(0,0,0,.25)}
.mp-shop .goal-filter:before,.mp-shop .goal-filter:after{display:none}
.mp-shop .goal-filter .woocommerce-result-count{margin:0;font-size:14px;color:var(--mp-mute);float:none}
.mp-shop .goal-filter .wrapper-right{float:none;margin-left:auto}
.mp-shop .goal-filter select.orderby{border:1px solid #ecd6d5!important;border-radius:30px!important;padding:6px 34px 6px 16px!important;height:auto!important;font-size:13px;background-color:#fff;color:var(--mp-ink)}
.mp-shop .display-mode .change-view{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--mp-line);margin-left:6px;color:var(--mp-mute)}
.mp-shop .display-mode .change-view.active,.mp-shop .display-mode .change-view:hover{background:var(--mp-red);border-color:var(--mp-red);color:#fff}

/* ---------- Product grid ---------- */
.mp-shop .products-grid .row-products-wrapper{display:flex;flex-wrap:wrap}
.mp-shop .products-grid .row-products-wrapper:before,.mp-shop .products-grid .row-products-wrapper:after{display:none}
.mp-shop .products-grid .row-products-wrapper>.product{float:none;display:flex;margin-bottom:30px}
.mp-shop .products-grid .product-block.grid{width:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--mp-line);border-radius:20px;overflow:hidden;margin:0;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.mp-shop .products-grid .product-block.grid:hover{transform:translateY(-6px);box-shadow:var(--mp-shadow);border-color:#f3c4c2}
.mp-shop .products-grid .product-block.grid .grid-inner,.mp-shop .products-grid .product-block.grid .block-inner{position:relative}
.mp-shop .products-grid .product-block.grid .grid-inner{display:flex;flex-direction:column;flex:1}
.mp-shop .products-grid .product-block.grid figure.image{margin:0;background:#faf6f6;overflow:hidden;border-radius:0}
.mp-shop .products-grid .product-block.grid figure.image img{transition:transform .6s ease;width:100%}
.mp-shop .products-grid .product-block.grid:hover figure.image img{transform:scale(1.07)}
.mp-shop .products-grid .sale-perc{top:14px;left:14px;background:linear-gradient(135deg,#e5221f,#a00706);color:#fff;border-radius:30px;padding:4px 12px;font-size:12px;font-weight:700;line-height:1.5;box-shadow:0 6px 14px -6px rgba(200,9,8,.7)}
.mp-shop .products-grid .sale-perc:before{display:none}
.mp-shop .products-grid .groups-button .woosw-btn,.mp-shop .products-grid .groups-button .woosc-btn,.mp-shop .products-grid .groups-button .quickview{border-radius:50%!important;border-color:#f1dcdb!important;box-shadow:0 6px 14px -8px rgba(0,0,0,.35)}
.mp-shop .products-grid .groups-button .woosw-btn:hover,.mp-shop .products-grid .groups-button .woosc-btn:hover,.mp-shop .products-grid .groups-button .quickview:hover{background:var(--mp-red)!important;border-color:var(--mp-red)!important;color:#fff!important}
.mp-shop .products-grid .product-block.grid .metas{padding:16px 16px 18px;text-align:center;flex:1;display:flex;flex-direction:column}
.mp-shop .products-grid .product-block.grid .title-wrapper{display:flex;flex-direction:column;flex:1}
.mp-shop .products-grid .product-block.grid .title-wrapper>.clearfix{flex:1}
.mp-shop .products-grid .product-block.grid h3.name{margin:0 0 8px;font-size:15px;line-height:1.4;font-weight:600;min-height:42px}
.mp-shop .products-grid .product-block.grid h3.name a{color:var(--mp-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;text-overflow:clip}
.mp-shop .products-grid .product-block.grid h3.name a:hover{color:var(--mp-red)}
.mp-shop .products-grid .product-block.grid .price{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 8px;margin:0;padding:0}
.mp-shop .products-grid .product-block.grid .price:after{display:none}
.mp-shop .products-grid .product-block.grid .price del{color:#9a9a9a;font-size:13px;opacity:1}
.mp-shop .products-grid .product-block.grid .price ins{color:var(--mp-red);font-size:19px;font-weight:800;text-decoration:none;background:none}
.mp-shop .products-grid .product-block.grid .price>.amount{color:var(--mp-red);font-size:19px;font-weight:800}
.mp-shop .products-grid .product-block.grid .add-cart{margin-top:14px;padding:0;border:0}
.mp-shop .products-grid .product-block.grid .add-cart a.button{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;background:var(--mp-red)!important;color:#fff!important;border:0!important;border-radius:30px!important;padding:11px 16px!important;font-size:14px;font-weight:700;line-height:1.2;transition:background .25s ease,box-shadow .25s ease;box-shadow:0 8px 16px -10px rgba(200,9,8,.9)}
.mp-shop .products-grid .product-block.grid .add-cart a.button:hover{background:var(--mp-red-d)!important;box-shadow:0 10px 20px -10px rgba(160,7,6,1)}
.mp-shop .products-grid .product-block.grid .add-cart a.button .hidden-icon{display:inline-block!important;font-size:15px}
.mp-shop .products-grid .product-block.grid .add-cart a.added_to_cart{display:block;margin-top:8px;font-size:13px;color:var(--mp-red)}

/* ---------- Sidebar ---------- */
.mp-shop .shop-sidebar-left-wrapper aside.widget{background:#fff;border:1px solid var(--mp-line);border-radius:18px;padding:20px 20px 16px;margin-bottom:24px}
.mp-shop .shop-sidebar-left-wrapper aside.widget h2,.mp-shop .shop-sidebar-left-wrapper aside.widget .widget-title{font-size:17px;font-weight:700;color:var(--mp-ink);margin:0 0 14px;padding-bottom:10px;position:relative;border:0}
.mp-shop .shop-sidebar-left-wrapper aside.widget h2:after,.mp-shop .shop-sidebar-left-wrapper aside.widget .widget-title:after{content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;border-radius:3px;background:var(--mp-red)}
.mp-shop .wc-block-product-categories-list{list-style:none;margin:0;padding:0}
.mp-shop .wc-block-product-categories-list li a{display:block;padding:8px 12px;border-radius:10px;color:#444;transition:all .2s}
.mp-shop .wc-block-product-categories-list li a:hover{background:var(--mp-soft);color:var(--mp-red);padding-left:16px}
.mp-shop .widget_product_tag_cloud .tagcloud a{display:inline-block;font-size:13px!important;border:1px solid #ecd6d5;border-radius:30px;padding:4px 12px;margin:0 4px 8px 0;color:#555}
.mp-shop .widget_product_tag_cloud .tagcloud a:hover{background:var(--mp-red);border-color:var(--mp-red);color:#fff}

/* ---------- Pagination ---------- */
.mp-shop .woocommerce-pagination ul.page-numbers{border:0;display:flex;justify-content:center;gap:8px}
.mp-shop .woocommerce-pagination ul.page-numbers li{border:0}
.mp-shop .woocommerce-pagination .page-numbers a,.mp-shop .woocommerce-pagination .page-numbers span{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--mp-line)}
.mp-shop .woocommerce-pagination .page-numbers .current,.mp-shop .woocommerce-pagination .page-numbers a:hover{background:var(--mp-red);border-color:var(--mp-red);color:#fff}

/* ---------- Tablet ---------- */
@media (max-width:991px){
	.mp-sh-title{font-size:32px}
	.mp-sh-trust{grid-template-columns:repeat(2,1fr)}
}
/* ---------- Mobile ---------- */
@media (max-width:767px){
	.mp-shop-hero{padding:18px 0 20px;margin-bottom:20px}
	.mp-sh-crumb{margin-bottom:12px;font-size:12px}
	.mp-sh-head{align-items:flex-start;gap:14px}
	.mp-sh-title{font-size:24px;margin:10px 0 6px}
	.mp-sh-desc{font-size:14px;line-height:1.55}
	.mp-sh-badge{font-size:10px;padding:5px 11px}
	.mp-sh-count{padding:10px 14px;border-radius:14px}
	.mp-sh-count strong{font-size:24px}
	.mp-sh-count span{font-size:10px}
	.mp-sh-trust{gap:8px;margin-top:16px}
	.mp-sh-trust li{padding:9px 10px;gap:8px;border-radius:12px}
	.mp-sh-trust i{flex-basis:32px;width:32px;height:32px;font-size:14px}
	.mp-sh-trust b{font-size:13px}
	.mp-sh-trust span{font-size:11px}
	.mp-sh-cats{flex-wrap:nowrap;overflow-x:auto;margin:16px -15px 0;padding:2px 15px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
	.mp-sh-cats::-webkit-scrollbar{display:none}
	.mp-chip{padding:8px 14px;font-size:13px}
	.mp-shop .goal-filter{padding:8px 12px;border-radius:14px}
	.mp-shop .goal-filter .woocommerce-result-count{font-size:12px}
	.mp-shop .goal-filter .display-mode{display:none}
	.mp-shop .products-grid .row-products-wrapper{margin-left:-6px;margin-right:-6px}
	.mp-shop .products-grid .row-products-wrapper>.product{padding-left:6px;padding-right:6px;margin-bottom:12px}
	.mp-shop .products-grid .product-block.grid{border-radius:14px}
	.mp-shop .products-grid .product-block.grid:hover{transform:none}
	.mp-shop .products-grid .sale-perc{top:8px;left:8px;font-size:10px;padding:3px 8px}
	.mp-shop .products-grid .product-block.grid .metas{padding:10px 10px 12px}
	.mp-shop .products-grid .product-block.grid h3.name{font-size:13px;min-height:36px;margin-bottom:6px}
	.mp-shop .products-grid .product-block.grid .price del{font-size:11px}
	.mp-shop .products-grid .product-block.grid .price ins,.mp-shop .products-grid .product-block.grid .price>.amount{font-size:15px}
	.mp-shop .products-grid .product-block.grid .add-cart{margin-top:10px}
	.mp-shop .products-grid .product-block.grid .add-cart a.button{padding:9px 8px!important;font-size:12px}
}

/* ---------- Mobile: compact hero ---------- */
@media (max-width:767px){
	.mp-sh-head{position:relative;display:block}
	.mp-sh-text{padding-right:0}
	.mp-sh-count{position:absolute;top:0;right:0;display:flex;align-items:center;gap:5px;padding:5px 12px;border-radius:30px;box-shadow:0 6px 14px -8px rgba(200,9,8,.8)}
	.mp-sh-count strong{display:inline;font-size:15px}
	.mp-sh-count span{font-size:10px}
	.mp-sh-title{font-size:22px;margin:12px 0 6px}
	.mp-sh-desc{font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
	.mp-sh-trust{display:flex;overflow-x:auto;margin:14px -15px 0;padding:0 15px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.mp-sh-trust::-webkit-scrollbar{display:none}
	.mp-sh-trust li{flex:0 0 auto;padding:7px 12px 7px 7px}
	.mp-sh-cats{margin-top:12px}
}

/* ---------- Mobile: toolbar ---------- */
.mp-sh-cats{position:relative}
@media (max-width:767px){
	.mp-shop .goal-filter{flex-wrap:nowrap;text-align:left}
	.mp-shop .goal-filter .woocommerce-result-count{white-space:nowrap;text-align:left}
	.mp-shop .goal-filter .wrapper-right,.mp-shop .goal-filter .left-inner,.mp-shop .goal-filter .orderby-wrapper{display:block!important;width:auto!important;margin:0!important}
	.mp-shop .goal-filter .display-mode{display:none!important}
	.mp-shop .products-grid.row{margin-left:0;margin-right:0}
	.mp-shop .goal-filter select.orderby{max-width:165px;font-size:12px;padding:6px 28px 6px 12px!important}
}

/* ---------- Page loader: show full logo GIF (no cropping) ---------- */
.goal-page-loading .goal-loader-inner{width:330px!important;height:220px!important;max-width:75vw!important;max-height:50vw!important;top:50%!important;left:50%!important;margin:0!important;transform:translate(-50%,-50%)!important;background-size:contain!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:transparent!important;background-image:url('/wp-content/uploads/2026/10/mahakal-loader-light.gif')!important}

/* ---------- Mobile/tablet: WhatsApp button above footer bar (no overlap) ---------- */
@media (max-width:991px){
	body .qlwapp__container{bottom:62px!important;right:16px!important;left:auto!important;width:auto!important}
	body .qlwapp__container .qlwapp__button.qlwapp__button--button{width:54px!important;height:54px!important;min-width:0!important;padding:0!important;border-radius:50%!important;justify-content:center!important;box-shadow:0 8px 20px -6px rgba(0,0,0,.35)!important}
	body .qlwapp__container .qlwapp__button--button .qlwapp__text{display:none!important}
	body .qlwapp__container .qlwapp__button--button .qlwapp__icon{margin:0!important;font-size:28px!important;width:28px!important;height:28px!important}
	body #back-to-top{bottom:156px!important;right:43px!important;width:40px!important;height:40px!important}
}
