/* ==========================================================
   YÖRESEL 5 — "Kahve & Süt / Pazar" teması
   Espresso + süt + karamel + fıstık, dikiş çizgiler, polaroid, dalga
   ========================================================== */

/* ---------- 1. Palet ---------- */
:root {
  --yk-cream: #F7EFE3;
  --yk-cream-2: #EFE2CF;
  --yk-paper: #FFFDF8;
  --yk-ink: #3B2414;
  --yk-ink-2: #5A3E2B;
  --yk-muted: #8A6F5B;
  --yk-line: #E5D3BC;
  --yk-green: #3B2414;
  --yk-green-d: #2A190D;
  --yk-green-l: #EEF2E2;
  --yk-red: #C8792B;
  --yk-red-d: #A9621F;
  --yk-gold: #C8792B;
  --yk-gold-l: #F7E4CC;
  --yk-butter: #F7E4CC;
  --yk-basalt: #3B2414;
  --yk-tuff: #C8792B;
  --yk-r: 24px;
  --yk-r-sm: 14px;
  --yk-shadow: 0 2px 0 #E5D3BC, 0 18px 30px -22px rgba(59, 36, 20, .5);
  --yk-serif: 'Young Serif', Georgia, serif;
  --yk-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --yk-grain: none;
  --yk-kilim: none;
  --yk-petek: none;

  --y5-esp: #3B2414;
  --y5-esp-d: #2A190D;
  --y5-car: #C8792B;
  --y5-pist: #8FA75A;
  --y5-pist-d: #74893F;
  --y5-milk: #FFFDF8;
  --y5-hand: 'Caveat', 'Segoe Script', cursive;
  --y5-stitch: 2px dashed rgba(59, 36, 20, .28);
}

.y5-top-in::before, .y5-top-in::after, .y5-head-in::before, .y5-head-in::after, .y5-hero-in::before, .y5-hero-in::after,
.y5-foot-bottom-in::before, .y5-foot-bottom-in::after { display: none !important; }

body.y5 { background: var(--yk-cream); color: var(--yk-ink); font-family: var(--yk-sans); }
body.y5 h1, body.y5 h2, body.y5 h3 { font-family: var(--yk-serif); font-weight: 400; letter-spacing: -.01em; }
.y5 .yk2-kilim { display: none !important; }
.y5-hand { font: 700 22px/1.1 var(--y5-hand); color: var(--y5-car); margin: 0 0 8px; }
.y5-hand-lg { font-size: 28px; }

/* ---------- 2. Butonlar ---------- */
.y5-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 16px; font: 700 15px/1 var(--yk-sans); border: 0; text-decoration: none !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s, background .2s; }
.y5-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.y5-btn-espresso { background: var(--y5-esp); color: var(--y5-milk) !important; }
.y5-btn-caramel { background: var(--y5-car); color: var(--y5-milk) !important; }
.y5-btn-pist { background: var(--y5-pist); color: #fff !important; }
.y5-btn-milk { background: var(--y5-milk); color: var(--y5-esp) !important; }
.y5 .yk-btn { border-radius: 16px !important; }

/* ---------- 3. Üst şerit + header ---------- */
.y5-top { background: var(--y5-esp); color: #E9D7C0; font-size: 13px; }
.y5-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.y5-top .y5-hand { color: #F2B86E; margin: 0; font-size: 21px; }
.y5-top-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.y5-top-links a { color: #E9D7C0 !important; }
@media (max-width: 991px) { .y5-top .y5-hand { display: none; } .y5-top-in { justify-content: center; } }

.y5-head { background: var(--yk-cream); }
.y5-head-in { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.y5-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; flex: 0 0 auto; }
.y5-logo img { width: 52px; height: 52px; }
.y5-logo-txt { display: flex; flex-direction: column; line-height: 1; }
.y5-logo-txt b { font: 400 30px/1 var(--yk-serif); color: var(--y5-esp); }
.y5-logo-txt small { font: 700 19px/1 var(--y5-hand); color: var(--y5-car); margin-top: 2px; }
.y5-logo-inv .y5-logo-txt b { color: var(--y5-milk); }
.y5-search { flex: 1 1 auto; max-width: 560px; }
.y5 .y5-search input.search_query, .y5 .y5-search input[name="search"] {
  border-radius: 16px !important; background: var(--y5-milk) !important; border: var(--y5-stitch) !important; height: 50px;
}
.y5 .yk-search .autosearch-submit { border-radius: 12px !important; background: var(--y5-car) !important; }
.y5-actions { margin-left: auto; }
.y5 .yk-icbtn, .y5-ic { border-radius: 14px !important; background: var(--y5-milk) !important; border: var(--y5-stitch) !important; color: var(--y5-esp) !important; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.y5 .yk-icbtn:hover, .y5-ic:hover { border-style: solid !important; border-color: var(--y5-car) !important; }
.y5 .yk-cart #cart > .btn { border-radius: 16px !important; background: var(--y5-esp) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.y5 .yk-cart #cart > .btn:hover { background: var(--y5-car) !important; }
.y5 .yk-cart #cart-total, .y5 .yk-cart .badgeAlert { background: var(--y5-pist) !important; color: #fff !important; }

/* Yüzen menü kartı */
.y5-nav { background: var(--yk-cream); padding-bottom: 6px; position: relative; z-index: 5; }
.y5-nav-card { display: flex; align-items: center; gap: 12px; background: var(--y5-milk); border-radius: 20px; padding: 6px 8px 6px 14px; box-shadow: var(--yk-shadow); position: relative; }
.y5-nav-card::before { content: ""; position: absolute; inset: 5px; border: var(--y5-stitch); border-radius: 16px; pointer-events: none; }
.y5-cats { flex: 1 1 auto; min-width: 0; }
.y5 .y5-cats li a { font: 700 14px/1 var(--yk-sans) !important; color: var(--y5-esp) !important; background: none !important; border-radius: 12px !important; padding: 12px 14px !important; }
.y5 .y5-cats li a:hover { background: var(--yk-gold-l) !important; color: var(--y5-esp) !important; }
.y5 .y5-cats li a.is-active { background: var(--y5-esp) !important; color: var(--y5-milk) !important; }
.y5-nav-wa { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; background: var(--y5-pist); color: #fff !important; border-radius: 14px; padding: 11px 16px; font-weight: 700; font-size: 14px; position: relative; z-index: 1; }
.y5-nav-wa:hover { background: var(--y5-pist-d); }
.y5 .yk-head-bar.is-fixed { background: var(--yk-cream); }
.y5 .yk-head-bar.is-fixed .y5-head-in { min-height: 70px; }
.y5 .yk-head-bar.is-fixed .y5-nav { padding-bottom: 8px; }

.y5 .y5-msearch { background: var(--yk-cream); padding-bottom: 12px; }
.y5 .y5-msearch input, .y5 .y5-msearch .form-control { border-radius: 14px !important; border: var(--y5-stitch) !important; background: var(--y5-milk) !important; }
.y5 .y5-msearch .btn, .y5 .y5-msearch button { border-radius: 14px !important; background: var(--y5-esp) !important; border: 0 !important; }
@media (max-width: 991px) {
  .y5-head-in { min-height: 66px; gap: 10px; }
  .y5-logo img { width: 40px; height: 40px; }
  .y5-logo-txt b { font-size: 24px; }
  .y5-logo-txt small { font-size: 16px; }
}
.y5 .mobile-menu-wrapper { background: var(--yk-cream); }

/* ---------- 4. Hero (polaroid) ---------- */
.y5-hero { padding: 48px 0 64px; overflow-x: clip; }
.y5-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.y5-hero-title { font: 400 clamp(44px, 5.2vw, 76px)/1.04 var(--yk-serif) !important; color: var(--y5-esp) !important; margin: 0 0 22px; }
.y5-mark { background: linear-gradient(transparent 62%, #F2C98F 62%, #F2C98F 90%, transparent 90%); padding: 0 4px; }
.y5-hero-lead { font-size: 18px; line-height: 1.65; color: var(--yk-ink-2); max-width: 480px; margin: 0 0 30px; }
.y5-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.y5-hero-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.y5-hero-pills li { border: var(--y5-stitch); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; color: var(--yk-ink-2); }

.y5-polaroids { position: relative; min-height: 520px; }
.y5-pol { position: absolute; margin: 0; background: #fff; padding: 12px 12px 46px; box-shadow: 0 22px 40px -24px rgba(59, 36, 20, .55); width: 56%; }
.y5-pol img { width: 100%; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover; display: block; }
.y5-pol figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 700 26px/1 var(--y5-hand); color: var(--y5-esp); }
.y5-pol::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(242, 201, 143, .78); transform: rotate(-3deg); }
.y5-pol-a { left: 2%; top: 10%; width: 48%; transform: rotate(-6deg); z-index: 2; }
.y5-pol-b { right: 0; top: 0; width: 36%; transform: rotate(5deg); z-index: 1; }
.y5-pol-c { right: 24%; bottom: -4%; width: 34%; transform: rotate(-2deg); z-index: 3; }
.y5-pol:hover { z-index: 4; }
@media (max-width: 991px) {
  .y5-hero { padding: 28px 0 40px; }
  .y5-hero-in { grid-template-columns: 1fr; gap: 30px; }
  .y5-polaroids { min-height: 400px; }
}
@media (max-width: 767px) {
  .y5-polaroids { min-height: 0; display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 14px 0 6px; }
  .y5-pol img { height: auto !important; aspect-ratio: 1 / 1 !important; }
  .y5-pol, .y5-pol-a, .y5-pol-b, .y5-pol-c { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 36%; flex: 0 0 36%; padding: 7px 7px 30px; }
  .y5-pol-a { transform: rotate(-6deg); }
  .y5-pol-b { transform: rotate(4deg) translateY(10px); margin: 0 -4%; }
  .y5-pol-c { transform: rotate(-2deg); }
  .y5-pol::before { width: 54px; margin-left: -27px; height: 18px; top: -8px; }
  .y5-pol figcaption { font-size: 18px; bottom: 6px; }
}

/* ---------- 5. Modüller ---------- */
.y5-modules { padding-top: 8px; }
.y5 .ykh-head h2, .y5 .ykh-head h3 { font-family: var(--yk-serif) !important; font-weight: 400 !important; }
.y5 .ykh-head { border-bottom: var(--y5-stitch); padding-bottom: 12px; }
.y5 .ykh-head-ic { border-radius: 12px !important; background: var(--y5-car) !important; color: #fff !important; transform: rotate(-6deg); }
.y5 .ykh-card, .y5 .ykh-deal-card, .y5 .product-thumb { border: 0 !important; border-radius: 22px !important; background: var(--y5-milk) !important; box-shadow: var(--yk-shadow) !important; padding: 8px !important; transition: transform .2s; }
.y5 .ykh-card:hover, .y5 .ykh-deal-card:hover, .y5 .product-thumb:hover { transform: rotate(-1deg) translateY(-3px); }
.y5 .ykh-card-img, .y5 .ykh-card-img img, .y5 .ykh-deal-img, .y5 .ykh-deal-img img { border-radius: 16px !important; }
.y5 .ykh-card-name, .y5 .ykh-card-name a { font-weight: 700 !important; color: var(--y5-esp) !important; }
.y5 .ykh-price { font-family: var(--yk-serif) !important; font-weight: 400 !important; color: var(--y5-car) !important; }
body.y5 #content .ykh-add, body.y5 #content .ykh-add-gold { border-radius: 14px !important; background: var(--y5-esp) !important; border-color: var(--y5-esp) !important; color: var(--y5-milk) !important; box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
body.y5 #content .ykh-add:hover, body.y5 #content .ykh-add-gold:hover { background: var(--y5-pist) !important; border-color: var(--y5-pist) !important; }
.y5 .ykh-badge { border-radius: 10px !important; background: var(--y5-pist) !important; color: #fff !important; transform: rotate(-4deg); }
.y5 .ykh-nav-btn { border-radius: 12px !important; }
.y5 .ykh-chip { border-radius: 20px !important; background: var(--y5-milk) !important; border: var(--y5-stitch) !important; }
.y5 .ykh-chip-img, .y5 .ykh-chip-img img { border-radius: 14px !important; }
.y5 .ykh-chip:hover { border-style: solid !important; border-color: var(--y5-car) !important; }

/* ---------- 6. Hikâye kartı ---------- */
.y5-story { padding: 64px 0 24px; }
.y5-story-card { background: var(--y5-car); color: #FFF4E6; border-radius: 32px; padding: 56px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; }
.y5-story-card::before { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(255, 244, 230, .45); border-radius: 24px; pointer-events: none; }
.y5-story-copy .y5-hand { color: #3B2414; }
.y5-story-copy h2 { font-size: clamp(32px, 3.6vw, 50px) !important; line-height: 1.06; color: #fff !important; margin: 0 0 16px; }
.y5-story-copy p { font-size: 16.5px; line-height: 1.7; margin: 0 0 26px; }
.y5-path { list-style: none; margin: 0; padding: 0; position: relative; }
.y5-path::before { content: ""; position: absolute; left: 26px; top: 26px; bottom: 26px; border-left: 3px dashed rgba(255, 244, 230, .6); }
.y5-path li { position: relative; padding: 10px 0 10px 76px; min-height: 72px; }
.y5-path span { position: absolute; left: 0; top: 8px; width: 54px; height: 54px; border-radius: 50%; background: var(--y5-esp); color: #F2C98F; display: flex; align-items: center; justify-content: center; font: 400 24px/1 var(--yk-serif); }
.y5-path b { display: block; font: 700 30px/1 var(--y5-hand); color: #fff; }
.y5-path small { font-size: 14.5px; color: #FFF4E6; }
@media (max-width: 991px) { .y5-story-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; border-radius: 24px; } }

/* ---------- 7. Footer ---------- */
.y5-promise { padding: 40px 0; }
.y5-promise-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.y5-promise-row li { display: flex; align-items: center; gap: 14px; padding: 16px; border: var(--y5-stitch); border-radius: 20px; }
.y5-sticker { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--y5-pist); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transform: rotate(-6deg); box-shadow: 0 3px 0 var(--y5-pist-d); }
.y5-promise-row li:nth-child(even) .y5-sticker { background: var(--y5-car); box-shadow: 0 3px 0 var(--yk-red-d); transform: rotate(5deg); }
.y5-promise-row b { display: block; color: var(--y5-esp); font-size: 15px; }
.y5-promise-row small { color: var(--yk-muted); font-size: 13px; }
@media (max-width: 991px) { .y5-promise-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .y5-promise-row { grid-template-columns: 1fr; } }

.y5-foot { background: var(--yk-cream); }
.y5-wave { height: 28px; background: url('../../image/y5/wave.svg') repeat-x bottom / 160px 28px; }
.y5-foot-main { background: var(--y5-esp); color: #D9C3AA; padding: 34px 0 48px; }
.y5-foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: rgba(255, 253, 248, .06); border: 2px dashed rgba(255, 253, 248, .22); border-radius: 24px; padding: 26px 30px; margin-bottom: 48px; }
.y5-foot-cta .y5-hand { color: #F2B86E; margin: 0; font-size: 34px; }
.y5-foot-cta-t { margin: 4px 0 0; color: #E9D7C0; }
.y5-foot-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.y5-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.y5-foot-about { margin: 16px 0; font-size: 14px; line-height: 1.7; max-width: 320px; }
.y5-foot-social { display: flex; gap: 8px; }
.y5-foot-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 253, 248, .1); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; }
.y5-foot-social a:hover { background: var(--y5-car); }
.y5-foot-col h5 { font: 700 26px/1 var(--y5-hand) !important; color: #F2B86E !important; margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.y5-foot-col ul { list-style: none; margin: 0; padding: 0; }
.y5-foot-col li { margin-bottom: 8px; }
.y5-foot-col a { color: #D9C3AA !important; font-size: 14.5px; }
.y5-foot-col a:hover { color: #fff !important; }
.y5-foot-col p { font-size: 14px; line-height: 1.6; }
.y5-foot-bottom { background: var(--y5-esp-d); color: #A88E78; }
.y5-foot-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; min-height: 56px; padding: 10px 15px; }
.y5-foot-bottom p { margin: 0; font-size: 13px; }
.y5-foot-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.y5-foot-links a { color: #A88E78 !important; font-size: 13px; }
.y5-foot-banks img { max-height: 24px; filter: brightness(0) invert(1); opacity: .6; }
@media (max-width: 991px) { .y5-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .y5-foot-grid { grid-template-columns: 1fr; } .y5-foot-cta { padding: 22px; } .y5-foot-bottom-in { justify-content: center; text-align: center; } }

.y5 .yk-tabbar { background: var(--y5-milk) !important; border-top: var(--y5-stitch); }
.y5 .yk-tabbar a { color: var(--y5-esp) !important; }
.y5 .yk-tab-badge { background: var(--y5-car) !important; }

/* ---------- 8. Ürün detay ---------- */
.y5 .yk-pd .breadcrumb { background: none; padding: 18px 0 4px; }
.y5-pd-main { align-items: start; }
.y5 .yk-pd-gallery { background: none !important; box-shadow: none !important; border: 0 !important; padding: 10px !important; }
body.y5 #content .y5-pd-gallery .yk-pd-hero .thumbnail { background: #fff !important; padding: 14px 14px 18px !important; border: 0 !important; border-radius: 4px !important; transform: rotate(-1.5deg); box-shadow: 0 24px 40px -26px rgba(59, 36, 20, .6) !important; position: relative; }
body.y5 #content .y5-pd-gallery .yk-pd-hero .thumbnail::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; margin-left: -55px; background: rgba(242, 201, 143, .8); transform: rotate(2deg); z-index: 1; }
body.y5 #content .y5-pd-gallery img { border-radius: 0 !important; }
body.y5 #content .y5-pd-gallery .image-additional .thumbnail { border-radius: 14px !important; border: var(--y5-stitch) !important; padding: 4px !important; background: var(--y5-milk) !important; overflow: hidden; }
body.y5 #content .y5-pd-gallery .image-additional .thumbnail img { border-radius: 10px !important; }
.y5 .yk-pd-badge { border-radius: 12px !important; background: var(--y5-pist) !important; color: #fff !important; transform: rotate(-6deg); z-index: 2; }

.y5 .y5-pd-info { background: var(--y5-milk) !important; border-radius: 28px !important; padding: 30px 30px 26px !important; box-shadow: var(--yk-shadow) !important; border: 0 !important; position: relative; }
.y5 .y5-pd-info::before { content: ""; position: absolute; inset: 10px; border: var(--y5-stitch); border-radius: 20px; pointer-events: none; }
.y5-pd-hand { margin-bottom: 2px; }
.y5 .yk-pd-title { font: 400 clamp(32px, 3.4vw, 46px)/1.08 var(--yk-serif) !important; color: var(--y5-esp); }
.y5 .yk-pd-stars .fa { color: var(--y5-car) !important; }
.y5 .yk-pd-price { background: var(--yk-gold-l) !important; border: 0 !important; border-radius: 18px !important; padding: 16px 20px !important; }
.y5 .yk-pd-now { font: 400 38px/1 var(--yk-serif) !important; color: var(--y5-esp) !important; }
.y5 .yk-pd-save { border-radius: 10px !important; background: var(--y5-pist) !important; color: #fff !important; transform: rotate(-3deg); display: inline-block; }
.y5 .yk-pd-ship { border-radius: 14px !important; background: var(--yk-green-l) !important; color: var(--y5-pist-d) !important; }
.y5 .yk-qty { border-radius: 14px !important; border: var(--y5-stitch) !important; background: #fff; }
.y5 .yk-qty button { border-radius: 10px !important; }
.y5 #button-cart { border-radius: 16px !important; background: var(--y5-esp) !important; border-color: var(--y5-esp) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .22); }
.y5 #button-cart:hover { background: var(--y5-car) !important; border-color: var(--y5-car) !important; }
.y5 .yk-pd-wa { border-radius: 16px !important; }
.y5 .yk-pd-perks li { border-radius: 16px !important; background: none !important; border: var(--y5-stitch) !important; }
.y5 .yk-pd-perks .fa { border-radius: 12px !important; background: var(--y5-car) !important; color: #fff !important; }

/* Klasör sekmeleri */
.y5-folder { margin-top: 56px; }
.y5 .y5-folder-tabs { border: 0 !important; display: flex; gap: 6px; padding-left: 18px; margin: 0 !important; background: none !important; }
.y5 .y5-folder-tabs > li { float: none; margin: 0 !important; }
.y5 .y5-folder-tabs > li > a { border: 0 !important; border-radius: 18px 18px 0 0 !important; background: var(--yk-cream-2) !important; color: var(--yk-ink-2) !important; font: 700 15px/1 var(--yk-sans) !important; padding: 16px 24px 14px !important; margin: 0 !important; }
.y5 .y5-folder-tabs > li > a:hover { background: var(--yk-gold-l) !important; }
body.y5 #content .y5-folder-tabs > li.active > a, body.y5 #content .y5-folder-tabs > li.active > a:focus, body.y5 #content .y5-folder-tabs > li.active > a:hover { background: var(--y5-milk) !important; color: var(--y5-esp) !important; }
body.y5 #content .y5-folder-tabs > li > a::after, body.y5 #content .y5-folder-tabs > li > a::before { display: none !important; }
body.y5 #content .y5-pd-gallery .yk-pd-thumbs { overflow: visible !important; }
.y5 .y5-folder-body { background: var(--y5-milk) !important; border: 0 !important; border-radius: 26px !important; padding: 36px 40px !important; box-shadow: var(--yk-shadow) !important; position: relative; font-size: 15.5px; line-height: 1.75; }
.y5 .y5-folder-body::before { content: ""; position: absolute; inset: 10px; border: var(--y5-stitch); border-radius: 18px; pointer-events: none; }
.y5-spec { background: none; }
.y5-spec thead td { border: 0 !important; font: 700 24px/1 var(--y5-hand); color: var(--y5-car); }
.y5-spec td { border: 0 !important; border-bottom: var(--y5-stitch) !important; padding: 10px 6px !important; }
.y5 #button-review { border-radius: 14px !important; background: var(--y5-esp) !important; border: 0 !important; }

.y5 .yk-pd-related h2 { font-weight: 400 !important; }
.y5 .yk-pd-related .button-group button { border-radius: 14px !important; background: var(--y5-esp) !important; }
.y5 .yk-pd-related .price-new { color: var(--y5-car) !important; font-family: var(--yk-serif); }
.y5 .yk-pd-tags a { border-radius: 999px !important; border: var(--y5-stitch); }
@media (max-width: 767px) {
  .y5 .y5-folder-tabs { padding-left: 6px; overflow-x: auto; }
  .y5 .y5-folder-tabs > li > a { padding: 13px 16px 11px !important; font-size: 14px !important; white-space: nowrap; }
  .y5 .y5-folder-body { padding: 26px 20px !important; }
}

/* ---------- 9. Genel ---------- */
.y5 .form-control { border-radius: 14px !important; }
.y5 .btn-primary { background: var(--y5-esp); border-color: var(--y5-esp); border-radius: 14px; }
.y5 .btn-primary:hover { background: var(--y5-car); border-color: var(--y5-car); }
.y5 .dropdown-menu, .y5 .yk-drop { border-radius: 18px !important; }

/* ==========================================================
   KATEGORİ + SEPET (y5)
   ========================================================== */
body.yk.y5 .y5-crumb { background: none !important; padding: 20px 0 0 !important; margin: 0 0 14px !important; }
.y5-cat-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; background: var(--y5-milk); border-radius: 28px; padding: 30px 36px; margin-bottom: 30px; box-shadow: 0 6px 0 var(--yk-cream-2); }
.y5-cat-hero::before { content: ""; position: absolute; inset: 9px; border: var(--y5-stitch); border-radius: 20px; pointer-events: none; }
.y5-cat-hero-copy { position: relative; }
body.yk.y5 #product-category .y5-cat-hero h1 { font: 400 clamp(36px, 4.6vw, 60px)/1.05 var(--yk-serif) !important; color: var(--y5-esp) !important; margin: 0 !important; text-align: left !important; }
.y5-cat-desc { margin-top: 10px; color: var(--yk-ink-2); font-size: 15.5px; max-width: 520px; }
.y5-cat-desc p { margin: 0; }
.y5-subcats { position: relative; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.y5-subcats li:nth-child(odd) a { transform: rotate(-2deg); background: #F3D9B8; }
.y5-subcats li:nth-child(even) a { transform: rotate(1.5deg); background: #DDE6C6; }
.y5-subcats a { display: block; padding: 9px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--y5-esp) !important; box-shadow: 0 3px 0 rgba(59,36,20,.15); }
.y5-subcats a:hover { transform: rotate(0) translateY(-2px) !important; }
body.y5 #column-left .panel, body.y5 #column-left .bf-panel-wrapper, body.y5 #column-left > div { border-radius: 22px !important; overflow: hidden; }

.y5-toolbar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 20px; }
.y5-sel { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0 8px 0 16px; height: 46px; border-radius: 16px; background: var(--y5-milk); border: var(--y5-stitch); font-weight: 700; font-size: 13px; color: var(--y5-car); }
.y5-sel span { color: var(--yk-muted); font-weight: 600; }
.y5-sel select { border: 0; background: transparent; font-weight: 700; color: var(--y5-esp); height: 40px; cursor: pointer; }
.y5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.col-sm-12 > .y5-grid { grid-template-columns: repeat(4, 1fr); }
.y5-pc { position: relative; display: flex; flex-direction: column; background: var(--y5-milk); border-radius: 24px; padding: 12px; box-shadow: 0 5px 0 var(--yk-cream-2); transition: transform .2s; min-width: 0; }
.y5-pc::after { content: ""; position: absolute; inset: 5px; border: var(--y5-stitch); border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.y5-pc:hover { transform: rotate(-1deg) translateY(-3px); }
.y5-pc:hover::after { opacity: 1; }
.y5-pc-img { display: block; position: relative; border-radius: 16px; overflow: hidden; }
.y5-pc-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.y5-pc-tag { position: absolute; top: 10px; right: -4px; padding: 4px 14px 6px; background: var(--y5-car); color: #fff; font: 700 20px/1 var(--y5-hand); transform: rotate(4deg); border-radius: 6px; }
body.yk.y5 #content .y5-pc h3 { font: 400 17px/1.3 var(--yk-serif) !important; margin: 12px 4px 8px !important; flex: 1; }
.y5-pc h3 a { color: var(--y5-esp) !important; }
.y5-pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 2px; }
.y5-pc-price { margin: 0; font: 700 26px/1 var(--y5-hand); color: var(--y5-car); }
.y5-pc-price s { font-size: 17px; color: var(--yk-muted); }
.y5-pc-add { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--y5-pist); color: #fff; font-size: 17px; box-shadow: 0 4px 0 var(--y5-pist-d); transition: transform .15s, box-shadow .15s; flex: none; }
.y5-pc-add:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--y5-pist-d); }
.y5-pc-add span { display: none !important; }
.y5-pc-add.smca-call-button-all-p { background: var(--y5-esp); box-shadow: 0 4px 0 var(--y5-esp-d); }
.y5-pager { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; color: var(--yk-muted); font-size: 13px; }
.y5-pager p { margin: 0; }
body.y5 .y5-pager .pagination { margin: 0; display: flex; gap: 6px; }
body.y5 .y5-pager .pagination > li > a, body.y5 .y5-pager .pagination > li > span { border-radius: 12px !important; border: var(--y5-stitch); background: var(--y5-milk); color: var(--y5-esp); margin: 0; font-weight: 700; }
body.y5 .y5-pager .pagination > .active > span { background: var(--y5-esp) !important; color: var(--y5-milk) !important; border: 2px solid var(--y5-esp) !important; }
.y5-empty { text-align: center; padding: 40px 0; }

/* sepet */
.y5-cart-top { margin-bottom: 20px; }
body.yk.y5 #content h1.y5-cart-h { font: 400 clamp(34px, 4.4vw, 54px)/1.05 var(--yk-serif) !important; color: var(--y5-esp) !important; margin: 0 !important; }
body.yk.y5 #content h1.y5-cart-h::after { display: none !important; }
.y5-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; align-items: start; }
.y5-cart-list { display: flex; flex-direction: column; gap: 14px; }
.y5-ci { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 110px 42px; gap: 18px; align-items: center; padding: 14px; background: var(--y5-milk); border-radius: 22px; box-shadow: 0 4px 0 var(--yk-cream-2); }
.y5-ci::before { content: ""; position: absolute; inset: 5px; border: var(--y5-stitch); border-radius: 18px; pointer-events: none; }
.y5-ci > * { position: relative; }
.y5-ci-img img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; display: block; transform: rotate(-2deg); border: 4px solid #fff; box-shadow: 0 3px 8px rgba(59,36,20,.18); }
.y5-ci-name { display: block; font: 400 18px/1.25 var(--yk-serif); color: var(--y5-esp) !important; margin-bottom: 3px; }
.y5-ci-meta { display: block; color: var(--yk-muted); font-size: 13px; }
.y5-ci-qty { display: flex; align-items: center; gap: 4px; background: var(--yk-cream); border-radius: 14px; padding: 4px; }
.y5-ci-qty input { width: 42px; height: 36px; border: 0; background: transparent; text-align: center; font-weight: 700; color: var(--y5-esp); }
.y5-ci-qty button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--y5-car); color: #fff; }
.y5-ci-total { text-align: right; font: 700 28px/1 var(--y5-hand); color: var(--y5-car); }
.y5-ci-del { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--yk-cream); color: var(--y5-esp); }
.y5-ci-del:hover { background: #C94A2E; color: #fff; }
.y5-cart-extra { margin-top: 28px; }
body.y5 .y5-cart-extra .panel { border-radius: 16px !important; overflow: hidden; border: var(--y5-stitch) !important; background: var(--y5-milk) !important; box-shadow: none !important; margin-bottom: 8px !important; }
.y5-receipt { position: sticky; top: 100px; background: #fff; padding: 26px 24px 34px; font-family: 'Courier New', Courier, monospace; color: var(--y5-esp); box-shadow: 0 10px 24px -14px rgba(59,36,20,.45); transform: rotate(.6deg);
  -webkit-mask: radial-gradient(circle 7px at 7px 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x; mask: radial-gradient(circle 7px at 7px 100%, transparent 98%, #000) 0 0 / 14px 100% repeat-x; }
.y5-receipt-t { text-align: center; font-weight: 700; letter-spacing: .12em; margin: 0 0 16px; font-size: 14px; }
.y5-receipt dl { margin: 0 0 20px; border-top: 2px dashed rgba(59,36,20,.35); }
.y5-receipt-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(59,36,20,.25); font-size: 14px; }
.y5-receipt-row dt { font-weight: 400; }
.y5-receipt-row.is-total { border-bottom: 2px dashed rgba(59,36,20,.35); font-size: 18px; font-weight: 700; padding: 12px 0; }
.y5-receipt-row.is-total dt { font-weight: 700; }
.y5-receipt-go { width: 100%; justify-content: center; font-family: var(--yk-sans); }
.y5-receipt-back { display: block; text-align: center; margin-top: 14px; font-family: var(--yk-sans); font-weight: 700; font-size: 14px; color: var(--y5-esp) !important; text-decoration: underline dashed; text-underline-offset: 4px; }
.y5-receipt-hand { text-align: center; margin: 14px 0 0; font-size: 28px; transform: rotate(-3deg); }

@media (max-width: 991px) {
  .y5-grid, .col-sm-12 > .y5-grid { grid-template-columns: repeat(2, 1fr); }
  .y5-cart-grid { grid-template-columns: 1fr; }
  .y5-receipt { position: static; }
}
@media (max-width: 600px) {
  .y5-cat-hero { padding: 22px; }
  .y5-grid { gap: 14px; }
  .y5-pc { padding: 8px; border-radius: 18px; }
  body.yk.y5 #content .y5-pc h3 { font-size: 14px !important; }
  .y5-pc-price { font-size: 21px; } .y5-pc-price s { display: none; }
  .y5-pc-add { width: 38px; height: 38px; font-size: 14px; }
  .y5-toolbar { justify-content: stretch; } .y5-sel { flex: 1; } .y5-sel select { flex: 1; min-width: 0; }
  .y5-ci { grid-template-columns: 72px minmax(0, 1fr) 40px; gap: 10px 12px; }
  .y5-ci-img img { width: 72px; height: 72px; }
  .y5-ci-qty { grid-column: 2; justify-self: start; } .y5-ci-total { grid-column: 2; text-align: left; }
  .y5-ci-del { grid-row: 1; grid-column: 3; width: 38px; height: 38px; }
}
