/*
Theme Name: Coupon Theme
Theme URI: https://promokodika.ru
Author: Coupon Site Manager
Description: Лёгкая купонная тема для WordPress Multisite
Version: 1.0.4
License: GPL v2
Text Domain: coupon-theme
*/

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  padding-left: 1.5em;
}

body {
  font-family: var(--ct-font, 'Roboto', sans-serif);
  background: var(--ct-bg, #f8f9fa);
  color: var(--ct-text, #2d3436);
  line-height: 1.6;
}

a {
  color: var(--ct-primary, #ff6b6b);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  background: var(--cp-card-bg, #fff);
  border-radius: var(--radius-sm, 8px);
  box-shadow: var(--shadow-card, 0 2px 8px rgba(0,0,0,0.1));
  overflow: hidden;
}

th,
td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--cp-soft-bg, #f8f9fa);
  font-weight: 600;
  color: var(--cp-text, #2d3436);
  border-bottom: 2px solid var(--cp-border, #e9ecef);
}

td {
  border-bottom: 1px solid var(--cp-border, #e9ecef);
  color: var(--cp-text, #2d3436);
  line-height: 1.5;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--cp-soft-bg, #f8f9fa);
}

@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 12px 16px;
  }
}
