/* Amazon-style tablet + desktop layout (update 118): home, category, brand, product pages. Phones keep the mobile layout (update 114). */
@media (min-width:769px){
  :root{--az-line:#d5d9d9;--az-yellow:#ffd814;--az-yellow2:#f7ca00;--az-orange:#ffa41c;--az-orange2:#fa8900;--az-price:#0f1111;--az-link:#007185;--az-red:#b12704;--az-green:#007600}
  body{background:#eaeded}
  .container{max-width:1500px;padding:0 18px}

  /* ---------- Product cards (listing + shelves) ---------- */
  .pgrid{gap:14px}
  .pcard{border-radius:8px;box-shadow:none;border:1px solid var(--az-line);transition:box-shadow .15s}
  .pcard:hover{transform:none;box-shadow:0 2px 10px rgba(15,17,17,.18);border-color:var(--az-line)}
  .pcard-img{background:#fff;padding:14px 14px 4px;aspect-ratio:1/1}
  .pcard:hover .pcard-img img{transform:none}
  .pcard-body{padding:6px 14px 14px}
  .pcard-brand{font-size:11.5px;letter-spacing:.04em;color:#565959;font-weight:700}
  .pcard h3{font-size:15px;font-weight:500;line-height:1.35;margin:2px 0 4px;-webkit-line-clamp:3;min-height:60px}
  .pcard h3 a{color:#0f1111}.pcard h3 a:hover{color:var(--az-orange2);text-decoration:underline}
  .pcard-meta{font-size:12px;color:#565959}
  .pcard .stars{margin:0 0 4px}
  .pcard-price strong{font-size:21px;font-weight:500;color:var(--az-price)}
  .pcard-price strong.rq{font-size:16px;color:var(--az-red);font-weight:600}
  .pcard-price del{color:#565959;font-size:12.5px}
  .dealer-tag{color:var(--az-red)!important;font-weight:600}
  .pcard-actions{flex-direction:column;gap:6px;margin-top:10px}
  .pcard-actions .btn{border-radius:999px;font-weight:500;font-size:13.5px;min-height:32px;padding:6px 12px;justify-content:center}
  .pcard-actions .btn-primary,.pcard-actions .btn-outline{background:var(--az-yellow);border:1px solid var(--az-yellow2);color:#0f1111;box-shadow:none}
  .pcard-actions .btn-primary:hover,.pcard-actions .btn-outline:hover{background:var(--az-yellow2)}
  .pcard-actions .btn-wa{background:#fff;color:#0f1111;border:1px solid #a2a6ac;box-shadow:none}
  .pcard-actions .btn-wa .ic{color:#1fb855}
  .pcard-actions .btn-wa:hover{background:#f7fafa}
  .badge{border-radius:2px;font-weight:600}
  .badge-sale,.badge-hot{background:#cc0c39;color:#fff}.badge-new{background:#067d62;color:#fff}

  /* ---------- Category / brand listing ---------- */
  .page-hero{background:#fff!important;color:#0f1111;padding:10px 0 12px;border-bottom:1px solid var(--az-line);min-height:0!important}
  .page-hero:after{display:none}
  .page-hero[style*="url("]{background-color:#fff}
  .page-hero h1{color:#0f1111;font-size:24px;font-weight:700;margin:2px 0 2px}
  .page-hero p{color:#565959;font-size:14px;max-width:1100px}
  .page-hero .crumbs,.page-hero .crumbs a{color:#565959}
  .page-hero .subcats,.page-hero .brand-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
  .page-hero .subcats a,.page-hero .brand-chips a{background:#fff;border:1px solid var(--az-line);color:#0f1111;border-radius:8px;padding:5px 12px;font-size:13.5px}
  .page-hero .subcats a:hover,.page-hero .brand-chips a:hover{border-color:var(--az-orange);background:#fffaf0}
  .page-hero .subcats a.on{background:#f0f2f2;border-color:#0f1111;font-weight:600}
  .crumbs{font-size:12.5px;padding:10px 0 4px}
  .crumbs a{color:#565959}.crumbs a:hover{color:var(--az-orange2);text-decoration:underline}
  .listing{padding-top:14px}
  .filters{background:transparent;box-shadow:none;border-radius:0;padding:0 14px 0 0;border-right:1px solid var(--az-line);top:110px}
  .f-block{border-bottom:1px solid #e7e7e7;padding:0 0 12px;margin:0 0 12px}
  .filters h4{font-size:14px;font-weight:700;color:#0f1111;margin:0 0 6px}
  .f-list label{font-size:13.5px;color:#0f1111}
  .f-list label small{color:#565959;background:none}
  .filters .btn-primary{background:var(--az-yellow);border:1px solid var(--az-yellow2);color:#0f1111;border-radius:999px;box-shadow:none}
  .results-bar{background:#fff;border:1px solid var(--az-line);box-shadow:none;border-radius:8px;padding:8px 14px}
  .results-bar select{border-radius:8px;background:#f0f2f2;border:1px solid #d5d9d9}
  .results .pager a{border-radius:6px;border:1px solid var(--az-line)}
  .seo-text{background:#fff;border:1px solid var(--az-line);border-radius:8px;box-shadow:none}

  /* ---------- Product page: gallery | details | buy box ---------- */
  .pdp{display:grid;padding:22px 24px;grid-template-columns:minmax(0,5fr) minmax(0,4.2fr) 300px;column-gap:28px;row-gap:0;background:#fff;border:1px solid var(--az-line);border-radius:8px;box-shadow:none;padding:22px 24px;align-items:start}
  .pdp-info{display:contents}
  .pdp>.gallery{grid-column:1;grid-row:1/span 14;display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:start;position:sticky;top:100px}
  .pdp .g-main{grid-column:2;grid-row:1;background:#fff;border-radius:0;padding:0;aspect-ratio:1/1;max-height:none;cursor:zoom-in;display:grid;place-items:center}
  .pdp .g-main img{max-height:100%}
  .pdp .g-thumbs{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:8px;margin:0;padding:0;overflow:visible}
  .pdp .g-thumbs button{width:56px;height:56px;border-radius:6px;border:1px solid var(--az-line);padding:3px;background:#fff}
  .pdp .g-thumbs button.on,.pdp .g-thumbs button:hover{border-color:var(--az-orange);box-shadow:0 0 0 2px #fde7c3}
  .pdp-info>*:not(.buybox){grid-column:2;order:0}
  .pdp>.gallery{order:0;margin:0;padding:0;background:transparent;border-radius:0}
  .pdp-info>.pcard-brand{grid-row:1;padding:0;font-size:14px;color:var(--az-link);font-weight:500;text-transform:none;letter-spacing:0;align-self:end}
  .pdp-info>.pcard-brand:before{content:"Visit the ";color:#565959}
  .pdp-info>.pcard-brand:after{content:" Store";color:var(--az-link)}
  .pdp-info h1{font-size:24px;font-weight:500;line-height:1.3;color:#0f1111;margin:2px 0 6px}
  .pdp-codes{border-bottom:1px solid #e7e7e7;padding-bottom:10px;margin-bottom:10px;font-size:13px}
  .pdp-codes .st{font-weight:600}
  .pdp-info .lead{font-size:14.5px;color:#0f1111}
  .key-specs{margin:6px 0 10px}
  .key-specs li{font-size:14px;padding:3px 0}
  .key-specs li span{display:inline!important}
  .pdp-info .trust,.pdp-info .trust-strip{grid-column:2}
  .cmp-inline{grid-column:2;font-size:13px;color:#565959}
  .buybox{grid-column:3;grid-row:1/span 14;align-self:start;position:sticky;top:100px;background:#fff;border:1px solid var(--az-line);border-radius:8px;padding:18px 18px 14px}
  .bb-price strong{font-size:28px;font-weight:500;color:var(--az-price)}
  .bb-price strong.rq{font-size:22px;color:var(--az-red);font-weight:600}
  .bb-price del{color:#565959}
  .bb-price small{display:block;color:#565959;font-size:12.5px;margin-top:4px}
  .bb-cart{display:flex;flex-direction:column;gap:10px;margin-top:12px}
  .bb-cart .qty{align-self:flex-start;border:1px solid #d5d9d9;border-radius:8px;background:#f0f2f2;box-shadow:0 2px 5px rgba(15,17,17,.15)}
  .bb-cart .btn-primary{background:var(--az-yellow);border:1px solid var(--az-yellow2);color:#0f1111;border-radius:999px;box-shadow:none;justify-content:center;font-weight:500}
  .bb-cart .btn-primary:hover{background:var(--az-yellow2)}
  .bb-alt{display:flex;flex-direction:column;gap:8px;margin-top:8px}
  .bb-alt .btn{border-radius:999px;justify-content:center;font-weight:500;box-shadow:none}
  .bb-alt .btn-wa{background:var(--az-orange);border:1px solid var(--az-orange2);color:#0f1111}
  .bb-alt .btn-wa:hover{background:var(--az-orange2)}
  .bb-alt .btn-outline{background:#fff;border:1px solid #a2a6ac;color:#0f1111}
  .assure{font-size:12.5px;color:#565959;border-top:1px solid #e7e7e7;margin-top:12px;padding-top:10px}
  .assure li{padding:3px 0}
  .pd-card,.pdp-tabs,.enquiry{border:1px solid var(--az-line);border-radius:8px;box-shadow:none}
  .pdp-tabs{background:#fff}
  .tab-btns button{border-radius:0;border:0;border-bottom:3px solid transparent;background:none;font-weight:600}
  .tab-btns button.active{border-bottom-color:var(--az-orange);color:#0f1111;background:none}
  .section .sec-head h2{font-size:21px;font-weight:700;color:#0f1111}
  .section .sec-head h2:after{display:none}
  .section .sec-head{margin-bottom:12px}
  .link-more{color:var(--az-link)}.link-more:hover{color:var(--az-orange2);text-decoration:underline}
  .sticky-buy{display:none}
}

/* ---------- Home: Amazon-style cards + shelves ---------- */
@media (min-width:769px){
  .theme-market .mk-cards{gap:18px}
  .theme-market .mk-card,.theme-market .mk-cards>*{border-radius:8px;box-shadow:none;border:1px solid var(--az-line)}
  .theme-market .mk-cards ~ section.container.section,.theme-market .mk-cards ~ .section.alt-bg>.container{border:1px solid var(--az-line);box-shadow:none;border-radius:8px}
  .theme-market .mk-cards ~ .section .sec-head h2{font-size:21px;font-weight:700;color:#0f1111}
}

/* ---------- Tablet (769-1100px) ---------- */
@media (min-width:769px) and (max-width:1100px){
  .pdp{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:22px;padding:16px}
  .pdp>.gallery{grid-column:1;grid-row:1/span 12}
  .pdp-info>*:not(.buybox){grid-column:2}
  .buybox{grid-column:2;grid-row:auto;position:static;margin-top:12px;order:0}
  .pdp-info h1{font-size:21px;margin:2px 0 6px;padding:0}
  .pdp>.gallery{grid-template-columns:52px 1fr;gap:8px}
  .pdp .g-thumbs button{width:46px;height:46px}
  .container{padding:0 14px}
}

@media (min-width:769px) and (max-width:920px){.results .pgrid{grid-template-columns:repeat(3,1fr)}.filters{border-right:0;padding:12px;background:#fff;border:1px solid var(--az-line);border-radius:8px}.results-bar{flex-wrap:wrap}}
@media (min-width:921px){.listing{grid-template-columns:230px 1fr;gap:20px}.results .pgrid{grid-template-columns:repeat(4,1fr)}}
@media (min-width:921px) and (max-width:1100px){.listing{grid-template-columns:190px 1fr;gap:14px}.results .pgrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1101px) and (max-width:1280px){.results .pgrid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1600px){.results .pgrid{grid-template-columns:repeat(5,1fr)}}
