/* Product page — layout after companion.com.pk PDP (Ella), Trendy data + red accent. */
.pdp .crumbs{font-size:13.5px;padding:20px 0 14px}
.pdp .crumbs [aria-current]{font-weight:700;border-bottom:1.5px solid var(--accent);padding-bottom:1px}
.pdp-main{display:grid;grid-template-columns:47.6% minmax(0,1fr);gap:30px;align-items:start}
@media(max-width:1199px){.pdp-main{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:767px){.pdp-main{grid-template-columns:1fr;gap:16px}}

/* ---------- gallery ---------- */
.pdp-gal{position:sticky;top:calc(var(--hdr) + 16px)}
@media(max-width:767px){.pdp-gal{position:static;margin:0 -16px}}
.pdp-stage{position:relative;background:#f6f6f6;aspect-ratio:585/500;overflow:hidden;border-radius:var(--r)}
@media(max-width:767px){.pdp-stage{aspect-ratio:39/35;border-radius:0}}
.pdp-track{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.pdp-track::-webkit-scrollbar{display:none}
.pdp-track:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.pdp-slide{flex:0 0 100%;width:100%;height:100%;margin:0;scroll-snap-align:start;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in}
.pdp-slide img{width:88%;height:88%;object-fit:contain;mix-blend-mode:multiply;transition:transform .15s ease-out;transform-origin:var(--zx,50%) var(--zy,50%)}
.pdp-slide.is-zoom img{transform:scale(2.2);transition:none}
@media(hover:none){.pdp-slide{cursor:default}}
.pdp-arr{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s,background .2s;z-index:2}
.pdp-arr svg{width:18px;height:18px}
.pdp-arr:hover{background:rgba(0,0,0,.75)}
.pdp-arr--l{left:12px}.pdp-arr--r{right:12px}
.pdp-stage:hover .pdp-arr,.pdp-arr:focus-visible{opacity:1}
.pdp-count{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.55);color:#fff;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;display:none}
.pdp-expand{position:absolute;right:12px;bottom:12px;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 6px rgba(0,0,0,.14);opacity:0;transition:opacity .2s;z-index:2}
.pdp-expand svg{width:18px;height:18px}
.pdp-stage:hover .pdp-expand,.pdp-expand:focus-visible{opacity:1}
@media(max-width:767px){
  .pdp-arr{opacity:1;border-radius:2px;width:40px;height:40px;background:rgba(0,0,0,.45)}
  .pdp-arr--l{left:10px}.pdp-arr--r{right:10px}
  .pdp-count{display:block}
  .pdp-expand{opacity:1}
}
.pdp-noimg{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--grey2);font-size:13px;font-weight:600}
.pdp-noimg svg{width:44px;height:44px;opacity:.5}
.pdp-thumbs{display:flex;align-items:center;gap:8px;margin-top:18px}
@media(max-width:767px){.pdp-thumbs{margin:10px 16px 0}}
.pdp-tarr{flex:0 0 40px;height:40px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s}
.pdp-tarr svg{width:16px;height:16px}
.pdp-tarr:hover{background:var(--ink)}
.pdp-tarr[disabled]{opacity:.3;cursor:default}
.pdp-thumbs-track{flex:1;display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;scroll-behavior:smooth;padding:2px}
.pdp-thumbs-track::-webkit-scrollbar{display:none}
.pdp-thumb{flex:0 0 calc((100% - 40px)/5);aspect-ratio:1;background:#f6f6f6;border-radius:var(--r);overflow:hidden;scroll-snap-align:start;transition:opacity .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px transparent}
.pdp-thumb img{width:84%;height:84%;object-fit:contain;mix-blend-mode:multiply}
.pdp-thumb[aria-selected=true]{opacity:.35}
.pdp-thumb:hover{opacity:.6}
.pdp-thumb:focus-visible{outline:2px solid var(--accent);outline-offset:0;opacity:1}
@media(max-width:767px){.pdp-thumb{flex-basis:calc((100% - 50px)/6)}.pdp-tarr{display:none}}
@media(max-width:480px){.pdp-thumb{flex-basis:calc((100% - 40px)/5)}}

/* ---------- info column ---------- */
.pdp-info{min-width:0}
.pdp-brand{font-size:15px;text-transform:uppercase;letter-spacing:.8px;color:var(--grey);font-weight:500;margin:4px 0 6px}
.pdp-brand a:hover{color:var(--accent)}
.pdp-title{margin:0 0 6px;font-size:22px;font-weight:700;line-height:1.3;color:#000}
.pdp-price{font-size:19px;font-weight:700;color:var(--ink);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-height:28px}
.pdp-price small{font-size:13px;font-weight:500;color:var(--grey)}
.pdp-price del{font-size:15px;font-weight:500;color:var(--grey2)}
.pdp-price .price{font-size:16px;font-weight:600;color:var(--grey)}
.pdp-stock{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;margin:6px 0 0;color:var(--accent)}
.pdp-stock[hidden]{display:none}
.pdp-stock::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.pdp-intro{margin:14px 0 0;font-size:14px;line-height:25px;color:#3c3c3c}
.pdp-form{margin-top:22px}

/* options */
.pdp-opt{border:0;margin:0 0 16px;padding:0;min-width:0}
.pdp-opt legend{font-size:14px;font-weight:600;padding:0;margin-bottom:8px;color:var(--ink)}
.pdp-opt-val{font-weight:400}
.pdp-sw{display:flex;flex-wrap:wrap;gap:6px 6px}
.sw{position:relative;display:block;cursor:pointer}
.sw-box{display:flex;align-items:center;justify-content:center;transition:border-color .2s,box-shadow .2s,color .2s}
.pdp-sw--color .sw-box{width:44px;height:44px;border:1px solid transparent;border-radius:5px;padding:4px;background:var(--sw,#ccc);background-clip:content-box;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px rgba(0,0,0,.12)}
.pdp-sw--color .sw:hover .sw-box{border-color:#9a9a9a}
.pdp-sw--color .sw:has(input:checked) .sw-box{border-color:var(--ink);border-width:2px;padding:3px}
.sw-tip{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);background:#fff;border:1px solid #9a9a9a;border-radius:4px;font-size:10.5px;font-weight:600;padding:2px 7px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:3;color:#000}
.sw-tip::before{content:"";position:absolute;left:50%;top:-5px;margin-left:-4px;border:4px solid transparent;border-top:0;border-bottom-color:#9a9a9a}
.sw:hover .sw-tip,.sw:has(input:focus-visible) .sw-tip{opacity:1}
.pdp-sw--text .sw-box{min-width:46px;height:44px;padding:0 16px;border:1px solid #c7c7c7;border-radius:var(--r);font-size:13px;font-weight:600;color:var(--ink);background:#fff}
.pdp-sw--text .sw:hover .sw-box{border-color:var(--ink)}
.pdp-sw--text .sw:has(input:checked) .sw-box{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:var(--ink);color:#fff}
.sw:has(input:focus-visible) .sw-box{outline:2px solid var(--accent);outline-offset:2px}
.sw.is-off{opacity:.45;cursor:not-allowed}
.sw.is-off .sw-box{position:relative}
.sw.is-off .sw-box::after{content:"";position:absolute;left:50%;top:-6%;height:112%;width:1.5px;background:var(--ink);transform:rotate(45deg)}
.pdp-sw--color .sw.is-off .sw-box::after{background:#333}
.pdp-clear{font-size:12.5px;text-decoration:underline;color:var(--grey);margin:-14px 0 6px;min-height:40px;display:inline-flex;align-items:center}
.pdp-clear:hover{color:var(--accent)}

/* buy row */
.pdp-buy{display:flex;gap:15px;margin-top:6px}
.pdp-qty{display:flex;align-items:stretch;border:1px solid #c7c7c7;border-radius:var(--r);height:46px;flex:0 0 150px;background:#fff}
.pdp-qty button{width:44px;font-size:20px;color:#5a5a5a;display:flex;align-items:center;justify-content:center;transition:color .15s}
.pdp-qty button:hover{color:var(--ink)}
.pdp-qty input{width:0;flex:1;min-width:40px;text-align:center;border:0;font:500 16px var(--f);color:var(--ink);background:transparent;-moz-appearance:textfield;outline:none}
.pdp-qty input::-webkit-outer-spin-button,.pdp-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pdp-quote{flex:1;display:flex;min-width:0}
.pdp-add{width:100%;height:46px;font-size:14px;letter-spacing:.6px}
.pdp-wa{margin-top:12px;height:50px;font-size:14.5px}
/* disabled = grey, but still clickable: product.js explains what to choose (no pointer-events:none). Scoped so the header
   drawer's "Send order" button keeps its shared behaviour on product pages. */
.pdp .btn[aria-disabled=true],.pdp-bar .btn[aria-disabled=true]{background:#8a8a8a;cursor:not-allowed}
.pdp-hint{margin:10px 0 0;font-size:13px;color:var(--grey)}
.pdp-hint.is-warn{color:var(--accent);font-weight:600}
@media(max-width:400px){.pdp-qty{flex-basis:130px}.pdp-qty button{width:40px}}

/* wishlist + share */
.pdp-row2{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px}
.pdp-wish{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:500;min-height:40px}
.pdp-wish svg{width:20px;height:20px}
.pdp-wish span{border-bottom:2px solid var(--accent);padding-bottom:1px}
.pdp-wish[aria-pressed=true]{color:var(--accent)}
.pdp-wish[aria-pressed=true] svg path{fill:currentColor}
.pdp-share{display:flex;align-items:center;gap:4px}
.pdp-share > span{font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--grey2);margin-right:4px}
.pdp-share a,.pdp-share button{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--grey);transition:background .15s,color .15s}
.pdp-share a:hover,.pdp-share button:hover{background:var(--well);color:var(--ink)}
.pdp-share svg{width:18px;height:18px}

/* trust row */
.pdp-trust{list-style:none;margin:22px 0 0;padding:16px 0 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}
.pdp-trust li{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:var(--grey);line-height:1.45}
.pdp-trust li > svg{width:22px;height:22px;flex:0 0 22px;color:var(--accent);margin-top:1px}
.pdp-trust li:first-child > svg{color:var(--wa-d)}
.pdp-trust b{display:block;font-size:13.5px;color:var(--ink);margin-bottom:1px}
.pdp-trust a{text-decoration:underline;text-underline-offset:2px}
.pdp-trust a:hover{color:var(--accent)}
.pay--sm{margin-top:4px}
.pay--sm li{padding:2px 8px;font-size:11px}
@media(max-width:480px){.pdp-trust{grid-template-columns:1fr}}

/* accordion */
.pdp-acc{margin-top:26px;border-top:1px solid #000}
.acc{border-bottom:1px solid #000}
.acc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 0;font-size:17px;font-weight:600;cursor:pointer;color:var(--ink)}
.acc summary::-webkit-details-marker{display:none}
.acc summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.acc summary i{position:relative;width:14px;height:14px;flex:0 0 14px}
.acc summary i::before,.acc summary i::after{content:"";position:absolute;background:var(--ink);left:0;top:6px;width:14px;height:2px;transition:transform .2s}
.acc summary i::after{transform:rotate(90deg)}
.acc[open] summary i::after{transform:rotate(0)}
.acc-b{padding:2px 0 22px}
.acc-b.prose{font-size:14.5px;line-height:1.7}
.acc-b.is-clamp{max-height:420px;overflow:hidden;position:relative;padding-bottom:0}
.acc-b.is-clamp::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(rgba(255,255,255,0),#fff 80%)}
.pdp-more{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:2px 0 16px;font-size:13.5px;font-weight:700;border-bottom:1.5px solid currentColor;line-height:1.2}
.pdp-more::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.pdp-more[aria-expanded=true]::after{transform:rotate(225deg) translateY(-2px)}
.pdp-more:hover{color:var(--accent)}
.pdp-specs{border-collapse:collapse;width:100%;font-size:14px}
.pdp-specs th,.pdp-specs td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.pdp-specs th{width:40%;font-weight:600;color:#000;white-space:nowrap}
.pdp-specs td{color:#3f3f3f}
.pdp-deliv{font-size:14px;line-height:1.65;color:#3c3c3c}
.pdp-deliv p{margin:0 0 10px}
.pdp-deliv a{text-decoration:underline;text-underline-offset:2px}
.pdp-deliv a:hover{color:var(--accent)}
.pdp-deliv .pay{margin:0 0 12px}
.acc--faq summary{font-size:15px}
.acc--faq .acc-b{padding-bottom:14px;font-size:14px;color:#3c3c3c}
.acc--faq .acc-b p{margin:0}
.pdp-faq{margin-top:34px}
.ttl--sm{font-size:18px;margin-bottom:12px;letter-spacing:.2px}
.pdp-sku{margin:22px 0 0;font-size:13px;color:#3f3f3f}
@media(max-width:767px){.pdp-title{font-size:19px}.pdp-price{font-size:17px}.acc summary{font-size:15.5px}}

/* ---------- related ---------- */
.pdp-rel{padding-top:56px}
.rel{position:relative}
.rel-track{display:flex;gap:30px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth;padding:2px 2px 6px}
.rel-track::-webkit-scrollbar{display:none}
.rel-item{flex:0 0 calc((100% - 90px)/4);min-width:0;scroll-snap-align:start}
@media(max-width:1199px){.rel-track{gap:20px}.rel-item{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:767px){.pdp-rel{padding-top:40px}.rel-track{gap:10px}.rel-item{flex-basis:62vw;scroll-snap-align:start}}
.rel-arr{position:absolute;top:34%;width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.14);display:flex;align-items:center;justify-content:center;z-index:2;transition:background .15s,color .15s,opacity .2s}
.rel-arr:hover{background:var(--ink);color:#fff}
.rel-arr svg{width:16px;height:16px}
.rel-arr--l{left:-14px}.rel-arr--r{right:-14px}
.rel-arr[disabled]{opacity:0;pointer-events:none}
@media(max-width:767px){.rel-arr{display:none}}
.rel-dots{display:flex;justify-content:center;gap:0;margin-top:8px}
.rel-dots:empty{display:none}
.rel-dots button{width:28px;height:40px;position:relative;background:none}
.rel-dots button::before{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#bdbdbd;transition:background .2s,transform .2s}
.rel-dots button[aria-selected=true]::before{background:var(--accent);transform:scale(1.12)}
.rel-dots button:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:50%}

/* ---------- sticky add bar ---------- */
.pdp-bar{position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.09);animation:barup .25s ease}
@keyframes barup{from{transform:translateY(100%)}}
.pdp-bar-in{display:flex;align-items:center;gap:14px;height:66px}
.pdp-bar-img{width:48px;height:48px;object-fit:contain;background:#f6f6f6;border-radius:var(--r);mix-blend-mode:multiply;flex:0 0 48px}
.pdp-bar-t{flex:1;min-width:0;line-height:1.3}
.pdp-bar-t b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdp-bar-t span{font-size:13.5px;font-weight:700}
.pdp-bar-t small{font-weight:500;color:var(--grey);font-size:11.5px}
.pdp-bar-t del{font-weight:500;color:var(--grey2);font-size:12px;margin-left:4px}
.pdp-qty--sm{height:42px;flex-basis:120px}
.pdp-qty--sm button{width:40px;font-size:18px}
.pdp-bar-add{height:42px;padding:0 20px;font-size:13px}
.pdp-bar-wa{height:42px;padding:0 16px;font-size:13px}
@media(max-width:1199px){
  .pdp-bar{bottom:62px;box-shadow:0 -4px 14px rgba(0,0,0,.08)}
  .pdp-bar-in{height:62px;gap:10px}
  .pdp-bar-img,.pdp-bar-t{display:none}
  .pdp-qty--sm{flex:0 0 120px}
  .pdp-bar-add{flex:1;padding:0 12px}
  .pdp-bar-wa{padding:0 12px}
  .pdp-bar-wa span{display:none}
  .pdp-bar-wa svg{width:22px;height:22px}
}
@media(max-width:360px){.pdp-bar-in{gap:8px}.pdp-bar-add{padding:0 8px}.pdp-bar-wa{padding:0 8px}}
body.has-bar{padding-bottom:66px}
@media(max-width:1199px){body.has-bar{padding-bottom:124px}}

/* ---------- lightbox ---------- */
.pdp-lb{position:fixed;inset:0;z-index:120;background:rgba(10,10,10,.94);display:flex;align-items:center;justify-content:center;animation:fadein .2s}
.pdp-lb img{max-width:92vw;max-height:88vh;object-fit:contain;background:#fff;border-radius:var(--r)}
.pdp-lb-x{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center}
.pdp-lb-arr{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--ink);display:flex;align-items:center;justify-content:center}
.pdp-lb-arr:hover,.pdp-lb-x:hover{background:var(--accent);color:#fff}
.pdp-lb-arr--l{left:16px}.pdp-lb-arr--r{right:16px}
.pdp-lb-count{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);color:#fff;font-size:13px;font-weight:600}
@media(max-width:767px){.pdp-lb-arr{width:40px;height:40px}.pdp-lb-arr--l{left:8px}.pdp-lb-arr--r{right:8px}.pdp-lb img{max-width:100vw;border-radius:0}}
