/* --- mibrittin.css --- */
/* Donor-based configuration overrides for Made in Brittin */
@font-face {
  font-family: 'Brittany Signature';
  src: url('/assets/brand/fonts/BrittanySignature.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.top-navbar .header-logo img,
.menu-toggle-logo-close-icon .header-logo img {
  width: 132px !important;
  max-width: 132px !important;
  height: 132px !important;
  object-fit: contain;
}

.top-navbar {
  padding: 15px 50px !important;
}

.top-navbar .header-logo {
  display: inline-flex;
  align-items: center;
}

.top-navbar .menu > li > a,
.mobile-nav .menu > li > a {
  font-size: 24px !important;
  line-height: 32px !important;
  white-space: nowrap;
}

footer .footer-social-icons {
  margin-right: 0;
}

footer img.footer-logo,
footer .footer-logo img {
  width: 270px;
  height: 270px;
  object-fit: contain;
}

footer .contact-us-quick-links-container {
  max-width: calc(100% - 440px);
  width: 100%;
}

footer .footer-contact-us-container {
  max-width: 300px;
  width: 100%;
}

footer .footer-newsletter-container {
  max-width: 410px;
  width: 100%;
}

.footer-script-tagline {
  font-family: 'Brittany Signature', 'Segoe Print', 'Bradley Hand', cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  text-wrap: balance;
}

.footer-top-left-container h2 {
  font-size: 44px;
}

.home-page .hero-1-section {
  margin-top: 200px;
  --mib-hero-overlay-strong: 0.4;
  --mib-hero-overlay-soft: 0.02;
  background-color: rgba(54, 39, 22, 1);
}

@media screen and (min-width: 768px) {
  .home-page .hero-1-section {
    --mib-hero-bg-size: cover;
    --mib-hero-bg-position: center center;
    --mib-hero-overlay-strong: 0.4;
    --mib-hero-overlay-soft: 0.02;
  }
}

.home-page .hero-1-container {
  position: relative;
  overflow: hidden;
  background-image: none !important;
}

.home-page .hero-1-container::after {
  content: none;
}

.home-page .hero1-slider-wrapper {
  position: relative;
  z-index: 1;
}

.home-page .hero-brand-kicker {
  display: flex !important;
  margin: 12px 0 30px;
  overflow: visible;
}

.home-page .hero-brand-kicker-mobile {
  display: none !important;
}

.home-page .hero-brand-kicker-inner {
  display: inline-block;
  color: #fff;
  font-family: 'Brittany Signature', 'Segoe Print', 'Bradley Hand', cursive;
  font-size: clamp(34px, 8.8vw, 52px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.005em;
  text-transform: none;
  padding-top: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.home-page .hero1-customers-container {
  margin-bottom: 20px;
}

@media screen and (max-width: 1199px) {
  .home-page .projects-container-main {
    margin-right: -80px;
  }
}

@media screen and (max-width: 991px) {
  .home-page .projects-container-main {
    margin-right: -36px;
  }

  .home-page .projects-autoplay .slick-list {
    margin: 0 -12px;
  }

  .home-page .projects-autoplay .slick-slide {
    padding: 0 12px;
  }

  .home-page .our-projects-img {
    height: clamp(280px, 52vw, 390px);
  }
}

.home-page .projects-container-main {
  margin-right: -220px;
}

.home-page .projects-autoplay .slick-list {
  overflow: visible;
  margin: 0 -16px;
}

.home-page .projects-autoplay .slick-slide {
  margin: 0;
  padding: 0 16px;
  box-sizing: border-box;
}

.home-page .projects-autoplay .slick-track {
  display: flex;
}

.home-page .projects-card {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
}

.home-page .our-projects-img {
  height: clamp(320px, 37vw, 500px);
}

.home-page .projects-card-content-container {
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mib-watermark-frame {
  position: relative;
  isolation: isolate;
}

.mib-watermark-frame::after {
  content: "Made In Brittin";
  position: absolute;
  right: clamp(14px, 2.2vw, 24px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Brittany Signature', 'Segoe Print', 'Bradley Hand', cursive;
  font-size: clamp(14px, 2vw, 23px);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.mib-watermark-frame--main::after {
  right: clamp(18px, 2.4vw, 28px);
  bottom: clamp(18px, 2.4vw, 28px);
  font-size: clamp(18px, 2.5vw, 29px);
}

.mib-fancybox-watermark {
  position: relative;
}

.mib-fancybox-watermark::after {
  content: "Made In Brittin";
  position: absolute;
  right: clamp(20px, 2.6vw, 34px);
  bottom: clamp(18px, 2.6vw, 32px);
  z-index: 5;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.34);
  font-family: 'Brittany Signature', 'Segoe Print', 'Bradley Hand', cursive;
  font-size: clamp(20px, 3.2vw, 36px);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
}

.mib-accent-script {
  display: block;
  color: rgba(200, 154, 75, 0.96);
  font-family: 'Brittany Signature', 'Segoe Print', 'Bradley Hand', cursive;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: none;
}

.mib-accent-script--hero {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.mib-accent-script--section {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
}

/* Desktop hero: slightly reduce block height so cover-crop looks less zoomed */
.home-page .hero-1-container {
  padding: 48px 0 48px 100px;
}

.home-page .hero-1-container h1 {
  padding-top: 24px;
  font-size: 70px;
  line-height: 86px;
}

.home-page .hero-1-container .hero-1-para {
  padding: 12px 0 24px 0;
}

.common-section {
  margin-top: 200px;
  position: relative;
  overflow: hidden;
}

.common-wrapper > p {
  max-width: 980px;
  font-size: 20px;
  line-height: 32px;
  opacity: 0.95;
  padding-top: 16px;
}

.contact-box-container .contact-box {
  text-decoration: none;
}

.mib-cta-top {
  padding-top: 30px;
}

.mib-cta-top-lg {
  padding-top: 40px;
}

.mib-cta-phone {
  padding-top: 20px;
}

.mib-btn-reset {
  border: 0;
  background: transparent;
}

/* Home about image sizing */
.home-page .about-us-left-image-container > img:first-child {
  width: 304px;
  height: 460px;
  object-fit: cover;
}

.home-page .about-us-img-text-circle > img:first-child {
  width: 296px;
  height: 200px;
  object-fit: cover;
}

.home-page .about-us-section .circular-text-main {
  background: rgba(234, 229, 224, 1);
}

.home-page .about-us-section .about-circle-logo {
  width: 94px;
  height: 94px;
  object-fit: contain;
  display: block;
  animation: rotateText 12s linear infinite;
  transform-origin: center center;
}

.home-page .about-us-section .circular-text-main:hover .about-circle-logo {
  animation-play-state: paused;
}

.home-page .counter-grid-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.page-project .eg-legacy-project-section {
  display: none;
}

.page-project .single-project1-card-left-container {
  max-width: 740px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.page-project .single-project1-main-link {
  display: block;
  width: 100%;
  aspect-ratio: 1290 / 720;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(228, 223, 218, 1);
}

.page-project .single-project1-card-left-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.page-project .single-project1-card-left-container:hover img,
.page-project .single-project1-main-link:hover img {
  transform: none !important;
  filter: none !important;
}

.page-project .single-project1-thumbs {
  margin-top: 14px;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.page-project .single-project1-thumb {
  width: 104px;
  min-width: 104px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.88;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.page-project .single-project1-thumb:hover,
.page-project .single-project1-thumb:focus-visible,
.page-project .single-project1-thumb.is-active {
  border-color: rgba(197, 133, 58, 1);
  opacity: 1;
}

.page-project .single-project1-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-project .single-project1-card-right-container .read-more-details-btn {
  text-decoration: none;
}

.page-project .single-project1-card-left-container .project-request-quote-btn {
  margin-top: 24px;
  align-self: flex-start;
}

.page-project .single-project1-card-left-container .project-gallery-description {
  padding: 20px 0 0;
}

.page-project .single-project1-card-right-container .project-information-container {
  margin-top: 10px;
}

.page-project .single-project1-card-right-container .single-project-prev-next-container {
  margin-top: 30px;
  width: 100%;
  justify-content: space-between !important;
  gap: 0;
}

.page-project .single-project1-card-right-container .single-project-prev-container,
.page-project .single-project1-card-right-container .single-project-next-container {
  width: auto;
}

.page-project .single-project1-card-right-container .single-project-details {
  gap: 16px;
}

.page-project .single-project1-card-right-container .single-project-details p {
  color: rgba(131, 107, 85, 1);
}

.page-project .single-project1-card-right-container .single-project-details span {
  text-align: right;
}

.page-project .project-supporting-section {
  padding: 14px 0 82px;
}

.page-project .project-supporting-section .default-two-column {
  padding: 0;
}

.page-project .project-supporting-section .row {
  row-gap: 28px;
}

.page-project .project-supporting-section .eg-content > h2,
.page-project .project-supporting-section .eg-content > h3,
.page-project .project-detail-card h3 {
  margin: 0 0 18px;
  color: rgba(50, 37, 27, 1);
  font-size: 28px;
  line-height: 1.14;
  font-weight: 700;
  text-transform: none;
}

.page-project .project-supporting-section .eg-content,
.page-project .project-detail-card {
  height: 100%;
}

.page-project .project-service-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 24px 30px;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(226, 216, 204, 1);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(54, 40, 27, 0.07);
}

.page-project .project-service-summary span {
  color: rgba(131, 107, 85, 1);
  font-size: 15px;
  font-weight: 700;
}

.page-project .project-service-summary strong {
  color: rgba(35, 35, 35, 1);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.page-project .project-overview-media-row {
  align-items: center;
}

.page-project .project-overview-copy {
  max-width: 760px;
}

.page-project .project-overview-copy h2 {
  margin: 0 0 18px;
  color: rgba(50, 37, 27, 1);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: none;
}

.page-project .project-overview-copy p {
  margin: 0 0 18px;
  color: rgba(35, 35, 35, 1);
  font-size: 18px;
  line-height: 1.72;
}

.page-project .project-overview-copy p:last-child {
  margin-bottom: 0;
}

.page-project .project-detail-card {
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(226, 216, 204, 1);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(54, 40, 27, 0.08);
}

.page-project .project-detail-card {
  padding: 28px 30px;
}

.page-project .project-detail-card ul,
.page-project .project-supporting-section .text ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-project .project-detail-card li,
.page-project .project-supporting-section .text li {
  position: relative;
  padding-left: 20px;
  color: rgba(35, 35, 35, 1);
  font-size: 16px;
  line-height: 1.55;
}

.page-project .project-detail-card li::before,
.page-project .project-supporting-section .text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(197, 133, 58, 1);
}

.page-project .project-supporting-section .text p {
  margin: 0;
  color: rgba(35, 35, 35, 1);
  font-size: 17px;
  line-height: 1.65;
}

.page-project .eg-before-after-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-project .eg-ba-slider {
  --ba-pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 680 / 380;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(228, 223, 218, 1);
  box-shadow: 0 18px 38px rgba(54, 40, 27, 0.11);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.page-project .eg-ba-before,
.page-project .eg-ba-after {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.page-project .eg-ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--ba-pos));
  -webkit-clip-path: inset(0 0 0 var(--ba-pos));
  pointer-events: none;
}

.page-project .eg-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
}

.page-project .eg-ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 0 0 1px rgba(54, 40, 27, 0.14), 0 12px 28px rgba(54, 40, 27, 0.22);
  transform: translateX(-50%);
}

.page-project .eg-ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid rgba(255, 250, 243, 0.96);
  background: rgba(50, 37, 27, 0.94);
  box-shadow: 0 12px 28px rgba(54, 40, 27, 0.24);
  transform: translate(-50%, -50%);
}

.page-project .eg-ba-slider::before,
.page-project .eg-ba-slider::after {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(50, 37, 27, 0.84);
  color: rgba(255, 250, 243, 1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.page-project .eg-ba-slider::before {
  content: "Before";
  left: 14px;
}

.page-project .eg-ba-slider::after {
  content: "After";
  right: 14px;
}

.page-project .eg-ba-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  color: rgba(131, 107, 85, 1);
  font-size: 14px;
  font-weight: 700;
}

.page-project .project-detail-card-row {
  padding-top: 34px;
}

.page-project .project-navigation-row {
  padding-top: 44px;
}

.page-project .project-navigation-row .project-nav-links {
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 0;
  gap: 0;
}

.page-project .project-navigation-row .project-nav-item {
  flex: 1 1 0;
  min-width: 0;
}

.page-project .project-navigation-row .project-nav-item.is-empty {
  visibility: hidden;
}

.page-project .project-navigation-row .project-nav-item a {
  display: inline-flex !important;
  gap: 16px;
  max-width: 100%;
  color: rgba(50, 37, 27, 1);
}

.page-project .project-navigation-row .project-nav-item--next {
  display: flex;
  justify-content: flex-end;
}

.page-project .project-navigation-row .project-nav-item--next a {
  justify-content: flex-end;
}

.page-project .project-navigation-row .project-nav-item p {
  color: rgba(50, 37, 27, 1);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.page-project .project-navigation-row .project-nav-divider {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0 34px;
  border-radius: 999px;
  background: rgba(197, 133, 58, 1);
}

.page-project .project-navigation-row .single-project-arrow-box {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.page-project .eg-ba-slider.is-dragging .eg-ba-handle::after,
.page-project .eg-ba-handle:focus-visible::after {
  background: rgba(197, 133, 58, 1);
}

@media screen and (max-width: 767.98px) {
  .page-project .project-supporting-section {
    padding-bottom: 58px;
  }

  .page-project .project-supporting-section .eg-content > h2,
  .page-project .project-supporting-section .eg-content > h3,
  .page-project .project-detail-card h3,
  .page-project .project-overview-copy h2 {
    font-size: 24px;
  }

  .page-project .project-service-summary,
  .page-project .project-detail-card {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .page-project .project-overview-copy p {
    font-size: 16px;
    line-height: 1.68;
  }

  .page-project .eg-ba-slider {
    border-radius: 18px;
  }

  .page-project .project-navigation-row .single-project-prev-next-container {
    align-items: center !important;
    flex-direction: row;
    min-height: 54px;
  }

  .page-project .project-navigation-row .project-nav-item a {
    gap: 10px;
  }

  .page-project .project-navigation-row .project-nav-item p {
    font-size: 0;
    line-height: 0;
  }

  .page-project .project-navigation-row .project-nav-divider {
    width: 7px;
    height: 7px;
    margin: 0 18px;
  }

  .page-project .project-navigation-row .single-project-arrow-box {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .page-project .eg-ba-handle {
    width: 38px;
  }

  .page-project .eg-ba-handle::after {
    width: 40px;
    height: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .home-page .why-choose-us-container {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 40px;
  }

  .home-page .why-choose-us-content-container {
    max-width: 680px;
  }

  .home-page .why-choose-us-left-images,
  .home-page .why-choose-us-left-image-container {
    width: 420px;
  }

  .home-page .why-choose-us-left-image-container img {
    width: 420px;
    height: 500px;
    object-fit: cover;
  }
}

.page-contact .contact-page-section {
  padding: 80px 0 60px;
}

.page-contact .contact-box-container {
  gap: 40px;
}

.page-contact .lets-send-now-btn {
  margin-top: 24px;
}

.page-service .custom-carpentry-container {
  gap: 40px;
}

.page-service .custom-carpentry-menu .custom-carpentry-li a p {
  font-size: 16px;
  line-height: 22px;
}

.page-service .lets-start-work-content-container > a img {
  width: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.page-project .project-bottom-services .custom-carpentry-container {
  gap: 40px;
  align-items: flex-start;
}

.page-project .project-bottom-services .custom-carpentry-left-container {
  max-width: none;
  flex: 1 1 auto;
}

.page-project .project-bottom-services .custom-carpentry-right-container {
  max-width: 410px;
  flex: 0 0 410px;
}

.page-project .project-bottom-services .lets-start-work-content-container > a img {
  width: 120px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.page-project .project-bottom-services .project-start-quote-btn {
  margin-top: 24px;
}

.page-project .project-core-services-btn {
  margin-top: 30px;
}

@media screen and (max-width: 1199px) {
  .page-project .project-bottom-services .custom-carpentry-right-container {
    max-width: none;
    flex: 1 1 auto;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .page-project .single-project1-card-left-container .project-request-quote-btn {
    align-self: flex-start;
  }

  .page-project .single-project1-card-right-container .single-project-details {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  .page-project .single-project1-card-right-container .single-project-details span {
    text-align: left;
  }

  .page-project .single-project1-card-right-container .single-project-prev-next-container {
    justify-content: flex-start !important;
    gap: 14px;
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* Service icons: visual normalization for donor look */
.home-page .services-grid-icon-container,
.page-services .crafted-once-icon,
.page-about .crafted-once-icon,
.page-service .custom-carpentry-icon-container {
  border-radius: 10px;
}

.home-page .services-grid-icon-container img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.page-services .crafted-once-icon img,
.page-about .crafted-once-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.page-service .custom-carpentry-icon-container img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

/* Consistent vertical rhythm between major sections */
.page-about .about-section,
.page-about .about-counter-section,
.page-about .why-choose-us-section,
.page-about .crafted-once-section,
.page-about .our-projects,
.page-services .services-page-section,
.page-services .services-grid-section,
.page-services .crafted-once-section,
.page-services .our-process-section,
.page-services .our-projects {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.page-services .crafted-once-section {
  padding-top: 0 !important;
}

.page-about .about-section + .about-counter-section,
.page-about .about-counter-section + .why-choose-us-section,
.page-about .why-choose-us-section + .crafted-once-section,
.page-about .crafted-once-section + .our-projects,
.page-services .services-page-section + .services-grid-section,
.page-services .services-grid-section + .crafted-once-section,
.page-services .crafted-once-section + .our-process-section,
.page-services .our-process-section + .our-projects {
  margin-top: 92px !important;
}

/* About page: keep main portrait image aligned and stable */
.page-about .about-us-left-image-container {
  width: 370px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.page-about .about-us-left-image-container > img:first-child {
  width: 370px;
  max-width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.page-about .about-img-person {
  display: none;
}

/* Services page cards: donor-like uniform cards with dynamic dividers */
.page-services .crafted-once-box,
.page-about .crafted-once-box {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.page-services .crafted-once-content,
.page-about .crafted-once-content {
  flex: 1 1 auto;
}

.page-services .crafted-once-box .read-more-btn,
.page-about .crafted-once-box .read-more-btn {
  margin-top: auto;
}

.page-services .crafted-once-box::before,
.page-services .crafted-once-box::after,
.page-about .crafted-once-box::before,
.page-about .crafted-once-box::after {
  content: none;
}

.page-services .crafted-once-box.has-divider-right::after,
.page-services .crafted-once-box.has-divider-bottom::before,
.page-about .crafted-once-box.has-divider-right::after,
.page-about .crafted-once-box.has-divider-bottom::before {
  content: '';
  position: absolute;
  transform: translate(-50%, -50%);
  background-color: rgba(234, 229, 224, 1);
}

.page-services .crafted-once-box.has-divider-right::after,
.page-about .crafted-once-box.has-divider-right::after {
  width: 2px;
  height: calc(100% - 80px);
  right: -20px;
  top: 50%;
}

.page-services .crafted-once-box.has-divider-bottom::before,
.page-about .crafted-once-box.has-divider-bottom::before {
  width: calc(100% - 80px);
  height: 2px;
  left: 50%;
  bottom: -20px;
}

.page-areas .contact-page-section {
  padding: 80px 0;
}

.page-areas .contact-box-container {
  gap: 30px;
  padding-top: 30px;
}

.page-areas .contact-box {
  max-width: 100%;
  border: 2px solid rgba(234, 229, 224, 1);
  border-radius: 20px;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.55);
}

.page-areas .contact-text {
  padding: 16px 0 10px;
  font-size: 22px;
  line-height: 30px;
}

.page-areas .contact-mail-call {
  line-height: 26px;
}

/* About page: spacing tune requested */
.page-about .about-section {
  padding-top: 34px;
}

.page-about .about-box-container {
  margin-top: 30px;
}

.page-about .why-choose-us-section + .crafted-once-section {
  margin-top: 0 !important;
}

.page-about .crafted-once-section .text-center > .get-free-quote-btn,
.page-about .crafted-once-section .text-center > .desktop-get-free-quote-btn {
  margin-top: 30px;
}

/* Home page: keep clear breathing room before Let’s work together */
.home-page .our-projects + .contact-section {
  margin-top: 30px;
}

/* Service page: FAQ + related services + sticky sidebar */
.page-service .custom-carpentry-right-container {
  gap: 28px;
  position: static;
  top: auto;
  align-self: stretch;
}

.page-service .faq-wrapper2 {
  padding-top: 24px;
}

.page-service .accordion-item2 + .accordion-item2 {
  margin-top: 12px;
}

.page-service .accordion-item2 .accordion-button {
  line-height: 30px;
}

.page-service .service-related-quote-card {
  background: rgba(234, 229, 224, 1);
  border: 0;
}

.page-service .service-related-quote-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.page-service .service-related-quote-card .faqs-right-content-container {
  padding: 26px;
}

.page-service .service-related-quote-card .faqs-right-content-container h2 {
  font-size: 30px;
  line-height: 42px;
}

.page-service .service-related-quote-card .custom-carpentry-list {
  gap: 10px;
  margin-top: 12px !important;
}

.page-service .service-related-quote-card .custom-carpentry-list li p a {
  color: rgba(34, 34, 34, 1);
}

.page-service .service-related-quote-card .custom-carpentry-list li p a:hover {
  color: rgba(197, 133, 58, 1);
}

.page-service .service-related-btn {
  min-width: 220px;
  margin-top: 22px;
}

.page-service .mib-sticky-work {
  position: sticky;
  top: 140px;
  align-self: flex-start;
  width: 100%;
  z-index: 2;
}

/* Wide desktop home contact block should stay in desktop layout */
@media screen and (min-width: 1280px) and (min-height: 760px) {
  .home-page .contact-container {
    margin: 0 100px;
    padding: 100px 0;
  }

  .home-page .contact-wrapper {
    min-height: 640px;
    align-items: center !important;
  }

  .home-page .contact-left-wrapper {
    margin-left: 110px;
    max-width: 520px;
  }

  .home-page .contact-right-wrapper {
    position: absolute !important;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    max-width: 630px;
    width: 100%;
    padding: 60px;
  }

  .home-page .contact-img1,
  .home-page .contact-img2,
  .home-page .contact-img3 {
    display: block !important;
  }
}

.common-section-links-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .home-page .hero-1-section {
    --mib-hero-bg-size: auto 100%;
    --mib-hero-bg-position: center center;
  }
}

@media screen and (max-width: 1399px) {
  .home-page .hero-1-section {
    --mib-hero-bg-size: auto 100%;
    --mib-hero-bg-position: center center;
  }

  .home-page .hero-1-section {
    margin-top: 224px;
  }

  .common-section {
    margin-top: 224px;
  }

  .top-navbar .menu > li > a {
    font-size: 22px !important;
    line-height: 30px !important;
  }
}

@media screen and (max-width: 1199px) {
  footer .contact-us-quick-links-container {
    max-width: 100%;
  }

  .top-navbar {
    padding: 6px 12px !important;
  }

  .top-navbar .menu > li > a,
  .mobile-nav .menu > li > a {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .page-areas .contact-box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .home-page .hero-1-section {
    --mib-hero-bg-size: auto 100%;
    --mib-hero-bg-position: center center;
    --mib-hero-overlay-strong: 0.48;
    --mib-hero-overlay-soft: 0.04;
  }

  .home-page .hero-1-container {
    padding: 60px 0 60px 64px;
  }

  .home-page .hero-1-container h1 {
    padding-top: 34px;
  }

  .home-page .hero-1-container .hero-1-para {
    padding: 12px 0 28px 0;
  }

  .home-page .services-grid-icon-container img {
    width: 48px;
    height: 48px;
  }

  .home-page .counter-grid-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }

  .page-project .single-project1-card-left-container {
    max-width: 100%;
  }

  .page-project .single-project1-main-link {
    aspect-ratio: 16 / 10;
  }

  .page-project .single-project1-thumb {
    width: 92px;
    min-width: 92px;
  }

  .page-services .crafted-once-icon img,
  .page-about .crafted-once-icon img,
  .page-service .custom-carpentry-icon-container img {
    width: 50px;
    height: 50px;
  }

  .page-about .about-section + .about-counter-section,
  .page-about .about-counter-section + .why-choose-us-section,
  .page-about .crafted-once-section + .our-projects,
  .page-services .services-page-section + .services-grid-section,
  .page-services .services-grid-section + .crafted-once-section,
  .page-services .crafted-once-section + .our-process-section,
  .page-services .our-process-section + .our-projects {
    margin-top: 68px !important;
  }

  .page-about .about-us-left-image-container {
    width: 100%;
  }

  .page-about .about-us-left-image-container > img:first-child {
    width: 100%;
    height: auto;
    aspect-ratio: 370 / 560;
  }

  .page-services .crafted-once-box,
  .page-about .crafted-once-box {
    min-height: auto;
  }

  .page-services .crafted-once-box::before,
  .page-services .crafted-once-box::after,
  .page-about .crafted-once-box::before,
  .page-about .crafted-once-box::after {
    content: none !important;
  }

  .page-service .custom-carpentry-right-container {
    position: static;
    top: auto;
  }

  .page-service .mib-sticky-work {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  .common-section-links-row {
    position: static;
  }

  .footer-top-left-container h2 {
    font-size: 34px;
    line-height: 58px;
  }

  .top-navbar .header-logo img,
  .menu-toggle-logo-close-icon .header-logo img {
    width: 112px !important;
    max-width: 112px !important;
    height: 112px !important;
  }

  .home-page .hero1-customers-container {
    display: none !important;
  }

  .home-page .projects-container-main {
    margin-right: 0;
  }

  .home-page .projects-autoplay .slick-list {
    margin: 0 -8px;
    padding-right: 22px;
  }

  .home-page .projects-autoplay .slick-slide {
    padding: 0 8px;
  }

  .home-page .our-projects-img {
    height: clamp(260px, 74vw, 360px);
  }

  .home-page .hero-1-section {
    margin-top: 158px;
    --mib-hero-image-height: calc((100vw - 30px) * 0.4167);
    --mib-hero-bg-size: 100% auto;
    --mib-hero-bg-position: top center;
    --mib-hero-overlay-strong: 0.2;
    --mib-hero-overlay-soft: 0.02;
    background-color: rgba(32, 23, 12, 1);
  }

  .home-page .hero-1-container {
    position: relative;
    padding: calc(var(--mib-hero-image-height) + 12px) 0 43px 24px;
  }

  .home-page .hero1-slider-wrapper {
    position: relative;
  }

  .home-page .hero-1-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--mib-hero-image-height) - 2px);
    bottom: 0;
    background: url("/assets/images/hero/hero1-overlay.png") no-repeat center top / 100% 100%;
    pointer-events: none;
    z-index: 0;
  }

  .home-page .hero1-slider-wrapper .hero-brand-kicker {
    display: none !important;
  }

  .home-page .hero-brand-kicker-mobile {
    display: flex !important;
    position: absolute;
    top: 18px;
    left: 52px;
    right: auto;
    z-index: 2;
    justify-content: flex-start !important;
    pointer-events: none;
  }

  .home-page .hero-brand-kicker-inner {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.1;
    padding-top: 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.36);
  }

  .home-page .hero-1-container h1 {
    font-size: 45px;
    line-height: 46px;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  }

  .home-page .about-us-right-container .about-us-para1 {
    padding-top: 23px;
  }

  .home-page .need-help-now-btn-container {
    width: 280px;
    height: 60px;
    gap: 10px;
    padding-left: 2px;
    border-radius: 32px;
  }

  .home-page .need-help-now-btn a {
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }


  .home-page .counter-grid-container {
    grid-template-columns: 1fr;
  }

  .page-project .single-project1-main-link {
    aspect-ratio: 16 / 11;
    border-radius: 20px;
  }

  .page-project .single-project1-thumbs {
    gap: 8px;
  }

  .page-project .single-project1-thumb {
    width: 78px;
    min-width: 78px;
    border-radius: 10px;
  }

  .common-wrapper > p {
    font-size: 16px;
    line-height: 26px;
    padding-top: 12px;
  }

  .page-contact .contact-page-section,
  .page-areas .contact-page-section {
    padding: 60px 0 40px;
  }

  .page-contact .contact-box-container,
  .page-areas .contact-box-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-contact .contact-text,
  .page-areas .contact-text {
    font-size: 20px;
    line-height: 28px;
    padding: 14px 0 8px;
  }

  .page-contact .contact-right-wrapper {
    padding: 20px 12px;
  }

  .page-contact .contact-right-wrapper form h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .page-contact .contact-right-wrapper form p {
    font-size: 16px;
    line-height: 24px;
    padding: 8px 0 16px;
  }

  .page-contact .map-wrapper {
    overflow: hidden;
    border-radius: 28px !important;
  }

  .page-contact .google-maiframep {
    margin-top: 0;
    min-height: 320px;
  }

  .page-contact .contact-input-field {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 12px;
  }

  .home-page .services-grid-icon-container img {
    width: 44px;
    height: 44px;
  }

  .page-services .crafted-once-icon img,
  .page-about .crafted-once-icon img,
  .page-service .custom-carpentry-icon-container img {
    width: 46px;
    height: 46px;
  }

  .page-contact .textarea-input-field {
    height: 140px;
  }

  .page-service .custom-carpentry-left-container .custom-carpentry-h2 {
    font-size: 30px;
    line-height: 38px;
    padding: 40px 0 16px;
  }

  .page-service .custom-carpentry-para1,
  .page-service .custom-carpentry-para2,
  .page-service .custom-carpentry-list li p {
    font-size: 16px;
    line-height: 24px;
  }

  .page-service .explore-our-services-text {
    font-size: 22px;
    line-height: 30px;
  }

  .page-service .lets-start-work-para1 {
    font-size: 28px;
    line-height: 36px;
  }

  .page-service .lets-start-work-number {
    font-size: 28px;
    line-height: 36px;
  }

  .page-service .custom-carpentry-right-container {
    position: static;
    top: auto;
  }

  .page-service .mib-sticky-work {
    position: static;
  }

  .page-service .explore-our-services-container,
  .page-service .why-choose-buildnest-container,
  .page-service .download-brochure-container,
  .page-service .lets-start-work-content-container {
    padding: 16px;
    border-radius: 18px;
  }

  .page-service .service-related-quote-card .faqs-right-content-container {
    padding: 18px;
  }

  .page-service .service-related-btn {
    width: 100%;
    min-width: 0;
  }

  .page-project .project-information-container {
    padding: 18px;
    border-radius: 18px;
  }

  .page-project .project-core-services-btn,
  .page-project .project-start-quote-btn {
    width: 100%;
  }

  .page-about .about-section + .about-counter-section,
  .page-about .about-counter-section + .why-choose-us-section,
  .page-about .crafted-once-section + .our-projects,
  .page-services .services-page-section + .services-grid-section,
  .page-services .services-grid-section + .crafted-once-section,
  .page-services .crafted-once-section + .our-process-section,
  .page-services .our-process-section + .our-projects {
    margin-top: 48px !important;
  }
}

/* --- mibrittin-theme.css --- */
:root {
  --mib-bg: #f4ede3;
  --mib-bg-soft: #fbf7f0;
  --mib-surface: rgba(255, 250, 243, 0.9);
  --mib-surface-strong: #fffaf3;
  --mib-ink: #2a2018;
  --mib-ink-soft: #5e5146;
  --mib-line: rgba(86, 62, 38, 0.14);
  --mib-accent: #b87a38;
  --mib-accent-dark: #8c5821;
  --mib-accent-pale: #ead3b7;
  --mib-forest: #30463f;
  --mib-shadow: 0 24px 60px rgba(49, 35, 21, 0.12);
  --mib-radius-lg: 30px;
  --mib-radius-md: 22px;
  --mib-radius-sm: 16px;
}

html {
  scroll-behavior: smooth;
}

body.mibrittin-theme {
  background: linear-gradient(180deg, #efe6da 0%, #f8f3ec 24%, #f4ede3 100%);
  color: var(--mib-ink);
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.mibrittin-theme h1,
.mibrittin-theme h2,
.mibrittin-theme h3,
.mibrittin-theme h4,
.mibrittin-theme h5,
.mibrittin-theme h6 {
  color: var(--mib-ink);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mibrittin-theme p,
.mibrittin-theme li,
.mibrittin-theme .text {
  color: var(--mib-ink-soft);
}

.mibrittin-theme a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mibrittin-theme .page-wrapper {
  background:
    radial-gradient(circle at top left, rgba(184, 122, 56, 0.08), transparent 22%),
    radial-gradient(circle at bottom right, rgba(48, 70, 63, 0.08), transparent 24%);
}

.mibrittin-theme .auto-container {
  max-width: 1260px;
}

.mibrittin-theme .theme-btn,
.mibrittin-theme .theme-btn.inq-btn,
.mibrittin-theme .btn-style-one,
.mibrittin-theme .btn-style-two,
.mibrittin-theme .btn-style-three {
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: none;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 16px 28px;
  text-transform: uppercase;
}

.mibrittin-theme .btn-style-one,
.mibrittin-theme .theme-btn.inq-btn,
.mibrittin-theme .theme-btn.btn-style-two {
  background: var(--mib-accent);
  color: #fff !important;
}

.mibrittin-theme .btn-style-three {
  background: rgba(255, 250, 243, 0.75);
  border-color: rgba(255, 250, 243, 0.4);
  color: var(--mib-ink) !important;
}

.mibrittin-theme .theme-btn:hover,
.mibrittin-theme .theme-btn:focus {
  background: var(--mib-forest);
  border-color: var(--mib-forest);
  color: #fff !important;
  transform: translateY(-1px);
}

.mibrittin-theme .main-header {
  position: relative;
  z-index: 100;
}

.mibrittin-theme .main-header .header-top {
  background: rgba(42, 32, 24, 0.88);
}

.mibrittin-theme .main-header .header-top .top-left ul li a,
.mibrittin-theme .main-header .header-top .top-right ul li a {
  color: rgba(255, 247, 236, 0.82);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mibrittin-theme .header-upper {
  background: transparent !important;
  padding: 22px 0 12px;
}

.mibrittin-theme .header-upper .auto-container,
.mibrittin-theme .header-lower .auto-container {
  max-width: 1320px;
}

.mibrittin-theme .eg-text-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.mibrittin-theme .eg-text-logo-title {
  color: var(--mib-ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: none;
}

.mibrittin-theme .eg-text-logo-sub {
  color: var(--mib-ink-soft);
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mibrittin-theme .header-upper .upper-right {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.mibrittin-theme .header-upper .info-box {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid var(--mib-line);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.mibrittin-theme .header-upper .info-box .icon-box {
  color: var(--mib-accent);
}

.mibrittin-theme .header-upper .info-box ul li,
.mibrittin-theme .header-upper .info-box ul li a {
  color: var(--mib-ink-soft);
}

.mibrittin-theme .header-upper .info-box .small-title {
  color: var(--mib-ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mibrittin-theme .header-upper .info-box strong {
  color: var(--mib-ink);
  font-size: 15px;
  font-weight: 600;
}

.mibrittin-theme .header-lower {
  background: transparent;
}

.mibrittin-theme .header-lower .nav-outer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px 12px 26px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--mib-line);
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(39, 28, 18, 0.08);
  backdrop-filter: blur(14px);
}

.mibrittin-theme .main-menu .navigation > li > a {
  color: var(--mib-ink);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mibrittin-theme .main-menu .navigation > li.current > a,
.mibrittin-theme .main-menu .navigation > li:hover > a {
  color: var(--mib-accent);
}

.mibrittin-theme .main-menu .navigation > li > ul {
  margin-top: 10px;
  border: 1px solid var(--mib-line);
  border-radius: 18px;
  box-shadow: var(--mib-shadow);
  overflow: hidden;
}

.mibrittin-theme .main-menu .navigation > li > ul > li > a {
  color: var(--mib-ink);
  font-family: "Outfit", sans-serif;
}

.mibrittin-theme .main-menu .navigation > li > ul > li > a:hover {
  background: var(--mib-bg);
  color: var(--mib-accent);
}

.mibrittin-theme .main-header.fixed-header .header-lower {
  background: transparent;
  box-shadow: none;
}

.mibrittin-theme .main-header.fixed-header .header-lower .nav-outer {
  background: rgba(255, 250, 243, 0.96);
}

.mibrittin-theme .eg-hero-static {
  min-height: 760px;
  margin: -74px 0 72px;
  overflow: hidden;
}

.mibrittin-theme .eg-hero-static::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 82% 18%, rgba(234, 211, 183, 0.35), transparent 18%),
    radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.1), transparent 16%);
}

.mibrittin-theme .eg-hero-static .eg-hero-overlay {
  background:
    linear-gradient(110deg, rgba(29, 23, 17, 0.82) 6%, rgba(29, 23, 17, 0.66) 38%, rgba(29, 23, 17, 0.22) 66%, rgba(234, 211, 183, 0.22) 100%);
}

.mibrittin-theme .eg-hero-static .eg-hero-inner {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.62fr);
  gap: 34px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 170px 30px 100px;
  align-items: end;
}

.mibrittin-theme .eg-hero-static .eg-hero-content {
  width: 100%;
  max-width: 760px;
  padding-right: 0;
}

.mibrittin-theme .eg-hero-badges,
.mibrittin-theme .eg-hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mibrittin-theme .eg-hero-badges {
  margin-bottom: 18px;
}

.mibrittin-theme .eg-hero-badges span,
.mibrittin-theme .eg-hero-service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, 0.22);
  background: rgba(255, 250, 243, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mibrittin-theme .eg-hero-kicker {
  color: #f0d8bd;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin: 0 0 10px !important;
}

.mibrittin-theme .eg-hero-title {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(62px, 7vw, 94px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.92 !important;
  margin-bottom: 18px !important;
  text-transform: none !important;
}

.mibrittin-theme .eg-hero-text {
  max-width: 640px;
  color: rgba(255, 247, 236, 0.84) !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
}

.mibrittin-theme .eg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.mibrittin-theme .eg-hero-cta-secondary {
  background: rgba(255, 250, 243, 0.12);
  border-color: rgba(255, 250, 243, 0.26);
  color: #fff !important;
}

.mibrittin-theme .eg-hero-service-tags {
  margin-top: 16px;
}

.mibrittin-theme .eg-hero-sidecard {
  align-self: stretch;
}

.mibrittin-theme .eg-hero-sidecard-inner {
  height: 100%;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92) 0%, rgba(247, 236, 221, 0.92) 100%);
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: var(--mib-radius-lg);
  box-shadow: 0 26px 48px rgba(21, 16, 11, 0.18);
  backdrop-filter: blur(14px);
}

.mibrittin-theme .eg-hero-sidecard-kicker {
  color: var(--mib-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mibrittin-theme .eg-hero-sidecard h2 {
  font-size: 42px;
  line-height: 0.96;
  margin: 0 0 22px;
}

.mibrittin-theme .eg-hero-stats {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.mibrittin-theme .eg-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(86, 62, 38, 0.1);
  border-radius: 18px;
}

.mibrittin-theme .eg-hero-stats li span {
  color: var(--mib-ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mibrittin-theme .eg-hero-stats li strong {
  color: var(--mib-ink);
  font-size: 18px;
  font-weight: 600;
}

.mibrittin-theme .eg-hero-sidecard-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mibrittin-theme .eg-hero-sidecard-links a {
  color: var(--mib-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mibrittin-theme .default-two-column,
.mibrittin-theme .services-style-one,
.mibrittin-theme .services-section,
.mibrittin-theme .latest-work,
.mibrittin-theme .default-intro-section,
.mibrittin-theme .contact-section,
.mibrittin-theme .gallery-section,
.mibrittin-theme .eg-about-bottom-section,
.mibrittin-theme .eg-additional-services-section,
.mibrittin-theme .default-section {
  position: relative;
  padding: 20px 0 84px;
}

.mibrittin-theme .sec-title,
.mibrittin-theme .sidebar-title {
  margin-bottom: 28px;
}

.mibrittin-theme .sec-title h2,
.mibrittin-theme .sidebar-title h2,
.mibrittin-theme .sidebar-title h3 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 0.98;
  text-transform: none;
}

.mibrittin-theme .sec-title .text,
.mibrittin-theme .sidebar-title .text {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 17px;
}

.mibrittin-theme .default-two-column .image-box,
.mibrittin-theme .single-project-img1,
.mibrittin-theme .contact-section .map-container,
.mibrittin-theme .page-project .upper-box .main-image {
  border-radius: var(--mib-radius-lg);
  overflow: hidden;
  box-shadow: var(--mib-shadow);
}

.mibrittin-theme .default-two-column .text-column .text,
.mibrittin-theme .contact-form-outer,
.mibrittin-theme .eg-areas-covered-box,
.mibrittin-theme .content-box,
.mibrittin-theme .info-box,
.mibrittin-theme .eg-project-info-title,
.mibrittin-theme .eg-service-recent-projects,
.mibrittin-theme .eg-about-core-services {
  background: rgba(255, 250, 243, 0.8);
}

.mibrittin-theme .default-two-column .text-column .text,
.mibrittin-theme .contact-form-outer,
.mibrittin-theme .eg-areas-covered-box,
.mibrittin-theme .eg-about-core-services,
.mibrittin-theme .default-intro-section .content-box {
  padding: 28px 30px;
  border: 1px solid var(--mib-line);
  border-radius: var(--mib-radius-lg);
  box-shadow: 0 18px 44px rgba(54, 40, 27, 0.08);
}

.mibrittin-theme .default-two-column .text-column .text {
  padding: 36px;
}

.mibrittin-theme .default-two-column .text-column .theme_color,
.mibrittin-theme .sec-title .theme_color,
.mibrittin-theme .theme_color {
  color: var(--mib-accent) !important;
}

.mibrittin-theme .default-service-column {
  margin-bottom: 28px;
}

.mibrittin-theme .default-service-column .inner-box,
.mibrittin-theme .column.service-column,
.mibrittin-theme .default-portfolio-item .inner-box,
.mibrittin-theme .eg-area-card,
.mibrittin-theme .eg-area-faq-item,
.mibrittin-theme .eg-project-card {
  border-radius: var(--mib-radius-md);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(54, 40, 27, 0.08);
}

.mibrittin-theme .default-service-column .inner-box {
  background: var(--mib-surface-strong);
  border: 1px solid var(--mib-line);
}

.mibrittin-theme .default-service-column .inner-most,
.mibrittin-theme .default-service-column .lower-part {
  background: transparent;
}

.mibrittin-theme .default-service-column .image-box {
  aspect-ratio: 0.95 / 0.78;
  overflow: hidden;
}

.mibrittin-theme .default-service-column .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.mibrittin-theme .default-service-column .left-curve,
.mibrittin-theme .default-service-column .right-curve {
  display: none;
}

.mibrittin-theme .default-service-column .content {
  padding: 26px 24px 24px;
}

.mibrittin-theme .default-service-column h3 {
  font-size: 32px;
  line-height: 0.95;
  margin-bottom: 10px;
  text-transform: none;
}

.mibrittin-theme .default-service-column .text {
  min-height: 94px;
  font-size: 15px;
  line-height: 1.7;
}

.mibrittin-theme .default-service-column .more-link .read-more {
  color: var(--mib-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mibrittin-theme .services-section .outer-box,
.mibrittin-theme .eg-about-bottom-section .row,
.mibrittin-theme .eg-home-contact-layout {
  align-items: stretch;
}

.mibrittin-theme .column.service-column {
  padding: 28px 26px;
  background: var(--mib-surface-strong);
  border: 1px solid var(--mib-line);
}

.mibrittin-theme .column.service-column h3 {
  font-size: 32px;
  margin-bottom: 12px;
}

.mibrittin-theme .services-section .man-image {
  display: none;
}

.mibrittin-theme .latest-work .carousel-outer,
.mibrittin-theme .gallery-section .items-container {
  padding-top: 8px;
}

.mibrittin-theme .default-portfolio-item .inner-box {
  background: var(--mib-surface-strong);
  border: 1px solid var(--mib-line);
}

.mibrittin-theme .default-portfolio-item .image-box,
.mibrittin-theme .default-portfolio-item .image-box img {
  border-radius: var(--mib-radius-md);
}

.mibrittin-theme .default-portfolio-item .caption-layer {
  inset: auto 18px 18px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(32, 24, 18, 0.84);
  backdrop-filter: blur(10px);
}

.mibrittin-theme .default-portfolio-item .caption-layer h3 a,
.mibrittin-theme .default-portfolio-item .caption-layer .category a,
.mibrittin-theme .default-portfolio-item .caption-layer .options li a {
  color: #fff !important;
}

.mibrittin-theme .default-portfolio-item .overlay-link {
  top: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.88);
  color: var(--mib-ink);
}

.mibrittin-theme .default-intro-section .content-box {
  background: linear-gradient(135deg, rgba(255, 250, 243, 0.94) 0%, rgba(237, 223, 202, 0.94) 100%);
}

.mibrittin-theme .default-intro-section h3 {
  font-size: 48px;
  line-height: 0.96;
}

.mibrittin-theme .mib-page-title {
  margin-top: -40px;
  padding: 150px 0 72px;
  background-position: center;
  background-size: cover;
}

.mibrittin-theme .mib-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 23, 17, 0.88) 12%, rgba(29, 23, 17, 0.62) 58%, rgba(29, 23, 17, 0.28) 100%);
}

.mibrittin-theme .mib-page-title .auto-container {
  position: relative;
  z-index: 1;
}

.mibrittin-theme .mib-page-title-eyebrow {
  color: #f0d8bd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mibrittin-theme .mib-page-title h1 {
  color: #fff;
  font-size: clamp(58px, 6vw, 84px);
  line-height: 0.92;
  margin-bottom: 12px;
  text-transform: none;
}

.mibrittin-theme .mib-page-title .text {
  max-width: 760px;
  color: rgba(255, 247, 236, 0.82);
  font-size: 18px;
}

.mibrittin-theme .mib-theme-breadcrumb {
  margin: -28px 0 28px;
}

.mibrittin-theme .mib-theme-breadcrumb .breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 250, 243, 0.95);
  border: 1px solid var(--mib-line);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(39, 28, 18, 0.08);
}

.mibrittin-theme .mib-theme-breadcrumb .breadcrumb li,
.mibrittin-theme .mib-theme-breadcrumb .breadcrumb li a {
  color: var(--mib-ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mibrittin-theme .mib-theme-breadcrumb .breadcrumb li.active {
  color: var(--mib-accent-dark);
}

.mibrittin-theme .contact-form-outer .inner-box,
.mibrittin-theme .contact-info.clearfix,
.mibrittin-theme .page-contact .contact-form-outer {
  background: transparent;
  box-shadow: none;
}

.mibrittin-theme .contact-form-outer input,
.mibrittin-theme .contact-form-outer textarea,
.mibrittin-theme .search-popup input[type="search"] {
  min-height: 60px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--mib-line);
  border-radius: 18px;
  color: var(--mib-ink);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
}

.mibrittin-theme .contact-form-outer textarea {
  min-height: 180px;
  padding-top: 18px;
  resize: vertical;
}

.mibrittin-theme .contact-form-outer input:focus,
.mibrittin-theme .contact-form-outer textarea:focus {
  border-color: rgba(184, 122, 56, 0.35);
  box-shadow: 0 0 0 4px rgba(184, 122, 56, 0.12);
}

.mibrittin-theme .eg-areas-covered-box h3,
.mibrittin-theme .eg-about-core-services h2,
.mibrittin-theme .eg-service-recent-projects .sec-title h2 {
  font-size: 38px;
  line-height: 0.98;
}

.mibrittin-theme .eg-areas-covered-list,
.mibrittin-theme .eg-project-facts,
.mibrittin-theme .recent-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mibrittin-theme .eg-areas-covered-list li,
.mibrittin-theme .recent-searches li {
  margin: 0;
  list-style: none;
}

.mibrittin-theme .eg-areas-covered-list li,
.mibrittin-theme .recent-searches li a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(184, 122, 56, 0.09);
  color: var(--mib-ink);
  font-size: 13px;
  font-weight: 500;
}

.mibrittin-theme .eg-about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 22px;
}

.mibrittin-theme .eg-about-service-tile {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 18px 36px rgba(32, 24, 18, 0.12);
}

.mibrittin-theme .eg-about-service-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.02);
}

.mibrittin-theme .eg-about-service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.06) 0%, rgba(20, 15, 12, 0.74) 100%);
}

.mibrittin-theme .eg-about-service-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.mibrittin-theme .eg-about-additional-subtitle {
  color: var(--mib-accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 8px;
  text-transform: uppercase;
}

.mibrittin-theme .eg-service-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.mibrittin-theme .eg-service-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.mibrittin-theme .eg-service-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.mibrittin-theme .eg-service-thumb-date {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.88);
  color: var(--mib-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mibrittin-theme .page-project .upper-box .info-box {
  padding: 28px 24px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--mib-line);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(54, 40, 27, 0.08);
}

.mibrittin-theme .page-project .upper-box .info-box ul li {
  border-color: rgba(86, 62, 38, 0.1);
}

.mibrittin-theme .page-project .upper-box .info-box strong,
.mibrittin-theme .page-project .upper-box .info-box .data {
  color: var(--mib-ink);
}

.mibrittin-theme .contact-info.clearfix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mibrittin-theme .contact-info.clearfix .column.info-box {
  margin: 0;
  padding: 18px 18px 18px 70px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--mib-line);
  border-radius: 18px;
}

.mibrittin-theme .main-footer {
  margin-top: 40px;
}

.mibrittin-theme .main-footer .footer-upper {
  background-image: none !important;
  background:
    linear-gradient(180deg, #2c2119 0%, #241a13 100%);
  padding-top: 78px;
}

.mibrittin-theme .main-footer .footer-widget h3,
.mibrittin-theme .main-footer .eg-text-logo-title {
  color: #fff;
}

.mibrittin-theme .main-footer .eg-text-logo-sub,
.mibrittin-theme .main-footer .text,
.mibrittin-theme .main-footer p,
.mibrittin-theme .main-footer li,
.mibrittin-theme .main-footer a,
.mibrittin-theme .footer-bottom .copyright-text,
.mibrittin-theme .footer-bottom .info-text a {
  color: rgba(255, 245, 233, 0.74);
}

.mibrittin-theme .main-footer .social-links a {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  background: rgba(255, 245, 233, 0.08);
}

.mibrittin-theme .main-footer .social-links a:hover {
  background: var(--mib-accent);
}

.mibrittin-theme .footer-bottom {
  background: rgba(0, 0, 0, 0.16);
}

.mibrittin-theme .search-popup .popup-inner {
  background: var(--mib-bg-soft);
}

.mibrittin-theme .search-popup .search-form {
  background: transparent;
}

.mibrittin-theme .search-popup h3 {
  font-size: 36px;
}

@media only screen and (max-width: 1199px) {
  .mibrittin-theme .eg-hero-static .eg-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mibrittin-theme .eg-hero-sidecard {
    max-width: 520px;
  }
}

@media only screen and (max-width: 1023px) {
  .mibrittin-theme .header-upper .upper-right {
    gap: 8px;
  }

  .mibrittin-theme .header-upper .info-box {
    padding: 12px 14px;
  }

  .mibrittin-theme .header-lower .nav-outer {
    border-radius: 28px;
    padding: 10px 14px 10px 18px;
  }

  .mibrittin-theme .mib-page-title {
    margin-top: 0;
    padding-top: 130px;
  }
}

@media only screen and (max-width: 767px) {
  body.mibrittin-theme {
    font-size: 16px;
  }

  .mibrittin-theme .header-top {
    display: none;
  }

  .mibrittin-theme .header-upper {
    padding: 18px 0 8px;
  }

  .mibrittin-theme .eg-text-logo-title {
    font-size: 32px;
  }

  .mibrittin-theme .header-upper .upper-right {
    display: none;
  }

  .mibrittin-theme .header-lower .nav-outer {
    padding: 12px 14px;
    border-radius: 24px;
  }

  .mibrittin-theme .eg-hero-static {
    min-height: 0;
    margin-top: -20px;
  }

  .mibrittin-theme .eg-hero-static .eg-hero-inner {
    padding: 128px 18px 72px;
    gap: 20px;
  }

  .mibrittin-theme .eg-hero-title {
    font-size: 54px !important;
  }

  .mibrittin-theme .eg-hero-sidecard-inner,
  .mibrittin-theme .default-two-column .text-column .text,
  .mibrittin-theme .contact-form-outer,
  .mibrittin-theme .eg-areas-covered-box,
  .mibrittin-theme .eg-about-core-services,
  .mibrittin-theme .default-intro-section .content-box {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .mibrittin-theme .default-service-column .content {
    padding: 22px 20px;
  }

  .mibrittin-theme .eg-about-services-grid,
  .mibrittin-theme .eg-service-thumb-grid,
  .mibrittin-theme .contact-info.clearfix {
    grid-template-columns: 1fr;
  }

  .mibrittin-theme .sec-title h2,
  .mibrittin-theme .sidebar-title h2,
  .mibrittin-theme .sidebar-title h3,
  .mibrittin-theme .default-intro-section h3,
  .mibrittin-theme .eg-areas-covered-box h3,
  .mibrittin-theme .eg-about-core-services h2,
  .mibrittin-theme .eg-service-recent-projects .sec-title h2 {
    font-size: 38px;
  }

  .mibrittin-theme .mib-page-title {
    padding: 120px 0 54px;
  }

  .mibrittin-theme .mib-page-title h1 {
    font-size: 48px;
  }

  .mibrittin-theme .mib-theme-breadcrumb {
    margin-top: -18px;
  }
}


/* --- mibrittin-bridge.css --- */
/* Donor integration bridge for Made in Brittin */
body.mibrittin-theme {
  background: #eae5e0;
  color: #222;
  font-family: 'Outfit', sans-serif;
}

body.mibrittin-theme .page-wrapper {
  overflow: hidden;
}

body.mibrittin-theme .page-main {
  padding-top: 140px;
}

body.mibrittin-theme.home-page .page-main {
  padding-top: 0;
}

body.mibrittin-theme.home-page .eg-hero-static {
  margin-top: 168px;
}

.top-navbar .header-logo img,
.menu-toggle-logo-close-icon .header-logo img {
  width: auto;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.desktop-get-free-quote-btn {
  min-width: 220px;
}

footer .footer-logo {
  display: inline-flex;
  line-height: 0;
}

footer .footer-logo img {
  width: auto;
  max-width: 240px;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

footer .footer-widget .logo {
  margin-bottom: 18px;
}

footer .social-links a img {
  width: 18px;
  height: 18px;
}

.icon-right,
.icon[class*="flaticon-"],
.icon[class*="fa-"],
.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
}

.flaticon-arrows-10::before,
.fa-download::before {
  content: ">";
}

.flaticon-cross::before,
.fa-close::before {
  content: "x";
}

.flaticon-location::before {
  content: "o";
}

.flaticon-vehicle::before {
  content: "=";
}

.fa-angle-left::before {
  content: "<";
}

.fa-star::before {
  content: "*";
}

#search-popup .close-search span {
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.scroll-to-top {
  display: none !important;
}

#scrollToTop {
  display: none;
}

@media screen and (max-width: 1199px) {
  body.mibrittin-theme .page-main {
    padding-top: 116px;
  }

  body.mibrittin-theme.home-page .eg-hero-static {
    margin-top: 150px;
  }
}

@media screen and (max-width: 767px) {
  body.mibrittin-theme .page-main {
    padding-top: 100px;
  }
}

.page-products .common-section,
.page-product .common-section {
  background-color: #f5f1ea;
}

.products-catalog-section,
.product-detail-section {
  padding: 130px 0;
  background: #f5f1ea;
}

.products-catalog-header {
  max-width: 820px;
  margin: 0 auto 52px;
}

.products-catalog-header h2 {
  margin-bottom: 16px !important;
}

.products-catalog-header p {
  color: rgba(54, 39, 22, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.products-empty-card,
.product-piece-card,
.product-detail-card,
.product-detail-story {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(54, 39, 22, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(54, 39, 22, 0.08);
}

.products-empty-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 36px;
}

.product-piece-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

.product-piece-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #ece6dc;
  overflow: hidden;
}

.product-piece-image img,
.product-detail-main img,
.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-piece-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(54, 39, 22, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-piece-image .product-piece-status,
.product-detail-card > .product-piece-status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
}

.product-piece-status--reserved {
  background: rgba(166, 124, 54, 0.94);
}

.product-piece-status--sold {
  background: rgba(87, 87, 87, 0.92);
}

.product-piece-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 26px 26px 28px;
}

.product-piece-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.product-piece-meta h3,
.product-detail-card h2,
.product-detail-story h3 {
  color: #362716;
}

.product-piece-meta h3 {
  font-size: 28px;
  line-height: 1.22;
}

.product-piece-meta h3 a {
  color: inherit;
  text-decoration: none;
}

.product-piece-price,
.product-detail-price {
  color: #a56f1c;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.product-piece-dimensions,
.product-detail-summary,
.product-detail-description,
.product-detail-facts dd {
  color: rgba(54, 39, 22, 0.8);
}

.product-piece-dimensions {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-piece-summary {
  color: rgba(54, 39, 22, 0.76);
  font-size: 16px;
  line-height: 1.75;
}

.product-piece-actions,
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.product-piece-actions .btn,
.product-detail-actions .btn {
  min-width: 168px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-detail-main {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: #ece6dc;
  aspect-ratio: 1 / 1;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 14px;
}

.product-detail-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #ece6dc;
  aspect-ratio: 1 / 1;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.product-detail-thumb.is-active,
.product-detail-thumb:hover {
  border-color: rgba(165, 111, 28, 0.65);
  transform: translateY(-2px);
}

.product-detail-sidebar {
  position: sticky;
  top: 220px;
}

.product-detail-card,
.product-detail-story {
  position: relative;
  overflow: hidden;
}

.product-detail-card {
  padding: 32px;
}

.product-detail-card > .product-piece-status {
  position: static;
  margin-bottom: 22px;
}

.product-detail-card h2 {
  font-size: 40px;
  line-height: 1.1;
}

.product-detail-price {
  margin-top: 14px;
}

.product-detail-summary {
  margin-top: 18px !important;
  font-size: 17px;
  line-height: 1.8;
}

.product-detail-actions {
  margin-top: 28px;
}

.product-detail-facts {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
}

.product-detail-facts div {
  padding-top: 18px;
  border-top: 1px solid rgba(54, 39, 22, 0.1);
}

.product-detail-facts dt {
  margin-bottom: 8px;
  color: #362716;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-facts dd {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
}

.product-detail-story {
  margin-top: 42px;
  padding: 38px;
}

.product-detail-story .mib-accent-script {
  margin-bottom: 18px;
}

.product-detail-description {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.85;
}

.reserve-piece-section {
  padding: 130px 0;
  background: #f5f1ea;
}

.reserve-piece-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.reserve-piece-card,
.reserve-piece-form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(54, 39, 22, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(54, 39, 22, 0.08);
  overflow: hidden;
}

.reserve-piece-visual {
  aspect-ratio: 1 / 1;
  background: #ece6dc;
}

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

.reserve-piece-copy,
.reserve-piece-form {
  padding: 32px;
}

.reserve-piece-copy h2,
.reserve-piece-form h3 {
  color: #362716;
}

.reserve-piece-copy p,
.reserve-piece-form p,
.reserve-piece-facts dd {
  color: rgba(54, 39, 22, 0.78);
}

.reserve-piece-facts {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.reserve-piece-facts div {
  padding-top: 16px;
  border-top: 1px solid rgba(54, 39, 22, 0.1);
}

.reserve-piece-facts dt {
  margin-bottom: 6px;
  color: #362716;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reserve-piece-facts dd {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
}

.reserve-piece-form-fields {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.reserve-piece-form .lets-send-now-btn {
  margin-top: 24px;
}

@media screen and (max-width: 1399px) {
  .products-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-sidebar {
    position: static;
  }

  .reserve-piece-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 991px) {
  .products-catalog-section,
  .product-detail-section {
    padding: 96px 0;
  }

  .products-catalog-header {
    margin-bottom: 38px;
  }

  .product-piece-meta {
    flex-direction: column;
  }

  .product-piece-price,
  .product-detail-price {
    white-space: normal;
  }

  .product-detail-card h2 {
    font-size: 34px;
  }

  .reserve-piece-section {
    padding: 96px 0;
  }
}

@media screen and (max-width: 767px) {
  .products-catalog-section,
  .product-detail-section {
    padding: 72px 0;
  }

  .products-catalog-grid {
    grid-template-columns: 1fr;
  }

  .products-empty-card,
  .product-piece-content,
  .product-detail-card,
  .product-detail-story {
    padding: 24px 20px;
  }

  .products-catalog-header p,
  .product-detail-description,
  .product-detail-summary,
  .product-detail-facts dd,
  .product-piece-summary {
    font-size: 15px;
    line-height: 1.7;
  }

  .product-piece-meta h3 {
    font-size: 24px;
  }

  .product-detail-card h2 {
    font-size: 28px;
  }

  .product-detail-main {
    border-radius: 22px;
    aspect-ratio: 1 / 1;
  }

  .product-detail-gallery {
    gap: 12px;
  }

  .product-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .product-detail-thumb {
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
  }

  .reserve-piece-section {
    padding: 72px 0;
  }

  .reserve-piece-copy,
  .reserve-piece-form {
    padding: 24px 20px;
  }

  .product-piece-image .product-piece-status,
  .product-detail-card > .product-piece-status {
    top: 14px;
    left: 14px;
  }

  .product-piece-actions .btn,
  .product-detail-actions .btn {
    width: 100%;
    min-width: 0;
  }
}
