/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #1a1a1a;
  --dark: #2c2c2c;
  --grey: #6b6b6b;
  --light-grey: #f5f5f5;
  --white: #ffffff;
  --accent: #c9a96e;
  --accent-dark: #a88350;
  --red: #d93025;
  --border: #e8e8e8;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a {
  color: var(--accent);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 32px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black);
  white-space: nowrap;
}
.logo span {
  color: var(--accent);
  font-weight: 400;
  font-size: 14px;
  display: block;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: -4px;
}

.main-nav {
  display: flex;
  gap: 0;
  list-style: none;
}
.main-nav li a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--dark);
  transition: color 0.2s;
}
.main-nav li a:hover {
  color: var(--accent);
}
.main-nav li.sale a {
  color: var(--red);
  font-weight: 700;
}
.main-nav li.sale a:hover {
  color: #b02020;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}

.btn-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cart:hover {
  background: var(--dark);
}
.cart-count {
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #e8e0d8;
  max-height: 600px;
}
.hero img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 26, 26, 0.65) 0%,
    rgba(26, 26, 26, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  margin-bottom: 30px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition:
    background 0.2s,
    transform 0.1s;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ===== SECTION HEADER ===== */
.section-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-header h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-header a {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.section-header a:hover {
  text-decoration: underline;
}

/* ===== CATEGORIES ===== */
.categories-section {
  padding: 64px 0;
  background: var(--white);
}
.categories-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.category-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img {
  transform: scale(1.04);
}
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.category-card-overlay h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.category-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 18px;
}
.btn-outline-white {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  align-self: flex-start;
  transition:
    background 0.2s,
    color 0.2s;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== PRODUCTS ===== */
.products-section {
  padding: 56px 0;
  background: var(--light-grey);
}
.products-section.white {
  background: var(--white);
}
.products-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    box-shadow 0.25s,
    transform 0.2s;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.product-image {
  position: relative;
  overflow: hidden;
  background: #f0ede8;
  aspect-ratio: 1;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}
.product-badge.new {
  background: var(--accent);
}
.product-info {
  padding: 14px 16px 16px;
}
.product-brand {
  font-size: 11px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}
.price-old {
  font-size: 13px;
  color: var(--grey);
  text-decoration: line-through;
}
.price-discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.btn-add {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add:hover {
  background: var(--dark);
}

/* ===== PROMO BANNER ===== */
.promo-strip {
  background: var(--black);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}
.promo-strip .tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.promo-strip h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.promo-strip p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}
.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.btn-accent:hover {
  background: var(--accent-dark);
}

/* ===== FEATURES ===== */
.features-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-item {
  padding: 16px 8px;
}
.feature-icon {
  font-size: 30px;
  margin-bottom: 10px;
}
.feature-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 13px;
  color: var(--grey);
}

/* ===== FOOTER ===== */
footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.payment-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

/* ===== NOTICE BAR ===== */
.notice-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 12px;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
  }
  .header-inner {
    padding: 0 16px;
    height: 60px;
  }
  .main-nav {
    display: none;
  }
  .hero img {
    height: 320px;
  }
  .hero-content {
    padding: 0 24px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-card img {
    height: 280px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-info {
    padding: 10px 12px 12px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 15, 15, 0.97);
  color: #fff;
  padding: 22px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.cookie-text strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}
.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie-reject {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
  font-family: var(--font);
}
.btn-cookie-reject:hover {
  border-color: #fff;
}
.btn-cookie-accept {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 10px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.btn-cookie-accept:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ===== INNER PAGES ===== */
.page-hero {
  background: #f5f0eb;
  padding: 36px 24px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.breadcrumb a {
  color: #999;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  margin: 0 6px;
}
.page-hero h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.5px;
}
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 24px 64px;
}
.page-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--black);
  padding-top: 8px;
  border-top: 2px solid var(--border);
}
.page-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.page-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--dark);
}
.page-content p {
  font-size: 15px;
  line-height: 1.78;
  color: #444;
  margin-bottom: 14px;
}
.page-content ul,
.page-content ol {
  margin: 0 0 16px 22px;
  font-size: 15px;
  line-height: 1.78;
  color: #444;
}
.page-content li {
  margin-bottom: 6px;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.page-content th {
  background: #f5f0eb;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #ddd;
}
.page-content td {
  padding: 10px 14px;
  border: 1px solid #ddd;
  color: #444;
}
.page-content tr:nth-child(even) td {
  background: #fafaf8;
}
.page-content a {
  color: var(--accent);
}
.page-content a:hover {
  text-decoration: underline;
}
.info-box {
  background: #f5f0eb;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  position: relative;
  color: var(--black);
  user-select: none;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--grey);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after {
  content: "−";
}
.faq-a {
  display: none;
  padding: 0 0 18px;
  font-size: 14.5px;
  color: #555;
  line-height: 1.72;
}
.faq-item.open .faq-a {
  display: block;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 10px 13px;
  font-size: 14px;
  font-family: var(--font);
  color: #333;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.btn-submit {
  background: var(--black);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.btn-submit:hover {
  background: var(--dark);
}
.contact-info-block h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.contact-info-block .info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.info-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 2px;
}
.info-val {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.info-val a {
  color: var(--accent);
}
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
