/* Header Components */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.top-ticker {
  background: var(--accent);
  color: white;
  padding: 8px 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -1px;
  white-space: nowrap;
}

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

.main-menu a {
  font-size: 1rem !important;
  opacity: 0.85;
}

.search-bar {
  display: none;
}

@media (min-width: 768px) {
  .search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border-radius: 30px;
    padding: 8px 20px;
    width: 300px;
  }
  .search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: inherit;
  }
}

.nav-categories {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
}

.nav-categories::-webkit-scrollbar {
  display: none;
}

.nav-item {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  transition: var(--transition);
}

.nav-categories:hover .nav-item.active {
  /* Prevent weird hover issues */
}

/* Brand Filters */
.nav-brands {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 20px;
  padding-top: 15px;
  scrollbar-width: none;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-brands::-webkit-scrollbar {
  display: none;
}

.brand-item {
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-color);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.brand-item:hover, .brand-item.active {
  border-color: var(--primary);
  color: var(--primary);
  background: white;
  box-shadow: 0 4px 6px rgba(255,42,95,0.1);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(150%); /* Hidden by default */
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  font-size: 0.95rem;
  color: var(--text-main);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-cookie.accept {
  background: var(--primary);
  color: white;
}
.btn-cookie.accept:hover {
  background: var(--primary-hover);
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 10px; left: 10px; right: 10px; }
}

/* Ad Placeholders */
.ad-slot {
  background: #e5e7eb;
  border: 1px dashed #9ca3af;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.ad-top { width: 100%; height: 90px; max-width: 728px; }
.ad-content { width: 100%; height: 250px; max-width: 300px; }

/* Grid Layout for Cards */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Deal Card */
.deal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.6s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  border-radius: 0;
}

.deal-card:hover .card-img {
  transform: scale(1.05);
}

.price-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  text-align: center;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 42, 95, 0.25);
  color: white;
}

/* Telegram / Newsletter Widget */
.newsletter-section {
  background: var(--accent);
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.btn-telegram {
  background: #0088cc;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

.btn-telegram:hover {
  background: #0099e6;
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: white;
  padding: 40px 0 20px;
  border-top: 1px solid #eaeaea;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 600px) {
  .section-title { font-size: 1.5rem; }
  .deal-grid { grid-template-columns: 1fr; }
}

/* Article Page Layout */
.article-header {
  text-align: center;
  margin: 40px 0;
}

.article-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .article-title { font-size: 1.8rem; }
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Product Item in Article */
.product-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
}

.product-item h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.product-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.product-desc {
  margin-bottom: 20px;
  color: var(--text-main);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.btn-amazon {
  display: block;
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 16px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.btn-amazon:hover {
  background: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
  color: white;
}

/* Share Buttons */
.share-section {
  text-align: center;
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-share {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-share.whatsapp { background: #25D366; }
.btn-share.facebook { background: #1877F2; }
.btn-share.telegram { background: #0088cc; }

.btn-share:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Related Posts */
.related-posts {
  background: white;
  padding: 40px 0;
  margin-top: 40px;
}
