/*
Theme Name: VIKTEX Web Theme
Theme URI: https://viktex.eu/
Author: VIKTEX TECHNOLOGY
Author URI: https://viktex.eu/
Description: A WordPress block theme for VIKTEX TECHNOLOGY. Provides global styles, templates, template parts, and patterns. Content is imported separately through WordPress data tools.
Version: 0.3.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viktex-web-theme
Tags: block-patterns, block-styles, custom-menu, featured-images, wide-blocks, e-commerce
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f9fc;
  color: #1e293b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: #2563eb;
}

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

.site-header,
.site-footer {
  background: #081426;
  color: #ffffff;
}

.site-header__inner,
.site-footer__inner,
.site-main {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-title,
.site-footer__logo {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu,
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a,
.footer-menu a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-decoration: none;
}

.site-main {
  padding: 56px 0 72px;
}

.content-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #ffffff;
}

.content-card + .content-card {
  margin-top: 24px;
}

.entry-title {
  margin-top: 0;
  color: #081426;
  line-height: 1.08;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-content > * {
  max-width: 860px;
}

.entry-meta,
.entry-summary {
  color: #64748b;
}

.post-grid {
  display: grid;
  gap: 24px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 42px 0;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.viktex-sticky-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.viktex-hero-grid {
  min-height: 640px;
}

.viktex-dashboard {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.viktex-chart-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 140px;
}

.viktex-chart-bars span {
  display: block;
  min-height: 32px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--wp--preset--color--cyan-accent), var(--wp--preset--color--electric-blue));
}

.viktex-chart-bars span:nth-child(1) { height: 34%; }
.viktex-chart-bars span:nth-child(2) { height: 48%; }
.viktex-chart-bars span:nth-child(3) { height: 42%; }
.viktex-chart-bars span:nth-child(4) { height: 64%; }
.viktex-chart-bars span:nth-child(5) { height: 78%; }
.viktex-chart-bars span:nth-child(6) { height: 92%; }

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.woocommerce ul.products:before,
.woocommerce ul.products:after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 8px;
  background: var(--wp--preset--color--white);
}

@media (max-width: 782px) {
  .site-header__inner,
  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-menu,
  .footer-menu {
    display: grid;
    gap: 10px;
  }

  .viktex-hero-grid {
    min-height: auto;
  }
}
