/* ============================================================
   PatiDükkanı — Tasarım sistemi
   Teal (#12A594) + mercan (#FF6B4A), Plus Jakarta Sans, kompakt & dolu.
   Modern grotesk, serif YOK, eyebrow-pill YOK. Sıcak nötrler, teal-tint gölge.
   ============================================================ */

/* --- Font (self-host, variable, latin + latin-ext = Türkçe) --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/pjs-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/pjs-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* --- Tokens --- */
:root {
  --brand:      #12A594;
  --brand-600:  #0E8578;
  --brand-700:  #0B6A60;
  --brand-050:  #E7F6F3;
  --brand-100:  #CFEDE7;
  --accent:     #FF6B4A;
  --accent-600: #F0552F;
  --accent-050: #FFF0EC;

  --ink:     #16211F;
  --ink-2:   #3B4A47;
  --muted:   #6B7B77;
  --faint:   #9FB0AB;
  --line:    #E6EEEB;
  --line-2:  #D9E6E2;
  --surface: #F3F8F6;
  --surface-2: #EAF3F0;
  --white:   #FFFFFF;

  --star:   #FFB020;
  --warn:   #E8871E;
  --danger: #E24C4B;
  --success:#12A594;

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(11,106,96,.06);
  --shadow-sm: 0 4px 14px -8px rgba(11,106,96,.22);
  --shadow:    0 14px 34px -18px rgba(11,106,96,.30);
  --shadow-lg: 0 28px 60px -28px rgba(11,106,96,.38);

  --maxw: 1200px;
  --gap: 24px;
  --header-h: 132px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head p { color: var(--muted); margin-top: 4px; }
.section-head .link-more { color: var(--brand-600); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section-head .link-more:hover { gap: 10px; }
.title-accent { position: relative; display: inline-block; }
.title-accent::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 46px; height: 4px; border-radius: 4px; background: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 22px; border-radius: var(--radius-sm);
  transition: transform .16s var(--ease), background .16s, box-shadow .16s, color .16s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-600); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(240,85,47,.6); }
.btn--accent:hover { background: var(--accent-600); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-050); }
.btn--soft { background: var(--brand-050); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand-100); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 15px; font-size: 13.5px; border-radius: var(--radius-xs); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --- Topbar --- */
.topbar { background: var(--ink); color: #cfe4df; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: #eafaf6; }
.topbar__promo { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a:hover { color: var(--accent); }

/* --- Header --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 16px 0; transition: padding .2s var(--ease); }
.site-header.scrolled .header-main { padding: 10px 0; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input {
  width: 100%; padding: 13px 48px 13px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-size: 15px;
  transition: border .16s, background .16s, box-shadow .16s;
}
.search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-050); }
.search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.search button:hover { background: var(--brand-600); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.iconbtn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 11.5px; font-weight: 600; transition: color .16s, background .16s; }
.iconbtn:hover { color: var(--brand-600); background: var(--brand-050); }
.iconbtn svg { width: 23px; height: 23px; }
.iconbtn .count { position: absolute; top: 2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: none; align-items: center; justify-content: center; line-height: 18px; }
.iconbtn .count.show { display: inline-flex; }

/* --- Nav (mega) --- */
.mainnav { border-top: 1px solid var(--line); }
.mainnav .container { display: flex; align-items: center; gap: 4px; }
.mainnav__item { position: relative; }
.mainnav__link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 700; font-size: 15px; color: var(--ink); position: relative; }
.mainnav__link .emoji { font-size: 17px; }
.mainnav__link:hover, .mainnav__link.is-active { color: var(--brand-700); }
.mainnav__link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.mainnav__link:hover::after, .mainnav__link.is-active::after { transform: scaleX(1); }
.mainnav__link--accent { color: var(--accent-600); }
.mainnav__link--accent::after { background: var(--accent); }

.mega { position: absolute; top: 100%; left: 0; min-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.mainnav__item:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-xs); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.mega a:hover { background: var(--brand-050); color: var(--brand-700); }
.mega a .emoji { font-size: 18px; }

/* --- Mobile nav toggle --- */
.navtoggle { display: none; }
.mobile-only { display: none; }

/* --- Hero --- */
.hero { padding: 40px 0 8px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-700); font-weight: 700; font-size: 14px; background: var(--brand-050); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 18px 0 14px; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 30ch; }
.hero__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust div { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero__trust .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-050); color: var(--brand-600); display: grid; place-items: center; }
.hero__media { position: relative; }
.hero__media .main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; }
.hero__media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .float { position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.hero__media .float .avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-050); display: grid; place-items: center; font-size: 24px; }
.hero__media .float b { display: block; font-size: 14px; }
.hero__media .float span { font-size: 12.5px; color: var(--muted); }

/* --- Hero slider --- */
.hero-wrap { padding: 24px 0 8px; }
.hero-slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.hero-slides { position: relative; height: 460px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease); }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,38,.82) 0%, rgba(11,42,38,.5) 42%, rgba(11,42,38,.05) 72%); }
.hero-slide--accent .hero-slide__overlay { background: linear-gradient(90deg, rgba(120,32,12,.82) 0%, rgba(160,50,26,.45) 42%, rgba(11,42,38,.05) 72%); }
.hero-slide__content { position: absolute; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(28px, 5vw, 64px); max-width: 620px; color: #fff; }
.hero-slide__badge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: var(--accent); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; text-transform: uppercase; }
.hero-slide--teal .hero-slide__badge { background: var(--brand); }
.hero-slide__content h2 { color: #fff; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em; }
.hero-slide__content p { font-size: clamp(15px, 1.6vw, 19px); opacity: .94; margin: 14px 0 26px; max-width: 30ch; }
.hero-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; z-index: 4; box-shadow: var(--shadow-sm); transition: background .15s, transform .15s; }
.hero-slider__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-slider__arrow.prev { left: 16px; }
.hero-slider__arrow.next { right: 16px; }
.hero-slider__arrow svg { width: 22px; height: 22px; }
.hero-slider__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.hero-slider__dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .25s, background .25s; }
.hero-slider__dots button.is-active { width: 28px; background: #fff; }

/* --- Kayan markalar --- */
.brands-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 22px 0; margin-top: 20px; overflow: hidden; }
.brands-strip__label { text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.brands-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; align-items: center; gap: 14px; flex-shrink: 0; padding-right: 14px; animation: brand-scroll 32s linear infinite; }
.brands-strip:hover .brands-track { animation-play-state: paused; }
.brand-chip { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; padding: 10px 20px 10px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s, transform .15s; }
.brand-chip:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.brand-mono { width: 34px; height: 34px; border-radius: 9px; color: #fff; font-weight: 800; font-size: 16px; display: grid; place-items: center; flex-shrink: 0; }
.brand-chip__logo { height: 30px; width: auto; max-width: 92px; object-fit: contain; }
.brand-chip__name { font-weight: 800; font-size: 15.5px; color: var(--ink); letter-spacing: -0.01em; }
@keyframes brand-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Value band --- */
.valueband { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.valueband .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 20px; }
.value { display: flex; align-items: center; gap: 13px; }
.value .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-xs); color: var(--brand-600); display: grid; place-items: center; flex-shrink: 0; }
.value b { display: block; font-size: 14.5px; }
.value span { font-size: 12.5px; color: var(--muted); }

/* --- Pet cards --- */
.petgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.petcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-sm); display: block; }
.petcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.petcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,42,38,.78), rgba(11,42,38,.05) 55%); }
.petcard__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; color: #fff; }
.petcard__label .emoji { font-size: 26px; }
.petcard__label b { display: block; font-size: 18px; font-weight: 800; margin-top: 2px; }
.petcard__label span { font-size: 12.5px; opacity: .85; }
.petcard:hover img { transform: scale(1.07); }

/* --- Product grid + card --- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; position: relative; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.pcard__media { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pcard__fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow-xs); color: var(--muted); transition: transform .15s, color .15s, background .15s; }
.pcard__fav:hover { transform: scale(1.1); color: var(--accent); }
.pcard__fav.is-fav { color: #fff; background: var(--accent); }
.pcard__fav svg { width: 19px; height: 19px; }
.pcard__body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__brand { font-size: 12px; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .04em; }
.pcard__name { font-size: 15px; font-weight: 700; color: var(--ink); margin: 5px 0 8px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__name:hover { color: var(--brand-700); }
.pcard__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
.pcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; }
.price .now { font-size: 19px; font-weight: 800; color: var(--ink); }
.price .from { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.price .old { font-size: 13px; color: var(--faint); text-decoration: line-through; }
.pcard__add { width: 42px; height: 42px; border-radius: var(--radius-xs); background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; transition: background .16s, color .16s, transform .16s; flex-shrink: 0; }
.pcard__add:hover { background: var(--brand); color: #fff; }
.pcard__add:active { transform: scale(.92); }
.pcard__add svg { width: 20px; height: 20px; }

/* --- Badges --- */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 7px; letter-spacing: .02em; }
.badge--sale { background: var(--accent); color: #fff; }
.badge--new { background: var(--brand); color: #fff; }
.badge--feat { background: #fff; color: var(--brand-700); border: 1px solid var(--brand-100); }
.badge--out { background: var(--ink); color: #fff; }
.badge--soft { background: var(--brand-050); color: var(--brand-700); }

/* --- Stars --- */
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.stars .empty { color: var(--line-2); }
.rating-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }

/* --- Breadcrumb --- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 20px 0 4px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand-600); }
.crumb .sep { color: var(--faint); }
.crumb .cur { color: var(--ink-2); font-weight: 600; }

/* --- Category / listing --- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 12px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 18px; }
.filters__group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filters__group:last-child { border-bottom: none; }
.filters__group h4 { font-size: 14px; margin-bottom: 12px; }
.filter-chk { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.filter-chk input { width: 17px; height: 17px; accent-color: var(--brand); }
.filter-chk .n { margin-left: auto; color: var(--faint); font-size: 12px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; padding: 9px 10px; border: 1.5px solid var(--line-2); border-radius: var(--radius-xs); font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.select { padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 14px; font-weight: 600; }

/* --- Product detail --- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; padding-top: 8px; }
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 72px; height: 72px; border-radius: var(--radius-xs); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); }
.gallery__thumbs button.is-active { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__brand { color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.pdp h1 { font-size: clamp(24px, 3.2vw, 33px); margin: 8px 0 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.pdp__price .now { font-size: 32px; font-weight: 800; color: var(--ink); }
.pdp__price .old { font-size: 19px; color: var(--faint); text-decoration: line-through; }
.pdp__price .save { background: var(--accent-050); color: var(--accent-600); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.pdp__desc { color: var(--ink-2); margin: 16px 0; }
.variant-picker { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 20px; }
.variant-opt { padding: 11px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; text-align: center; }
.variant-opt small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; margin-top: 2px; }
.variant-opt:hover { border-color: var(--brand); }
.variant-opt.is-active { border-color: var(--brand); background: var(--brand-050); color: var(--brand-700); }
.variant-opt.is-out { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 42px; height: 46px; font-size: 20px; color: var(--ink-2); }
.qty button:hover { background: var(--surface); color: var(--brand-600); }
.qty input { width: 46px; height: 46px; text-align: center; border: none; font-weight: 700; }
.buybar { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 20px; }
.stockline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.stockline.ok { color: var(--brand-600); }
.stockline.low { color: var(--warn); }
.stockline.out { color: var(--danger); }
.pdp__facts { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.pdp__facts div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pdp__facts .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-050); color: var(--brand-600); display: grid; place-items: center; }

/* --- Reviews --- */
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review__avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--brand-050); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; }
.review__name { font-weight: 700; font-size: 14.5px; }
.review__date { color: var(--faint); font-size: 12.5px; }
.review .verified { color: var(--brand-600); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* --- Forms --- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink-2); }
.field .req { color: var(--accent-600); }
.input, .textarea, select.input {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; transition: border .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, select.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.textarea { min-height: 120px; resize: vertical; }
.field-error { display: block; color: var(--danger); font-size: 13px; margin-top: 6px; font-weight: 600; }
.field.has-error .input, .field.has-error .textarea { border-color: var(--danger); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.checkline a { color: var(--brand-600); font-weight: 600; text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* --- Alert / notice --- */
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert--ok { background: var(--brand-050); color: var(--brand-700); }
.alert--err { background: #FDECEC; color: #B4322F; }
.alert--info { background: #FFF6E9; color: #8A5A12; }

/* --- Cart --- */
.cartwrap { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cartline { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cartline__img { width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.cartline__img img { width: 100%; height: 100%; object-fit: cover; }
.cartline__name { font-weight: 700; font-size: 15px; }
.cartline__var { color: var(--muted); font-size: 13px; margin-top: 2px; }
.cartline__rm { color: var(--faint); font-size: 13px; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.cartline__rm:hover { color: var(--danger); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 12px); }
.summary h3 { font-size: 18px; margin-bottom: 16px; }
.summary__row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.summary__row.total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.summary__row .free { color: var(--brand-600); font-weight: 700; }
.freeship { background: #fff; border-radius: var(--radius-sm); padding: 12px; margin: 14px 0; font-size: 13px; }
.freeship .bar { height: 7px; border-radius: 999px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.freeship .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-600)); border-radius: 999px; transition: width .4s var(--ease); }
.coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.coupon-row .input { flex: 1; }

/* --- Empty state --- */
.empty { text-align: center; padding: 60px 20px; }
.empty .emoji { font-size: 64px; }
.empty h3 { font-size: 22px; margin: 12px 0 6px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

/* --- Account layout --- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: calc(var(--header-h) + 12px); }
.account-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: var(--radius-xs); color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.account-nav a:hover { background: var(--surface); }
.account-nav a.is-active { background: var(--brand-050); color: var(--brand-700); }
.account-nav a svg { width: 19px; height: 19px; }
.account-nav .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h1, .panel h2 { font-size: 22px; margin-bottom: 6px; }

/* --- Data table --- */
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.dtable td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.dtable tr:hover td { background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill--wait { background: #FFF6E9; color: #8A5A12; }
.pill--ok { background: var(--brand-050); color: var(--brand-700); }
.pill--paid { background: #E8F5E9; color: #2E7D32; }
.pill--ship { background: #E7F0FF; color: #1E5FBF; }
.pill--cancel { background: #FDECEC; color: #B4322F; }

/* --- Pagination --- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-xs); font-weight: 700; font-size: 14px; border: 1.5px solid var(--line-2); color: var(--ink-2); padding: 0 12px; }
.pagination a:hover { border-color: var(--brand); color: var(--brand-700); }
.pagination .cur { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .gap { border: none; }

/* --- CTA band --- */
.ctaband { position: relative; border-radius: var(--radius-xl); overflow: hidden; color: #fff; }
.ctaband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctaband__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,106,96,.94), rgba(11,106,96,.55)); }
.ctaband__inner { position: relative; padding: 54px 48px; max-width: 560px; }
.ctaband h2 { color: #fff; font-size: clamp(26px,3.6vw,38px); }
.ctaband p { margin: 12px 0 24px; opacity: .92; font-size: 17px; }

/* --- Blog --- */
.bloggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blogcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.blogcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blogcard__img { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.blogcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.blogcard:hover .blogcard__img img { transform: scale(1.05); }
.blogcard__body { padding: 18px; }
.blogcard__body time { color: var(--brand-600); font-size: 12.5px; font-weight: 700; }
.blogcard__body h3 { font-size: 18px; margin: 8px 0; }
.blogcard__body p { color: var(--muted); font-size: 14px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin: 1em 0; color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 20px; margin: 1.3em 0 .4em; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose ul { list-style: disc; padding-left: 1.3em; color: var(--ink-2); }
.prose li { margin: .4em 0; }

/* --- Footer --- */
.site-footer { background: var(--ink); color: #b9cfca; margin-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding: 56px 0 40px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #b9cfca; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; }
.footer-social a:hover { background: var(--brand); }
.footer-social svg { width: 20px; height: 20px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter-form input { flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; }
.newsletter-form input::placeholder { color: #8aa39d; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; opacity: .8; }
.footer-bottom .pay span { background: rgba(255,255,255,.1); padding: 4px 9px; border-radius: 6px; font-weight: 700; font-size: 11px; }

/* --- Ödeme logoları --- */
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-badge { height: 32px; padding: 0 10px; background: #fff; border: 1px solid #E6EEEB; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 1px 2px rgba(11,106,96,.06); }
.pay-badge svg { display: block; }
.pay-badge--secure { color: var(--brand-700); font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }

/* --- Toast --- */
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; display: flex; align-items: center; gap: 10px; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.ok .dot { color: #6fe3c8; }
#toast.err { background: #B4322F; }

/* --- Scroll reveal (yalnızca JS varken gizle; no-JS'de içerik görünür kalır) --- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .07s; }
.js .reveal[data-delay="2"] { transition-delay: .14s; }
.js .reveal[data-delay="3"] { transition-delay: .21s; }
.js .reveal[data-delay="4"] { transition-delay: .28s; }

/* --- Utilities --- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.hide { display: none !important; }
.flexbtw { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wrap-narrow { max-width: 480px; margin: 0 auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --header-h: 118px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .petgrid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero p.lead { max-width: none; }
}
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cartwrap { grid-template-columns: 1fr; }
  .account { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .account-nav .sep { display: none; }
  .bloggrid { grid-template-columns: 1fr 1fr; }
  .valueband .container { grid-template-columns: 1fr 1fr; }
  .search { display: none; }
  .mobile-search { display: block; }
}
@media (max-width: 680px) {
  .section { padding: 44px 0; }
  .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .petgrid { grid-template-columns: repeat(2, 1fr); }
  .bloggrid { grid-template-columns: 1fr; }
  .valueband .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .navtoggle { display: inline-flex; }
  .mobile-only { display: block; }
  .header-main { grid-template-columns: auto auto 1fr; gap: 12px; }
  .hero h1 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .ctaband__inner { padding: 36px 26px; }
  .cartline { grid-template-columns: 70px 1fr; }
  .cartline__img { width: 70px; height: 70px; }
  .pcard__name { font-size: 14px; }
}

/* --- Mobile drawer --- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11,42,38,.5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: 82%; max-width: 340px; background: #fff; transform: translateX(-100%); transition: transform .28s var(--ease); overflow-y: auto; padding: 20px; }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel a { display: block; padding: 13px 12px; font-weight: 700; border-radius: var(--radius-xs); color: var(--ink); }
.drawer__panel a:hover { background: var(--surface); }
.drawer__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); display: grid; place-items: center; }

/* --- Hero slider responsive --- */
@media (max-width: 1024px) { .hero-slides { height: 400px; } }
@media (max-width: 680px) {
  .hero-slides { height: 380px; }
  .hero-slide__overlay { background: linear-gradient(90deg, rgba(11,42,38,.85) 0%, rgba(11,42,38,.55) 70%, rgba(11,42,38,.35) 100%); }
  .hero-slide--accent .hero-slide__overlay { background: linear-gradient(90deg, rgba(120,32,12,.85) 0%, rgba(160,50,26,.5) 70%, rgba(120,32,12,.35) 100%); }
  .hero-slide__content { max-width: 100%; padding: 0 22px; }
  .hero-slider__arrow { display: none; }
  .brand-chip { font-size: 14px; padding: 10px 18px; }
}

/* ============================================================
   iOS / Android dokunmatik sağlamlık
   ============================================================ */
* { -webkit-tap-highlight-color: rgba(18,165,148,.16); }
input, textarea, select, button { -webkit-appearance: none; appearance: none; }
input[type=checkbox], input[type=radio] { -webkit-appearance: auto; appearance: auto; }
html { -webkit-text-size-adjust: 100%; }
body { overscroll-behavior-y: none; }

/* iOS: <16px input odakta sayfayı zoomlar → mobilde 16px */
@media (max-width: 767px) {
  .input, .textarea, select.input, .select, .search input,
  input[type=text], input[type=email], input[type=password],
  input[type=search], input[type=tel], input[type=number], input[type=datetime-local], textarea {
    font-size: 16px;
  }
}

/* Dokunma hedefleri ≥ 44px (mobil) */
@media (max-width: 860px) {
  .iconbtn { min-width: 44px; min-height: 44px; }
  .qty button { min-width: 44px; }
  .pcard__fav, .pcard__add { min-width: 44px; min-height: 44px; }
  .hero-slider__dots button { min-height: 20px; padding: 8px 0; margin: -8px 0; background-clip: content-box; }
  .filter-chk, .checkline { padding-top: 8px; padding-bottom: 8px; }
}

/* Çentik / safe-area (iPhone) */
@supports (padding: max(0px, env(safe-area-inset-bottom))) {
  .topbar > .container, .header-main, .mainnav > .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  #toast { margin-bottom: env(safe-area-inset-bottom); }
  .drawer__panel { padding-left: max(20px, env(safe-area-inset-left)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

/* Mobilde geniş tabloları yatay kaydır (taşma yerine) */
@media (max-width: 680px) {
  .dtable { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .prose { overflow-wrap: break-word; }
}

/* Tıklanabilir kartlarda imleç */
.pcard, .petcard, .blogcard, .brand-chip, .task-row { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
