/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Marcellus",  sans-serif;
  --nav-font: "Marcellus",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #116530; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #116530; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #116530; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #2ea359;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  margin-top: 20px;
  transition: all 0.5s;
  z-index: 900;
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.35),
    0 25px 50px rgba(0, 0, 0, 0.40);
  background: #ffff; /* important so shadow is visible */
  height: 120px; /* keep header height fixed */
  overflow: visible; /* allow logo to extend outside */
}

.header .logo {
  line-height: 1;
  z-index: 950;
  position: relative;
}

.header .logo img {
  max-height: 120px;
  margin-right: 8px;
  margin-top: 20px;
  padding-bottom: 10px;

  border-radius: 20px;
  background: transparent;
  border: none;
  box-shadow: none;

  /* Smooth zoom animation */
  transition: transform 0.6s ease;
}

.header .logo img:hover {
  transform: scale(1.12); /* gentle zoom */
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px color-mix(in srgb, var(--default-color), transparent 85%);
}

.navbar-shadow {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.25);
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  background-color: color-mix(in srgb, var(--background-color), white 5%);
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.footer h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: var(--accent-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
}

.section-title p {
  margin-bottom: 0;
  font-family: var(--heading-font);
  font-size: 32px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 0px;

}

.hero .carousel {
  width: 100%;
  height:100%;
  min-height: calc(100vh);
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .carousel-item:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  animation: fadeInDown 1s both;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 30px;
  }
}

.hero p {
  animation: fadeInDown 1s both 0.2s;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  animation: fadeInUp 1s both 0.4s;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

.hero .carousel-indicators {
  list-style: none;
}

.hero .carousel-indicators li {
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .section-title h2 {
  color: var(--accent-color);
  font-size: 20px;
}

.services .content .service-item {
  background-color: var(--surface-color);
  padding: 20px 30px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.services .content .service-item .number {
  position: absolute;
  right: 10px;
  top: 10px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.services .content .service-item .service-item-icon {
  position: relative;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.services .content .service-item .service-item-icon img {
  width: 50px;
}

.services .content .service-item .service-item-icon:before {
  position: absolute;
  content: "";
  transform: rotate(45deg);
  z-index: -1;
  left: -20px;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-right: 40px solid var(--accent-color);
  display: none;
}

.services .content .service-item .service-item-icon>span {
  color: var(--default-color);
  font-size: 4rem;
}

.services .content .service-item .service-item-content .service-heading {
  font-size: 20px;
  color: var(--default-color);
  font-weight: 400;
}

.services .content .service-item .service-item-content p {
  font-size: 15px;
}

@media (min-width: 769px) {
  .services .content [class^=col-]:nth-child(4n+4) .service-item {
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .services .content [class^=col-]:nth-last-child(-n+4) .service-item {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
}

@media (max-width: 768px) {
  .services .content [class^=col-]:nth-child(2n+2) .service-item {
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .services .content [class^=col-]:last-child .service-item,
  .services .content [class^=col-]:nth-last-child(2) .service-item {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
}

@media (max-width: 576px) {
  .services .content [class^=col-] .service-item {
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about_page {
  margin-top: 100px;
}

.about .section-title {
  margin-bottom: 60px;
}

.about .content {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 5rem 0;
}

.about .content .img-overlap {
  margin-top: 20px;
  width: 600px;       /* or 50%, 20vw, etc. */
  max-width: 100%;
  height: auto;        /* keeps proportions */
  box-sizing: border-box;
  padding: 12px;
  background: #f7f3ea;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.about p {
  color: var(--contrast-color);
}

.about .content-title {
  color: var(--contrast-color);
  font-weight: 300;
  text-align: left;
}

.about .content-title strong {
  font-weight: 700;
}

.about .content-subtitle {
  font-weight: 300;
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 1.3rem;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 {
  overflow: visible;
  margin-bottom: 200px;
}

.services-2 .section-title {
  text-align: left;
}

.services-2 .section-title h2 {
  color: color-mix(in srgb, var(--contrast-color), transparent 50%);
  text-transform: uppercase;
  font-size: 20px;
}

.services-2 .section-title p {
  color: var(--contrast-color);
}

.services-2 .services-carousel-wrap {
  position: relative;
  margin-bottom: -200px;
}

.services-2 .swiper-wrapper {
  height: auto;
}

.services-2 .service-item {
  position: relative;
  overflow: hidden;
}

.services-2 .service-item:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: 0.3s all ease;
}

.services-2 .service-item img {
  transition: 0.5s all ease;
  transform: scale(1);
}

.services-2 .service-item .service-item-contents {
  z-index: 9;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  transition: 0.3s all ease;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
}

.services-2 .service-item .service-item-contents .service-item-category {
  color: var(--accent-color);
  text-transform: uppercase;
}

.services-2 .service-item .service-item-contents .service-item-title {
  color: var(--contrast-color);
  margin-bottom: 0;
}

.services-2 .service-item:hover:before {
  opacity: 1;
  visibility: visible;
}

.services-2 .service-item:hover .service-item-contents {
  transform: translateY(0%);
  opacity: 1;
  visibility: visible;
}

.services-2 .service-item:hover img {
  transform: scale(1.2);
}

.services-2 .navigation-prev,
.services-2 .navigation-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 46px;
  height: 46px;
  background: var(--contrast-color);
  background-color: none;
  border: none;
  transition: 0.3s all ease;
}

.services-2 .navigation-prev i,
.services-2 .navigation-next i {
  font-size: 2rem;
}

.services-2 .navigation-prev:hover,
.services-2 .navigation-next:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services-2 .navigation-prev {
  left: 10px;
}

.services-2 .navigation-next {
  right: 10px;
}

.services-2 .swiper {
  padding-bottom: 50px;
}

.services-2 .swiper-pagination {
  bottom: 0px;
}

.services-2 .swiper-pagination .swiper-pagination-bullet {
  border-radius: 0;
  width: 20px;
  height: 4px;
  background-color: color-mix(in srgb, var(--background-color), transparent 80%) !important;
  opacity: 1;
}

.services-2 .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color) !important;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.testimonials .testimonial blockquote p {
  font-size: 20px;
  color: var(--default-color);
  font-weight: 500;
}

.testimonials .testimonial .client-name {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-item {
  background: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.recent-posts .post-item .post-img img {
  transition: 0.5s;
}

.recent-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-posts .post-item .post-content {
  padding: 30px;
}

.recent-posts .post-item .post-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-posts .post-item .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.recent-posts .post-item .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.recent-posts .post-item hr {
  color: color-mix(in srgb, var(--default-color), transparent 80%);
  margin: 20px 0;
}

.recent-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.recent-posts .post-item:hover .post-title,
.recent-posts .post-item:hover .readmore {
  color: var(--accent-color);
}

.recent-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .content {
  padding: 20px 0;
}

.call-to-action .content h3 {
  font-weight: 300;
  text-transform: uppercase;
}

.call-to-action .content .form-subscribe .form-control {
  border: 2px solid var(--accent-color);
  background: var(--surface-color);
  border-radius: 0;
}

.call-to-action .content .form-subscribe input[type=email] {
  height: 40px !important;
  color: var(--default-color);
}

.call-to-action .content .form-subscribe input[type=email]:focus {
  box-shadow: none;
}

.call-to-action .content .form-subscribe input[type=email]::placeholder {
  color: color-mix(in srgb, var(--contrast-color), transparent 50%);
}

.call-to-action .content .loading,
.call-to-action .content .error-message,
.call-to-action .content .sent-message {
  margin-top: 15px;
}

.call-to-action .content .btn {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 0;
}

.call-to-action .content .btn:hover,
.call-to-action .content .btn:active,
.call-to-action .content .btn:focus {
  box-shadow: none;
  outline: none;
  background-color: var(--contrast-color);
  border: 1px solid var(--contrrast-color);
}

/*--------------------------------------------------------------
# About 3 Section
--------------------------------------------------------------*/
.about-3 .content-title {
  color: var(--accent-color);
  margin-bottom: 30px;
}

.about-3 .btn-cta {
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
}

.about-3 .list-check {
  margin-bottom: 50px;
}

.about-3 .list-check li {
  display: block;
  padding-left: 30px;
  position: relative;
}

.about-3 .list-check li:before {
  content: "\f26e";
  display: inline-block;
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  top: 0.1rem;
  font-size: 20px;
  left: 0;
  color: var(--accent-color);
}

.about-3 .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .person {
  position: relative;
}

.team .person figure {
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.team .person img {
  transition: 0.3s all ease;
}

.team .person .person-contents {
  text-align: center;
}

.team .person .person-contents h3 {
  color: var(--heading-color);
  font-size: 24px;
}

.team .person .person-contents .position {
  color: var(--accent-color);
}

.team .person:hover img {
  transform: scale(1.05);
}

.team .person .social {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.team .person .social a {
  display: block;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
  background: var(--contrast-color);
  position: relative;
}

.team .person .social a>span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.team .person .social a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Posts 2 Section
--------------------------------------------------------------*/
.blog-posts-2 article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  border-radius: 8px;
  overflow: hidden;
}

.blog-posts-2 .post-img img {
  transition: 0.5s;
}

.blog-posts-2 .post-content {
  padding: 30px;
}

.blog-posts-2 .post-title {
  font-size: 20px;
  line-height: 24px;
  color: var(--heading-color);
  font-weight: 600;
  transition: 0.3s;
  margin-bottom: 20px;
}

.blog-posts-2 .meta {
  position: relative;
  margin-top: -20px;
  padding: 0 30px;
}

.blog-posts-2 .meta i {
  font-size: 16px;
  color: var(--accent-color);
}

.blog-posts-2 .meta span {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-posts-2 .meta .post-date {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 13px;
  padding: 6px 12px;
  text-align: center;
  margin-right: 15px;
  border-radius: 4px;
}

.blog-posts-2 .meta .post-date span {
  display: block;
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 20px;
}

.blog-posts-2 .readmore {
  display: flex;
  align-items: center;
  font-weight: 400;
  line-height: 1;
  transition: 0.3s;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.blog-posts-2 .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog-posts-2 article:hover .post-title,
.blog-posts-2 article:hover .readmore {
  color: var(--accent-color);
}

.blog-posts-2 article:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/
.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 10px;
}

.contact .info {
  background-color: var(--surface-color);
  padding: 40px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact .info h3 {
  font-weight: 600;
  font-size: 24px;
}

.contact .info p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 30px;
  font-size: 15px;
}

.contact .info-item+.info-item {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
  margin-right: 20px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .php-email-form {
  width: 100%;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 0px;
  box-shadow: none;
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
  height: 48px;
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
  height: 360px;
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 0;
  padding: 13px 50px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
}

.wide-btn {
  width: 850px;   /* choose any size */
  height: 50px;   /* optional */
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 3px solid #fff;
}

/* Overlay layer */
.map-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(128, 128, 128, 0); /* transparent gray */
  transition: background 0.35s ease;
  pointer-events: none;
}

/* Hover effect */
.map-wrapper:hover::after {
  background: rgba(128, 128, 128, 0.25); /* soft gray tint */
}


.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.page-title {
    height:500px;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  position: relative;
}

.widget-title:before {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  left: 0;
  right: 0;
  bottom: 1px;
}

.widget-title:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: 1px;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.blog-author-widget img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 3px 10px;
  position: relative;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: var(--accent-color);
  color: var(--contrast-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.recent-posts-widget-2 .post-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.recent-posts-widget-2 .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget-2 .post-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts-widget-2 .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget-2 .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget-2 .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}




/* --------------------------------------------------------
---------------------Rotating Cards------------------------
-----------------------------------------------------------*/
.service-card {
            perspective: 1000px;
            height: 400px;
        }

        .service-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            cursor: pointer;
        }

        .service-card:hover .service-card-inner {
            transform: rotateY(180deg);
        }

        .service-card-front,
        .service-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            overflow: hidden;
        }
/*backdrop-filter: blur(22px);
            -webkit-backdrop-filter: blur(22px); */
        .service-card-front {
            background: transparent;
            backdrop-filter: blur(10px);
            color: #2e2e2e;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 2rem;
            border-radius: 1rem;

        }


        .service-card-back {
            background: white;
            color: #1f2937;
            transform: rotateY(180deg);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .icon-wrapper {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .feature-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .hover-lift {
            transition: transform 0.2s;
        }

        .hover-lift:hover {
            transform: translateY(-5px);
        }

.text-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(149, 39, 29, 0.30); /* saffronish red, semi-transparent */
    color: #ffffff; /* white text */
    backdrop-filter: blur(4px);
    z-index: 2;
}

.service-card-front {
    position: absolute;
    border: 4px solid #95271D; /* thick saffronish red border */
    border-radius: 15px;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
#portfolio {
  scroll-margin-top: 170px;
}


/*--------------------------------------------------------------
# Recipes
--------------------------------------------------------------*/
.login_page {
  margin-top: 160px;
}

@media (max-width: 767px) {
    .login_page {
      margin-top: 50px;
    }
}

.login-header {
    margin-bottom: 80px;
    margin-top: 50px;
    padding: 50px 50px;
    transition: all 0.5s;
}

/* Container */
.input-container {
  position: relative;
  margin: 20px 0;
}

/* Input field */
.input-field {
  display: block;
  width: 100%;
  padding: 12px 10px 8px 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  background-color: transparent;
}

/* Label */
.input-label {
  position: absolute;
  top: 12px;
  left: 10px;
  font-size: 16px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Highlight bar */
.input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #000;
  transition: all 0.3s ease;
}

/* When input is focused */
.input-field:focus + .input-label {
  top: -10px;
  font-size: 12px;
  color: #000;
}

.input-field:focus + .input-label + .input-highlight {
  width: 100%;
}

/* When input has text (important for WTForms) */
.input-field:not(:placeholder-shown) + .input-label {
  top: -10px;
  font-size: 12px;
  color: #000;
}

#recipes {
  scroll-margin-top: 170px;
}


/*-------------------------------------------------------
Recent-post
---------------------------------------------------------*/
.title_bx h3.title {
  font-size: 22px;
  text-transform: capitalize;
  position: relative;
  color: #fd7f34;
  font-weight: 700;
  line-height: 1.2em;
}
.title_bx h3.title:before {
  content: "";
  height: 2px;
  width: 20%;
  position: absolute;
  left: 0px;
  z-index: 1;
  top: 40px;
  background-color: #fd7f34;
}
.title_bx h3.title:after {
  content: "";
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0px;
  top: 40px;
  background-color: #ffc107;
}
.common_wd .owl-nav .owl-prev,
.common_wd .owl-nav .owl-next {
  background-color: #fd7f34 !important;
  display: block;
  height: 30px;
  width: 30px;
  text-align: center;
  border-radius: 0px !important;
}
.owl-nav .owl-next {
  right: -10px;
}
.owl-nav .owl-prev,
.owl-nav .owl-next {
  top: 50%;
  position: absolute;
}
.common_wd .owl-nav .owl-prev i,
.common_wd .owl-nav .owl-next i {
  color: #fff;
  font-size: 14px !important;
  position: relative;
  top: -1px;
}
.common_wd .owl-nav {
  position: absolute;
  top: -21%;
  right: 4px;
  width: 65px;
}
.owl-nav .owl-prev i,
.owl-nav .owl-next i {
  left: 0px;
}
._p-qty .decrease_ {
  position: relative;
  right: -5px;
  top: 3px;
}

._p-qty .increase_ {
  position: relative;
  top: 3px;
  left: -5px;
}

/*-----------------------------------------------------------
box
-------------------------------------------------------------*/
.sq_box {
  padding-bottom: 5px;
  border-bottom: solid 2px #fd7f34;
  background-color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.item .sq_box span.wishlist {
  right: 5px !important;
}
.sq_box span.wishlist {
  position: absolute;
  top: 10px;
  right: 20px;
}
.sq_box span {
  font-size: 14px;
  font-weight: 600;
  margin: 0px 10px;
}
.sq_box span.wishlist i {
  color: #adb5bd;
  font-size: 20px;
}
.sq_box h4 {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
  color: #343a40;
  margin-top: 10px;
  margin-bottom: 10px !important;
}
.sq_box .price-box {
  margin-bottom: 15px !important;
}
.sq_box .btn {
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 15px;
  color: #fff;
  background-color: #fd7f34;
  font-weight: 600;
}
.sq_box .price-box span.price {
  text-decoration: line-through;
  color: #6c757d;
}
.sq_box span {
  font-size: 14px;
  font-weight: 600;
  margin: 0px 10px;
}
.sq_box .price-box span.offer-price {
  color: #28a745;
}
.sq_box img {
  object-fit: cover;
  height: 150px !important;
  margin-top: 20px;
}
.sq_box span.wishlist i:hover {
  color: #fd7f34;
}


/* NEW SETTINGS FOR PRODUCTION PAGE --------------------------------------------------------------------*/
/*--------------------------------------------------------------
# Product button in index.html
--------------------------------------------------------------*/
.card {
  overflow: visible;
  width: 190px;
  height: 254px;
}

.content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px #000000ee;
  border-radius: 5px;
}

.front, .back {
  background-color: #151515;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 5px;
  overflow: hidden;
}

.back {
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.back::before {
  position: absolute;
  content: ' ';
  display: block;
  width: 160px;
  height: 160%;
  background: linear-gradient(90deg, transparent, #ff9966, #ff9966, #ff9966, #ff9966, transparent);
  animation: rotation_481 5000ms infinite linear;
}

.back-content {
  position: absolute;
  width: 99%;
  height: 99%;
  background-color: #151515;
  border-radius: 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.card:hover .content {
  transform: rotateY(180deg);
}

@keyframes rotation_481 {
  0% {
    transform: rotateZ(0deg);
  }

  0% {
    transform: rotateZ(360deg);
  }
}

.front {
  transform: rotateY(180deg);
  color: white;
}

.front .front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.front-content .badge {
  background-color: #00000055;
  padding: 2px 10px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
  width: fit-content;
}

.description {
  box-shadow: 0px 0px 10px 5px #00000088;
  width: 100%;
  padding: 10px;
  background-color: #00000099;
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.title {
  font-size: 11px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
}

.title p {
  width: 50%;
}

.card-footer {
  color: #ffffff88;
  margin-top: 5px;
  font-size: 8px;
}

.front .img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #ffbb66;
  position: relative;
  filter: blur(15px);
  animation: floating 2600ms infinite linear;
}

#bottom {
  background-color: #ff8866;
  left: 50px;
  top: 0px;
  width: 150px;
  height: 150px;
  animation-delay: -800ms;
}

#right {
  background-color: #ff2233;
  left: 160px;
  top: -80px;
  width: 30px;
  height: 30px;
  animation-delay: -1800ms;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0px);
  }
}



/*--------------------------------------------------------------
# Wishing List
--------------------------------------------------------------*/

.wishing-page {
    padding-bottom:40px;
}

.wishing-header {
    text-align:center;
    margin:50px 0;
}

.add_to_basket {
  font-family: BrandonGrotesque-Light, sans-serif;
  color: black;
  text-decoration: none;
  font-size: 16px;
  border: none;
  background: none;
  font-weight: 50;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.add_to_basket::before,
.add_to_basket::after {
  content: '';
  width: 0%;
  height: 3px;          /* ⭐ equal thickness */
  background: green;
  transition: width 0.5s;
}

.add_to_basket:hover::before,
.add_to_basket:hover::after {
  width: 100%;
}


----checkmark-----

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.custom-checkbox input {
  display: none; /* Hide the actual checkbox */
}

.custom-checkbox .checkmark {
  width: 40px; /* Adjust size to fit your image */
  height: 40px; /* Same size as width */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 6px;
  transition: transform 0.3s ease-in-out;
  right:30px;
}

/* Setting the PNG as background for the checkbox */
.custom-checkbox .checkmark::before {
  content: "";
  background-image: url("/static/img/comp/cross.png"); /* Replace with your PNG file path */
  background-size: cover; /* Make sure the image covers the box fully */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px;
  transition: opacity 0.3s ease-in-out;
}

.custom-checkbox .checkmark:hover {
    transform: rotate(90deg);
}
/* When the checkbox is checked, change the visual */
.custom-checkbox input:checked + .checkmark::before {
  opacity: 0.7; /* Optional: Make image fade when checked */
  transform: scale(1.2); /* Optional: Add a slight scale effect */
}


.cart-wrapper {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.product-card {
    background: white;
    border-radius: 12px;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
  .product-card img {
    width: 100%;
    height: auto;
    max-height: 240px;
  }
  .product-card .fw-bold {
    margin-top: 10px;
  }
}



/*--------------------------------------------------------------
My Orders
----------------------------------------------------------------*/

/* Wrapper */
.orders-page-wrapper {
    font-family: "Inter", Arial, sans-serif;
    background: #f4f6f9;
    padding: 25px;
}

/* Breadcrumb */
.orders-page-breadcrumb {
    margin-bottom: 20px;
}

/* Title */
.orders-page-title {
    font-size: 32px;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 700;
    text-align: center;
}

/* User Info */
.orders-page-user-info {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* Empty State */
.orders-page-empty {
    padding: 40px;
    margin: 40px auto;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: rgba(9,121,105,0.2) 0px 2px 8px;
}

/* Order Card */
.orders-page-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

/* Header */
.orders-page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orders-page-card-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.orders-page-date {
    font-size: 14px;
    color: #777;
}

/* Delivery Address */
.orders-page-delivery {
    margin-top: 15px;
    margin-bottom: 15px;
}

.orders-page-delivery h5 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

/* Product List */
.orders-page-products {
    margin-top: 15px;
}

.orders-page-product-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.orders-page-product-item:last-child {
    border-bottom: none;
}

.orders-page-product-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.orders-page-product-info {
    flex-grow: 1;
    margin-left: 15px;
}

.orders-page-product-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.orders-page-product-grade {
    margin: 4px 0;
    color: #777;
}

.orders-page-product-qty {
    font-size: 14px;
    color: #333;
}

.orders-page-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

/* Status Badge */
.orders-page-status {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.orders-page-status.pending { background: #f0ad4e; }
.orders-page-status.paid { background: #5cb85c; }
.orders-page-status.done { background: #198754; }
.orders-page-status.failed { background: #d9534f; }

/* Footer */
.orders-page-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orders-page-total {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

/* Receipt Button */
.orders-page-receipt-btn {
    padding: 10px 16px;
    background: #4a90e2;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.orders-page-receipt-btn:hover {
    background: #3b7ac2;
}


.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;

}

.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    position: sticky;
    top: 20px;
}

.checkout-btn {
    border: none;
    transition: transform 0.2s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #228B22, #228B22);
}

.remove-btn {
    color: #dc2626;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-btn:hover {
    color: #991b1b;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f3f4f6;
    border: none;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #e5e7eb;
}

.discount-badge {
    background: #dcfce7;
    color: #166534;
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 6px;
}


/*--------------------------------------------------------------
# Product Page
--------------------------------------------------------------*/
.address {
    margin-top:150px;
}

.page-product {
    margin-top: -100 px;
    font-family: BrandonGrotesque-Light, sans-serif;
}
/* Thumbnail Slider */

/* Main container for the photo viewer */
.slider-container {
  position: relative;
  max-width: 95%;
  margin: 0px auto;
  margin-top: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  height:550px;

}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 100%;
  border-radius:3px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

}

/* Navigation Buttons */
.button-slider {
  position: absolute;
  item-align:center;
  top: 92%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  border: none;
  padding: 20px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;

}

.button-slider.prev {
    left: 10px;
}

.button-slider.next {
    right: 10px;
}

/* Pagination Dots */
.pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.pagination .dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination .active {
  background-color: #fff;
}

/* Thumbnails Section */
.thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
  padding: 10px 0;
}

.thumbnail {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail img {
  width: 88px;
  height: 70px;
  border: 3px solid transparent;
  border-radius: 5px;
  gap:5px;
}

.thumbnail:hover {
  transform: scale(1.1);
}

.thumbnail.active img {
  border-color: #8bde94;
}

@media screen and (max-width: 768px) {
  .slider-container {
    width: 100%;
    padding: 0 10px;
  }
}

/* Rating Stars */
.star-rating {
        direction: rtl;
        display: inline-block;
        cursor: pointer;
    }

    .star-rating input {
        display: none;
    }

    .star-rating label {

        color: #ddd;
        font-size: 24px;
        padding: 0 2px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .star-rating label:hover,
    .star-rating label:hover~label,
    .star-rating input:checked~label {
        color: #ffc107;
    }

.product-bottom {
    width: auto;
    height:80px;
    border: 3px solid green;
}

.product-bottom-thumb {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    max-width: none !important;
}

.product_item {
    text-align: right;
    font-weight: bolder;
    font-family: BrandonGrotesque-Light, sans-serif;
    font-size: 18px;
}

.availability {
    color:green;
    font-weight:bold;
    font-family: BrandonGrotesque-Light, sans-serif;
    font-size: 18px;
}

/* Quantity Wrapper */
.quantity {
    background-image: url("/static/img/products/spinner.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

/* Flex group */
.input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/* Buttons */
.qnt-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-family: BrandonGrotesque-Light, sans-serif;
    font-size: 32px;
    border: none;
    background: transparent;
    transition: 0.2s;
}

.qnt-icon:hover {
    color: green;
}

/* Input */
.qnt-input {
    width: 60px;
    height: 40px;
    font-family: BrandonGrotesque-Light, sans-serif;
    font-size: 20px;
    text-align: center;
    border: none;
    background: transparent;
    flex: 0 0 auto !important;   /* prevents stretching */
    box-sizing: border-box !important; /* ensures width stays exact */
    padding: 0 !important;
    line-height: normal !important;
}

/* Remove number arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

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

/* Mobile (small screens) */
@media (max-width: 576px) {
    .qnt-icon {
        width: 32px;
        height: 32px;
        font-size: 26px;
        margin-bottom: 20px,
    }

    .qnt-input {
        width: 50px;
        font-size: 18px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .qnt-icon {
        width: 36px;
        height: 36px;
        font-size: 30px;
    }

    .qnt-input {
        width: 55px;
        font-size: 19px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .qnt-icon {
        width: 45px;
        height: 45px;
        font-size: 36px;
    }

    .qnt-input {
        width: 70px;
        font-size: 22px;
    }
}


.heart-container {
  --heart-color: rgb(222, 255, 91);
  position: relative;
  width: 40px;
  height: 40px;
  padding-top: 40px;
  background: transparent;
}

/* Invisible checkbox */
.heart-container .checkbox {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

/* SVG wrapper */
.heart-container .svg-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  /* FIX: allow stroke to extend outside */
  overflow: visible;
}

/* Outline */
.heart-container .svg-outline {
  fill: none;
  stroke: var(--heart-color);
  stroke-width: 2;
}

/* Filled heart */
.heart-container .svg-filled {
  fill: var(--heart-color);
  position: absolute;
  display: none;
  animation: heart-fill 0.8s ease;
}

/* Celebration */
.heart-container .svg-celebrate {
  position: absolute;
  display: none;
  stroke: var(--heart-color);
  fill: var(--heart-color);
  stroke-width: 2;
  animation: heart-pop 0.5s forwards;
}

/* Checkbox triggers */
.heart-container .checkbox:checked ~ .svg-container .svg-filled {
  display: block;
}

.heart-container .checkbox:checked ~ .svg-container .svg-celebrate {
  display: block;
}

/* Animations */
@keyframes heart-fill {
  0% { transform: scale(0); }
  30% { transform: scale(1.25); }
  60% { transform: scale(1); filter: brightness(1.4); }
}

@keyframes heart-pop {
  0% { transform: scale(0); opacity: 1; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Wish Button */
.wish-btn {
  padding:15px;
}

/* Shop Button */
.shop-btn {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 15px;
  border: 3px solid green;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.shop-btn:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: #72d27c;
  z-index: -1;
}

.shop-btn:hover, .shop-btn:focus {
  color: white;
}

.shop-btn:hover:before, .shop-btn:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.shop-btn:active {
  transform: scale(0.9);
}


/* Shop Button - Warning Version */
.shop-btn-warning {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 15px;
  border: 3px solid #ffc107; /* Bootstrap warning border */
  border-radius: 5px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #000; /* Dark text for warning buttons */
  background-color: #ffc107; /* Bootstrap warning background */
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.shop-btn-warning:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: #ffca2c; /* Slightly darker warning shade */
  z-index: -1;
}

.shop-btn-warning:hover,
.shop-btn-warning:focus {
  color: #000;
}

.shop-btn-warning:hover:before,
.shop-btn-warning:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.shop-btn-warning:active {
  transform: scale(0.9);
}



/* Add Product Page */
.add-product {
  margin-top:150px;
}


/* ------------------------------------------------------------------------------------------------*/
/* ------------------------------------------ Wishlist count (Mobile Version)--------------------------------------*/
/* ------------------------------------------------------------------------------------------------*/
.navbar-nav {
    display: flex;
    align-items: right; /* forces both icons to align on the same vertical center line */
}

.wishlist_btn {
    display: flex;
    align-items: right; /* forces both icons to align on the same vertical center line */
    margin-left:20px;
}

.login_btn {
    display: flex;
    align-items: right; /* forces both icons to align on the same vertical center line */
    margin-left:20px;
}

.wishlist-counter-wrapper,
.mini-cart-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* 1. Reset wrapper button styles so positioning anchors strictly to the heart icon */
.wishlist-counter-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 4px !important; /* Reduces button padding so badge anchors close to SVG */
    border: none !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* 2. Universal Wishlist Badge Positioning */
.wishlist-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, -15%); /* Offsets badge cleanly over top-right of heart */

    /* Circle sizing & centering */
    width: 23px;
    height: 23px;
    min-width: 20px;
    border-radius: 50%;

    display: inline-block;
    line-height: 20px; /* Vertically centers text */
    text-align: center; /* Horizontally centers text */
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    background: #33B864;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    z-index: 5;
}

/* 3. Mobile Specific Adjustment (Accounts for 37px SVG size) */
@media (max-width: 768px) {
    .wishlist-counter-wrapper #wishlist-count-mobile {
        top: 2px;
        right: 2px;
        transform: translate(20%, -10%);
    }
}

.wishlist-badge.bump {
    transform: translate(30%, 30%) scale(1.25);
}

.wishlist-badge.hidden {
    display: none;
}

.wishlist-counter-wrapper,
#like {
    position: relative !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



}
/*---------------------------------------------------------------
Order Preview Page
-----------------------------------------------------------------*/

.separator {
  width: calc(100% - 20px);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  color: #8b8e98;
  margin: 0 10px;
  margin-top:20px;
}

.separator > p {
  word-break: keep-all;
  display: block;
  padding-top: 0px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  margin: auto;
}

.separator .line {
  display: inline-block;
  width: 100%;
  height: 3px;
  border: 0;
  background-color: black;
  margin: auto;
}


/* -----------------------------------------------------------------
Checkout Button
--------------------------------------------------------------------*/
.checkout_btn {
  width: 100%;
  margin: 0;
  position: relative;
}

/* INPUT */
.input_checkout {
  width: 100%;
  padding: 20px 15px 10px 15px;
  outline: none;
  border: none;
  border-radius: 5px;
  background-color: #f1f1f1;
  color: #333;
  font-size: 16px;
  font-weight: 550;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 0 5px transparent;
}

/* Hide placeholder normally */
.input_checkout::placeholder {
  color: transparent;
  transition: color 0.2s ease;
}

/* Show placeholder on focus */
.input_checkout:focus::placeholder {
  color: #999;
}

/* Hover + Focus border effect */
.input_checkout:hover,
.input_checkout:focus {
  box-shadow: 0 0 0 2px #333;
}

/* LABEL */
.span_checkout {
  position: absolute;
  left: 0;
  top: 0;
  padding: 13px 15px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  text-shadow:
    -1px -1px 0 #f1f1f1,
     1px -1px 0 #f1f1f1,
    -1px  1px 0 #f1f1f1,
     1px  1px 0 #f1f1f1;
  transition: 0.3s ease-in-out;
  pointer-events: none;
}

/* Floating label */
.input_checkout:focus + .span_checkout,
.input_checkout:valid + .span_checkout {
  transform: translateY(-15px) translateX(-15px) scale(0.8);
}

/* ERROR STATE */
.checkout_btn.error .input_checkout {
  box-shadow: 0 0 0 2px red !important;
}

.checkout_btn.error .span_checkout {
  color: red;
}

/* Credit Card Pictures */
.checkout_btn {
    position: relative;
    width: 100%;
}

/* Your input stays EXACTLY as it is */
#card_number {
    width: 100%;
    padding-right: 80px; /* space for icons */
}

/* Credit Card Icons container */
.icons_right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    pointer-events: none; /* IMPORTANT: does NOT affect input behavior */
}

.icons_right img {
    width: 28px;
    height: auto;
    opacity: 0.8;
}

.extra_icons img {
    width: 24px;
    opacity: 0.8;
}

#cvcField {
    position: relative;
}

/* CVC Icon container */
#cvc {
    width: 100%;
    padding-right: 40px; /* space for the icon */
}

/* Icon floats on the right */
.cvc_icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* IMPORTANT: input stays fully clickable */
}

.cvc_icon img {
    width: 40px;
    height: auto;
    opacity: 0.5; /* fully visible */
}


/* # Change Address Modal */
.modal-backdrop.show {
    opacity: .2 !important;
}

/* Address Page */
.add_address {
  margin-right: 200px;
}

.styled-hr {
  width: 0;
  height: 2px;
  margin: 20px auto;
  background: green;
  border: none;
  animation: grow 0.8s ease forwards;
}

@keyframes grow {
  from { width: 0; }
  to { width: 50%; }
}

.address-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border-top: 5px solid #28a745;
  transition: transform .2s ease, box-shadow .2s ease;
}

.address-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
}

.address-card .title-icon {
  font-size: 1.4rem;
  color: #28a745;
  margin-bottom: 8px;
}


address_button {
  --color: #560bad;
  font-family: inherit;
  display: inline-block;
  width: 8em;
  height: 2.6em;
  line-height: 2.5em;
  margin: 20px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color 0.5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--color);
}

address_button:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 200px;
  border-radius: 50%;
}

address_button:hover {
  color: #fff;
}

address_button:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

address_button:hover:before {
  top: -30px;
  left: -30px;
}

address_button:active:before {
  background: #3a0ca3;
  transition: background 0s;
}

.address_card {
    margin-top:30px;
}

/* pop-up */
#popup-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.popup {
background: #e0e0e0;      /* light gray background */
color: #28a745;
padding: 12px 18px;
margin-bottom: 10px;
border-radius: 6px;
opacity: 0;
transform: translateY(-5px);
transition: opacity 0.4s, transform 0.4s;
font-size: 14px;
max-width: 300px;
}

.popup.show {
opacity: 1;
transform: translateY(0);
}

/*Billing Address*/
.info-small {
    background: rgba(255, 255, 255, 0.15); /* subtle glass tint */
    backdrop-filter: blur(4px);            /* gentle blur */
    -webkit-backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}



.info-small p {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.info-small img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.info-small .btn {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.underline-text {
    text-decoration: underline;
    text-underline-offset: 3px;   /* moves underline slightly down */
    text-decoration-thickness: 2px; /* makes underline nicer */
}

.info_button {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #725AC1;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #725AC1;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #725AC1;
}

.info_button:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 #725AC1;
}

.info_button:active {
  transform: scale(0.9);
}

.address-background {
    background-image: url("/static/background/background-1.jpg");
    background-size: cover;        /* fills the box */
    background-repeat: no-repeat;  /* no tiling */
    background-position: center;   /* centers the image */
    border-radius: 10px;           /* keep rounded corners */
    padding: 20px;                 /* keep spacing */
}

.info_button_1 {
  position: relative;
  display: inline-block;
  text-align: center;
  padding:10px,
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #ffc107;
  background: transparent;
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid #ffc107;
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 #ffc107;
}

.info_button_1:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 #ffc107;
}

.info_button_1:active {
  transform: scale(0.9);
}


/*   # Checkout Page   */
.checkout-modal-overlay {
    top: 0;
    left: 0;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999 !important;
    position: fixed !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-modal-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: block;      /* ensure it's not shrink-wrapping */
}

#checkout-container {
    width: 100%;
    display: block;
    min-height: 600px;
}

#checkout-container iframe {
    width: 100% !important;
}

.checkout-close-btn {
    position: absolute; top: 8px; right: 12px; border: none; background: none;
    font-size: 24px; cursor: pointer;
}

/* Mini Checkout */
/*--------------------------------------------------------------------
MINI CART — FULL STYLESHEET
----------------------------------------------------------------------*/

.mini-cart-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible !important;
}

.mini-cart-badge {
    position: absolute !important;
    top: -2px;
    right: -4px;
    background-color: #28a745; /* Matches green color in image */
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0 4px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    pointer-events: none;
}

#list_products {
    padding: 10px 20px;
    line-height: 1;
}

#list_products svg {
    width: 40px;
    height: 40px;
}

/* Item count badge — true circle, bottom-right of the icon, orange */
#mini-cart-count {
    top: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    right: 0 !important;
    transform: translate(-50%, 17%) !important;

    /* Circle shape — fixed size + centered text, overrides Bootstrap's pill stretch */
    width: 23px;
    height: 23px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;

    font-size: 10px;
    background-color: #d4a017 !important; /* ← counter color */
}

#mini-cart-count_mobile {
    top: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    right: 0 !important;
    transform: translate(20%, -17%) !important;

    /* Circle shape — fixed size + centered text, overrides Bootstrap's pill stretch */
    width: 23px;
    height: 23px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 50% !important;

    font-size: 10px;
    background-color: #d4a017 !important; /* ← counter color */
}
#mini-cart-count.d-none {
    display: none !important;
}

/* ----------------------------------------
 * Unified Mini-Cart Badge Styling (Desktop & Mobile)
 * ---------------------------------------- */
#mini-cart-count,
#mini-cart-count_mobile {
    /* Color Scheme */
    background-color: #ffc107 !important; /* Golden/yellow hex color */
    color: #000000 !important;           /* Dark text for contrast */

    /* Typography */
    font-family: inherit;                 /* Uses site default font stack */
    font-size: 0.75rem !important;        /* 12px standard badge text size */
    font-weight: 700 !important;          /* Bold weight for visibility */
    line-height: 1 !important;            /* Tight line-height for vertical alignment */
    letter-spacing: 0.5px;

    /* Badge Geometry & Padding */
    padding: 0.35em 0.65em !important;    /* Standard Bootstrap badge spacing */
    min-width: 1.5em;                     /* Keeps badges round even with single digits */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Subtly elevates badge over icon */
}

/* =========================================
   Popover panel
   ========================================= */
.mini-cart-dropdown {
    position: relative;
    top: 60px;
    right: -8px;
    width: 270px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 13px;
    z-index: 1000;
}

.mini-cart-dropdown::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 18px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

.mini-cart-title {
    margin: 0 30px 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.mini-cart-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #8a8f98;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mini-cart-close-btn:hover {
    background: #f2f3f5;
    color: #1a1a1a;
}

/* =========================================
   Item list
   ========================================= */
#mini-cart-items {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 260px;
    overflow-y: auto;
}

.mini-cart-item {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #eef0f2;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-img {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-cart-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.mini-cart-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-qty {
    font-size: 11px;
    color: #8a8f98;
    margin-top: 2px;
}

.mini-cart-price {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    flex-shrink: 0;
}

/* =========================================
   Footer: total row + checkout button
   ========================================= */
.mini-cart-footer {
    padding: 10px 14px 0;
    margin-top: 6px;
    border-top: 1px solid #eef0f2;
}

.mini-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* Checkout button — golden */
.mini-cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 9px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffb300, #ffd54f); /* ← checkout button color */
    color: #1a1a1a !important;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 2px 6px rgba(212, 160, 23, 0.35);
}

.mini-cart-checkout-btn:hover {
    box-shadow: 0 4px 10px rgba(212, 160, 23, 0.45);
    transform: translateY(-1px);
    color: #1a1a1a;
}

.mini-cart-checkout-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(212, 160, 23, 0.3);
}




/* ----------------------------------------------------------
Navbar
-------------------------------------------------------------*/

/* MOBILE NAV ONLY */
@media (max-width: 991px) {
  #navmenu ul {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    padding: 15px;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid #ddd;
  }

  #navmenu ul.show {
    display: flex;
  }

  .mobile-nav-toggle {
    font-size: 32px;
    cursor: pointer;
    margin-left: auto;
  }
}

.order-success-message {
    color: #28a745;   /* Bootstrap green */
    font-weight: 600;
}



/*-----------------------------------------------------------------
Orders
-------------------------------------------------------------------*/

/* Wrapper */
.orders-modern-wrapper {
    margin-top: 40px;
    padding-bottom: 40px;
}

/* User Card */
.orders-user-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Order Card */
.order-card {
    display: grid;
    grid-template-columns: 120px 200px 1fr 120px 120px 120px;
    gap: 25px;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 20px;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Sections */
.order-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* --------------------------------------------------------------------------
   Orders page — extends the site's existing
   token system (fonts.css / variables.css).
   No colors are hardcoded outside :root.
-----------------------------------------------------------------------------*/

:root {
  --mono-font: "IBM Plex Mono", ui-monospace, monospace;
  --saffron-color: #E0A93D;
  --saffron-tint-color: #FBF0DA;
  --accent-tint-color: #E7F1EA;
  --accent-hover-color: color-mix(in srgb, var(--accent-color) 82%, black);
  --line-color: #E1E7E2;
  --muted-color: #5C6A61;
  --slate-color: #4C5A72;
  --slate-tint-color: #E4E8EF;
  --rust-color: #B5482F;
  --rust-tint-color: #F3E1DC;

  --radius: 14px;
}

.dark-background {
  --line-color: #333333;
  --muted-color: #b8b8b8;
  --accent-tint-color: #16301f;
  --saffron-tint-color: #3a2c12;
}

.orders-modern-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1.25rem 5rem;
  font-family: var(--default-font);
  color: var(--default-color);
  background: var(--background-color);
}

/* ============ Breadcrumb ============ */
.orders-breadcrumb .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.orders-breadcrumb a { color: var(--muted-color); text-decoration: none; }
.orders-breadcrumb a:hover { color: var(--nav-hover-color); }
.orders-breadcrumb .active { color: var(--default-color); }

/* ============ Header ============ */
.orders-head { margin-bottom: 1.75rem; }
.orders-eyebrow {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron-color);
  margin: 0 0 0.35rem;
}
.orders-title {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--heading-color);
  line-height: 1.15;
}

/* ============ User card ============ */
.orders-user-card {
  background: var(--accent-tint-color);
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
  overflow-wrap: break-word;
}
.user-card-label {
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.4rem;
}
.orders-user-card h3 {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--heading-color);
}
.orders-user-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-color);
  line-height: 1.5;
  word-break: break-word;
}
.user-email { color: var(--accent-color); }

/* ============ Empty state ============ */
.orders-empty {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed var(--line-color);
  border-radius: var(--radius);
}
.empty-mark {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  color: var(--line-color);
  margin-bottom: 0.5rem;
}
.orders-empty h3 {
  font-family: var(--heading-font);
  margin: 0 0 0.35rem;
  color: var(--heading-color);
}
.orders-empty p { color: var(--muted-color); margin: 0; font-size: 0.9rem; }

/* ============ Orders list ============ */
.orders-list { display: flex; flex-direction: column; gap: 1.5rem; }

/* ============ Ticket card ============ */
.order-ticket {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
.order-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 101, 48, 0.1);
  border-color: var(--accent-color);
}

.ticket-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.ticket-header { align-items: baseline; margin-bottom: 1rem; flex-wrap: wrap; }
.ticket-id { font-family: var(--mono-font); font-weight: 600; font-size: 1.15rem; color: var(--heading-color); }
.ticket-id .hash { color: var(--muted-color); font-weight: 400; }
.ticket-date { font-family: var(--mono-font); font-size: 0.78rem; color: var(--muted-color); white-space: nowrap; }

/* Perforation divider */
.ticket-perforation {
  height: 1px;
  margin: 1rem 0;
  background-image: repeating-linear-gradient(
    to right, var(--line-color) 0, var(--line-color) 6px, transparent 6px, transparent 12px
  );
}

/* ============ Body — now always stacked, full width ============ */
/* Address and items are two full-width blocks, one above the other,
   instead of side-by-side columns — this removes the "half empty
   column" gap that appeared when the address block was short. */
.ticket-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.col-label {
  font-family: var(--mono-font);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-color);
  margin-bottom: 0.4rem;
}
.ticket-address {
  width: 100%;
  font-size: 0.88rem;
  overflow-wrap: break-word;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--line-color);
}
.ticket-address strong { display: block; margin-bottom: 0.2rem; color: var(--default-color); }
.ticket-address p { margin: 0; color: var(--muted-color); line-height: 1.5; }

.ticket-products { width: 100%; }
.order-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  width: 100%;
}
.order-product + .order-product { border-top: 1px solid var(--line-color); }
.order-product img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--accent-tint-color);
}
.product-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto; /* grows to fill all available row width */
}
.product-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--default-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-weight { font-family: var(--mono-font); font-size: 0.74rem; color: var(--muted-color); }
.product-qty {
  font-family: var(--mono-font);
  font-size: 0.85rem;
  color: var(--muted-color);
  flex-shrink: 0;
  margin-left: auto; /* pins qty to the far right edge of the full-width row */
  padding-left: 0.75rem;
}

/* Total row — spans the full width of the items block */
.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1.5px solid var(--accent-color);
}
.order-total-row span {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-color);
}
.order-total-row strong {
  font-family: var(--mono-font);
  font-size: 1.15rem;
  color: var(--heading-color);
}

/* Footer: stamp + receipt */
.ticket-footer { align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Status stamp */
.status-stamp {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
  border: 1.5px solid currentColor;
  transform: rotate(-3deg);
  display: inline-block;
  margin: 0.2rem 0; /* breathing room so the rotation never touches card edges */
}
.status-pending   { color: var(--saffron-color); background: var(--saffron-tint-color); }
.status-shipped   { color: var(--slate-color);   background: var(--slate-tint-color); }
.status-delivered { color: var(--accent-color);  background: var(--accent-tint-color); }
.status-cancelled { color: var(--rust-color);    background: var(--rust-tint-color); }

/* Receipt button */
a.receipt-btn,
a.receipt-btn:visited {
  font-family: var(--default-font);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--contrast-color);
  background-color: var(--accent-color);
  padding: 0.55rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid var(--accent-color);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  min-height: 44px;
}
a.receipt-btn:hover,
a.receipt-btn:focus-visible {
  color: var(--contrast-color) !important;
  background-color: var(--accent-hover-color);
  border-color: var(--accent-hover-color);
  transform: translateY(-1px);
}
a.receipt-btn i { color: inherit; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .orders-modern-wrapper { padding: 1.5rem 1rem 4rem; }
  .orders-title { font-size: 2rem; }
  .order-ticket { padding: 1.2rem 1.25rem; }
}

@media (max-width: 640px) {
  .ticket-footer { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .status-stamp { align-self: flex-start; }
  a.receipt-btn { width: 100%; }

  .orders-title { font-size: 1.7rem; }
  .orders-user-card { padding: 1rem 1.1rem; }
  .order-ticket { padding: 1.1rem 1rem; border-radius: 12px; }

  .ticket-header { gap: 0.4rem 0.75rem; }
  .ticket-id { font-size: 1.05rem; }
}

@media (max-width: 400px) {
  .orders-modern-wrapper { padding: 1.25rem 0.75rem 3rem; }
  .orders-title { font-size: 1.45rem; }
  .orders-eyebrow { font-size: 0.66rem; }

  .order-product img { width: 36px; height: 36px; }
  .product-name { font-size: 0.85rem; }
  .product-weight, .product-qty { font-size: 0.7rem; }

  .order-total-row strong { font-size: 1.05rem; }
  .ticket-date { font-size: 0.7rem; }

  .status-stamp { font-size: 0.66rem; padding: 0.28rem 0.6rem; }
}

/* Accessibility */
a:focus-visible, .order-ticket:focus-within {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .order-ticket, a.receipt-btn { transition: none; }
}


/* ---------------------------------------------------------------------
   Forget password page — uses the site's
   existing token system (fonts.css/variables.css)
------------------------------------------------------------------------*/

.fp-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
  margin-bottom: 1rem;

}

/* Breadcrumb */
.fp-breadcrumb-nav {
  margin-bottom: 2.5rem; /* the requested spacing before the title/card */
}
.fp-breadcrumb-nav .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.fp-breadcrumb-nav a {
  color: #6b7a70;
  text-decoration: none;
}
.fp-breadcrumb-nav a:hover { color: var(--accent-color); }
.fp-breadcrumb-nav .active a { color: var(--default-color); }

/* Card — same pattern as the reset-password page:
   controls its own width, centered, scales at every breakpoint */
.fp-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid rgba(17, 101, 48, 0.1);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 12px 32px rgba(17, 101, 48, 0.08);
  box-sizing: border-box;
}

.fp-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color) 20%, white);
}

.fp-title {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
}

.fp-subtitle {
  font-family: var(--default-font);
  color: #6b7a70;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 0 0.25rem;
}

/* Form */
.fp-form { margin-bottom: 1.5rem; }

.fp-input-group {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e1e7e2;
  transition: box-shadow 0.15s ease;
  margin-bottom: 1rem;
}
.fp-input-group:focus-within {
  box-shadow: 0 0 0 2px var(--accent-color);
}

.fp-input-icon {
  background: color-mix(in srgb, var(--accent-color) 8%, white);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  flex-shrink: 0;
}

.fp-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0.75rem 0.75rem;
  font-family: var(--default-font);
  font-size: 0.95rem;
  width: 100%;
}

.fp-submit-btn {
  width: 100%;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.fp-submit-btn:hover,
.fp-submit-btn:focus {
  background-color: color-mix(in srgb, var(--accent-color) 82%, black);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

/* Success state message box */
.fp-message-box {
  background: color-mix(in srgb, var(--accent-color) 6%, white);
  border: 1px dashed color-mix(in srgb, var(--accent-color) 30%, white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.fp-message-box h5 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  word-break: break-word;
}
.fp-message-box p {
  font-family: var(--default-font);
  color: #6b7a70;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}
.fp-email {
  color: var(--accent-color);
  font-weight: 600;
  word-break: break-word;
}

.fp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: #6b7a70;
  text-decoration: none;
}
.fp-back-link:hover { color: var(--accent-color); }

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

@media (min-width: 992px) {
  .fp-card { padding: 3rem 2.75rem; }
}

@media (max-width: 576px) {
  .fp-wrapper { padding: 1.5rem 0.75rem 3rem; }
  .fp-breadcrumb-nav { margin-bottom: 2rem; }
  .fp-card { padding: 2rem 1.5rem; border-radius: 14px; }
  .fp-title { font-size: 1.4rem; }
  .fp-subtitle { font-size: 0.88rem; }
  .fp-message-box { padding: 1.15rem; }
}

/* Accessibility */
a:focus-visible, .fp-submit-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .fp-submit-btn { transition: none; }
}


/* -------------------------------------------------------------------
   Reset password page —
   uses the site's existing token system
----------------------------------------------------------------------*/

.reset-wrapper {
  width: 100%;
  padding: 4rem 4rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 100px; /* default: laptop/desktop */
}

@media (max-width: 768px) {
  .reset-wrapper {
    margin-top: 50px;
  }
}

/* Card controls its own width, independent of the Bootstrap
   column, so it stays a sensible, centered size on phones,
   tablets, laptops, and large desktop screens alike. */
.reset-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid rgba(17, 101, 48, 0.1);
  border-radius: 18px;
  padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: 0 12px 32px rgba(17, 101, 48, 0.08);
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.reset-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color) 20%, white);
  flex-shrink: 0;
}

.reset-title {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1.65rem;
  line-height: 1.25;
}

.reset-subtitle {
  font-family: var(--default-font);
  color: #6b7a70;
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.reset-label {
  font-family: var(--default-font);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--heading-color);
  text-align: left;
  display: block;
  margin-bottom: 0.4rem;
}

/* Input group — fixed height, everything centered inside it */
.reset-input-group {
  display: flex;
  align-items: center;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #e1e7e2;
  transition: box-shadow 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}
.reset-input-group:focus-within {
  box-shadow: 0 0 0 2px var(--accent-color);
}

.reset-icon {
  height: 100%;
  background: color-mix(in srgb, var(--accent-color) 8%, white);
  border: none;
  color: var(--accent-color);
  padding-left: 1rem;
  padding-right: 0.75rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.reset-input {
  height: 100%;
  border: none;
  padding: 0 0.5rem;
  font-family: var(--default-font);
  font-size: 0.95rem;
  box-shadow: none !important;
  min-width: 0; /* prevents overflow from long placeholder text on narrow screens */
  flex: 1 1 auto;
  width: 100%;
  box-sizing: border-box;
  line-height: normal; /* stops Bootstrap's form-control line-height from inflating height */
}
.reset-input:focus {
  box-shadow: none;
  outline: none;
}

.reset-toggle-btn {
  height: 100%;
  background: #fff;
  border: none;
  color: #8a948d;
  padding: 0 0.9rem;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}
.reset-toggle-btn:hover,
.reset-toggle-btn:focus {
  color: var(--accent-color);
}

/* Strength meter — bar only, no text label */
.strength-meter {
  width: 100%;
  height: 5px;
  background: #eef1ef;
  border-radius: 999px;
  overflow: hidden;
}
.strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.strength-weak   { background-color: #c0473a; }
.strength-fair   { background-color: #d99a2b; }
.strength-good   { background-color: #4c8f68; }
.strength-strong { background-color: var(--accent-color); }

/* Submit button */
.reset-submit-btn {
  width: 100%;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.reset-submit-btn:hover,
.reset-submit-btn:focus {
  background-color: color-mix(in srgb, var(--accent-color) 82%, black);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

.reset-back-link {
  margin-top: 1.5rem;
  font-size: 0.88rem;
}
.reset-back-link a {
  color: #6b7a70;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.reset-back-link a:hover {
  color: var(--accent-color);
}

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

/* Large desktop/laptop — card stays a fixed comfortable width
   instead of stretching with the Bootstrap column */
@media (min-width: 992px) {
  .reset-card { max-width: 420px; padding: 3rem 2.5rem 2.5rem; }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 577px) {
  .reset-card { max-width: 460px; }
}

/* Phones */
@media (max-width: 576px) {
  .reset-wrapper { padding: 2.5rem 0.75rem; }
  .reset-card { max-width: 100%; padding: 2.25rem 1.5rem 1.75rem; }
  .reset-title { font-size: 1.4rem; }
  .reset-subtitle { font-size: 0.86rem; margin-bottom: 1.5rem; }
}

/* Small phones */
@media (max-width: 380px) {
  .reset-wrapper { padding: 1.5rem 0.5rem; }
  .reset-card { padding: 1.75rem 1.1rem 1.5rem; border-radius: 14px; }
  .reset-icon-badge { width: 54px; height: 54px; font-size: 1.35rem; }
  .reset-title { font-size: 1.25rem; }
  .reset-subtitle { font-size: 0.8rem; }
  .reset-input-group { height: 44px; }
  .reset-icon, .reset-toggle-btn { padding-left: 0.65rem; padding-right: 0.5rem; }
  .reset-input { padding: 0 0.4rem; font-size: 0.88rem; }
}

/* Very short viewports (landscape phones) — avoid excessive vertical padding
   pushing the card off-screen */
@media (max-height: 480px) and (orientation: landscape) {
  .reset-wrapper { padding: 1.5rem 1rem; align-items: flex-start; }
}

/* Accessibility */
a:focus-visible, .reset-toggle-btn:focus-visible, .reset-submit-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .strength-bar, .reset-submit-btn { transition: none; }
}


/*-------------------------------------------------------------
Successful Reset Password
---------------------------------------------------------------*/

.success-badge {
  background: color-mix(in srgb, var(--accent-color) 16%, white);
  border-color: color-mix(in srgb, var(--accent-color) 30%, white);
  font-size: 1.9rem;
}

.reset-submit-btn {
  text-decoration: none; /* since it's now also used as an <a> tag here */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}


/*--------------------------------------------------------------------------

Login Page

----------------------------------------------------------------------------*/

.login-wrapper {
  width: 100%;
  padding: 3rem 1rem 5rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.login-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface-color);
  border: 1px solid rgba(17, 101, 48, 0.1);
  border-radius: 18px;
  padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: 0 12px 32px rgba(17, 101, 48, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.login-icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-color);
  border: 1px solid color-mix(in srgb, var(--accent-color) 20%, white);
  flex-shrink: 0;
}

.login-title {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.login-subtitle {
  font-family: var(--default-font);
  color: #6b7a70;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* Flash messages */
.login-alert {
  background: color-mix(in srgb, var(--accent-color) 8%, white);
  border: 1px solid color-mix(in srgb, var(--accent-color) 25%, white);
  color: var(--heading-color);
  font-family: var(--default-font);
  font-size: 0.88rem;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* Form */
.login-form {
  text-align: left;
}

.input-container {
  margin-bottom: 1.5rem;
}

.login-forget-link {
  display: inline-block;
  font-family: var(--default-font);
  font-size: 0.85rem;
  color: #6b7a70;
  text-decoration: none;
  margin-top: -0.5rem;
}
.login-forget-link:hover {
  color: var(--accent-color);
}

/* Buttons */
.login-submit-btn {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.login-submit-btn:hover,
.login-submit-btn:focus {
  background-color: color-mix(in srgb, var(--accent-color) 82%, black);
  color: var(--contrast-color);
  transform: translateY(-1px);
}

.login-secondary-btn {
  display: block;
  background: var(--surface-color);
  border: 1.5px solid #e1e7e2;
  color: var(--heading-color);
  font-family: var(--default-font);
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.login-secondary-btn:hover,
.login-secondary-btn:focus {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 5%, white);
}

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

@media (min-width: 992px) {
  .login-card { padding: 3rem 2.5rem 2.5rem; }
}

@media (max-width: 576px) {
  .login-wrapper { padding: 2rem 0.75rem 3rem; }
  .login-card { padding: 2.25rem 1.5rem 1.75rem; border-radius: 14px; }
  .login-title { font-size: 1.5rem; }
  .login-subtitle { font-size: 0.86rem; }
}

/* Accessibility */
a:focus-visible, .login-submit-btn:focus-visible, .login-secondary-btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .login-submit-btn, .login-secondary-btn { transition: none; }
}


