/*
Theme Name: LSN Marketplace
Theme URI: https://shop.londonsocialnetwork.com/
Author: London Social Network Shop
Description: Full-width Amazon affiliate marketplace theme for Hostinger Affiliate Marketing and Amazon Associates.
Version: 1.6.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lsn-marketplace
*/
:root{--lsn-gold:#f5b234;--lsn-gold-dark:#e6a11a;--lsn-navy:#0f2538;--lsn-text:#151515;--lsn-muted:#667085;--lsn-border:#e4e7eb;--lsn-bg:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--lsn-text);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.45}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.lsn-container{width:min(100% - 28px,1520px);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--lsn-border);position:relative;z-index:50}.header-main{display:grid;grid-template-columns:360px minmax(440px,680px) auto;gap:28px;align-items:center;justify-content:space-between;padding:16px 0}.brand-wrap{display:flex;align-items:center;gap:12px;min-width:0}.custom-logo{max-height:58px;width:auto}.brand-text{min-width:0}.site-title{font-family:Georgia,'Times New Roman',serif;font-size:27px;font-weight:700;white-space:nowrap}.site-title span{color:#c98a1d}.site-tagline{font-size:10px;letter-spacing:3px;text-transform:uppercase;color:#555;margin-top:2px}.header-search{display:flex;border:1px solid #cfd4da;border-radius:6px;overflow:hidden;height:46px;width:100%;max-width:680px;justify-self:center}.header-search input{border:0;flex:1;padding:0 16px;font-size:15px;outline:0}.header-search button{width:58px;border:0;background:var(--lsn-gold);font-size:22px;cursor:pointer}.header-actions{display:flex;gap:24px;align-items:center}.header-action{display:flex;flex-direction:column;align-items:center;font-size:12px;gap:2px}.header-action .icon{font-size:24px;line-height:1}.mobile-dept-toggle{display:none;border:0;background:#fff;font-size:15px;font-weight:700;padding:10px 0;cursor:pointer}
.shop-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;padding:14px 0 0}.departments{border:1px solid var(--lsn-border);background:#fff;border-radius:4px;align-self:start;position:sticky;top:12px}.departments h3{font-size:18px;margin:0;padding:16px;border-bottom:1px solid var(--lsn-border)}.departments a{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eef0f2;font-size:14px}.departments a:last-child{border-bottom:0}.departments a:hover{background:#fff8e7}.dept-icon{display:inline-block;width:25px;text-align:center;margin-right:8px}.dept-label{flex:1}
.market-main{min-width:0}.hero{position:relative;min-height:330px;background-size:cover;background-position:center;border-radius:6px;overflow:hidden;border:1px solid var(--lsn-border)}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 36%,rgba(255,255,255,.08) 67%,rgba(255,255,255,0) 100%)}.hero-copy{position:relative;z-index:2;max-width:580px;padding:42px 48px}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:50px;line-height:1.02;margin:0 0 14px}.hero p{font-size:19px;color:#444;margin:0 0 20px}.gold-btn{display:inline-flex;align-items:center;background:var(--lsn-gold);border:1px solid #dea021;border-radius:6px;padding:13px 22px;font-weight:700}.gold-btn:hover{background:var(--lsn-gold-dark)}
.category-row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px;margin:10px 0 12px}.category-card{border:1px solid var(--lsn-border);border-radius:5px;background:#fff;padding:5px 5px 10px;min-width:0}.category-card img{width:100%;aspect-ratio:1/1.08;object-fit:cover;border-radius:4px}.category-card h3{font-size:12px;line-height:1.25;margin:8px 4px 5px}.category-more{font-size:12px;color:#b87500;margin:0 4px;font-weight:600}.category-more:hover{text-decoration:underline}
.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.shelf{border:1px solid var(--lsn-border);border-radius:5px;background:#fff;padding:14px;min-width:0}.shelf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.shelf h2{font-size:19px;margin:0}.shelf-head a{font-size:12px;color:#b87500}.hostinger-wrap{overflow-x:auto}.hostinger-wrap table{min-width:650px;width:100%!important}.hostinger-wrap img{max-width:145px!important;max-height:150px!important;object-fit:contain}.hostinger-wrap a,.hostinger-wrap button{border-radius:6px!important}
.placeholder-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.placeholder-card{text-align:center;min-width:0}.placeholder-card img{width:100%;aspect-ratio:1/1.05;object-fit:cover;border-radius:4px;background:#f7f7f7}.placeholder-card h4{font-size:11px;line-height:1.2;margin:6px 0}.placeholder-stars{color:#f59e0b;font-size:11px}.placeholder-btn{display:block;background:#ffd36b;border:1px solid #e4b74c;padding:8px 4px;border-radius:5px;font-size:11px;margin-top:6px}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px;border-top:1px solid var(--lsn-border);border-bottom:1px solid var(--lsn-border);background:#fafafa}.trust-item{padding:18px 20px;text-align:center;border-right:1px solid var(--lsn-border)}.trust-item:last-child{border-right:0}.trust-item strong{display:block;font-size:14px}.trust-item span{display:block;color:#72777d;font-size:12px;margin-top:3px}
.site-footer{border-top:1px solid var(--lsn-border);background:#fff;margin-top:0}.footer-inner{display:grid;grid-template-columns:310px 1fr auto;gap:20px;align-items:center;padding:18px 0}.footer-brand .site-title{font-size:20px}.footer-menu{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;font-size:12px}.footer-social{display:flex;gap:12px;font-weight:700}.footer-disclaimer{text-align:center;color:#777;font-size:10px;padding:0 16px 20px;max-width:1000px;margin:auto}.screen-reader-text{position:absolute;left:-10000px}
.page-wrap{width:min(100% - 28px,1200px);margin:28px auto}.page-wrap h1{font-size:34px}.entry-content{font-size:16px}
.mobile-overlay{display:none}
@media(max-width:1250px){.header-main{grid-template-columns:300px 1fr auto}.site-title{font-size:23px}.category-row{grid-template-columns:repeat(5,1fr)}.shelf-grid{grid-template-columns:1fr}.hero h1{font-size:42px}}
@media(max-width:900px){.header-main{grid-template-columns:1fr auto;padding:12px 0}.brand-text .site-tagline{display:none}.header-search{grid-column:1/-1;grid-row:2}.header-actions{display:none}.mobile-dept-toggle{display:block}.shop-shell{display:block}.departments{position:fixed;left:0;top:0;bottom:0;width:min(82vw,320px);z-index:1000;transform:translateX(-110%);transition:.25s;overflow-y:auto;border-radius:0}.departments.is-open{transform:translateX(0)}.mobile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:999}.mobile-overlay.is-open{display:block}.hero{min-height:300px}.hero-copy{padding:34px}.hero h1{font-size:36px}.category-row{grid-template-columns:repeat(3,1fr)}.trust-strip{grid-template-columns:repeat(2,1fr)}.footer-inner{grid-template-columns:1fr;text-align:center}.footer-menu,.footer-social{justify-content:center}}
@media(max-width:560px){.lsn-container{width:min(100% - 16px,1520px)}.site-title{font-size:18px}.custom-logo{max-height:46px}.hero{min-height:350px}.hero:before{background:rgba(255,255,255,.72)}.hero-copy{padding:28px 22px}.hero h1{font-size:32px}.hero p{font-size:16px}.category-row{grid-template-columns:repeat(2,1fr)}.category-card h3{font-size:13px}.trust-strip{grid-template-columns:1fr}.trust-item{border-right:0;border-bottom:1px solid var(--lsn-border)}.placeholder-products{grid-template-columns:repeat(2,1fr)}}


/* v1.1 hero slider + compact search */
.hero-slider{position:relative;border-radius:6px;overflow:hidden;border:1px solid var(--lsn-border);background:#f5f5f5;min-height:330px}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;background-size:cover;background-position:center;display:flex;align-items:stretch}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:2}
.hero-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.84) 34%,rgba(255,255,255,.12) 65%,rgba(255,255,255,0) 100%)}
.hero-slide .hero-copy{position:relative;z-index:2;max-width:620px;padding:42px 48px;display:flex;flex-direction:column;justify-content:center}
.hero-slide h1{font-family:Georgia,'Times New Roman',serif;font-size:50px;line-height:1.02;margin:0 0 14px}
.hero-slide p{font-size:19px;color:#444;margin:0 0 20px}
.hero-slider-controls{position:absolute;left:0;right:0;bottom:12px;z-index:8;display:flex;justify-content:center;align-items:center;gap:8px;pointer-events:none}
.hero-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#c8cdd2;cursor:pointer;pointer-events:auto;box-shadow:0 0 0 1px rgba(255,255,255,.7)}
.hero-dot.is-active{background:var(--lsn-gold)}
.hero-arrow{position:absolute;top:50%;z-index:8;transform:translateY(-50%);width:38px;height:52px;border:0;border-radius:4px;background:rgba(255,255,255,.74);font-size:28px;line-height:1;cursor:pointer;opacity:0;transition:.2s}
.hero-slider:hover .hero-arrow,.hero-arrow:focus{opacity:1}
.hero-prev{left:10px}.hero-next{right:10px}
@media(max-width:1250px){.header-main{grid-template-columns:300px minmax(360px,600px) auto}.header-search{max-width:600px}.hero-slide h1{font-size:42px}}
@media(max-width:900px){.header-main{grid-template-columns:1fr auto}.header-search{grid-column:1/-1;grid-row:2;max-width:none;justify-self:stretch}.hero-slider{min-height:300px}.hero-slide .hero-copy{padding:34px}.hero-slide h1{font-size:36px}}
@media(max-width:560px){.hero-slider{min-height:350px}.hero-slide:before{background:rgba(255,255,255,.72)}.hero-slide .hero-copy{padding:28px 22px}.hero-slide h1{font-size:32px}.hero-slide p{font-size:16px}.hero-arrow{display:none}}


/* v1.2 - affiliate Amazon search, no account/wishlist/cart */
.header-main{grid-template-columns:minmax(300px,390px) minmax(420px,650px);justify-content:space-between;gap:32px}
.header-search{width:100%;max-width:650px;justify-self:end}
.header-actions{display:none!important}
@media(max-width:1250px){.header-main{grid-template-columns:minmax(260px,330px) minmax(360px,580px)}.header-search{max-width:580px}}
@media(max-width:900px){.header-main{grid-template-columns:1fr}.header-search{grid-column:1;grid-row:auto;max-width:none;justify-self:stretch}.mobile-dept-toggle{display:block}}

/* v1.3 - Hostinger comparison tables after label-column removal */
.hostinger-wrap table{width:100%!important}
.hostinger-wrap td[aria-hidden="true"],
.hostinger-wrap th[aria-hidden="true"]{display:none!important}


/* v1.4 manual Amazon product cards */
.manual-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:6px 8px 12px}
.manual-product-card{min-width:0;text-align:left;padding:8px;border-right:1px solid #e6e6e6;background:#fff;display:flex;flex-direction:column}
.manual-product-card:last-child{border-right:0}
.manual-product-image{display:block;aspect-ratio:1/1;background:#fff;overflow:hidden;margin-bottom:8px}
.manual-product-image img{width:100%;height:100%;object-fit:contain;display:block}
.manual-product-card h4{font-size:13px;line-height:1.35;margin:0 0 10px;min-height:52px}
.manual-product-card h4 a{color:#111;text-decoration:none}
.manual-product-card h4 a:hover{color:#c45500;text-decoration:underline}
.manual-amazon-btn{display:block;margin-top:auto;text-align:center;background:#f7b733;border:1px solid #e6a117;border-radius:5px;color:#111!important;font-weight:700;font-size:12px;padding:10px 8px;text-decoration:none!important}
.manual-amazon-btn:hover{background:#f0a91c}
@media(max-width:900px){.manual-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.manual-products{grid-template-columns:1fr 1fr;gap:6px}.manual-product-card{padding:6px}.manual-product-card h4{font-size:12px;min-height:44px}}


/* v1.6: category-only marketplace homepage */
.category-browser{margin:10px 0 14px}
.category-browser-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 10px}
.category-browser-head h2{margin:0;font-size:20px}
.category-browser-head span{font-size:12px;color:#6b7280}
.category-row-30{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.category-row-30 .category-card img{aspect-ratio:1.25/1;object-fit:cover}
.category-row-30 .category-card{padding:6px 6px 11px}
.category-row-30 .category-card h3{font-size:13px;min-height:33px}
@media(max-width:1250px){.category-row-30{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){
  .header-main{grid-template-columns:minmax(0,1fr) auto!important;align-items:center}
  .brand-wrap{grid-column:1;grid-row:1}
  .mobile-dept-toggle{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center;justify-content:center;width:46px;height:42px;padding:0!important;border:1px solid var(--lsn-border)!important;border-radius:6px;background:#fff;font-size:0!important;justify-self:end}
  .mobile-dept-toggle:before{content:'☰';font-size:24px;line-height:1;color:#111}
  .header-search{grid-column:1/-1!important;grid-row:2!important;max-width:none!important}
  .category-row-30{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){.category-row-30{grid-template-columns:repeat(2,minmax(0,1fr))}.category-browser-head h2{font-size:18px}}


/* v1.6.5 - social sharing for posts and pages */
.lsn-share-box{margin:36px 0 10px;padding:22px;border:1px solid #e3e6ea;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(20,32,48,.05)}
.lsn-share-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:15px}
.lsn-share-heading strong{font-size:20px;line-height:1.25;color:#111827}
.lsn-share-heading span{font-size:13px;color:#687386}
.lsn-share-buttons{display:flex;flex-wrap:wrap;gap:10px}
.lsn-share-btn{appearance:none;border:1px solid #d7dce2;background:#fff;color:#172033;text-decoration:none!important;border-radius:9px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;font:600 13px/1.1 inherit;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.lsn-share-btn:hover{transform:translateY(-1px);border-color:#efaa23;box-shadow:0 5px 14px rgba(0,0,0,.08);color:#111827}
.lsn-share-btn.copy-link.copied{background:#fff7df;border-color:#efaa23}
.single-featured-image{margin:0 0 24px}.single-featured-image img{max-width:100%;height:auto;border-radius:12px;display:block}
@media(max-width:700px){.lsn-share-box{padding:16px}.lsn-share-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lsn-share-btn{width:100%;padding:10px 8px}.lsn-share-btn span{font-size:12px}}


/* v1.6.6 - homepage sharing */
.home .lsn-share-box{margin:18px 0 14px;}
