
/* traurvenok.ru — CSS prefix .tv- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'PT Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #2a2a2a; background: #f5f0e8; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1f3a2e; text-decoration: none; }
a:hover { color: #c9a449; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; color: #1f3a2e; line-height: 1.25; }
h1 { font-size: 2.4rem; margin-bottom: 1.2rem; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; margin-top: 2rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
p { margin-bottom: 0.9rem; }
ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.4rem; }

.tv-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.tv-header { background: #1f3a2e; color: #f5f0e8; padding: 14px 0; position: sticky; top: 0; z-index: 100; }
.tv-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tv-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: #c9a449; font-weight: 600; }
.tv-logo a { color: #c9a449; }
.tv-logo a:hover { color: #f5f0e8; }
.tv-header-phone { font-size: 1.05rem; color: #f5f0e8; }
.tv-header-phone a { color: #c9a449; }
.tv-header-phone a:hover { color: #fff; }

/* Mobile nav toggle */
.tv-nav-toggle { display: none; background: none; border: 0; color: #c9a449; font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }

/* Top nav */
.tv-nav { background: #2c4a3d; padding: 10px 0; border-top: 1px solid #c9a44930; }
.tv-nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.tv-nav-list a { color: #f5f0e8; font-size: 0.95rem; }
.tv-nav-list a:hover { color: #c9a449; }

/* Hero */
.tv-hero { background: linear-gradient(rgba(31,58,46,0.78), rgba(31,58,46,0.78)), url('/images/hero.jpg') center/cover; color: #f5f0e8; padding: 90px 0; text-align: center; }
.tv-hero h1 { color: #f5f0e8; font-size: 2.8rem; margin-bottom: 1rem; }
.tv-hero-subtitle { font-size: 1.25rem; max-width: 720px; margin: 0 auto 2rem; color: #f5f0e8; opacity: 0.95; }
.tv-hero-cta { display: inline-block; background: #c9a449; color: #1f3a2e; padding: 14px 38px; font-weight: 700; font-size: 1.1rem; border-radius: 2px; transition: background 0.2s; }
.tv-hero-cta:hover { background: #fff; color: #1f3a2e; }

/* Category grid (homepage) */
.tv-section { padding: 50px 0; }
.tv-section-title { text-align: center; margin-bottom: 1.5rem; }
.tv-section-sub { text-align: center; max-width: 720px; margin: 0 auto 2.4rem; color: #555; }

.tv-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.tv-cat-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.tv-cat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.tv-cat-card img { width: 100%; height: 200px; object-fit: cover; }
.tv-cat-card-body { padding: 18px; }
.tv-cat-card h3 { margin-bottom: 0.4rem; }
.tv-cat-card p { font-size: 0.95rem; color: #555; margin-bottom: 0; }

/* Product grid */
.tv-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 2rem; }
.tv-product-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.tv-product-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.tv-product-card img { width: 100%; height: 240px; object-fit: cover; }
.tv-product-card-body { padding: 14px 16px 18px; }
.tv-product-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; line-height: 1.3; }
.tv-product-card-size { font-size: 0.9rem; color: #888; margin-bottom: 0.6rem; }
.tv-product-card-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #1f3a2e; font-weight: 600; margin-bottom: 0.8rem; }
.tv-product-card-cta { display: inline-block; background: #1f3a2e; color: #f5f0e8; padding: 8px 18px; font-size: 0.95rem; border-radius: 2px; }
.tv-product-card-cta:hover { background: #c9a449; color: #1f3a2e; }
.tv-badge-row { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; }
.tv-badge { background: #c9a449; color: #1f3a2e; padding: 3px 10px; font-size: 0.78rem; border-radius: 2px; font-weight: 600; }
.tv-badge--srochno { background: #b8413a; color: #fff; }
.tv-badge--zhivye { background: #5f7d4e; color: #fff; }
.tv-badge--iskusstvennye { background: #8a7042; color: #fff; }
.tv-badge--premium { background: #2a2a2a; color: #c9a449; }

/* Product detail page */
.tv-pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 50px 0; }
.tv-pd-img { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.tv-pd-img img { width: 100%; height: auto; }
.tv-pd-body h1 { font-size: 2.2rem; }
.tv-pd-meta { color: #555; margin-bottom: 1rem; font-size: 1.05rem; }
.tv-pd-price { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: #1f3a2e; font-weight: 600; margin-bottom: 1.4rem; }
.tv-pd-desc { font-size: 1.05rem; margin-bottom: 1.6rem; }
.tv-pd-cta { display: inline-block; background: #1f3a2e; color: #f5f0e8; padding: 14px 36px; font-size: 1.1rem; border-radius: 2px; font-weight: 600; }
.tv-pd-cta:hover { background: #c9a449; color: #1f3a2e; }
.tv-pd-features { background: #fff; padding: 18px 22px; border-radius: 4px; margin: 1.6rem 0; }
.tv-pd-features li { list-style: none; padding: 6px 0 6px 26px; position: relative; }
.tv-pd-features li::before { content: '✓'; position: absolute; left: 0; color: #c9a449; font-weight: 700; }

/* Article / content pages */
.tv-article { max-width: 820px; margin: 0 auto; padding: 50px 0; }
.tv-article h1 { font-size: 2.6rem; margin-bottom: 0.5rem; }
.tv-article-meta { color: #888; font-size: 0.95rem; margin-bottom: 2rem; }
.tv-article p, .tv-article ul, .tv-article ol { font-size: 1.05rem; line-height: 1.7; }
.tv-article h2 { margin-top: 2rem; }
.tv-article blockquote { border-left: 3px solid #c9a449; padding-left: 18px; font-style: italic; color: #555; margin: 1.4rem 0; }

/* Breadcrumbs */
.tv-crumbs { font-size: 0.9rem; color: #777; padding: 18px 0; }
.tv-crumbs a { color: #1f3a2e; }
.tv-crumbs span { margin: 0 6px; }

/* Footer */
.tv-footer { background: #1f3a2e; color: #c2c8c0; padding: 50px 0 20px; margin-top: 60px; }
.tv-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.tv-footer h4 { color: #c9a449; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 1rem; }
.tv-footer ul { list-style: none; margin: 0; padding: 0; }
.tv-footer li { margin-bottom: 0.5rem; }
.tv-footer a { color: #c2c8c0; font-size: 0.95rem; }
.tv-footer a:hover { color: #c9a449; }
.tv-footer-bottom { border-top: 1px solid #2c4a3d; margin-top: 36px; padding-top: 18px; font-size: 0.85rem; color: #8a948b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.tv-footer-bottom a { color: #8a948b; }

/* Info / promise blocks */
.tv-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tv-promise { background: #fff; padding: 24px 22px; border-radius: 4px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.tv-promise-icon { font-size: 2.4rem; color: #c9a449; margin-bottom: 0.6rem; }
.tv-promise h4 { font-family: 'Cormorant Garamond', serif; color: #1f3a2e; font-size: 1.2rem; margin-bottom: 0.4rem; }
.tv-promise p { font-size: 0.95rem; color: #555; margin: 0; }

/* Quick search */
.tv-quick-search { background: #f0ead8; padding: 30px 0; border-bottom: 1px solid #c9a44940; }
.tv-quick-search-form { display: flex; gap: 12px; max-width: 700px; margin: 0 auto; }
.tv-quick-search-form select, .tv-quick-search-form button { padding: 12px 18px; font-size: 1rem; border-radius: 2px; border: 1px solid #1f3a2e40; background: #fff; }
.tv-quick-search-form button { background: #1f3a2e; color: #f5f0e8; border: 0; font-weight: 600; cursor: pointer; }
.tv-quick-search-form button:hover { background: #c9a449; color: #1f3a2e; }
.tv-quick-search-form select { flex: 1; }

/* Order form */
.tv-order-form { background: #fff; padding: 30px; border-radius: 4px; margin: 2rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.tv-form-row { display: flex; gap: 14px; margin-bottom: 14px; }
.tv-form-row > * { flex: 1; }
.tv-order-form label { display: block; font-size: 0.9rem; color: #555; margin-bottom: 4px; }
.tv-order-form input, .tv-order-form textarea, .tv-order-form select { width: 100%; padding: 10px 12px; font-size: 1rem; border: 1px solid #ddd; border-radius: 2px; font-family: inherit; }
.tv-order-form textarea { min-height: 90px; resize: vertical; }
.tv-order-form button { background: #1f3a2e; color: #f5f0e8; padding: 14px 40px; font-size: 1.05rem; font-weight: 600; border: 0; border-radius: 2px; cursor: pointer; }
.tv-order-form button:hover { background: #c9a449; color: #1f3a2e; }

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 1.9rem; }
  .tv-hero { padding: 60px 0; }
  .tv-hero h1 { font-size: 2.1rem; }
  .tv-hero-subtitle { font-size: 1.05rem; }
  .tv-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-product-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-pd { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .tv-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .tv-promises { grid-template-columns: repeat(2, 1fr); }
  .tv-form-row { flex-direction: column; gap: 14px; }
  .tv-nav-toggle { display: block; }
  .tv-nav-list { display: none; flex-direction: column; gap: 8px; }
  .tv-nav-list.open { display: flex; }
  .tv-quick-search-form { flex-direction: column; }
}
@media (max-width: 520px) {
  .tv-product-grid { grid-template-columns: 1fr; }
  .tv-cat-grid { grid-template-columns: 1fr; }
  .tv-header-phone { font-size: 0.95rem; }
  .tv-logo { font-size: 1.3rem; }
}
