/* =========================================================
   GolfShop.pk premium single ad detail page
   ========================================================= */

.single-ad-page{
    padding:48px 0 90px;
    background:linear-gradient(180deg,#fbfcf8 0,#fff 320px);
    color:#171717;
}

.single-ad-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:28px;
    color:#90958c;
    font-size:13px;
}
.single-ad-breadcrumb a{color:#5e8217;text-decoration:none;font-weight:500}
.single-ad-breadcrumb a:hover{color:#75900e}
.single-ad-breadcrumb span:last-child{max-width:430px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#73786e}

.single-ad-layout{
    display:grid;
    grid-template-columns:minmax(0,1.42fr) minmax(355px,.88fr);
    gap:38px;
    align-items:start;
}

/* Gallery */
.single-gallery-card{min-width:0}
.single-gallery-stage{
    position:relative;
    height:610px;
    overflow:hidden;
    border:1px solid #dde6c9;
    border-radius:20px;
    background:
        radial-gradient(circle at 18% 18%,rgba(150,181,27,.13),transparent 31%),
        linear-gradient(135deg,#f2f7e7,#fbfcf8 55%,#eef4dd);
    box-shadow:0 14px 38px rgba(55,72,34,.065);
}
.single-main-image-button{
    width:100%;height:100%;border:0;background:transparent;padding:22px;
    display:flex;align-items:center;justify-content:center;cursor:zoom-in;
}
.single-main-image{
    width:100%;height:100%;display:block;object-fit:contain;object-position:center;
    filter:drop-shadow(0 8px 15px rgba(0,0,0,.05));
    transition:transform .25s ease;
}
.single-main-image-button:hover .single-main-image{transform:scale(1.012)}
.single-zoom-hint{
    position:absolute;right:18px;bottom:18px;display:inline-flex;align-items:center;gap:6px;
    padding:7px 11px;border-radius:999px;background:rgba(23,23,23,.76);color:#fff;
    font-size:11px;font-weight:600;backdrop-filter:blur(5px);pointer-events:none;
}
.single-featured-badge{
    position:absolute;top:18px;left:18px;z-index:4;padding:7px 12px;border-radius:999px;
    background:linear-gradient(135deg,#5f9918,#95b82a);color:#fff;text-transform:uppercase;
    letter-spacing:.035em;font-size:10px;font-weight:800;box-shadow:0 7px 18px rgba(74,118,22,.22);
}
.single-gallery-arrow{
    position:absolute;top:50%;z-index:4;transform:translateY(-50%);width:44px;height:44px;
    border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(22,25,19,.66);
    color:#fff;font-size:31px;line-height:1;display:grid;place-items:center;cursor:pointer;
    box-shadow:0 7px 20px rgba(0,0,0,.13);transition:.18s ease;
}
.single-gallery-arrow:hover{background:#75900e;transform:translateY(-50%) scale(1.05)}
.single-gallery-arrow.prev{left:17px}.single-gallery-arrow.next{right:17px}
.single-gallery-counter{
    position:absolute;left:18px;bottom:18px;padding:6px 10px;border-radius:999px;
    background:rgba(255,255,255,.9);border:1px solid #dce4ce;color:#4e5f3e;
    font-size:11px;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.055);
}
.single-thumbnails{display:flex;gap:12px;overflow-x:auto;padding:14px 2px 4px;scrollbar-width:thin}
.single-thumb{
    width:82px;height:76px;flex:0 0 82px;padding:5px;border:2px solid transparent;border-radius:12px;
    background:#f3f7e9;cursor:pointer;transition:.18s ease;
}
.single-thumb img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;border-radius:8px;background:#fff}
.single-thumb:hover{border-color:#c5d99a;transform:translateY(-2px)}
.single-thumb.active{border-color:#8eaf29;box-shadow:0 0 0 3px rgba(150,181,27,.12)}

/* Product information */
.single-ad-sidebar{min-width:0}
.single-ad-labels{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.single-chip{display:inline-flex;align-items:center;min-height:27px;padding:5px 10px;border-radius:999px;background:#eff2eb;color:#464c42;font-size:10px;font-weight:700}
.single-chip-featured{background:#96b51b;color:#172000}
.single-ad-title{margin:0 0 12px;font-size:clamp(31px,3.2vw,47px);line-height:1.1;font-weight:800;letter-spacing:-.035em;color:#222}
.single-ad-price{font-family:'Poppins',sans-serif;margin-bottom:10px;font-size:30px;line-height:1.1;font-weight:800;color:#244f0f}
.single-ad-location{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:20px;color:#6f756b;font-size:13px;line-height:1.55}
.single-location-dot{color:#6fa421;font-size:10px}.single-meta-divider{color:#c0c5ba}
.single-save-form{margin:0 0 22px}
.single-save-button{
    width:100%;min-height:49px;border:1px solid #9bbd39;border-radius:9px;background:#fff;
    color:#648519;font-family:'Poppins',sans-serif;font-size:12px;font-weight:700;
    display:flex;align-items:center;justify-content:center;gap:8px;transition:.18s ease;
}
.single-save-button span{font-size:17px;line-height:1}
.single-save-button:hover,.single-save-button.saved{background:#f4f8e8;border-color:#7ea021;color:#4c6d0e}

.single-info-card,.single-description-card{
    border:1px solid #e1e7d8;border-radius:18px;background:#fff;
    box-shadow:0 12px 34px rgba(41,54,29,.045);
}
.single-info-card{padding:20px;margin-bottom:20px}
.single-seller-head{display:flex;align-items:center;gap:13px;padding-bottom:17px;margin-bottom:14px;border-bottom:1px solid #edf0e9}
.single-seller-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:50%;object-fit:cover;border:2px solid #e2eabd;background:#eef5d6}
.single-seller-avatar-fallback{display:grid;place-items:center;color:#5d760f;font-family:'Poppins',sans-serif;font-weight:700}
.single-seller-head h2{margin:0 0 3px;font-size:14px;font-weight:700;color:#222}
.single-seller-head p{margin:0;color:#858a81;font-size:11px}
.single-seller-actions{display:grid;gap:9px}
.single-contact-button{min-height:44px;border-radius:7px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:700;transition:.18s ease}
.single-contact-button.dark{background:#24292c;color:#fff}.single-contact-button.dark:hover{background:#111;color:#fff}
.single-contact-button.green{background:#96b51b;color:#182000}.single-contact-button.green:hover{background:#75900e;color:#fff}

.single-card-kicker{display:block;margin-bottom:4px;color:#73941d;text-transform:uppercase;letter-spacing:.09em;font-size:9px;font-weight:800}
.single-card-heading h2{margin:0;font-size:20px;font-weight:700;color:#222}
.single-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-top:20px}
.single-details-grid span{display:block;margin-bottom:4px;color:#94998f;font-size:10px}
.single-details-grid strong{display:block;color:#252824;font-size:12px;font-weight:700;line-height:1.45}

/* Description */
.single-description-card{margin-top:42px;padding:28px 30px}
.single-description-copy{margin-top:18px;color:#4a5047;font-size:14px;line-height:1.85;max-width:930px}
.single-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.single-tags span{padding:6px 10px;border-radius:999px;background:#f0f5e4;color:#607b19;font-size:10px;font-weight:600}

/* Related Ads */
.related-ads-section{padding-top:70px}
.related-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.related-heading-row h2{margin:0 0 5px;font-size:28px;font-weight:800;color:#202020}
.related-heading-row p{margin:0;color:#81877d;font-size:12px}
.related-heading-row>a{display:inline-flex;align-items:center;gap:8px;color:#5f8318;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.related-heading-row>a span{font-size:18px;transition:transform .18s ease}.related-heading-row>a:hover span{transform:translateX(3px)}
.related-ads-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.related-ad-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 24px rgba(42,55,30,.06);transition:.2s ease;
}
.related-ad-card:hover{transform:translateY(-5px);border-color:#c4d59a;box-shadow:0 18px 38px rgba(45,61,28,.11)}
.related-ad-card.is-featured{border-color:#bbcf88}
.related-ad-card.is-featured:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;z-index:4;background:linear-gradient(90deg,#5f9619,#a0bf32,#5f9619)}
.related-ad-media{position:relative;height:220px;padding:10px;background:linear-gradient(135deg,#eef4df,#f9fbf5);border-bottom:1px solid #e8ede2}
.related-ad-media>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:rgba(255,255,255,.65)}
.related-ad-media img{width:100%;height:100%;display:block;padding:4px;object-fit:contain;object-position:center;transition:transform .22s ease}
.related-ad-card:hover .related-ad-media img{transform:scale(1.018)}
.related-featured-badge,.related-condition-badge{position:absolute;top:10px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800;box-shadow:0 3px 9px rgba(0,0,0,.08)}
.related-featured-badge{left:10px;background:#609b1a;color:#fff;text-transform:uppercase}
.related-condition-badge{right:10px;background:rgba(255,255,255,.94);border:1px solid #e0e5d8;color:#43483f}
.related-ad-body{flex:1 1 auto;padding:13px}
.related-ad-kicker{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.related-ad-kicker span{padding:4px 7px;border-radius:999px;background:#f2f6e9;color:#69871d;font-size:8px;font-weight:700}
.related-ad-body h3{min-height:40px;margin:0 0 8px;font-size:13px;font-weight:700;line-height:1.45}
.related-ad-body h3 a{color:#202020;text-decoration:none}.related-ad-body h3 a:hover{color:#66871d}
.related-ad-price{margin-bottom:9px;color:#2e751d;font-size:15px;font-weight:800}
.related-ad-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7b8177;font-size:9.5px}
.related-ad-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.related-ad-meta b{margin-right:5px;color:#6da122;font-size:8px}
.related-ad-footer{min-height:49px;padding:8px 11px;border-top:1px solid #e9ede5;background:#fafcf7;display:flex;align-items:center;justify-content:space-between;gap:7px}
.related-seller{display:flex;align-items:center;min-width:0;gap:6px}.related-seller-avatar{width:25px;height:25px;flex:0 0 25px;border-radius:50%;display:grid;place-items:center;background:#edf4d6;color:#5c740f;font-size:9px;font-weight:700}.related-seller>span:last-child{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#484d45;font-size:9.5px;font-weight:600}
.related-ad-footer>a{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#63851a;text-decoration:none;font-size:9.5px;font-weight:700}.related-ad-footer>a span{font-size:15px}

/* Lightbox */
body.lightbox-open{overflow:hidden}
.single-lightbox{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(7,8,6,.93);opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease}
.single-lightbox.show{opacity:1;visibility:visible;pointer-events:auto}
.single-lightbox-stage{position:relative;width:min(1180px,88vw);height:86vh;display:flex;align-items:center;justify-content:center}
.single-lightbox-stage img{max-width:100%;max-height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 18px 42px rgba(0,0,0,.35))}
.single-lightbox-close,.single-lightbox-arrow{position:absolute;border:0;border-radius:50%;display:grid;place-items:center;color:#fff;cursor:pointer;z-index:3}
.single-lightbox-close{top:22px;right:24px;width:46px;height:46px;background:rgba(255,255,255,.14);font-size:27px}.single-lightbox-close:hover{background:#96b51b;color:#101600}
.single-lightbox-arrow{top:50%;transform:translateY(-50%);width:48px;height:48px;background:rgba(255,255,255,.13);font-size:32px}.single-lightbox-arrow:hover{background:#7ea11d}.single-lightbox-arrow.prev{left:24px}.single-lightbox-arrow.next{right:24px}
.single-lightbox-counter{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:700}

@media(max-width:1199.98px){
    .single-gallery-stage{height:540px}
    .related-ads-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .related-ad-card:nth-child(4){display:none}
}

@media(max-width:991.98px){
    .single-ad-page{padding-top:36px}
    .single-ad-layout{grid-template-columns:1fr;gap:30px}
    .single-gallery-stage{height:560px}
    .single-ad-title{font-size:38px}
    .single-ad-sidebar{max-width:none}
    .related-ads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .related-ad-card:nth-child(4){display:flex}
}

@media(max-width:575.98px){
    .single-ad-page{padding:28px 0 65px}
    .single-ad-breadcrumb{margin-bottom:20px;font-size:11px}
    .single-gallery-stage{height:390px;border-radius:14px}
    .single-main-image-button{padding:12px}
    .single-gallery-arrow{width:36px;height:36px;font-size:25px}.single-gallery-arrow.prev{left:10px}.single-gallery-arrow.next{right:10px}
    .single-zoom-hint{right:10px;bottom:10px;font-size:9px}.single-gallery-counter{left:10px;bottom:10px}
    .single-thumb{width:68px;height:62px;flex-basis:68px}
    .single-ad-title{font-size:30px}.single-ad-price{font-size:25px}.single-ad-location{font-size:11.5px}
    .single-info-card{padding:17px}.single-details-grid{gap:15px 14px}
    .single-description-card{margin-top:30px;padding:22px 18px}
    .related-ads-section{padding-top:52px}.related-heading-row{align-items:flex-start;flex-direction:column;gap:10px}.related-heading-row h2{font-size:24px}
    .related-ads-grid{grid-template-columns:1fr}.related-ad-media{height:260px}
    .single-lightbox{padding:12px}.single-lightbox-stage{width:100%;height:82vh}.single-lightbox-arrow{width:38px;height:38px;font-size:26px}.single-lightbox-arrow.prev{left:10px}.single-lightbox-arrow.next{right:10px}.single-lightbox-close{top:14px;right:14px;width:40px;height:40px}
}
