/* wa-theme.css — тема, сгенерированная для восстановленного сайта (deepseek/deepseek-v4-pro, попытка 3). */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fafaf6;
  background-image: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #d35400;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #3e2723;
  background-image: none;
  padding: 20px 0 10px;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.title-area {
  flex: 1 1 auto;
}
.site-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}
.site-title a {
  color: #f5deb3;
}
.site-title a:hover {
  text-decoration: none;
  color: #fff;
}
.header-widget-area {
  flex: 2 1 auto;
  text-align: right;
}

/* Navigation */
.nav-header {
  display: inline-block;
}
.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  background: none;
}
.menu li {
  position: relative;
  margin: 0;
  padding: 0;
}
.menu > li {
  margin-left: 4px;
}
.menu a {
  display: block;
  padding: 10px 14px;
  color: #f5deb3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.menu a:hover,
.menu li.current-menu-item > a,
.menu li.current-menu-item:hover > a {
  background: #d35400;
  color: #fff;
  text-decoration: none;
}
.menu li.current-menu-item > a {
  border-bottom: none;
  background: #d35400;
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
  border-radius: 0 0 4px 4px;
}
.sub-menu .menu-item {
  width: 100%;
}
.sub-menu a {
  color: #3e2723;
  padding: 8px 14px;
  background: none;
  font-size: 14px;
}
.sub-menu a:hover {
  background: #f5deb3;
  color: #3e2723;
}
.menu-item-has-children:hover > .sub-menu {
  display: block;
}
.menu-item-has-children > a:after {
  content: " ▾";
  font-size: 0.8em;
  vertical-align: middle;
}

/* Remove any unwanted inline background images */
.site-header,
.site-container,
.site-inner,
.widget-area,
.widget,
.textwidget,
.section,
footer,
body,
.home-top,
.home-middle {
  background-image: none !important;
}

/* Home top area */
.home-top {
  background: #f5f3eb;
  padding: 40px 0;
  border-bottom: 2px solid #e0d8c8;
}
.home-top .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

/* Fix raw HTML in text-16 widget */
#text-16 .textwidget {
  font-size: 0;
}
#text-16 .textwidget::before {
  content: "High Quality Laminate, LVT’s, Engineered & Hardwood Flooring In Surrey.\A Free Design Consultation and Fitting Services";
  white-space: pre-line;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  display: block;
  line-height: 1.4;
}

#media_image-2 {
  text-align: center;
  margin: 20px 0;
}
#media_image-2 img {
  display: inline-block;
  border-radius: 50%;
}

#text-2 {
  background: #d35400;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  flex: 1 1 300px;
}
#text-2 .textwidget {
  font-size: 18px;
  line-height: 1.6;
}
#text-2 a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/* Home middle */
.home-middle {
  padding: 50px 0;
  background: #fff;
}
.home-middle .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.home-middle .widget {
  flex: 1 1 250px;
  background: #fafaf6;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.home-middle .widget-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #3e2723;
  border-bottom: 2px solid #d35400;
  padding-bottom: 8px;
}

/* Content area for inner pages */
.site-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
}
.content-sidebar-wrap {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.content {
  flex: 1 1 700px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.gallery-item {
  flex: 1 1 200px;
  margin: 0;
}
.gallery-icon img {
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Forms (Contact Form 7) */
.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 15px;
}
.wpcf7-form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
}
.wpcf7-text {
  min-height: 42px;
}
textarea.wpcf7-form-control {
  min-height: 120px;
}
.wpcf7-submit {
  background: #d35400;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.wpcf7-submit:hover {
  background: #b44500;
}

/* Footer Widgets */
.footer-widgets {
  background: #3e2723;
  color: #f5deb3;
  padding: 40px 0 20px;
  background-image: none;
}
.footer-widgets .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-widget-area {
  flex: 1 1 250px;
}
.footer-widget-area .widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #d35400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-widget-area a {
  color: #f5deb3;
}
.footer-widget-area a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-widget-area .widget_search input[type="search"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background: #2b1e18;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
.site-footer a {
  color: #f5deb3;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .wrap {
    flex-direction: column;
    text-align: center;
  }
  .header-widget-area {
    text-align: center;
    width: 100%;
  }
  .menu {
    flex-direction: column;
    align-items: center;
  }
  .menu > li {
    margin-left: 0;
  }
  .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #f5deb3;
  }
  .menu-item-has-children:hover > .sub-menu {
    display: block;
  }
  .home-top .wrap {
    flex-direction: column;
  }
  #text-16 .textwidget::before {
    font-size: 18px;
  }
  .site-inner {
    padding: 20px;
  }
  .content-sidebar-wrap {
    flex-direction: column;
  }
  .home-middle .wrap {
    flex-direction: column;
  }
  .footer-widgets .wrap {
    flex-direction: column;
  }
}