/* ==========================================================================
   Storefront / themes / default — home.css
   Extracted from inline @once \3c style> block in home.blade.php
   ========================================================================== */
body.sf .sf-section {margin-top: 5px;
      margin-bottom: 5px;}
.sf-section.sf-store-edge[data-block-id="18"] {position: relative; z-index: 0; padding-block: 28px;}
.sf-section.sf-store-edge[data-block-id="18"]::before {content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, #2c1338 0%, #c2255c 40%, #f2772d 70%, #ffffff 100%); background-blend-mode: overlay; background-size: 220px 220px, cover; z-index: -1; pointer-events: none;}
.sf-section.sf-store-edge[data-block-id="18"] .sf-section-head h2,
.sf-section.sf-store-edge[data-block-id="18"] .sf-featured-sub {color: #fff;}
.sf-section.sf-store-edge[data-block-id="18"] .sf-section-head-line {background: rgba(255,255,255,.55);}
.sf-global-cat-slider {margin-bottom: 0 !important;}
/* Desktop: kategori slider görünüyorken toolbar gereksiz */
.sf-global-cat-slider ~ .sf-category-toolbar {display: none;}
/* Mobil: toolbar gizle, mobil kategori slider kullan */
@media (max-width: 767px) {
.sf-category-toolbar {display: none !important;}
}
/* Bar reklamları: bar-ads.css (_head’de home + ürün sayfası) */
.sf-grid {display:grid;
      grid-template-columns:repeat(5, minmax(0, 1fr));
      gap:5px;}
.sf-grid .sf-pblock-card {border:1px solid #d7d7d7;
      border-radius:12px;
      background:#fff;
      padding:10px;
      transition:border-color .22s ease, box-shadow .22s ease, transform .22s ease;
      position:relative;
      display:flex;
      flex-direction:column;
      min-height:100%;}
.sf-grid .sf-pblock-card:hover {border-color:rgb(59,130,246,.55);
      box-shadow:0 0 0 1px rgb(96,165,250,.25), 0 10px 24px rgb(59,130,246,.14);
      transform:translateY(-2px);}
.sf-pblock-tag {position:absolute;
      top:14px;

      /* Yeni / Aynıgün Kargo / Stokta Yok etiketi sağ üst köşeye taşındı.
         İndirim pill'i sol üstte (sf-store-disc-pill) kalır. */
      right:14px;
      left:auto;
      z-index:6;
      border-radius:999px;
      padding:6px 10px;
      font-size:11px;
      font-weight:800;
      line-height:1;
      border:1px solid transparent;
      box-shadow:0 6px 14px rgb(15,23,42,.12);
      letter-spacing:.2px;
      text-transform:uppercase;}
/* Wishlist butonu varsa Yeni etiketinin altına alalım ki üst üste binmesin. */
.sf-pblock-card .sf-pblock-tag + .sf-pblock-thumb .sf-store-wishlist-btn,
    .sf-featured-card .sf-pblock-tag + .sf-pblock-thumb .sf-store-wishlist-btn {top:50px !important;}
.sf-pblock-tag.new {color:#14532d; background:#dcfce7; border-color:#86efac;}
.sf-pblock-tag.soldout {color:#991b1b; background:#fee2e2; border-color:#fca5a5;}
.sf-pblock-tag.dealer-badge {color:#fff;
      background:#dc2626;
      border-color:#dc2626;}
.sf-pblock-tag.sf-same-day-badge {display:inline-flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      min-width:56px;
      min-height:34px;
      padding:5px 9px 6px;
      border-radius:999px;
      gap:1px;
      text-align:center;
      line-height:1;
      letter-spacing:0;
      text-transform:none;
      box-shadow:0 7px 16px rgb(220,38,38,.22);}
.sf-pblock-tag.sf-same-day-badge span {display:block;
      font-size:10px;
      font-weight:900;
      line-height:1;
      white-space:nowrap;}
.sf-pblock-tag.sf-same-day-badge small {display:block;
      font-size:8px;
      font-weight:800;
      line-height:1;
      letter-spacing:.2px;
      opacity:.95;
      white-space:nowrap;}
.sf-grid .sf-pblock-thumb {width:100%;
      aspect-ratio: var(--sf-product-card-ratio, 2 / 3);
      border-radius:12px;
      background:#fff;
      border:0;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;}
.sf-grid .sf-pblock-thumb img {width:100%;
      height:100%;
      object-fit: var(--sf-product-card-fit, cover);
      background:#fff;
      border-radius:12px;
      padding:0;}
.sf-grid .sf-pblock-brand {margin-top:6px;
      font-size:11px;
      line-height:1.1;
      font-weight:700;
      color:#2b63ce;
      display:flex;
      align-items:center;
      gap:4px;}
.sf-grid .sf-pblock-name {margin-top:2px;
      font-size:12px;
      font-weight:700;
      line-height:1;
      min-height:25px;
      color:#0f172a;}
.sf-grid .sf-pblock-meta {margin-top:4px;
      color:#64748b;
      font-size:11px;
      font-weight:700;}
.sf-grid .sf-pblock-rate {margin-top:4px;
      display:flex;
      align-items:center;
      gap:6px;
      color:#64748b;
      font-size:12px;
      font-weight:700;}
.sf-grid .sf-pblock-rate-stars {color:#f59e0b;
      letter-spacing:-1px;
      font-size:13px;
      line-height:1;}
.sf-grid .sf-pblock-old {margin-top:6px;
      color:#94a3b8;
      font-size:13px;
      font-weight:700;
      text-decoration:line-through;
      line-height:1.1;}
.sf-grid .sf-pblock-price-row {margin-top:5px;
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:8px;}
.sf-grid .sf-pblock-price {color:#16a34a;
      font-size:18px;
      font-weight:900;
      line-height:1;
      letter-spacing:-.2px;}
.sf-grid .sf-pblock-off {position:absolute;
      top:10px;
      right:10px;
      z-index:6;
      border:1px solid #ef4444;
      border-radius:999px;
      padding:10px 0;
      min-width:58px;
      min-height:58px;
      text-align:center;
      color:#fff;
      line-height:1.05;
      font-weight:900;
      background:#f00;
      font-size:17px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      box-shadow:0 10px 18px rgb(239,68,68,.24);}
.sf-grid .sf-pblock-off small {display:block;
      font-size:9px;
      font-weight:800;
      text-transform:uppercase;}
.sf-grid .sf-pblock-vat {margin-top:4px;
      color:#334155;
      font-size:12px;
      font-weight:700;}
.sf-grid .sf-pblock-actions {position:absolute;
      display:grid;
      gap:6px;
      width:80px;
      max-width:100%;
      right:10px;
      bottom:52px;
      z-index:3;}
.sf-grid .sf-pblock-actions .sf-add,
    .sf-grid .sf-pblock-actions .sf-secondary {display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      width:100%;
      border-radius:10px;
      padding:7px 10px;
      font-size:11px;
      line-height:1.05;
      min-height:32px;
      box-shadow:0 6px 14px rgb(15,23,42,.08);
      text-align:left;
      font-weight:800;}
.sf-grid .sf-pblock-actions .sf-add {border:1px solid #14b8a6;
      background:linear-gradient(135deg, #14b8a6, #0f766e);
      color:#fff;
      font-weight:900;
      font-size:10px;}
.sf-grid .sf-pblock-actions .sf-secondary {border:1px solid #c7d2fe;
      background:linear-gradient(135deg, #eef2ff, #e0e7ff);
      color:#312e81;
      font-weight:700;}
.sf-grid .sf-pblock-chip {margin:6px auto 0;
      display:flex;
      align-items:center;
      justify-content:center;
      width:fit-content;
      max-width:100%;
      border:1px solid #d1d5db;
      border-radius:999px;
      padding:3px 10px;
      font-size:10px;
      font-weight:800;
      color:#475569;
      background:#f8fafc;
      text-align:center;}
.sf-pblock-wrap {position: relative;
      padding: 4px 40px;}
.sf-pblock-grid {display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 5px;}
.sf-pblock-track .sf-pblock-card {flex: 0 0 calc((100% - 56px) / 5);
      min-width: 182px;}
.sf-pblock-price {color: #16a34a;
      font-size: 18px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -.2px;}
/* .sf-pblock-actions .sf-add/.sf-secondary → .sf-grid .sf-pblock-actions bloğu yönetir (yukarıda) */
.sf-pblock-actions .sf-add i,
    .sf-pblock-actions .sf-secondary i {font-size: 12px;
      line-height: 1;
      flex: 0 0 12px;}
.sf-pblock-arrow {position: absolute;
      top: 45%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: 1px solid rgb(255, 255, 255, .25);
      background: rgb(255, 255, 255, .95);
      color: #111827;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;}
@media (max-width: 1200px) {
.sf-pblock-grid {grid-template-columns: repeat(4, minmax(0, 1fr));}
.sf-pblock-track .sf-pblock-card {flex-basis: calc((100% - 42px) / 4);}
.sf-pblock-price {font-size: 18px;}
}
@media (max-width: 992px) {
.sf-pblock-grid {grid-template-columns: repeat(3, minmax(0, 1fr));}
.sf-pblock-track .sf-pblock-card {flex-basis: calc((100% - 28px) / 3);
        min-width: 170px;}
.sf-pblock-price {font-size: 17px;}
}
@media (max-width: 576px) {
.sf-pblock-actions .sf-add {background: linear-gradient(135deg, #f59e0b, #facc15);
        border-color: #f59e0b;
        color: #111827;}
.sf-pblock-actions .sf-secondary {background: #fff;
        border-color: #dbeafe;
        color: #1d4ed8;}
}
