/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 1). */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  overflow-x: hidden;
}
body, .Preview_body__2wDzb, .bodyBackground {
  font-family: Segoe UI, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3b2b1f;
  background-color: #f7f0e6;
  background-image: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #a3531c;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #6d2e0e;
}

/* Remove unwanted background images on containers */
div, header, footer, section, .StripPreview_backgroundComponent__3YmQM,
.Background_backgroundComponent__3_1Ea, .Preview_row__3Fkye, .Preview_componentWrapper__2i4QI,
.Preview_block__16Zmu, .MobileHeader_container__1XW3y, .mm, .mm-mobile-preview,
.template, .publishOnlyComponents {
  background-image: none !important;
}

/* Layout */
.template {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.Preview_row__3Fkye, .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.Preview_column__1KeVx, .col {
  flex: 1 1 auto;
  padding: 0 15px;
}
/* Cards / sections spacing */
.Preview_componentWrapper__2i4QI {
  margin-bottom: 30px;
}

/* Mobile header – override to look like a proper header */
.MobileHeader_container__1XW3y {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #5e2723, #8b3a30);
  color: #fff;
  padding: 12px 20px;
  min-height: 50px;
  z-index: 100;
}
.MobileHeader_title__1avp4, .MobileHeader_titleText__1M62s {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f3d39e;
  text-transform: uppercase;
}
.MobileHeader_dummyMenuIconContainer__3mfi4 {
  width: 40px;
}
.MobileHeader_menuIconContainer__lc-Zq {
  cursor: pointer;
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.MobileHeader_menuIconContainer__lc-Zq span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
/* Mobile menu drawer */
.mm-mobile-preview {
  position: relative;
}
.MobileHeaderMenu_mobileMenu__21p7v {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #3e1e18;
  display: none;
  z-index: 99;
  padding: 10px 0;
}
.MobileHeaderMenu_mobileMenu__21p7v.show { /* we can't add class, but we'll show on toggling via JS? Not our job, but we can set to block maybe? Better not force show, as JS handles it. Keep original hidden, but ensure style doesn't hide content. We'll set display: block; if the menu should always be visible on desktop? No, the mobile menu is hidden by default. We'll leave it hidden as the native script toggles it. So we'll keep it as is, but style it when visible (if script adds a class). We'll style just in case. */
}
.MobileHeaderMenu_mobileMenu__21p7v li {
  list-style: none;
}
.MobileHeaderMenu_mobileMenu__21p7v a {
  color: #f3d39e;
  padding: 12px 25px;
  display: block;
  font-size: 1.1rem;
  border-bottom: 1px solid #5a3e37;
}
.MobileHeaderMenu_mobileMenu__21p7v a:hover,
.MobileHeaderMenu_mobileMenu__21p7v a.MobileHeaderMenu_current__2Nelz {
  background: #6e3b30;
  color: #fff;
}
/* Overlay */
#mm-overlay, .MobileHeaderMenu_mobileMenu_overlay__3WPnz {
  display: none;
}

/* Main desktop header (in template row) */
#Header, #Header\.. {
  background: linear-gradient(145deg, #a06030, #7b3a1e);
  color: #fff;
  padding: 0;
  margin-bottom: 0;
}
#Header .StripPreview_backgroundComponent__3YmQM {
  background: transparent !important;
}
#Header .Preview_column__1KeVx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 30px;
}
/* Site title – h1 inside header */
#Header h1, #Header .textheading1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.5rem;
  color: #f9e8c8;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
#Header h1 small, #Header .textheading1 small {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
}

/* Navigation – general styles */
ul.menu, ul.menuhorizontal, ul.level-0, .menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
ul.menu li, .menuhorizontal li {
  position: relative;
  list-style: none;
}
ul.menu > li > a, .menuhorizontal > li > a {
  display: block;
  padding: 12px 18px;
  color: #f9e8c8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
}
ul.menu > li > a:hover, .menuhorizontal > li > a:hover,
ul.menu > li.selected > a, .menuhorizontal > li.selected > a {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
/* Remove underlines in nav */
ul.menu a, .menuhorizontal a {
  text-decoration: none;
}
/* Multi-level dropdowns */
ul.menu ul, .menuhorizontal ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #f7f0e6;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 50;
  border-radius: 4px;
}
ul.menu li:hover > ul, .menuhorizontal li:hover > ul {
  display: block;
}
ul.menu ul li, .menuhorizontal ul li {
  display: block;
}
ul.menu ul a, .menuhorizontal ul a {
  padding: 10px 20px;
  color: #3b2b1f;
  display: block;
  font-size: 0.95rem;
  border-bottom: 1px solid #ddd;
}
ul.menu ul a:hover, .menuhorizontal ul a:hover {
  background: #e6d5c0;
}
/* Adjust sub-sub menus */
ul.menu ul ul, .menuhorizontal ul ul {
  left: 100%;
  top: 0;
}
/* Hide items with class menuhidden by default (maybe for mobile) */
.menuhidden {
  display: none !important;
}
/* Right-aligned menus */
.menuhorizontalright {
  margin-left: auto;
}
/* Selected state */
.selected > a {
  background: rgba(255,255,255,0.2);
}

/* Content styles: headings, paragraphs, spacing */
.textheading1, h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #4a2c22;
}
h1, .textheading1 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
p, .textnormal, .styles_text__3jGMu {
  margin-bottom: 1.3em;
}
.styles_contentContainer__lrPIa {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
/* Ensure images inside content have spacing */
.styles_contentContainer__lrPIa img,
.Image_imageComponent__2bb7A img {
  margin: 15px 0;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.img-wrapper {
  margin: 10px 0;
}
/* Gallery cells */
.Gallery_galleryCell__2ARa3, .gallery-cell {
  display: inline-block;
  vertical-align: top;
  margin: 10px;
  max-width: 100%;
}
.Gallery_galleryCell__2ARa3 img, .gallery-cell img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Footer */
#Footer, #Footer\.. {
  background: linear-gradient(145deg, #5e2723, #3b1713);
  color: #e6cba0;
  padding: 30px 0;
  margin-top: 40px;
}
#Footer .Preview_column__1KeVx {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
#Footer a {
  color: #f0c48a;
  text-decoration: none;
  font-weight: 600;
}
#Footer a:hover {
  color: #fff;
  text-decoration: underline;
}
#Footer ul {
  list-style: none;
  padding: 0;
}
#Footer ul li {
  display: inline-block;
  margin-right: 20px;
}
#Footer ul li a {
  font-size: 0.9rem;
}
/* Social icons placeholder styling (no actual icons) */
.social-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  margin: 0 5px;
  text-align: center;
  line-height: 32px;
  color: #fff;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
th {
  background-color: #b37b50;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}
tr:nth-child(even) td {
  background-color: #fdf7f0;
}
tr:hover td {
  background-color: #f5e6d8;
}

/* Forms & buttons */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: #a3531c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(163,83,28,0.2);
}
button, .button, input[type="submit"] {
  background: #8b3a30;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover, .button:hover, input[type="submit"]:hover {
  background: #5e2723;
}

/* Utility classes */
.text-align-null {
  text-align: left;
}
.divider {
  border-top: 2px solid #d2b48c;
  margin: 30px 0;
}
.Preview_mobileHide__9T929 {
  display: block; /* ensure shown on desktop */
}
.mobile-undersized-upper {
  /* ignore */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .template {
    padding: 0 10px;
  }
  .Preview_row__3Fkye, .row {
    flex-direction: column;
    margin: 0;
  }
  .Preview_column__1KeVx, .col {
    padding: 0;
    margin-bottom: 20px;
  }
  #Header .Preview_column__1KeVx {
    flex-direction: column;
    align-items: center;
  }
  #Header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  ul.menu, .menuhorizontal {
    flex-direction: column;
    width: 100%;
  }
  ul.menu li, .menuhorizontal li {
    margin: 0;
  }
  ul.menu > li > a, .menuhorizontal > li > a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  ul.menu ul, .menuhorizontal ul {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
  }
  ul.menu li:hover > ul, .menuhorizontal li:hover > ul {
    display: block;
  }
  .MobileHeader_container__1XW3y {
    justify-content: center;
  }
  .MobileHeader_title__1avp4 {
    font-size: 1.2rem;
  }
  .Gallery_galleryCell__2ARa3, .gallery-cell {
    margin: 5px;
    width: 100%;
  }
  #Footer .Preview_column__1KeVx {
    flex-direction: column;
    text-align: center;
  }
  #Footer ul li {
    display: block;
    margin: 5px 0;
  }
  .Preview_mobileHide__9T929 {
    display: block !important;
  }
}
/* Fix potential overflow due to old framework */
.Preview_component__SbiKo, .Preview_block__16Zmu, .StripPreview_backgroundComponent__3YmQM,
.BackgroundPreview_bgHeight__3dD2e, .hasChildren {
  max-width: 100%;
  overflow-wrap: break-word;
}
/* Ensure no static positioned overlays that hide content */
.MobileHeaderMenu_mobileMenu__21p7v, .mm-overlay {
  position: static;
  width: auto;
}

/* Override any fixed positioning that may cause clipping */
.mm-mobile-preview {
  position: static;
}
.MobileHeader_menuIconContainer__lc-Zq {
  position: relative;
}