body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f2ede4;
  color: #3a2e22;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid #ddd5c4;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ede8df;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  z-index: 100;
  box-sizing: border-box;
}

.logo {
  font-weight: bold;
  letter-spacing: 1px;
  color: #3a2e22;
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #e8e0d4 0%, #f2ede4 100%);
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  text-align: center;
  color: #3a2e22;
}

.hero p {
  color: #6b5a47;
}

.hero .btn {
  margin-top: 30px;
}

/* BLOCK */
.block {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.block h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #3a2e22;
}

.block p {
  color: #5a4a3a;
}

/* CARDS */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  width: 250px;
  background: #ede8df;
  border: 1px solid #d8cfc2;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.card h3 {
  text-align: center;
  color: #3a2e22;
}

.card p {
  text-align: center;
  color: #6b5a47;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #7a5c3a;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  background: #5e4429;
}

.btn-tg {
  background: #9a7050;
  color: #ffffff;
  margin-left: 12px;
}

.btn-tg:hover {
  background: #7a5c3a;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.15);
  transition: 0.3s;
}

.btn:hover::after {
  width: 100%;
}

/* PRICE */
.price {
  font-size: 32px;
  color: #7a5c3a;
  margin: 15px 0;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 8px;
  font-size: 18px;
}

.save {
  font-size: 14px;
  opacity: 0.7;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  color: #9a8878;
  border-top: 1px solid #d8cfc2;
  background: #ede8df;
}

* {
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border-color: #7a5c3a;
}

.hero h1, .hero p {
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageIn 0.4s ease;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

a:hover {
  opacity: 0.85;
}

.header .btn {
  margin-right: 60px;
}

/* GALLERY GRID */
.gallery-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.gallery-section > h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #3a2e22;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.gallery-card {
  width: calc(50% - 12px);
  min-width: 300px;
  background: #ede8df;
  border: 1px solid #d8cfc2;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  box-sizing: border-box;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: #7a5c3a;
}

.gallery-card h3 {
  margin: 0 0 16px 0;
  color: #3a2e22;
  font-size: 18px;
}

.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #d8cfc2 transparent;
}

.gallery-scroll::-webkit-scrollbar {
  height: 5px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #d8cfc2;
  border-radius: 4px;
}

.gallery-item {
  flex-shrink: 0;
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d0c8bb;
}

.gallery-img {
  width: 100%;
  height: 110px;
  background: #c8bfb2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a7a6a;
  font-size: 12px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-desc {
  padding: 6px 8px;
  font-size: 12px;
  color: #6b5a47;
  background: #e8e0d5;
  line-height: 1.4;
}

.gallery-img {
  cursor: pointer;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}
