/*
Theme Name: ResourcFULL Marketplace
Author: ResourcFULL
Description: Modern digital resource storefront theme.
Version: 1.1
*/
body{margin:0;background:#fffdf8;color:#161616;font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,248,.95);backdrop-filter:blur(12px);border-bottom:1px solid #e8e2d7}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.logo{font-size:25px;font-weight:900;letter-spacing:-1.5px}.logo span{color:#f4c400}
.nav{display:flex;gap:28px;font-weight:700;font-size:14px}.nav a:hover{color:#9b7b00}
.actions{display:flex;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:12px 18px;font-weight:800;border:1px solid #161616}.btn-dark{background:#161616;color:#fff}.btn-yellow{background:#f4c400;border-color:#f4c400}
.mobile-toggle{display:none;background:none;border:1px solid #e8e2d7;padding:9px;border-radius:9px}
.hero{border-bottom:1px solid #e8e2d7;background:linear-gradient(135deg,#fffdf8,#f5f0e6)}
.hero-inner{min-height:650px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:60px;padding:72px 0}
.eyebrow{display:inline-block;background:#161616;color:#fff;padding:8px 12px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.hero h1{font-size:clamp(48px,6vw,82px);line-height:.91;letter-spacing:-.065em;margin:22px 0 24px}
.hero h1 .highlight{position:relative;display:inline-block}.hero h1 .highlight:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:9px;background:#f4c400;z-index:-1}
.hero p{font-size:19px;line-height:1.65;color:#686868;max-width:590px;margin:0 0 30px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-art{position:relative;min-height:470px}.art-card{position:absolute;border-radius:28px;box-shadow:0 24px 60px rgba(0,0,0,.16);overflow:hidden}
.art-main{inset:25px 0 25px 55px;background:#151515;padding:16px;transform:rotate(2deg)}
.art-main .inner{height:100%;border-radius:20px;background:linear-gradient(145deg,#f7d54a,#f3b900 55%,#1a1a1a 56%);position:relative;padding:28px}
.art-main .word{font-size:56px;line-height:.85;font-weight:900;letter-spacing:-4px}
.art-main .mini{position:absolute;right:20px;bottom:20px;background:#fff;padding:12px;border-radius:15px;font-weight:900;font-size:12px}
.art-float{left:0;bottom:5px;background:#fff;padding:18px 20px;transform:rotate(-5deg);border:1px solid #e8e2d7}
.art-float strong{display:block;font-size:13px}.art-float span{color:#686868;font-size:12px}
.section{padding:82px 0}.section.alt{background:#f4efe5}
.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:32px}
.section-head h2{font-size:42px;letter-spacing:-.05em;margin:8px 0 0}.section-head p{max-width:520px;color:#686868;line-height:1.6}
.grid6{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.category{padding:22px;border:1px solid #e8e2d7;border-radius:20px;background:#fff;min-height:145px;transition:.2s}
.category:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgba(0,0,0,.08)}
.cat-icon{width:42px;height:42px;border-radius:12px;background:#f4c400;display:grid;place-items:center;font-weight:900}
.category h3{font-size:16px;margin:25px 0 4px}.category p{font-size:12px;color:#686868;margin:0}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product{background:#fff;border:1px solid #e8e2d7;border-radius:24px;overflow:hidden}
.product-img{height:230px;background:linear-gradient(135deg,#191919,#f4c400);display:flex;align-items:end;padding:20px;font-size:34px;font-weight:900;color:#fff;letter-spacing:-2px}
.product-body{padding:20px}.tag{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;color:#8b7200}
.product h3{margin:8px 0;font-size:19px}.product p{color:#686868;font-size:13px}.product-bottom{display:flex;justify-content:space-between;margin-top:18px;font-weight:900}
.banner{background:#151515;color:#fff;border-radius:30px;padding:48px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}
.banner h2{font-size:45px;letter-spacing:-.05em;margin:5px 0 14px}.banner p{color:#c8c8c8;max-width:650px;line-height:1.6}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature{border:1px solid #e8e2d7;border-radius:22px;background:#fff;padding:25px}
.feature .num{font-size:12px;font-weight:900;color:#9b7b00}.feature h3{margin:18px 0 8px}.feature p{color:#686868;line-height:1.55;font-size:14px}
.site-footer{background:#eee8dd;padding:55px 0 25px;border-top:1px solid #e8e2d7}.footer-grid{display:grid;grid-template-columns:1.5fr .7fr .7fr 1fr;gap:40px}
.site-footer h4{margin:0 0 15px}.site-footer a,.site-footer p{color:#666;font-size:14px;line-height:1.7}.footer-bottom{border-top:1px solid #d9d0c3;margin-top:35px;padding-top:18px;color:#777;font-size:12px}

/* Homepage Shop by Category */
.home-category-section{padding:72px 0 78px;background:#fffdf8;border-top:1px solid #e8e2d7;border-bottom:1px solid #e8e2d7}
.home-category-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}
.home-category-head h2{font-size:34px;line-height:1;letter-spacing:-.05em;margin:10px 0 0}
.home-category-head .category-all{margin-bottom:4px}
.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:980px}
.home-category-card{min-height:112px;padding:18px;border:1px solid #e8e2d7;border-radius:18px;background:#fff;display:grid;grid-template-columns:46px 1fr 20px;align-items:center;gap:13px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.home-category-card:hover{transform:translateY(-3px);border-color:#f4c400;box-shadow:0 14px 30px rgba(0,0,0,.07)}
.home-category-icon{width:46px;height:46px;border-radius:14px;background:#f4c400;display:grid;place-items:center;font-size:17px;font-weight:900;color:#161616}
.home-category-copy strong{display:block;font-size:15px;line-height:1.2}.home-category-copy small{display:block;color:#777;font-size:11px;margin-top:5px}
.home-category-arrow{font-size:19px;font-weight:900;transition:transform .2s ease}.home-category-card:hover .home-category-arrow{transform:translateX(3px)}
@media(max-width:900px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}}
@media(max-width:600px){.home-category-section{padding:58px 0}.home-category-head{display:block}.home-category-head .category-all{display:inline-block;margin-top:16px}.home-category-grid{grid-template-columns:1fr}}

@media(max-width:900px){.nav,.actions{display:none}.mobile-toggle{display:block}.hero-inner{grid-template-columns:1fr}.grid6{grid-template-columns:repeat(3,1fr)}.products{grid-template-columns:1fr 1fr}.features{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.wrap{width:min(100% - 28px,1180px)}.hero h1{font-size:49px}.hero-art{min-height:330px}.grid6,.products,.features,.footer-grid{grid-template-columns:1fr}.section{padding:58px 0}.section-head{display:block}.section-head h2{font-size:34px}.banner{padding:30px;grid-template-columns:1fr}.banner h2{font-size:34px}}

/* =========================
   WooCommerce Shop
   ========================= */
.shop-hero{background:#f5f0e6;border-bottom:1px solid #e8e2d7}
.shop-hero-inner{padding:62px 0 50px}
.shop-hero h1{font-size:clamp(42px,5vw,64px);line-height:.95;letter-spacing:-.055em;margin:18px 0 12px}
.shop-hero p{margin:0;max-width:620px;color:#686868;font-size:17px;line-height:1.6}
.shop-section{padding:42px 0 90px}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e8e2d7}
.shop-count{font-size:14px;color:#686868}
.shop-order{margin-left:auto}
.shop-order .woocommerce-ordering{float:none;margin:0}
.shop-order select{min-width:190px;border:1px solid #d9d1c5;border-radius:10px;background:#fffdf8;padding:10px 35px 10px 12px;font:inherit;color:#161616}
.shop-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.shop-products-grid .product{width:auto!important;float:none!important;margin:0!important;list-style:none}
.shop-products-grid .woocommerce-loop-product__link{display:block}
.shop-products-grid .product img{width:100%;height:270px;object-fit:cover;border-radius:18px;background:#f1ece3;margin:0 0 15px!important}
.shop-products-grid .product .woocommerce-loop-product__title{font-size:18px!important;line-height:1.15!important;color:#161616;margin:0 0 8px!important;padding:0!important}
.shop-products-grid .product .price{font-size:15px!important;color:#8b7200!important;margin:0!important}
.shop-products-grid .product .button{display:block!important;width:100%;margin:15px 0 0!important;text-align:center;border-radius:10px!important;padding:11px 14px!important;background:#161616!important;color:#fff!important;font-weight:800!important}
.shop-products-grid .product .button:hover{background:#f4c400!important;color:#161616!important}
.shop-section .woocommerce-pagination{margin-top:45px!important;text-align:center}
.shop-section .woocommerce-pagination ul{border:0!important}
.shop-section .woocommerce-pagination li{border:0!important;margin:0 3px!important}
.shop-section .woocommerce-pagination a,.shop-section .woocommerce-pagination span{border:1px solid #e8e2d7!important;border-radius:9px!important;padding:9px 13px!important;background:#fff!important}
.shop-section .woocommerce-pagination .current{background:#f4c400!important;color:#161616!important}
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error{border-top-color:#f4c400}
.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:#f4c400}

/* Header menu is now managed from WordPress Appearance > Menus. */
.nav .primary-menu{display:flex;align-items:center;gap:28px;margin:0;padding:0;list-style:none}
.nav .primary-menu li{margin:0;padding:0}
.nav .primary-menu a{font-weight:700;font-size:14px;color:#161616}
.nav .primary-menu a:hover{color:#9b7b00}
@media(max-width:1000px){.shop-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.shop-toolbar{align-items:flex-start;flex-direction:column}.shop-order{margin-left:0}.shop-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-products-grid .product img{height:230px}}
@media(max-width:600px){.shop-products-grid{grid-template-columns:1fr}.shop-products-grid .product img{height:280px}.shop-hero-inner{padding:45px 0}.shop-hero h1{font-size:44px}}

/* Header cart */
.header-actions{display:flex;align-items:center;gap:12px}
.header-cart{position:relative;width:44px;height:44px;border:1px solid #e1d9cd;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;color:#161616;transition:.2s}
.header-cart:hover{border-color:#f4c400;transform:translateY(-1px)}
.cart-count{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f4c400;color:#161616;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;line-height:1;border:2px solid #fffdf8}

/* Shop by category */
.shop-categories{margin-bottom:45px;padding-bottom:35px;border-bottom:1px solid #e8e2d7}
.shop-categories-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.shop-categories-head h2{font-size:32px;letter-spacing:-.045em;margin:8px 0 0}
.category-all{font-size:13px;font-weight:900;border-bottom:2px solid #f4c400;padding-bottom:3px}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.shop-category-card{min-height:112px;padding:18px;border:1px solid #e8e2d7;border-radius:18px;background:#fff;display:grid;grid-template-columns:46px 1fr 20px;align-items:center;gap:13px;transition:.2s}
.shop-category-card:hover{transform:translateY(-3px);border-color:#f4c400;box-shadow:0 14px 30px rgba(0,0,0,.07)}
.category-icon{width:46px;height:46px;border-radius:14px;background:#f4c400;display:grid;place-items:center;font-size:17px;font-weight:900}
.shop-category-card strong{display:block;font-size:15px}.shop-category-card small{display:block;color:#777;font-size:11px;margin-top:4px}.category-arrow{font-size:19px;font-weight:900}

/* Elementor compatibility */
.elementor-page .site-header{z-index:999}
.elementor-page .elementor-section-wrap{width:100%}
.elementor-page .site-main,.elementor-page main{width:100%}

@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-shop-btn{display:none}}
@media(max-width:600px){.header-actions{gap:8px}.header-cart{width:42px;height:42px}.shop-categories-head{display:block}.category-all{display:inline-block;margin-top:14px}.category-grid{grid-template-columns:1fr}.shop-categories{margin-bottom:35px}}

/* ResourcFULL WooCommerce v5 storefront polish */
.shop-products-grid .product,
.woocommerce ul.products li.product{background:#fff;border:1px solid #e7dfd3;border-radius:24px;padding:12px 12px 16px;overflow:hidden;box-shadow:0 8px 24px rgba(22,22,22,.04);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.shop-products-grid .product:hover,
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(22,22,22,.10);border-color:#d9cdbd}
.shop-products-grid .product .woocommerce-loop-product__link{display:block}
.shop-products-grid .product img,.woocommerce ul.products li.product img{width:100%!important;height:250px!important;object-fit:cover;border-radius:17px!important;background:#f4efe7;margin:0 0 17px!important}
.shop-products-grid .product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px!important;line-height:1.22!important;font-weight:800!important;min-height:42px;margin:0 4px 8px!important;padding:0!important}
.shop-products-grid .product .price,.woocommerce ul.products li.product .price{display:block!important;margin:0 4px!important;color:#9a7900!important;font-size:15px!important;font-weight:700!important}
.shop-products-grid .product .button,.woocommerce ul.products li.product .button{display:flex!important;align-items:center;justify-content:center;width:calc(100% - 8px)!important;margin:17px 4px 0!important;min-height:44px;padding:11px 16px!important;border:0!important;border-radius:12px!important;background:#161616!important;color:#fff!important;font-size:14px!important;font-weight:800!important;line-height:1.1!important;transition:background .2s ease,transform .2s ease!important}
.shop-products-grid .product .button:hover,.woocommerce ul.products li.product .button:hover{background:#f4c400!important;color:#161616!important;transform:translateY(-1px)}
.shop-products-grid .product .added_to_cart{display:none!important}
.woocommerce-message,.woocommerce-info{position:relative}
/* Replace WooCommerce's bulky inline View cart notice with a subtle confirmation. */
.resourcfull-cart-toast{position:fixed;right:24px;bottom:24px;z-index:99999;background:#161616;color:#fff;border-radius:14px;padding:13px 17px;box-shadow:0 14px 35px rgba(0,0,0,.2);font-size:14px;font-weight:700;opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s ease}
.resourcfull-cart-toast.is-visible{opacity:1;transform:translateY(0)}

/* Single product */
.resourcfull-product-shell{background:#fffdf8;padding:28px 0 90px}
.resourcfull-breadcrumb{font-size:13px;color:#777;margin:0 0 24px}
.resourcfull-breadcrumb a{color:#555}.resourcfull-breadcrumb a:hover{color:#9a7900}
.resourcfull-single-product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:58px;align-items:start}
.resourcfull-product-gallery{background:#f5f0e7;border:1px solid #e7dfd3;border-radius:28px;padding:16px;position:sticky;top:105px}
.resourcfull-product-gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.resourcfull-product-gallery .woocommerce-product-gallery__image img{width:100%;border-radius:19px!important}
.resourcfull-product-summary{padding:15px 5px}
.resourcfull-product-summary .product_title{font-size:clamp(34px,4vw,54px)!important;line-height:.98!important;letter-spacing:-.055em!important;margin:0 0 18px!important;color:#161616!important}
.resourcfull-product-summary .price{font-size:23px!important;font-weight:800!important;color:#9a7900!important;margin:0 0 25px!important}
.resourcfull-product-summary .woocommerce-product-details__short-description{color:#666;line-height:1.7;font-size:15px;margin-bottom:25px}
.resourcfull-product-summary form.cart{display:flex;gap:10px;align-items:center;margin:24px 0!important}
.resourcfull-product-summary form.cart .quantity input.qty{height:48px;border:1px solid #d9d0c3;border-radius:11px;background:#fff;padding:0 10px;font-size:15px}
.resourcfull-product-summary form.cart .single_add_to_cart_button{height:48px!important;padding:0 25px!important;border:0!important;border-radius:12px!important;background:#161616!important;color:#fff!important;font-weight:800!important;font-size:15px!important;transition:.2s ease!important}
.resourcfull-product-summary form.cart .single_add_to_cart_button:hover{background:#f4c400!important;color:#161616!important;transform:translateY(-1px)}
.resourcfull-product-summary .product_meta{border-top:1px solid #e7dfd3;padding-top:18px;color:#777;font-size:13px}
.resourcfull-product-summary .product_meta a{color:#555;font-weight:700}.resourcfull-product-summary .product_meta a:hover{color:#9a7900}
.resourcfull-product-summary .woocommerce-product-rating{margin:0 0 16px!important}
.resourcfull-product-summary .star-rating{color:#d2a900}
.resourcfull-product-summary .variations{border:0!important;margin-bottom:15px!important}
.resourcfull-product-summary .variations td{padding:7px 0!important;border:0!important}
.resourcfull-product-summary .variations select{border:1px solid #d9d0c3;border-radius:10px;padding:10px;background:#fff}
.woocommerce div.product .woocommerce-tabs{margin-top:55px;border-top:1px solid #e7dfd3;padding-top:35px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 25px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;padding:0 22px 0 0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:800;color:#777}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#161616}

@media(max-width:850px){.resourcfull-single-product{grid-template-columns:1fr;gap:25px}.resourcfull-product-gallery{position:static}.resourcfull-product-summary{padding:5px}.shop-products-grid .product img,.woocommerce ul.products li.product img{height:230px!important}}
@media(max-width:600px){.shop-products-grid{grid-template-columns:1fr 1fr}.shop-products-grid .product,.woocommerce ul.products li.product{padding:8px 8px 13px;border-radius:18px}.shop-products-grid .product img,.woocommerce ul.products li.product img{height:180px!important;border-radius:13px!important;margin-bottom:12px!important}.shop-products-grid .product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;min-height:34px}.shop-products-grid .product .button,.woocommerce ul.products li.product .button{min-height:40px;font-size:12px;border-radius:10px!important}.resourcfull-product-shell{padding-top:18px}.resourcfull-product-summary .product_title{font-size:38px!important}.resourcfull-product-summary form.cart{align-items:stretch;flex-wrap:wrap}.resourcfull-product-summary form.cart .single_add_to_cart_button{flex:1}}
