﻿:root {
  --bg: #0b474b;
  --panel: #f0ebe5;
  --text-on-dark: #d3d7d2;
  --text-on-light: #234245;
  --brand: #f0ebe5;
  --accent: #447072;
  --border: rgba(211, 215, 210, 0.25);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-on-dark);
  font-family: "Karla", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo {
  color: var(--brand);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
}
.site-nav a {
  color: var(--text-on-dark);
  padding: 6px 4px;
}
.site-nav a:hover { color: #f3e58f; }
.hero {
  min-height: 45vh;
  display: grid;
  align-items: end;
  padding: 42px 0 34px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 71, 75, 0.88), rgba(11, 71, 75, 0.25));
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  margin: 0;
  color: var(--brand);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.hero p { margin: 8px 0 0; font-size: 1.08rem; }
.section { padding: 30px 0; }
.content {
  background: var(--panel);
  color: var(--text-on-light);
  border-radius: 3px;
  padding: 22px;
}
.content h1, .content h2, .content h3 {
  color: #1d383b;
  font-family: "Bodoni Moda", Georgia, serif;
}
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
}
.card {
  background: var(--panel);
  color: var(--text-on-light);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ddd;
}
.card h3 { margin: 14px 14px 8px; font-family: "Bodoni Moda", Georgia, serif; }
.card p, .card small, .card div { margin-left: 14px; margin-right: 14px; }
.shop-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-card-desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.card .btn { margin: 12px 14px 14px; }
.price { color: #9fdcff !important; font-weight: 700; font-size: 1.08rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 9px 13px;
  border-radius: 3px;
}
.btn:hover { filter: brightness(1.05); }
.form { display: grid; gap: 12px; max-width: 760px; }
input, textarea, button, select {
  font: inherit;
  padding: 10px;
  border: 1px solid #bdb4a7;
  border-radius: 3px;
  background: #fff;
}
button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: 0;
}
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding: 16px 0 20px;
  color: var(--text-on-dark);
}
.admin-wrap { width: min(1100px, 94%); margin: 25px auto; }
.table { width: 100%; border-collapse: collapse; background: #fff; color: #222; }
.table th, .table td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top; }
.flash { background: #e7f5ea; border: 1px solid #b8dfc0; color: #0f3a20; padding: 10px; border-radius: 4px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .site-header .wrap { min-height: 72px; align-items: start; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; font-size: 0.98rem; gap: 8px 12px; }
  .hero { min-height: 34vh; }
}

.news-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-post {
  background: var(--panel);
  color: var(--text-on-light);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.news-post-media { display:block; background:#ddd; }
.news-post-media img { width:100%; height:220px; object-fit:cover; display:block; }
.news-post-body { padding: 16px 16px 18px; }
.news-post-meta { margin:0 0 8px; font-size:.86rem; color:#5a6f70; letter-spacing:.02em; }
.news-post h2 { margin: 0 0 10px; font-size:1.4rem; line-height:1.2; font-family:"Bodoni Moda", Georgia, serif; }
.news-post-excerpt { margin: 0 0 10px; font-weight: 600; }
.news-post-content p { margin: 0 0 10px; }

.product-page { padding-top: 14px; }
.product-breadcrumb {
  margin: 0 0 14px;
  font-size: .92rem;
  color: rgba(211, 215, 210, 0.92);
}
.product-breadcrumb a { text-decoration: underline; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: start;
}
.product-gallery {
  background: var(--panel);
  border-radius: 3px;
  padding: 12px;
}
.product-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.product-noimg {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: #ddd;
  color: #666;
}
.product-info {
  background: var(--panel);
  color: var(--text-on-light);
  border-radius: 3px;
  padding: 18px;
}
.product-info h1 {
  margin: 0 0 10px;
  color: #1d383b;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 2.15rem);
  line-height: 1.2;
}
.product-price {
  margin: 0 0 12px;
  font-size: 1.28rem;
  font-weight: 700;
  color: #9fdcff !important;
}
.product-short {
  margin: 0 0 16px;
  line-height: 1.6;
}
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-description {
  margin-top: 18px;
  line-height: 1.65;
}
.product-description p { margin: 0 0 12px; }
@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; }
}

.hero-slider {
  min-height: 62vh;
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: homeSlideshow 18s infinite;
}
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 71, 75, 0.9), rgba(11, 71, 75, 0.35));
}
.hero-center {
  min-height: 62vh;
  position: relative;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
}
.hero-center h1 {
  margin: 0;
  color: #fff;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.hero-center p {
  margin: 0;
  color: #f0ebe5;
  font-size: 1.1rem;
}
.cta-vetrina {
  justify-self: center;
  margin-top: 6px;
}
.home-title {
  margin: 0 0 16px;
  color: #d3d7d2;
  font-family: "Bodoni Moda", Georgia, serif;
}
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@keyframes homeSlideshow {
  0% { opacity: 0; }
  6% { opacity: 1; }
  28% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 960px) {
  .home-news-grid { grid-template-columns: 1fr; }
}

.footer-line { text-align: center; }
.footer-line a { text-decoration: underline; }

