@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap");
/* Additive homepage redesign: existing CSS and PHP-rendered markup remain intact. */
body.rv-home {
  background: #fff;
  color: #201e1b;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
.rv-home a {
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.35s ease;
}
.rv-home a:hover {
  text-decoration: none;
  color: #9b624a;
}
.rv-home .rv-announcement {
  background: #22201e;
  color: #fff;
  text-align: center;
  padding: 9px 15px;
  font-size: 11px;
  letter-spacing: 0.19em;
}
.rv-home #header {
  background: #fff;
  border-bottom: 1px solid #ece8e3;
}
.rv-home #header .header-middle {
  padding: 17px 0;
  background: #fff;
}
.rv-home #header .header-middle .container,
.rv-home #header .header-bottom .container {
  width: 100%;
  max-width: 1380px;
  padding: 0 30px;
}
.rv-home #header .header-middle .logo img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}
.rv-home #header .shop-menu ul li a {
  background: none;
  color: #48423d;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 12px 11px;
}
.rv-home #header .shop-menu ul li a:hover {
  color: #9b624a;
}
.rv-home #header .header-bottom {
  padding: 0;
  border-top: 1px solid #eee9e3;
  background: #fff;
}
.rv-home #header .mainmenu ul li a {
  background: transparent;
  color: #292621;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 17px 14px;
}
.rv-home #header .mainmenu ul li a:hover {
  color: #9b624a;
}
.rv-home #header .mainmenu ul li .sub-menu {
  background: #fff;
  border: 1px solid #eee6dd;
  box-shadow: 0 14px 35px #24180c14;
  z-index: 100;
}
.rv-home #header .search_box input {
  background: #faf8f5;
  border: 1px solid #e8e2dc;
  border-radius: 3px;
  padding: 10px 15px;
  width: 100%;
  height: 39px;
}
.rv-home #header .search_box {
  width: 100%;
  max-width: 280px;
  margin-top: 6px;
}
.rv-home .rv-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 35px;
}
.rv-home .rv-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7f4ef;
  min-height: 510px;
  overflow: hidden;
}
.rv-home .rv-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 7vw, 110px);
}
.rv-home .rv-eyebrow {
  color: #995b46;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}
.rv-home .rv-hero h1,
.rv-home .rv-section h2,
.rv-home .rv-feature h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.13;
}
.rv-home .rv-hero h1 {
  font-size: clamp(42px, 5vw, 76px);
  margin: 16px 0 20px;
}
.rv-home .rv-hero p {
  font-size: 16px;
  color: #706963;
  max-width: 430px;
}
.rv-home .rv-hero img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  object-position: center 35%;
}
.rv-home .rv-button {
  display: inline-block;
  margin-top: 23px;
  padding: 14px 28px;
  background: #292421;
  color: #fff !important;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.rv-home .rv-button:hover {
  background: #995b46;
  transform: translateY(-2px);
}
.rv-home .rv-section {
  padding: 65px 0 35px;
}
.rv-home .rv-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}
.rv-home .rv-section h2 {
  font-size: clamp(30px, 3vw, 44px);
  margin: 8px 0 0;
}
.rv-home .rv-section-heading > a {
  font-size: 12px;
  border-bottom: 1px solid #bbb0a5;
  padding-bottom: 5px;
}
.rv-home .rv-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.rv-home .rv-tile {
  display: block;
  overflow: hidden;
}
.rv-home .rv-tile img {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.rv-home .rv-tile:hover img {
  transform: scale(1.035);
}
.rv-home .rv-tile h3 {
  font:
    400 24px "Playfair Display",
    Georgia,
    serif;
  margin: 16px 0 4px;
}
.rv-home .rv-tile span {
  color: #77716b;
  font-size: 12px;
}
.rv-home .rv-catalog {
  background: #faf8f5;
  padding: 55px 0;
}
.rv-home .rv-catalog .container {
  width: 100%;
  max-width: 1380px;
  padding: 0 35px;
}
.rv-home .rv-catalog .left-sidebar > h2,
.rv-home .rv-catalog .brands_products > h2 {
  font:
    400 24px "Playfair Display",
    Georgia,
    serif;
  color: #24201d;
  text-align: left;
  margin: 0 0 20px;
}
.rv-home .rv-catalog .left-sidebar > h2:after,
.rv-home .rv-catalog .brands_products > h2:after {
  display: none;
}
.rv-home .rv-catalog .features_items {
  overflow: hidden;
}
.rv-home .rv-catalog .features_items > h2.title {
  font:
    400 35px "Playfair Display",
    Georgia,
    serif;
  color: #24201d;
  text-align: left;
  margin: 0 0 24px;
}
.rv-home .rv-catalog .features_items > h2.title:after,
.rv-home .rv-catalog .features_items > h2.title:before {
  display: none;
}
.rv-home .rv-catalog .features_items + .features_items {
  margin-top: 45px;
  clear: both;
}
.rv-home .rv-catalog .product-image-wrapper {
  border: 1px solid #ebe5dd;
  background: #fff;
  min-height: 300px;
  margin-bottom: 25px;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.rv-home .rv-catalog .product-image-wrapper:hover {
  box-shadow: 0 12px 32px #2c211114;
  transform: translateY(-3px);
}
.rv-home .rv-catalog .productinfo img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 12px;
}
.rv-home .rv-catalog .productinfo h2 {
  color: #995b46;
  font-size: 20px;
}
.rv-home .rv-catalog .productinfo p {
  color: #292621;
  font-size: 13px;
  padding: 0 10px;
}
.rv-home .rv-catalog .add-to-cart {
  background: #28231f;
  color: #fff;
  border: 0;
  border-radius: 0;
  margin-bottom: 18px;
}
.rv-home .rv-catalog .category-products,
.rv-home .rv-catalog .brands-name {
  border-color: #ebe5dd;
}
.rv-home .rv-catalog .panel-default > .panel-heading {
  background: #fff;
}
.rv-home .rv-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f4f0e9;
  min-height: 400px;
}
.rv-home .rv-feature img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.rv-home .rv-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(30px, 6vw, 90px);
}
.rv-home .rv-feature h2 {
  font-size: clamp(36px, 4vw, 60px);
  margin: 16px 0;
}
.rv-home .rv-feature p {
  max-width: 450px;
  color: #77716b;
}
/* Restyle the actual included footer; do not replace its content or forms. */
.rv-home #footer {
  background: #211f1d;
  color: #eee9e3;
}
.rv-home #footer .footer-widget {
  background: transparent;
  padding: 60px 0 45px;
}
.rv-home #footer .footer-widget .container,
.rv-home #footer .footer-bottom .container {
  width: 100%;
  max-width: 1380px;
  padding: 0 35px;
}
.rv-home #footer .single-widget h2 {
  color: #fff;
  font:
    400 19px "Playfair Display",
    Georgia,
    serif;
  text-transform: none;
  margin: 0 0 20px;
}
.rv-home #footer .single-widget ul li a {
  color: #d2cbc4;
  background: transparent;
  font-size: 12px;
  padding: 5px 0;
}
.rv-home #footer .single-widget ul li a:hover {
  color: #fff;
}
.rv-home #footer .searchform input {
  background: #fff;
  border: 0;
  color: #222;
  width: 78%;
  padding: 11px;
}
.rv-home #footer .searchform button {
  background: #a66e56;
  color: #fff;
  border: 0;
  padding: 11px;
}
.rv-home #footer .searchform p {
  color: #bdb5ad;
}
.rv-home #footer .footer-bottom {
  background: #171615;
  border-top: 1px solid #4a4440;
  padding: 19px 0;
  color: #c6beb7;
}
.rv-home #footer .footer-bottom p {
  margin: 0;
}
@media (max-width: 991px) {
  .rv-home .rv-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rv-home #header .header-bottom .col-sm-8 {
    width: 100%;
  }
  .rv-home #header .header-bottom .col-sm-4 {
    width: 100%;
  }
  .rv-home #header .search_box {
    float: none !important;
    max-width: none;
    margin-bottom: 12px;
  }
}
@media (max-width: 767px) {
  .rv-home .rv-wrap {
    padding: 0 20px;
  }
  .rv-home .rv-hero,
  .rv-home .rv-feature {
    grid-template-columns: 1fr;
  }
  .rv-home .rv-hero img {
    min-height: 310px;
    max-height: 460px;
  }
  .rv-home .rv-hero-copy {
    padding: 45px 25px;
  }
  .rv-home .rv-feature img {
    min-height: 290px;
    max-height: 380px;
  }
  .rv-home .rv-editorial-grid {
    gap: 14px;
  }
  .rv-home .rv-tile h3 {
    font-size: 20px;
  }
  .rv-home .rv-section {
    padding: 45px 0 20px;
  }
  .rv-home .rv-catalog .container {
    padding: 0 20px;
  }
  .rv-home #footer .footer-widget .container {
    padding: 0 20px;
  }
  .rv-home #footer .single-widget {
    margin-bottom: 24px;
  }
  .rv-home #header .header-middle .container,
  .rv-home #header .header-bottom .container {
    padding: 0 20px;
  }
}

/* V3: spacious, one-line navigation and integrated search. */
.rv-home #header .header-bottom {
  position: relative;
  z-index: 40;
}
.rv-home #header .header-bottom .container {
  max-width: 1500px;
  padding: 0 24px;
}
.rv-home #header .header-bottom .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 -10px;
}
.rv-home #header .header-bottom .col-sm-8 {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0 10px;
}
.rv-home #header .header-bottom .col-sm-4 {
  flex: 0 0 270px;
  width: 270px;
  padding: 0 10px;
}
.rv-home #header .mainmenu {
  float: none !important;
}
.rv-home #header .mainmenu > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  float: none;
  margin: 0;
  padding: 0;
}
.rv-home #header .mainmenu > ul > li {
  float: none;
  flex: 0 0 auto;
  position: relative;
}
.rv-home #header .mainmenu > ul > li > a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  padding: 20px clamp(8px, 1vw, 17px);
  line-height: 24px;
}
.rv-home #header .mainmenu > ul > li > a .fa {
  margin-left: 6px;
}
.rv-home #header .mainmenu ul li .sub-menu {
  min-width: 215px;
  width: max-content;
  max-width: 310px;
  padding: 9px 0;
  top: 100%;
}
.rv-home #header .mainmenu ul li .sub-menu li {
  display: block;
  float: none;
}
.rv-home #header .mainmenu ul li .sub-menu li a {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.015em;
  line-height: 1.45;
  padding: 10px 17px;
  text-transform: none;
}
.rv-home #header .search_box {
  position: relative;
  float: none !important;
  margin: 0;
  width: 100%;
  max-width: none;
}
.rv-home #header #search {
  margin: 0;
}
.rv-home #header .search_box input {
  display: block;
  width: 100%;
  height: 43px;
  padding: 9px 48px 9px 15px;
  border: 1px solid #dcd9d4;
  border-radius: 5px;
  background: #faf9f7;
  box-shadow: none;
  font-size: 14px;
}
.rv-home #header .search_box button {
  position: absolute;
  right: 0;
  top: 0;
  height: 43px;
  width: 44px;
  border: 0;
  border-left: 1px solid #e9e5e0;
  background: transparent;
  color: #00647b;
  font-size: 16px;
  cursor: pointer;
}
.rv-home #header .search_box button:hover {
  background: #f0ece7;
}
.rv-home #header .search_box input:focus {
  outline: 2px solid #00647b;
  outline-offset: 1px;
}

/* Render existing PHP-generated brands as the new directory chips. */
.rv-home .rv-brand-directory {
  padding-top: 65px;
  padding-bottom: 70px;
}
.rv-home .rv-brand-chips {
  border: 0;
}
.rv-home .rv-brand-chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding: 0;
  margin: 0;
  float: none;
  list-style: none;
}
.rv-home .rv-brand-chips ul li {
  display: block;
  float: none;
  margin: 0;
  padding: 0;
}
.rv-home .rv-brand-chips ul li a {
  display: block;
  background: #fff;
  border: 1px solid #e1dcd6;
  color: #2b2926;
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.rv-home .rv-brand-chips ul li a:hover {
  background: #f5f0eb;
  border-color: #b8a89a;
  transform: translateY(-2px);
}
.rv-home .rv-products .rv-section-heading h2 {
  font:
    400 clamp(30px, 3vw, 44px) "Playfair Display",
    Georgia,
    serif;
  margin: 8px 0 0;
}
.rv-home .rv-products .features_items {
  display: flow-root;
}

/* Match the original new-design cinematic menswear panel. */
.rv-home .rv-feature.rv-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
  margin: 56px auto 75px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #00647b 0%,
    #164e7a 30%,
    #753486 65%,
    #d92d93 100%
  );
  color: #fff;
  min-height: 0;
}
.rv-home .rv-feature .rv-feature-copy {
  padding: clamp(28px, 5vw, 70px);
}
.rv-home .rv-feature .rv-eyebrow {
  color: #d5faff;
}
.rv-home .rv-feature h2 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.1;
}
.rv-home .rv-feature p {
  color: #f5edf7;
  font-size: 16px;
  line-height: 1.7;
}
.rv-home .rv-feature .rv-button {
  background: #fff;
  color: #00647b !important;
}
.rv-home .rv-feature .rv-button:hover {
  background: #f2f7f8;
}
.rv-home .rv-feature img {
  width: 100%;
  height: 540px;
  min-height: 0;
  object-fit: cover;
  object-position: center 30%;
}
@media (max-width: 1199px) and (min-width: 992px) {
  .rv-home #header .header-bottom .col-sm-4 {
    flex-basis: 220px;
    width: 220px;
  }
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 12px;
    padding: 19px 7px;
  }
}
@media (max-width: 991px) {
  .rv-home #header .header-bottom .row {
    display: block;
  }
  .rv-home #header .header-bottom .col-sm-8,
  .rv-home #header .header-bottom .col-sm-4 {
    width: 100%;
    padding: 0 10px;
  }
  .rv-home #header .mainmenu > ul {
    flex-wrap: wrap;
  }
  .rv-home #header .search_box {
    max-width: 100%;
    margin: 8px 0 14px;
  }
}
@media (max-width: 767px) {
  .rv-home #header .mainmenu > ul {
    display: block;
  }
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 14px;
    padding: 12px 14px;
  }
  .rv-home #header .mainmenu ul li .sub-menu {
    position: static;
    max-width: 100%;
    width: 100%;
    box-shadow: none;
  }
  .rv-home .rv-feature.rv-wrap {
    grid-template-columns: 1fr;
    margin: 35px 20px 55px;
  }
  .rv-home .rv-feature img {
    height: 370px;
    order: -1;
  }
  .rv-home .rv-brand-directory {
    padding-top: 45px;
    padding-bottom: 45px;
  }
}

/* V4: restore the original horizontal menu at every viewport width. */
.rv-home #header .header-bottom .container {
  max-width: 1500px;
}
.rv-home #header .header-bottom .row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
}
.rv-home #header .header-bottom .col-sm-8 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
}
.rv-home #header .header-bottom .col-sm-4 {
  flex: 0 0 245px !important;
  width: 245px !important;
  min-width: 0;
}
.rv-home #header .mainmenu {
  width: 100%;
  overflow: visible;
}
.rv-home #header .mainmenu > ul.navbar-nav,
.rv-home #header .mainmenu > ul.navbar-collapse,
.rv-home #header .mainmenu > ul.navbar-collapse.collapse {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
  min-width: 100%;
  height: auto !important;
  visibility: visible !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  box-shadow: none;
}
.rv-home #header .mainmenu > ul > li {
  display: block !important;
  float: none !important;
  flex: none !important;
  white-space: nowrap;
}
.rv-home #header .mainmenu > ul > li > a {
  display: block;
  white-space: nowrap;
  font-size: 14px;
  padding: 17px clamp(7px, 0.8vw, 14px);
}
.rv-home #header .mainmenu ul li .sub-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  display: none;
  z-index: 9999;
}
.rv-home #header .mainmenu ul li:hover > .sub-menu,
.rv-home #header .mainmenu ul li:focus-within > .sub-menu {
  display: block;
}
.rv-home #header .navbar-header {
  display: none;
}
.rv-home #header .search_box {
  margin: 0 !important;
}
.rv-home #header .shop-menu ul li a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 12px 13px;
  white-space: nowrap;
}
.rv-home #header .shop-menu .login-title {
  font-size: 16px;
}

/* Brand names: squared editorial labels and the source design's color-shifting hover. */
.rv-home .rv-brand-chips ul {
  gap: 10px;
}
.rv-home .rv-brand-chips ul li a {
  border: 1px solid #dedede;
  border-radius: 0 !important;
  background: #fff;
  color: #242424;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
  transform: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.rv-home .rv-brand-chips ul li a:hover,
.rv-home .rv-brand-chips ul li a:focus {
  color: #fff !important;
  background: linear-gradient(110deg, #00647b, #753486, #d92d93);
  border-color: #753486;
  transform: none;
}

/* Use the supplied new-design footer background without replacing footer.php. */
.rv-home #footer {
  background: linear-gradient(
    110deg,
    #004e64 0%,
    #173e69 35%,
    #512b70 70%,
    #832b74 100%
  );
  border-top: 6px solid #753486;
  color: #fff;
}
.rv-home #footer .footer-widget {
  background: transparent;
}
.rv-home #footer .single-widget h2 {
  color: #fff;
}
.rv-home #footer .single-widget ul li a {
  color: #f1eaf7;
}
.rv-home #footer .single-widget ul li a:hover {
  color: #fff;
  text-decoration: underline;
}
.rv-home #footer .searchform p {
  color: #e5ddeb;
}
.rv-home #footer .footer-bottom {
  background: rgba(14, 12, 35, 0.26);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1eaf7;
}

@media (max-width: 1199px) {
  .rv-home #header .header-bottom .row {
    flex-wrap: wrap !important;
  }
  .rv-home #header .header-bottom .col-sm-8 {
    flex: 1 1 100% !important;
    width: 100% !important;
    overflow-x: auto;
    overflow-y: visible;
  }
  .rv-home #header .header-bottom .col-sm-4 {
    flex: 1 1 100% !important;
    width: 100% !important;
    padding-bottom: 10px;
  }
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 14px;
    padding: 15px 12px;
  }
  .rv-home #header .search_box {
    max-width: 500px;
    margin: 4px 0 !important;
  }
}
@media (max-width: 767px) {
  .rv-home #header .header-bottom .container {
    padding: 0 12px;
  }
  .rv-home #header .mainmenu > ul > li > a {
    padding: 13px 12px;
  }
  .rv-home #header .mainmenu ul li .sub-menu {
    position: absolute !important;
    width: max-content;
    max-width: min(310px, 85vw);
    box-shadow: 0 14px 35px #24180c20;
  }
  .rv-home #header .header-middle .shop-menu {
    float: none !important;
  }
  .rv-home #header .shop-menu ul li a {
    font-size: 15px;
    padding: 10px;
  }
}

.rv-home #header .header-middle .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.rv-home #header .header-middle .row > .col-sm-4 {
  flex: 0 0 auto;
  width: auto;
}
.rv-home #header .header-middle .row > .col-sm-8 {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
.rv-home #header .header-middle .shop-menu {
  float: right !important;
}
.rv-home #header .header-middle .shop-menu > ul.nav.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  float: none !important;
  width: auto;
  margin: 0;
  padding: 0;
}
.rv-home #header .header-middle .shop-menu > ul > li {
  display: block;
  float: none !important;
  flex: 0 0 auto;
  margin: 0;
}
.rv-home #header .header-middle .shop-menu > ul > li > a,
.rv-home #header .header-middle .shop-menu > ul > li > .login-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 10px 14px;
  background: transparent;
}
.rv-home #header .header-middle .shop-menu > ul > li > a i {
  font-size: 16px;
}
.rv-home #header .header-middle .shop-menu .dropdown {
  position: relative;
}
.rv-home #header .header-middle .shop-menu .dropdown .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 120;
}
@media (max-width: 767px) {
  .rv-home #header .header-middle .row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .rv-home #header .header-middle .row > .col-sm-4,
  .rv-home #header .header-middle .row > .col-sm-8 {
    flex: 0 1 100%;
    width: 100%;
    text-align: center;
  }
  .rv-home #header .header-middle .logo {
    float: none !important;
    display: inline-block;
  }
  .rv-home #header .header-middle .shop-menu {
    float: none !important;
  }
  .rv-home #header .header-middle .shop-menu > ul.nav.navbar-nav {
    justify-content: center;
  }
  .rv-home #header .header-middle .shop-menu > ul > li > a,
  .rv-home #header .header-middle .shop-menu > ul > li > .login-title {
    font-size: 13px;
    padding: 8px 6px;
  }
}
@media (max-width: 390px) {
  .rv-home #header .header-middle .shop-menu > ul > li > a,
  .rv-home #header .header-middle .shop-menu > ul > li > .login-title {
    font-size: 12px;
    gap: 3px;
    padding: 8px 4px;
  }
}

.rv-home .rv-dress-edit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: linear-gradient(115deg, #e7f9fc, #f6e9f8);
  min-height: 470px;
  overflow: hidden;
}
.rv-home .rv-dress-edit > img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center 35%;
}
.rv-home .rv-dress-edit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(32px, 5vw, 85px);
}
.rv-home .rv-dress-edit h2 {
  font:
    400 clamp(34px, 4vw, 60px)/1.14 "Playfair Display",
    Georgia,
    serif;
  color: #22201e;
  margin: 15px 0 20px;
}
.rv-home .rv-dress-edit p {
  font-size: 16px;
  line-height: 1.7;
  color: #5c5660;
  max-width: 480px;
}
.rv-home .rv-dress-edit .rv-button {
  background: #1d1b19;
  color: #fff !important;
}
.rv-home .rv-dress-edit .rv-button:hover {
  background: #00647b;
}
@media (max-width: 767px) {
  .rv-home .rv-dress-edit {
    grid-template-columns: 1fr;
  }
  .rv-home .rv-dress-edit > img {
    height: 360px;
  }
  .rv-home .rv-dress-edit-copy {
    padding: 38px 24px 50px;
  }
}

.rv-home #header .mainmenu > ul > li > a,
.rv-home #header .mainmenu ul li .sub-menu li a,
.rv-home #header .shop-menu ul li a,
.rv-home #header .shop-menu ul li .login-title,
.rv-home .rv-section-heading > a,
.rv-home .rv-tile > span,
.rv-home #footer a,
.rv-home #footer .single-widget ul li a,
.rv-home #footer .footer-bottom a {
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
}
.rv-home #header .mainmenu > ul > li > a {
  white-space: nowrap;
}
.rv-home #header .mainmenu ul li .sub-menu li a {
  white-space: nowrap;
}
.rv-home .rv-section-heading > a,
.rv-home .rv-tile > span {
  text-transform: none;
}
.rv-home #footer a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 15px !important;
  }
}

.rv-home #header,
.rv-home #header .header-bottom,
.rv-home #header .header-bottom .container,
.rv-home #header .header-bottom .row,
.rv-home #header .header-bottom .col-sm-8,
.rv-home #header .mainmenu {
  overflow: visible !important;
}
.rv-home #header {
  position: relative;
  z-index: 2000;
}
.rv-home #header .header-bottom {
  position: relative;
  z-index: 2100;
  height: auto !important;
  min-height: 0;
}
.rv-home #header .header-bottom .row {
  height: auto !important;
  min-height: 0;
}
.rv-home #header .mainmenu > ul.nav.navbar-nav {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
}
.rv-home #header .mainmenu > ul > li {
  position: relative;
}
.rv-home #header .mainmenu > ul > li > a {
  line-height: 1.45;
}
.rv-home #header .mainmenu ul li > ul.sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0;
  z-index: 99999 !important;
  max-height: none !important;
  overflow: visible !important;
  background: #fff;
}
.rv-home #header .mainmenu ul li:hover > ul.sub-menu,
.rv-home #header .mainmenu ul li:focus-within > ul.sub-menu {
  display: block !important;
}
.rv-home #header .mainmenu ul li .sub-menu li a {
  white-space: normal;
  overflow-wrap: anywhere;
}
.rv-home #header .header-middle {
  position: relative;
  z-index: 2200;
}
@media (max-width: 1199px) {
  .rv-home #header .header-bottom .row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  .rv-home #header .header-bottom .col-sm-8,
  .rv-home #header .header-bottom .col-sm-4 {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 10px !important;
    overflow: visible !important;
  }
  .rv-home #header .mainmenu {
    width: 100%;
    height: auto !important;
  }
  .rv-home #header .mainmenu > ul.nav.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .rv-home #header .mainmenu > ul > li {
    flex: 0 0 auto !important;
    width: auto !important;
    float: none !important;
    white-space: nowrap;
  }
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 14px !important;
    padding: 12px 11px !important;
    white-space: nowrap !important;
  }
  .rv-home #header .navbar-header {
    display: none !important;
  }
  .rv-home #header .search_box {
    max-width: 500px;
    margin: 8px 0 12px !important;
  }
}
@media (max-width: 767px) {
  .rv-home #header .header-bottom .container {
    padding: 0 14px !important;
  }
  .rv-home #header .mainmenu > ul > li > a {
    font-size: 13px !important;
    padding: 10px 9px !important;
  }
  .rv-home #header .mainmenu ul li > ul.sub-menu {
    max-width: min(310px, 90vw) !important;
  }
  .rv-home #header .mainmenu > ul > li:nth-last-child(-n + 2) > ul.sub-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1199px) {
  .rv-home #header .header-bottom .mainmenu,
  .rv-home #header .header-bottom .mainmenu > ul,
  .rv-home #header .header-bottom .mainmenu > ul.nav.navbar-nav,
  .rv-home #header .header-bottom .mainmenu > ul.navbar-collapse,
  .rv-home #header .header-bottom .mainmenu > ul.navbar-collapse.collapse {
    background: #fff !important;
    background-color: #fff !important;
  }
}
/* Dropdown links only: 1px smaller than the existing 16px typography. */
.rv-home #header .mainmenu ul li .sub-menu li a,
.rv-home #header .shop-menu ul li .sub-menu li a {
  font-size: 15px !important;
}

@media (max-width: 1199px) {
  .rv-home #header .header-bottom .mainmenu > ul > li,
  .rv-home #header .header-bottom .mainmenu > ul.navbar-nav > li,
  .rv-home #header .header-bottom .mainmenu > ul > li:first-child,
  .rv-home #header .header-bottom .mainmenu > ul > li:last-child {
    background: #fff !important;
    background-color: #fff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .rv-home #header .header-bottom .mainmenu > ul > li > a {
    color: #333 !important;
    background: transparent !important;
  }
  .rv-home #header .header-bottom .mainmenu > ul > li > a:hover,
  .rv-home #header .header-bottom .mainmenu > ul > li > a.active {
    color: #a64c70 !important;
  }
  .rv-home #header .header-bottom .mainmenu ul li > ul.sub-menu,
  .rv-home #header .header-bottom .mainmenu ul li > ul.sub-menu li {
    background: #fff !important;
    background-color: #fff !important;
  }
}

@media (max-width: 1199px) {
  .rv-home #header .header-bottom .mainmenu li.dropdown > a > .fa-angle-down {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    margin-left: 7px;
    font-size: 0.85em;
    line-height: 1;
    vertical-align: baseline;
    color: inherit;
  }
}

.login-title {
  padding-top: 30px !important;
}

.rv-home #header .header-middle {
  padding: 0 !important;
}

.shop-menu ul li {
  padding-left: 0 !important;
}

@media (max-width: 767px) {
  .rv-home .rv-section {
    padding: 65px 10px 10px !important;
  }
}

@media screen and (max-width: 991px) {
  .rv-home section.rv-wrap.rv-section,
  .rv-home .rv-wrap.rv-section {
    padding: 65px 10px 10px !important;
    box-sizing: border-box;
  }
}
.rv-home #footer .footer-widget .rv-footer-copyright {
  clear: both;
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font:
    400 14px/1.6 "DM Sans",
    sans-serif;
  color: #f1eaf7;
}

.rv-home #footer .footer-widget .rv-footer-intro .rv-footer-brand {
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.rv-home #footer .footer-widget .rv-footer-description {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 310px;
  color: inherit;
}
@media (min-width: 992px) {
  .rv-home #footer .footer-widget .rv-footer-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .rv-home #footer .footer-widget .rv-footer-columns > .rv-footer-intro {
    width: 25%;
  }
  .rv-home #footer .footer-widget .rv-footer-columns > .col-sm-2 {
    width: 13%;
  }
  .rv-home #footer .footer-widget .rv-footer-columns > .rv-footer-subscribe {
    width: 23%;
    margin-left: 0;
  }
}
@media (max-width: 991px) {
  .rv-home #footer .footer-widget .rv-footer-intro {
    margin-bottom: 20px;
  }
  .rv-home #footer .footer-widget .rv-footer-subscribe {
    margin-left: 0;
  }
}

.rv-home #footer .footer-widget {
  margin-bottom: 0 !important;
}
.rv-home #footer .footer-widget > .container {
  border-top: 0 !important;
}
.rv-home #footer .footer-widget .single-widget ul li a,
.rv-home #footer .footer-widget .rv-footer-description,
.rv-home #footer .footer-widget .searchform p {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
.rv-home #footer .footer-widget .single-widget h2 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.3;
}


/* V17: truncate overly long navigation labels with an ellipsis.
   Keep existing PHP menus, dropdown arrows and the user's footer styles. */
.rv-home #header .mainmenu ul li .sub-menu li a,
.rv-home #header .shop-menu ul li .sub-menu li a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  overflow-wrap: normal;
}
.rv-home #header .mainmenu ul li .sub-menu {
  max-width: min(310px, 90vw);
}
/* Limit long top-level labels, while leaving dropdown arrows visible. */
.rv-home #header .mainmenu > ul > li:not(.dropdown) > a {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .rv-home #header .mainmenu > ul > li:not(.dropdown) > a {
    max-width: 165px;
  }
}

/* V18: tighter vertical spacing between dropdown menu links. */
.rv-home #header .mainmenu ul li .sub-menu li a,
.rv-home #header .shop-menu ul li .sub-menu li a {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  line-height: 1.3 !important;
}

/* V18: tighter vertical spacing between dropdown menu items. */
.rv-home #header .mainmenu ul li .sub-menu li a,
.rv-home #header .shop-menu ul li .sub-menu li a {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  line-height: 1.3 !important;
}
