:root {
  --accent: #D13832;
  --accent-hover: #b02e29;
  --dark-blue: #393071;
  --dark-blue-hover: #2a2355;
  --bg-color: #FFFFFF;
  --bg-light: #f5f7fa;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --transition: 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--dark-blue);
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--dark-blue);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-blue-hover);
  transform: translateY(-2px);
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header__logo img {
  height: 40px;
}

.nav__list {
  display: flex;
  gap: 30px;
  display: none; /* Mobile first: hide */
}

.nav__link {
  font-weight: 500;
  color: var(--text-main);
}

.nav__link:hover {
  color: var(--accent);
}

.header__contact {
  display: none; /* Mobile first: hide */
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--dark-blue);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 20px;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav__link {
  display: block;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav .header__contact {
  display: block;
  margin-top: 10px;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 60px 0;
  background-color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://rooffasad.ru/upload/shop_1/3/9/4/item_3947/shop_property_file_3947_11381.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0;
  animation: heroReveal 1.5s ease-in forwards;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.82);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

/* Numbers Section */
.numbers {
  padding: 60px 0;
  background-color: var(--dark-blue);
  color: var(--white);
}

.numbers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  text-align: center;
}

.number__item h3 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.number__item p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.advantages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.grandline.ru/image/cache/data/_direct_upload/%D0%9A%D0%BB%D0%B8%D0%BA%D1%84%D0%B0%D0%BB%D1%8C%D1%86%20Pro%20Line%20Grand%20Line%200%2C5%20Satin%20Matt%20%286%29-768x0w_ha.jpg') center/cover no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in;
  z-index: -1;
}

.advantages::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.88);
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease-in;
}

.advantages.bg-visible::before,
.advantages.bg-visible::after {
  opacity: 1;
}

.advantages .container {
  position: relative;
  z-index: 1;
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.advantage__card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-color);
}

.advantage__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.advantage__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--accent);
}

.advantage__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.advantage__card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

/* Categories */
.categories {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.category__card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  display: block;
}

.category__card:hover {
  transform: translateY(-5px);
}

.category__img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #e5e7eb;
}

.category__content {
  padding: 20px;
  text-align: center;
}

.category__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-blue);
}

/* Contact Form */
.contact-section {
  padding: 80px 0;
}

.contact__wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-blue);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer__list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__list svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__link {
  color: rgba(255,255,255,0.8);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .hero {
    padding: 100px 0;
  }
  
  .hero__title {
    font-size: 3.5rem;
  }

  .hero__actions {
    flex-direction: row;
  }

  .numbers__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
  
  .nav__list, .header__contact {
    display: flex;
  }

  .mobile-nav {
    display: none !important;
  }

  .advantages__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
   CATALOG PAGE STYLES
   ========================================= */

.bg-gray {
  background-color: var(--bg-light);
}

.page-header {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 40px 0;
  margin-bottom: 40px;
}

.page-title {
  color: var(--white);
  font-size: 2.2rem;
  margin: 0;
}

.catalog-section {
  padding-bottom: 80px;
  min-height: 60vh;
}

.catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Sidebar */
.catalog-sidebar {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  height: fit-content;
}

.sidebar-title {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.category-menu {
  list-style: none;
}

.category-item {
  margin-bottom: 5px;
}

.category-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 15px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-btn:hover, .category-btn.active {
  background-color: rgba(57, 48, 113, 0.05); /* very light blue */
  color: var(--dark-blue);
}

.category-btn .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.category-btn.active .arrow {
  transform: rotate(180deg);
}

.subcategory-menu {
  padding-left: 15px;
  margin-top: 5px;
  display: none; /* hidden by default */
  list-style: none;
}

.subcategory-link {
  display: block;
  padding: 8px 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-left: 2px solid var(--border-color);
  transition: all var(--transition);
}

.subcategory-link:hover, .subcategory-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* Search Bar */
.catalog-search-bar {
  display: flex;
  margin-bottom: 30px;
  gap: 10px;
}

.search-input {
  flex-grow: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: var(--shadow);
}

.search-input:focus {
  outline: none;
  border-color: var(--dark-blue);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(209, 56, 50, 0.3);
}

.product-name {
  font-size: 1.3rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

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

.product-specs {
  font-size: 0.9rem;
  background-color: var(--bg-light);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-unit {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Product Actions (Buttons) */
.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-align: center;
}

/* Phone Button */
.btn-phone {
  background-color: var(--dark-blue);
  color: var(--white);
}
.btn-phone:hover {
  background-color: var(--dark-blue-hover);
}

/* Telegram Button */
.btn-tg {
  background-color: #27A6E6; /* Telegram blue */
  color: var(--white);
}
.btn-tg:hover {
  background-color: #1a8cc2;
}

/* Email Button */
.btn-email {
  background-color: #f3f4f6;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-email:hover {
  background-color: #e5e7eb;
}

/* Desktop Catalog Layout */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .catalog-layout {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }
  
  .catalog-main {
    flex-grow: 1;
    min-width: 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .product-actions {
    grid-template-columns: repeat(3, 1fr); /* 3 buttons side-by-side */
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

/* =========================================
   COMMON SECTION STYLES
   ========================================= */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--dark-blue);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Info Grid (Cards for Delivery/Payment) */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.info-card__icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.info-card__title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.info-card__text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.info-card__details {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.95rem;
}

.info-card__details p {
  margin-bottom: 8px;
}

.info-card__details a {
  color: var(--accent);
  font-weight: 600;
}

/* Important Info Block */
.info-block {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
}

.important-list {
  list-style: none;
  padding: 0;
}

.important-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.important-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.important-list a {
  color: var(--accent);
}

/* Responsive for Delivery */
@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   BRANDS SECTION STYLES
   ========================================= */
.brands-section {
  padding: 80px 0;
  background-color: var(--white);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.brand-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
}

.brand-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.brand-logo {
  max-height: 60px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 15px;
}

.brand-name {
  font-size: 13px;
  color: var(--dark-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

.about-content {
  padding: 60px 0;
}

.about-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.about-text-wrapper h2 {
  font-size: 2rem;
  color: var(--dark-blue);
  margin-bottom: 30px;
  text-align: left;
}

.about-text-wrapper p {
  margin-bottom: 20px;
}

.about-text-wrapper ul {
  list-style: none; /* override default to use custom bullets */
  margin-left: 20px;
  margin-bottom: 20px;
}

.about-text-wrapper li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.about-text-wrapper li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Gallery */
.gallery {
  padding: 80px 0;
  background-color: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
   CONTACTS PAGE STYLES
   ========================================= */
   
.contacts-info {
  padding-bottom: 40px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.contact-card__icon {
  width: 50px;
  height: 50px;
  background-color: rgba(209, 56, 50, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card__content h3 {
  font-size: 1.25rem;
  color: var(--dark-blue);
  margin-bottom: 15px;
}

.contact-card__content p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-card__content a {
  color: var(--dark-blue);
  font-weight: 500;
}

.contact-card__content a:hover {
  color: var(--accent);
}

.actions-card {
  background-color: var(--dark-blue);
  color: var(--white);
  border: none;
}

.actions-card h3 {
  color: var(--white);
}

.actions-card .contact-card__icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact-actions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

/* Use styles from catalog for tg, phone, email, but we add vk */
.btn-vk {
  background-color: #0077FF; /* VK blue */
  color: var(--white);
}

.btn-vk:hover {
  background-color: #0066cc;
}

@media (min-width: 768px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actions-card {
    grid-column: span 2;
  }
  
  .contact-actions-list {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .contact-actions-list .btn-action {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .actions-card {
    grid-column: span 1;
  }
  
  .contact-actions-list {
    flex-direction: column;
  }
}


/* Map Section */
.map-section {
  padding: 60px 0;
  background-color: var(--white);
}

.map-title {
  color: var(--dark-blue) !important;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-container iframe {
  display: block;
}

/* Form Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--accent);
  text-decoration: underline;
}

.footer__bottom p {
  line-height: 1.8;
}

.footer__bottom a {
  text-decoration: underline;
}

/* Modal for Catalog */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-title {
  margin-bottom: 20px;
  color: var(--dark-blue);
  font-size: 1.5rem;
}

.toast {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Product Image in Catalog */
.product-image {
  height: 200px;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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