/* =========================================
   Icon Fonts
   ========================================= */
@font-face {
  font-family: "yhcsicon";
  src:
    url('../font/iconfont-1774259985179.woff2') format('woff2'),
    url('../font/iconfont-1774259985179.woff') format('woff'),
    url('../font/iconfont-1774259985179.ttf') format('truetype');
}

@font-face {
  font-family: "yh-icon";
  src:
    url('../font/iconfont-1731376117465.woff2') format('woff2'),
    url('../font/iconfont-1731376117465.woff') format('woff'),
    url('../font/iconfont-1731376117465.ttf') format('truetype');
}

/* =========================================
   Custom Properties
   ========================================= */
:root {
  /* ───────── Colors ───────── */
  --color-primary: #08a7cf;
  --color-white: #ffffff;
  --color-grey-100: #f8f8f8;
  --color-grey-200: #efefef;
  --color-grey-300: #c4c4c4;
  --color-grey-400: #5a5d66;
  --color-blue-100: #f8fafc;
  --color-blue-200: #d2e5f4;
  --color-blue-300: #25b8dc;
  --color-blue-600: #4a7da4;
  --color-black-200: #0d1b2a;
  --color-black-300: #070f18;
  --color-border: #d5d8dd;

  /* ───────── Typography ───────── */
  --font-display: 'Epilogue', 'Georgia', serif;
  --font-body: 'Sora', 'Segoe UI', system-ui, sans-serif;

  /* Type scale — 1.25 ratio */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(1.5rem, 1.125rem + 1.2vw, 2.25rem);
  --text-4xl: clamp(2rem, 1.25rem + 2.4vw, 3.5rem);
  --text-5xl: clamp(2.25rem, 1.25rem + 3.2vw, 4.25rem);

  /* ───────── Spacing (4pt base) ───────── */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 7rem;

  /* ───────── Layout ───────── */
  --max-width: 1300px;
  --content-width: 75ch;

  /* ───────── Z-index ───────── */
  --z-nav: 100;
  --z-dropdown: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ───────── Shadow ───────── */
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.06);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.08);
  --shadow-lg: 0 8px 30px oklch(0 0 0 / 0.10);

  /* ───────── Border Radius ───────── */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* ───────── Overlay ───────── */
  --overlay-light: rgba(255, 255, 255, 0.8);
  --overlay-dark: rgba(13, 27, 42, 0.8);
  --backdrop-blur: blur(8px);
}

/* =========================================
   Icon Base
   ========================================= */
.yhcsicon {
  font-family: "yhcsicon" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.yhcs-deutsch:before  { content: "\e680"; }
.yhcs-polish:before   { content: "\e60a"; }
.yhcs-italian:before  { content: "\e668"; }
.yhcs-russian:before  { content: "\e60b"; }
.yhcs-hindi:before    { content: "\e618"; }
.yhcs-arabic:before   { content: "\e853"; }
.yhcs-portuguese:before { content: "\e601"; }
.yhcs-english:before  { content: "\e603"; }
.yhcs-romanian:before { content: "\e6ae"; }
.yhcs-spanish:before  { content: "\e604"; }
.yhcs-pioon:before    { content: "\e602"; }
.yhcs-BR:before       { content: "\e68f"; }

.yh-icon {
  font-family: "yh-icon" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.yh-whatsapp:before   { content: "\ec2d"; }
.yh-sousu:before      { content: "\e627"; }
.yh-youtube:before    { content: "\f274"; }
.yh-instagram:before  { content: "\e736"; }
.yh-pinterest:before  { content: "\e72d"; }
.yh-twitter:before    { content: "\e60a"; }
.yh-facebook-fill:before { content: "\e61c"; }
.yh-linkedin:before   { content: "\e653"; }

/* =========================================
   Base / Typography
   ========================================= */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-grey-400);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-blue-600);
  text-wrap: balance;
}

h1 { font-size: var(--text-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.015em; }
h3 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
  max-width: var(--content-width);
}

p + p {
  margin-top: 1em;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-blue-300);
}

::selection {
  background: var(--color-blue-200);
  color: var(--color-primary);
}

/* =========================================
   Navigation / Header
   ========================================= */
.navbar {
  position: relative;
  z-index: 1000;
  background-color: var(--color-primary);
  padding: 0;
}

.navbar .navbar-brand {
  background-color: var(--bs-white);
  height: 60px;
  padding: 0;
  flex-shrink: 0;
}

.navbar .navbar-brand img {
  height: 100%;
}

.navbar .navbar-toggler {
  border: 2px solid var(--bs-white);
  color: var(--bs-white);
  font-size: 1.5rem;
  padding: 0.25rem;
  width: 2.5rem;
}

.navbar button {
  padding: 0 0.5rem;
}

.navbar .yh-icon {
  font-size: 1.5rem;
  color: var(--bs-white);
}

.navbar .yhcsicon {
  font-size: 1.5rem;
}

/* ---------- Offcanvas ---------- */
.offcanvas {
  background-clip: padding-box;
  background-color: #64748b;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  outline: 0;
  position: fixed;
  transition: var(--bs-offcanvas-transition);
  visibility: hidden;
  z-index: var(--bs-offcanvas-zindex);
}

.offcanvas .dropdown-header {
  color: #000;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.offcanvas .dropdown-item {
  align-items: center;
  font-size: 0.875rem;
  display: flex;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

.navbar .offcanvas-header {
  background-color: var(--bs-white);
}

.navbar .offcanvas-header img {
  width: 70%;
}

/* ---------- Nav Links ---------- */
.navbar .navbar-nav .nav-item .nav-link {
  border-radius: 0.25rem;
  color: var(--bs-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.5rem;
}

.navbar .navbar-nav .nav-item .nav-link:focus-visible {
  box-shadow: none;
}

.navbar .navbar-nav .nav-item .nav-link.active,
.navbar .navbar-nav .nav-item .nav-link:hover {
  color: var(--bs-dark);
}

/* ---------- Dropdown ---------- */
.navbar .dropdown-toggle {
  justify-content: space-between;
  color: #000;
}

.navbar .dropdown-toggle .jiantou {
  text-align: right;
  width: 20%;
}

.navbar .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  box-shadow: var(--bs-box-shadow);
  color: var(--bs-gray-800);
  margin-top: 0;
  min-width: 12rem;
  top: 100%;
}

.navbar .dropdown-menu-xxl {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 85rem !important;
}

.navbar .dropdown-menu-xxl .dropdown-item {
  font-weight: 300;
}

.navbar .dropdown-menu .dropdown-submenu.dropend .dropdown-menu {
  border-radius: 0.5rem;
  box-shadow: var(--bs-box-shadow);
  left: 100%;
  min-width: 12rem;
  right: auto;
  top: -18px;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--color-grey-200);
}

/* ---------- Language Switcher ---------- */
.setlanguage {
  position: relative;
  cursor: pointer;
}

.setlanguage:before {
  content: "\e603";
  font-family: "yhcsicon" !important;
  font-size: 1.5rem;
}

.navbar .setlanguage .dropdown-menu {
  min-width: 14rem;
  font-size: 12px;
  padding: 1rem;
}

.wap-setlanguage {
  margin-top: 0.5rem;
}

.wap-setlanguage li {
  display: inline-block;
  margin: 0.1rem;
}

/* ---------- Navbar Light ---------- */
.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--bs-white);
  font-weight: 500;
}

.navbar-light .navbar-nav .nav-item .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover {
  background-color: var(--bs-gray-100);
  color: var(--bs-gray-800);
}

/* ---------- Navbar Clone / Stick ---------- */
.navbar-clone {
  box-shadow: none;
  left: 0;
  position: fixed !important;
  top: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
  z-index: 1008;
}

.navbar-stick {
  border-bottom: 1px solid var(--bs-gray-100);
  transform: translateY(0);
}

.navbar-stick:not(.navbar-dark) {
  background-color: var(--color-primary);
  box-shadow: 0 0.125rem 0.25rem rgba(2, 6, 23, 0.075);
}

/* =========================================
   Footer
   ========================================= */
footer {
  background-color: #f0f8ff;
}

footer .yhcs-pioon {
  font-size: 1.5rem;
}

footer .follow ul {
  padding-left: 0;
}

footer .follow li {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.92969rem;
  font-weight: 400;
  height: 2.5rem;
  justify-content: center;
  padding: 0;
  margin: 0.3rem;
  position: relative;
  width: 2.5rem;
  background-color: var(--bs-gray-100);
  border: 1px solid var(--bs-gray-200);
}

footer .follow li .yh-icon {
  margin: 0.5rem;
}

footer h5 {
  font-weight: 700;
}

footer li a {
  font-weight: 300;
}

footer .text-primary {
  --bs-text-opacity: 1;
  color: rgba(var(--color-primary), var(--bs-text-opacity)) !important;
}

/* =========================================
   Scroll to Top
   ========================================= */
.btn-scroll-top {
  background-color: var(--bs-white);
  border-radius: 10px;
  bottom: 1.5rem;
  box-shadow: inset 0 0 0 0.1rem rgba(227, 229, 233, 0.25);
  opacity: 0;
  position: fixed;
  right: 1.5rem;
  transform: translateY(0.75rem);
  transition: all 0.2s linear, margin-right 0s;
  visibility: hidden;
  z-index: 1010;
}

.btn-scroll-top,
.btn-scroll-top:after {
  cursor: pointer;
  display: block;
  height: 3rem;
  width: 3rem;
}

.btn-scroll-top:after {
  color: var(--color-primary);
  content: "\f145";
  font-family: bootstrap-icons !important;
  font-size: 1.5rem;
  left: 0;
  line-height: 3rem;
  position: absolute;
  text-align: center;
  top: 0;
  transition: all 0.2s linear;
  z-index: 1;
}

.btn-scroll-top.active-progress {
  transform: translateY(0);
  visibility: visible;
}

.btn-scroll-top svg path {
  fill: none;
}

.btn-scroll-top svg.progress-square path {
  stroke: var(--color-primary);
  stroke-width: 2;
  box-sizing: border-box;
  transition: all 0.2s linear;
}

/* =========================================
   Submit Animation (Overlay)
   ========================================= */
.submit-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.submit-animation .spinner-border {
  width: 50px;
  height: 50px;
}

/* =========================================
   WhatsApp Message Button
   ========================================= */
.btn-message {
  background-color: var(--color-primary);
  border-radius: 10px;
  bottom: 5.5rem;
  box-shadow: inset 0 0 0 0.1rem rgba(227, 229, 233, 0.25);
  position: fixed;
  right: 1.5rem;
  display: block;
  height: 3rem;
  width: 3rem;
}

.btn-message .yh-icon {
  font-size: 2rem;
  margin-top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  display: block;
  z-index: 1010;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-blue-300);
}

/* =========================================
   Form
   ========================================= */
#myform img {
  width: auto;
  height: 50px;
}

/* =========================================
   Accessories Grid
   ========================================= */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.accessories-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--overlay-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accessories-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.accessories-card img {
  width: 100%;
  height: auto;
  display: block;
}

.accessories-card-body {
  padding: var(--space-xl);
}

.accessories-card-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  max-width: 100%;
}

.accessories-card-body p {
  font-size: var(--text-sm);
  color: var(--color-neutral-black);
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: var(--space-md);
}

.accessories-category-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
  padding-left: var(--space-sm);
}

/* =========================================
   Responsive
   ========================================= */

/* ---------- Nav: xx-large screens ---------- */
@media (max-width: 1400px) {
  .navbar .dropdown-menu-xxl {
    min-width: 80rem !important;
  }
}

@media (max-width: 1300px) {
  .navbar .dropdown .dropdown-toggle:after {
    display: none;
  }

  .navbar .navbar-brand {
    height: 70px;
  }

  .navbar .dropdown-menu-xxl {
    min-width: 72rem !important;
  }
}

@media (max-width: 1200px) {
  .navbar .navbar-brand {
    height: 65px;
  }

  .navbar .dropdown-menu-xxl {
    min-width: 66rem !important;
  }
}

@media (max-width: 1100px) {
  .navbar .dropdown-menu-xxl {
    min-width: 60rem !important;
  }
}

/* ---------- Nav: tablet / mobile ---------- */
@media (max-width: 992px) {
  .navbar .navbar-nav .nav-item .nav-link {
    font-size: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: var(--bs-white) !important;
  }

  .navbar .dropdown-menu {
    background-color: transparent;
    box-shadow: none;
    min-width: 0 !important;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    border-bottom: 1px solid var(--bs-gray-200);
    border-radius: 0;
    padding: 0.75rem 0 !important;
  }

  .navbar .navbar-nav .nav-item .nav-link:hover {
    background-color: transparent !important;
    color: var(--bs-dark);
  }

  .navbar .dropdown-menu .dropdown-submenu.dropend .dropdown-menu {
    box-shadow: none;
  }

  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .accessories-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll button visibility ---------- */
@media (min-width: 320px) {
  .btn-scroll-top.active-progress {
    opacity: 1;
  }
}

/* ---------- Nav: desktop hover reveal ---------- */
@media (min-width: 990px) {
  .navbar .navbar-nav .dropdown > .dropdown-menu {
    left: 50%;
    transform: translate(-50%, 10px);
  }

  .navbar .navbar-nav .dropdown .dropdown-menu-xxl {
    left: 100%;
    transform: translate(-30%, 10px);
    padding-left: 1rem;
  }
}

@media (min-width: 1000px) {
  .navbar .dropdown-menu.show {
    display: none;
  }

  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translate(-50%);
    transition: all 0.3s ease-in-out;
    visibility: hidden;
  }

  .navbar .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }

  .navbar .dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    transform: translateY(10px);
    visibility: visible;
  }
}
