/* Osama Store – ürün vitrini (mağaza ızgarası) */
.pc-bar{display:flex;flex-direction:column;gap:.9rem;margin-bottom:1.6rem}
.pc-chips{display:flex;gap:.55rem;overflow-x:auto;padding:.2rem .1rem .5rem;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.pc-chips::-webkit-scrollbar{display:none}
.pc-chip{flex:none;scroll-snap-align:start;border:1px solid rgb(var(--c-line) / .8);background:rgb(var(--c-card));color:rgb(var(--c-body));
  font-weight:700;font-size:.85rem;line-height:1.3;padding:.6rem 1.05rem;border-radius:999px;cursor:pointer;transition:all .2s;white-space:nowrap}
.pc-chip:hover{border-color:rgb(var(--c-gold));color:rgb(var(--c-goldtxt))}
.pc-chip.on{background:linear-gradient(135deg,rgb(var(--c-gold2)),rgb(var(--c-gold)));color:rgb(var(--c-ongold));border-color:transparent;box-shadow:0 8px 20px -8px rgb(var(--c-gold) / .8)}
.pc-count{font-size:.8rem;color:rgb(var(--c-muted));font-weight:600;padding-inline:.25rem}

#productGrid.pc-grid{display:grid;grid-template-columns:repeat(var(--pc-mobile-cols,2),minmax(0,1fr));gap:.85rem;max-width:80rem;margin-inline:auto}
@media (min-width:640px){#productGrid.pc-grid{grid-template-columns:repeat(var(--pc-desktop-cols,4),minmax(0,1fr));gap:1.1rem}}
@media (min-width:1024px){#productGrid.pc-grid{grid-template-columns:repeat(var(--pc-desktop-cols,4),minmax(0,1fr));gap:1.4rem}}
#productGrid.pc-grid > p{grid-column:1/-1}

.pc{position:relative;display:flex;flex-direction:column;background:rgb(var(--c-card));border:1px solid rgb(var(--c-line) / .6);
  border-radius:1.4rem;overflow:hidden;box-shadow:0 14px 36px -20px rgba(0,0,0,.6);transition:transform .25s,border-color .25s,box-shadow .25s}
.pc:hover{transform:translateY(-4px);border-color:rgb(var(--c-gold));box-shadow:0 22px 44px -18px rgb(var(--c-gold) / .35)}
.pc:active{transform:scale(.98)}
.pc-media{position:relative;aspect-ratio:1/1;background:rgb(var(--c-field));overflow:hidden;cursor:pointer}
.pc-media img{width:100%;height:100%;object-fit:contain;padding:.4rem;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.pc:hover .pc-media img{transform:scale(1.07)}
.pc-media img.ph{object-fit:contain;padding:22%;opacity:.85}
.pc-media::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(to top,rgba(0,0,0,.45),transparent);pointer-events:none}
.pc-tag{position:absolute;z-index:2;font-size:.68rem;font-weight:800;line-height:1.3;padding:.3rem .65rem;border-radius:999px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.pc-cat{inset-block-start:.6rem;inset-inline-start:.6rem;background:rgba(17,24,39,.6);color:#fff}
.pc-war{inset-block-start:.6rem;inset-inline-end:.6rem;background:rgb(var(--c-gold) / .95);color:rgb(var(--c-ongold))}
.pc-out{inset-block-start:.6rem;inset-inline-end:.6rem;background:rgba(239,68,68,.95);color:#fff}
.pc-imgs{inset-block-end:.6rem;inset-inline-end:.6rem;background:rgba(0,0,0,.6);color:#fff;z-index:2}
.pc.is-out .pc-media img{filter:grayscale(1);opacity:.6}
.pc-body{display:flex;flex-direction:column;gap:.35rem;padding:.85rem .9rem 1rem;flex:1}
.pc-name{font-weight:800;font-size:1rem;line-height:1.35;color:rgb(var(--c-ink));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-desc{font-size:.78rem;line-height:1.55;color:rgb(var(--c-muted));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}
.pc-foot{margin-top:auto;padding-top:.6rem;display:flex;flex-direction:column;gap:.6rem}
.pc-price{font-weight:900;font-size:1.3rem;line-height:1.2;color:rgb(var(--c-goldtxt));direction:ltr;text-align:start}
html[dir=rtl] .pc-price{text-align:end}
.pc-wa{display:flex;align-items:center;justify-content:center;gap:.45rem;background:#16a34a;color:#fff;font-weight:800;font-size:.78rem;line-height:1.3;
  padding:.7rem .6rem;border-radius:.9rem;text-decoration:none;box-shadow:0 8px 20px -8px rgba(22,163,74,.7);transition:background .2s,transform .15s;position:relative;overflow:hidden}
.pc-wa:hover{background:#15803d}.pc-wa:active{transform:scale(.96)}
.pc-wa i{font-size:1.05rem}
@media (min-width:640px){.pc-name{font-size:1.08rem}.pc-wa{font-size:.85rem}}
@keyframes pc-in{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
.pc{animation:pc-in .5s both}
.pc:nth-child(2){animation-delay:.05s}.pc:nth-child(3){animation-delay:.1s}.pc:nth-child(4){animation-delay:.15s}.pc:nth-child(n+5){animation-delay:.2s}

html[lang="ar"] .pc-name{line-height:1.6;font-weight:800}
html[lang="ar"] .pc-desc{line-height:1.85}
html[lang="ar"] .pc-tag,html[lang="ar"] .pc-chip,html[lang="ar"] .pc-wa{letter-spacing:0;line-height:1.5}
@media (prefers-reduced-motion:reduce){.pc{animation:none}}

.pc-order{display:flex;align-items:center;justify-content:center;gap:.45rem;background:linear-gradient(135deg,rgb(var(--c-gold2)),rgb(var(--c-gold)));color:rgb(var(--c-ongold));font-weight:800;font-size:.8rem;line-height:1.3;
  padding:.7rem .6rem;border-radius:.9rem;text-decoration:none;box-shadow:0 8px 20px -8px rgb(var(--c-gold) / .75);transition:transform .15s}
.pc-order:active{transform:scale(.96)}.pc-order i{font-size:1rem}
html[lang="ar"] .pc-order{letter-spacing:0;line-height:1.5}

.pager{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.4rem;margin:2rem 0 .5rem}
.pager button{min-width:2.7rem;height:2.7rem;padding:0 .7rem;border-radius:.9rem;border:1px solid rgb(var(--c-line));background:rgb(var(--c-card));color:rgb(var(--c-ink));font-weight:900;cursor:pointer;transition:all .15s}
.pager button:hover:not(:disabled){border-color:rgb(var(--c-gold));color:rgb(var(--c-goldtxt))}.pager button.on{background:linear-gradient(135deg,rgb(var(--c-gold2)),rgb(var(--c-gold)));color:rgb(var(--c-ongold));border-color:transparent}
.pager button:disabled{opacity:.35;cursor:default}.pager span{color:rgb(var(--c-muted));padding:0 .2rem}

/* Kampanya fiyatı: eski fiyat üzeri çizili, yeni fiyat öne çıkar */
.pc-price-group{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .5rem;direction:ltr}.pc-old-price,.os-old-price,.m3-old-price{font-size:.78rem;color:rgb(var(--c-muted));text-decoration:line-through;font-weight:600}.pc-sale{inset-block-start:2.45rem;inset-inline-start:.6rem;background:#b45309;color:#fff}.os-old-price{display:block;text-align:center}.m3-old-price{margin-inline-end:.4rem}.pc-price{font-size:1.12rem}

/* Four compact columns on phones, without horizontal scrolling. */
@media (max-width:639px){
 body[data-page="products"] main{padding-inline:8px}
 #productGrid.pc-grid{gap:4px !important}
 #productGrid .pc{min-width:0;border-radius:8px}
 #productGrid .pc-body{min-width:0;padding:4px;gap:3px}
 #productGrid .pc-media img{padding:2px}
 #productGrid .pc-name{font-size:10px;overflow-wrap:anywhere;min-height:2.7em}
 #productGrid .pc-desc{font-size:9px;overflow-wrap:anywhere;min-height:2.4em}
 #productGrid .pc-foot{gap:4px;padding-top:3px}
 #productGrid .pc-price-group{gap:2px;overflow-wrap:anywhere}
 #productGrid .pc-price{font-size:10px}
 #productGrid .pc-old-price{font-size:9px}
 #productGrid .pc-tag{font-size:8px;padding:2px 3px;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #productGrid .pc-cat{inset-block-start:2px;inset-inline-start:2px}
 #productGrid .pc-war,#productGrid .pc-out{inset-block-start:16px;inset-inline-end:2px}
 #productGrid .pc-sale{inset-block-start:30px;inset-inline-start:2px}
 #productGrid .pc-imgs{inset-block-end:2px;inset-inline-end:2px}
 #productGrid .pc-order,#productGrid .pc-wa{font-size:9px;gap:2px;padding:5px 2px;min-height:30px;border-radius:5px;flex-wrap:wrap;overflow-wrap:anywhere;text-align:center}
 #productGrid .pc-order span,#productGrid .pc-wa span{min-width:0;max-width:100%}
 #productGrid .pc-order i,#productGrid .pc-wa i{font-size:11px}
}


.pc-info-wrap{margin-top:.45rem}
.pc-more{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.72rem .88rem;border:1px solid rgb(var(--c-line) / .9);border-radius:1rem;background:linear-gradient(180deg,rgb(var(--c-card)),rgb(var(--c-field)));color:rgb(var(--c-ink));font-size:.79rem;font-weight:800;line-height:1.4;transition:border-color .2s,background .2s,box-shadow .2s}
.pc-more:hover{border-color:rgb(var(--c-gold));background:rgb(var(--c-card));box-shadow:0 10px 20px -16px rgba(0,0,0,.45)}
.pc-more[aria-expanded='true']{border-color:rgb(var(--c-gold));box-shadow:0 12px 22px -16px rgb(var(--c-gold) / .55)}
.pc-more span:first-child{display:flex;align-items:center;gap:.5rem;text-align:start}
.pc-more span:first-child i{width:1.05rem;text-align:center;color:rgb(var(--c-goldtxt))}
.pc-more-label{font-size:.72rem;color:rgb(var(--c-muted));font-weight:700}
.pc-details{margin-top:.6rem;padding:.82rem .86rem;border:1px solid rgb(var(--c-line) / .85);border-radius:1rem;background:linear-gradient(180deg,rgb(var(--c-soft) / .65),rgb(var(--c-card)));box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.pc-details-head{display:flex;align-items:center;gap:.72rem;margin-bottom:.6rem}
.pc-details-icon{width:2rem;height:2rem;border-radius:.8rem;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgb(var(--c-gold2)),rgb(var(--c-gold)));color:rgb(var(--c-ongold));box-shadow:0 10px 18px -12px rgb(var(--c-gold) / .8);flex:none}
.pc-details-headtext{min-width:0}
.pc-details-kicker{font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:rgb(var(--c-muted));margin-bottom:.1rem}
.pc-details-title{font-size:.84rem;font-weight:900;color:rgb(var(--c-goldtxt));line-height:1.35}
.pc-specs{display:flex;flex-direction:column;gap:.4rem;padding:0;margin:0;list-style:none}
.pc-specs li{position:relative;padding-inline-start:1rem;font-size:.76rem;line-height:1.62;color:rgb(var(--c-body))}
.pc-specs li::before{content:'•';position:absolute;inset-inline-start:0;top:0;color:rgb(var(--c-goldtxt));font-weight:900}
html[dir=rtl] .pc-specs li{padding-inline-start:0;padding-inline-end:1rem}
html[dir=rtl] .pc-specs li::before{inset-inline-start:auto;inset-inline-end:0}
.pc-info-wrap[data-kind='batarya'] .pc-details-icon,.pc[data-kind='batarya'] .pc-more span:first-child i{color:inherit}

@media (max-width:639px){
 #productGrid .pc-info-wrap{margin-top:4px}
 #productGrid .pc-more{font-size:9px;padding:6px 5px;gap:4px;border-radius:7px}
 #productGrid .pc-more span:first-child{gap:4px}
 #productGrid .pc-more span:first-child i{width:auto}
 #productGrid .pc-more-label{font-size:8px}
 #productGrid .pc-details{margin-top:4px;padding:6px;border-radius:8px}
 #productGrid .pc-details-head{gap:6px;margin-bottom:5px}
 #productGrid .pc-details-icon{width:18px;height:18px;border-radius:6px;font-size:8px}
 #productGrid .pc-details-kicker{font-size:7px}
 #productGrid .pc-details-title{font-size:9px}
 #productGrid .pc-specs{gap:3px}
 #productGrid .pc-specs li{font-size:8.5px;line-height:1.45;padding-inline-start:9px}
 html[dir=rtl] #productGrid .pc-specs li{padding-inline-start:0;padding-inline-end:9px}
}
