﻿:root {
  --calendar-icon-url: url("../images/calendar-unified.db60ba09f5e5.svg");
  --cart-icon-url: url("../images/cart-unified.c3d599e9897b.svg");
  --lux-gold: #C8A75B;
  --lux-gold-soft: #D6B56C;
  --lux-gold-dark: #A88432;
  --lux-gold-bg: #fbf7ee;
  --lux-gold-border: rgba(200, 167, 91, 0.28);
  --lux-gold-glow: rgba(200, 167, 91, 0.22);
  --brand-navy: #1e4ed8;
  --brand-navy-dark: #173da6;
}

input[type="date"] {
  text-transform: uppercase;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  text-transform: uppercase;
}

/* Global box sizing + prevent horizontal overflow on mobile */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
}

html {
  font-size: 12px;
}

/* ====== HEADER BASE ====== */
.main-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 5%;        /* ظ‹ع؛â€‌آ¹ ط·آ®ط¸ظ¾ط¸ظ¾ط¸â€ ط·آ§ ط·آ§ط¸â€‍ط·آ§ط·آ±ط·ع¾ط¸ظ¾ط·آ§ط·آ¹ */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  height: 70px;
}

/* ظ‹ع؛â€‌آ¹ ط¸ئ’ط·آ¨ط·آ±ط¸â€ ط·آ§ ط·آ§ط¸â€‍ط¸â€‍ط¸ث†ط·ط›ط¸ث† ط·آ´ط¸ث†ط¸ظ¹ */
.logo img {
  width: 150px;
  height: auto;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-family: "Vesper Libre", serif;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--lux-gold-dark);
}

.profile-btn a {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark));
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: "Vesper Libre", serif;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid rgba(200, 167, 91, 0.2);
  box-shadow:
    0 10px 20px rgba(23, 61, 166, 0.18),
    0 0 14px var(--lux-gold-glow);
}

/* ====== MENU TOGGLE (hidden on desktop) ====== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }

  body {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 3100;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .profile-btn {
    display: none;
  }
}

body {
  padding-top: 85px; /* ط¸ئ’ط·آ§ط¸â€  90ط·إ’ ط·آ®ط¸ظ¾ط¸ظ¾ط¸â€ ط·آ§ط¸â€، ط·آ´ط¸ث†ط¸ظ¹ */
  font-family: "Vesper Libre", serif;
  font-size: 1rem;
  line-height: 1.5;
}

body:lang(ar),
input:lang(ar),
textarea:lang(ar),
select:lang(ar),
button:lang(ar) {
  font-family: "Tajawal", sans-serif;
}

/* ====== ط¸â€¦ط¸ث†ط·آ¨ط·آ§ط¸ظ¹ط¸â€‍ ط¸ظ¾ط¸â€ڑط·آ· (ط·ع¾ط·آµط¸ظ¾ط¸ظ¹ط·آ± ط·آ§ط·آ±ط·ع¾ط¸ظ¾ط·آ§ط·آ¹ ط·آ§ط¸â€‍ط¸â€،ط¸ظ¹ط·آ¯ط·آ± ط·ع¾ط¸â€ڑط·آ±ط¸ظ¹ط·آ¨ط·آ§) ====== */
@media (max-width: 768px) {
  .main-header {
    padding: 0px 5%;        /* ظ‹ع؛â€‌آ¹ ط·آµط¸ظ¾ط·آ±ط¸â€ ط·آ§ ط·ع¾ط¸â€ڑط·آ±ط¸ظ¹ط·آ¨ط·آ§ ط·آ§ط¸â€‍ط¸â€¦ط·آ³ط·آ§ط¸ظ¾ط·آ© ط¸ظ¾ط¸ث†ط¸â€ڑ ط¸ث†ط·ع¾ط·آ­ط·ع¾ */
    height: 70px;           /* ظ‹ع؛â€‌آ¹ ط·آ§ط·آ±ط·ع¾ط¸ظ¾ط·آ§ط·آ¹ ط¸â€¦ط·آ¶ط·آ¨ط¸ث†ط·آ· ط¸â€‍ط¸â€‍ط¸â€،ط¸ظ¹ط·آ¯ط·آ± */
  }

  .logo img {
    width: 100px;            /* ظ‹ع؛â€‌آ¸ ط¸â€ ط¸ظ¾ط·آ³ ط·آ­ط·آ¬ط¸â€¦ ط·آ§ط¸â€‍ط¸â€‍ط¸ث†ط·ط›ط¸ث† ط·آ§ط¸â€‍ط¸â€‍ط¸ظ¹ ط·آ¹ط·آ¬ط·آ¨ط¸ئ’ */
    height: auto;
  }

  .menu-toggle {
    font-size: 24px;
  }
}

/* Footer */
.footer {
  background: #fff !important;
  border-top: 3px solid var(--lux-gold);
  padding: 56px 6% 20px;
  font-family: "Vesper Libre", serif;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: 48px;
  align-items: flex-start;
  margin-top: 0;
}

.footer-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
  margin: 0 0 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand:hover .footer-logo {
  opacity: 0.96;
}

.footer .footer-col.about p {
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  max-width: 430px;
}

.bottom-left {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, max-content));
  align-items: flex-start;
  gap: 20px 18px;
  margin-top: 28px;
}

.footer .bottom-left h4,
.footer .footer-col h4 {
  color: var(--lux-gold-dark) !important;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.socials,
.apps {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.socials {
  flex-wrap: nowrap;
  gap: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08);
}

.social-link svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: #fff;
}

.social-facebook {
  background: #173a63;
}

.social-instagram {
  background: #d8bf92;
}

.social-instagram svg {
  fill: #ffffff;
}

.social-linkedin {
  background: #0a66c2;
}

.social-whatsapp {
  background: #25d366;
}

.social-tiktok {
  background: #111111;
}

.social-tiktok svg {
  fill: #f3e7d0;
}

.apps img {
  width: 45px;
  transition: transform .2s ease;
}

.social-link:hover,
.apps img:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 24px rgba(17, 17, 17, 0.14);
}

.footer-col.support,
.footer-col.company,
.footer-col.legal {
  padding-top: 12px;
}

.footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-col ul li {
  margin-bottom: 12px;
}

.footer .footer-col ul li a {
  text-decoration: none;
  color: #000 !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.footer .footer-col ul li a:hover {
  color: var(--lux-gold-dark) !important;
}

.footer-line {
  border: none;
  border-top: 1px solid var(--lux-gold-border);
  margin: 40px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(137, 137, 137, 0.75);
  font-weight: 600;
}

.footer .footer-bottom p {
  font-size: 12px;
  color: rgba(137, 137, 137, 0.75) !important;
  margin: 0;
  text-align: right;
}

.language-box {
  background: rgba(241, 241, 241, 0.44);
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-box span {
  color: #d9d9d9;
  font-size: 12px;
  font-weight: 700;
}

.earth-icon {
  width: 25px;
}

@media (max-width: 1100px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-col,
  .footer-col.about,
  .footer-col.support,
  .footer-col.company,
  .footer-col.legal {
    text-align: center;
    padding-top: 0;
  }

  .footer-logo {
    width: 150px;
    margin: 0 auto 18px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-col.about p {
    margin: 0 auto;
    text-align: center;
  }

  .bottom-left {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 18px;
    margin-top: 24px;
  }

  .app-download .apps,
  .socials {
    justify-content: center;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 17px;
    height: 17px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-top: 40px;
  }

  .footer-bottom p {
    text-align: center;
  }

  .language-box {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .footer {
    padding-inline: 20px;
  }

  .footer-col h4,
  .bottom-left h4 {
    font-size: 13px;
  }

  .footer-col ul li a,
  .footer-col.about p,
  .footer-bottom p {
    font-size: 12px;
  }
}

/* ===== Custom Select (Global) ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe7ef;
  background: #fff;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: 0.2s ease;
}

.custom-select.open .custom-select-toggle {
  border-color: var(--lux-gold);
  box-shadow: 0 0 0 4px rgba(200, 167, 91, 0.15);
}

.custom-select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
}

.custom-select.open .custom-select-arrow {
  transform: rotate(-135deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  padding: 8px;
  display: none;
  z-index: 20;
}

.custom-select.open .custom-select-menu {
  display: grid;
  gap: 6px;
}

.custom-select-group {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 6px 10px 2px;
}

.custom-select-option {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f5f8fb;
  color: #0f172a;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 12px;
  transition: 0.2s ease;
}

.custom-select-option:hover {
  border-color: rgba(200, 167, 91, 0.4);
  color: var(--lux-gold-dark);
  background: var(--lux-gold-bg);
}

.custom-select-option.is-selected {
  border-color: var(--lux-gold);
  background: rgba(200, 167, 91, 0.14);
  color: var(--lux-gold-dark);
}

.custom-select-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ====== Hembla Calendar ====== */
.hembla-calendar {
  position: absolute;
  width: 320px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa 0%, #f7f0e4 100%);
  box-shadow: 0 22px 46px rgba(20, 33, 61, 0.18);
  border: 1px solid rgba(200, 167, 91, 0.28);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

.hembla-calendar.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hembla-calendar__header {
  background: linear-gradient(135deg, #14213d 0%, #22345e 100%);
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.hembla-calendar__title {
  font-size: 12px;
}

.hembla-calendar__body {
  padding: 12px 16px 14px;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  row-gap: 10px;
}

.hembla-calendar__month {
  text-align: center;
  font-weight: 700;
  color: #14213d;
}

.hembla-calendar__nav {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(200, 167, 91, 0.14);
  color: #a88432;
  font-weight: 700;
  cursor: pointer;
}

.hembla-calendar__weekdays,
.hembla-calendar__days {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.hembla-calendar__weekdays span {
  font-size: 12px;
  font-weight: 700;
  color: #8a7557;
}

.hembla-calendar__day,
.hembla-calendar__empty {
  height: 30px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-weight: 600;
  color: #14213d;
}

.hembla-calendar__day {
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hembla-calendar__day:hover {
  background: #efe4cd;
  color: #14213d;
}

.hembla-calendar__day.is-selected {
  background: linear-gradient(135deg, #14213d 0%, #22345e 100%);
  color: #fff;
}

.hembla-calendar__day.is-today {
  border: 1px solid #c8a75b;
}

.hembla-calendar__footer {
  text-align: center;
  padding: 8px 12px 12px;
  font-size: 12px;
  color: #8a7557;
}

/* ===== Validation ===== */
.form-error {
  margin: 12px 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff3f3;
  border: 1px solid #ffb4b4;
  color: #b42318;
  font-weight: 700;
  font-size: 12px;
  display: none;
}
.form-error.is-visible {
  display: block;
}
.field-error {
  border-color: #ff7a7a !important;
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.18);
}
.field-error-pill {
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.25);
  border-color: #ff7a7a !important;
}

/* ===== Toast ===== */
.toast-wrap {
  position: fixed;
  right: 20px;
  top: 90px;
  display: grid;
  gap: 10px;
  z-index: 1200;
  pointer-events: none;
}
.toast {
  min-width: 260px;
  max-width: 340px;
  background: #0f172a;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast__title {
  font-weight: 700;
  font-size: 12px;
}
.toast__desc {
  font-size: 12px;
  opacity: 0.85;
}

html,
body,
body * {
  font-family: "Vesper Libre", serif !important;
}

/* ===== Global Typography Overrides ===== */
body p,
body li,
body label,
body td,
body th,
body small,
body input,
body textarea,
body select {
  font-size: 12px !important;
  font-weight: 400 !important;
}

body h1,
body h2,
body .section-title,
body .contact-title,
body .contact-info h2,
body .page-title,
body .main-title {
  font-size: 22px !important;
  font-weight: 700 !important;
}

body h3,
body h4,
body h5,
body h6,
body .card h3,
body .step h3,
body .mini h3,
body .services-modal h3,
body .footer .bottom-left h4,
body .footer .footer-col h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
}

body .hero h1,
body .hero h2,
body .hero-title,
body .hero-copy h1,
body .hero-banner h1,
body .hero-content h1 {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.btn,
.btn,
.send-btn,
.contact-success-button,
.profile-btn a,
.btn-profile,
.btn-profile a,
.custom-select-toggle {
  min-height: auto !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  line-height: 1.2 !important;
}


