
--------------------------------------------------------------*
body {
  --heading-font: "Open Sans", Roboto, sans-serif;
  --heading-font-weight: 400;
  --heading-color: #111;
  --heading-line-height: 1.24;

  --swiper-theme-color: #8C907E;

  /* bootstrap */
  --bs-body-font-family: "Open Sans", Roboto, sans-serif;
  --bs-body-font-size: 18px;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #8f8f8f;
  --bs-body-color-rgb: 143, 143, 143;

  --bs-primary: #8C907E;
  --bs-secondary: #6c757d;
  --bs-black: #111;
  --bs-light: #F1F1F0;
  --bs-dark: #212529;
  --bs-gray: #9aa1a7;
  --bs-gray-dark: #51565b;

  --bs-primary-rgb: 140, 144, 126;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-black-rgb: 17, 17, 17;
  --bs-light-rgb: 241, 241, 240;
  --bs-dark-rgb: 33, 37, 41;

  --bs-link-color: #111;
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-decoration: underline;
  --bs-link-hover-color: #111;
  --bs-link-hover-color-rgb: 17, 17, 17;
}

body {
  letter-spacing: 0.03rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: var(--heading-color);
  line-height: var(--heading-line-height);
}

h1.light,
.h1,
h2.light,
.h2,
h3.light,
.h3,
h4.light,
.h4,
h5.light,
.h5,
h6.light,
.h6 {
  color: var(--light-color);
}

h1,
h2,
h3 {
  margin: 25px 0;
}

h5,
h6 {
  letter-spacing: 1px;
}

h1,
.h1 {
  font-size: 4.5rem;
}

h2,
.h2 {
  font-size: 3.6rem;
}

h3,
.h3 {
  font-size: 2.8rem;
}

h4,
.h4 {
  font-size: 1.8rem;
}

h5,
.h5 {
  font-size: 1.4rem;
}

h6,
.h6 {
  font-size: 1rem;
}

a {
  text-decoration: none;
}

/* container fluid */
.container-fluid {
  /* width: 98%; */
  max-width: 1800px;
}

/* Dropdown */
.dropdown-menu {
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-border-width: 0;
}

.dropdown-item {
  --bs-dropdown-item-padding-y: 0.25rem;
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-link-color: var(--bs-black);
  --bs-dropdown-item-border-radius: 0;
}

.dropdown-item.active,
.dropdown-item:active {
  --bs-dropdown-link-active-color: var(--bs-light);
  --bs-dropdown-link-active-bg: var(--bs-black);
}

/* list group */
.list-group-item {
  --bs-list-group-item-padding-x: 0;
  --bs-list-group-border-width: 0;
}

/* btn */
.btn {
  --bs-btn-border-radius: 0;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #8C907E;
  --bs-btn-border-color: #8C907E;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5e624e;
  --bs-btn-hover-border-color: #5e624e;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5e624e;
  --bs-btn-active-border-color: #5e624e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #8C907E;
  --bs-btn-disabled-border-color: #8C907E;
}

.pagination {
  --bs-pagination-active-bg: var(--bs-black);
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: 0;
}

/* breadcrumb */
.breadcrumb {
  --bs-breadcrumb-item-padding-x: 1em;
}

/* text white */
.text-white {
  --heading-color: var(--bs-light);
  --bs-breadcrumb-item-active-color: var(--bs-light);
  --bs-breadcrumb-divider-color: var(--bs-light);
  --bs-link-color-rgb: var(--bs-light-rgb);
  --bs-link-hover-color-rgb: var(--bs-light-rgb);
}

.text-white .nav-link {
  --bs-nav-link-color: var(--bs-light);
  --bs-nav-link-hover-color: var(--bs-light);
  --bs-nav-link-active-color: var(--bs-light);
  --bs-navbar-active-color: var(--bs-light);
}

/* accordion */
.accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0.1rem;
  --bs-accordion-btn-color: var(--bs-dark);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-focus-border-color: var(--bs-dark);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0.1rem;
  --bs-accordion-active-color: transparent;
  --bs-accordion-active-bg: transparent;
}

/* form control */
.form-control:focus {
  border-color: #ccc;
  box-shadow: 0 0 0 0.25rem rgba(200, 200, 200, .25);
}

/* dark theme */
[data-bs-theme=dark] body {
  color-scheme: dark;

  --heading-color: #fff;
  --bs-link-color: #fff;
  --bs-link-hover-color: #fff;
  --bs-link-color-rgb: 255, 255, 255;
  --bs-link-hover-color-rgb: 255, 255, 255;
  --bs-body-color: #d1d1d1;
  --bs-body-bg: #111;
  --bs-body-bg-rgb: 17, 17, 41;
}

[data-bs-theme=dark] .dropdown-item {
  --bs-dropdown-link-color: var(--bs-light);
  --bs-dropdown-link-hover-color: var(--bs-white);
}

[data-bs-theme=dark] .bg-white,
[data-bs-theme=dark] .bg-light {
  --bs-bg-opacity: 0.1;
}

/* end of Bootstrap Color Theme */

/* =============================================
   CREATIVE PRELOADER
   ============================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
  transition: opacity 0.7s ease 0.25s, visibility 0.7s ease 0.25s;
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* animated diagonal gradient bg layers */
.pl-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pl-bg-1 {
  background: radial-gradient(ellipse at 20% 50%, rgba(140,144,126,0.18) 0%, transparent 65%);
  animation: plPulse1 4s ease-in-out infinite;
}
.pl-bg-2 {
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  animation: plPulse2 4s ease-in-out infinite 1.5s;
}
@keyframes plPulse1 {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.1); opacity: 0.7; }
}
@keyframes plPulse2 {
  0%,100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.5; }
}

/* centered content */
.pl-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 24px;
}

/* logo */
.pl-logo {
  opacity: 0;
  transform: scale(0.7) translateY(16px);
  animation: plLogoIn 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards;
}
.pl-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@keyframes plLogoIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* brand letters */
.pl-brand {
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: 0.35em;
  font-family: 'Jost', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 4vw, 1.5rem);
  text-transform: uppercase;
  color: #ffffff;
  overflow: hidden;
}
.pl-brand span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: plLetterIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
/* stagger each letter */
.pl-brand span:nth-child(1)  { animation-delay: 0.50s; }
.pl-brand span:nth-child(2)  { animation-delay: 0.57s; }
.pl-brand span:nth-child(3)  { animation-delay: 0.64s; }
.pl-brand span:nth-child(4)  { animation-delay: 0.71s; }
.pl-brand span:nth-child(5)  { animation-delay: 0.78s; }
.pl-brand span:nth-child(6)  { animation-delay: 0.85s; }
.pl-brand span:nth-child(8)  { animation-delay: 1.00s; }
.pl-brand span:nth-child(9)  { animation-delay: 1.07s; }
.pl-brand span:nth-child(10) { animation-delay: 1.14s; }
.pl-brand span:nth-child(11) { animation-delay: 1.21s; }
.pl-brand span:nth-child(12) { animation-delay: 1.28s; }
.pl-brand span:nth-child(13) { animation-delay: 1.35s; }
.pl-brand span:nth-child(14) { animation-delay: 1.42s; }
.pl-brand span:nth-child(15) { animation-delay: 1.49s; }
.pl-gap { width: 0.6em; opacity: 1 !important; transform: none !important; animation: none !important; }
@keyframes plLetterIn {
  to { opacity: 1; transform: translateY(0); }
}

/* tagline */
.pl-tagline {
  margin: 0;
  opacity: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  animation: plFadeUp 0.6s ease 1.7s forwards;
}
@keyframes plFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* progress bar */
.pl-bar-wrap {
  width: min(280px, 60vw);
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: plFadeUp 0.4s ease 1.9s forwards;
}
.pl-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8C907E, #ffffff 60%, #8C907E);
  border-radius: 2px;
  animation: plBarFill 1.8s cubic-bezier(0.4,0,0.2,1) 2.0s forwards;
}
@keyframes plBarFill {
  0%   { width: 0%;   opacity: 1; }
  80%  { width: 92%;  opacity: 1; }
  100% { width: 100%; opacity: 0.8; }
}

/* corner decorations */
.pl-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0;
  animation: plCornerIn 0.6s ease 0.4s forwards;
}
.pl-tl { top: 28px;    left: 28px;    border-top: 1.5px solid rgba(255,255,255,0.25); border-left: 1.5px solid rgba(255,255,255,0.25); }
.pl-tr { top: 28px;    right: 28px;   border-top: 1.5px solid rgba(255,255,255,0.25); border-right: 1.5px solid rgba(255,255,255,0.25); }
.pl-bl { bottom: 28px; left: 28px;    border-bottom: 1.5px solid rgba(255,255,255,0.25); border-left: 1.5px solid rgba(255,255,255,0.25); }
.pl-br { bottom: 28px; right: 28px;   border-bottom: 1.5px solid rgba(255,255,255,0.25); border-right: 1.5px solid rgba(255,255,255,0.25); }
@keyframes plCornerIn {
  to { opacity: 1; }
}

/* navbar */
.navbar.fixed-top {
  transition: background-color 0.6s ease-out;
}

/* =============================================
   MODERN 3D FLOATING NAVBAR
   ============================================= */
.modern-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 12px 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 50px;
  padding: 10px 12px 10px 28px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modern-navbar.scrolled .modern-navbar-inner {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Logo */
.modern-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.modern-navbar-brand:hover {
  transform: scale(1.05);
}
.modern-navbar-brand svg {
  transition: fill 0.3s ease;
}

/* Desktop nav links */
.modern-navbar-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.modern-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #333;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
}

.modern-nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.modern-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #8C907E 0%, #6b6f5e 100%);
  box-shadow:
    0 4px 15px rgba(140, 144, 126, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-nav-link:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Actions (theme toggle + hamburger) */
.modern-navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger button (hidden on desktop) */
.modern-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  gap: 5px;
  padding: 0;
  transition: all 0.3s ease;
}
.modern-hamburger:hover {
  border-color: #888;
  background: rgba(0, 0, 0, 0.04);
}
.modern-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}
/* Hamburger -> X animation */
.modern-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.modern-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.modern-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.modern-mobile-menu {
  max-width: 1200px;
  margin: 8px auto 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  /* Use max-height instead of display:none so transitions work */
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition:
    max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modern-mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.modern-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 8px;
}
.modern-mobile-menu ul li {
  margin: 0;
}
.modern-mobile-menu ul li a {
  display: block;
  padding: 14px 24px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #333;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.25s ease;
}
.modern-mobile-menu ul li a:hover,
.modern-mobile-menu ul li a:focus {
  background: linear-gradient(135deg, #8C907E 0%, #6b6f5e 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(140, 144, 126, 0.3);
  transform: translateX(4px);
}

/* Body padding for fixed navbar */
body.homepage {
  padding-top: 80px;
}

/* ---- RESPONSIVE ---- */

/* Tablets and below */
@media (max-width: 991.98px) {
  .modern-navbar-links {
    display: none;
  }
  .modern-hamburger {
    display: flex;
  }
  .modern-navbar {
    padding: 10px 16px;
  }
  .modern-navbar-inner {
    padding: 8px 10px 8px 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .modern-navbar {
    padding: 8px 10px;
  }
  .modern-navbar-inner {
    border-radius: 28px;
    padding: 6px 8px 6px 16px;
  }
  .modern-navbar-brand svg {
    width: 80px;
    height: 32px;
  }
  .modern-mobile-menu {
    border-radius: 18px;
    margin-top: 6px;
  }
  .modern-mobile-menu ul li a {
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

/* ---- DARK MODE navbar overrides ---- */
[data-bs-theme="dark"] .modern-navbar-inner {
  background: rgba(26, 26, 26, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] .modern-navbar.scrolled .modern-navbar-inner {
  background: rgba(26, 26, 26, 0.95);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
[data-bs-theme="dark"] .modern-navbar-brand svg {
  fill: #f0f0f0;
}
[data-bs-theme="dark"] .modern-nav-link {
  color: #c9c9c9;
}
[data-bs-theme="dark"] .modern-nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #444 0%, #555 100%);
  box-shadow:
    0 4px 15px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
[data-bs-theme="dark"] .modern-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #8C907E 0%, #6b6f5e 100%);
  box-shadow:
    0 4px 15px rgba(140, 144, 126, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .modern-hamburger {
  border-color: #555;
}
[data-bs-theme="dark"] .modern-hamburger:hover {
  border-color: #888;
  background: rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] .modern-hamburger span {
  background: #c9c9c9;
}
[data-bs-theme="dark"] .modern-mobile-menu {
  background: rgba(26, 26, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-bs-theme="dark"] .modern-mobile-menu ul li a {
  color: #c9c9c9;
}
[data-bs-theme="dark"] .modern-mobile-menu ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, #8C907E 0%, #6b6f5e 100%);
}

/* slideshow */
.slideshow {
  overflow: hidden;
}

/* .slideshow .swiper-slide {
  background-position-x: -300px;
  transition: background-position-x 1.6s ease-out;
  background-repeat: no-repeat;background-size: cover;
}
.slideshow .swiper-slide.swiper-slide-active {
  background-position-x: 0px;
} */
.slideshow .swiper-slide {
  /* background-size: 100%; */
  background-position: center;
  background-origin: padding-box;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-size 1s ease-in-out;
}

/* .slideshow .swiper-slide.swiper-slide-active {
  background-size: 120%;
} */

/* fade in */
.slideshow.fade-in .swiper-slide .banner-content {
  opacity: 0;
  transition: opacity 0.3s ease-out;
  transition-delay: 600ms;
}

.slideshow.fade-in .swiper-slide.swiper-slide-active .banner-content {
  opacity: 1;
}

/* slide in */
.slide-in .swiper-slide .banner-content h2,
.slide-in .swiper-slide .banner-content p,
.slide-in .swiper-slide .banner-content .btn {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in .swiper-slide .banner-content h2 {
  transition-delay: 600ms;
}

.slide-in .swiper-slide .banner-content p {
  transition-delay: 800ms;
}

.slide-in .swiper-slide .banner-content .btn {
  transition-delay: 1000ms;
}

.slide-in .swiper-slide.swiper-slide-active .banner-content h2,
.slide-in .swiper-slide.swiper-slide-active .banner-content p,
.slide-in .swiper-slide.swiper-slide-active .banner-content .btn {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* swiper slide-clip */
.slide-clip .swiper-slide .image-holder img {
  transform: scale(1.2);
  transition: transform 1s ease-in-out;
}

.slide-clip .swiper-slide.swiper-slide-active .image-holder img {
  transform: scale(1);
}

.slide-clip .swiper-slide .image-holder {
  clip-path: inset(100% 0 0 0);
  display: block;
}

.slide-clip .swiper-slide.swiper-slide-active .image-holder {
  animation: 1s slide-clip forwards;
}

.slide-clip .swiper-slide.swiper-slide-prev .image-holder,
.slide-clip .swiper-slide.swiper-slide-next .image-holder {
  animation: 1s slide-down;
}

@keyframes slide-clip {
  0% {
    clip-path: inset(100% 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes slide-down {
  0% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(100% 0 0 0);
  }
}


/* swipe animation */
.swipe-up {
  clip-path: inset(0 0 100% 0);
  display: block;
}

.aos-animate .swipe-up {
  animation: 1s swipe-up forwards;
}

/*.down-leave-active { animation: 1s down-leave; }*/
@keyframes swipe-up {
  0% {
    clip-path: inset(0 0 100% 0);
  }

  100% {
    clip-path: inset(0);
  }
}

/* polygon */
.polygon {
  clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
}

.aos-animate .polygon {
  animation: 1s polygon forwards;
}

@keyframes polygon {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 20%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
  }

  100% {
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  }
}

/* open-up */
.open-up {
  clip-path: inset(48% 34% 36% 35%);
}

.aos-animate.open-up {
  animation: 1s open-up forwards;
}

@keyframes open-up {
  0% {
    clip-path: inset(48% 34% 36% 35%);
  }

  100% {
    clip-path: inset(0% 0% 0% 0%);
  }
}

/*@keyframes down-leave {
  0% { clip-path: inset(0); }
  100% { clip-path: inset(100% 0 0 0); }
}*/
.swipe-up {
  --delay: 0.05s;
}

.swipe-up {
  animation-delay: 1s;
  /* animation-delay: data(swipe-delay); */
}

/* Text Effects */
.txt-fx {
  overflow: hidden;
  line-height: 1;
}
.txt-fx.zoom {
  overflow: visible;
}

/* Partners logo hover: subtle zoom + responsive sizing */
.logo-content{
  overflow: hidden;
  align-items: center;
}
.logo-content .logo-image{
  transition: transform .28s ease, filter .28s ease;
  will-change: transform;
  transform-origin: center center;
  max-height: 64px; /* default visual size */
}
.logo-content .logo-image:hover{
  transform: scale(1.08);
  filter: brightness(1.02);
}

@media (max-width: 768px) {
  .logo-content .logo-image{
    max-height: 52px;
  }
}
}

.txt-fx .word {
  overflow: hidden;
  transform-origin: 0 100%;
  display: inline-block;
  line-height: 1em;
}
.txt-fx .letter {
  transform-origin: 0 100%;
  display: inline-block;
  line-height: 1em;
}

.txt-fx {
  --delay: 50ms;
  --easing: cubic-bezier(.5, 0, .53, 1);
}

/* fade right */
.txt-fx.fade-right .letter {
  transform: translate3d(-50px, 0, 0);
  opacity: 0;
  transition: transform 0.6s var(--easing), opacity 0.6s var(--easing);
}

.aos-animate .txt-fx.fade-right .letter {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* slide up */
.txt-fx.slide-up .letter {
  transform: translate3d(0, 1.2em, 0);
  transition: transform 0.9s var(--easing);
}

.swiper-slide-active .txt-fx.slide-up .letter,
.aos-animate .txt-fx.slide-up .letter {
  transform: translate3d(0, 0, 0);
}

/* domino */
.txt-fx.domino .letter {
  transform-origin: 50% 0;
  transform: rotateY(90deg);
  transition: transform 0.9s var(--easing);
}

.swiper-slide-active .txt-fx.domino .letter,
.aos-animate .txt-fx.domino .letter {
  transform: rotateY(0);
}

/* zoom */
.txt-fx.zoom .letter {
  transform-origin: 50% 0;
  transform: scale(3);
  transition: transform 0.9s var(--easing);
}

.swiper-slide-active .txt-fx.zoom .letter,
.aos-animate .txt-fx.zoom .letter {
  transform: scale(1);
}

/* .txt-fx .letter:nth-child(1) {
  transition-delay: calc(var(--delay) * 1);
}

.txt-fx .letter:nth-child(2) {
  transition-delay: calc(var(--delay) * 2);
}

.txt-fx .letter:nth-child(3) {
  transition-delay: calc(var(--delay) * 3);
}

.txt-fx .letter:nth-child(4) {
  transition-delay: calc(var(--delay) * 4);
}

.txt-fx .letter:nth-child(5) {
  transition-delay: calc(var(--delay) * 5);
}

.txt-fx .letter:nth-child(6) {
  transition-delay: calc(var(--delay) * 6);
}

.txt-fx .letter:nth-child(7) {
  transition-delay: calc(var(--delay) * 7);
}

.txt-fx .letter:nth-child(8) {
  transition-delay: calc(var(--delay) * 8);
}

.txt-fx .letter:nth-child(9) {
  transition-delay: calc(var(--delay) * 9);
}

.txt-fx .letter:nth-child(10) {
  transition-delay: calc(var(--delay) * 10);
}

.txt-fx .letter:nth-child(11) {
  transition-delay: calc(var(--delay) * 11);
}

.txt-fx .letter:nth-child(12) {
  transition-delay: calc(var(--delay) * 12);
}

.txt-fx .letter:nth-child(13) {
  transition-delay: calc(var(--delay) * 13);
}

.txt-fx .letter:nth-child(14) {
  transition-delay: calc(var(--delay) * 14);
}

.txt-fx .letter:nth-child(15) {
  transition-delay: calc(var(--delay) * 15);
}

.txt-fx .letter:nth-child(16) {
  transition-delay: calc(var(--delay) * 16);
} */


/** Search Popup
--------------------------------------------------------------*/
.search-popup {
  background-color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.search-popup.is-visible {
  opacity: 1;
  visibility: visible;
  cursor: -webkit-image-set(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 1x, url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E") 2x), pointer;
  cursor: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M20 1l-1-1-9 9-9-9-1 1 9 9-9 9 1 1 9-9 9 9 1-1-9-9'/%3E%3C/svg%3E"), pointer;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
.search-popup-container {
  background-color: transparent;
  position: relative;
  top: 50%;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  text-align: center;
  box-shadow: none;
  cursor: default;
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.is-visible .search-popup-container {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.search-popup-form {
  position: relative;
  margin: 0 0 3em 0;
}
.search-popup-form .form-control {
  padding: 0 0 .375em 0;
  font-size: 2em;
}
.search-popup-form #search-popup-submit {
  display: none;
}
.search-popup .search-popup-close {
  display: block;
  position: absolute;
  top: 2em;
  right: 2em;
  margin: -0.5em;
  padding: 0.5em;
  line-height: 0;
}
.search-popup .search-popup-close:hover {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.search-popup .search-popup-close i {
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  fill: rgba(0,0,0,0.5);
}
.search-popup .search-popup-close:hover i {
  fill: rgba(0,0,0,1);
}
.search-popup .cat-list-title {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 0.6em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.search-popup .cat-list {
  margin: 0;
  list-style-type: none;
}
.search-popup .cat-list-item {
  display: inline-block;
  margin-bottom: 0;
  letter-spacing: 0.015em;
  font-size: 2em;
}
.search-popup .cat-list-item a {
  position: relative;
}
.search-popup .cat-list-item a::after {
  background: none repeat scroll 0 0 #fff;
  content: "";
  height: 1px;
  border-bottom: 1px solid #ff9697;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 100%;
  width: 100%;
  -webkit-transition: height 0.3s,opacity 0.3s,-webkit-transform 0.3s;
  transition: height 0.3s,opacity 0.3s,transform 0.3s;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}
.search-popup .cat-list-item a:hover::after {
  height: 1px;
  opacity: 1;
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
}
.search-popup .cat-list-item::after {
  content: "/";
  padding: 0 5px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
  vertical-align: text-top;
}
.search-popup .cat-list-item:last-child::after {
  display: none;
}

@media only screen and (max-width: 991px) {
  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.425em;
  }
}
@media only screen and (max-width: 767px) {
.search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}
@media only screen and (max-width: 575px) {
  .search-popup .cat-list-item,
  .search-popup-form .form-control {
    font-size: 1.125em;
  }
  .search-popup .search-popup-close {
    top: 1em;
    right: 1em;
  }
}

.search-popup input[type="search"] {
  font-size: 24px;
  height: 60px;
  padding: 26px;
}
.search-popup .search-form button {
  top: 12px;
  right: 15px;
}
.search-popup .search-form button svg {
  height: 28px;
  width: 28px;
}


/* Swiper */
/* - Swiper Slide Arrows 1
------------------------------------------------------------- */
.icon-arrow {
  position: absolute;
  top: 50%;
  font-size: 2em;
  color: var(--dark-color);
  z-index: 8;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease-out;
}

.icon-arrow:hover {
  opacity: 1;
}

.icon-arrow.icon-arrow-left {
  left: 30px;
}

.icon-arrow.icon-arrow-right {
  right: 30px;
}

@media (max-width: 991px) {
  .icon-arrow.icon-arrow-left,
  .icon-arrow.icon-arrow-right {
    display: none;
  }
  .swiper-pagination {
    position: relative;
  }
}

/** Swiper Slide Arrows 2
--------------------------------------------------------------*/
.icon-arrow.no-outline {
  top: 40%;
  font-size: 1.7em;
  color: var(--grey-color);
  border: none;
}

.icon-arrow.no-outline:hover {
  background: none;
  color: var(--dark-color);
}

.icon-arrow.light-arrow.no-outline {
  color: var(--light-color);
  opacity: 0.7;
}

.icon-arrow.light-arrow.no-outline:hover {
  opacity: 1;
}

.swiper-button-normal {
  background: transparent;
}

.swiper-button-normal .icon {
  font-size: 1.6em;
  color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/** Swiper Slide Arrows with background 3
--------------------------------------------------------------*/
.icon-arrow {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

/*--- Image hover Effects
-----------------------------------------------*/
.image-zoom-effect {
  display: flex;
  flex-wrap: wrap;
}

.image-zoom-effect .image-holder {
  width: 100%;
  height: auto;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-zoom-effect:hover .image-holder {
  transform: scale(0.95);
}

.image-zoom-effect img {
  transform: scale(1);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.image-zoom-effect:hover img {
  transform: scale(1.1);
}


/* - Border Hover Effects
------------------------------------------------------------- */
.border-animation a,
.border-animation a:after,
.border-animation a:before {
  transition: all .5s;
}

.border-animation a {
  position: relative;
}

.border-animation a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  content: '.';
  color: transparent;
  background: var(--bs-primary);
  height: 2px;
}

.border-animation a:hover:after {
  width: 100%;
}

.content-light .border-animation a:hover:after,
.content-light .border-animation li.active a:after {
  background: var(--bs-primary);
}

/* - Border Hover No Effects
------------------------------------------------------------- */
.border-animation .no-effect a:after {
  background: none;
}

/* - Border Hover Effects 2
------------------------------------------------------------- */
.border-animation-left .item-anchor {
  position: relative;
  margin-bottom: 20px;
}

.border-animation-left .item-anchor:after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  left: 0;
  bottom: 0;
  z-index: 9;
  background: var(--bs-dark);
  transition: all 0.5s ease;
}

.border-animation-left.light-border .item-anchor:after,
.border-animation-left .item-anchor:after {
  background: var(--bs-dark);
}

.border-animation-left .item-anchor:hover:after,
.border-animation-left .item-anchor:focus:after {
  width: 100%;
}

/* background */
.background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 600px;
}

.background.pattern-bg {
  background: url(images/pattern-bg.png) no-repeat;
}

.background.normal-bg {
  background: url(images/newsletter-image.jpg) no-repeat;
}

/* large text */
.title-xlarge {
  font-size: calc(2rem + 10vw);
  /* 10.4em; */
  font-family: var(--heading-font);
  color: var(--bs-gray-300);
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 0;
}

/*--------------------------------------------------------------
/** 7.8 Video Section
--------------------------------------------------------------*/
.video .video-content {
  position: relative;
}

.video .video-player {
  position: absolute;
}

.video .video-player {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video .video-player a {
  position: relative;
}

.video .video-player svg {
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@media (max-width: 600px) {
  .video .video-player img.text-pattern {
    width: 60%;
    display: flex;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
/** 7.9 Testimonial Slider
--------------------------------------------------------------*/
.testimonials .section-title {
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
}

.testimonial-swiper .testimonial-item blockquote {
  font-size: 2.5em;
}

.testimonial-swiper .testimonial-item blockquote>p {
  margin: 0;
}

.testimonials .review-title {
  font-size: 14px;
}

.testimonial-swiper .swiper-slide {
  opacity: 0.2;
  width: 42% !important;
}

.testimonial-swiper.swiper-3d .swiper-slide-shadow-left,
.testimonial-swiper.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

.testimonial-swiper .swiper-slide-active {
  opacity: 1;
}

.testimonials .swiper-pagination {
  left: 0;
  right: 0;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: #8C907E;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin-right: 10px;
}

@media only screen and (max-width: 1199px) {
  .testimonial-swiper .testimonial-item blockquote {
    font-size: 1.8em;
  }
}

@media only screen and (max-width: 999px) {
  .testimonial-swiper .testimonial-item blockquote {
    font-size: 1.2em;
  }
}


/** 7.13 Instagram
--------------------------------------------------------------*/
.instagram .insta-item {
  position: relative;
  margin-bottom: 20px;
}

.instagram .insta-item a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: 0.6s ease-out;
}

/* Link Effect
 - Place anywhere you want your link to animate
 - Add data-after="Any text" to the link within the class
 - Use span within the anchor tag for the effect to work
------------------------------------------------------------- */
.link-effect a {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: transform 0.5s;
  display: block;
}

.link-effect a::after {
  content: attr(data-after);
  display: inline-block;
  transform: translateY(100%);
  position: absolute;
  left: 0;
  font-size: 1rem;
  text-align: inherit;
  text-transform: uppercase;
  transition: inherit;
}

.link-effect a>span {
  display: inline-block;
  transform: translateY(0%);
  transition: inherit;
}

.link-effect:hover a>span {
  transform: translateY(-100%);
}

.link-effect:hover a::after {
  transform: translateY(0%);
}

/* product item */
.product-item .btn-wishlist {
  display: block;
  z-index: 111;
  position: absolute;
  top: 5px;
  padding: 10px;
  color: var(--bs-black);
  background: var(--bs-white);
  right: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.product-item:hover .btn-wishlist {
  opacity: 1;
}

/* rotating text */
.text-rotate {
  animation: rotation 50s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
  height: 790px;
}
@media screen and (max-width:992px) {
  .product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}
@media screen and (min-width:992px) {
  .product-thumbnail-slider {
    height: 590px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 790px;
  }
}
/* 
.product-thumbnail-slider .swiper-slide {
  height: 200px;
} */

/* ------ Quantity ------*/
.product-quantity .qty-number {
  margin-right: 20px;
}
.product-quantity .input-group .btn {
  height: 48px;
  border: 1px solid #ccc;
}
.qty-number .quntity-button {
  min-width: 40px;
  height: 40px;
  font-size: 1.8em;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  background-color: var(--accent-dim-color);
  transition: .5s all ease-in-out;
}

.qty-number .quntity-button:hover {
  background-color: var(--accent-lit-color);
}

.qty-number input {
  font-size: 1.4em;
  width: 50px;
  height: 40px;
  text-align: center;
  border-radius: 0;
  border: 1px solid var(--dark-color);
}

.qty-field .regular-price {
  display: none;
}

/*--------------------------------------------------------------
/** Single Product
--------------------------------------------------------------*/
.single-product-template .breadcrumbs li {
  font-size: 1.5em;
  padding-right: 15px;
}

.single-product-template .breadcrumbs span {
  padding-left: 15px;
}

.product-preview .swiper-slide {
  padding-bottom: 15px;
}

/*---- Single Product Information ----------*/
.rating-container .rating {
  color: var(--bs-yellow);
  font-size: 1.4em;
}

.product-info .product-price strong {
  font-size: 1.6em;
  color: var(--accent-color);
  padding-right: 10px;
}

.product-info .product-price del {
  color: var(--accent-color);
}

.product-info .color-product-options .color-item {
  display: inline-block;
  vertical-align: top;
  width: 25px;
  height: 25px;
  cursor: pointer;
  border: 1px solid var(--bs-gray);
  padding: 1px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  margin: 0 3px;
}

.product-info .color-product-options .color-item span {
  border: 1px solid var(--dark-color);
  display: block;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.product-info .color-product-options .color-item:hover {
  border: 1px dotted var(--bs-gray-300);
}

.product-info .item-title {
  width: 100%;
}

.swatch-element .swatch-label {
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  display: inline-block;
  margin-right: 10px;
  min-width: 50px;
  height: 50px;
  border: 2px solid var(--bs-gray-300);
  transition: all 0.3s;
  cursor: pointer;
  padding: 8px;
}
.swatch-element .swatch-input {
  display: none;
}
.swatch-element .swatch-input:checked+.swatch-label {
  border: 2px solid var(--bs-gray);
}

/*---- Single Product Accordion ----------*/
.review-style1 .review-item .rating-container .rating {
  font-size: 1em;
}

.review-style1 .review-item span.author-name {
  font-weight: 600;
}

/* button */
.btn-link {
  font-size: 0.875rem;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  text-decoration: none;
}

a.btn-link,
a.btn-link:after {
  transition: all .5s;
}

a.btn-link {
  position: relative;
}

a.btn-link:before,
a.btn-link:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--bs-dark);
  height: 1px;
}

[data-bs-theme=dark] a.btn-link:after {
  background-color: var(--bs-white);
}

a.btn-link:before {
  background-color: var(--bs-gray);
  width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
  width: 100%;
}

a.btn-link.text-white:after {
  background-color: var(--bs-white);
}

a.btn-link.text-light:after {
  background-color: var(--bs-light);
}

/* color options */
.form-check {
  padding: 0;
}

.form-check-label {
  display: block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.form-check-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 1px solid #111;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.form-check-label:hover input~.checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.form-check-label input:checked~.checkmark {
  background-color: #A226F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.form-check-label input:checked~.checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.form-check-label .checkmark:after {
  top: 8px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
}

.form-check-label.red input~.checkmark {
  background-color: #CA7A7A;
}

.form-check-label.brown input~.checkmark {
  background-color: #D5BB96;
}

.form-check-label.green input~.checkmark {
  background-color: #A5BC73;
}

.form-check-label.aqua input~.checkmark {
  background-color: #779B9D;
}

/* sidebar accordion */
.product-info .accordion {
  --bs-accordion-btn-icon: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z"%2F%3E%3C%2Fsvg%3E');
  --bs-accordion-btn-active-icon: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z"%2F%3E%3C%2Fsvg%3E');
}
.product-filter .accordion {
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z"%2F%3E%3C%2Fsvg%3E');
  --bs-accordion-btn-active-icon: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z"%2F%3E%3C%2Fsvg%3E');
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-color: #8C907E;
}

.product-filter .accordion-body>div,
.product-filter .accordion-body a {
  display: block;
  padding: 10px;
  margin-bottom: 1.25rem;
  border: 1px solid #EBEBEA;
}

.product-filter .accordion-body a:hover {
  border: 1px solid #999;
}

/* image zoom */
.image-zoom {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform .3s ease-out;
}

/* Theme toggle inside nav list */
.navbar-nav .btn-theme-toggle {
  margin-top: 2px;
}

/* =============================================
   DARK / LIGHT MODE TOGGLE BUTTON
   ============================================= */
.btn-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--bs-body-color, #111);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  background: var(--bs-primary, #8C907E);
  color: #fff;
  border-color: var(--bs-primary, #8C907E);
  transform: rotate(20deg);
}

/* Show sun in dark mode, moon in light mode */
[data-bs-theme="light"] .btn-theme-toggle .icon-sun,
[data-bs-theme="dark"] .btn-theme-toggle .icon-moon {
  display: none;
}
[data-bs-theme="light"] .btn-theme-toggle .icon-moon,
[data-bs-theme="dark"] .btn-theme-toggle .icon-sun {
  display: block;
}

/* =============================================
   DARK MODE OVERRIDES
   ============================================= */
[data-bs-theme="dark"] {
  --bs-body-bg: #111111;
  --bs-body-color: #c9c9c9;
  --heading-color: #f0f0f0;
  --bs-link-color: #f0f0f0;
  --bs-link-hover-color: #ffffff;
  --bs-border-color: #2e2e2e;
}

/* Body & background */
[data-bs-theme="dark"] body {
  background-color: #111111;
  color: #c9c9c9;
}

/* Navbar */
[data-bs-theme="dark"] .navbar {
  background-color: #1a1a1a !important;
  border-color: #2e2e2e !important;
}

[data-bs-theme="dark"] .navbar-toggler {
  border-color: #555;
}

[data-bs-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

/* Logo SVG fill in dark mode */
[data-bs-theme="dark"] .navbar-brand svg {
  fill: #f0f0f0;
}

/* Offcanvas (mobile menu) */
[data-bs-theme="dark"] .offcanvas {
  background-color: #1a1a1a;
  color: #c9c9c9;
}

[data-bs-theme="dark"] .offcanvas .btn-close {
  filter: invert(1);
}

[data-bs-theme="dark"] .nav-link {
  color: #c9c9c9 !important;
}

[data-bs-theme="dark"] .nav-link:hover {
  color: #ffffff !important;
}

/* Theme toggle button in dark mode */
[data-bs-theme="dark"] .btn-theme-toggle {
  color: #c9c9c9;
  border-color: #c9c9c9;
}

/* Preloader */
[data-bs-theme="dark"] .preloader {
  background: #0a0a0a;
}

/* Sections with bg-light */
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] section.bg-light,
[data-bs-theme="dark"] .features,
[data-bs-theme="dark"] .testimonials,
[data-bs-theme="dark"] .newsletter,
[data-bs-theme="dark"] .feature-card {
  background-color: #1a1a1a !important;
}

/* bg-white cards */
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .collection-content.bg-white {
  background-color: #1e1e1e !important;
}

/* Collection section */
[data-bs-theme="dark"] .collection {
  background-color: #1a1a1a !important;
}

[data-bs-theme="dark"] .title-xlarge {
  color: #2a2a2a;
}

/* Product cards */
[data-bs-theme="dark"] .product-item .btn-wishlist {
  background: #1e1e1e;
  color: #f0f0f0;
}

/* Buttons */
[data-bs-theme="dark"] .btn-dark {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  color: #111;
}

[data-bs-theme="dark"] .btn-dark:hover {
  background-color: #8C907E;
  border-color: #8C907E;
  color: #fff;
}

/* Links */
[data-bs-theme="dark"] a {
  color: #c9c9c9;
}

[data-bs-theme="dark"] a:hover {
  color: #ffffff;
}

[data-bs-theme="dark"] a.btn-link::before {
  background-color: #555;
}

[data-bs-theme="dark"] a.btn-link:hover::after,
[data-bs-theme="dark"] a.btn-link.is-checked::after {
  background-color: #f0f0f0;
}

/* Footer */
[data-bs-theme="dark"] #footer {
  background-color: #111111;
  color: #c9c9c9;
}

[data-bs-theme="dark"] #footer .border-top {
  border-color: #2e2e2e !important;
}

[data-bs-theme="dark"] #footer .text-secondary {
  color: #888 !important;
}

[data-bs-theme="dark"] #footer h5 {
  color: #f0f0f0;
}

/* Search popup */
[data-bs-theme="dark"] .search-popup {
  background-color: #111;
  color: #f0f0f0;
}

[data-bs-theme="dark"] .search-popup .form-control {
  background-color: #111;
  color: #f0f0f0;
  border-color: #444;
}

[data-bs-theme="dark"] .search-popup-form .form-control {
  color: #f0f0f0;
}

[data-bs-theme="dark"] .search-submit {
  background: #111 !important;
  color: #f0f0f0;
}

/* Offcanvas cart */
[data-bs-theme="dark"] #offcanvasCart {
  background-color: #1a1a1a;
  color: #c9c9c9;
}

[data-bs-theme="dark"] .list-group-item {
  background-color: #1e1e1e;
  color: #c9c9c9;
  border-color: #2e2e2e;
}

/* Borders */
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top {
  border-color: #2e2e2e !important;
}

/* Text colors */
[data-bs-theme="dark"] .text-secondary {
  color: #888 !important;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
  color: #f0f0f0;
}

/* Swiper pagination */
[data-bs-theme="dark"] .swiper-pagination-bullet {
  background: #888;
}

[data-bs-theme="dark"] .swiper-pagination-bullet-active {
  background: #8C907E;
}

/* Smooth transitions for everything */
body,
.navbar,
.offcanvas,
.bg-light,
.bg-white,
section,
footer,
.product-item,
.post-item,
.collection-content {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
#contact {
  position: relative;
  overflow: hidden;
}

.contact-top-bar {
  height: 4px;
  background: linear-gradient(90deg, #8C907E 0%, #111 50%, #8C907E 100%);
}

/* ---- Form Side ---- */
.contact-form-side {
  background-color: #fafaf9;
  padding: 0;
  min-height: 700px;
}

.contact-inner {
  padding: 70px 60px;
  max-width: 620px;
}

/* Heading */
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #8C907E;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.contact-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-family: var(--heading-font);
  color: #111;
  line-height: 1.1;
  margin: 0 0 20px;
}

.contact-title em {
  font-style: italic;
  color: #8C907E;
}

.contact-divider {
  width: 48px;
  height: 2px;
  background: #8C907E;
  margin-top: 4px;
}

/* ---- Info Cards Grid ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #e8e8e5;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.contact-info-card:hover {
  border-color: #8C907E;
  box-shadow: 0 4px 20px rgba(140, 144, 126, 0.15);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: #f1f1f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8C907E;
  transition: background 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: #8C907E;
  color: #fff;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  font-weight: 600;
}

.contact-info-value {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.5;
}

/* ---- Floating Label Form ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cf-field {
  position: relative;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #ddd;
  background: transparent;
  padding: 14px 0 8px;
  font-size: 0.95rem;
  font-family: var(--bs-body-font-family);
  color: #111;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

.cf-field label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.9rem;
  color: #aaa;
  pointer-events: none;
  transition: all 0.25s ease;
  letter-spacing: 0.03em;
}

.cf-field input:focus ~ label,
.cf-field input:not(:placeholder-shown) ~ label,
.cf-field textarea:focus ~ label,
.cf-field textarea:not(:placeholder-shown) ~ label {
  top: -4px;
  font-size: 0.7rem;
  color: #8C907E;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cf-line {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #8C907E;
  transition: width 0.4s ease;
}

.cf-field input:focus ~ .cf-line,
.cf-field textarea:focus ~ .cf-line {
  width: 100%;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-bottom-color: transparent;
}

/* Submit button */
.cf-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  border-radius: 0;
  transition: background 0.3s ease, transform 0.2s ease, gap 0.2s ease;
}

.cf-submit:hover {
  background: #8C907E !important;
  border-color: #8C907E !important;
  transform: translateY(-1px);
  gap: 14px;
}

/* Success message */
.cf-success {
  display: none;
  margin-top: 4px;
  font-size: 0.88rem;
  color: #5a7a5a;
  letter-spacing: 0.04em;
  padding: 10px 0;
  border-top: 1px solid #c8dac8;
}

/* ---- Map Side ---- */
.contact-map-side {
  position: relative;
  min-height: 600px;
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.contact-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s ease;
}

.contact-map-wrapper:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* Map overlay card */
.map-overlay-card {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 2;
  max-width: 260px;
  border-left: 3px solid #8C907E;
}

.map-overlay-logo {
  color: #8C907E;
  flex-shrink: 0;
  padding-top: 2px;
}

.map-overlay-card strong {
  display: block;
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 2px;
  font-family: var(--heading-font);
}

.map-overlay-card p {
  font-size: 0.8rem;
  color: #888;
  margin: 0 0 8px;
}

.map-directions-link {
  font-size: 0.78rem;
  color: #8C907E;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.map-directions-link:hover {
  color: #111;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .contact-inner {
    padding: 50px 30px;
    max-width: 100%;
  }

  .contact-map-side {
    min-height: 400px;
  }

  .contact-map-wrapper {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .cf-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-inner {
    padding: 40px 20px;
  }

  .map-overlay-card {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .cf-submit {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Dark Mode: Contact ---- */
[data-bs-theme="dark"] .contact-form-side {
  background-color: #161616;
}

[data-bs-theme="dark"] .contact-title {
  color: #f0f0f0;
}

[data-bs-theme="dark"] .contact-info-card {
  background: #1e1e1e;
  border-color: #2e2e2e;
  color: #c9c9c9;
}

[data-bs-theme="dark"] .contact-info-card:hover {
  border-color: #8C907E;
}

[data-bs-theme="dark"] .contact-info-icon {
  background: #2a2a2a;
}

[data-bs-theme="dark"] .contact-info-value {
  color: #c9c9c9;
}

[data-bs-theme="dark"] .cf-field input,
[data-bs-theme="dark"] .cf-field textarea {
  color: #f0f0f0;
  border-bottom-color: #3a3a3a;
}

[data-bs-theme="dark"] .map-overlay-card {
  background: #1a1a1a;
}

[data-bs-theme="dark"] .map-overlay-card strong {
  color: #f0f0f0;
}

[data-bs-theme="dark"] .contact-map-wrapper iframe {
  filter: grayscale(40%) invert(90%) hue-rotate(180deg) contrast(0.9);
}

[data-bs-theme="dark"] .contact-map-wrapper:hover iframe {
  filter: grayscale(20%) invert(90%) hue-rotate(180deg) contrast(0.95);
}

/* -----------------------------------------------
   Feature Cards
------------------------------------------------- */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(140, 144, 126, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(140, 144, 126, 0.2);
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(140, 144, 126, 0.12);
  color: #8C907E;
  margin-bottom: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
  background: #8C907E;
  color: #fff;
}

.feature-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 4px;
}

.feature-subtext {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0;
}

/* Dark mode */
[data-bs-theme="dark"] .feature-card {
  background: #1e1e1e !important;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .feature-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .feature-icon-wrap {
  background: rgba(140, 144, 126, 0.18);
}

[data-bs-theme="dark"] .feature-text {
  color: #bbb;
}

[data-bs-theme="dark"] .feature-subtext {
  color: #777;
}

/* -----------------------------------------------
   Photo Gallery Section
------------------------------------------------- */
.photo-gallery {
  background-color: #f8f8f6;
}

.photo-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
}

.photo-gallery .gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.photo-gallery .gallery-item.wide {
  grid-column: span 2;
}

.photo-gallery .gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.photo-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-gallery .gallery-item:hover img {
  transform: scale(1.08);
}

.photo-gallery .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: background 0.35s ease, opacity 0.35s ease;
  border-radius: 8px;
}

.photo-gallery .gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.38);
  opacity: 1;
}

.photo-gallery .gallery-overlay svg {
  transform: scale(0.7);
  transition: transform 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.photo-gallery .gallery-item:hover .gallery-overlay svg {
  transform: scale(1);
}

/* Responsive handled in the consolidated mobile block below */

/* Dark mode */
[data-bs-theme="dark"] .photo-gallery {
  background-color: #141414 !important;
}

[data-bs-theme="dark"] .photo-gallery .gallery-item {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* =============================================
   LINK COLOR OVERRIDES — theme-matched, dark/light safe
   Blue browser default is replaced globally for
   anchor tags that use .item-anchor, and footer links.
   ============================================= */

/* --- Light theme --- */
a.item-anchor,
#footer a {
  color: #111;
  text-decoration: none;
}
a.item-anchor:hover,
a.item-anchor:focus,
#footer a:hover,
#footer a:focus {
  color: #444;
  text-decoration: underline;
}

/* Social icon links in footer stay muted, not blue */
#footer .social-links a {
  color: #555;
}
#footer .social-links a:hover,
#footer .social-links a:focus {
  color: #111;
}

/* Bottom bar credits */
#footer .border-top a {
  color: #111;
  font-weight: 500;
}
#footer .border-top a:hover {
  color: #444;
}

/* --- Dark theme overrides --- */
[data-bs-theme="dark"] a.item-anchor,
[data-bs-theme="dark"] #footer a {
  color: #e8e8e8;
}
[data-bs-theme="dark"] a.item-anchor:hover,
[data-bs-theme="dark"] a.item-anchor:focus,
[data-bs-theme="dark"] #footer a:hover,
[data-bs-theme="dark"] #footer a:focus {
  color: #ffffff;
  text-decoration: underline;
}

[data-bs-theme="dark"] #footer .social-links a {
  color: #aaa;
}
[data-bs-theme="dark"] #footer .social-links a:hover,
[data-bs-theme="dark"] #footer .social-links a:focus {
  color: #fff;
}

[data-bs-theme="dark"] #footer .border-top a {
  color: #ddd;
}
[data-bs-theme="dark"] #footer .border-top a:hover {
  color: #fff;
}

/* btn-link: black/white instead of blue */
a.btn-link {
  color: #111 !important;
}
a.btn-link:hover,
a.btn-link:focus {
  color: #444 !important;
}
[data-bs-theme="dark"] a.btn-link {
  color: #f0f0f0 !important;
}
[data-bs-theme="dark"] a.btn-link:hover,
[data-bs-theme="dark"] a.btn-link:focus {
  color: #fff !important;
}

/* Force all page links away from browser-default blue.
   The body-level --bs-link-color already does this for most
   elements; the rules below make it bulletproof everywhere. */
a:not([class]),
a.item-anchor,
a.btn-link {
  color: #111;
}
[data-bs-theme="dark"] a:not([class]),
[data-bs-theme="dark"] a.item-anchor,
[data-bs-theme="dark"] a.btn-link {
  color: #e8e8e8;
}

/* contact section plain text links */
.contact-section a:not(.contact-info-card):not(.cf-submit):not([class*="btn"]) {
  color: #111;
  text-decoration: none;
}
[data-bs-theme="dark"] .contact-section a:not(.contact-info-card):not(.cf-submit):not([class*="btn"]) {
  color: #e0e0e0;
}

/* map overlay get-directions link */
[data-bs-theme="dark"] .map-directions-link {
  color: #c8c8c8;
}
[data-bs-theme="dark"] .map-directions-link:hover {
  color: #fff;
}

/* ===== Billboard Model Slider – Modern Card Styling =====
-------------------------------------------------------------- */
#billboard .main-swiper .banner-item {
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

#billboard .main-swiper .banner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.11);
}

#billboard .main-swiper .image-holder {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  width: 100%;
}

#billboard .main-swiper .image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

#billboard .main-swiper .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.25rem 0.4rem;
}

#billboard .main-swiper .element-title {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  color: var(--heading-color);
  margin: 0;
  flex: 1;
  min-width: 0;
}

#billboard .main-swiper .element-title a {
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: color 0.2s ease;
}

#billboard .main-swiper .element-title a:hover {
  color: var(--bs-primary);
}

#billboard .main-swiper .btn-left {
  flex-shrink: 0;
}

#billboard .main-swiper .btn-link {
  font-size: 0.7rem !important;
  letter-spacing: 0.12em;
  color: var(--bs-primary);
  white-space: nowrap;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] #billboard .main-swiper .banner-item:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

[data-bs-theme="dark"] #billboard .main-swiper .element-title {
  color: #e0e0e0;
}

/* ===== THEORY CLOTHING hero heading ===== */
.tc-hero-heading {
  padding: 0.5rem 1rem 1.2rem;
}

.tc-heading-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0.5rem auto;
  max-width: 520px;
}

.tc-heading-rule::before,
.tc-heading-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #8C907E, transparent);
}

.tc-heading-shine {
  font-family: 'Jost', sans-serif;
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(
    110deg,
    #4a4a3a 20%,
    #8C907E 38%,
    #c8cabc 48%,
    #ffffff 52%,
    #c8cabc 56%,
    #8C907E 66%,
    #4a4a3a 80%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tc-shine 4s linear infinite;
  margin: 0.3rem 0;
}

.tc-heading-shine span {
  display: inline-block;
}

@keyframes tc-shine {
  0%   { background-position: 200% center; }
  100% { background-position: -60% center; }
}

/* ===== Mobile fixes (≤767px) =====
@media (max-width: 767px) {

  /* --- Billboard slider --- */
  #billboard {
    padding-left: 0;
    padding-right: 0;
  }

  #billboard .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  #billboard .main-swiper {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  #billboard .main-swiper .image-holder {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
  }

  #billboard .main-swiper .banner-content {
    flex-direction: row;
    align-items: center;
    padding: 0.6rem 0.1rem 0.2rem;
    gap: 0.5rem;
  }

  #billboard .main-swiper .element-title {
    font-size: 0.78rem;
  }

  #billboard .main-swiper .btn-link {
    font-size: 0.68rem !important;
  }

  /* --- Gallery grid --- */
  .photo-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 6px;
  }

  /* all items same width — no more span-2 breaking the layout */
  .photo-gallery .gallery-item.wide {
    grid-column: span 1;
  }
}

/* ===== Extra-small (≤480px) ===== */
@media (max-width: 480px) {
  #billboard .main-swiper .image-holder {
    aspect-ratio: 4 / 5;
  }

  .photo-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 5px;
  }

  .photo-gallery .gallery-item.wide {
    grid-column: span 1;
  }
}
