:root {
    --td-ink: #1f2a24;
    --td-ink-soft: #39483f;
    --td-gold: #c89b3c;
    --td-gold-dark: #a77c25;
    --td-cream: #f7f3ec;
    --td-sand: #ebe2d3;
    --td-white: #ffffff;
    --td-text: #222222;
    --td-muted: #6f756f;
    --td-border: #e8e5df;
    --td-shadow: 0 18px 55px rgba(31, 42, 36, .10);
}

html { scroll-behavior: smooth; }
body.td-custom-home { margin: 0; background: var(--td-white); color: var(--td-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.td-custom-home * { box-sizing: border-box; }
.td-custom-home a { text-decoration: none; }
.td-site { min-height: 100vh; overflow: hidden; }
.td-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.td-topbar { background: var(--td-ink); color: #fff; font-size: 13px; }
.td-topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.td-topbar a { color: #fff; opacity: .84; margin-left: 22px; }
.td-topbar a:hover { opacity: 1; color: var(--td-gold); }

.td-header { background: #fff; border-bottom: 1px solid var(--td-border); }
.td-header-inner { min-height: 98px; display: grid; grid-template-columns: 260px minmax(260px, 1fr) auto; gap: 22px; align-items: center; }
.td-logo { display: flex; align-items: center; gap: 13px; color: var(--td-ink); }
.td-logo-mark { width: 52px; height: 52px; display: grid; place-items: center; background: var(--td-ink); color: var(--td-gold); font-weight: 900; letter-spacing: -.05em; border-radius: 6px 18px 6px 18px; box-shadow: inset 0 0 0 2px rgba(200,155,60,.28); }
.td-logo strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1; letter-spacing: -.02em; }
.td-logo small { display: block; color: var(--td-muted); margin-top: 7px; font-size: 12px; }
.td-search { display: flex; height: 48px; border: 1px solid #d9ddd9; border-radius: 7px; overflow: hidden; background: #fafafa; }
.td-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 17px; outline: 0; font-size: 14px; }
.td-search button { border: 0; padding: 0 23px; color: #fff; background: var(--td-ink); font-weight: 800; cursor: pointer; }
.td-contact { display: flex; align-items: center; gap: 16px; }
.td-phone { display: flex; gap: 10px; align-items: center; color: var(--td-ink); }
.td-phone > span:first-child { font-size: 25px; color: var(--td-gold); }
.td-phone strong, .td-phone small { display: block; white-space: nowrap; }
.td-phone small { margin-top: 3px; color: var(--td-muted); }
.td-whatsapp { padding: 14px 18px; border-radius: 6px; color: #fff; background: var(--td-gold); font-weight: 800; white-space: nowrap; }
.td-whatsapp:hover { color: #fff; background: var(--td-gold-dark); }

.td-nav { background: #fff; border-bottom: 1px solid var(--td-border); box-shadow: 0 5px 20px rgba(0,0,0,.04); position: relative; z-index: 3; }
.td-nav-inner { min-height: 56px; display: flex; align-items: stretch; }
.td-all-categories { width: 230px; display: flex; align-items: center; padding: 0 20px; background: var(--td-gold); color: #fff; font-weight: 900; }
.td-nav-links { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.td-nav-links a { color: var(--td-ink); font-weight: 700; font-size: 14px; }
.td-nav-links a:hover { color: var(--td-gold-dark); }

.td-hero { background: linear-gradient(90deg, rgba(247,243,236,.99) 0%, rgba(247,243,236,.94) 54%, rgba(31,42,36,.35) 100%), url("images/dogal-tas.webp") center/cover no-repeat; }
.td-hero-grid { min-height: 570px; display: grid; grid-template-columns: 330px minmax(0, 1fr); align-items: stretch; gap: 70px; }
.td-category-panel { align-self: center; background: #fff; border-radius: 8px; padding: 12px; box-shadow: var(--td-shadow); }
.td-category-panel > .td-eyebrow { padding: 15px 14px 10px; display: block; }
.td-category-row { display: grid; grid-template-columns: 44px 1fr 14px; gap: 12px; align-items: center; padding: 13px 12px; border-top: 1px solid var(--td-border); color: var(--td-ink); transition: .2s ease; }
.td-category-row:hover { background: var(--td-cream); transform: translateX(3px); }
.td-category-code { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: var(--td-cream); color: var(--td-gold-dark); font-weight: 900; font-size: 12px; }
.td-category-row strong, .td-category-row small { display: block; }
.td-category-row strong { font-size: 14px; }
.td-category-row small { color: var(--td-muted); font-size: 11px; line-height: 1.35; margin-top: 3px; }
.td-category-row b { font-size: 23px; color: var(--td-gold); }
.td-hero-content { align-self: center; width: 100%; min-width: 0; max-width: 720px; padding: 70px 0; }
.td-kicker, .td-eyebrow { color: var(--td-gold-dark); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: 12px; }
.td-hero h1 { width: 100%; max-width: 680px; margin: 16px 0 20px; color: var(--td-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 4vw, 56px); line-height: 1.04; letter-spacing: -.04em; white-space: normal !important; overflow-wrap: normal; word-break: normal; }
.td-hero-content > p { max-width: 650px; color: var(--td-ink-soft); font-size: 18px; line-height: 1.7; }
.td-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.td-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border-radius: 5px; color: #fff; font-weight: 900; }
.td-button:hover { color: #fff; transform: translateY(-2px); }
.td-button-dark { background: var(--td-ink); }
.td-button-gold { background: var(--td-gold); }
.td-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.td-stats span { color: var(--td-muted); font-size: 12px; }
.td-stats b { color: var(--td-ink); display: block; font-size: 20px; margin-bottom: 2px; }

.td-feature-strip { background: #fff; padding: 30px 0; border-bottom: 1px solid var(--td-border); }
.td-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.td-feature-grid article { display: flex; gap: 16px; align-items: flex-start; padding: 12px 30px; border-right: 1px solid var(--td-border); }
.td-feature-grid article:first-child { padding-left: 0; }
.td-feature-grid article:last-child { border-right: 0; }
.td-feature-grid article > span { color: var(--td-gold); font-family: Georgia, serif; font-size: 30px; }
.td-feature-grid strong { color: var(--td-ink); font-size: 16px; }
.td-feature-grid p { color: var(--td-muted); margin: 5px 0 0; line-height: 1.45; font-size: 13px; }

.td-products-section { padding: 90px 0; background: #fff; }
.td-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.td-section-heading h2, .td-about h2, .td-quote h2 { margin: 8px 0 0; color: var(--td-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.td-section-heading > a { color: var(--td-gold-dark); font-weight: 900; }
.td-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.td-product-card { background: #fff; border: 1px solid var(--td-border); border-radius: 8px; overflow: hidden; transition: .25s ease; }
.td-product-card:hover { transform: translateY(-7px); box-shadow: var(--td-shadow); }
.td-product-image { height: 235px; display: block; position: relative; overflow: hidden; background: var(--td-cream); }
.td-product-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.td-product-card:hover img { transform: scale(1.05); }
.td-product-image span { position: absolute; right: 12px; bottom: 12px; background: var(--td-gold); color: #fff; border-radius: 4px; padding: 8px 12px; font-size: 12px; font-weight: 900; }
.td-product-body { padding: 19px; }
.td-product-body > span { color: var(--td-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.td-product-body h3 { color: var(--td-ink); font-size: 17px; line-height: 1.35; min-height: 46px; margin: 8px 0 14px; }
.td-product-body a { color: var(--td-gold-dark); font-size: 13px; font-weight: 900; }

.td-about { padding: 90px 0; background: var(--td-cream); }
.td-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.td-about p { color: var(--td-ink-soft); font-size: 17px; line-height: 1.8; margin-top: 0; }
.td-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.td-checks span { padding: 16px; background: #fff; border-radius: 6px; color: var(--td-ink); font-weight: 700; }

.td-quote { padding: 90px 0; background: var(--td-ink); color: #fff; }
.td-quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.td-quote h2 { color: #fff; }
.td-quote p { color: rgba(255,255,255,.72); line-height: 1.7; font-size: 16px; }
.td-eyebrow-light { color: #e6c878; }
.td-quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; }
.td-quote-form label { color: #fff; font-size: 12px; font-weight: 800; }
.td-quote-form input, .td-quote-form textarea { width: 100%; margin-top: 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 5px; background: rgba(255,255,255,.10); color: #fff; padding: 13px 14px; outline: 0; }
.td-quote-form input::placeholder, .td-quote-form textarea::placeholder { color: rgba(255,255,255,.55); }
.td-quote-form input:focus, .td-quote-form textarea:focus { border-color: var(--td-gold); }
.td-quote-form .td-full { grid-column: 1 / -1; }
.td-quote-form button { min-height: 50px; border: 0; border-radius: 5px; background: var(--td-gold); color: #fff; font-weight: 900; cursor: pointer; }

.td-footer { background: #17201b; color: #fff; }
.td-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; padding-block: 60px; }
.td-footer-brand { display: flex; gap: 17px; }
.td-footer-brand strong { font-family: Georgia, serif; font-size: 25px; }
.td-footer p, .td-footer span { color: rgba(255,255,255,.62); line-height: 1.6; }
.td-footer-grid > div:not(.td-footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.td-footer-grid > div > strong { color: #fff; margin-bottom: 7px; }
.td-footer a { color: rgba(255,255,255,.68); }
.td-footer a:hover { color: var(--td-gold); }
.td-footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0; color: rgba(255,255,255,.52); font-size: 12px; }
.td-floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 100; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; font-weight: 900; box-shadow: 0 10px 30px rgba(0,0,0,.24); }
.td-floating-wa:hover { color: #fff; transform: translateY(-3px); }

@media (max-width: 1050px) {
    .td-header-inner { grid-template-columns: 1fr auto; }
    .td-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 20px; }
    .td-nav-links { gap: 17px; overflow-x: auto; justify-content: flex-start; padding-left: 20px; }
    .td-nav-links a { white-space: nowrap; }
    .td-hero-grid { grid-template-columns: 290px 1fr; gap: 40px; }
    .td-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1300px) and (min-width: 1051px) {
    .td-phone { display: none; }
    .td-nav-links { gap: 18px; }
    .td-nav-links a { font-size: 13px; }
}

@media (max-width: 780px) {
    .td-site { width: 100%; max-width: 100vw; }
    .td-site .td-wrap { width: calc(100% - 28px) !important; max-width: calc(100% - 28px) !important; margin-left: auto !important; margin-right: auto !important; }
    .td-topbar-inner { justify-content: center; text-align: center; min-height: 36px; }
    .td-topbar-inner > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
    .td-topbar-inner > div { display: none; }
    .td-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 18px 0; min-height: auto; gap: 16px; }
    .td-logo { min-width: 0; }
    .td-logo-mark { width: 46px; height: 46px; }
    .td-logo strong { font-size: 23px; }
    .td-contact { margin-left: auto; }
    .td-phone { display: none; }
    .td-whatsapp { max-width: 92px; padding: 12px 11px; font-size: 0; text-align: center; }
    .td-whatsapp::after { content: "Teklif Al"; font-size: 12px; }
    .td-search { grid-column: 1 / -1; width: 100%; margin: 0; }
    .td-search input { width: 0; min-width: 0; }
    .td-search button { padding-inline: 18px; }
    .td-nav-inner { width: 100%; min-height: 50px; }
    .td-all-categories { width: auto; padding-inline: 16px; white-space: nowrap; }
    .td-nav-links { gap: 16px; }
    .td-hero { background-position: 65% center; }
    .td-hero-grid { display: flex; flex-direction: column-reverse; gap: 0; padding-block: 36px; }
    .td-hero-content { padding: 20px 0 35px; }
    .td-hero h1 { width: 100%; max-width: 100%; font-size: 36px !important; line-height: 1.06; white-space: normal !important; overflow-wrap: break-word; }
    .td-hero-content > p { width: 100%; max-width: 100%; white-space: normal !important; overflow-wrap: break-word; }
    .td-category-panel { width: 100%; min-width: 0; }
    .td-stats { gap: 20px; }
    .td-feature-grid { grid-template-columns: 1fr; }
    .td-feature-grid article { border-right: 0; border-bottom: 1px solid var(--td-border); padding: 18px 0; }
    .td-feature-grid article:last-child { border-bottom: 0; }
    .td-products-section, .td-about, .td-quote { padding: 65px 0; }
    .td-product-grid { grid-template-columns: repeat(2, 1fr); }
    .td-about-grid, .td-quote-grid { grid-template-columns: 1fr; gap: 38px; }
    .td-footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 520px) {
    .td-logo small { display: none; }
    .td-nav-links { display: none; }
    .td-all-categories { width: 100%; justify-content: center; }
    .td-hero-content > p { font-size: 16px; }
    .td-button { width: 100%; }
    .td-section-heading { display: block; }
    .td-section-heading > a { display: inline-block; margin-top: 15px; }
    .td-product-grid { grid-template-columns: 1fr; }
    .td-product-image { height: 260px; }
    .td-checks, .td-quote-form { grid-template-columns: 1fr; }
    .td-quote-form { padding: 20px; }
}
