/* ===================================
   1. SAFE MODERN RESET (Layout-Safe)
   =================================== */
:where(
    :not(
        html,
        iframe,
        canvas,
        img,
        svg,
        video,
        audio,
        svg *,
        symbol *,
        div,
        header,
        nav,
        main,
        section,
        article,
        aside,
        footer
      )
  ) {
  all: unset;
  display: revert;
}

/* Re-establish block display for layout */
div,
header,
nav,
main,
section,
article,
aside,
footer {
  display: block;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

a,
button {
  cursor: revert;
}

menu,
ol,
ul,
summary {
  list-style: none;
}
ol {
  counter-reset: revert;
}

img {
  max-inline-size: 100%;
  max-block-size: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
  user-select: auto;
}
textarea {
  white-space: revert;
}

meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  appearance: revert;
}

:where(pre) {
  all: revert;
  box-sizing: border-box;
}

::placeholder {
  color: unset;
}

:where([hidden]) {
  display: none !important;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  line-break: after-white-space;
  -webkit-user-select: auto;
  user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

::-webkit-details-marker {
  display: none;
}

div,
header,
nav,
main,
section,
article,
aside,
footer {
  display: block;
}
/* ===================================
   2. FONT & GLOBAL VARIABLES
   =================================== */
@font-face {
  font-family: "Neue Montreal";
  font-style: normal;
  font-weight: 500;
  src: url(../../../fonts/NeueMontreal-Medium.otf) format("opentype");
  font-display: swap;
}

:root {
  --font-primary: "Neue Montreal", system-ui, -apple-system, sans-serif;
  --font-color-hover: #03134c;
  --font-color: #a8a9ae;
  --font-color-yellow: #ac864d;
  --border-color: hsla(0, 0%, 85%, 0.51);
  --font-color-white: white;
  --form-bg:#f9f9f9;
  font-size: 2.6666666667vw;
}
@media (min-width: 768px) {
  :root {
    font-size: 0.5208333333vw;
  }
}
/* Apply font globally (after reset) */
*,
*::before,
*::after {
  font-family: var(--font-primary);
  box-sizing: border-box;
}

/* ===================================
   3. TYPOGRAPHY SYSTEM
   =================================== */
.h1,
.h2,
.h3,
.h4,
.h5,
p,
.p-small {
  font-style: normal;
  font-weight: 500;
  letter-spacing: normal;
  line-height: normal;
}

.h1 {
  font-size: 8.1077rem;
  letter-spacing: -0.4054rem;
  line-height: 77%;
  text-transform: uppercase;
}

.h2 {
  font-size: 5.2rem;
  letter-spacing: -0.22rem;
  line-height: 100%;
}
.h2 .line {
  margin-bottom: -1rem;
  padding-bottom: 1rem;
}
.h2 strong {
  color: var(--font-color);
}

.h3 {
  font-size: 3.8rem;
  letter-spacing: -0.076rem;
  line-height: 85%;
}

.h4 {
  font-size: 2.8rem;
  letter-spacing: -0.028rem;
  line-height: 98%;
}

.h5 {
  font-size: 1.6rem;
  letter-spacing: -0.016rem;
  line-height: 98%;
}

p {
  font-size: 1.4rem;
  line-height: 114%;
}
p strong {
  color: var(--font-color-hover);
}

.p-small {
  font-size: 1.2rem;
  line-height: 98%;
}

/* Desktop Typography */
@media (min-width: 768px) {
  .h1 {
    font-size: 26rem;
    letter-spacing: -1.3rem;
  }
  .h2 {
    font-size: 15rem;
    letter-spacing: -0.75rem;
  }
  .h2 .line {
    margin-bottom: -2rem;
    padding-bottom: 2rem;
  }
  .h3 {
    font-size: 9rem;
    letter-spacing: -0.18rem;
  }
  .h4 {
    font-size: 5rem;
    letter-spacing: -0.05rem;
  }
  .h5 {
    font-size: 3.8rem;
    letter-spacing: -0.038rem;
  }
  p {
    font-size: 2.4rem;
    letter-spacing: -0.024rem;
  }
  .p-small {
    font-size: 1.8rem;
    letter-spacing: -0.018rem;
  }
}

/* ===================================
   4. BUTTON COMPONENT
   =================================== */
.button {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: 4.1rem;
  width: max-content;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.button span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.25rem;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.014rem;
  line-height: 98%;
  border-radius: 0.42rem;
  position: relative;
  transition: border-radius 0.3s ease;
}

.button span:last-child {
  aspect-ratio: 1 / 1;
}

.button span svg {
  width: 0.8rem;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Variants */
.button--white span {
  background: #fff;
  color: var(--font-color-hover);
}
.button--light-grey span {
  background: var(--form-bg);
  color: var(--font-color-hover);
}
.button--blue {
  background: transparent;
}
.button--blue span {
  background: var(--font-color-hover);
  color: var(--font-color-white);
}

/* Hover */
.button:hover {
  gap: 0;
}
.button:hover span:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.button:hover span:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.button:hover span:last-child svg {
  transform: rotate(-45deg);
}

/* Desktop Button */
@media (min-width: 768px) {
  .button {
    gap: 0.5rem;
    height: 8rem;
  }
  .button span {
    padding: 3rem;
    font-size: 1.8rem;
    letter-spacing: -0.018rem;
    border-radius: 0.8rem;
  }
  .button span svg {
    width: 1.5rem;
  }
}

/* ===================================
   5. SOCIALS & FOOTER
   =================================== */
.socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  height: 84px;
  width: 100%;
  margin-top: 3rem;
  flex-wrap: nowrap;
}

#nav_menu .socials {
  width: 55%;
}

.socials > li > a {
  aspect-ratio: 1 / 1;
  height: 100%;
  flex-shrink: 0;
  display: block;
}

.socials > li > a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nav_header__socials > li:nth-child(2) > a:nth-child(1) {
  display: none;
}
@media (hover: hover) {
  .socials > li > a:hover img {
    transform: scale(1.1);
  }
}

@media (min-width: 768px) {
  .socials {
    gap: 0.5rem;
  }
}

/* ===================================
   6. LAYOUT & ACCESSIBILITY
   =================================== */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#masthead {
  align-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0003;
  display: flex;
  justify-content: center;
  left: 0;
  opacity: 1;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  padding: 0 3rem;
  width: 100%;
  height: 7vw;
  min-height: 60px;
  align-content: center;
  flex-direction: row;
}
.nav_header__button:nth-child(1) {
  width: 28rem;
}

#nav_button {
  display: flex;
  background-color: white;
  border-radius: 1rem;
  width: 7rem;
  height: 6rem;
  align-items: center;
  justify-content: center;
}
#nav_header__inner {
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0;
  align-items: center;
  margin: 0;
}
#nav_header__logo {
  display: block;
  width: 11vw;
  height: 4vw;
  margin-left: 9vw;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
}

#mobile_overlay {
  display: none;
  position: absolute;
  top: 13px;
  left: 13px;
  width: 14.5rem;
  z-index: 234;
}
#nav_menu .menu-item h3,
#nav_menu .nav__inner-item h3 {
  color: var(--font-color);
  font-size: 4.6rem;
  width: 85%;
}

#nav_menu .menu-item:hover > a > h3,
#nav_menu .nav__inner-item:hover > a > h3 {
  color: var(--font-color-hover);
}

#nav_menu .menu-item-ceramic:hover > a > h3,
#nav_menu .menu-item-ceramic .nav__inner-item:hover > a > h3 {
  color: var(--font-color-yellow);
}

#nav_menu.is_closed {
  animation: menu_close 0.3s ease-in-out forwards;
}

/* -------------------------------------------------
   OPEN → full size & visible
   ------------------------------------------------- */
#nav_menu.is_open {
  display: block;
  animation: menu_open 0.3s ease-in-out forwards;
}
#nav_menu.is_open #nav_close_button {
  position: absolute;
  top: 0;
  left: 0;
  width: 8rem;
  height: 8rem;
  background-color: #f9f9f9;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* -------------------------------------------------
   Keyframes
   ------------------------------------------------- */
@keyframes menu_open {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes menu_close {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0);
    opacity: 0;
  }
}

/* optional – hide pointer events when closed */
#nav_menu.is_closed {
  pointer-events: none;
}

/* -------------------------------------------------
   3. The keyframes – the *only* thing that changes
   ------------------------------------------------- */
@keyframes scale_open {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#nav_menu svg {
  flex-shrink: 0;
  height: 3vw;
  width: 3vw;
}

#nav_menu svg rect {
  transition: fill 0.4s ease;
}

#nav_menu svg path {
  transform-origin: center;
  transition: stroke 0.4s ease, transform 0.6s ease;
}

#nav_menu rect {
  transform-origin: center;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

#nav_menu.is_open .nav_menu-icon .top {
  transform: translateY(6px) rotate(45deg);
}
#nav_menu.is_open .nav_menu-icon .middle {
  opacity: 0;
}
#nav_menu.is_open .nav_menu-icon .bottom {
  transform: translateY(-6px) rotate(-45deg);
}
.nav_header__list {
  display: flex;
  width: 88%;
  flex-direction: column;
  align-content: space-between;
  justify-content: center;
  background-color: white;
  margin-top: 8rem;
  margin-left: 2rem;
}

#masthead .menu_entry {
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
  width: 35vw;
  justify-content: space-between;
  margin: 0.5px;
  border-bottom: 0.1rem solid var(--border-color);
  background-color: white;
  padding: 5px;
}

#masthead .menu_entry > div {
  user-select: none;
}

/* Optional: Prevent body scroll when menu is open */
#menu_open {
  overflow: hidden;
}
#nav_menu {
  display: block;
  position: fixed;
  top: 13px;
  left: 13px;
  width: 52vw;
  padding: 2rem;
  background: white;
  border-radius: 6px;
  color: var(--font-color);
  font-size: 3vw;
  transform-origin: left top;
  z-index: 101;
  transform: scale(0);
  opacity: 0;
}
#nav_menu .menu-item,
.nav__inner-item {
  width: 100%;
  color: var(--font-color);
  padding: 1rem;
  margin: 1px;
  border-bottom: 0.1px solid var(--border-color);
}

#nav_menu .menu-item a,
.nav__inner-item a {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  font-style: normal;
  font-weight: 500;
  line-height: 90%;
  transition: color 0.3s ease;
}

.nav__submenu {
  display: none;
}

#nav_menu .menu-item:hover > .nav__submenu,
#nav_menu .menu-item.active > .nav__submenu {
  display: block;
}

/* 1. Parent <li> must be position relative */
#nav_menu .menu-item-has-picture,
#nav_menu .menu-item-has-links {
  overflow: visible;
}
/* 2. Invisible bridge — LETS POINTERS PASS THROUGH */
#nav_menu .menu-item-has-picture:hover::after,
#nav_menu .menu-item-has-links:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 80%; /* Start at right edge of <li> */
  width: 45vw; /* Full gap width */
  height: 100%; /* Full height */
  z-index: 1;
  pointer-events: none; /* THIS IS KEY */
  background: transparent;
  /* Debug: background: rgba(0, 255, 0, 0.1); */
}

.hero-section__video-watch {
  transition: all 0.3s ease-in-out;
  width: 20rem;
  height: 20rem;
  opacity: 1;
}
.hero-section__video-watch.is-zoomed {
  transition: all 0.3s ease-in-out;
  position: fixed;
  width: calc(100vw - 40px);
  height: calc(100vh - 105px);
  bottom: 10px;
  right: 10px;
  z-index: 99;
}
#trigger_zoom {
  width: 100%;
  height: calc(100% - 40px);
  margin-top: 1px;
  border-radius: 6px;
  overflow: hidden;
}
#video-hero {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video fills the container */
  object-position: center; /* Centers the video within the container */
}

.nav__submenu {
  position: absolute;
  top: 0;
  right: -42vw;
  width: 100%;
  height: 100%;
  background-color: white;
  padding: 20px 20px 20px 50px;
  border-radius: 0 12px 12px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Disabled by default */
  transition: right 0.3s ease, opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
#nav_menu .menu-item:hover > .nav__submenu {
  right: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* NOW it captures hover & clicks */
  right: -44vw;
  opacity: 1;
  display: flex;
  flex: 1;
}
.login-section:has(#perfect-form),
.login-section.login-section--collection:has(#perfect-form) .product-form {
  /*display: none;*/
}
.login-section--model:has(.product-form) {
  display: none;
}

.nav__inner-picture {
  height: 100%;
  width: 100%;
  background-color: grey;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-top: 2rem;
}
#nav_header_m_logo {
  display: none;
}
#nav_header__left {
  z-index: 10;
}
.nav__inner-links,
.nav__links,
.nav__list {
  display: flex;
  flex-direction: column;
}
.nav__inner-links > li > a,
.nav__links > li > a,
.nav__list > li > a {
  align-items: center;
  color: var(--font-color-hover);
  display: flex;
  font-style: normal;
  font-weight: 500;
  justify-content: space-between;
  letter-spacing: -0.016rem;
  line-height: 85%;
  padding: 0.3rem 0;
  transition: color 0.4s ease;
}

#nav_menu .menu-item:hover > a > svg rect,
.menu-item .nav__inner-item:hover > a > svg rect {
  fill: var(--font-color-hover);
}

#nav_menu .menu-item-ceramic:hover > a > svg rect,
.menu-item-ceramic .nav__inner-item:hover > a > svg rect {
  fill: var(--font-color-yellow);
}
#nav_close_button {
  gap: 0;
  height: 4rem;
  margin: 0;
}
#nav_close_button svg {
  flex-shrink: 0;
  height: 3rem;
  width: 3rem;
  color: black;
}
#nav_menu .menu-item:hover > a > svg path,
.menu-item .nav__inner-item:hover > a > svg path {
  stroke: #fff;
  transform: none;
  transform: rotate(-45deg);
}
.nav_header__button span:first-child {
  width: 19.8rem;
}
.modern-section__gif {
  display: none;
}

.skip-link {
  display: none;
}

.ceramic-article__img {
  display: none;
  opacity: 0;
}
.ceramic-article__img.active {
  display: inline-block;
  opacity: 1;
}

.wpforms-field input {
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 98%;
  width: 100%;
}
.wpforms-field input::-moz-placeholder {
  opacity: 0.5;
}
.wpforms-field input::placeholder {
  opacity: 0.5;
}
.wpforms-field select {
  align-items: center;
  display: flex;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  height: 100%;
  width: 100%;
}

.wpforms-field-select:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><rect x="0.651367" y="0.325928" width="27.3482" height="27.3482" rx="13.6741" fill="%2303134C"/><path d="M13.9619 16.735V10.8096H15.1408V16.735H13.9619ZM11.5908 14.3596V13.1806H17.5163V14.3596H11.5908Z" fill="%23F9F9F9"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 2.7348rem;
  pointer-events: none;
  position: absolute;
  right: 0.5rem;
  width: 2.7348rem;
}
@media (min-width: 768px) {
  .wpforms-field-select:after {
    height: 3.6464rem;
    width: 3.6464rem;
    right: 0;
  }
  .wpforms-field input,
  .wpforms-field select {
    font-size: 1.8rem;
    letter-spacing: -0.018rem;
  }
}
/* 
.wpforms-field-select.open:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><rect width="27.3482" height="27.3482" rx="13.6741" fill="white"/><path d="M13.3105 14.0334V12.8544L13.9022 12.8545H14.4895V14.0334H13.3105ZM10.9395 14.0334V12.8545H16.8649V14.0334H10.9395Z" fill="black"/></svg>');
} */
.wpforms-field-textarea {
  align-items: start;
  display: flex;
  height: 14.8rem;
  padding: 2.4rem 2rem;
}
.wpforms-field-textarea textarea {
  color: #03071680;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: 98%;
  width: 100%;
}

.wpforms-field-description {
  display: block;
}

.wpforms-layout-row {
  display: flex;
}
.wpforms-layout-column {
  width: 100%;
  margin: 1rem;
}
.wpforms-field-layout {
  position: relative;
  padding: 0;
}

/* Labels - Move above inputs */
.wpforms-field-label {
  display: block;
  color: var(--font-color);
  font-size: 1.1rem;
  opacity: 1;
  position: absolute;
  left: 00;
  bottom: 48%;
  width: 100%;
  text-align: right;
  padding-right: 3rem;
}
.wpforms-field-sublabel,
.wpforms-field-address legend {
  display: none;
}
.iti__country-container {
  display: none;
}
.wpforms-label-hide {
  display: none;
}
.wpforms-submit-container {
  display: flex;
  flex-direction: row;
  position: relative;
  bottom: 20rem;
  left: 0;
  width: 22rem;
  transition: width 0.3s ease;
  bottom: 0rem;
  left: 0rem;
  /* height: 5rem; */
  position: relative;
}
.contact-section .swiper-wrapper {
  height: 100%;
}
.contact-section form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.blue_bg_form .wpforms-form {
  background: #03134c;
}
/* Button */
.wpforms-submit {
  width: 100%;
  height: 8.2rem;
  background: #03134c;
  color: #f9f9f9;
  border-radius: 0.8rem;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: #03134c;
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
/* Inverted styles */

.blue_bg_form .wpforms-submit {
  color: #03134c;
  background: var(--form-bg);
}

/* Hide spinner */
.wpforms-submit-spinner {
  display: none !important;
}
@media (max-width: 768) {
  .wpforms-submit-container {
    width: 74%;
  }
}

/* Inject SVG Arrow */
.wpforms-submit-container::after {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 11 10' fill='none'><path d='M1.58097 0.76513L9.60164 8.78581M9.60164 8.78581L9.60164 0.364096M9.60164 8.78581L1.17993 8.78581' stroke='%23F9F9F9' stroke-width='1.76569'/></svg>");
  transition: left 0.3s ease;
  position: absolute;
  top: 0px;
  left: 22.5rem;
  width: 8.2rem;
  height: 8.2rem;
  margin: auto;
  background: #03134c;
  border-radius: 0.7063rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-origin: center;
  z-index: 1;
  filter: drop-shadow(0 0 0); /* Optional: fix rendering */
}

.wpforms-submit-container:hover .wpforms-submit-container::after {
  transform: rotate(-45deg);
}
.wpforms-field,
.wpforms-field input {
  background: none;
}
/* Inverted arrow */

.blue_bg_form .wpforms-submit-container:after {
  background: var(--form-bg);
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 11 10' fill='none'><path d='M1.58097 0.76513L9.60164 8.78581M9.60164 8.78581L9.60164 0.364096M9.60164 8.78581L1.17993 8.78581' stroke='%2303134c' stroke-width='1.76569'/></svg>");
}

/* Hover: Rotate arrow */
.wpforms-submit-container:hover::after {
  left: 21rem;
}

.blue_bg_form .wpforms-submit-container::after {
  background: var(--form-bg);
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='10' viewBox='0 0 11 10' fill='none'><path d='M1.58097 0.76513L9.60164 8.78581M9.60164 8.78581L9.60164 0.364096M9.60164 8.78581L1.17993 8.78581' stroke='%2303134c' stroke-width='1.76569'/></svg>");
}

.blue_bg_form .wpforms-submit {
  background: var(--form-bg);
  color: #03134c;
}

.faq-card__body {
  width: 90%;
}
.button-next,
.button-prev {
  cursor: pointer;
}

/* ====================================
   WPForms - Custom Styling
   ==================================== */

/* Container & Form */
.wpforms-form {
  max-width: 100%;
  margin: 0 auto;
  font-family: inherit;
}
.wpforms-field {
  border-radius: 0.8rem;
  height: auto;
  padding: 0 4.4rem;
  position: relative;
  min-height: 8rem;
  align-items: center;
  background: var(--form-bg);
  color: var(--font-color-hover);
  display: flex;
  margin: 0;
  width: 100%;
}

/* Field Container */
.wpforms-field-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  height: 100%;
}

.blue_bg_form .wpforms-field {
  background: #112056;
}
.wpforms-field-textarea {
  align-items: start;
  display: flex;
  height: 14.8rem;
  padding: 2.4rem 2rem;
}

@media (min-width: 768px) {
  .contact-section .swiper-wrapper {
    height: 145rem;
  }
  .contact-section__swiper-img {
    height: 100%;
  }
  /* All Fields */
  .wpforms-field {
    min-height: 6rem;
  }
  .wpforms-field-textarea {
    align-items: start;
    display: flex;
    height: 13.8rem;
    padding: 3.4rem 4.4rem;
  }
  .wpforms-field-container {
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2.2rem;
  }
}
.wpforms-field label.wpforms-label-hide {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Input, Select, Textarea */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="url"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field select,
.wpforms-field-medium {
  width: 100%;
  height: 100%;
  padding: 2.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  border: none;
  background-color: var(--form-bg);
}

.wpforms-field select,
.wpforms-field-medium {
  padding: 0.75rem 1rem;
}

.wpforms-field input:focus,
.wpforms-field select:focus {
  outline: none;
  border-color: #03134c;
  box-shadow: 0 0 0 3px rgba(3, 19, 76, 0.1);
}
.wpforms-field select.wpforms-field-address-country {
  color: var(--font-color);
}
/* Required asterisk */
.wpforms-required-label {
  color: #d63638;
}
.blue_bg_form .wpforms-field input[type="text"],
.blue_bg_form .wpforms-field input[type="email"],
.blue_bg_form .wpforms-field input[type="url"],
.blue_bg_form .wpforms-field input[type="tel"],
.blue_bg_form .wpforms-field input[type="number"],
.blue_bg_form .wpforms-field select,
.blue_bg_form .wpforms-field-medium,
.blue_bg_form .wpforms-field-medium::placeholder {
  background: #112056;
  color: white;
}
/* Field Description */
.wpforms-field-description {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Address Field - Fix Layout */
.wpforms-field-address fieldset {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.wpforms-field-address legend {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-size: 1.1rem;
  padding: 0;
}

/* Address Rows */
.wpforms-field-row {
  margin-bottom: 1rem;
}

.wpforms-field-row-block {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

/* Two-column layout for City/State & ZIP/Country */
.wpforms-field-row .wpforms-one-half {
  width: 100%;
  float: none;
  display: block;
}

/* Desktop: 2-column for City/State and ZIP/Country */
@media (min-width: 768px) {
  .wpforms-field-row .wpforms-one-half {
    width: 48%;
    float: left;
    margin-right: 4%;
  }
  .wpforms-field-row .wpforms-one-half.wpforms-first {
    margin-right: 4%;
  }
  .wpforms-field-row .wpforms-one-half:last-child,
  .wpforms-field-row .wpforms-one-half.wpforms-first + .wpforms-one-half {
    margin-right: 0;
  }
  .wpforms-field-row::after {
    content: "";
    display: table;
    clear: both;
  }
}

.wpforms-submit:active {
  transform: translateY(0);
}
.wpforms-field-file-upload {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  height: 20rem;
  font-size: 1.8rem;
}

.wpforms-field-file-upload .wpforms-field-label {
  display: none;
}
.wpforms-field-file-upload .wpforms-field-description {
  font-size: 1.8rem;
}
.dz-message {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.blue_bg_form .dz-message {
  background: #112056;
  color: white;
}
/* Spinner */
.wpforms-submit-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.75rem;
}

/* Hide Honeypot & Spam Fields */
#wpforms-3294-field_5-container,
#wpforms-3294-field_6-container {
  position: absolute !important;
  left: 0 !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Error Messages */
.wpforms-error {
  color: #d63638;
  font-size: 0.875rem;
  margin-top: 0.4rem;
}

/* Noscript Warning */
.wpforms-error-noscript {
  background: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ffeaa7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Optional: Add subtle background to form */
.wpforms-form {
  border-radius: 1rem;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10rem;
}

.nav_header__socials a:empty {
  display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .wpforms-field-row-block {
    margin-bottom: 1rem;
  }

  .modern-section__gif {
    height: 7rem;
    display: inline-block;
  }

  #nav_menu {
    position: fixed;
    top: 12px;
    left: 12px;
    width: calc(10vw - 24px); /* fallback */
    padding: 2rem;
    background: white;
    border-radius: 6px;
    color: var(--font-color);
    font-size: clamp(14px, 3vw, 18px); /* responsive but stable font */
    transform-origin: left top;
    z-index: 101;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease; /* smooth show/hide */
    box-sizing: border-box;
  }

  #nav_menu .socials {
    gap: 5px;
    height: 45px;
    width: 50%;
    margin-top: 3rem;
    flex-direction: row-reverse;
  }

  #nav_menu .menu-item h3,
  #nav_menu .nav__inner-item h3 {
    font-size: 1.6rem;
    width: 100%;
    line-height: 90%;
  }
  #nav_menu .menu-item .nav__inner-item {
    padding: 3px;
    margin: 1px;
  }
  #nav_menu svg {
    width: 9%;
    height: 100%;
  }
  #nav_header__logo {
    width: 200px;
    height: 30px;
    display: block;
    width: 140px; /* Adjust to your logo size */
    height: 40px; /* Adjust to your logo size */
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; /* Hide text for screen readers */
    overflow: hidden;
  }
  #nav_header__nav {
    width: auto;
    margin-top: 2rem;
  }
  #masthead {
    width: 100vw;
    height: 90px;
    flex-direction: column;
    padding: 1rem 1.4rem;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: center;
  }
  .nav__submenu {
    flex-direction: column;
    background-color: white;
    transform: scale(0);
    padding: 0;
  }

  #masthead .menu_entry {
    flex-direction: column;
    width: 100%;
    margin: 0.5px;
    border-bottom: 0.5px solid var(--border-color);
    background: white;
    color: var(--font-color);
    padding: 5px;
  }
  #nav_menu.is_open {
    width: calc(100vw - 30px);
    top: 5rem;
  }
  .nav_header__list {
    background-color: unset;
    margin: 0;
    width: 100%;
  }
  #nav_header__inner {
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0;
    align-items: center;
    margin: 0;
    position: relative;
    border-radius: 13px;
    overflow: hidden;
  }

  #nav_header__left {
    background: #fff;
    border-radius: 1vw;
    display: none;
    flex-shrink: 0;
    height: 4.2rem;
    justify-content: flex-start;
    padding: 0.1rem;
    position: relative;
    transition: background-color 0.5s ease;
    width: 14.5rem;
    z-index: 100;
    flex-direction: row;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }
  #mobile_overlay,
  #mobile_overlay.is_open {
    display: flex;
    position: fixed;
    top: 12px;
    left: 12px;
    width: 210px;
    z-index: 234;
    padding: 6px;
    padding: 0.3px;
    align-items: center;
    background-color: white;
    border-radius: 8px;
  }

  #nav_header_m_logo,
  #nav_header_m_logo_ghost {
    display: block;
    background: var(--font-color-hover);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    padding: 0;
    width: 79%;
    height: 100%;
  }
  #nav_header_m_logo_ghost {
    height: 57px;
    width: 140px;
    border-radius: 7px;
    margin: 1px;
  }
  #nav_header__block {
    display: none;
  }
  #nav_menu .menu-item {
    width: 100%;
    font-size: 1.6rem;
    padding: 3px;
  }
  #nav_menu .menu-item-has-picture > a,
  #nav_menu .menu-item-has-links > a {
    pointer-events: none;
  }
  #nav_menu .menu-item-has-picture:hover > .nav__submenu,
  #nav_menu .menu-item-has-links:hover > .nav__submenu {
    position: relative;
    right: 0;
    transform: scale(1);
    z-index: 5;
  }
  .hero-section__video-watch.is-zoomed {
    width: calc(100vw - 20px);
    height: calc(100vh - 119px);
  }
  .hero-section__subtitle {
    letter-spacing: 0;
  }
  .nav_menu-open {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 1.58rem 1.7rem;
    width: -moz-max-content;
    width: max-content;
  }
  .nav_menu-open svg {
    flex-shrink: 0;
    height: 0.84rem;
    width: 1.2701rem;
  }
  .nav_menu-icon rect {
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  .header__menu-open {
    padding: 3rem 3.2rem;
  }
  .header__menu-open svg {
    height: 1.6rem;
    width: 2.4rem;
  }
  #nav_header__logo {
    display: none;
  }
  #nav_menu.is_open #nav_close_button {
    display: none;
  }

  .nav_header__social {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    align-content: space-between;
    justify-content: start;
  }
}

.collection-card__star {
  height: 5rem;
  right: -1.3rem;
  top: -1.5rem;
  width: 5rem;
}

@media (max-width: 768px) {
  .collection-card__star {
    height: 4rem;
    right: -1.1rem;
    top: -1.3rem;
    width: 4rem;
  }
  .collection-card__group .collection-card__star {
    height: 3rem;
    right: -0.7rem;
    top: -0.9rem;
    width: 3rem;
  }
}
.ceramic-collection__group-list li img {
  object-fit: contain;
}

#perfect-form {
  border-radius: 4rem;
  width: 100%;
}
#perfect-form .h3,
#perfect-form .login-section--model .login-section__title {
  margin-bottom: 5rem;
  line-height: 200%;
}

.login-section {
  margin: 5rem 3rem;
}

.login-section .container {
  display: flex;
  padding: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: center;
}
.section__img__div {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vw;
  border-radius: 4rem;
}
.login-section .login-section__form {
  padding: 1rem;
}
.login-section.blue_bg_form .login-section__form,
.blue_bg_form #perfect-form {
  background-color: #03134c;
  color: #f9f9f9;
  line-height: 100%;
}
.catalogue-section--location {
  margin: 11rem 9rem 8rem;
}
.blue_bg_form .dz-message {
  background: #112056;
  color: white;
  line-height: 130%;
}

#floating_tel {
  position: absolute;
  display: block;
  top: 2vw;
  left: 82vw;
  background-color: var(--font-color-hover);
  color: var(--font-color-white);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .login-section .container {
    flex-wrap: nowrap;
  }

  #perfect-form {
    border-radius: 4rem;
    width: 100%;
  }
  #perfect-form .h3,
  #perfect-form .login-section--model .login-section__title {
    margin-bottom: 10rem;
    line-height: 180%;
  }
  .section__img__div {
    width: 100%;
  }
  .login-section .login-section__form {
    padding: 11rem 9rem 8rem;
  }
  .login-section--model .login-section__img {
    aspect-ratio: 92 / 108;
    height: 108rem;
    display: block;
  }
}
