/*
Theme Name: AvenzaDeals Marketplace
Theme URI: https://avenzadeals.com/
Author: AvenzaDeals
Description: A clean marketplace-style affiliate shopping theme with product categories, search, deal banners and responsive product grids.
Version: 2.0.0
Text Domain: avenzadeals
*/
:root{--blue:#2874f0;--blue-dark:#1557bd;--yellow:#ffe500;--ink:#172337;--muted:#667085;--line:#e8edf3;--bg:#f1f3f6;--white:#fff;--green:#16834a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1240px,calc(100% - 32px));margin:auto}
.site-header{background:var(--blue);color:#fff;box-shadow:0 2px 5px #0002}.header-main{min-height:66px;display:flex;align-items:center;gap:24px}.brand{font-size:25px;font-weight:800;letter-spacing:-.8px;color:#fff;white-space:nowrap}.brand span{color:var(--yellow)}.custom-logo{max-height:44px;width:auto}.search-form{display:flex;flex:1;max-width:680px;background:#fff;border-radius:3px;overflow:hidden;height:40px}.search-form input[type=search]{border:0;outline:0;padding:0 15px;min-width:0;flex:1;font-size:14px}.search-form button{border:0;background:#fff;color:var(--blue);font-weight:700;padding:0 18px;cursor:pointer}.header-link{font-weight:700;white-space:nowrap;padding:9px 15px;border-radius:3px}.header-link:hover{background:#ffffff20}
.main-nav{background:#fff;color:#263238;box-shadow:0 2px 4px #0000000a}.nav-inner{display:flex;gap:26px;align-items:center;min-height:43px;overflow:auto;white-space:nowrap}.nav-inner a{font-weight:600;font-size:13px}.nav-inner a:hover{color:var(--blue)}
.market-categories{background:#fff;margin:14px auto 0;padding:15px 10px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;border-radius:3px;box-shadow:0 1px 3px #0000000c}.market-category{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-weight:700;font-size:12px}.market-category .cat-icon{width:54px;height:54px;border-radius:50%;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:23px;font-weight:800}.market-category:hover{color:var(--blue)}
.home-layout{padding-bottom:35px}.market-hero{margin:14px auto;background:linear-gradient(105deg,#dbeaff,#f7fbff 58%,#e8f1ff);min-height:265px;display:flex;align-items:center;justify-content:space-between;padding:35px 6%;border-radius:3px;overflow:hidden;position:relative}.market-hero-copy{max-width:540px;position:relative;z-index:1}.market-hero .eyebrow{font-size:12px;letter-spacing:1.8px;color:var(--blue);font-weight:800}.market-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:10px 0;color:#14233a;letter-spacing:-1px}.market-hero p{font-size:16px;color:#526174;max-width:450px}.market-hero-art{width:260px;height:190px;border-radius:16px;background:linear-gradient(135deg,#2874f0,#64a4ff);display:grid;place-items:center;color:white;font-size:30px;font-weight:900;transform:rotate(3deg);box-shadow:0 18px 35px #2874f044}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);color:#172337;padding:10px 18px;border-radius:3px;font-weight:800;border:0}.btn:hover{filter:brightness(.96)}
.section{background:#fff;margin:14px auto;padding:20px 22px;border-radius:3px;box-shadow:0 1px 3px #0000000c}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:17px}.section-head h2{font-size:21px;margin:0;color:#212b3b}.section-kicker{font-size:10px;letter-spacing:1.2px;color:var(--blue);font-weight:800}.text-link{color:var(--blue);font-weight:700;font-size:13px}
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.category-tile{border:1px solid var(--line);border-radius:4px;padding:15px 10px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:68px;text-align:center;font-weight:700}.category-tile:hover{border-color:#9dc0ff;color:var(--blue)}.category-dot{width:8px;height:8px;border-radius:50%;background:var(--blue)}
.wide-promo{margin:14px auto;padding:25px 30px;background:#e8f1ff;border-left:5px solid var(--blue);display:flex;align-items:center;justify-content:space-between;gap:18px}.wide-promo h2{font-size:23px;margin:2px 0;color:#172337}.wide-promo p{margin:0;color:#667085}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{min-width:0;border:1px solid #edf0f4;border-radius:4px;padding:13px;display:flex;flex-direction:column;background:#fff;transition:box-shadow .18s,transform .18s}.product-card:hover{box-shadow:0 6px 20px #152b4a14;transform:translateY(-2px)}.product-image{height:175px;display:flex;align-items:center;justify-content:center;margin:-2px -2px 10px;overflow:hidden;background:#fff}.product-image img{width:100%;height:100%;object-fit:contain}.product-category{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.product-title{font-size:13px;line-height:1.4;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:37px;margin:5px 0}.product-description{font-size:11px;color:var(--muted);margin:0 0 8px;min-height:32px}.product-price{font-size:17px;font-weight:800;color:#172337;margin:4px 0 10px}.old-price{text-decoration:line-through;color:#8a929d;font-size:12px;font-weight:400;margin-left:8px}.product-actions{margin-top:auto}.product-actions .btn{width:100%;background:var(--blue);color:#fff}.product-actions .btn:hover{background:var(--blue-dark)}
.archive-layout,.single-layout{background:#fff;margin:15px auto;padding:22px;border-radius:3px}.archive-layout .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.single-product{max-width:950px;margin:auto;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap:30px}.single-product-image img{width:100%;max-height:440px;object-fit:contain}.single-product h1{font-size:28px}.site-footer{background:#172337;color:#d7dfeb;margin-top:25px;padding:30px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-inner strong{color:#fff}.muted{color:var(--muted)}.empty-products{border:1px dashed #cbd5e1;padding:24px}
@media(max-width:900px){.market-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.product-grid,.archive-layout .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-hero-art{width:200px;height:155px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.container{width:calc(100% - 18px)}.header-main{padding:10px 0;gap:10px;flex-wrap:wrap}.brand{font-size:22px}.search-form{order:3;flex-basis:100%;max-width:none;height:38px}.header-link{margin-left:auto;padding:7px 9px;font-size:12px}.nav-inner{gap:18px;min-height:39px}.market-categories{margin-top:9px;padding:11px 6px;gap:9px 4px;grid-template-columns:repeat(4,minmax(0,1fr))}.market-category{font-size:10px}.market-category .cat-icon{width:43px;height:43px;font-size:19px}.market-hero{margin:9px auto;min-height:220px;padding:23px 18px}.market-hero h1{font-size:29px}.market-hero p{font-size:13px;max-width:260px}.market-hero-art{width:100px;height:100px;font-size:14px;border-radius:12px}.section{margin:9px auto;padding:14px 10px}.section-head h2{font-size:18px}.product-grid,.archive-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-card{padding:9px}.product-image{height:125px}.product-title{font-size:12px}.product-description{font-size:10px}.product-price{font-size:15px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-tile{min-height:56px;padding:10px 6px;font-size:12px}.wide-promo{margin:9px auto;padding:18px 15px;align-items:flex-start;flex-direction:column}.wide-promo h2{font-size:19px}.single-product{grid-template-columns:1fr}.single-product-image img{max-height:280px}}
