/*
Theme Name: TefalKids & SlimSink
Theme URI: https://www.tefalkids.com/
Author: TefalKids & Slimsink.com
Author URI: https://slimsink.com/
Description: Премиальная тема WordPress для гастрономического портала www.tefalkids.com: 123 рецепта для техники Tefal (OptiGrill, ActiFry, Cook4Me, Cake Factory), 101 рецепт шеф-поваров мира, гид по ресторанам Мишлен, энциклопедия пользы фруктов и овощей, прямая интеграция генерального партнера slimsink.com (плоские раковины для ванной над стиральной машиной) и телефон 79043333342. Полное соответствие стандартам Яндекс.Вебмастер, Google Search Console и валидная микроразметка Schema.org Recipe.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tefalkids
Tags: food-drink, custom-menu, featured-images, theme-options, translation-ready, two-columns, full-width-template
*/

/* --------------------------------------------------------------
   RESET & BASE VARIABLES
-------------------------------------------------------------- */
:root {
  --tk-primary: #e11d48;
  --tk-primary-dark: #be123c;
  --tk-secondary: #f59e0b;
  --tk-partner: #06b6d4;
  --tk-partner-dark: #082f49;
  --tk-dark: #0f172a;
  --tk-slate: #334155;
  --tk-light: #f8fafc;
  --tk-border: #e2e8f0;
  --tk-radius: 16px;
  --tk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--tk-font);
  background-color: var(--tk-light);
  color: var(--tk-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tk-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--tk-primary-dark);
}

/* --------------------------------------------------------------
   PARTNER TOP BAR
-------------------------------------------------------------- */
.tk-partner-bar {
  background: linear-gradient(90deg, #091e3a 0%, #033c5e 50%, #091e3a 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  border-bottom: 1px solid #0284c7;
}

.tk-partner-bar .tk-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-partner-badge {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.tk-partner-link {
  color: #67e8f9 !important;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.tk-phone-link {
  color: #fda4af !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------------------- */
.tk-header {
  background: #ffffff;
  border-bottom: 1px solid #ffe4e6;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tk-header .tk-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.tk-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.tk-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e11d48, #f59e0b);
  color: #ffffff;
  font-weight: 900;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.tk-logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--tk-dark);
  line-height: 1.1;
}

.tk-logo-text span {
  color: var(--tk-primary);
}

.tk-logo-sub {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.tk-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tk-nav a {
  color: var(--tk-slate);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
}

.tk-nav a:hover {
  background: #fff1f2;
  color: var(--tk-primary);
}

.tk-nav a.tk-partner-nav-link {
  background: #e0f2fe;
  color: #0369a1 !important;
  border: 1px solid #bae6fd;
}

.tk-header-phone {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

/* --------------------------------------------------------------
   LAYOUT CONTAINER
-------------------------------------------------------------- */
.tk-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.tk-main {
  padding-top: 36px;
  padding-bottom: 60px;
}

/* --------------------------------------------------------------
   PARTNER SLIMSINK BANNER
-------------------------------------------------------------- */
.tk-partner-banner {
  background: linear-gradient(135deg, #091e3a 0%, #033c5e 100%);
  border: 1px solid #0284c7;
  border-radius: var(--tk-radius);
  padding: 32px;
  color: #ffffff;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(3, 60, 94, 0.2);
}

.tk-partner-banner h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  margin: 10px 0;
}

.tk-partner-banner p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 20px;
}

.tk-partner-btn {
  background: #38bdf8;
  color: #091e3a !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.tk-partner-btn:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------
   RECIPES & CARDS GRID
-------------------------------------------------------------- */
.tk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.tk-card {
  background: #ffffff;
  border-radius: var(--tk-radius);
  border: 1px solid var(--tk-border);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #fbcfe8;
}

.tk-card-img {
  height: 200px;
  background-color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.tk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tk-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.tk-card-body {
  padding: 20px;
  flex: 1;
}

.tk-card-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.3;
}

.tk-card-title a {
  color: var(--tk-dark);
}

.tk-card-title a:hover {
  color: var(--tk-primary);
}

.tk-card-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.tk-card-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

/* --------------------------------------------------------------
   FOOTER
-------------------------------------------------------------- */
.tk-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
}

.tk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.tk-footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tk-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-footer ul li {
  margin-bottom: 10px;
}

.tk-footer ul li a {
  color: #94a3b8;
}

.tk-footer ul li a:hover {
  color: #ffffff;
}

.tk-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* --------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------- */
@media (max-width: 900px) {
  .tk-nav {
    display: none;
  }
  .tk-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
