*{box-sizing:border-box}
:root{
  --page-max:1600px;
  --green:#003b2e;
  --ink:#111;
  --soft-border:#dedede;
  --page-gutter:clamp(28px,2.74vw,44px);
}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif}

.maples-page{
    width:100%;
    max-width:var(--page-max);
    margin:0 auto;
    background:#fff;
    overflow:visible;
}


.maples-hero{display:block;width:100%;height:auto;border-radius:0 0 clamp(6px,.6vw,10px) clamp(6px,.6vw,10px)}
.maples-nav{height:clamp(98px,9.58vw,150px);display:flex;align-items:center;padding:0 clamp(16px,1.6vw,24px);background:#fff;gap:clamp(72px,7.04vw,113px)}

.maples-brand{
    display:flex;
    align-items:center;
    width:220px;
    flex:0 0 220px;
}

.maples-brand img{
    width:220px;
    height:auto;
    display:block;
}


.maples-menu{display:flex;align-items:center;gap:clamp(58px,5.67vw,91px);flex:1}
.maples-menu a{font-size:clamp(14px,1.37vw,22px);text-transform:uppercase;color:#111;text-decoration:none;letter-spacing:.02em;padding:clamp(34px,3.32vw,53px) 0 clamp(9px,.88vw,14px);line-height:1}
.maples-menu a.active{border-bottom:clamp(2px,.2vw,3px) solid var(--green)}
.maples-search{width:clamp(230px,22.48vw,360px);height:clamp(42px,4.11vw,66px);border:1px solid #d8d8d8;border-radius:clamp(4px,.39vw,6px);display:flex;align-items:center;gap:clamp(12px,1.17vw,19px);padding:0 clamp(16px,1.56vw,25px);color:#777;font-size:clamp(13px,1.27vw,20px);flex:0 0 clamp(230px,22.48vw,360px);background:#fff}
.maples-search svg{width:clamp(19px,1.86vw,30px);height:clamp(19px,1.86vw,30px);stroke:#111;stroke-width:2;fill:none}
.inspire-bar{margin:0 clamp(10px,.98vw,16px);height:clamp(60px,5.87vw,94px);border-radius:clamp(5px,.49vw,8px);background:var(--green);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(38px,3.71vw,59px)}
.inspire-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(27px,2.64vw,42px);font-weight:400;letter-spacing:-.03em}
.inspire-sub{font-size:clamp(13px,1.27vw,20px);text-transform:uppercase;letter-spacing:.19em;font-weight:700}
.video-image{display:block;width:calc(100% - clamp(18px,1.76vw,28px));margin:clamp(8px,.78vw,13px) clamp(9px,.88vw,14px) 0;border-radius:clamp(6px,.59vw,9px);height:auto}
.feature-row{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,1.56vw,25px);margin:clamp(24px,2.35vw,38px) clamp(31px,3.03vw,49px) 0}
.feature-card{height:clamp(214px,20.92vw,335px);border:1px solid var(--soft-border);border-radius:clamp(6px,.59vw,9px);background:#fff;text-align:center;padding:clamp(28px,2.74vw,44px) clamp(24px,2.35vw,38px) clamp(20px,1.96vw,31px)}
.feature-card img{width:clamp(66px,6.45vw,103px);height:clamp(66px,6.45vw,103px);display:block;margin:0 auto clamp(14px,1.37vw,22px)}
.feature-card h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(20px,1.96vw,31px);font-weight:400;margin:0 0 clamp(12px,1.17vw,19px)}
.feature-card p{font-size:clamp(12px,1.17vw,19px);line-height:1.45;margin:0;font-weight:600}
.retailer-section{
    margin:clamp(10px,.98vw,16px) clamp(28px,2.74vw,44px) clamp(24px,2.35vw,38px);
    text-align:center;
    padding-top:60px;
    padding-bottom:60px;
}
.retailer-title{display:flex;align-items:center;justify-content:center;gap:clamp(18px,1.76vw,28px);margin:0 clamp(220px,21.51vw,344px) clamp(12px,1.17vw,19px)}
.retailer-title:before,.retailer-title:after{content:"";height:1px;background:#ddd;flex:1}
.retailer-title h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,2.83vw,45px);font-weight:400;margin:0;white-space:nowrap}
.retailer-logos{display:flex;align-items:center;justify-content:space-between;gap:clamp(27px,2.64vw,42px)}
.retailer-logos a{display:flex;align-items:center;justify-content:center;text-decoration:none;line-height:0;transition:opacity .15s ease, transform .15s ease}
.retailer-logos a:hover{opacity:.85;transform:translateY(-1px)}
.retailer-logos img{display:block;width:auto;object-fit:contain}
.retailer-logos a:nth-child(1) img{height:clamp(40px,3.91vw,63px)}
.retailer-logos a:nth-child(2) img{height:clamp(41px,4.01vw,64px)}
.retailer-logos a:nth-child(3) img{height:clamp(34px,3.32vw,53px)}
.retailer-logos a:nth-child(4) img{height:clamp(45px,4.4vw,70px)}
.retailer-logos a:nth-child(5) img{height:clamp(45px,4.4vw,70px)}
.retailer-logos a:nth-child(6) img{height:clamp(35px,3.42vw,55px)}
.retailer-logos a:nth-child(7) img{height:clamp(34px,3.32vw,53px)}
.story-image{display:block;width:calc(100% - clamp(56px,5.47vw,88px));margin:0 clamp(28px,2.74vw,44px) clamp(40px,3.91vw,63px);border-radius:clamp(6px,.59vw,9px);height:auto}


/*Dropdopwn*/



.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
  margin-right: 40px;
}

.dropdown-link {
    font-size: clamp(14px,1.37vw,22px);
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    letter-spacing: .02em;
    padding: clamp(34px,3.32vw,53px) 0 clamp(9px,.88vw,14px);
    line-height: 1;
}

.dropdown > a {
    font-size: clamp(14px,1.37vw,22px);
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    letter-spacing: .02em;
    padding: clamp(34px,3.32vw,53px) 0 clamp(9px,.88vw,14px);
    line-height: 1;
}


.dropdown-menu{
    display:none !important;
    position:absolute;
    top:100%;
    left:0;
    width:280px;

    background:#fff;
    border:1px solid #e5e5e5;
    box-shadow:0 8px 18px rgba(0,0,0,.12);

    padding:10px 0;
    z-index:99999;
}


.dropdown:hover .dropdown-menu {
    display: block !important;
}


.maples-menu .dropdown-menu a {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    color: #777 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: normal !important;
    border: none !important;
}

.video-container {
    width: calc(100% - clamp(18px,1.76vw,28px));
    margin: clamp(8px,.78vw,13px) clamp(9px,.88vw,14px) 0;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.video-container img,
.video-container video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
    border-radius: 0 !important;
}

.fade-out{
    opacity:0;
    transition:opacity .5s ease;
}

#heroVideo{
    transition:opacity .5s ease;
}

.maples-footer {
    text-align: center;
    padding: 30px 20px;
    background: #f7f7f7;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #e5e5e5;
}

.maples-footer p {
    margin: 0;
}

/* Forms */
.maples-form-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

.vendor-form-frame {
  width: 100%;
  min-height: 1600px;
  border: 0;
  display: block;
}

.iframe-crop {
  width: 100%;
  height: 1450px;
  overflow: hidden;
  position: relative;
}

.vendor-form-frame {
  width: 100%;
  height: 1700px;
  border: 0;
  display: block;
  transform: translateY(-210px);
}

.vendor-header{
    max-width:1100px;
    margin:30px auto 0;
    background:#003b2e;
    color:#fff;
    padding:18px 30px;
    border-radius:8px 8px 0 0;
    font-family:Georgia, serif;
    font-size:34px;
}


/* Tablet transition */
@media(max-width:980px){
  .maples-nav{height:auto;padding:22px 24px;gap:24px;flex-wrap:wrap;justify-content:space-between}
  .maples-brand{width:118px;flex:0 0 118px}
  .maples-menu{order:3;width:100%;justify-content:center;gap:42px;flex:0 0 100%}
  .maples-menu a{font-size:14px;padding:12px 0 8px}
  .maples-search{width:255px;flex:0 0 255px;height:46px;font-size:13px}
  .inspire-bar{height:auto;min-height:58px;padding:16px 28px;gap:14px}
  .inspire-title{font-size:28px}
  .inspire-sub{font-size:12px;letter-spacing:.14em;text-align:right}
  .feature-row{grid-template-columns:repeat(2,1fr);margin:24px 24px 0;gap:18px}
  .feature-card{height:auto;min-height:210px}
  .retailer-title{margin:4px 130px 14px}
  .retailer-logos{flex-wrap:wrap;justify-content:center;gap:22px 32px}
}

/* Separate mobile layout */
@media(max-width:640px){
  body{background:#fff}
  .maples-page{max-width:430px;box-shadow:none;overflow:visible}
  .maples-hero{border-radius:0;height:104px;object-fit:cover;object-position:center top}

  .maples-nav{
    height:auto;
    padding:15px 18px 12px;
    display:grid;
    grid-template-columns:92px 1fr;
    grid-template-areas:
      "brand search"
      "menu menu";
    gap:12px 14px;
    align-items:center;
  }

  .maples-brand{grid-area:brand;width:92px;flex:auto}

  .maples-search{
    grid-area:search;
    width:100%;
    max-width:140px;
    justify-self:end;
    height:40px;
    flex:auto;
    font-size:0;
    padding:0 13px;
    gap:9px;
    justify-content:flex-start;
    border-radius:4px;
  }

  .maples-search:after{content:"Search";font-size:12px;color:#777;white-space:nowrap}
  .maples-search svg{width:17px;height:17px;flex:0 0 17px}
  .maples-search input{display:none}

  .maples-menu{
    grid-area:menu;
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
    flex:auto;
    border-top:1px solid #f0f0f0;
    padding-top:7px;
    overflow:visible;
  }

  .maples-menu a,
  .dropdown-link{
    white-space:nowrap;
    font-size:10px !important;
    padding:7px 0 6px !important;
    letter-spacing:.02em;
    line-height:1;
  }

  .maples-menu a.active{border-bottom:2px solid var(--green)}

  .dropdown{
    position:relative;
    display:flex;
    align-items:center;
    height:auto;
    margin-right:0;
    overflow:visible;
  }

  .dropdown-menu{
    left:50%;
    transform:translateX(-50%);
    width:220px;
    top:100%;
    z-index:99999;
  }

  .dropdown-menu a{
    font-size:13px !important;
    padding:10px 14px !important;
    white-space:normal !important;
    line-height:1.25 !important;
  }

  .inspire-bar{margin:0 9px;min-height:76px;padding:13px 18px;flex-direction:column;align-items:flex-start;justify-content:center;border-radius:5px;gap:8px}
  .inspire-title{font-size:24px;line-height:1.05}
  .inspire-sub{font-size:10px;letter-spacing:.16em;text-align:left;line-height:1.4}
  .video-image{width:calc(100% - 18px);margin:8px 9px 0;border-radius:6px;height:auto}
  .feature-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 18px 0}
  .feature-card{min-height:170px;padding:18px 12px 14px;border-radius:6px}
  .feature-card img{width:52px;height:52px;margin-bottom:10px}
  .feature-card h3{font-size:17px;margin-bottom:8px;line-height:1.05}
  .feature-card p{font-size:10px;line-height:1.38;font-weight:600}
  .retailer-section{margin:12px 18px 18px}
.retailer-section{
    margin:12px 18px 18px;
    padding-top:20px;
    padding-bottom:20px;
}
  .retailer-title{gap:12px;margin:0 8px 12px}
  .retailer-title h2{font-size:24px}
  .retailer-logos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 18px;justify-items:center;align-items:center}
  .retailer-logos a{min-height:42px;width:100%}
  .retailer-logos a:nth-child(1) img{height:31px}
  .retailer-logos a:nth-child(2) img{height:32px}
  .retailer-logos a:nth-child(3) img{height:27px}
  .retailer-logos a:nth-child(4) img{height:35px}
  .retailer-logos a:nth-child(5) img{height:35px}
  .retailer-logos a:nth-child(6) img{height:29px}
  .retailer-logos a:nth-child(7){grid-column:1 / -1}
  .retailer-logos a:nth-child(7) img{height:30px}
  .story-image{width:calc(100% - 18px);margin:0 9px 28px;border-radius:6px;height:auto}
}

@media(max-width:360px){
  .maples-page{max-width:360px}
  .feature-row{grid-template-columns:1fr}
  .feature-card{min-height:150px}
  .retailer-logos{grid-template-columns:1fr}
  .retailer-logos a:nth-child(7){grid-column:auto}
}


.contact-hero {
  background: #fff;
  padding-bottom: 80px;
}

.contact-banner {
  background: #003b2e;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 22px;
  padding: 28px 20px;
}

.contact-wrap {
  max-width: 1100px;
  margin: 55px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  text-align: center;
  color: #333;
  font-size: 20px;
  line-height: 1.7;
}



.contact-info h1{
    font-family: Georgia, serif;
    font-size: 58px;
    line-height: 1.05;
    color: #123d2e;
    margin: 0 0 35px;
    white-space: nowrap;
}

.contact-info a {
  color: #003b2e;
  font-weight: 700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

@media(max-width:700px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 35px;
  }

  .contact-banner {
    font-size: 16px;
    padding: 22px 16px;
  }

  .contact-info {
    font-size: 17px;
  }

  .contact-info h1 {
    font-size: 32px;
  }

  .contact-map iframe {
    height: 320px;
  }
}


/* === Desktop homepage alignment cleanup === */


@media(min-width:641px){

  .maples-hero,
  .inspire-bar,
  .video-container,
  .story-image{
      width:calc(100% - (var(--page-gutter) * 2));
      margin-left:var(--page-gutter);
      margin-right:var(--page-gutter);
  }

  .maples-hero{
      margin-top:0;
      margin-bottom:0;
  }

  .inspire-bar{
      margin-top:0;
      margin-bottom:0;
  }

  .video-container{
      margin-top:clamp(8px,.78vw,13px);
      margin-bottom:0;
  }

  .story-image{
      margin-top:0;
      margin-bottom:clamp(40px,3.91vw,63px);
  }

  .video-image,
  .video-container img,
  .video-container video{
      width:100% !important;
      margin-left:0 !important;
      margin-right:0 !important;
      margin-top:0 !important;
      display:block;
  }

  .feature-row,
  .retailer-section{
      margin-left:var(--page-gutter);
      margin-right:var(--page-gutter);
  }
}


/* =========================================================
   MAPLES RUGS V2 DESIGN PASS - HOME / FORM PAGES
   ========================================================= */
:root{
  --maples-green:#003b2e;
  --maples-cream:#fffaf2;
  --maples-border:#eadfce;
  --radius:12px;
  --shadow-soft:0 12px 30px rgba(0,0,0,.09);
  --shadow-lift:0 18px 42px rgba(0,0,0,.14);
  --page-gutter:clamp(28px,2.74vw,44px);
}

html{scroll-behavior:smooth}

.maples-nav{
  padding-left:clamp(16px,1.6vw,24px);
  padding-right:clamp(16px,1.6vw,24px);
}

.maples-menu a,
.dropdown-link{
  position:relative;
  transition:color .2s ease;
}

.maples-menu a:hover,
.dropdown-link:hover{
  color:var(--maples-green);
}

.maples-menu a:not(.active):after,
.dropdown-link:after{
  content:"";
  position:absolute;
  left:0;
  bottom:clamp(4px,.39vw,6px);
  width:100%;
  height:2px;
  background:var(--maples-green);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
}

.maples-menu a:hover:after,
.dropdown-link:hover:after{
  transform:scaleX(1);
}

.maples-hero,
.inspire-bar,
.video-container,
.story-image{
  width:calc(100% - (var(--page-gutter) * 2));
  margin-left:var(--page-gutter);
  margin-right:var(--page-gutter);
}

.video-container{
  margin-top:clamp(8px,.78vw,13px);
}

.video-image,
.video-container img,
.video-container video{
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  display:block;
}

.feature-row,
.retailer-section{
  margin-left:var(--page-gutter);
  margin-right:var(--page-gutter);
}

.inspire-bar{
  box-shadow:0 12px 28px rgba(0,59,46,.16);
}

.inspire-title{
  letter-spacing:-.025em;
}

.feature-card,
.retailer-logos a,
.story-image,
.video-container{
  transition:transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lift);
}

.video-container,
.story-image{
  box-shadow:var(--shadow-soft);
}

.retailer-logos a:hover{
  opacity:1;
  transform:translateY(-3px);
}

.maples-form-page{
  background:#fff;
  border:1px solid var(--maples-border);
  border-radius:14px;
  box-shadow:var(--shadow-soft);
  padding:0;
  overflow:hidden;
}

.vendor-header{
  margin:0;
  max-width:none;
  border-radius:0;
  padding:26px 34px;
}

.iframe-crop{
  margin:0;
}

.maples-site-footer{
  background:#102f25;
  color:#d7d0c4;
  text-align:center;
  padding:48px 20px 34px;
  margin-top:42px;
}

.maples-home-footer{
  margin-top:0;
}

.maples-site-footer .footer-inner{
  max-width:980px;
  margin:0 auto;
}

.footer-logo img{
  height:72px;
  width:auto;
  filter:brightness(0) invert(1);
  opacity:.95;
}

.footer-tagline{
  margin:18px 0 24px;
  font-family:Georgia,'Times New Roman',serif;
  font-size:18px;
  color:#fffaf2;
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  margin-bottom:24px;
}

.footer-links a{
  color:#d7d0c4;
  text-decoration:none;
  text-transform:uppercase;
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
  transition:color .2s ease;
}

.footer-links a:hover{color:#fff}

.footer-copy{
  margin:0;
  font-size:13px;
  color:#bfb7aa;
}

@media(max-width:640px){
  .maples-hero,
  .inspire-bar,
  .video-container,
  .story-image{
    width:calc(100% - 18px);
    margin-left:9px;
    margin-right:9px;
  }
  .feature-row,
  .retailer-section{
    margin-left:18px;
    margin-right:18px;
  }
  .footer-links{gap:18px}
}


/* COMPACT FOOTER ALL PAGES - TRUE WHITE SVG LOGO */
.maples-site-footer{
  padding:16px 20px 12px !important;
}
.maples-site-footer .footer-inner{
  max-width:980px !important;
  margin:0 auto !important;
}
.footer-logo,
.maples-site-footer .footer-logo{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:0 !important;
  margin:0 0 6px !important;
}
.footer-logo img,
.maples-site-footer .footer-logo img{
  height:46px !important;
  width:auto !important;
  display:block !important;
  margin:0 auto !important;
  filter:brightness(0) invert(1) !important;
  opacity:1 !important;
  transform:none !important;
  image-rendering:auto !important;
}
.footer-tagline{
  margin:4px 0 8px !important;
  font-size:16px !important;
  line-height:1.25 !important;
}
.footer-links{
  margin:6px 0 8px !important;
  gap:20px !important;
}
.footer-copy{
  margin:0 !important;
  font-size:12px !important;
}
.maples-home-footer{
  width:calc(100% - (var(--page-gutter, 44px) * 2)) !important;
  margin:0 auto !important;
  border-radius:12px 12px 0 0 !important;
  overflow:hidden !important;
}

@media(max-width:640px){
  .maples-site-footer{
    padding:16px 14px 12px !important;
  }
  .footer-logo img,
  .maples-site-footer .footer-logo img{
    height:42px !important;
  }
  .footer-tagline{
    font-size:14px !important;
  }
  .footer-links{
    gap:16px !important;
  }
  .maples-home-footer{
    width:calc(100% - 18px) !important;
    border-radius:8px 8px 0 0 !important;
  }
}

/* =========================================================
   MAPLES RUGS - CLEAN RESOURCES DROPDOWN / TABLET NAV FIX
     ========================================================= */

.maples-menu .dropdown,
.main-nav .dropdown,
nav .dropdown{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  height:auto !important;
  margin-right:0 !important;
  overflow:visible !important;
  flex:0 0 auto !important;
}

.maples-menu .dropdown-link,
.main-nav .dropdown-link,
nav .dropdown-link,
.maples-menu .dropdown > a,
.main-nav .dropdown > a,
nav .dropdown > a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  flex-wrap:nowrap !important;
  line-height:1 !important;
}

.maples-menu .dropdown-menu,
.main-nav .dropdown-menu,
nav .dropdown-menu{
  display:none !important;
  position:absolute !important;
  top:100% !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:280px !important;
  background:#fff !important;
  border:1px solid #e5e5e5 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
  padding:10px 0 !important;
  z-index:99999 !important;
}

.maples-menu .dropdown:hover .dropdown-menu,
.main-nav .dropdown:hover .dropdown-menu,
nav .dropdown:hover .dropdown-menu{
  display:block !important;
}

.maples-menu .dropdown-menu a,
.main-nav .dropdown-menu a,
nav .dropdown-menu a{
  display:block !important;
  padding:10px 18px !important;
  font-size:14px !important;
  line-height:1.25 !important;
  color:#777 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
  white-space:normal !important;
  border:none !important;
}

@media(min-width:641px) and (max-width:980px){
  .maples-nav{
    height:auto !important;
    padding:22px 24px 20px !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    align-items:center !important;
    gap:16px 24px !important;
  }

  .maples-brand{
    width:180px !important;
    flex:0 0 180px !important;
  }

  .maples-brand img{
    width:180px !important;
    height:auto !important;
    display:block !important;
  }

  .maples-menu{
    order:2 !important;
    width:100% !important;
    flex:0 0 100% !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:34px !important;
    flex-wrap:nowrap !important;
    overflow:visible !important;
  }

  .maples-menu > a,
  .maples-menu .dropdown-link{
    font-size:15px !important;
    padding:10px 0 8px !important;
    white-space:nowrap !important;
    line-height:1 !important;
  }

  .maples-menu .dropdown{
    min-width:max-content !important;
  }

  .maples-search{
    order:3 !important;
    width:340px !important;
    flex:0 0 340px !important;
    margin-top:4px !important;
  }
}

@media(min-width:641px) and (max-width:760px){
  .maples-menu{gap:22px !important;}
  .maples-menu > a,
  .maples-menu .dropdown-link{font-size:14px !important;}
  .maples-brand{width:160px !important;flex-basis:160px !important;}
  .maples-brand img{width:160px !important;}
}


/* FINAL VERIFIED FOOTER LOGO WHITE OVERRIDE - ALL PAGES */
.maples-site-footer .footer-logo img,
.footer-logo img{
  filter:brightness(0) invert(1) !important;
  opacity:1 !important;
}

/* =========================================================
   MAPLES RUGS - HOVER / FOCUS ANIMATIONS
   ========================================================= */

/* Smooth interactive elements */
.maples-menu a,
.dropdown-link,
.maples-search,
.inspire-link,
.inspire-bar,
.feature-card,
.retailer-logos a,
.video-container,
.story-image,
.footer-links a{
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    opacity .22s ease,
    color .22s ease,
    border-color .22s ease,
    background-color .22s ease;
}

/* Nav polish */
@media (hover:hover) and (pointer:fine){
  .maples-menu > a:hover,
  .maples-menu .dropdown-link:hover{
    transform:translateY(-1px);
  }

  .maples-search:hover,
  .maples-search:focus-within{
    border-color:#bdbdbd;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
  }

  /* Follow & Stay Inspired banner */
  .inspire-link{
    display:block;
    color:inherit;
    text-decoration:none;
  }

  .inspire-link:hover .inspire-bar,
  .inspire-bar:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(0,59,46,.22);
    cursor:pointer;
  }

  .inspire-link:hover .inspire-title::after{
    opacity:1;
    transform:translateX(4px);
  }

  .inspire-title::after{
    content:" ↗";
    display:inline-block;
    opacity:.72;
    transform:translateX(0);
    transition:opacity .22s ease, transform .22s ease;
    font-size:.7em;
    vertical-align:middle;
  }

  /* Feature cards */
  .feature-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 42px rgba(0,0,0,.13);
  }

  .feature-card:hover img{
    transform:scale(1.035);
  }

  .feature-card img{
    transition:transform .22s ease;
  }

  /* Retailer logos */
  .retailer-logos a:hover{
    transform:translateY(-3px);
    opacity:.92;
  }

  .retailer-logos a:hover img{
    transform:scale(1.035);
  }

  .retailer-logos img{
    transition:transform .22s ease;
  }

  /* Main video only */
  .video-container:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 42px rgba(0,0,0,.14);
  }

  /* Keep story banner completely static */
  .story-image,
  .story-image:hover{
    transform:none !important;
    box-shadow:0 12px 30px rgba(0,0,0,.09) !important;
  }

  /* Footer links */
  .footer-links a:hover{
    transform:translateY(-1px);
  }
}

/* Keyboard accessibility */
.maples-menu a:focus-visible,
.dropdown-link:focus-visible,
.maples-search:focus-within,
.inspire-link:focus-visible,
.retailer-logos a:focus-visible,
.footer-links a:focus-visible{
  outline:2px solid var(--maples-green, #003b2e);
  outline-offset:4px;
  border-radius:4px;
}

/* Touch devices: keep effects minimal to avoid sticky hover weirdness */
@media (hover:none), (pointer:coarse){
  .feature-card,
  .retailer-logos a,
  .video-container,
  .story-image,
  .inspire-bar{
    transform:none !important;
  }

  .inspire-title::after{
    content:" ↗";
    font-size:.7em;
    opacity:.75;
  }
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    transition:none !important;
    animation:none !important;
    scroll-behavior:auto !important;
  }
}
