/* Plaket Dunyasi V18: visual-only enhancement. Works with V17 and older listing markup. */
:root {--v18-accent:#ed8b23;--v18-shadow:0 18px 50px rgba(19,22,27,.09)}
/* Premium category showcase without changing the existing order or content */
.category-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:27px}
.category-grid .category {height:238px;border-radius:20px;isolation:isolate;background:linear-gradient(135deg,#24262b,#101114);border:1px solid #383838;box-shadow:0 12px 28px rgba(0,0,0,.09);padding:20px;align-items:flex-start;text-align:left;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.category-grid .category::after {inset:30% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.3) 34%,rgba(0,0,0,.87) 100%)}
.category-grid .category img {object-fit:cover;opacity:.9;transition:transform .45s ease,opacity .3s ease}
.category-grid .category span {font-size:23px;text-shadow:0 2px 15px #0007}
.category-grid .category strong {font-size:clamp(13px,1.17vw,17px);line-height:1.4;text-wrap:balance;max-width:90%}
.category-grid .category:hover,.category-grid .category:focus-visible {transform:translateY(-5px);box-shadow:0 23px 44px rgba(0,0,0,.17);border-color:var(--v18-accent)}
.category-grid .category:hover img {transform:scale(1.07);opacity:1}
.category-grid .category:focus-visible,.product a:focus-visible,.v4-catalog-tools a:focus-visible {outline:3px solid var(--v18-accent);outline-offset:3px}
/* Cards: do not crop the award products; preserve transparent PNG edges */
.product-grid {gap:22px;align-items:stretch}
.product-grid .product {border:1px solid #e5e5e7;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(17,23,35,.06);display:flex;flex-direction:column;min-width:0;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.product-grid .product:hover {transform:translateY(-5px);box-shadow:var(--v18-shadow);border-color:#edc39d}
.product-grid .product-art,.v17-showcase .v17-grid .product-art {height:auto;min-height:0;aspect-ratio:5/4;background:radial-gradient(circle at 50% 44%,#fff 12%,#f7f7f5 72%,#f1f0ed 100%);padding:15px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.product-grid .product-art img,.v17-showcase .v17-grid .product-art img {display:block;width:100%;height:100%;max-height:none;padding:0;object-fit:contain;transition:transform .35s ease}
.product-grid .product:hover .product-art img {transform:scale(1.045)}
.product-grid .product-body {padding:21px;display:flex;flex-direction:column;align-items:stretch;gap:10px;flex:1}
.product-grid .product-body h3 {font-size:clamp(14px,1.25vw,17px);min-height:0;line-height:1.5;margin:0;letter-spacing:-.02em}
.product-grid .product-body p {font-size:12px;line-height:1.75;color:#5e6470;min-height:0;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.product-grid .product-body .mini-btn {margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 18px;border-radius:999px;background:#17191e;color:#fff;font-size:12px;box-shadow:none;transition:background .2s ease,transform .2s ease}
.product-grid .product-body .mini-btn:hover {background:#d96b18;transform:translateY(-1px)}
/* Keep featured cards spacious while respecting V17's admin 3/4 column setting */
.v17-showcase .v17-grid {gap:24px}
.v17-showcase .v17-grid .product-body {padding:23px}
.v17-showcase .v17-grid .product-art {aspect-ratio:5/4;padding:18px}
/* Interior catalog and category listing */
.v4-catalog .product-grid,.v4-category-results .product-grid {margin-top:24px;gap:22px}
.v4-category-results {margin-top:35px}
.section-heading h2 {text-wrap:balance}
/* Responsive: 4->2 category cols; product cards retain comfortable image dimensions */
@media(max-width:1100px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v17-showcase .v17-grid,.v17-showcase .v17-grid.v17-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.category-grid{gap:12px}.category-grid .category{height:200px;padding:15px;border-radius:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.product-grid .product-body,.v17-showcase .v17-grid .product-body{padding:14px;gap:8px}.product-grid .product-art,.v17-showcase .v17-grid .product-art{aspect-ratio:1/1;padding:10px}.product-grid .product-body h3{font-size:13px}.product-grid .product-body p{font-size:11px;line-height:1.55}.product-grid .product-body .mini-btn{padding:9px 12px;min-height:36px;font-size:11px}}
@media(max-width:480px){.category-grid .category{height:178px}.category-grid .category strong{font-size:12px}.v17-showcase .v17-grid,.v17-showcase .v17-grid.v17-cols-3{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-grid .product-body p{-webkit-line-clamp:2}}
@media(max-width:350px){.category-grid,.product-grid,.v17-showcase .v17-grid,.v17-showcase .v17-grid.v17-cols-3{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.category-grid .category,.category-grid .category img,.product-grid .product,.product-grid .product-art img,.product-grid .mini-btn{transition:none!important}.category-grid .category:hover,.product-grid .product:hover{transform:none!important}}
