/*
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}
@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}}
