@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');

:root{--green:#96b51b;--green-dark:#75900e;--charcoal:#302d2e;--ink:#171717;--soft:#f6f7f3;--line:#e7e8e2;--white:#fff}
*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff}.site-header{background:#171717;box-shadow:0 4px 20px rgba(0,0,0,.12)}.brand-logo{width:145px;height:52px;object-fit:contain;object-position:center}.navbar .nav-link{color:#ddd}.navbar .nav-link:hover{color:var(--green)}.btn-brand{background:var(--green);border-color:var(--green);color:#101010;font-weight:700}.btn-brand:hover{background:var(--green-dark);border-color:var(--green-dark);color:#fff}.btn-outline-brand{border:1px solid var(--green);color:var(--green-dark);font-weight:700}.btn-outline-brand:hover{background:var(--green);color:#111}.hero{background:radial-gradient(circle at 80% 30%,rgba(150,181,27,.18),transparent 32%),linear-gradient(135deg,#171717,#2b2929);color:#fff;padding:78px 0}.hero h1{font-size:clamp(2.3rem,5vw,4.8rem);line-height:1.02;font-weight:850}.hero .lead{color:#d7d7d7;max-width:680px}.hero-search{background:#fff;border-radius:18px;padding:13px;box-shadow:0 20px 55px rgba(0,0,0,.28)}.hero-search .form-control,.hero-search .form-select{border:0;background:#f6f6f6;padding:14px}.section-kicker{color:var(--green-dark);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.section-title{font-weight:850;color:#292727}.category-card,.listing-card,.info-card,.dashboard-card{border:1px solid var(--line);border-radius:18px;background:#fff;transition:.2s ease;overflow:hidden}.category-card:hover,.listing-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(38,38,38,.08);border-color:#d6ddba}.category-icon{width:52px;height:52px;border-radius:14px;background:#eff4d9;display:grid;place-items:center;font-size:1.45rem}.listing-card img{width:100%;height:220px;object-fit:cover;background:#f4f4f4}.price{font-weight:850;color:#252525;font-size:1.2rem}.badge-featured{background:var(--green);color:#131313}.soft-section{background:var(--soft)}.stat{font-size:2rem;font-weight:850}.footer{background:#171717;color:#fff}.footer a{display:block;color:#aaa;text-decoration:none;margin:8px 0}.footer a:hover{color:var(--green)}.footer-logo{width:180px;height:80px;object-fit:contain}.avatar{width:52px;height:52px;border-radius:50%;background:#eff4d9;display:grid;place-items:center;font-weight:800;color:#5d7307}.sidebar{border:1px solid var(--line);border-radius:16px;padding:10px}.sidebar a{display:block;padding:11px 13px;border-radius:10px;color:#333;text-decoration:none}.sidebar a:hover,.sidebar a.active{background:#eff4d9;color:#506304}.gallery-main{width:100%;max-height:520px;object-fit:cover;border-radius:18px;background:#f5f5f5}.thumb{width:82px;height:70px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid transparent}.thumb:hover{border-color:var(--green)}.form-control,.form-select{min-height:48px}.card-clean{border:1px solid var(--line);border-radius:18px}.table td,.table th{vertical-align:middle}.content-article{max-width:820px}.content-article h2{margin-top:2rem;font-weight:800}.content-article p{line-height:1.8;color:#444}.seo-copy{font-size:1.04rem;line-height:1.8;color:#4a4a4a}.floating-whatsapp{position:fixed;right:20px;bottom:20px;z-index:30;border-radius:999px}.admin-top{background:#252323;color:#fff}.empty-state{border:2px dashed #ddd;border-radius:18px;padding:50px 20px;text-align:center;color:#777}@media(max-width:767px){.hero{padding:52px 0}.brand-logo{width:120px}.listing-card img{height:190px}.hero-search .row>*{margin-bottom:8px}}



/* Website Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.auth-intro h1,
.auth-card h2 {
    font-family: 'Poppins', sans-serif;
}

/* =========================================================
   GolfShop.pk responsive public header
   ========================================================= */
.legacy-site-header{
    background:#fff;
    box-shadow:none;
    z-index:1030;
    border-top:1px solid #e8e8e8;
}

/* Top strip uses the SAME Bootstrap container as the main row.
   This prevents the left/right imbalance on large and ultra-wide screens. */
.legacy-top-strip{
    height:36px;
    position:relative;
    overflow:hidden;
    background:#86a821;
}

.legacy-top-strip-inner{
    height:36px;
    display:grid;
    grid-template-columns:190px minmax(0,1fr) 140px 40px;
    align-items:stretch;
    position:relative;
}

.top-strip-left{
    position:relative;
    background:#fff;
    box-shadow:-100vw 0 0 100vw #fff;
    z-index:2;
}

/* White diagonal edge that reveals the green bar */
.top-strip-left:after{
    content:"";
    position:absolute;
    top:0;
    right:-36px;
    width:0;
    height:0;
    border-top:36px solid #fff;
    border-right:36px solid transparent;
    pointer-events:none;
}

.top-strip-green{
    background:#86a821;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding-left:62px;
    min-width:0;
}

.top-strip-tail{
    background:#86a821;
    box-shadow:100vw 0 0 100vw #86a821;
}

.legacy-socials{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
}

.legacy-socials a{
    width:26px;
    height:26px;
    border-radius:50%;
    background:#fff;
    color:#86a821;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    line-height:1;
    transition:transform .2s ease,background .2s ease,color .2s ease;
}

.legacy-socials a:hover{
    background:#f5f5f5;
    color:#6f8d16;
    transform:translateY(-1px);
}

.legacy-post-ad{
    background:#fff;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    gap:6px;
    white-space:nowrap;
}

.legacy-post-ad:hover{color:#86a821}
.post-plus{font-size:24px;font-weight:900;color:#86a821;line-height:1}

/* Main navigation row */
.legacy-main-row{
    background:#fff;
    min-height:66px;
}

.legacy-main-inner{
    min-height:66px;
    display:grid;
    grid-template-columns:190px minmax(0,1fr) auto;
    align-items:center;
    column-gap:34px;
    padding-top:7px;
    padding-bottom:7px;
}

.legacy-logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    height:52px;
    text-decoration:none;
    overflow:visible;
}

.legacy-logo img{
    display:block;
    width:auto;
    height:auto;
    max-width:126px;
    max-height:62px;
    object-fit:contain;
    object-position:left center;
}

.legacy-nav-wrap{display:block!important;min-width:0}
.legacy-nav{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:30px}
.legacy-nav li{margin:0;padding:0}
.legacy-nav a{color:#101010;text-decoration:none;font-size:15px;font-weight:500;line-height:1.1;white-space:nowrap;transition:color .2s ease}
.legacy-nav a:hover,.legacy-nav a.active{color:#86a821}

/* Logged-out account links */
.legacy-account-links{
    display:flex;
    gap:17px;
    align-items:center;
    justify-content:flex-end;
    white-space:nowrap;
    position:relative;
}
.legacy-account-links>a{color:#111;text-decoration:none;font-size:15px;font-weight:500}
.legacy-account-links>a:hover{color:#86a821}
.account-icon{font-size:13px;font-weight:900;margin-right:4px;color:#1f2529}

/* Logged-in user profile dropdown */
.legacy-profile-menu{
    position:relative;
    display:flex;
    align-items:center;
}

.legacy-profile-trigger{
    border:0;
    background:transparent;
    padding:4px 2px 4px 8px;
    display:flex;
    align-items:center;
    gap:9px;
    color:#171717;
    font:inherit;
    cursor:pointer;
    border-radius:30px;
}

.legacy-profile-trigger:hover,
.legacy-profile-trigger:focus-visible{
    color:#75900e;
    outline:none;
}

.legacy-profile-avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #e7e8e2;
    background:#eff4d9;
    flex:0 0 34px;
}

.legacy-profile-avatar-fallback{
    display:grid;
    place-items:center;
    color:#5d7307;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:700;
}

.legacy-profile-name{
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:14px;
    font-weight:600;
}

.legacy-profile-caret{font-size:12px;color:#9298a1;transition:transform .2s ease}

.legacy-profile-dropdown{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    z-index:1080;
    min-width:170px;
    padding:7px;
    border:1px solid #e5e7e9;
    border-radius:7px;
    background:#fff;
    box-shadow:0 14px 34px rgba(0,0,0,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(-6px);
    pointer-events:none;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}

.legacy-profile-dropdown:before{
    content:"";
    position:absolute;
    right:17px;
    top:-7px;
    width:12px;
    height:12px;
    background:#fff;
    border-left:1px solid #e5e7e9;
    border-top:1px solid #e5e7e9;
    transform:rotate(45deg);
}

.legacy-profile-menu:hover .legacy-profile-dropdown,
.legacy-profile-menu:focus-within .legacy-profile-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
}

.legacy-profile-menu:hover .legacy-profile-caret,
.legacy-profile-menu:focus-within .legacy-profile-caret{transform:rotate(180deg)}

.legacy-profile-dropdown a{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px 11px;
    border-radius:5px;
    color:#272727;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}
.legacy-profile-dropdown a:hover{background:#f5f8e9;color:#75900e}
.legacy-profile-dropdown .logout-link:hover{background:#fff4f4;color:#b43a43}

.legacy-mobile-toggle{display:none;border:0;background:transparent;width:40px;height:40px;padding:7px;margin-left:auto}
.legacy-mobile-toggle span{display:block;height:2px;background:#222;margin:6px 0}

/* Breadcrumb */
.legacy-breadcrumb-bar{background:#242424;color:#fff;min-height:48px;display:flex;align-items:center}
.legacy-breadcrumb-bar .container{display:flex;align-items:center;gap:28px;font-size:17px;font-weight:500}
.legacy-breadcrumb-bar a{color:#fff;text-decoration:none}
.legacy-breadcrumb-bar a:hover{color:#86a821}
.legacy-breadcrumb-separator{font-size:27px;line-height:1;color:#fff;margin-top:-2px}

/* Mid-size desktop: reduce gaps before switching to mobile navigation */
@media(max-width:1199.98px){
    .legacy-top-strip-inner{grid-template-columns:160px minmax(0,1fr) 125px 26px}
    .top-strip-green{padding-left:48px}
    .legacy-main-inner{grid-template-columns:160px minmax(0,1fr) auto;column-gap:24px}
    .legacy-nav{gap:20px}
    .legacy-nav a{font-size:14px}
    .legacy-logo img{max-width:112px}
    .legacy-profile-name{max-width:90px}
}

/* Tablet/mobile navigation */
@media(max-width:991.98px){
    .legacy-top-strip{height:44px}
    .legacy-top-strip-inner{height:44px;grid-template-columns:92px minmax(0,1fr) 102px 14px}
    .top-strip-left:after{right:-44px;border-top-width:44px;border-right-width:44px}
    .top-strip-green{padding-left:28px}
    .legacy-socials{gap:7px}
    .legacy-socials a{width:27px;height:27px;font-size:12px}
    .legacy-post-ad{font-size:14px}
    .post-plus{font-size:21px}

    .legacy-main-row{min-height:68px}
    .legacy-main-inner{grid-template-columns:125px 1fr auto;column-gap:10px;min-height:68px;padding-top:7px;padding-bottom:7px;position:relative}
    .legacy-logo{height:54px}
    .legacy-logo img{max-width:100px;max-height:55px}

    .legacy-mobile-toggle{display:block;grid-column:3;grid-row:1;justify-self:end}
    .legacy-account-links{grid-column:2;grid-row:1;justify-self:end;margin-right:4px}
    .legacy-profile-name{display:none}

    .legacy-nav-wrap{display:none!important;grid-column:1/-1;width:100%;grid-row:2}
    .legacy-nav-wrap.show{display:block!important}
    .legacy-nav{flex-direction:column;align-items:flex-start;gap:0;padding:10px 0;border-top:1px solid #ececec}
    .legacy-nav li{width:100%}
    .legacy-nav a{display:block;width:100%;padding:11px 4px;font-size:15px}

    .legacy-breadcrumb-bar .container{font-size:15px;gap:18px}
}

@media(max-width:575.98px){
    .legacy-top-strip-inner{grid-template-columns:48px minmax(0,1fr) 88px 6px}
    .top-strip-green{padding-left:10px}
    .legacy-socials{gap:5px}
    .legacy-socials a{width:24px;height:24px;font-size:11px}
    .legacy-post-ad{font-size:12px;gap:3px}
    .post-plus{font-size:18px}

    .legacy-main-inner{grid-template-columns:92px 1fr 42px;padding-left:12px;padding-right:12px}
    .legacy-logo img{max-width:78px;max-height:50px}
    .legacy-account-links{grid-column:2;justify-self:end}
    .legacy-account-links>a{font-size:13px}
    .legacy-profile-avatar{width:32px;height:32px;flex-basis:32px}
    .legacy-profile-trigger{padding-right:0;gap:5px}
    .legacy-profile-caret{display:none}
    .legacy-profile-dropdown{right:-38px;min-width:160px}
    .legacy-profile-dropdown:before{right:49px}
}

/* =========================================================
   Homepage marketplace ad sections
   ========================================================= */
.home-marketplace-section{padding:14px 0 4px;background:#f8f9f6}
.featured-marketplace-section{padding-top:42px}
.simple-marketplace-section{padding-bottom:42px}
.marketplace-panel{background:#fff;border:1px solid #e8ebe2;border-radius:12px;padding:20px 18px 16px;box-shadow:0 4px 16px rgba(32,36,25,.05)}
.marketplace-heading-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.marketplace-heading-copy{display:flex;align-items:center;gap:12px;min-width:0}
.marketplace-heading-copy h2{margin:0;font-size:24px;font-weight:700;line-height:1.2;color:#171717}
.marketplace-heading-copy p{margin:2px 0 0;color:#7a7f89;font-size:14px;white-space:nowrap}
.marketplace-heading-icon{width:22px;height:22px;display:inline-block;flex:0 0 22px;position:relative}
.marketplace-heading-icon.featured-icon{border:5px solid #72a931;transform:rotate(45deg);border-radius:2px}
.marketplace-heading-icon.featured-icon:after{content:"";position:absolute;width:7px;height:7px;background:#fff;top:2px;left:2px;border-radius:1px}
.marketplace-heading-icon.simple-icon{border:2px solid #72a931;border-radius:4px;margin-top:2px}
.marketplace-heading-icon.simple-icon:before{content:"";position:absolute;left:5px;right:5px;top:-6px;height:7px;border:2px solid #72a931;border-bottom:0;border-radius:5px 5px 0 0}
.marketplace-grid{display:grid;gap:14px}
.featured-ads-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.simple-ads-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.market-ad-card{background:#fff;border:1px solid #e6e8e2;border-radius:8px;overflow:hidden;box-shadow:0 2px 7px rgba(0,0,0,.045);min-width:0;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.market-ad-card:hover{transform:translateY(-3px);border-color:#d4dfb4;box-shadow:0 10px 24px rgba(40,52,22,.10)}
.market-ad-media{position:relative;background:#edf0e8;overflow:hidden;aspect-ratio:1.55/1}
.market-ad-image-link{display:block;width:100%;height:100%}
.market-ad-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .28s ease}
.market-ad-card:hover .market-ad-media img{transform:scale(1.025)}
.market-featured-badge{position:absolute;top:10px;left:10px;padding:5px 10px;border-radius:999px;background:#4fa52f;color:#fff;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.market-favorite-form{position:absolute;right:10px;top:10px;margin:0}
.market-favorite-btn{position:absolute;right:10px;top:10px;width:37px;height:37px;border-radius:50%;border:1px solid #cfd3ca;background:rgba(255,255,255,.96);color:#262626;display:grid;place-items:center;text-decoration:none;font-size:25px;line-height:1;cursor:pointer;padding:0;box-shadow:0 2px 6px rgba(0,0,0,.08);transition:.18s ease}
.market-favorite-form .market-favorite-btn{position:static}
.market-favorite-btn:hover,.market-favorite-btn.is-active{border-color:#8cab25;color:#75900e;background:#fff}
.market-photo-count{position:absolute;bottom:8px;left:9px;display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:4px;background:rgba(28,29,25,.82);color:#fff;font-size:11px;font-weight:600}
.market-ad-body{padding:12px 12px 10px}
.market-ad-body h3{font-family:'Poppins',sans-serif;font-size:15px;font-weight:600;line-height:1.35;margin:0 0 8px;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.market-ad-body h3 a{color:#171717;text-decoration:none}
.market-ad-body h3 a:hover{color:#75900e}
.market-ad-price{color:#2d7e24;font-size:16px;font-weight:800;margin-bottom:8px}
.market-ad-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#686e76;font-size:11.5px;line-height:1.25}
.market-location{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-pin{color:#3f9c31;font-size:13px;margin-right:5px}
.market-ad-footer{min-height:48px;border-top:1px solid #eceee9;background:#fbfbfa;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.market-seller{display:flex;align-items:center;min-width:0;gap:7px}
.market-seller-avatar{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:grid;place-items:center;background:#eff4d9;color:#596f0a;font-family:'Poppins',sans-serif;font-size:11px;font-weight:700;border:1px solid #dce7bd}
.market-seller-name{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#262626}
.market-view-count{white-space:nowrap;font-size:11px;font-weight:600;color:#6c7278}
.marketplace-view-all-wrap{text-align:center;padding-top:18px}
.marketplace-view-all-btn{min-width:270px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:9px 24px;border:1px solid #7aa436;border-radius:5px;color:#486e17;background:#fff;text-decoration:none;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;transition:.18s ease}
.marketplace-view-all-btn span{font-size:21px;line-height:1;transition:transform .18s ease}
.marketplace-view-all-btn:hover{background:#96b51b;border-color:#96b51b;color:#111}
.marketplace-view-all-btn:hover span{transform:translateX(3px)}
.marketplace-empty{border:1px dashed #d7ddca;border-radius:8px;background:#fbfcf8;padding:36px 18px;text-align:center;color:#73786d}

/* Simple cards are intentionally tighter so five cards fit one desktop row. */
.simple-ad-card .market-ad-body{padding:10px 10px 8px}
.simple-ad-card .market-ad-body h3{font-size:13px;min-height:36px;margin-bottom:6px}
.simple-ad-card .market-ad-price{font-size:14px;margin-bottom:7px}
.simple-ad-card .market-ad-meta{font-size:10.5px}
.simple-ad-card .market-ad-footer{padding:7px 9px;min-height:44px}
.simple-ad-card .market-seller-avatar{width:25px;height:25px;flex-basis:25px;font-size:10px}
.simple-ad-card .market-seller-name,.simple-ad-card .market-view-count{font-size:10.5px}
.simple-ad-card .market-favorite-btn{width:34px;height:34px;font-size:22px}

@media(max-width:1199.98px){
  .simple-ads-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .marketplace-heading-copy p{white-space:normal}
}
@media(max-width:991.98px){
  .featured-ads-grid,.simple-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .marketplace-panel{padding:18px 14px 15px}
}
@media(max-width:575.98px){
  .home-marketplace-section{padding-left:0;padding-right:0}
  .featured-marketplace-section{padding-top:26px}
  .marketplace-panel{border-radius:8px;padding:16px 11px 14px}
  .marketplace-heading-copy{align-items:flex-start;display:grid;grid-template-columns:24px 1fr;column-gap:9px;row-gap:1px}
  .marketplace-heading-copy h2{font-size:20px}
  .marketplace-heading-copy p{grid-column:2;font-size:12px}
  .featured-ads-grid,.simple-ads-grid{grid-template-columns:1fr}
  .market-ad-media{aspect-ratio:1.7/1}
  .simple-ad-card .market-ad-body h3,.market-ad-body h3{font-size:15px;min-height:auto}
  .simple-ad-card .market-ad-price,.market-ad-price{font-size:16px}
  .simple-ad-card .market-ad-meta,.market-ad-meta{font-size:11.5px}
  .simple-ad-card .market-seller-name,.simple-ad-card .market-view-count,.market-seller-name,.market-view-count{font-size:11.5px}
  .marketplace-view-all-btn{width:100%;min-width:0}
}

/* =========================================================
   Homepage redesign: hero through pricing
   ========================================================= */
.home-section{padding:90px 0}

/* HERO: supplied artwork as background; search form preserved */
.home-hero-section{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    background: url(../img/home-banner-bg.webp);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
}

.home-hero-container{position:relative;z-index:2;width:100%}
.home-hero-search-wrap{display:flex;justify-content:flex-end;align-items:center;min-height:100vh}
.home-hero-search-card{
    width:min(100%,370px);
    background:#fff;
    border-radius:14px;
    padding:30px 28px 28px;
    box-shadow:0 18px 50px rgba(25,52,7,.20);
    border:1px solid rgba(121,155,55,.14);
}
.home-search-title{font-family:'Poppins',sans-serif;font-size:23px;font-weight:700;color:#181818;line-height:1.25;text-align:center}
.home-title-line{display:block;width:28px;height:3px;border-radius:10px;background:#75a72a;margin:10px auto 22px}
.home-hero-search-card label{display:block;font-size:12px;font-weight:700;color:#2b2b2b;margin:0 0 7px}
.home-hero-search-card .form-select{height:52px;min-height:52px;border:1px solid #dde1d9;border-radius:7px;background-color:#fff;font-size:14px;margin-bottom:18px;box-shadow:none}
.home-hero-search-card .form-select:focus{border-color:#96b51b;box-shadow:0 0 0 3px rgba(150,181,27,.12)}
.home-search-button{width:100%;height:52px;border:0;border-radius:7px;background:linear-gradient(90deg,#51890d,#70a91f);color:#fff;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:.2s ease}
.home-search-button:hover{background:#75900e;transform:translateY(-1px)}

/* Shared heading */
.home-centered-heading{text-align:center;margin-bottom:34px}
.home-centered-heading h2{font-size:28px;font-weight:700;margin:0;color:#171717}
.home-centered-heading>span{display:block;width:28px;height:3px;background:#6fa427;border-radius:10px;margin:10px auto 0}

/* Categories */
.home-category-section{background:#fff}
.home-category-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}
.home-category-tile{min-height:118px;border:1px solid #e6e9e1;border-radius:11px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 10px;text-decoration:none;color:#171717;box-shadow:0 3px 10px rgba(0,0,0,.025);transition:.2s ease}
.home-category-tile:hover{border-color:#b9d078;box-shadow:0 10px 24px rgba(69,104,22,.09);transform:translateY(-3px);color:#5b8819}
.home-category-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f4f8e9;color:#5d8d1d;font-size:25px;margin-bottom:8px}
.home-more-icon{font-family:'Poppins',sans-serif;font-size:22px;letter-spacing:1px}
.home-category-tile strong{font-family:'Poppins',sans-serif;font-size:13px;font-weight:600}
.home-category-tile small{font-size:10px;color:#8b8f86;margin-top:4px}
.home-center-action{text-align:center;margin-top:24px}
.home-green-button{display:inline-flex;align-items:center;justify-content:center;min-width:190px;min-height:44px;padding:10px 24px;border-radius:5px;background:#5b9215;color:#fff;text-decoration:none;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;transition:.2s ease}
.home-green-button:hover{background:#75900e;color:#fff;transform:translateY(-1px)}

/* Marketplace sections */
.home-marketplace-section{padding:90px 0}
.featured-marketplace-section{background:#fafbf8}
.simple-marketplace-section{background:#fff}
.marketplace-panel{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.marketplace-heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}
.marketplace-heading-copy{display:flex;align-items:center;gap:12px;min-width:0}
.marketplace-heading-copy h2{margin:0;font-size:24px;font-weight:700;line-height:1.2;color:#171717}
.marketplace-heading-copy p{margin:2px 0 0;color:#7a7f89;font-size:13px;white-space:nowrap}
.marketplace-heading-link{display:inline-flex;align-items:center;gap:9px;color:#202020;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}
.marketplace-heading-link span{font-size:19px;transition:transform .2s ease}
.marketplace-heading-link:hover{color:#75900e}.marketplace-heading-link:hover span{transform:translateX(3px)}
.marketplace-grid{gap:14px}
.featured-ads-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.simple-ads-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.market-ad-card{border-radius:8px;box-shadow:0 3px 11px rgba(0,0,0,.05)}
.market-ad-media{aspect-ratio:1.48/1}
.market-ad-body h3{font-size:14px}
.market-ad-price{color:#367c18}
.marketplace-view-all-wrap{display:none}

/* TRUST BAR + CTA - refined to match the reference */
.home-trust-cta-section{background:#fff;padding:30px 0 0}
.home-trust-strip{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    border:1px solid #e5eadf;
    border-radius:10px;
    background:linear-gradient(90deg,#fbfcf8 0%,#f7faef 50%,#fbfcf8 100%);
    padding:18px 26px;
    margin-bottom:24px;
}
.home-trust-item{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}
.home-trust-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#74a92b;color:#fff;font-weight:800;font-size:16px;line-height:1}
.home-trust-support{font-size:12px;letter-spacing:1px}
.home-trust-return{font-size:23px}
.home-trust-item strong{display:block;font-size:13px;color:#1c1c1c;font-weight:700;line-height:1.25}
.home-trust-item small{display:block;font-size:10.5px;color:#777d72;margin-top:3px;line-height:1.3}

.home-sell-banner{
    min-height:118px;
    border-radius:10px;
    overflow:hidden;
    background:linear-gradient(90deg,#4e8c14 0%,#4b8d10 48%,#338108 100%);
    display:grid;
    grid-template-columns:245px minmax(0,1fr) auto;
    align-items:center;
    gap:26px;
    padding:0 34px 0 0;
    position:relative;
    box-shadow:0 3px 10px rgba(43,91,10,.08);
}
.home-sell-banner-image{
    height:118px;
    min-height:118px;
    background-image:url('../img/home-cta-golf.png');
    background-size:cover;
    background-position:center 35%;
    position:relative;
    align-self:stretch;
}
.home-sell-banner-image:after{
    content:"";
    position:absolute;
    inset:0 -1px 0 auto;
    width:62px;
    background:linear-gradient(90deg,rgba(76,139,16,0) 0%,rgba(76,139,16,.72) 62%,#4b8b10 100%);
    pointer-events:none;
}
.home-sell-banner-copy{color:#fff;position:relative;z-index:1}
.home-sell-banner-copy h2{font-size:28px;font-weight:800;letter-spacing:-.025em;margin:0 0 4px;color:#fff;line-height:1.12}
.home-sell-banner-copy p{margin:0;font-size:12px;color:rgba(255,255,255,.94)}
.home-sell-banner-button{min-width:164px;height:48px;border-radius:8px;background:#fff;color:#477d10;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;box-shadow:0 6px 18px rgba(0,0,0,.11);transition:.2s ease;position:relative;z-index:1}
.home-sell-banner-button:hover{color:#2f6508;transform:translateY(-2px)}

/* HOW IT WORKS - reference-style icons and curved connectors */
.home-how-section{background:#fff;padding:42px 0 90px}
.home-how-heading{margin-bottom:38px}
.home-how-grid{max-width:780px;margin:0 auto;display:grid;grid-template-columns:1fr 116px 1fr 116px 1fr;align-items:start;gap:0}
.home-how-step{text-align:center;position:relative;min-width:0}
.home-how-icon{width:62px;height:62px;border-radius:50%;background:linear-gradient(180deg,#69a91f,#3f850c);color:#fff;display:grid;place-items:center;margin:0 auto 14px;box-shadow:0 7px 18px rgba(79,128,15,.14);position:relative}
.home-how-icon svg{width:29px;height:29px;display:block;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-how-icon svg circle{fill:#fff;stroke:#fff}
.home-how-icon.home-how-send svg path:first-child{fill:#fff;stroke:#fff}
.home-how-icon.home-how-send svg path:last-child{stroke:#4e8f13;stroke-width:1.4}
.home-how-step h3{font-size:13px;font-weight:700;margin:0 0 7px;color:#202020;line-height:1.35}
.home-how-step p{font-size:11px;line-height:1.55;color:#62675f;margin:0 auto;max-width:175px}
.home-how-arrow{height:72px;position:relative}
.home-how-arrow span{position:absolute;left:18px;right:18px;top:27px;height:28px;border-top:1.4px solid #9aa291;border-radius:50% 50% 0 0;transform:skewX(-4deg)}
.home-how-arrow span:after{content:"";position:absolute;right:-1px;top:-5px;width:7px;height:7px;border-top:1.4px solid #9aa291;border-right:1.4px solid #9aa291;transform:rotate(38deg)}

/* Pricing */
.home-pricing-section{background:#fafbf8}
.home-pricing-heading{margin-bottom:46px}
.home-pricing-heading p{max-width:620px;margin:14px auto 0;color:#70766d;font-size:14px;line-height:1.6}
.home-pricing-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.home-price-card{position:relative;background:#fff;border:1px solid #dde4d5;border-radius:16px;padding:30px 28px 28px;overflow:hidden;box-shadow:0 10px 32px rgba(32,48,18,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;display:flex;flex-direction:column;min-height:430px}
.home-price-card:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(42,65,19,.11);border-color:#bdd28d}
.home-price-card.is-amateur{border-color:#a8c85e;box-shadow:0 14px 38px rgba(112,151,35,.11)}
.home-price-card.is-pro{background:linear-gradient(180deg,#f8fbea 0%,#fff 58%);border:2px solid #75900e;box-shadow:0 17px 42px rgba(91,128,24,.16)}
.home-plan-pill{position:absolute;right:18px;top:18px;padding:7px 11px;border-radius:999px;background:#eef5d9;color:#5b7e12;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.home-plan-pill-pro{background:#302d2e;color:#fff}
.home-price-head{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding-right:80px}
.home-price-icon{width:52px;height:52px;border-radius:11px;background:linear-gradient(145deg,#6aa118,#4f8d13);color:#fff;display:grid;place-items:center;font-size:21px;flex:0 0 52px;box-shadow:0 8px 18px rgba(81,139,19,.18)}
.is-pro .home-price-icon{background:linear-gradient(145deg,#302d2e,#171717)}
.home-price-copy{min-width:0}
.home-price-head h3{font-size:18px;font-weight:700;margin:0 0 7px;color:#222}
.home-price-line{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap}
.home-price-line strong{font-family:'Poppins',sans-serif;font-size:28px;line-height:1;color:#171717;font-weight:800}
.home-price-line small{font-size:10px;color:#747a70;font-weight:700;letter-spacing:.03em;margin-bottom:2px}
.home-plan-divider{height:1px;background:#edf0e8;margin:0 0 22px}
.home-plan-features{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:15px;flex:1}
.home-plan-features li{font-size:13px;color:#4a5046;display:flex;align-items:flex-start;gap:10px;line-height:1.45}
.home-plan-features li>span{width:21px;height:21px;border-radius:50%;background:#5b9617;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;flex:0 0 21px;margin-top:-1px}
.home-plan-features li strong{color:#252825;font-weight:700}
.home-price-button{width:100%;height:48px;border:1px solid #6f9f2c;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:10px;color:#4c7d12;background:#fff;text-decoration:none;font-family:'Poppins',sans-serif;font-size:13px;font-weight:700;transition:.2s ease;margin-top:auto}
.home-price-button>span{font-size:18px;line-height:1;transition:transform .2s ease}
.home-price-button:hover{background:#f3f8e5;color:#4c7d12;border-color:#75900e}
.home-price-button:hover>span{transform:translateX(3px)}
.home-price-button.solid{background:linear-gradient(90deg,#5d9718,#43850e);border-color:#4f8d13;color:#fff}
.home-price-button.solid:hover{background:#75900e;color:#fff}
.is-pro .home-price-button.solid{background:#302d2e;border-color:#302d2e}
.is-pro .home-price-button.solid:hover{background:#171717;border-color:#171717}

@media(max-width:1199.98px){
  .home-hero-section{min-height:610px;background-position:center center}
  .home-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .simple-ads-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .home-sell-banner{grid-template-columns:205px 1fr auto;padding-right:28px;gap:22px}
  .home-sell-banner-image{height:118px;min-height:118px}
  .home-sell-banner-copy h2{font-size:25px}
}

@media(max-width:991.98px){
  .home-hero-section{min-height:590px;background-position:47% center}
  .home-hero-search-wrap{min-height:410px}
  .home-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .featured-ads-grid,.simple-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .marketplace-heading-copy p{white-space:normal}
  .home-trust-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}
  .home-trust-item{justify-content:flex-start}
  .home-sell-banner{grid-template-columns:175px 1fr;gap:18px;padding-right:24px}
  .home-sell-banner-image{height:132px;min-height:132px}
  .home-sell-banner-button{grid-column:2;justify-self:start;margin-top:-4px;margin-bottom:16px}
  .home-how-grid{grid-template-columns:1fr 74px 1fr 74px 1fr;max-width:720px}
}

@media(max-width:767.98px){
  .home-hero-section{min-height:680px;background-position:38% center;align-items:flex-end}
  .home-hero-search-wrap{min-height:auto;justify-content:center;align-items:flex-end}
  .home-hero-search-card{max-width:520px;width:100%;margin:0px auto 0}
  .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .marketplace-heading-row{align-items:flex-start}
  .marketplace-heading-copy{display:grid;grid-template-columns:24px 1fr;column-gap:10px;row-gap:2px}
  .marketplace-heading-copy p{grid-column:2}
  .marketplace-heading-link{font-size:12px}
  .home-trust-strip{grid-template-columns:1fr;padding:18px 20px}
  .home-sell-banner{grid-template-columns:1fr;padding:26px 22px;text-align:center}
  .home-sell-banner-image{display:none}
  .home-sell-banner-button{grid-column:1;justify-self:center;margin:5px 0 0}
  .home-how-section{padding-top:38px}
  .home-how-grid{grid-template-columns:1fr;gap:24px;max-width:520px}
  .home-how-arrow{height:24px}
  .home-how-arrow span{left:50%;right:auto;top:-4px;width:24px;height:24px;border-top:0;border-left:1.4px solid #9aa291;border-radius:50% 0 0 50%;transform:translateX(-50%) rotate(-90deg)}
  .home-pricing-grid{grid-template-columns:1fr;max-width:520px}
}

@media(max-width:575.98px){
  .home-hero-section{min-height:650px;background-position:36% center}
  .home-hero-search-card{padding:24px 18px;margin-top:0px}
  .home-search-title{font-size:20px}
  .home-centered-heading h2{font-size:24px}
  .featured-ads-grid,.simple-ads-grid{grid-template-columns:1fr}
  .marketplace-heading-row{display:block}
  .marketplace-heading-link{margin-top:13px}
  .home-sell-banner-copy h2{font-size:23px}
  .home-price-card{padding:24px 20px}
}

/* =========================================================
   Header full-width alignment
   Desktop: 50px left/right padding across the full viewport
   ========================================================= */
@media (min-width: 992px){
    .legacy-top-strip-inner.container,
    .legacy-main-inner.container{
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
        padding-left:50px !important;
        padding-right:50px !important;
    }
}

/* Keep sensible spacing on smaller screens */
@media (max-width: 991.98px){
    .legacy-top-strip-inner.container,
    .legacy-main-inner.container{
        width:100% !important;
        max-width:none !important;
        padding-left:24px !important;
        padding-right:24px !important;
    }
}

@media (max-width: 575.98px){
    .legacy-top-strip-inner.container,
    .legacy-main-inner.container{
        padding-left:16px !important;
        padding-right:16px !important;
    }
}

/* =========================================================
   Premium ad cards + full-image display
   ========================================================= */

/* Never crop listing imagery. Keep the full uploaded image visible. */
.market-ad-media,
.search-market-media,
.listing-card > a,
.gallery-main,
.thumb{
    background:
        radial-gradient(circle at 20% 15%,rgba(150,181,27,.13),transparent 34%),
        linear-gradient(145deg,#f4f7ed 0%,#eef3e3 48%,#f9faf6 100%);
}

.market-ad-media{
    aspect-ratio:4/3;
    padding:10px;
    border-bottom:1px solid #edf0e8;
}

.market-ad-image-link{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    overflow:hidden;
    background:rgba(255,255,255,.55);
}

.market-ad-media img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    object-position:center center;
    padding:4px;
    background:transparent;
    transform:none !important;
}

.market-ad-card:hover .market-ad-media img{
    transform:scale(1.01) !important;
}

/* Completely remove the old image-count and views indicators. */
.market-photo-count,
.market-view-count{
    display:none !important;
}

.market-ad-card{
    position:relative;
    background:#fff;
    border:1px solid #e2e8db;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(45,60,29,.07);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.market-ad-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 40px rgba(45,60,29,.13);
    border-color:#c7d69f;
}

.featured-ad-card{
    border-color:#bacd87;
    box-shadow:0 10px 30px rgba(84,118,28,.12);
}

.featured-ad-card:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,#5d9219,#9dbd2c,#5d9219);
    z-index:3;
}

.simple-ad-card{
    border-color:#e1e6da;
    box-shadow:0 7px 20px rgba(31,38,23,.065);
}

.market-featured-badge{
    top:14px;
    left:14px;
    padding:6px 11px;
    border-radius:999px;
    background:linear-gradient(135deg,#5c991c,#87b62e);
    box-shadow:0 5px 14px rgba(72,117,21,.22);
    letter-spacing:.035em;
}

.market-favorite-btn{
    right:14px;
    top:14px;
    width:38px;
    height:38px;
    border:1px solid rgba(96,112,75,.25);
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(5px);
    box-shadow:0 5px 14px rgba(31,42,22,.10);
}

.market-ad-body{
    padding:15px 15px 13px;
}

.market-ad-kicker{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:8px;
    min-height:22px;
}

.market-ad-kicker span{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:3px 8px;
    border-radius:999px;
    background:#f1f6e4;
    color:#627c1a;
    font-size:9px;
    font-weight:700;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.market-ad-body h3{
    min-height:42px;
    margin:0 0 9px;
    font-size:14px;
    line-height:1.45;
    font-weight:700;
}

.market-ad-price{
    margin-bottom:10px;
    color:#347a17;
    font-family:'Poppins',sans-serif;
    font-size:17px;
    font-weight:700;
}

.market-ad-meta{
    padding-top:9px;
    border-top:1px solid #eff1eb;
    color:#777d73;
    font-size:10.5px;
}

.market-location{
    color:#5e6659;
}

.market-pin{
    display:inline-block;
    width:7px;
    height:7px;
    margin-right:6px;
    border-radius:50%;
    background:#6da822;
    color:transparent;
    vertical-align:1px;
}

.market-ad-footer{
    min-height:58px;
    padding:9px 14px;
    border-top:1px solid #e9ede4;
    background:linear-gradient(180deg,#fdfefb,#f8faf4);
}

.featured-ad-card .market-ad-footer{
    background:linear-gradient(180deg,#fbfdf6,#f2f7e7);
}

.market-seller-copy{
    display:flex;
    min-width:0;
    flex-direction:column;
    line-height:1.2;
}

.market-seller-copy small{
    margin-top:3px;
    color:#92988d;
    font-size:9px;
    white-space:nowrap;
}

.market-seller-avatar{
    width:31px;
    height:31px;
    flex-basis:31px;
    border:1px solid #d4dfb7;
    background:#edf4d9;
    color:#526d0d;
    box-shadow:inset 0 0 0 3px rgba(255,255,255,.55);
}

.market-seller-name{
    max-width:112px;
    font-size:11px;
    font-weight:600;
}

.market-card-link{
    display:inline-flex;
    align-items:center;
    gap:5px;
    flex:0 0 auto;
    color:#5f821b;
    text-decoration:none;
    font-size:10.5px;
    font-weight:700;
    white-space:nowrap;
}

.market-card-link span{
    transition:transform .18s ease;
}

.market-card-link:hover{
    color:#3f6510;
}

.market-card-link:hover span{
    transform:translateX(3px);
}

/* Simple ads remain compact but use the same premium visual language. */
.simple-ad-card .market-ad-body{
    padding:13px 13px 11px;
}

.simple-ad-card .market-ad-body h3{
    min-height:39px;
    margin-bottom:8px;
    font-size:12.5px;
}

.simple-ad-card .market-ad-price{
    margin-bottom:9px;
    font-size:14.5px;
}

.simple-ad-card .market-ad-footer{
    min-height:54px;
    padding:8px 12px;
}

.simple-ad-card .market-seller-name{
    max-width:82px;
}

/* Search/browse page cards */
.search-market-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.search-market-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid #e1e7da;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 25px rgba(40,51,29,.07);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.search-market-card:hover{
    transform:translateY(-5px);
    border-color:#c4d49a;
    box-shadow:0 18px 38px rgba(46,62,29,.12);
}

.search-market-card.is-featured{
    border-color:#b8cb83;
    box-shadow:0 10px 29px rgba(82,112,29,.11);
}

.search-market-card.is-featured:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:3;
    height:4px;
    background:linear-gradient(90deg,#5d9219,#9dbd2c,#5d9219);
}

.search-market-media{
    position:relative;
    aspect-ratio:4/3;
    padding:10px;
    overflow:hidden;
    border-bottom:1px solid #edf0e8;
}

.search-market-media>a{
    display:flex;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:10px;
    background:rgba(255,255,255,.55);
}

.search-market-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain !important;
    object-position:center;
    padding:4px;
}

.search-market-body{
    flex:1 1 auto;
    padding:15px 15px 13px;
}

.search-market-body h3{
    min-height:44px;
    margin:0 0 9px;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:700;
    line-height:1.45;
}

.search-market-body h3 a{
    color:#171717;
    text-decoration:none;
}

.search-market-body h3 a:hover{
    color:#64851b;
}

.search-market-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding-top:9px;
    border-top:1px solid #eff1eb;
    color:#777d73;
    font-size:10.5px;
}

.search-market-meta span:first-child{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.search-market-meta span:last-child{
    flex:0 0 auto;
    white-space:nowrap;
}

.search-market-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:58px;
    padding:9px 14px;
    border-top:1px solid #e9ede4;
    background:linear-gradient(180deg,#fdfefb,#f8faf4);
}

.search-market-card.is-featured .search-market-footer{
    background:linear-gradient(180deg,#fbfdf6,#f2f7e7);
}

.search-filter-card{
    border-radius:14px;
    border-color:#e1e7da;
    box-shadow:0 8px 24px rgba(40,51,29,.055);
}

/* Existing generic ad cards and ad-detail gallery: show whole images. */
.listing-card{
    border-radius:14px;
    border-color:#e1e7da;
    box-shadow:0 8px 25px rgba(40,51,29,.065);
}

.listing-card > a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:220px;
    padding:10px;
    overflow:hidden;
}

.listing-card img{
    width:100%;
    height:220px;
    padding:6px;
    object-fit:contain !important;
    object-position:center;
    background:transparent !important;
}

.gallery-main{
    width:100%;
    height:min(62vw,540px);
    max-height:540px;
    padding:14px;
    object-fit:contain !important;
    object-position:center;
    border:1px solid #e2e8db;
    border-radius:16px;
}

.thumb{
    padding:4px;
    object-fit:contain !important;
    object-position:center;
}

@media(max-width:1199.98px){
    .search-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:991.98px){
    .market-ad-media,.search-market-media{aspect-ratio:1.35/1}
    .market-ad-body h3,.simple-ad-card .market-ad-body h3{min-height:auto}
    .market-seller-name,.simple-ad-card .market-seller-name{max-width:140px}
}

@media(max-width:575.98px){
    .market-ad-media,.search-market-media{aspect-ratio:1.45/1;padding:8px}
    .market-ad-body,.simple-ad-card .market-ad-body,.search-market-body{padding:14px}
    .market-ad-footer,.simple-ad-card .market-ad-footer,.search-market-footer{padding:9px 13px}
    .search-market-grid{grid-template-columns:1fr;gap:18px}
    .market-seller-name,.simple-ad-card .market-seller-name{max-width:160px}
    .gallery-main{height:380px;padding:10px}
}

/* Pricing responsive refinements */
@media(max-width:991.98px){.home-pricing-grid{grid-template-columns:1fr;max-width:620px}.home-price-card{min-height:auto}}
@media(max-width:575.98px){.home-price-card{padding:25px 20px}.home-price-head{padding-right:0}.home-plan-pill{position:static;display:inline-flex;align-self:flex-start;margin-bottom:16px}.home-price-line strong{font-size:25px}}

/* Homepage Simple Ads: fixed four-column desktop layout (2026-10-26) */
@media (min-width: 992px) {
  .home-marketplace-section .marketplace-grid.simple-ads-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}


/* Homepage Simple Ads: larger, consistent image panels and aligned card content.
   Scoped to the homepage Simple Ads section only. */
.simple-marketplace-section .simple-ads-grid {
    align-items: stretch;
}
.simple-marketplace-section .simple-ad-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.simple-marketplace-section .simple-ad-card .market-ad-media {
    aspect-ratio: 5 / 4;
    padding: 6px;
    flex: 0 0 auto;
    background: #f0f3e9;
}
.simple-marketplace-section .simple-ad-card .market-ad-image-link {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    background: #e9ebe6;
    overflow: hidden;
}
.simple-marketplace-section .simple-ad-card .market-ad-media img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover !important;
    object-position: center;
    transform: none !important;
}
.simple-marketplace-section .simple-ad-card:hover .market-ad-media img {
    transform: none !important;
}
.simple-marketplace-section .simple-ad-card .market-ad-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}
.simple-marketplace-section .simple-ad-card .market-ad-body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.45;
    min-height: 2.9em;
    max-height: 2.9em;
}
.simple-marketplace-section .simple-ad-card .market-ad-price {
    margin-top: auto;
}
.simple-marketplace-section .simple-ad-card .market-ad-footer {
    flex: 0 0 auto;
}



/* Website container width adjusted */

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1600px !important;
    }
}