/* Generated by build.mjs from src/css/. Edit the sheets there, not this file. */
/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Colours come from the logo: TG yellow and anthracite. Helpers: sack white and barley.
   Type: Bitter (headings) and Source Sans 3 (text), both self-hosted. */

@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sari: #FCCB05;
  --sari-koyu: #E9B800;
  --antrasit: #3A3A38;
  --kara: #232322;
  --cuval: #F1F0EB;
  --kagit: #FFFFFF;
  --etiket: #FBF8EE;
  --arpa: #B4873A;
  --yonca: #1B6B3A;
  --cizgi: rgba(35, 35, 34, .2);
  --cizgi-acik: rgba(255, 255, 255, .2);

  --kenar: clamp(18px, 4.5vw, 56px);
  --en: 1240px;
  --bosluk: clamp(64px, 9vw, 128px);
  --ust: 72px;

  --baslik: "Bitter", Georgia, "Times New Roman", serif;
  --yazi: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  /* fine speckle that makes flat colour read as printed ink */
  --doku: url("/assets/img/doku.png");
}

*, *::before, *::after { box-sizing: border-box; }
/* The colour behind the page is the colour of the top bar and the footer, so pulling the page
   past its top or bottom edge shows more of the same dark band, never a pale strip. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ust) + 12px); background: var(--kara); }
body {
  margin: 0;
  font-family: var(--yazi);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--kara);
  background: var(--cuval);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 3px solid var(--kara); outline-offset: 3px; border-radius: 3px; }
.band--koyu :focus-visible, .top :focus-visible, .alt :focus-visible, .hizli :focus-visible { outline-color: var(--sari); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sari); color: var(--kara); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--kenar), var(--en)); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
.hero__title, .h2, .h3, .h4, .raf__ad, .soz__q p, .soz__q footer b, .etiket__bas span, .magaza__tel, .magaza__kanal b {
  font-family: var(--baslik);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.1;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 3.9vw, 3.15rem); }
.h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h4 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: 0; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 34em; }

.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 60px); max-width: 46rem; }
.head__p { font-size: clamp(1.125rem, 1.4vw, 1.25rem); max-width: 34em; }

/* the underline of .link and every hover state are in hover.css */
.link { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px;
  border-radius: 6px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.125rem; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background-color: var(--kara); border-color: var(--kara); color: #fff; }
.btn--line { border-color: var(--kara); color: var(--kara); }
.btn--wa { background-color: var(--yonca); color: #fff; }
/* on the dark bands */
.btn--sari { background-color: var(--sari); border-color: var(--sari); color: var(--kara); }
.btn--acik { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* ---------- Sections ---------- */
.band { padding-block: var(--bosluk); }
.band--cuval { background: var(--cuval); }
.band--kagit { background: var(--kagit); }
.band--koyu { background: var(--kara); color: #fff; }
.band--sari { background: var(--sari) var(--doku); }
#cuvallar.band { padding-top: clamp(40px, 6vw, 80px); }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Site chrome: top bar, footer and the sticky contact bar on phones. */

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--kara); color: #fff; }
.top__in { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); height: var(--ust); }
.top__logo img { height: 46px; width: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: 1.0625rem; padding: 8px 0 10px; white-space: nowrap; }
.top__tel {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background-color: var(--sari); color: var(--kara);
  font-weight: 700; font-size: 1.125rem; font-variant-numeric: lining-nums tabular-nums;
  height: 44px; padding: 0 16px; border-radius: 6px; white-space: nowrap;
}
.top__burger { display: none; width: 44px; height: 44px; position: relative; margin-left: 4px; }
.top__burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .2s ease, top .2s ease; }
.top__burger i:nth-of-type(1) { top: 17px; }
.top__burger i:nth-of-type(2) { top: 26px; }
.top__burger[aria-expanded="true"] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.top__burger[aria-expanded="true"] i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Footer ---------- */
.alt { background: var(--kara); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.alt__in { display: grid; grid-template-columns: auto 1fr; gap: 28px clamp(32px, 6vw, 96px); align-items: center; }
.alt__logo { width: 200px; height: auto; }
.alt__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.alt__nav a { text-decoration: none; font-weight: 600; padding: 6px 0 8px; }
.alt__not { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--cizgi-acik); font-size: 1rem; color: rgba(255, 255, 255, .74); }

/* ---------- Sticky contact bar (phones only) ---------- */
.hizli { display: none; }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Hero: headline, sack and the stitched seam under it. */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sari) var(--doku); overflow-x: clip; }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end;
  gap: clamp(16px, 3vw, 48px);
  min-height: min(calc(100svh - var(--ust)), 800px);
  padding-top: clamp(40px, 6vw, 84px);
}
.hero__text { align-self: center; padding-bottom: clamp(56px, 8vw, 104px); }
.hero__title { font-size: clamp(3rem, 6.6vw, 6rem); line-height: 1.03; letter-spacing: -0.02em; font-weight: 900; }
.hero__title span { display: block; }
/* the line above the headline says what the shop sells and where, in plain words */
.hero__ust { font-family: var(--yazi); font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: 0; margin-bottom: .75em; }
.hero__lead { margin-top: clamp(18px, 2.2vw, 28px); font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.hero__facts { container-type: inline-size; display: flex; flex-wrap: wrap; row-gap: 6px; margin-top: clamp(24px, 3vw, 38px); font-weight: 600; font-size: 1.0625rem; }
.hero__facts li { padding: 2px 18px; border-left: 2px solid rgba(35, 35, 34, .32); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
/* The opening hours change with the time of day, and the block must not change height with them.
   Where the column holds the longest wording the facts stay on one line; where it does not,
   the hours always take a line of their own. The two widths are the longest line on each page. */
@container (min-width: 608px) { .hero .hero__facts li { white-space: nowrap; } }
@container (max-width: 607.98px) {
  .hero .hero__saat { flex-basis: 100%; }
  .hero .hero__saat + li { padding-left: 0; border-left: 0; }
}
@container (min-width: 406px) { .mhero .hero__facts li { white-space: nowrap; } }
@container (max-width: 405.98px) {
  .mhero .hero__saat { flex-basis: 100%; }
  .mhero .hero__saat, .mhero .hero__saat + li { padding-left: 0; border-left: 0; }
}

.hero__sack { position: relative; align-self: end; justify-self: center; margin-bottom: -34px; z-index: 2; }
.hero__sack img {
  width: min(100%, 520px); height: auto;
  transform-origin: 50% 100%;
  animation: otur .9s cubic-bezier(.2, .9, .25, 1) both;
}
/* Ground shadow in two layers, both under the base of the sack rather than
   behind its outline: a wide soft penumbra that leans away from the light,
   and a tight dark contact shadow where the sack meets the floor. */
.hero__sack::before, .hero__sack::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  animation: golge .9s ease-out both;
}
.hero__sack::before {
  left: -7%; right: -17%; bottom: -30px; height: 78px;
  background: radial-gradient(closest-side, rgba(52, 38, 8, .30), rgba(52, 38, 8, .13) 52%, rgba(52, 38, 8, 0) 100%);
  filter: blur(9px);
}
.hero__sack::after {
  left: 3%; right: 0; bottom: -9px; height: 26px;
  background: radial-gradient(closest-side, rgba(28, 20, 4, .55), rgba(28, 20, 4, .2) 60%, rgba(28, 20, 4, 0) 100%);
  filter: blur(4px);
}
/* the sack is set down once on load and its shadow gathers under it */
@keyframes otur {
  0% { transform: translateY(-46px) rotate(-2.5deg); opacity: 0; }
  55% { transform: translateY(0) rotate(.6deg) scaleY(.985); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes golge {
  0% { opacity: 0; transform: scale(.72); }
  55% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: none; }
}

/* Chain stitch of a sack mouth, used as the seam between hero and content */
.dikis {
  position: relative; z-index: 1; height: 46px; background: var(--cuval);
  border-top: 1px solid rgba(35, 35, 34, .1);
}
.dikis::before {
  content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12' viewBox='0 0 26 12'%3E%3Cpath d='M2 6c3-5 9-5 12 0s9 5 12 0' fill='none' stroke='%23B4873A' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M2 6c3 5 9 5 12 0' fill='none' stroke='%23B4873A' stroke-width='2' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") repeat-x left center;
}

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Products: the open-sack explorer, the fact rows and the list of other products. */

/* ---------- Product explorer ---------- */
.sack__top {
  display: block; aspect-ratio: 1; border-radius: 50%;
  background: var(--img) center / cover;
  /* rolled sack rim plus the depth inside it */
  box-shadow:
    inset 0 10px 22px rgba(0, 0, 0, .42),
    inset 0 -3px 8px rgba(255, 255, 255, .18),
    0 0 0 7px #FBFAF6,
    0 0 0 8px rgba(35, 35, 34, .16),
    0 16px 22px -12px rgba(35, 35, 34, .5);
}
.sacks {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 26px);
  margin-bottom: clamp(36px, 5vw, 60px);
}
.sack { display: grid; gap: 16px; justify-items: center; align-content: start; text-align: center; padding: 8px 2px 0; }
.sack .sack__top { width: 100%; max-width: 132px; }
.sack__ad { font-weight: 600; font-size: 1.0625rem; line-height: 1.2; padding-bottom: 6px; border-bottom: 3px solid transparent; }
.sack[aria-selected="true"] .sack__top {
  box-shadow:
    inset 0 10px 22px rgba(0, 0, 0, .42),
    inset 0 -3px 8px rgba(255, 255, 255, .18),
    0 0 0 7px var(--sari),
    0 0 0 9px var(--kara),
    0 16px 22px -12px rgba(35, 35, 34, .5);
}
.sack[aria-selected="true"] .sack__ad { font-weight: 700; border-bottom-color: var(--kara); }

/* Detail of the chosen sack: set straight on the page under a rule, not in a card.
   All eight panels share one grid cell, so the block is as tall as the longest
   one and the page below never jumps when the product changes. */
.aciklar { display: grid; border-top: 2px solid var(--kara); padding-top: clamp(32px, 5vw, 64px); }
.acik {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center;
  gap: clamp(28px, 5vw, 84px);
  /* the panel that leaves fades away under the one that arrives */
  visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s .2s;
}
.acik.secili { visibility: visible; opacity: 1; transition: none; }
.acik__gorsel { padding: 10px; }
/* the rim and the depth inside it stay put; only the photo in it changes */
.sack__top--buyuk { position: relative; width: 100%; max-width: 380px; margin-inline: auto; background: none; box-shadow:
    0 0 0 14px #FBFAF6,
    0 0 0 15px rgba(35, 35, 34, .16),
    0 34px 40px -24px rgba(35, 35, 34, .55); }
.sack__top--buyuk img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sack__top--buyuk::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 22px 44px rgba(0, 0, 0, .42), inset 0 -6px 14px rgba(255, 255, 255, .18);
}
.acik__metin { display: grid; gap: 18px; justify-items: start; }
.acik__p { font-size: clamp(1.15rem, 1.45vw, 1.3rem); line-height: 1.5; max-width: 32em; }
.acik__cta { margin-top: 6px; }
/* A product arriving (class set by site.js). The contents of the sack turn
   into place: clockwise when moving on to a later product, anticlockwise when
   going back (--yon is 1 or -1). Name, text, each fact row and the button then
   settle in one after another, slowly and over a short distance. */
.acik.giris .sack__top--buyuk img { animation: cevir .85s cubic-bezier(.22, .7, .2, 1) both; }
.acik.giris .acik__metin > :not(dl), .acik.giris .kunye > div { animation: gel .75s cubic-bezier(.25, .6, .3, 1) calc(.18s + var(--s, 0) * 95ms) both; }
.acik__p { --s: 1; }
.acik .kunye > div { --s: 2; }
.acik .kunye > div + div { --s: 3; }
.acik__cta { --s: 4; }
@keyframes cevir { from { opacity: 0; transform: rotate(calc(var(--yon, 1) * -24deg)) scale(.94); } }
@keyframes gel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Fact rows, laid out like the contents table on a feed-sack label */
.kunye { width: 100%; display: grid; }
.kunye > div { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid var(--cizgi); }
.kunye > div:last-child { border-bottom: 1px solid var(--cizgi); }
.kunye dt { font-weight: 400; white-space: nowrap; }
.kunye > div::before { content: ""; order: 1; flex: 1; border-bottom: 2px dotted rgba(35, 35, 34, .34); transform: translateY(-4px); min-width: 16px; }
.kunye dd { order: 2; font-weight: 700; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.kunye--ince { max-width: 34rem; }

/* ---------- Other products ---------- */
.raf { border-top: 1px solid var(--cizgi-acik); }
.raf li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 6px clamp(20px, 4vw, 64px);
  padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--cizgi-acik);
}
.raf__ad { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.15; }
.raf__not { font-size: 1.125rem; line-height: 1.45; color: rgba(255, 255, 255, .8); max-width: 30em; }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Story: owner quote, own production and how to order. */

/* ---------- Owner quote ---------- */
.soz { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); background: var(--sari) var(--doku); color: var(--kara); }
/* The photo stands on its own: nothing is set over the animals */
.soz__foto { display: block; min-height: clamp(440px, 42vw, 620px); }
.soz__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.soz__panel {
  position: relative; display: flex; align-items: center;
  padding: clamp(28px, 3.4vw, 52px);
  padding-right: max(var(--kenar), calc((100vw - var(--en)) / 2));
}
/* Pinked edge, as on the cut mouth of a woven sack, biting into the photo */
.soz__panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='26' viewBox='0 0 13 26'%3E%3Cpath d='M13 0L0 13l13 13z' fill='%23FCCB05'/%3E%3C/svg%3E") left top / 13px 26px no-repeat round;
}
/* The quote sits inside a sewn frame: a running stitch with round thread ends */
.soz__q { position: relative; width: 100%; padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 44px); }
.soz__cerceve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.soz__cerceve rect { fill: none; stroke: var(--kara); stroke-width: 2.5; stroke-dasharray: 13 10; stroke-linecap: round; }
.soz__q p { font-size: clamp(1.5rem, 2.5vw, 2.3rem); font-weight: 700; line-height: 1.24; }
.soz__satir + .soz__satir { margin-top: .35em; }
/* Emphasis: a marker stroke drawn by hand under the two words that carry the line */
.vurgu {
  font-style: normal; padding-bottom: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 8.6C40 4.2 92 2.6 150 4c18 .5 34 1.700 47 3.600-31-1-63-.800-97 .600C66 9.600 32 11.200 4 12.600z' fill='%23232322'/%3E%3C/svg%3E") no-repeat left 100% / 100% .3em;
  transition: background-size .7s cubic-bezier(.3, .7, .2, 1);
}
.vurgu--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 5.400c32 2.800 70 3.800 110 2.600 33-1 61-3 85-5.800-21 5-49 8.600-85 9.800C72 13.400 31 11.600 3 9z' fill='%23232322'/%3E%3C/svg%3E");
  transition-delay: .35s;
}
/* until the section scrolls into view the strokes are not drawn yet (set by JS) */
.soz.bekle .vurgu { background-size: 0% .3em; }
.soz__q footer { margin-top: clamp(22px, 2.4vw, 32px); display: grid; gap: 2px; font-size: 1.0625rem; }
.soz__q footer b { font-size: 1.3125rem; font-weight: 700; }
.soz__satir { display: block; }

/* ---------- Own production ---------- */
.uretim { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
/* The photo sits on a block of brand yellow that shows along its left and
   bottom edges */
.uretim__foto { position: relative; isolation: isolate; padding: 0 0 24px 24px; }
.uretim__foto::before {
  content: ""; position: absolute; z-index: -1; inset: 34px 34px 0 0;
  background: var(--sari) var(--doku); border-radius: 4px;
}
.uretim__foto > img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; }
.uretim__metin { display: grid; gap: 22px; justify-items: start; }
.iki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin-block: 10px; padding-top: 24px; border-top: 1px solid var(--cizgi); width: 100%; }
.iki > div { display: grid; gap: 8px; align-content: start; }

/* ---------- How to order ----------
   Three stamped numbers joined by a running stitch: the thread carries the eye
   from one step to the next. Colours stay inside the section: sack white and ink.
   --g is the moment a step joins the sequence that plays on first view. */
.adim { --rozet: 84px; --ara: clamp(24px, 4vw, 56px); counter-reset: adim; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ara); }
.adim li { counter-increment: adim; position: relative; display: grid; gap: 10px; align-content: start; }
.adim li:nth-child(2) { --g: 1.1s; }
.adim li:nth-child(3) { --g: 2.2s; }
.adim li > * { transition: opacity .5s ease, transform .6s cubic-bezier(.3, .7, .2, 1); }
.adim li::before {
  content: counter(adim);
  display: grid; place-items: center; width: var(--rozet); height: var(--rozet); margin: 7px 7px 16px; border-radius: 50%;
  background: var(--kara); color: var(--cuval);
  font-family: var(--baslik); font-weight: 900; font-size: calc(var(--rozet) * .5); line-height: 1;
  /* a second ring, like the rim of the open sacks further up the page */
  box-shadow: 0 0 0 5px var(--cuval), 0 0 0 7px var(--kara);
  transition: transform .55s cubic-bezier(.2, 1.4, .4, 1), opacity .25s ease;
}
/* the thread from this stamp to the next, ending in a small arrow head */
.adim li:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--rozet) / 2 - 2px); left: calc(var(--rozet) + 26px);
  width: calc(100% + var(--ara) - var(--rozet) - 38px); height: 18px; padding-right: 20px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18'%3E%3Cpath d='M2 2l8 7-8 7' fill='none' stroke='%23232322' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 100% 50% / 12px 18px no-repeat border-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='4'%3E%3Cpath d='M2 2h11' stroke='%23232322' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 24px 4px round no-repeat content-box;
  /* stated in full so the sewing-in below has something to animate towards */
  clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.6, 0, .2, 1);
}
.adim .h4 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); font-weight: 800; }
.adim p { max-width: 30em; }
/* Until the list scrolls into view (class set by JS) nothing is there. Then it
   completes once, step by step: stamp, words, thread to the next stamp. After
   that it stays as it is. */
.adim.bekle li::before { transform: scale(.4); opacity: 0; }
.adim.bekle li > * { opacity: 0; transform: translateY(12px); }
.adim.bekle li::after { clip-path: inset(0 100% 0 0); }
.adim:not(.bekle) li::before { transition-delay: var(--g, 0s); }
.adim:not(.bekle) li > * { transition-delay: calc(var(--g, 0s) + .18s); }
.adim:not(.bekle) li > p { transition-delay: calc(var(--g, 0s) + .3s); }
.adim:not(.bekle) li::after { transition-delay: calc(var(--g, 0s) + .55s); }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Trust and contact: fact label, reviews, Trendyol, store details and open/closed status. */

/* ---------- Fact label and review ---------- */
.guven { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
/* a paper label like the one sewn into a feed sack: set slightly askew on purpose */
.etiket {
  position: relative; background: var(--etiket);
  border: 1.5px solid var(--kara); border-radius: 3px; overflow: hidden;
  transform: rotate(-.9deg);
  box-shadow: 0 1px 0 rgba(35, 35, 34, .12), 0 22px 28px -22px rgba(35, 35, 34, .55);
}
.etiket__bas {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--sari) var(--doku); padding: 34px clamp(18px, 3vw, 30px) 18px; border-bottom: 1.5px solid var(--kara);
}
/* the seam that holds the label */
.etiket__bas::before {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12' viewBox='0 0 26 12'%3E%3Cpath d='M2 6c3-5 9-5 12 0s9 5 12 0' fill='none' stroke='%23232322' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M2 6c3 5 9 5 12 0' fill='none' stroke='%23232322' stroke-width='2' stroke-linecap='round' opacity='.4'/%3E%3C/svg%3E") repeat-x left center;
}
.etiket__bas img { width: 112px; height: auto; }
.etiket__bas span { font-size: 1.6rem; }
.etiket .kunye { padding: 8px clamp(18px, 3vw, 30px) 18px; }
.etiket .kunye > div:first-child { border-top: 0; }
.etiket .kunye > div:last-child { border-bottom: 0; }

.yorum { display: grid; gap: 24px; }
/* Google reviews follow one another on their own (site.js). The block keeps a fixed minimum height
   so the page below does not jump when a short review follows a long one. */
.yorum__don { display: grid; gap: 18px; justify-items: start; }
.yorum__q { min-height: 10rem; transition: opacity .35s ease, transform .35s ease; }
.yorum__q.gizli { opacity: 0; transform: translateY(-8px); }
.yorum__yildiz { font-size: 1.25rem; letter-spacing: .14em; line-height: 1; margin-bottom: 14px; }
.yorum__yildiz span { display: inline-block; }
.yorum__metin { font-family: var(--baslik); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.35; font-weight: 600; max-width: 22em; text-indent: -.42em; }
.yorum__metin::before { content: "“"; }
.yorum__metin::after { content: "”"; }
/* a star-only rating is not the customer's words, so it carries no quote marks */
.yorum__q--metinsiz .yorum__metin { text-indent: 0; }
.yorum__q--metinsiz .yorum__metin::before, .yorum__q--metinsiz .yorum__metin::after { content: none; }
.yorum__q footer { margin-top: 12px; font-weight: 600; }
/* each new review: the stars are stamped one by one, the words are uncovered
   from the left, then the name follows */
.yorum__q.giris .yorum__yildiz span { animation: damga .45s cubic-bezier(.2, 1.5, .4, 1) calc(var(--i) * 80ms) both; }
.yorum__q.giris .yorum__metin { animation: ac .75s cubic-bezier(.5, 0, .2, 1) .3s both; }
.yorum__q.giris footer { animation: gel .4s ease .8s both; }
@keyframes damga { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }
@keyframes ac { from { clip-path: inset(-.2em 100% -.2em -.6em); } to { clip-path: inset(-.2em -.2em -.2em -.6em); } }
.yorum__basin { padding-top: 22px; border-top: 1px solid var(--cizgi); max-width: 34em; }

/* ---------- Trendyol ---------- */
.ty { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ty__metin { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--ust) + 28px); }
.ty__liste { border-top: 2px solid var(--kara); }
.ty__liste a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 20px;
  padding: 18px 2px; border-bottom: 1px solid var(--cizgi); text-decoration: none;
}
.ty__liste b { font-weight: 700; font-size: 1.2rem; }
.ty__liste span { text-align: right; }

/* ---------- Store and contact ---------- */
.magaza { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.magaza__adres { display: grid; gap: 18px; justify-items: start; }
.magaza address { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.45; font-weight: 500; }
.magaza__tel { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; text-decoration: none; font-variant-numeric: lining-nums; white-space: nowrap; }
.magaza__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.magaza__kanal { border-top: 2px solid var(--kara); }
.magaza__kanal a { display: grid; gap: 2px; padding: 18px 2px; border-bottom: 1px solid rgba(35, 35, 34, .34); text-decoration: none; }
.magaza__kanal b { font-weight: 700; font-size: 1.4rem; }

/* Open / closed status */
.durum { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
/* the mark is a shop shutter: rolled up when open, pulled down when closed */
.durum::before {
  content: ""; width: 1.2em; height: 1.2em; flex: none; background: currentColor;
  --kepenk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 17.5V3.4h13v14.1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M3.5 3.4h13v4.4h-13z'/%3E%3Cpath d='M1 17.6h18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask: var(--kepenk) center / contain no-repeat; mask: var(--kepenk) center / contain no-repeat;
}
.durum[data-acik="0"]::before {
  --kepenk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 17.5V3.4h13v14.1' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M3.5 3.4h13v2.6h-13z'/%3E%3Cpath d='M3.5 8.6h13M3.5 11.4h13M3.5 14.2h13' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M1 17.6h18' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.durum--koyu { font-size: 1.2rem; }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Electric vehicles: the page at /elektrikli-motor/ and its band on the home page.
   Every vehicle is a cutout parked on a strip of TG yellow, the showroom floor. */

/* ---------- Hero ---------- */
.mhero { --zemin: clamp(60px, 8.4vw, 118px); position: relative; background: var(--kara); color: #fff; overflow: hidden; }
.mhero::after { content: ""; position: absolute; inset: auto 0 0 0; height: var(--zemin); background: var(--sari) var(--doku); }
.mhero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; gap: clamp(16px, 3vw, 48px);
  min-height: min(calc(100svh - var(--ust)), 760px);
  padding-top: clamp(40px, 6vw, 84px);
}
.mhero__text { align-self: center; padding-bottom: calc(var(--zemin) + clamp(40px, 6vw, 80px)); }
.mhero .hero__title { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.mhero .hero__facts li { border-left-color: rgba(255, 255, 255, .34); }
/* the wheels stand a little way into the yellow, not on its edge */
.mhero__arac { position: relative; align-self: end; padding-bottom: calc(var(--zemin) * .4); }
.mhero__arac img { position: relative; width: 100%; animation: park .95s cubic-bezier(.2, .8, .25, 1) both; }
.mhero__arac::before {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: calc(var(--zemin) * .4 - 13px); height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 28, 4, .5), rgba(40, 28, 4, .16) 62%, rgba(40, 28, 4, 0));
  filter: blur(5px); animation: golge .95s ease-out both;
}
/* drives in from the left once and stops */
@keyframes park { from { opacity: 0; transform: translateX(-9%); } }

/* ---------- The parking plate: sack white above, yellow floor below ---------- */
.park { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--cuval); overflow: hidden; }
.park::before { content: ""; position: absolute; inset: auto 0 0 0; height: 24%; background: var(--sari) var(--doku); }
.park::after {
  content: ""; position: absolute; left: 14%; right: 12%; bottom: 7.5%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 28, 4, .46), rgba(40, 28, 4, 0));
  filter: blur(4px);
}
.park img {
  position: absolute; z-index: 1; left: 8%; top: 7%; width: 84%; height: 82.5%;
  object-fit: contain; object-position: 50% 100%;
}

/* ---------- Which one? ---------- */
.secim-band { padding-bottom: 0; }
.secim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.secim__kart { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; background: var(--kagit); border-radius: 10px; overflow: hidden; }
.secim__kart .park { aspect-ratio: 16 / 10; }
.secim__kart .park img { transition: transform .6s cubic-bezier(.3, .7, .2, 1); }
.secim__metin { display: grid; gap: 6px; align-content: start; padding: 20px 24px 26px; }
.secim__ad, .arac__ad, .fiyat__nakit dd { font-family: var(--baslik); font-weight: 800; letter-spacing: -0.012em; line-height: 1.1; }
.secim__ad { font-size: clamp(1.35rem, 2vw, 1.7rem); text-wrap: balance; }

/* ---------- Categories and vehicle cards ---------- */
.kat { scroll-margin-top: calc(var(--ust) + 20px); }
.kat + .kat { margin-top: clamp(64px, 9vw, 120px); }
.kat__bas { display: grid; gap: 12px; margin-bottom: clamp(24px, 3.4vw, 40px); max-width: 46rem; }
/* what it is for comes first, in the plain words a buyer would use */
.kat__ne { display: block; font-family: var(--yazi); font-weight: 700; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: 0; margin-bottom: .35em; }
.kat__not { margin-top: clamp(28px, 4vw, 44px); padding-top: 18px; border-top: 1px solid var(--cizgi); max-width: 52em; }

.araclar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 36px); }
.araclar--uc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arac { display: flex; flex-direction: column; background: var(--kagit); border-radius: 10px; overflow: hidden; scroll-margin-top: calc(var(--ust) + 16px); }
/* reached from the comparison table: the card is marked for a moment */
.arac:target { outline: 3px solid var(--kara); outline-offset: 4px; }
.arac__bilgi { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.6vw, 32px); }
.arac__ad { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.arac__p { font-size: 1.15rem; line-height: 1.5; max-width: 30em; }
.arac .kunye > div { padding: 9px 0; }

/* Price rows: cash first and largest, the two instalment totals under it */
.fiyat { display: grid; margin-top: auto; border-top: 2px solid var(--kara); font-variant-numeric: lining-nums tabular-nums; }
.fiyat > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cizgi); }
.fiyat dd { font-weight: 700; }
.fiyat__nakit dt { font-weight: 700; }
.fiyat__nakit dd { font-weight: 900; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1; white-space: nowrap; }
.fiyat--sor { padding-top: 14px; font-weight: 600; }
.fiyat__not { margin-top: -8px; font-size: 1rem; }
.arac__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.arac__cta .btn { flex: 1 1 auto; }

/* ---------- Comparison table ---------- */
.kiyas { overflow-x: auto; border-top: 2px solid var(--kara); }
.kiyas table { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.kiyas th, .kiyas td { padding: 14px 20px 14px 0; text-align: left; border-bottom: 1px solid var(--cizgi); white-space: nowrap; }
.kiyas thead th { font-weight: 600; font-size: 1rem; }
.kiyas tbody th { font-weight: 700; position: sticky; left: 0; background: var(--kagit); }
.kiyas th:last-child, .kiyas td:last-child { text-align: right; padding-right: 0; }
.kiyas td:last-child { font-weight: 700; }
.kiyas .kiyas__grup th { position: static; text-align: left; padding-top: 26px; font-family: var(--baslik); font-weight: 800; font-size: 1.2rem; border-bottom-color: var(--kara); }
.kiyas a { text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(35, 35, 34, .4); }
.kiyas__yok { font-weight: 400; color: rgba(35, 35, 34, .72); }
.kiyas__kaydir { display: none; margin-top: 12px; font-size: 1rem; }

/* ---------- Band on the home page ---------- */
/* the vehicle stands on the lower edge of the band, where the yellow store section begins */
.mband { padding-bottom: 0; overflow: hidden; }
.mband__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: clamp(24px, 5vw, 80px); }
.mband__metin { display: grid; gap: 22px; justify-items: start; padding-bottom: var(--bosluk); }
.mband__arac img { width: min(100%, 440px); margin-inline: auto; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1020px) {
  .araclar--uc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .mhero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 22px; gap: 0; }
  .mhero__text { padding-bottom: 28px; }
  .mhero__arac { width: min(100%, 460px); margin-inline: auto; }
  .secim, .araclar, .araclar--uc { grid-template-columns: 1fr; }
  /* the three ways in become rows: picture left, words right */
  .secim__kart { grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: auto; align-items: stretch; }
  .secim__kart .park { aspect-ratio: auto; min-height: 112px; }
  .secim__metin { padding: 16px 18px; align-content: center; }
  .kiyas__kaydir { display: block; }
  .mband__in { grid-template-columns: 1fr; gap: 20px; }
  .mband__metin { padding-bottom: 0; }
  .mband__metin .btn { width: 100%; white-space: normal; text-align: center; }
  .mband__arac img { width: min(78%, 340px); }
}

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Story card: the button on a vehicle and the window it opens. The cards
   themselves are drawn on a canvas (site/assets/js/hikaye-kalip.js) with the
   two faces below, which no page uses, so they are fetched only for a card. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }

/* ---------- The button under a vehicle's two calls to action ---------- */
.arac__hikaye {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin-top: -6px; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; font-weight: 700; cursor: pointer;
}
.arac__hikaye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .5s var(--akis); }
.arac__hikaye span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (hover: hover) { .arac__hikaye:hover svg { transform: rotate(90deg); } }

/* ---------- The window ---------- */
.hikaye {
  width: min(820px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 12px;
  background: var(--kagit); color: var(--kara); overflow: auto; overscroll-behavior: contain;
}
.hikaye::backdrop { background: rgba(20, 20, 19, .78); }
.hikaye__ic { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3.4vw, 40px); align-items: center; padding: clamp(16px, 3vw, 32px); }
.hikaye__kart { width: min(300px, 34vw); aspect-ratio: 9 / 16; border-radius: 10px; background: var(--kara); overflow: hidden; }
.hikaye__kart img { display: block; width: 100%; height: 100%; }
.hikaye__yan { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.hikaye__baslik { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.hikaye__urun { font-weight: 700; margin-top: -8px; }
.hikaye__kaliplar { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.hikaye__kaliplar legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.hikaye__kaliplar label { position: relative; display: grid; gap: 6px; width: 84px; font-size: 1rem; font-weight: 600; line-height: 1.2; cursor: pointer; }
.hikaye__kaliplar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hikaye__kaliplar img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 6px; background: var(--cuval); outline: 2px solid var(--cizgi); outline-offset: 0; }
.hikaye__kaliplar img:not([src]) { visibility: hidden; outline: 0; }
.hikaye__kaliplar label:has(img:not([src])) { background: linear-gradient(var(--cuval), var(--cuval)) top / 100% calc(84px * 16 / 9) no-repeat; border-radius: 6px; }
.hikaye__kaliplar input:checked + img { outline: 4px solid var(--kara); outline-offset: 2px; }
.hikaye__kaliplar input:focus-visible + img { outline: 4px solid var(--kara); outline-offset: 5px; }
.hikaye__durum:empty, .hikaye__not:empty { display: none; }
.hikaye__durum { font-weight: 700; }
.hikaye__dugmeler { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hikaye__kapat { min-height: 44px; padding: 0 6px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.hikaye__not { font-size: 1rem; max-width: 30em; }

/* The window rises into place while the page dims behind it, its contents follow one
   after another, and it leaves a little faster than it came. The card fades in when drawn. */
.hikaye[open] { animation: hikaye-ac .46s cubic-bezier(.2, .8, .2, 1) both; }
.hikaye[open]::backdrop { animation: hikaye-perde .36s ease both; }
.hikaye[open] .hikaye__yan > * { animation: hikaye-sira .5s cubic-bezier(.2, .8, .2, 1) calc(.1s + var(--s, 0) * 55ms) both; }
.hikaye__yan > :nth-child(2) { --s: 1; }
.hikaye__yan > :nth-child(3) { --s: 2; }
.hikaye__yan > :nth-child(n + 4) { --s: 3; }
.hikaye__kart img:not([hidden]) { animation: hikaye-kart .55s cubic-bezier(.2, .8, .2, 1) both; }
.hikaye--kapaniyor[open] { animation: hikaye-kapa .22s cubic-bezier(.4, 0, 1, 1) both; }
.hikaye--kapaniyor[open]::backdrop { animation: hikaye-perde-kapa .22s ease both; }
.hikaye--kapaniyor[open] .hikaye__yan > * { animation: none; }
@keyframes hikaye-ac { from { opacity: 0; transform: translateY(30px) scale(.972); } }
@keyframes hikaye-kapa { to { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes hikaye-perde { from { opacity: 0; } }
@keyframes hikaye-perde-kapa { to { opacity: 0; } }
@keyframes hikaye-sira { from { opacity: 0; transform: translateY(10px); } }
@keyframes hikaye-kart { from { opacity: 0; transform: scale(1.035); } }
@media (prefers-reduced-motion: reduce) {
  .hikaye[open], .hikaye[open]::backdrop, .hikaye[open] .hikaye__yan > *, .hikaye__kart img:not([hidden]) { animation: none; }
}

@media (max-width: 640px) {
  .hikaye__ic { grid-template-columns: 1fr; justify-items: center; }
  .hikaye__kart { width: auto; height: min(34dvh, 300px); }
  .hikaye__yan { width: 100%; }
  .hikaye__dugmeler .btn { flex: 1 1 100%; }
}

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   One shop, two departments: feed and grain (html.dunya-tarim) and electric
   vehicles (html.dunya-motor). The switch at the top of both heroes, and the
   page-to-page transition it starts. The transition is the shop's yellow
   floor: it sinks to a strip for the vehicles and rises to fill the feed page. */

/* ---------- The switch ----------
   Two plain words and a line under the open one. It stands in the empty
   corner above the sack or the vehicle, under the phone number, and takes no
   room from the text. */
.gecis-yer {
  position: absolute; z-index: 3; left: 0; right: 0; top: clamp(18px, 2.4vw, 34px);
  display: flex; justify-content: flex-end; pointer-events: none;
}
.gecis { display: flex; gap: clamp(22px, 2.6vw, 36px); pointer-events: auto; }
.gecis__yol {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; opacity: .72;
}
/* both words keep the same weight, so nothing shifts between the two pages */
.gecis__yol[aria-current] { opacity: 1; }
.gecis .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the line under the open department; it slides across when the page changes */
.gecis__cizgi { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--kara); }
.dunya-motor .gecis__cizgi { background: var(--sari); }

/* ---------- From one department to the other ----------
   Browsers that cannot animate between two pages simply open the other page. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* these keep their place, or travel on their own, while the page changes under them */
.top { view-transition-name: ust; }
.gecis__cizgi { view-transition-name: gecis-cizgi; }
.hero__sack { view-transition-name: cuval; }
.mhero__arac { view-transition-name: arac; }

/* The page itself is not cross-faded: the new one is uncovered over the old.
   To the vehicles the dark comes down from the top bar and presses the yellow
   into a floor; back to the feed the yellow rises from that floor. */
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-old(root) { animation: none; }
.dunya-motor::view-transition-new(root) { animation: zemin-iner .62s var(--akis) both; }
.dunya-tarim::view-transition-new(root) { animation: zemin-kalkar .62s var(--akis) both; }
@keyframes zemin-iner { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes zemin-kalkar { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* the line slides under the other word; the menu changes in place */
::view-transition-group(gecis-cizgi) { animation-duration: .55s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
::view-transition-old(ust), ::view-transition-new(ust) { animation-duration: .4s; }

/* the sack is lifted off the floor and the vehicle rolls in from the left;
   it starts beside the text, so it never drives across the words */
::view-transition-old(cuval) { transform-origin: 50% 100%; animation: cuval-kalkar .3s ease-in both; }
::view-transition-new(arac) { animation: arac-gelir .75s cubic-bezier(.2, .8, .25, 1) .3s both; }
/* the vehicle drives off to the right and the sack is set down again */
::view-transition-old(arac) { animation: arac-gider .45s cubic-bezier(.6, 0, .9, .5) both; }
::view-transition-new(cuval) { transform-origin: 50% 100%; animation: otur .8s cubic-bezier(.2, .9, .25, 1) .28s both; }
@keyframes cuval-kalkar { to { transform: translateY(-46px) rotate(-2.5deg); opacity: 0; } }
@keyframes arac-gelir { from { transform: translateX(-55%); opacity: 0; } }
@keyframes arac-gider { to { transform: translateX(100vw); } }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Pointer and keyboard feedback. One language throughout: colour and lines
   come in from the left and leave towards the right. Must load after the
   component sheets and before responsive.css. */

:root { --akis: cubic-bezier(.6, 0, .2, 1); }

/* ---------- Buttons: the fill pours in from the left and drains out to the right ----------
   Every button is filled except those marked .btn--dis (the WhatsApp price
   buttons): they keep their colour and show the outbound arrow further down. */
.btn, .top__tel {
  --dolgu: var(--kara); --dolgu-yazi: #fff;
  background-image: linear-gradient(var(--dolgu), var(--dolgu));
  background-repeat: no-repeat; background-origin: border-box;
  /* anchored right while empty, so on the way out it shrinks towards the right */
  background-position: 100% 0; background-size: 0% 100%;
  transition: background-size .45s var(--akis), color .3s ease .06s, border-color .3s ease, padding .45s cubic-bezier(.3, .7, .2, 1);
}
.btn--ink { --dolgu: var(--sari); --dolgu-yazi: var(--kara); }
/* on yellow ground a yellow fill would vanish, so the fill is white there */
.hero .btn--ink, .band--sari .btn--ink, .yok .btn--ink, .top__tel { --dolgu: #fff; --dolgu-yazi: var(--kara); }
.btn--sari, .btn--acik { --dolgu: #fff; --dolgu-yazi: var(--kara); }

/* ---------- Department switch ----------
   No line is drawn here: the word of the other department rolls up and the
   same word follows it from below, while the vehicle rolls forward a little
   or the ear of wheat leans. The line belongs to the open department only. */
.gecis__yol { transition: opacity .3s ease; }
.gecis__ad { display: block; overflow: hidden; }
.gecis__ad span { position: relative; display: block; transition: transform .55s var(--akis); }
.gecis__ad span::after { content: attr(data-ad); content: attr(data-ad) / ""; position: absolute; left: 0; top: 100%; }
.gecis .ic { transition: transform .55s cubic-bezier(.3, .7, .2, 1); }
.gecis .ic--basak { transform-origin: 50% 100%; }

/* ---------- Links: the line is drawn from the left and leaves to the right ---------- */
/* text links carry a yellow line at rest; an ink line is drawn over it */
.link {
  text-decoration: none; padding-bottom: 3px;
  background:
    linear-gradient(currentColor, currentColor) 100% 100% / 0% 2px no-repeat,
    linear-gradient(var(--sari-koyu), var(--sari-koyu)) 0 100% / 100% 2px no-repeat;
  transition: background-size .5s var(--akis);
}
.top__nav a, .alt__nav a, .magaza__tel {
  background: linear-gradient(var(--cizik, var(--kara)), var(--cizik, var(--kara))) 100% 100% / 0% var(--kalin, 2px) no-repeat;
  transition: background-size .5s var(--akis);
}
.top__nav a, .alt__nav a { --cizik: var(--sari); }
.magaza__tel { --kalin: 3px; }

/* Whatever opens another site says so with a small arrow that fades in.
   Rows (contact channels, Trendyol products) stay still and show only that. */
.magaza__kanal a::after, .ty__liste b::after, .btn--dis::after {
  content: ""; background: currentColor;
  --ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M8.500 7H17v8.500' fill='none' stroke='%23000' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask: var(--ok) center / contain no-repeat; mask: var(--ok) center / contain no-repeat;
  opacity: 0; transform: translate(-5px, 5px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.3, .7, .2, 1);
}
.magaza__kanal a { position: relative; padding-right: 48px; }
.magaza__kanal a::after { position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px; }
/* in a button the label makes room: it slides left by what the arrow needs,
   so the button keeps its width and its neighbours stay put */
.btn--dis { position: relative; }
.btn--dis::after { position: absolute; right: 9px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
/* in the product list the arrow follows the name */
.ty__liste b::after { display: inline-block; width: .8em; height: .8em; margin-left: .35em; vertical-align: -.06em; }

/* sacks lift softly and their name gets a faint rule */
.sack__top { transition: box-shadow .3s ease, transform .4s cubic-bezier(.3, .7, .2, 1); }
.sack__ad { transition: border-color .3s ease; }

/* The hover states. Touch screens keep a hover after a tap, so they are left out. */
@media (hover: hover) {
  .btn:not(.btn--dis):hover, .top__tel:hover { background-position: 0 0; background-size: 100% 100%; color: var(--dolgu-yazi); }
  .link:hover { background-position: 0 100%, 0 100%; background-size: 100% 2px, 100% 2px; }
  /* the other department: its word rolls over and its icon stirs */
  .gecis__yol:not([aria-current]):hover { opacity: 1; }
  .gecis__yol:not([aria-current]):hover .gecis__ad span { transform: translateY(-100%); }
  .gecis__yol:not([aria-current]):hover .ic--arac { transform: translateX(4px); }
  .gecis__yol:not([aria-current]):hover .ic--basak { transform: rotate(14deg); }
  .top__nav a:hover, .alt__nav a:hover, .magaza__tel:hover { background-position: 0 100%; background-size: 100% var(--kalin, 2px); }
  .btn--dis:hover { padding: 0 36px 0 12px; }
  .magaza__kanal a:hover::after, .ty__liste a:hover b::after, .btn--dis:hover::after { opacity: 1; transform: none; }
  .sack:hover .sack__top { transform: translateY(-5px); }
  /* the vehicle on a category card rolls a little way forward */
  .secim__kart:hover .park img { transform: translateX(3.5%); }
  .sack:not([aria-selected="true"]):hover .sack__ad { border-bottom-color: var(--cizgi); }
}
/* the same feedback for keyboard focus */
.btn:not(.btn--dis):focus-visible, .top__tel:focus-visible { background-position: 0 0; background-size: 100% 100%; color: var(--dolgu-yazi); }
.gecis__yol:not([aria-current]):focus-visible { opacity: 1; }
.gecis__yol:not([aria-current]):focus-visible .gecis__ad span { transform: translateY(-100%); }
.link:focus-visible { background-position: 0 100%, 0 100%; background-size: 100% 2px, 100% 2px; }
.top__nav a:focus-visible, .alt__nav a:focus-visible, .magaza__tel:focus-visible { background-position: 0 100%; background-size: 100% var(--kalin, 2px); }
.btn--dis:focus-visible { padding: 0 36px 0 12px; }
.magaza__kanal a:focus-visible::after, .ty__liste a:focus-visible b::after, .btn--dis:focus-visible::after { opacity: 1; transform: none; }

/* TG Gıda Tarım ve Hayvancılık — tgtarim.com
   Overrides for narrow screens, reduced motion and print. Must load last. */

/* ============ Narrow screens ============ */
@media (max-width: 1020px) {
  .sacks { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
}

@media (max-width: 899px) {
  :root { --ust: 62px; }
  .alt { padding-bottom: calc(60px + 40px + env(safe-area-inset-bottom)); }

  .top__in { gap: 12px; }
  .top__logo img { height: 36px; }
  .top__burger { display: block; }
  .top__tel { margin-left: auto; height: 42px; padding: 0 12px; font-size: 1.0625rem; }
  .top__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--kara); border-top: 1px solid var(--cizgi-acik);
    padding: 6px var(--kenar) 18px;
    display: none;
  }
  .top__nav--acik { display: flex; }
  .top__nav { align-items: stretch; }
  .top__nav a { padding: 16px 0; font-size: 1.25rem; border-bottom: 1px solid var(--cizgi-acik); }

  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 22px; gap: 8px; }
  /* on phones the switch is the first line of the hero */
  .gecis-yer { position: static; justify-content: flex-start; padding-top: 10px; }
  .hero__title { font-size: clamp(2.7rem, 13.4vw, 5.6rem); }
  .hero__text { padding-bottom: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 6px 20px; }
  .hero__facts li, .hero__facts li:first-child { padding: 0; border: 0; }
  .hero__sack { margin-bottom: -30px; }
  .hero__sack img { width: min(74vw, 340px); }
  .hero__sack::before { bottom: -20px; height: 52px; }
  .hero__sack::after { bottom: -6px; height: 18px; }

  /* sacks scroll sideways */
  .sacks {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--kenar)); padding: 12px var(--kenar) 18px;
    scrollbar-width: none;
  }
  .sacks::-webkit-scrollbar { display: none; }
  .sack { flex: 0 0 108px; scroll-snap-align: center; padding-top: 4px; }
  .sack .sack__top { max-width: 96px; }

  .acik { grid-template-columns: 1fr; }
  .sack__top--buyuk { max-width: 220px; }
  .acik__cta, .acik__cta .btn { width: 100%; }

  .raf li { grid-template-columns: 1fr; }
  .soz { grid-template-columns: 1fr; }
  .soz__foto { min-height: 0; aspect-ratio: 4 / 3; }
  .soz__foto img { object-position: 18% 50%; }
  .soz__panel { padding: 30px var(--kenar) 34px; }
  /* stacked: the pinked edge runs along the top of the panel instead */
  .soz__panel::before {
    top: auto; bottom: 100%; left: 0; right: 0; width: auto; height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='11' viewBox='0 0 22 11'%3E%3Cpath d='M0 11L11 0l11 11z' fill='%23FCCB05'/%3E%3C/svg%3E") left top / 22px 11px round no-repeat;
  }
  .soz__satir { display: inline; }
  .soz__satir + .soz__satir { margin-top: 0; }
  .uretim, .guven, .ty, .magaza { grid-template-columns: 1fr; }
  .uretim__foto { padding: 0 0 16px 16px; }
  .uretim__foto::before { inset: 24px 24px 0 0; }
  .uretim__foto > img { aspect-ratio: 5 / 4; }
  .iki { grid-template-columns: 1fr; }
  /* stacked: the thread runs down the left, from one stamp to the next */
  .adim { --rozet: 54px; grid-template-columns: 1fr; gap: 0; }
  .adim li { grid-template-columns: calc(var(--rozet) + 14px) minmax(0, 1fr); column-gap: 16px; padding-bottom: 34px; }
  .adim li:last-child { padding-bottom: 0; }
  .adim li::before { grid-row: 1 / span 2; margin: 7px; }
  .adim li > * { grid-column: 2; }
  .adim .h4 { margin-top: 20px; }
  .adim li:not(:last-child)::after {
    top: calc(var(--rozet) + 24px); bottom: 10px; left: calc(var(--rozet) / 2); width: 14px; height: auto; padding: 0 0 18px;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M2 2l5 6 5-6' fill='none' stroke='%23232322' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 100% / 14px 10px no-repeat border-box,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='24'%3E%3Cpath d='M2 2v11' stroke='%23232322' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 50% 0 / 4px 24px no-repeat round content-box;
  }
  .adim.bekle li::after { clip-path: inset(0 0 100% 0); }
  .etiket { transform: rotate(-.6deg); }
  .yorum__q { min-height: 12rem; }
  .ty__metin { position: static; }
  .ty__liste a { grid-template-columns: 1fr; }
  .ty__liste span { text-align: left; }
  .magaza__cta .btn { flex: 1 1 100%; }

  .alt__in { grid-template-columns: 1fr; }
  .alt__nav { justify-content: flex-start; }
  .alt__logo { width: 170px; }

  .hizli {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.25fr 1fr;
    background: var(--kara); color: #fff;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .22);
  }
  .hizli a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 60px; text-decoration: none; font-weight: 700; font-size: 1.125rem;
  }
  .hizli a + a { border-left: 1px solid var(--cizgi-acik); }
  .hizli .hizli__wa { background: var(--sari); color: var(--kara); border-left: 0; }
  .hizli .ic { width: 1.2em; height: 1.2em; }
}

@media (max-width: 520px) {
  .top__tel span { display: none; }
  .top__tel { width: 44px; padding: 0; justify-content: center; }
  /* long values drop under their label instead of squeezing the dotted leader */
  .kunye > div { flex-wrap: wrap; }
  .kunye dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .top, .hizli, .dikis { display: none; }
  body { padding: 0; background: #fff; }
}
