ul {
  list-style: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
.text-a {
  text-decoration: none;
}
.wd-header {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wd-header-cont {
  width: 100%;
  max-width: 1440px;
  display: flex;
  padding: 29px 140px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.wd-header-logo img {
  width: 176px;
  height: 50.903px;
  flex-shrink: 0;
}
.wd-header-nav-user {
  display: flex;
  gap: 6px;
  align-items: center;
}
.wd-header-nav-user img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.wd-header-item {
  list-style: none;
}
.wd-header-nav-item-mobile {
  display: none;
}
.wd-header-nav-item-mobile-close {
  display: none;
}
.wd-header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.wd-header-nav-item {
  cursor: pointer;
  color: #3f3a36;
  text-align: right;
  font-family: "Averta Std CY";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
  display: inline-block;
  padding: 5px 0px;
}
/* .wd-header-nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 0;
  background-color: #000;
  transition: width 0.3s ease;
}

.wd-header-nav-item:hover::after {
  width: 100%;
} */
.wd-banner {
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.wd-banner-home {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
}
.wd-banner-cont {
  max-width: 600px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 200px;
  margin-bottom: 152px;
  z-index: 110;
}
.wd-banner-title {
  color: #fff;
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.wd-banner-subtitle {
  margin-top: 10px;
  max-width: 350px;
  color: #fff;
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.wd-banner-btn:hover {
  opacity: 0.8;
}
.wd-banner-btn {
  margin-top: 40px;
  display: inline-flex;
  padding: 20px 60px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: none;
  color: #000;
  font-family: "Averta Std CY";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}
.wd-banner-detail-title {
  color: #fff;
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.wd-banner-text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.wd-banner-name {
  color: #fff;
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-top: 30px;
}
.wd-banner-detail-date {
  margin-top: 30px;
  color: #fff;
  text-align: center;
  font-family: "Averta Std CY";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
#wd-menu-login {
  display: flex;
  align-items: center;
  gap: 10px;
}
#wd-menu-login .wd-logout-link {
  font-size: 14px;
  color: #f00;
  text-decoration: none;
}
.wd-user-dropdown {
  position: relative;
  cursor: pointer;
}
/* .wd-user-toggle:hover + .wd-user-dropdown-menu {
  display: flex;
  flex-direction: column;
} */
.wd-user-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wd-user-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  border-radius: 6px;
  z-index: 999;
  min-width: 150px;
}
.wd-user-dropdown-menu.active {
  display: flex;
  flex-direction: column;
}

.wd-user-dropdown-menu li {
  list-style: none;
  padding: 8px 16px;
}

.wd-user-dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.wd-user-dropdown-menu {
  display: none;
}

.wedding-edit-card_page {
  position: relative;
}
.wd-edit-cont {
  position: fixed;
  left: 20px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wd-edit-cont-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wd-edit-cont-item-icon {
  display: flex;
  padding: 17px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.wd-edit-cont-item-icon.close {
  background: #b48c72;
}
.wd-edit-item-p {
  display: flex;
  width: 120px;
  padding: 10px 0px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  background: #fff;
  color: #3f3a36;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  line-height: normal;
}
.wd-edit-item-p.active {
  background: #b48c72;
  color: #fff;
}
.wd-edit-extra {
  display: none;
}
.wd-edit-extra.active {
  display: flex;
}
.toggle-only {
  cursor: pointer;
}
.upload-image-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: none;
  width: 254px;
  padding: 20px 10px;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Averta Std CY";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.upload-image-btn.active {
  display: flex;
  flex-wrap: wrap;
}
.upload-banner-btn {
  top: auto;
  left: auto;
  bottom: 20px;
  right: 10px;
  transform: none;
}
.editable-img {
  position: relative;
}
.editable-text {
  border: 1px solid transparent;
  text-transform: uppercase;
}
.editable-text.editing-active {
  border: 1px solid #e971bd;
  outline: none;
}
.wd-couple-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wd-couple-img-overlay.select {
  background-color: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 992px) {
  .wd-header-cont {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
  }
  .wd-header-logo img {
    width: 128.002px;
    height: 36.999px;
    flex-shrink: 0;
    aspect-ratio: 128/37;
  }
  .wd-header-nav-item-mobile {
    display: block;
  }
  .wd-header-nav {
    flex-direction: column;
  }
  .wd-header-nav {
    position: absolute;
    right: 0;
    top: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px;
    gap: 0px;
    display: none;
    z-index: 1000;
  }
  .wd-header-nav.active {
    display: flex;
    /* hoặc transform: translateX(0); */
  }
  .wd-header-item.close {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .wd-header-nav .wd-header-nav-item {
    width: 100%;
    text-align: start;
    padding: 10px 0;
  }
  .wd-header-nav-item-mobile-close {
    display: block;
    width: 25px;
    margin-bottom: 10px;
  }
  .wd-banner-title {
    max-width: 100%;
    color: #fff;
    text-align: center;
    font-family: "Averta Std CY";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
  .wd-banner-subtitle {
    margin-top: 20px;
    max-width: 100%;
    color: #fff;
    text-align: center;
    font-family: "Averta Std CY";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  .wd-banner-btn {
    margin-top: 20px;
    display: inline-flex;
    padding: 16px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #000;
    font-family: "Averta Std CY";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  /* .wd-banner-cont {
    margin-top: 110px;
    margin-bottom: 78px;
  } */
  .wd-banner-detail-title {
    font-size: 16px;
  }
  .wd-banner-name-detail {
    font-size: 24px;
  }
  .wd-banner-detail-date {
    font-size: 16px;
  }
  img.wd-white-and {
    width: 25px;
  }
  .wd-edit-cont {
    left: 20px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .wd-edit-cont-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .wd-edit-cont-item-icon {
    display: flex;
    width: auto;
    height: auto;
    padding: 10px;
    align-items: center;
    gap: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .wd-edit-cont-item-icon.close {
    background: #b48c72;
  }
  .wd-edit-item-p {
    display: flex;
    width: 120px;
    padding: 5px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: #fff;
    color: #3f3a36;
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .wd-edit-extra {
    display: none;
  }
  .toggle-only {
    cursor: pointer;
  }
  .upload-banner-btn {
    padding: 10px 5px;
    width: auto;
  }
  .upload-image-btn {
    width: auto;
    padding: 10px 5px;
  }
  .wd-user-dropdown-menu {
    right: -20px;
    min-width: 155px;
  }
}
@media screen and (max-width: 768px) {
  .wd-banner {
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
  }
}
@media screen and (max-width: 450px) {
  .wd-banner-cont {
    margin-top: 100px;
  }
}
@media screen and (max-width: 300px) {
  .wd-banner-cont {
    margin-top: 50px;
    margin-bottom: 90px;
  }
}
