/* Phoenix Digital V29 — Premium katalog / güvenli, bağımsız CSS.
   V27 arama yerleşimi korunur. Katalog ve yeni kısayollar dışında kritik sayfa stilleri değiştirilmez. */
:root { --phx29-ink:#3b1524; --phx29-burgundy:#76233e; --phx29-gold:#d5a874; --phx29-border:#eadde0; }
html { scroll-padding-top: 24px; }
.phx29-shortcuts { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:22px;margin-bottom:27px; }
.phx29-shortcut { display:flex;align-items:center;gap:12px;min-width:0;padding:16px 14px;background:linear-gradient(135deg,#fff,#fff9f5);border:1px solid var(--phx29-border);border-radius:17px;box-shadow:0 10px 26px rgba(74,25,44,.045);text-decoration:none;color:var(--phx29-ink); }
.phx29-shortcut-icon { flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#f8e9e6;color:var(--phx29-burgundy);display:grid;place-items:center;font-size:23px; }
.phx29-shortcut > span:nth-child(2) { min-width:0;flex:1;display:flex;flex-direction:column;gap:4px; }
.phx29-shortcut b { font-size:13px;line-height:1.3; }
.phx29-shortcut small { font-size:11px;line-height:1.35;color:#806d73; }
.phx29-shortcut-arrow { font-size:19px;color:#b27a7e; }
@media(hover:hover) and (prefers-reduced-motion:no-preference){.phx29-shortcut,.product-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.phx29-shortcut:hover{transform:translateY(-3px);border-color:#d9b1b7;box-shadow:0 17px 35px rgba(74,25,44,.10)}}
/* Card heights stay consistent despite product name length. */
.catalog .product-grid .product-card { display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #eee3e6;border-radius:17px;box-shadow:0 8px 25px rgba(58,19,34,.045);background:#fff; }
.catalog .product-grid .product-card .product-details { display:flex;flex-direction:column;flex:1;min-width:0; }
.catalog .product-grid .product-card .product-title { line-height:1.45;min-height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.catalog .product-grid .product-card .price-row { margin-top:auto; }
.catalog .product-grid .product-card .add-to-cart { width:100%; }
.catalog .product-grid .product-card .product-image img { object-fit:contain; }
@media(hover:hover) and (prefers-reduced-motion:no-preference){.catalog .product-grid .product-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(58,19,34,.10);border-color:#dec3ca}}
/* JS-only controls are inserted after load; site remains usable without JS. */
.phx29-view-switch { display:inline-flex;gap:4px;padding:4px;background:#f9f2f3;border:1px solid #ecdee2;border-radius:12px;align-items:center;flex:0 0 auto; }
.phx29-view-switch button { width:36px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#785965;font-size:18px;cursor:pointer; }
.phx29-view-switch button[aria-pressed="true"] { background:#76233e;color:#fff;box-shadow:0 4px 12px rgba(118,35,62,.16); }
.phx29-view-switch button:focus-visible,.phx29-copy:focus-visible,.phx29-shortcut:focus-visible { outline:3px solid #c99c5d;outline-offset:3px; }
.phx29-copy { display:inline-flex;justify-content:center;align-items:center;gap:5px;border:1px solid #e7d5db;border-radius:9px;background:#fff;color:#713148;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer;margin-top:9px;max-width:max-content; }
.phx29-copy:hover { background:#fff5f7; }
.phx29-toast { position:fixed;z-index:9000;bottom:86px;left:50%;transform:translateX(-50%);max-width:min(420px,calc(100vw - 32px));padding:11px 18px;background:#3c1626;color:#fff;border-radius:11px;box-shadow:0 15px 40px rgba(25,10,15,.24);font-size:13px;font-weight:700;pointer-events:none;text-align:center; }
.phx29-toast[hidden] { display:none!important; }
/* Desktop list mode: keep existing product actions and all server-side data. */
@media(min-width:850px){
 .catalog .product-grid.phx29-list-view { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important; }
 .catalog .product-grid.phx29-list-view .product-card { display:grid!important;grid-template-columns:220px minmax(0,1fr);align-items:stretch;min-height:225px; }
 .catalog .product-grid.phx29-list-view .product-image { height:100%;min-height:225px; }
 .catalog .product-grid.phx29-list-view .product-image > a { height:100%;display:flex;align-items:center;justify-content:center; }
 .catalog .product-grid.phx29-list-view .product-image img { max-height:210px;width:100%; }
 .catalog .product-grid.phx29-list-view .product-details { padding:18px 22px; }
 .catalog .product-grid.phx29-list-view .product-title { min-height:0; }
 .catalog .product-grid.phx29-list-view .add-to-cart { max-width:250px; }
}
@media(max-width:1050px){.phx29-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:849px){.phx29-view-switch{display:none!important;}}
@media(max-width:540px){.phx29-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px;margin-bottom:18px}.phx29-shortcut{padding:12px 10px;gap:8px;align-items:flex-start;min-height:92px}.phx29-shortcut-icon{width:35px;height:35px;flex-basis:35px;font-size:19px;border-radius:11px}.phx29-shortcut b{font-size:12px}.phx29-shortcut small{font-size:10px}.phx29-shortcut-arrow{display:none}.phx29-copy{font-size:10px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){.phx29-shortcut,.catalog .product-grid .product-card{transition:none!important;transform:none!important}}

/* V91: Urun kartlarinda link kopyalama butonu kesin olarak gizlenir. */
.phx29-copy{display:none!important}
