/**
* Template Name: Axis
* Template URL: https://bootstrapmade.com/axis-bootstrap-corporate-template/
* Updated: Sep 13 2025 with Bootstrap v5.3.8
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    "Roboto", 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: "Montserrat", sans-serif;
  --nav-font: "Poppins", 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: #666666; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #000000; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #b59775; /* 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: #999999; /* The default color of the main navmenu links */
  --nav-hover-color: #000000; /* 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: #666666; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #313131; /* 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: #e3e3e3;
  --heading-color: #ffffff;
  --accent-color: #bdb5b5;
  --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);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .cart-link {
  position: relative;
  display: flex;
  align-items: center;
}

.header .cart-link i {
  font-size: 1.2rem;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: var(--accent-color) !important;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
}

.header .logo img {
  max-height: 75px;
  margin-right: 8px;
}

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

.scrolled .header {
  isolation: isolate;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.scrolled .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/*--------------------------------------------------------------
# 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: 14px;
    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 rgba(0, 0, 0, 0.1);
  }

  .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 rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 18px;
    font-weight: 300;
    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;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

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

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

.footer .footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.footer .social-links {
  justify-content: center;
  margin-right: 0;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

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

.footer .social-links a:last-child {
  margin-right: 0;
}

.footer h4 {
  font-size: 18px;
  font-weight: 400;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer .footer-links-cats ul {
  align-items: right;
  text-align: right;
}

.footer .footer-links-cats {
  text-align: right;
}

.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-cats ul li {
  display: flex;
  align-items: right;
  justify-content: flex-end;
  text-align: right;
}

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  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-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

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

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

/*--------------------------------------------------------------
# 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 {
  text-align: center;
  padding: 40px 0 20px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title
  .breadcrumbs
  .breadcrumb
  .breadcrumb-item
  + .breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 87px;
  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: 2.8rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

@media (max-width: 576px) {
  .hero .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.hero .hero-cta .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px
    color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px
    color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-cta .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .hero-cta .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-cta .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.hero .hero-stats {
  display: flex;
  gap: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.hero .hero-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.hero .hero-image {
  position: relative;
  padding: 40px;
}

.hero .hero-image img {
  border-radius: 12px;
  max-height: 600px;
  box-shadow: 0 20px 60px
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-image .floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px
    color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

@media (max-width: 768px) {
  .hero .hero-image .floating-card {
    bottom: 10px;
    left: 10px;
    padding: 1rem;
    min-width: 160px;
  }
}

.hero .hero-image .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-image .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-image .floating-card .card-content h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--heading-color);
}

.hero .hero-image .floating-card .card-content .growth-percentage {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22c55e;
}

.hero .floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  color: var(--heading-color);
  animation: float-slow 4s ease-in-out infinite;
  z-index: 5;
}

.hero .floating-icon .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4d4d;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
}

/* Positioning for Icons */
.icon-cart {
  top: 20%;
  left: 0;
}
.icon-search {
  bottom: 20%;
  left: 5%;
  animation-delay: 1s !important;
}
.icon-heart {
  top: 50%;
  right: -5%;
  animation-delay: 2s !important;
}

/* Floating Product Cards */
.hero .floating-product {
  position: absolute;
  background: var(--surface-color);
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  z-index: 4;
  animation: float-slow 5s ease-in-out infinite alternate;
}

.hero .floating-product img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 5px;
}

.hero .floating-product .price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--heading-color);
}

.card-top {
  top: 20%;
  right: 0;
}
.card-bottom {
  bottom: 0%;
  right: 15%;
  animation-delay: 1.5s !important;
}

/* Best Seller Badge */
.best-seller-badge {
  position: absolute;
  top: 10%;
  right: 15%;
  background: #1a1a1a;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Floating Animation */
@keyframes float-slow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero .floating-icon,
  .hero .floating-product {
    display: none; /* Hide complex floats on mobile to prevent clutter */
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero::before {
    display: none;
  }

  .hero .row {
    flex-direction: column-reverse;
  }

  .hero .col-lg-6:first-child {
    margin-top: 3rem;
  }
}

.product-card .product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
}

.product-card .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-card .project-title {
  margin-bottom: 10px !important;
}

.product-card .product-actions {
  margin-top: 20px;
}

.product-card .btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 4px;
  transition: 0.3s;
}

.product-card .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  color: white;
}

.product-card .project-visual img {
  height: 350px !important;
  object-fit: contain;
  background: #fbfbfb;
}

/* E-commerce Hero Content Styling */
.hero-content h1 {
  font-size: 4rem;
  font-weight: 700; /* Bolder for e-commerce impact */
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-content p {
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Button Group */
.hero-cta-ecommerce {
  display: flex;
  gap: 15px;
  margin-bottom: 3.5rem;
}

/* Black Shop Now Button */
.btn-shop-now {
  background: var(--accent-color);
  color: #ffffff;
  padding: 16px 35px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.btn-shop-now:hover {
  background: var(--background-color);
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* White/Outline Browse Button */
.btn-browse {
  background: #f8f9fa;
  color: #1a1a1a;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid #e0e0e0;
}

.btn-browse:hover {
  background: #ffffff;
  border-color: #1a1a1a;
  color: #1a1a1a;
  transform: translateY(-3px);
}

/* Trust Badges (The small icons at the bottom) */
.hero-trust-badges {
  display: flex;
  gap: 30px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888888;
  font-size: 0.9rem;
}

.trust-item i {
  font-size: 1.2rem;
  color: #555555;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
  .hero-cta-ecommerce {
    flex-direction: column;
  }
  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 120px;
  padding-bottom: 120px;
}

.about .content h2 {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 30px;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .about .content h2 {
    font-size: 32px;
  }
}

.about .content .lead {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 40px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .stats-row {
  display: flex;
  gap: 40px;
  margin: 60px 0;
}

@media (max-width: 576px) {
  .about .stats-row {
    flex-direction: column;
    gap: 30px;
  }
}

.about .stats-row .stat-item .stat-number {
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-color);
  font-family: var(--heading-font);
}

.about .stats-row .stat-item .stat-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 8px;
}

.about .cta-section {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

@media (max-width: 576px) {
  .about .cta-section {
    flex-direction: column;
  }
}

.about .cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .cta-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.about .cta-section .btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  text-decoration: none;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .cta-section .btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.about .image-wrapper {
  position: relative;
}

.about .image-wrapper img {
  border-radius: 12px;
  box-shadow: 0 20px 60px
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .image-wrapper .floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 15px 40px
    color-mix(in srgb, var(--default-color), transparent 85%);
  max-width: 280px;
}

@media (max-width: 992px) {
  .about .image-wrapper .floating-card {
    position: static;
    margin-top: 30px;
    max-width: none;
  }
}

.about .image-wrapper .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about .image-wrapper .floating-card .card-content .icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about .image-wrapper .floating-card .card-content .icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.about .image-wrapper .floating-card .card-content .text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: var(--heading-color);
}

.about .image-wrapper .floating-card .card-content .text p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .about .row {
    text-align: center;
  }

  .about .content {
    margin-bottom: 60px;
  }

  .about .stats-row {
    justify-content: center;
  }
}

/* CATEGORY */

#categories .row {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.category-item {
  padding: 50px 30px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 45px rgba(181, 151, 117, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  transition: 0.3s;
}

.category-item:hover .category-icon {
  background-color: var(--accent-color);
  color: #fff;
}

.category-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.category-item p {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 25px;
  line-height: 1.6;
}

.category-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap 0.3s;
  padding-top: 15px;
}

.category-link i {
  font-size: 1.1rem;
}

.category-item:hover .category-link {
  gap: 12px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background-color: color-mix(
    in srgb,
    var(--background-color),
    var(--accent-color) 2%
  );
}

.services .service-item {
  padding: 60px 40px;
  background-color: var(--surface-color);
  border-radius: 8px;
  transition: all 0.4s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), var(--heading-color) 30%)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-in-out;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.services .service-item:hover::before {
  transform: scaleX(1);
}

.services .service-item:hover .service-icon {
  transform: scale(1.1);
}

.services .service-item:hover .service-link {
  color: var(--accent-color);
}

.services .service-item:hover .service-link i {
  transform: translateX(8px);
}

.services .service-item .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), var(--heading-color) 20%)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: transform 0.4s ease-in-out;
  flex-shrink: 0;
}

.services .service-item .service-icon i {
  font-size: 32px;
  color: var(--contrast-color);
}

.services .service-item h3 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.3;
}

.services .service-item p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 32px;
  flex-grow: 1;
}

.services .service-item .service-link {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease-in-out;
  align-self: flex-start;
}

.services .service-item .service-link i {
  font-size: 16px;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .services .service-item {
    padding: 40px 24px;
  }

  .services .service-item .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .services .service-item .service-icon i {
    font-size: 28px;
  }

  .services .service-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .services .service-item p {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 100px 0;
}

.why-us .content {
  margin-bottom: 60px;
}

.why-us .content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .why-us .content h2 {
    font-size: 2rem;
  }
}

.why-us .content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.why-us .image-wrapper {
  position: relative;
}

.why-us .image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 20px 40px
    color-mix(in srgb, var(--default-color), transparent 85%);
  transition: transform 0.4s ease-in-out;
}

.why-us .image-wrapper img:hover {
  transform: translateY(-8px);
}

.why-us .features-grid {
  margin-top: 80px;
}

.why-us .feature-item {
  display: flex;
  gap: 25px;
  padding: 40px 0;
  transition: transform 0.3s ease-in-out;
}

.why-us .feature-item:hover {
  transform: translateY(-5px);
}

.why-us .feature-item:hover .icon-wrapper {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .why-us .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 0;
  }
}

.why-us .icon-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 768px) {
  .why-us .icon-wrapper {
    margin: 0 auto;
  }
}

.why-us .feature-content {
  flex: 1;
}

.why-us .feature-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .why-us .feature-content h3 {
    font-size: 1.25rem;
  }
}

.why-us .feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

@media (max-width: 992px) {
  .why-us .content {
    margin-bottom: 40px;
    text-align: center;
  }

  .why-us .features-grid {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 80px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    margin-bottom: 60px;
    gap: 8px;
  }
}

.portfolio .portfolio-filters li {
  padding: 20px 0;
  margin: 0 40px;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s ease;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    margin: 0 20px;
    padding: 16px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-filters li {
    margin: 0 12px;
    padding: 14px 0;
    font-size: 0.85rem;
  }
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li:hover::after {
  width: 100%;
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
  font-weight: 400;
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

.portfolio .portfolio-card {
  height: 100%;
}

.portfolio .portfolio-card .project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.portfolio .portfolio-card .project-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-visual img {
    height: 250px;
  }
}

.portfolio .portfolio-card .project-visual .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(54, 144, 231, 0.85),
    rgba(54, 144, 231, 0.75)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content {
  display: flex;
  gap: 20px;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a {
  width: 48px;
  height: 48px;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.portfolio
  .portfolio-card
  .project-visual
  .project-overlay
  .overlay-content
  a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-card .project-visual:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-card .project-visual:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card .project-details {
  padding: 20px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card .project-details .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portfolio .portfolio-card .project-details .project-header .project-category {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.portfolio .portfolio-card .project-details .project-header .project-year {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.portfolio .portfolio-card .project-details .project-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-details .project-title {
    font-size: 1.35rem;
  }
}

.portfolio .portfolio-card .project-details .project-description {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
  line-height: 1.7;
  flex-grow: 1;
}

.portfolio .portfolio-card .project-details .project-meta {
  margin-top: auto;
}

.portfolio .portfolio-card .project-details .project-meta .client-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
  margin-bottom: 16px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio
  .portfolio-card
  .project-details
  .project-meta
  .project-scope
  .scope-item {
  font-size: 0.8rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 6px 0;
  position: relative;
}

.portfolio
  .portfolio-card
  .project-details
  .project-meta
  .project-scope
  .scope-item:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -8px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.portfolio .portfolio-conclusion {
  margin-top: 120px;
  text-align: center;
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion {
    margin-top: 80px;
  }
}

.portfolio .portfolio-conclusion .conclusion-content {
  max-width: 600px;
  margin: 0 auto;
}

.portfolio .portfolio-conclusion .conclusion-content h4 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion .conclusion-content h4 {
    font-size: 1.5rem;
  }
}

.portfolio .portfolio-conclusion .conclusion-content p {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 40px;
  line-height: 1.7;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

@media (max-width: 576px) {
  .portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
    flex-direction: column;
    gap: 20px;
  }
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .primary-action
  i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .primary-action:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-1px);
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .primary-action:hover
  i {
  transform: translateX(2px);
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .secondary-action {
  color: var(--default-color);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .secondary-action::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--default-color);
  transition: width 0.3s ease;
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .secondary-action:hover {
  color: var(--default-color);
}

.portfolio
  .portfolio-conclusion
  .conclusion-content
  .conclusion-actions
  .secondary-action:hover::after {
  width: 100%;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  text-align: center;
  margin-bottom: 40px;
  transition: all 0.3s ease-in-out;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.team .team-member .member-img img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.team .team-member .member-info h4 {
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--heading-color);
  line-height: 1.3;
}

.team .team-member .member-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.team .team-member .member-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
  padding: 0 10px;
}

.team .team-member .member-info .social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team .team-member .member-info .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 50%;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.team .team-member .member-info .social a:hover {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.team .team-member:hover .member-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@media (max-width: 992px) {
  .team .team-member .member-info h4 {
    font-size: 1.3rem;
  }

  .team .team-member .member-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .team .team-member .member-info h4 {
    font-size: 1.2rem;
  }

  .team .team-member .member-info p {
    padding: 0;
    font-size: 0.85rem;
  }

  .team .team-member .member-info .social {
    gap: 12px;
  }

  .team .team-member .member-info .social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  position: relative;
  overflow: hidden;
  /* Swiper Navigation */
  /* Swiper Pagination */
  /* Responsive Styles */
}

.testimonials .testimonial-slider {
  position: relative;
  padding-bottom: 50px;
}

.testimonials .testimonial-slider .swiper-wrapper {
  height: auto !important;
}

.testimonials .testimonial-item {
  background: linear-gradient(
    135deg,
    var(--surface-color) 0%,
    color-mix(in srgb, var(--surface-color), var(--accent-color) 2%) 100%
  );
  border-radius: 20px;
  padding: 0;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonials .testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), var(--heading-color) 30%)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover {
  border-color: var(--accent-color);
}

.testimonials .testimonial-item:hover::before {
  transform: scaleX(1);
}

.testimonials .testimonial-item:hover .testimonial-header img {
  transform: scale(1.05);
}

.testimonials .testimonial-item:hover .quote-icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.testimonials .testimonial-header {
  position: relative;
  text-align: center;
  padding: 30px 30px 20px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 0%,
    var(--surface-color) 100%
  );
}

.testimonials .testimonial-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .rating {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.testimonials .rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonials .testimonial-body {
  padding: 0 30px 20px;
  flex-grow: 1;
  margin-top: 20px;
}

.testimonials .testimonial-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  font-style: italic;
  text-align: center;
  position: relative;
}

.testimonials .testimonial-body p::before,
.testimonials .testimonial-body p::after {
  content: '"';
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.6;
  font-family: serif;
  position: absolute;
}

.testimonials .testimonial-body p::before {
  top: -5px;
  left: -10px;
}

.testimonials .testimonial-body p::after {
  bottom: -20px;
  right: -5px;
}

.testimonials .testimonial-footer {
  padding: 20px 30px 30px;
  text-align: center;
  position: relative;
  margin-top: auto;
}

.testimonials .testimonial-footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 5px;
}

.testimonials .testimonial-footer span {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: block;
  margin-bottom: 15px;
}

.testimonials .testimonial-footer .quote-icon {
  position: absolute;
  bottom: 15px;
  right: 25px;
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.testimonials .swiper-navigation {
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
  position: static;
  width: 45px;
  height: 45px;
  margin: 0 10px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
  background: color-mix(in srgb, var(--accent-color), var(--heading-color) 20%);
  transform: scale(1.05);
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
  font-size: 16px;
  font-weight: 600;
}

.testimonials .swiper-pagination {
  position: static;
  margin-top: 30px;
  text-align: center;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.testimonials
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--accent-color);
  transform: scale(1.2);
}

.testimonials .swiper-slide {
  height: auto;
}

@media (max-width: 1199px) {
  .testimonials .testimonial-item .testimonial-header {
    padding: 25px 25px 15px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 70px;
    height: 70px;
  }

  .testimonials .testimonial-item .testimonial-body,
  .testimonials .testimonial-item .testimonial-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (max-width: 991px) {
  .testimonials .testimonial-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .testimonials .testimonial-item .testimonial-header {
    padding: 20px 20px 10px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 60px;
    height: 60px;
  }

  .testimonials .testimonial-item .testimonial-header .rating i {
    font-size: 0.8rem;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 15px 20px 20px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 1rem;
  }

  .testimonials .testimonial-item .testimonial-footer span {
    font-size: 0.8rem;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 1.3rem;
    bottom: 10px;
    right: 15px;
  }

  .testimonials .swiper-button-prev,
  .testimonials .swiper-button-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .testimonials .swiper-button-prev::after,
  .testimonials .swiper-button-next::after {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .testimonials .testimonial-slider {
    padding-bottom: 30px;
  }

  .testimonials .testimonial-item .testimonial-header {
    padding: 15px 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-header img {
    width: 55px;
    height: 55px;
  }

  .testimonials .testimonial-item .testimonial-body {
    padding: 0 15px 10px;
  }

  .testimonials .testimonial-item .testimonial-body p {
    font-size: 0.9rem;
  }

  .testimonials .testimonial-item .testimonial-footer {
    padding: 10px 15px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer h5 {
    font-size: 0.95rem;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 1.2rem;
  }

  .testimonials .swiper-navigation {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 120px 0 100px;
}

.contact .info-item {
  margin-bottom: 80px;
}

.contact .info-item .info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.contact .info-item .info-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .info-item .info-content h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--heading-color);
  letter-spacing: -0.3px;
}

.contact .info-item .info-content p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.contact .contact-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.contact .contact-details .detail-item:last-child {
  margin-bottom: 0;
}

.contact .contact-details .detail-item .detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-details .detail-item .detail-icon i {
  font-size: 18px;
  color: var(--accent-color);
}

.contact .contact-details .detail-item .detail-content {
  flex: 1;
}

.contact .contact-details .detail-item .detail-content .detail-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.contact .contact-details .detail-item .detail-content .detail-value {
  display: block;
  font-size: 16px;
  color: var(--default-color);
  line-height: 1.6;
}

.contact .form-header {
  margin-bottom: 48px;
}

.contact .form-header h3 {
  font-size: 32px;
  font-weight: 300;
  color: var(--heading-color);
  margin: 0;
  letter-spacing: -0.4px;
}

.contact .form-wrapper {
  background-color: var(--surface-color);
  padding: 20px 30px;
  border-radius: 10px;
}

.contact .form-wrapper .form-group {
  margin-bottom: 32px;
}

.contact .form-wrapper .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.contact .form-wrapper .form-group input,
.contact .form-wrapper .form-group select,
.contact .form-wrapper .form-group textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--default-color);
  background-color: var(--surface-color);
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact .form-wrapper .form-group input:focus,
.contact .form-wrapper .form-group select:focus,
.contact .form-wrapper .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .form-wrapper .form-group input::placeholder,
.contact .form-wrapper .form-group select::placeholder,
.contact .form-wrapper .form-group textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.contact .form-wrapper .form-group select {
  cursor: pointer;
}

.contact .form-wrapper .form-group select option {
  padding: 10px;
}

.contact .form-wrapper .form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact .form-wrapper .submit-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 8px;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.contact .form-wrapper .submit-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.contact .form-wrapper .submit-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px
    color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .form-wrapper .submit-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0 60px;
  }

  .contact .info-item {
    margin-bottom: 50px;
  }

  .contact .info-item .info-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
  }

  .contact .info-item .info-icon i {
    font-size: 20px;
  }

  .contact .info-item .info-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .contact .contact-details .detail-item {
    margin-bottom: 32px;
  }

  .contact .form-header {
    margin-bottom: 32px;
  }

  .contact .form-header h3 {
    font-size: 24px;
  }

  .contact .modern-form .form-group {
    margin-bottom: 24px;
  }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 6rem;
  --content-spacing: 4rem;
}

.portfolio-details .project-intro {
  margin-bottom: var(--section-spacing);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-intro .intro-content .project-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.portfolio-details .project-intro .intro-content .project-meta .project-type,
.portfolio-details .project-intro .intro-content .project-meta .project-year {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

.portfolio-details
  .project-intro
  .intro-content
  .project-meta
  .project-type::after {
  content: "•";
  position: absolute;
  right: -1rem;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.portfolio-details .project-intro .intro-content .project-title {
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.portfolio-details .project-intro .intro-content .project-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-showcase {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-showcase .showcase-slider {
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-details .project-showcase .showcase-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .project-showcase .showcase-slider .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination {
  bottom: 30px;
}

.portfolio-details
  .project-showcase
  .showcase-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.portfolio-details
  .project-showcase
  .showcase-slider
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: white;
  transform: scale(1.2);
}

.portfolio-details .project-details-grid {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-details-grid .project-narrative h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-details-grid .project-narrative p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.portfolio-details .project-details-grid .project-narrative p:last-child {
  margin-bottom: 0;
}

.portfolio-details .project-details-grid .project-info {
  padding-left: 3rem;
}

.portfolio-details .project-details-grid .project-info .info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .project-details-grid .project-info .info-block:last-child {
  border-bottom: none;
}

.portfolio-details .project-details-grid .project-info .info-block .info-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
}

.portfolio-details .project-details-grid .project-info .info-block .info-value {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--heading-color);
}

.portfolio-details .solution-approach {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .solution-approach .approach-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.portfolio-details .solution-approach .approach-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .solution-approach .approach-header p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .solution-approach .approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.portfolio-details .solution-approach .approach-steps .step-item .step-number {
  font-size: 3rem;
  font-weight: 200;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  margin-bottom: 1rem;
  line-height: 1;
}

.portfolio-details .solution-approach .approach-steps .step-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .solution-approach .approach-steps .step-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .project-gallery {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-gallery h2 {
  font-size: 2.75rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover {
  transform: translateY(-8px);
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.portfolio-details .technologies-used {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .technologies-used h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .technologies-used p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.portfolio-details .technologies-used .tech-stack .tech-group {
  margin-bottom: 2.5rem;
}

.portfolio-details .technologies-used .tech-stack .tech-group:last-child {
  margin-bottom: 0;
}

.portfolio-details .technologies-used .tech-stack .tech-group h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-details
  .technologies-used
  .tech-stack
  .tech-group
  .tech-tags
  .tech-tag {
  padding: 0.5rem 1.25rem;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.portfolio-details
  .technologies-used
  .tech-stack
  .tech-group
  .tech-tags
  .tech-tag:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.portfolio-details .project-outcomes {
  background-color: color-mix(in srgb, var(--surface-color), transparent 60%);
  padding: 4rem 3rem;
  border-radius: 12px;
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-outcomes .outcomes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-details .project-outcomes .outcomes-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--heading-color);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.portfolio-details .project-outcomes .outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card {
  text-align: center;
}

.portfolio-details
  .project-outcomes
  .outcomes-grid
  .outcome-card
  .outcome-stat {
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.portfolio-details
  .project-outcomes
  .outcomes-grid
  .outcome-card
  .outcome-label {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.4;
}

.portfolio-details .project-navigation {
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 3rem;
}

.portfolio-details .project-navigation .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-details .project-navigation .nav-container .nav-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev,
.portfolio-details .project-navigation .nav-container .nav-item.next {
  color: var(--heading-color);
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-label,
.portfolio-details
  .project-navigation
  .nav-container
  .nav-item.next
  .nav-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.25rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-title,
.portfolio-details
  .project-navigation
  .nav-container
  .nav-item.next
  .nav-title {
  font-size: 1.125rem;
  font-weight: 400;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev:hover,
.portfolio-details .project-navigation .nav-container .nav-item.next:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.portfolio-details .project-navigation .nav-container .nav-item.next {
  text-align: right;
}

.portfolio-details .project-navigation .nav-container .nav-item.center {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 6px;
  color: var(--heading-color);
  font-weight: 400;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.center i {
  font-size: 1.125rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.center:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 1200px) {
  .portfolio-details .project-details-grid .project-info {
    padding-left: 2rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 992px) {
  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 3rem;
  }

  .portfolio-details .project-details-grid .project-info {
    padding-left: 0;
    margin-top: 3rem;
  }

  .portfolio-details .approach-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

@media (max-width: 768px) {
  .portfolio-details {
    --section-spacing: 4rem;
  }

  .portfolio-details .project-intro .intro-content .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .portfolio-details
    .project-intro
    .intro-content
    .project-meta
    .project-type::after {
    display: none;
  }

  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 2.5rem;
  }

  .portfolio-details .project-intro .intro-content .project-description {
    font-size: 1.125rem;
  }

  .portfolio-details .project-showcase .showcase-slider .swiper-slide img {
    height: 400px;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 1;
  }

  .portfolio-details .project-outcomes {
    padding: 3rem 2rem;
  }

  .portfolio-details .project-outcomes .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-details .project-navigation .nav-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.prev,
  .portfolio-details .project-navigation .nav-container .nav-item.next {
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.center {
    order: -1;
  }
}

@media (max-width: 576px) {
  .portfolio-details .project-outcomes {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details {
  padding: 80px 0;
}

.service-details .service-content .service-hero {
  margin-bottom: 60px;
}

.service-details .service-content .service-hero .service-image {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-details .service-content .service-description {
  margin-bottom: 80px;
}

.service-details .service-content .service-description .service-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.3;
}

.service-details .service-content .service-description .lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 32px;
}

.service-details .service-content .service-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-content .service-features {
  margin-bottom: 80px;
}

.service-details .service-content .service-features h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.service-details .service-content .service-features .feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-details
  .service-content
  .service-features
  .feature-item
  .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-details
  .service-content
  .service-features
  .feature-item
  .feature-icon
  i {
  font-size: 20px;
  color: var(--accent-color);
}

.service-details
  .service-content
  .service-features
  .feature-item
  .feature-content
  h4 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-details
  .service-content
  .service-features
  .feature-item
  .feature-content
  p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.service-details .service-content .service-process h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  width: 2px;
  height: 40px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step
  .step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step
  .step-content {
  flex: 1;
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step
  .step-content
  h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-details
  .service-content
  .service-process
  .process-timeline
  .process-step
  .step-content
  p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.service-details .service-sidebar .sidebar-widget {
  background-color: var(--surface-color);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .sidebar-widget h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.service-details .service-sidebar .service-info .service-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .service-sidebar .service-info .service-details-list li {
  padding: 12px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-details
  .service-sidebar
  .service-info
  .service-details-list
  li:last-child {
  border-bottom: none;
}

.service-details
  .service-sidebar
  .service-info
  .service-details-list
  li
  strong {
  color: var(--heading-color);
  font-weight: 500;
}

.service-details
  .service-sidebar
  .related-services
  .related-service-list
  .related-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details
  .service-sidebar
  .related-services
  .related-service-list
  .related-service-item:last-child {
  border-bottom: none;
}

.service-details
  .service-sidebar
  .related-services
  .related-service-list
  .related-service-item:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.service-details
  .service-sidebar
  .related-services
  .related-service-list
  .related-service-item
  i {
  font-size: 16px;
  width: 20px;
}

.service-details
  .service-sidebar
  .related-services
  .related-service-list
  .related-service-item
  span {
  font-size: 0.95rem;
}

.service-details .service-sidebar .cta-widget {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), transparent 20%)
  );
  color: var(--contrast-color);
}

.service-details .service-sidebar .cta-widget .cta-content {
  text-align: center;
}

.service-details .service-sidebar .cta-widget .cta-content h4 {
  color: var(--contrast-color);
  margin-bottom: 16px;
}

.service-details .service-sidebar .cta-widget .cta-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta {
  display: inline-block;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .cta-widget .cta-content .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px
    color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--accent-color);
}

.service-details .service-sidebar .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-details .service-sidebar .contact-info .contact-item:last-child {
  margin-bottom: 0;
}

.service-details .service-sidebar .contact-info .contact-item i {
  font-size: 18px;
  color: var(--accent-color);
  width: 24px;
}

.service-details .service-sidebar .contact-info .contact-item div strong {
  display: block;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.service-details .service-sidebar .contact-info .contact-item div span {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .service-details {
    padding: 60px 0;
  }

  .service-details .service-content .service-hero {
    margin-bottom: 40px;
  }

  .service-details .service-content .service-hero .service-image {
    height: 300px;
  }

  .service-details .service-content .service-description {
    margin-bottom: 60px;
  }

  .service-details .service-content .service-description .service-title {
    font-size: 2rem;
  }

  .service-details .service-content .service-description .lead {
    font-size: 1.1rem;
  }

  .service-details .service-content .service-features,
  .service-details .service-content .service-process {
    margin-bottom: 60px;
  }

  .service-details .service-content .service-features h3,
  .service-details .service-content .service-process h3 {
    font-size: 1.7rem;
  }

  .service-details .service-content .process-timeline .process-step {
    gap: 16px;
  }

  .service-details
    .service-content
    .process-timeline
    .process-step:not(:last-child)::after {
    left: 19px;
  }

  .service-details
    .service-content
    .process-timeline
    .process-step
    .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .service-details .service-sidebar {
    margin-top: 40px;
  }

  .service-details .service-sidebar .sidebar-widget {
    padding: 24px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service
  .tos-content
  .content-section
  .prohibited-list
  .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service
  .tos-content
  .content-section
  .prohibited-list
  .prohibited-item
  i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service
  .tos-content
  .content-section
  .prohibited-list
  .prohibited-item
  span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service
  .tos-content
  .content-section
  .disclaimer-box
  ul
  li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 95%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 98%) 100%
  );
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service
  .tos-contact
  .contact-box
  .contact-content
  .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy .privacy-content {
  font-size: 16px;
  line-height: 1.7;
}

.privacy .privacy-content .last-updated {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  border-left: 4px solid var(--accent-color);
}

.privacy .privacy-content .last-updated p {
  margin: 0;
  color: var(--heading-color);
}

.privacy .privacy-content .privacy-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .privacy-section h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 15px;
}

.privacy .privacy-content .privacy-section h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.privacy .privacy-content .privacy-section h4 {
  color: var(--heading-color);
  font-size: 22px;
  margin: 30px 0 15px 0;
}

.privacy .privacy-content .privacy-section h5 {
  color: var(--heading-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section p {
  margin-bottom: 20px;
  color: var(--default-color);
}

.privacy .privacy-content .privacy-section ul,
.privacy .privacy-content .privacy-section ol {
  margin: 20px 0;
  padding-left: 30px;
}

.privacy .privacy-content .privacy-section ul li,
.privacy .privacy-content .privacy-section ol li {
  margin-bottom: 10px;
  color: var(--default-color);
}

.privacy .privacy-content .privacy-section .info-box {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-content .privacy-section .info-box h4 {
  color: var(--heading-color);
  margin-top: 0;
}

.privacy .privacy-content .privacy-section .highlight-box {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb, var(--accent-color), #000000 20%)
  );
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  color: var(--contrast-color);
  margin: 40px 0;
}

.privacy .privacy-content .privacy-section .highlight-box i {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.privacy .privacy-content .privacy-section .highlight-box h4 {
  color: var(--contrast-color);
  margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .highlight-box p {
  color: var(--contrast-color);
  margin: 0;
  opacity: 0.9;
}

.privacy .privacy-content .privacy-section .security-measures {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.privacy
  .privacy-content
  .privacy-section
  .security-measures
  .measure-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy .privacy-content .privacy-section .security-measures .measure-item i {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item h5 {
  margin-bottom: 15px;
}

.privacy .privacy-content .privacy-section .security-measures .measure-item p {
  margin: 0;
  font-size: 14px;
}

.privacy .privacy-content .privacy-section .rights-list {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .rights-list .right-item {
  display: flex;
  align-items: flex-start;
  padding: 25px;
  margin-bottom: 20px;
  background: var(--surface-color);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.privacy .privacy-content .privacy-section .rights-list .right-item:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.privacy .privacy-content .privacy-section .rights-list .right-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-right: 20px;
  margin-top: 5px;
  min-width: 24px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div {
  flex: 1;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div h5 {
  margin-bottom: 10px;
}

.privacy .privacy-content .privacy-section .rights-list .right-item div p {
  margin: 0;
  font-size: 14px;
}

.privacy .privacy-content .privacy-section .cookie-types {
  margin: 30px 0;
}

.privacy .privacy-content .privacy-section .cookie-types h4 {
  margin-bottom: 20px;
}

.privacy .privacy-content .privacy-section .cookie-types .table-responsive {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy
  .privacy-content
  .privacy-section
  .cookie-types
  .table-responsive
  .table {
  margin: 0;
}

.privacy
  .privacy-content
  .privacy-section
  .cookie-types
  .table-responsive
  .table
  thead {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy
  .privacy-content
  .privacy-section
  .cookie-types
  .table-responsive
  .table
  thead
  th {
  border: none;
  color: var(--heading-color);
  font-weight: 600;
  padding: 15px 20px;
}

.privacy
  .privacy-content
  .privacy-section
  .cookie-types
  .table-responsive
  .table
  tbody
  td {
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 15px 20px;
  color: var(--default-color);
}

.privacy
  .privacy-content
  .privacy-section
  .cookie-types
  .table-responsive
  .table
  tbody
  tr:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
}

.privacy .privacy-content .contact-section {
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.privacy .privacy-content .contact-section h3 {
  color: var(--heading-color);
  margin-bottom: 20px;
}

.privacy .privacy-content .contact-section h3:after {
  background: var(--accent-color);
}

.privacy .privacy-content .contact-section .contact-info {
  margin-top: 30px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item i {
  font-size: 18px;
  color: var(--accent-color);
  margin-right: 15px;
  min-width: 18px;
}

.privacy .privacy-content .contact-section .contact-info .contact-item span {
  color: var(--default-color);
}

@media (max-width: 768px) {
  .privacy .privacy-content {
    font-size: 15px;
  }

  .privacy .privacy-content .privacy-section h3 {
    font-size: 24px;
  }

  .privacy .privacy-content .privacy-section h4 {
    font-size: 20px;
  }

  .privacy .privacy-content .privacy-section .security-measures .row > div {
    margin-bottom: 20px;
  }

  .privacy .privacy-content .privacy-section .rights-list .right-item {
    flex-direction: column;
    text-align: center;
  }

  .privacy .privacy-content .privacy-section .rights-list .right-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--surface-color) 0%,
    color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 100%
  );
}

.error-404 .error-content {
  margin-bottom: 80px;
}

.error-404 .error-content .error-number {
  font-size: 8rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-number {
    font-size: 6rem;
  }
}

@media (max-width: 576px) {
  .error-404 .error-content .error-number {
    font-size: 4.5rem;
  }
}

.error-404 .error-content .error-title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .error-404 .error-content .error-title {
    font-size: 2rem;
  }
}

.error-404 .error-content .error-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .error-404 .error-content .error-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }
}

.error-404 .error-content .error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.error-404 .error-content .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px
    color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .error-content .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .error-content .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .error-404 .error-content .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-404 .error-content .error-actions .btn-primary,
  .error-404 .error-content .error-actions .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.error-404 .error-content .search-section .search-label {
  font-size: 1rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.error-404 .error-content .search-section .search-form {
  max-width: 400px;
  margin: 0 auto;
}

.error-404 .error-content .search-section .search-form .search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-btn {
  position: absolute;
  right: 8px;
  background: var(--accent-color);
  border: none;
  border-radius: 6px;
  padding: 12px;
  color: var(--contrast-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.error-404
  .error-content
  .search-section
  .search-form
  .search-input-group
  .search-btn
  i {
  font-size: 1rem;
}

.error-404 .helpful-links .links-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .error-404 .helpful-links .links-title {
    font-size: 1.75rem;
    margin-bottom: 40px;
  }
}

.error-404 .helpful-links .link-item {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-10px);
}

.error-404 .helpful-links .link-item .link-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    color-mix(in srgb, var(--accent-color), black 20%) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-icon i {
  font-size: 1.75rem;
  color: var(--contrast-color);
}

.error-404 .helpful-links .link-item h4 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.error-404 .helpful-links .link-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
}

.error-404 .helpful-links .link-item .link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 15%);
  gap: 12px;
}

.error-404 .helpful-links .link-item .link-cta i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.error-404 .helpful-links .link-item .link-cta:hover i {
  transform: translateX(3px);
}

.error-404 .helpful-links .link-item:hover .link-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 35px
    color-mix(in srgb, var(--accent-color), transparent 65%);
}

@media (max-width: 992px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .helpful-links .link-item {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
    min-height: auto;
  }

  .error-404 .error-content {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-title {
    margin-bottom: 40px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* Product Page Specifics */
.product-page .product-sidebar {
  padding-right: 20px;
}

/* Active Page Background */
.pagination .page-item.active .page-link {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Hover and Focus states for links */
.pagination .page-link {
  color: var(--accent-color);
}

.pagination .page-link:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-color: var(--accent-color);
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem
    color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* Dropdown focus ring */
.form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem
    color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* Custom styling for the dropdown arrow if needed */
.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b59775' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.product-page .sidebar-widget {
  margin-bottom: 40px;
}

.product-page .sidebar-widget h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 5px;
}

.product-page .sidebar-search {
  position: relative;
}

.product-page .sidebar-search input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.product-page .sidebar-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--accent-color);
}

.product-page .filter-list {
  list-style: none;
  padding: 0;
}

.product-page .filter-list li {
  padding: 8px 0;
}

.product-page .filter-list a {
  color: var(--default-color);
  display: flex;
  justify-content: space-between;
}

.product-page .filter-list a:hover,
.product-page .filter-list a.active {
  color: var(--accent-color);
  padding-left: 5px;
}

/* Product Card Refinement */
.product-page .product-item {
  padding: 25px !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.product-page .product-img-wrapper {
  width: 100% !important;
  height: 200px !important;
  border-radius: 12px !important;
  overflow: hidden;
  position: relative;
  background: #f8f8f8 !important;
}

.product-page .product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-page .product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-page .out-of-stock {
  background: #c5636d !important;
  left: 10px;
  right: auto;
}

.product-page .product-cat-label {
  font-size: 0.8rem;
  color: #999;
  margin-top: 15px;
}

.product-page .product-price-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
}

/* Wholesale Portal Specifics */
.wholesale-access {
  padding: 120px 0 100px;
}

.wholesale-card {
  padding: 60px 40px !important;
  height: 100%;
}

.wholesale-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
  width: 100%;
}

.wholesale-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--default-color);
}

.wholesale-benefits li i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.login-highlight {
  background-color: color-mix(
    in srgb,
    var(--surface-color),
    var(--accent-color) 3%
  ) !important;
  border-color: color-mix(
    in srgb,
    var(--accent-color),
    transparent 70%
  ) !important;
}

.wholesale-card form .form-control {
  background: white;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px 15px;
  border-radius: 8px;
  width: 100%;
}

.wholesale-card form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

/* Cart Page Styling */
.cart-section {
  padding: 120px 0 100px;
}

.cart-table th {
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
}

.cart-item {
  border-bottom: 1px solid #eee;
}

.cart-img {
  width: 80px;
  height: 80px;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  padding: 5px;
}

.cart-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-summary .btn-shop-now {
  display: block;
  width: 100%;
  text-align: center;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: fit-content;
}

.qty-btn {
  background: none;
  border: none;
  padding: 5px 12px;
  cursor: pointer;
  color: var(--default-color);
}

.quantity-control input {
  width: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-size: 0.9rem;
}

.remove-btn {
  background: none;
  border: none;
  color: #ff4d4d;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.3s;
}

.remove-btn:hover {
  transform: scale(1.2);
}

.cart-summary {
  padding: 40px !important;
  align-items: flex-start !important;
  display: flex;
  flex-direction: column;
  height: 100% !important;
}

.mt-auto {
  margin-top: auto !important;
}

.cart-summary h3 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

.total-row strong {
  font-size: 1.25rem;
  color: var(--heading-color);
}

/* Shipping Toggle Styles */
.custom-option {
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.custom-option:hover {
  border-color: var(--accent-color);
}

.custom-option .form-check-input:checked + .form-check-label {
  color: var(--heading-color);
  font-weight: 600;
}

.custom-option .form-check-input:checked ~ #pickup-address {
  display: block !important;
}

.shipping-method-toggle .form-check-input {
  margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }
  .cart-item td {
    display: block;
    width: 100%;
    text-align: right;
    padding: 10px 0;
    border: none;
  }
  .cart-item td.product-info {
    text-align: left;
  }
  .cart-item td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
}

/* Change radio button and checkbox active color */
.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.form-check-input:focus {
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem
    color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* Checkout Section Specifics */
.checkout-section {
  padding: 120px 0 100px; /* As requested */
}

.checkout-section .form-wrapper {
  background: var(--surface-color);
  padding: 40px;
}

.checkout-section .form-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Ensure form controls use accent color on focus */
.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.25rem
    color-mix(in srgb, var(--accent-color), transparent 85%) !important;
}

.checkout-items {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom Checkbox/Radio Styling */
.checkout-section .form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Fix for Checkout Form Inputs */
.checkout-section .form-group {
  margin-bottom: 25px;
}

.checkout-section label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.checkout-section .checkout-form input,
.checkout-section .checkout-form textarea,
.checkout-section .checkout-form .form-select {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 15px;
  background-color: var(--surface-color);
  transition: all 0.3s ease;
}

/* Ensure Dropdown (Select) matches the rest of the inputs */
.checkout-section .form-select {
  height: auto;
  line-height: 1.5;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.checkout-section .cart-summary {
  padding: 40px !important;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: 15px;
}

.checkout-section .row {
  display: flex;
  align-items: stretch;
}

.return-to-cart {
  font-size: 0.85rem;
  color: #888;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.return-to-cart:hover {
  color: var(--accent-color);
  transform: translateX(-3px);
}

/* Ensure the button stays crisp at the bottom */
.summary-footer {
  padding-top: 20px;
  border-top: 1px solid #eee;
  margin-top: auto !important;
}

/* Product Details Specifics */
.product-details {
  padding: 120px 0 100px; /* As requested for your custom sections */
}

.product-details .subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.product-details h1 {
  font-size: 3rem;
  font-weight: 700;
}

.product-image-wrapper img {
  width: 100%;
  background: #fdfdfd;
  border: 1px solid #eee;
}

.product-option-group .custom-option {
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
}

.product-option-group .form-check-input:checked + .form-check-label {
  color: var(--accent-color);
  font-weight: 600;
}

/* Related Products Section */
.related-products {
  padding: 100px 0;
}

.related-products .product-img-wrapper {
  height: 150px !important;
  margin-bottom: 15px;
}

/* Ensure all swiper slides and their content are the same height */
.related-products .swiper-slide {
  height: auto; /* Allow the slide to stretch */
  display: flex;
  padding: 10px;
}

.related-products .swiper {
  padding-bottom: 50px !important; /* Creates space for the dots at the bottom */
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

.related-products .product-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* Force the card to fill the slide height */
  margin-bottom: 0;
  padding: 20px !important;
}

/* Push the 'View Product' link to the very bottom of the card */
.related-products .product-item .category-link {
  margin-top: auto;
  padding-top: 15px;
}

.related-products .swiper-pagination {
  bottom: 10px !important; /* Moves them away from the card edge */
}

/* Styling the pagination dots (bullets) */
.related-products .swiper-pagination-bullet {
  background: var(--accent-color); /* Your theme's primary color */
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

/* Styling the active dot */
.related-products .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
  width: 25px; /* Makes the active dot an oval shape */
  border-radius: 5px;
  transition: all 0.3s ease;
}

.related-products .swiper-button-next,
.related-products .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--accent-color);
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-products .swiper-button-next:after,
.related-products .swiper-button-prev:after {
  font-size: 14px !important;
  font-weight: 800;
  color: var(--accent-color);
}

.related-products .swiper-button-prev {
  left: 5px;
}
.related-products .swiper-button-next {
  right: 5px;
}

.product-item {
  border: 1px solid #f0f0f0;
  border-radius: 15px;
  background: #fff;
  padding: 20px !important;
  text-align: center;
}

.product-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1; /* Forces a perfect square */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-img-wrapper img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain; /* Prevents stretching */
  transition: transform 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.1);
}

.product-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-item .product-price-tag {
  font-size: 1rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-tag {
  background: #f4f1ee;
  padding: 5px 12px;
  border-radius: 20px;
  color: #555;
  font-weight: 500;
}

/* Product Details Label */
.product-category-label {
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

/* Ingredients Box */
.product-ingredients-box {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-color: var(--accent-color) !important;
}

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

.ingredients-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.ingredients-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.ingredients-list li span {
  font-weight: 600;
  color: var(--heading-color);
}

/* Fix Similar Products spacing */
.related-products .product-item {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.related-products .product-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

/* Wholesale Application Custom Styling */
.wholesale-apply {
  padding: 120px 0 100px;
}

.wholesale-apply .form-wrapper {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.wholesale-apply .form-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid
    color-mix(in srgb, var(--accent-color), transparent 80%);
  display: inline-block;
  padding-bottom: 10px;
}

/* Fix for the "Thin" Inputs in Screenshot */
.wholesale-apply .form-group {
  margin-bottom: 25px;
}

.wholesale-apply label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.wholesale-apply input,
.wholesale-apply textarea,
.wholesale-apply .form-select {
  width: 100% !important; /* Forces full width */
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 15px;
  background-color: var(--surface-color);
  transition: all 0.3s ease;
}

/* Accent Focus Ring */
.wholesale-apply input:focus,
.wholesale-apply textarea:focus,
.wholesale-apply .form-select:focus {
  outline: none;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 90%) !important;
}

/* Fix for stretching checkbox */
.checkbox-wrapper {
  display: block;
  width: 100%;
  text-align: left; /* Keep text left-aligned or change to center if preferred */
}

.checkbox-wrapper .form-check-input {
  width: 1.2rem !important; /* Force a standard small size */
  height: 1.2rem !important; /* Force a standard small size */
  flex-shrink: 0; /* Prevent it from being squeezed or stretched */
  margin-top: 0; /* Align better with text line-height */
  cursor: pointer;
}

.checkbox-wrapper .form-check-label {
  cursor: pointer;
  line-height: 1.2;
  margin-bottom: 0; /* Remove standard label bottom margin */
}

/* Ensure the accent color stays correct */
.form-check-input:checked {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

/* Updated for a full-width stretched button */
.apply-submit-btn {
  width: 100% !important; /* Forces the button to span the full width */
  padding: 16px 35px !important; /* Premium thickness for a large button */
  font-size: 1.1rem; /* Slightly larger text for the stretched look */
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.apply-submit-btn:hover {
  /* background-color: color-mix(in srgb, var(--accent-color), black 10%); */
  transform: translateY(-2px);
}

/* Sub-category List Styling */
.sub-filter-list {
  list-style: none;
  padding: 10px 0 5px 20px;
  margin: 0;
  border-left: 1px solid #eee; /* Subtle vertical line */
  margin-left: 10px;
}

.sub-filter-list li {
  margin-bottom: 8px;
}

.sub-filter-list a {
  font-size: 14px;
  color: #666 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.sub-filter-list a i {
  font-size: 12px;
  color: #ccc;
}

.sub-filter-list a span {
  font-size: 12px;
  color: #999;
  margin-left: auto;
}

/* Hover and Active States */
.sub-filter-list a:hover,
.sub-filter-list a.child-active {
  color: var(--accent-color) !important; /* Uses your theme's green/gold */
}

.sub-filter-list a.child-active i {
  color: var(--accent-color);
}

.no-products-box {
  background: #fdfdfd;
  padding: 60px 20px;
  border: 2px dashed #eee;
  border-radius: 15px;
}

.no-products-box h3 {
  font-family: var(--heading-font);
  color: #555;
}

.no-products-box p {
  color: #999;
}

/* Wholesale Profile Dashboard Styles */
.wholesale-profile {
  padding: 120px 0 100px;
}

.profile-nav {
  position: sticky;
  top: 100px;
}

.dash-links .nav-link {
  color: var(--default-color);
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  transition: 0.3s;
}

.dash-links .nav-link:hover,
.dash-links .nav-link.active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.wholesale-profile .table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: none;
  color: #888;
}

.wholesale-profile .badge {
  font-weight: 500;
  border-radius: 30px;
}

.text-accent {
  color: var(--accent-color);
}

.wholesale-apply.section {
  padding: 120px 0 100px;
  background-color: #f9f9f9;
}

.form-wrapper {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.category-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(181, 151, 117, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.input-group {
  position: relative;
  display: flex;
  width: 100%;
}

.form-control {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px 0 0 8px !important;
  padding: 12px 15px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(181, 151, 117, 0.15);
}

.input-group .btn-eye {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-left: none;
  background: white;
  border-radius: 0 8px 8px 0 !important;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
  cursor: pointer;
}

.input-group .btn-eye:hover {
  color: var(--accent-color);
}

.apply-submit-btn {
  width: 100%;
  background: var(--accent-color);
  color: #ffffff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--accent-color);
  transition: 0.3s;
  margin-top: 20px;
}

.apply-submit-btn:hover {
  background-color: #a38665;
  transform: translateY(-2px);
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
} */

.teaser-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Hidden overlay that darkens the background on hover */
.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Start slightly dark */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.4s ease;
}

/* Center the content and add a slight slide-up animation */
.teaser-content {
  text-align: center;
  padding: 20px;
  color: #fff;
  transform: translateY(20px); /* Position slightly lower */
  transition: transform 0.4s ease;
}

/* Hover Effects */
.teaser-wrapper:hover .teaser-image {
  transform: scale(1.05); /* Subtle zoom in */
  filter: blur(2px) brightness(50%); /* Darken and blur the background */
}

.teaser-wrapper:hover .teaser-overlay {
  opacity: 1; /* Fade the overlay in */
}

.teaser-wrapper:hover .teaser-content {
  transform: translateY(0); /* Slide content back to center */
}

/* Ensure text remains visible and sharp */
.teaser-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Promo Banner Layout Enhancements */
.promo-banner .teaser-wrapper {
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  width: 100%;
  height: auto; /* Let the aspect ratio dictate the height */
  overflow: hidden;
}

.promo-banner .teaser-image {
  width: 100%;
  height: auto; /* Keep the banner completely un-cropped and un-stretched */
  display: block;
}

/* Force the overlay to match the dynamic layout height of the active image */
.promo-banner .teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Slightly darker for clear contrast against white text */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Fix text sizing so it doesn't break wide banner heights on mobile */
.promo-banner .teaser-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px !important;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .promo-banner .teaser-content h3 {
    font-size: 1.2rem;
    margin-bottom: 6px !important;
  }
  .promo-banner .btn-shop-now {
    padding: 10px 24px !important;
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Mobile View Optimizations - Main Page
--------------------------------------------------------------*/
@media (max-width: 991px) {
  /* 1. Center all text alignment in the hero area */
  .hero .hero-content {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
  }

  .hero .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  /* 2. Center and stack the CTA action buttons */
  .hero .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 0 auto;
  }

  .hero .hero-cta .btn-shop-now,
  .hero .hero-cta .btn-browse {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }

  /* 3. Completely hide the main image, floating icons, and extra badges */
  .hero .hero-image,
  .hero .floating-icon,
  .hero .floating-product,
  .hero .best-seller-badge {
    display: none !important;
  }

  /*--------------------------------------------------------------
  # Promo Banner Mobile Optimizations
  --------------------------------------------------------------*/
  .promo-banner {
    padding: 0 15px;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .promo-banner .teaser-wrapper {
    border-radius: 12px;
  }

  .promo-banner .teaser-image {
    width: 100%;
    height: auto;
    min-height: 140px;
    object-fit: cover;
  }

  .promo-banner .teaser-overlay {
    background: rgba(0, 0, 0, 0.65);
  }

  .promo-banner .teaser-content {
    padding: 15px;
    width: 100%;
  }

  .promo-banner .teaser-content h3 {
    font-size: 1.25rem !important;
    letter-spacing: 0px;
    margin-bottom: 8px !important;
  }

  .promo-banner .btn-shop-now {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    border-radius: 8px;
    width: auto !important;
    display: inline-flex;
  }

  /*--------------------------------------------------------------
  # Featured Products Mobile Grid Optimizations
  --------------------------------------------------------------*/
  .portfolio-item .feature-tag {
    display: none !important;
  }

  .portfolio .isotope-container {
    display: flex;
    flex-wrap: wrap;
    margin-right: -8px !important;
    margin-left: -8px !important;
  }

  .portfolio .portfolio-item {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
    margin-bottom: 20px;
  }

  .portfolio .product-card {
    padding: 10px !important;
    border-radius: 10px;
  }

  .portfolio .product-card .row {
    display: flex;
    flex-direction: column !important;
  }

  .portfolio .product-card .col-md-6 {
    width: 100% !important;
  }

  .portfolio .product-card .project-visual img {
    height: 160px !important;
    border-radius: 8px;
  }

  .portfolio .product-card .project-details {
    padding: 10px 0 0 0 !important;
    text-align: center;
  }

  .portfolio .product-card .project-header {
    flex-direction: column !important;
    gap: 4px;
    margin-bottom: 8px !important;
  }

  .portfolio .product-card .project-title {
    font-size: 0.95rem !important;
    line-height: 1.3;
    margin-bottom: 8px !important;
    min-height: 40px;
  }

  .portfolio .product-card .product-price {
    font-size: 1rem !important;
    font-weight: 700;
  }

  .portfolio .product-card .product-actions {
    margin-top: 5px !important;
  }

  .portfolio .product-card .btn-primary {
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    width: 100%;
  }

  /*--------------------------------------------------------------
  # Shop by Collection Categories - 2 per Row Mobile View
  --------------------------------------------------------------*/
  #categories {
    padding: 30px 0 !important;
  }

  #categories .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -6px !important;
    margin-left: -6px !important;
  }

  #categories .row > div {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding: 6px !important;
  }

  #categories .category-item {
    padding: 15px 10px !important;
    border-radius: 10px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #categories .category-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  #categories .category-item h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
  }

  #categories .category-item p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    padding: 0 !important;
  }

  #categories .category-link {
    font-size: 0.7rem !important;
    padding-top: 4px !important;
    margin-top: auto !important;
    letter-spacing: 0px;
    gap: 4px !important;
  }

  /*--------------------------------------------------------------
  # Unified Mobile Typography Scale
  --------------------------------------------------------------*/
  h1 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
  }

  h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
  }

  h3 {
    font-size: 1.4rem !important;
    line-height: 1.35 !important;
  }

  h4 {
    font-size: 1.2rem !important;
  }

  p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .section-title {
    padding-bottom: 35px !important;
  }

  .section-title h2 {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }

  .section-title .subtitle {
    font-size: 0.75rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 0.75rem !important;
  }

  .section-title p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    padding: 0 10px;
  }

  /*--------------------------------------------------------------
  # Products Page (products.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  .product-page .product-sidebar {
    padding-right: 0 !important;
    margin-bottom: 30px;
    width: 100% !important;
  }

  .product-page .sidebar-widget {
    margin-bottom: 20px !important;
    background: var(--surface-color);
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
  }

  .product-page .sidebar-widget h4 {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
    padding-bottom: 3px !important;
  }

  .product-page .filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-page .filter-list li {
    padding: 0 !important;
    margin: 0;
  }

  .product-page .filter-list a {
    font-size: 0.85rem !important;
    padding: 6px 12px !important;
    background: #fcfaf8;
    border: 1px solid #eee;
    border-radius: 20px;
    display: inline-block;
  }

  .product-page .filter-list a:hover,
  .product-page .filter-list a.active {
    padding-left: 12px !important;
    background: var(--accent-color);
    color: var(--contrast-color) !important;
    border-color: var(--accent-color);
  }

  .product-page .filter-list a span {
    display: none;
  }

  .product-page .row.gy-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -6px !important;
    margin-left: -6px !important;
  }

  .product-page .row.gy-4 > div {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding: 6px !important;
  }

  .product-page .product-item {
    padding: 12px !important;
    border-radius: 10px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff;
    border: 1px solid #eee;
  }

  .product-page .product-img-wrapper {
    height: 140px !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
  }

  .product-page .product-badge {
    font-size: 0.6rem !important;
    padding: 2px 8px !important;
    top: 6px !important;
    left: 6px !important;
  }

  .product-page .product-cat-label {
    font-size: 0.75rem !important;
    margin-top: 0px !important;
    margin-bottom: 4px !important;
    text-transform: uppercase;
  }

  .product-page .product-item h3 {
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
    min-height: 36px !important;
    text-align: left;
  }

  .product-page .product-price-tag {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-align: left;
  }

  .product-page .product-item .category-link {
    margin-top: auto !important;
    font-size: 0.75rem !important;
    padding-top: 8px !important;
    border-top: 1px solid #f9f9f9;
    width: 100%;
    justify-content: space-between;
  }

  .product-page .page-title h1 {
    font-size: 1.85rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }

  .product-page .page-title p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #777;
  }

  .product-page .sidebar-widget h4 {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--heading-color) !important;
    border-bottom: 2px solid var(--accent-color) !important;
    padding-bottom: 4px !important;
    margin-bottom: 12px !important;
  }

  .product-page .product-item .product-cat-label {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    color: #999 !important;
  }

  .product-page .product-item h3 {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: var(--heading-color) !important;
    margin-bottom: 4px !important;
  }

  .product-page .product-item .product-price-tag {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    margin-bottom: 8px !important;
  }

  .product-page .pagination .page-link {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
  }

  /*--------------------------------------------------------------
  # FIXED PRODUCTS TOOLBAR ROW FLIP
  --------------------------------------------------------------*/
  /* Force the outer Bootstrap grid row layout to stack cleanly */
  .product-page .product-toolbar .row {
    display: flex !important;
    flex-direction: column !important; /* Forces layout boxes to stack vertically */
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin: 0 !important;
  }

  /* Strip columns out to fill the phone profile width */
  .product-page .product-toolbar .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Shift the sorting select wrapper element to the absolute top (Row 1) */
  .product-page .product-toolbar .row > div:nth-child(2) {
    order: 1 !important;
  }

  /* Push the product results numeric count layout down to the bottom (Row 2) */
  .product-page .product-toolbar .row > div:nth-child(1) {
    order: 2 !important;
  }

  .product-page .product-toolbar .result-count,
  .product-page .product-toolbar p {
    text-align: left !important;
    margin: 4px 0 0 0 !important;
    font-size: 0.85rem !important;
    color: #888 !important;
  }

  .product-page .form-select {
    width: 100% !important;
    display: block !important;
    font-size: 0.85rem !important;
    padding: 8px 32px 8px 12px !important;
    height: auto !important;
    border-radius: 6px !important;
  }

  /*--------------------------------------------------------------
  # COMPLETE FIX: Products Utility Toolbar Stacking
  --------------------------------------------------------------*/
  /* Force the flex wrapper to stack elements vertically on mobile view */
  .product-page .product-toolbar-mobile {
    flex-direction: column !important; /* Breaks the side-by-side row behavior */
    align-items: stretch !important; /* Allows children to span full-width */
    gap: 12px !important; /* Clean layout gap between rows */
  }

  /* Force the sorting selector dropdown to Row 1 (Top) */
  .product-page .product-toolbar-mobile .form-select {
    order: 1 !important;
    width: 100% !important; /* Full width touch target */
    margin: 0 !important;
  }

  /* Force the numeric "Showing X-Y of Z results" text to Row 2 (Bottom) */
  .product-page .product-toolbar-mobile p {
    order: 2 !important;
    text-align: left !important; /* Aligns neatly under the dropdown */
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: #888 !important;
    padding-left: 2px;
  }

  /* Product Details Specifics */
  .product-details {
    padding: 120px 0 100px; /* As requested for your custom sections */
  }

  .product-details .subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
  }

  .product-details h1 {
    font-size: 3rem;
    font-weight: 700;
  }

  .product-image-wrapper img {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #eee;
  }

  .product-option-group .custom-option {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
  }
  /* Ingredients Box */
  .product-ingredients-box {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-color: var(--accent-color) !important;
  }

  /*--------------------------------------------------------------
  # Product Details Page (product-details.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Reduce the massive layout header white space */
  .product-details {
    padding: 40px 0 30px 0 !important;
  }

  /* 2. Scale headings down to avoid word-breaking hyphenations */
  .product-details h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin-top: 5px !important;
    margin-bottom: 12px !important;
  }

  .product-details .subtitle,
  .product-category-label {
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    margin-bottom: 6px !important;
  }

  /* 3. Center the main product image block viewport */
  .product-image-wrapper {
    margin-bottom: 25px !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  }

  .product-image-wrapper img {
    max-height: 300px !important;
    object-fit: contain !important;
    background: #fdfdfd !important;
    padding: 15px;
  }

  /* 4. Format selection option buttons into a clean touch layout matrix */
  .product-option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px !important;
  }

  .product-option-group .custom-option {
    flex: 1 1 calc(50% - 4px); /* Splits options into exactly 2 boxes per row side-by-side */
    padding: 12px 10px !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
  }

  /* 5. Stretch quantity selection controls and buy actions to full-width targets */
  .product-details .quantity-control {
    width: 100% !important; /* Spans full screen width cleanly */
    justify-content: space-between;
    height: 48px;
    margin-bottom: 12px !important;
    background: #fff;
  }

  .product-details .qty-btn {
    padding: 0 20px !important; /* Ample tap space for mobile thumbs */
    height: 100%;
  }

  .product-details .quantity-control input {
    flex-grow: 1;
    height: 100%;
  }

  /* Stretches the Add To Cart button layout block */
  .product-details .btn-shop-now {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    margin-bottom: 25px;
  }

  /* 6. Clean up the detailed Description copy text & Ingredients cards */
  .product-details p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  .product-ingredients-box {
    padding: 20px !important;
    border-radius: 12px !important;
    margin-top: 25px !important;
    border: 1px solid rgba(181, 151, 117, 0.2) !important;
  }

  .product-ingredients-box h4 {
    font-size: 1.05rem !important;
    margin-bottom: 12px !important;
  }

  .ingredients-list li {
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 6px !important;
  }

  /*--------------------------------------------------------------
  # Related/Similar Products Mobile Carousel Layout
  --------------------------------------------------------------*/
  /* 1. Scale down section layout gaps */
  .related-products {
    padding: 30px 0 !important;
    border-top: 1px solid #f9f6f3;
  }

  /* 2. Break desktop container restrictions to allow swiper slides to stay tight */
  .related-products .swiper {
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-bottom: 35px !important;
    overflow: visible !important; /* Allows the next trailing card to peek out slightly */
  }

  /* 3. Force slides to display 2-3 at once using flex-basis overrides */
  .related-products .swiper-slide {
    width: 42% !important; /* Shows exactly 2.3 items at once (perfect visual hint to swipe) */
    max-width: 42% !important;
    flex: 0 0 42% !important;
    padding: 4px !important; /* Snug edge margins */
  }

  /* 4. Streamline individual carousel item heights and card inner paddings */
  .related-products .product-item {
    padding: 10px !important;
    border-radius: 10px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 5. Shrink image canvas dimensions safely */
  .related-products .product-img-wrapper {
    height: 110px !important; /* Compact square viewport for small mobile glasses */
    margin-bottom: 8px !important;
    border-radius: 6px !important;
    background: #fbfbfb !important;
  }

  .related-products .product-img-wrapper img {
    max-width: 85% !important;
    max-height: 85% !important;
  }

  /* 6. Mobile typography hierarchy adjustments for carousel elements */
  .related-products .product-item h3 {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    min-height: 34px !important; /* Keeps row actions straight regardless of 1 or 2 text lines */
  }

  .related-products .product-item .product-price-tag {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  /* 7. Make link compact at the bottom edge boundary */
  .related-products .product-item .category-link {
    margin-top: auto !important;
    padding-top: 6px !important;
    font-size: 0.7rem !important;
    justify-content: center !important;
    border-top: 1px solid #fbfbfb;
    width: 100%;
    gap: 4px !important;
  }

  .related-products .product-item .category-link i {
    font-size: 0.8rem !important;
  }

  /* Hide raw bulky navigation side arrows on touch screens to save screen space */
  .related-products .swiper-button-next,
  .related-products .swiper-button-prev {
    display: none !important;
  }

  /* Make option/variant buttons easy to tap */
  .product-option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px !important;
  }

  .product-option-group .custom-option {
    flex: 1 1 calc(50% - 4px); /* Splits options into exactly 2 boxes per row side-by-side */
    padding: 12px 10px !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
  }

  /*--------------------------------------------------------------
  # Related/Similar Products Mobile Carousel Layout
  --------------------------------------------------------------*/
  /* Trims layout gaps on phones */
  .related-products {
    padding: 30px 0 !important;
    border-top: 1px solid #f9f6f3;
  }

  .related-products .swiper {
    padding-bottom: 35px !important;
  }

  /* Compact card paddings for mobile viewports */
  .related-products .product-item {
    padding: 10px !important;
    border-radius: 10px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Shrink image canvas dimensions safely on phones */
  .related-products .product-img-wrapper {
    height: 110px !important;
    margin-bottom: 8px !important;
    border-radius: 6px !important;
    background: #fbfbfb !important;
  }

  .related-products .product-img-wrapper img {
    max-width: 85% !important;
    max-height: 85% !important;
  }

  /* Mobile typography hierarchy adjustments */
  .related-products .product-item h3 {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    min-height: 34px !important; /* Keeps row action links level */
  }

  .related-products .product-item .product-price-tag {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--accent-color) !important;
    text-align: center !important;
  }

  /* Make view links snug at card bounds */
  .related-products .product-item .category-link {
    margin-top: auto !important;
    padding-top: 6px !important;
    font-size: 0.7rem !important;
    justify-content: center !important;
    border-top: 1px solid #fbfbfb;
    width: 100%;
    gap: 4px !important;
  }

  /* Hide bulky side arrows on touch screens */
  .related-products .swiper-button-next,
  .related-products .swiper-button-prev {
    display: none !important;
  }

  /*--------------------------------------------------------------
  # Compact Quantity Picker
  --------------------------------------------------------------*/
  .product-details .quantity-control {
    width: 140px !important; /* Elegant, compact thumb-friendly width */
    max-width: 140px !important;
    margin: 0 auto 20px auto !important; /* Centers it nicely under option rows */
    display: flex !important;
    height: 40px !important; /* Slightly shorter, cleaner alignment */
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
  }

  .product-details .qty-btn {
    padding: 0 12px !important; /* Snug button pads */
    font-size: 1rem !important;
  }

  .product-details .quantity-control input {
    width: 45px !important;
    font-size: 0.95rem !important;
  }

  /*--------------------------------------------------------------
  # Shopping Cart Page (cart.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Reduce overall section whitespace padding gaps */
  .cart-section {
    padding: 30px 0 40px 0 !important;
    margin-top: 60px !important;
  }

  /* 2. Convert table container mechanics into custom vertical rows */
  .cart-table-wrapper {
    border: none !important;
    background: transparent !important;
    margin-bottom: 25px;
  }

  /* Completely strip the table header block on mobile devices */
  .cart-table thead {
    display: none !important;
  }

  .cart-table tbody,
  .cart-table tr {
    display: block !important;
    width: 100% !important;
  }

  /* 3. Transform individual product table rows into independent layout cards */
  .cart-table tr.cart-item {
    display: flex !important;
    flex-direction: column !important; /* Stacks image, qty, and pricing details vertically */
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  }

  /* Reset default column padding boundaries */
  .cart-table td {
    display: block !important;
    width: 100% !important;
    padding: 6px 0 !important;
    border: none !important;
    text-align: left !important;
  }

  /* 4. Formatting product photo canvas metadata */
  .cart-table .product-info .d-flex {
    align-items: flex-start !important;
  }

  .cart-table .cart-img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 6px !important;
    overflow: hidden;
    flex-shrink: 0;
  }

  .cart-table .cart-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .cart-table .product-info h5 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    padding-right: 25px; /* Leave space for the absolute position delete button */
  }

  .cart-table .product-info small {
    font-size: 0.75rem !important;
  }

  /* 5. Custom labels for Price, Qty, and Subtotal metrics */
  .cart-table td.price {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: -35px !important; /* Pulls up adjacent to the image text */
    margin-left: 80px !important; /* Aligns cleanly with the title text bounds */
    width: auto !important;
  }

  /* Format quantity select button parameters */
  .cart-table .quantity-control {
    width: 110px !important;
    height: 34px !important;
    margin-top: 10px !important;
    margin-left: 80px !important; /* Aligns perfectly in the text track column */
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
  }

  .cart-table .qty-btn {
    padding: 0 8px !important;
    font-size: 0.85rem !important;
  }

  .cart-table .item-qty {
    font-size: 0.85rem !important;
    width: 35px !important;
  }

  /* Float item totals neatly to the right side of the card layout container */
  .cart-table td.total {
    position: absolute !important;
    bottom: 12px !important;
    right: 15px !important;
    width: auto !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--heading-color) !important;
    padding: 0 !important;
  }

  /* Move the delete button to the upper right corner */
  .cart-table tr.cart-item td:last-child {
    position: absolute !important;
    top: 12px !important;
    right: 10px !important;
    width: auto !important;
    padding: 0 !important;
  }

  .cart-table .remove-btn {
    color: #c62828 !important;
    font-size: 1.1rem !important;
    padding: 5px !important;
  }

  /* 6. Continuous flow action links under the card matrix wrapper */
  .cart-actions {
    text-align: center !important;
    margin-top: 15px !important;
  }

  .cart-actions .btn-browse {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 12px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }

  /* 7. Summary Checkout Block adjustments */
  .cart-summary {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    margin-top: 10px;
  }

  .cart-summary h3 {
    font-size: 1.3rem !important;
    padding-bottom: 8px !important;
  }

  /* Compact spacing for shipping options selection blocks */
  .shipping-method-toggle .custom-option {
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
  }

  /* Coupon wrapper box tweaks */
  .coupon-wrapper {
    padding: 12px !important;
    border-radius: 8px !important;
  }

  .coupon-wrapper input {
    font-size: 0.85rem !important;
    padding: 8px 10px !important;
  }

  /* Push checkout target blocks to occupy full screen canvas space */
  .summary-details {
    font-size: 0.9rem !important;
  }

  .summary-details .total-row strong {
    font-size: 1.15rem !important;
  }

  .summary-footer {
    padding-top: 15px !important;
  }

  .summary-footer .btn-shop-now {
    padding: 14px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Checkout Section Specifics */
  .checkout-section {
    padding: 120px 0 100px; /* As requested */
  }

  .checkout-section .form-wrapper {
    background: var(--surface-color);
    padding: 40px;
  }

  .checkout-section .form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }

  .checkout-section .cart-summary {
    padding: 40px !important;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    border-radius: 15px;
  }

  .checkout-section .row {
    display: flex;
    align-items: stretch;
  }

  /*--------------------------------------------------------------
  # Checkout Page (checkout.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Slim down the section top headers and whitespace gutters */
  .checkout-section {
    padding: 30px 0 40px 0 !important;
    margin-top: 60px !important;
  }

  /* 2. Flatten form cards so fields have maximum horizontal screen space */
  .checkout-section .form-wrapper {
    padding: 20px 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 25px;
  }

  .checkout-section .form-header h3 {
    font-size: 1.25rem !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
    padding-top: 20px !important;
  }

  /* 3. Scale down input fields and optimize tap target spacing */
  .checkout-section .form-group {
    margin-bottom: 16px !important;
  }

  .checkout-section label {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  .checkout-section .checkout-form input,
  .checkout-section .checkout-form textarea,
  .checkout-section .checkout-form .form-select {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
    height: auto !important;
    border-radius: 6px !important;
  }

  /* 4. Format the checkout product items scrollbox review panel */
  .checkout-items {
    max-height: 180px !important;
    margin-bottom: 15px !important;
    padding-right: 2px !important;
  }

  /* Optimize layout item row heights within the checkout review panel */
  .checkout-items .d-flex {
    padding: 8px 0 !important;
    border-bottom: 1px solid #f9f9f9;
  }

  .checkout-items img {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
  }

  .checkout-items .ms-3 {
    margin-left: 10px !important;
  }

  .checkout-items h6 {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }

  .checkout-items span,
  .checkout-items small {
    font-size: 0.8rem !important;
  }

  /* 5. Refine the final Checkout Summary total display card */
  .checkout-section .cart-summary {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    margin-top: 5px;
  }

  .checkout-section .cart-summary h3 {
    font-size: 1.3rem !important;
    padding-bottom: 8px !important;
  }

  /* Return to Cart link adjustment */
  .return-to-cart {
    font-size: 0.8rem !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }

  /* Ensure the PayFast checkout action button handles full width */
  .summary-footer {
    padding-top: 15px !important;
    margin-top: 15px !important;
  }

  .summary-footer button,
  .summary-footer .btn-shop-now {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /*--------------------------------------------------------------
  # Order Success Page (success.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Reduce overall section spacing gaps on phones */
  .success-page,
  section[id*="success"] {
    padding: 40px 0 5px 0 !important;
  }

  /* 2. Style the clean mobile confirmation card wrapper box */
  .success-card {
    padding: 30px 15px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    text-align: center !important;
  }

  /* 3. Scale down the primary verification confirmation icon animate bubble */
  .success-card .success-icon {
    width: 65px !important;
    height: 65px !important;
    font-size: 28px !important;
    margin-bottom: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 4. Tune headline typography properties */
  .success-card h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
  }

  .success-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
  }

  /* 5. Format the transaction summaries/Order metadata summary block */
  .order-details-box {
    background: #fbfaf8 !important;
    border: 1px dashed #e0dcd8 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: left !important;
  }

  .order-details-box div {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
  }

  .order-details-box div:last-child {
    margin-bottom: 0 !important;
    border-top: 1px solid #eee;
    padding-top: 8px;
    font-weight: 700 !important;
    color: var(--heading-color);
  }

  /* 6. Neatly stack and balance primary action button targets side-by-side */
  .success-actions {
    display: flex !important;
    flex-direction: column !important; /* Stacks button controls vertically for thumb taps */
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .success-actions .btn-shop-now,
  .success-actions .btn-browse,
  .success-actions .btn {
    width: 100% !important; /* Stretches buttons full width */
    padding: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
  }

  /*--------------------------------------------------------------
  # Contact Page (contact.php) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Scale down large section header and padding gaps */
  .contact {
    padding: 30px 0 40px 0 !important;
    margin-top: 60px !important;
  }

  /* 2. Streamline vertical info items (Address, Email, Phone blocks) */
  .contact .info-item {
    margin-bottom: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .contact .info-item .info-icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 12px !important;
  }

  .contact .info-item .info-icon i {
    font-size: 1.25rem !important;
  }

  .contact .info-item .info-content h4 {
    font-size: 1.2rem !important;
    margin-bottom: 6px !important;
  }

  .contact .info-item .info-content p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  /* 3. Compress layout padding inside the primary messaging card wrapper */
  .contact .form-wrapper {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    margin-top: 15px;
  }

  .contact .form-header {
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .contact .form-header h3 {
    font-size: 1.35rem !important;
  }

  /* 4. Streamline input form text boxes and tap targets */
  .contact .form-wrapper .form-group {
    margin-bottom: 16px !important;
  }

  .contact .form-wrapper .form-group label {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  .contact .form-wrapper .form-group input,
  .contact .form-wrapper .form-group select,
  .contact .form-wrapper .form-group textarea {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
  }

  .contact .form-wrapper .form-group textarea {
    min-height: 100px !important; /* Shorter message field height to avoid excessive scrolling */
  }

  /* 5. Stretch the submit button layout to full width */
  .contact .form-wrapper .submit-btn {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /*--------------------------------------------------------------
  # Wholesale Portal Pages Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Reduce the extensive section layout padding gaps */
  .wholesale-access,
  .wholesale-apply,
  section[id*="wholesale"] {
    padding: 30px 0 40px 0 !important;
    margin-top: 60px !important;
  }

  /* 2. Style the clean mobile card containers */
  .wholesale-card,
  .wholesale-apply .form-wrapper {
    padding: 25px 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 20px;
    height: auto !important; /* Overrides forced desktop stretching matchers */
  }

  .wholesale-apply .form-header h3 {
    font-size: 1.3rem !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
  }

  /* 3. Compress B2B perks and benefits layout bullet tracks */
  .wholesale-benefits {
    margin: 15px 0 !important;
    padding-left: 5px !important;
  }

  .wholesale-benefits li {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    align-items: flex-start !important; /* Keeps icon neat if text wraps */
  }

  .wholesale-benefits li i {
    font-size: 1rem !important;
    margin-top: 2px;
  }

  /* 4. Streamline input form text fields and focus rings */
  .wholesale-apply .form-group,
  .wholesale-card form div {
    margin-bottom: 16px !important;
  }

  .wholesale-apply label,
  .wholesale-card form label {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  .wholesale-apply input,
  .wholesale-apply textarea,
  .wholesale-apply .form-select,
  .wholesale-card form .form-control {
    width: 100% !important;
    padding: 11px 12px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
  }

  /* 5. Custom alignment fixes for modern inline password password-eye toggles */
  .wholesale-card .input-group {
    display: flex !important;
    width: 100% !important;
  }

  .wholesale-card .input-group .form-control {
    border-radius: 6px 0 0 6px !important; /* Snug matching seams */
  }

  .wholesale-card .input-group .btn-eye {
    border-radius: 0 6px 6px 0 !important;
    padding: 0 12px !important;
    font-size: 0.9rem !important;
  }

  /* 6. Clean structural alignment rules for application terms checkboxes */
  .checkbox-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 12px 0 !important;
  }

  .checkbox-wrapper .form-check-input {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0 !important;
  }

  .checkbox-wrapper .form-check-label {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }

  /* 7. Stretch submission buttons full width for clean mobile targets */
  .apply-submit-btn,
  .wholesale-card form button[type="submit"] {
    width: 100% !important;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 10px !important;
  }

  /*--------------------------------------------------------------
  # Apply for Wholesale Page (wholesale-apply.php) Mobile Fixes
  --------------------------------------------------------------*/
  /* 1. Scale down layout gaps and frame sizes */
  .wholesale-apply.section {
    padding: 30px 0 40px 0 !important;
  }

  /* 2. Flatten the application card container */
  .wholesale-apply .form-wrapper {
    padding: 25px 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  /* 3. Tweak form grouping headers */
  .wholesale-apply .form-header h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    padding-bottom: 6px !important;
  }

  /* 4. Force multi-column layout breaks into clean vertical tracks */
  .wholesale-apply .row > div {
    margin-bottom: 0 !important; /* Managed cleanly by group margins instead */
  }

  .wholesale-apply .form-group {
    margin-bottom: 16px !important;
    width: 100% !important;
  }

  /* 5. Polish typography inputs and clear focus rings */
  .wholesale-apply label {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    color: var(--heading-color) !important;
  }

  .wholesale-apply input,
  .wholesale-apply textarea,
  .wholesale-apply .form-select {
    width: 100% !important;
    padding: 11px 12px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    height: auto !important;
  }

  /* Limit text area initial height so the keyboard doesn't drown out the screen */
  .wholesale-apply textarea {
    min-height: 90px !important;
    resize: vertical;
  }

  /* 6. Clean fix for the dynamic legal checkmark lines */
  .wholesale-apply .checkbox-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 15px 0 !important;
    padding: 0 2px !important;
  }

  .wholesale-apply .checkbox-wrapper .form-check-input {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer;
  }

  .wholesale-apply .checkbox-wrapper .form-check-label {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: var(--default-color) !important;
    text-align: left !important;
    margin: 0 !important;
    cursor: pointer;
  }

  /* 7. Turn the submit button into a full-width mobile button target */
  .wholesale-apply .apply-submit-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }

  /*--------------------------------------------------------------
  # Global Footer (inc-footer) Mobile View Optimizations
  --------------------------------------------------------------*/
  /* 1. Scale down structural padding gaps */
  .footer {
    font-size: 0.9rem !important;
    padding-bottom: 30px !important;
  }

  .footer .footer-top {
    padding-top: 35px !important;
    text-align: center !important;
  }

  /* 2. Center the logo block and brand introduction description text */
  .footer .footer-about {
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  .footer .footer-about .logo {
    margin-bottom: 15px !important;
  }

  .footer .footer-about .logo img {
    max-height: 100px !important; /* Slightly more compact for phone screens */
    margin-right: 0 !important;
  }

  .footer .footer-about .logo span {
    font-size: 1.5rem !important;
  }

  .footer .footer-about p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    max-width: 280px;
    margin: 0 auto !important;
  }

  /* Center social media links rows neatly */
  .footer .social-links {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  /* 3. Re-align Link Blocks and Categories from Right to Center */
  .footer h4 {
    font-size: 1.05rem !important;
    text-align: center !important;
    margin-top: 15px !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
    display: inline-block;
  }

  /* Reset layout link groupings */
  .footer .footer-links,
  .footer .footer-links-cats {
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  .footer .footer-links ul,
  .footer .footer-links-cats ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Overrides right alignment */
    text-align: center !important;
    padding: 0 !important;
  }

  .footer .footer-links ul li,
  .footer .footer-links-cats ul li {
    padding: 6px 0 !important; /* Comfortable tap padding rules */
    justify-content: center !important;
    width: 100% !important;
  }

  /* 4. Streamline Contact Info Details */
  .footer .footer-contact {
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  .footer .footer-contact p {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
  }

  /* 5. Copyright Bar Polish */
  .footer .copyright {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    text-align: center !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .footer .copyright p {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  .footer .credits {
    font-size: 0.75rem !important;
    margin-top: 4px !important;
  }

  /*--------------------------------------------------------------
  # Global Footer Layout Re-Ordering & Centering (Custom Sequence)
  --------------------------------------------------------------*/
  /* 1. Force the footer's main layout container row into a vertical flex stack */
  .footer .footer-top .row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 25px !important; /* Visual spacing between the stacked blocks */
  }

  /* 2. Clear out Bootstrap column sizing limits to make each section full-width */
  .footer .footer-top .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 3. Explicit Layout Ordering */
  /* Position 1: Brand About Box & Logo */
  .footer .footer-about,
  .footer .footer-top .row > div:nth-child(1) {
    order: 1 !important;
  }

  /* Position 2: Contact Us Details */
  .footer .footer-contact,
  .footer .footer-top .row > div:has(.footer-contact),
  .footer .footer-top .row > div:last-child {
    order: 2 !important;
  }

  /* Position 3: Useful Links */
  .footer .footer-links,
  .footer .footer-top .row > div:has(.footer-links) {
    order: 3 !important;
  }

  /* Position 4: Shop / Product Categories Links */
  .footer .footer-links-cats,
  .footer .footer-top .row > div:has(.footer-links-cats) {
    order: 4 !important;
  }

  /* 4. Complete Center Alignment Reset for Useful Links & Categories */
  .footer .footer-links,
  .footer .footer-links-cats {
    text-align: center !important;
  }

  .footer .footer-links h4,
  .footer .footer-links-cats h4 {
    text-align: center !important;
    margin: 0 auto 12px auto !important;
    display: inline-block !important;
  }

  .footer .footer-links ul,
  .footer .footer-links-cats ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Perfect horizontal center tracking */
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer .footer-links ul li,
  .footer .footer-links-cats ul li {
    justify-content: center !important;
    text-align: center !important;
    padding: 6px 0 !important;
    width: 100% !important;
  }

  .footer .footer-links ul li a,
  .footer .footer-links-cats ul li a {
    display: inline-block !important;
    text-align: center !important;
  }
} /* <-- This single bracket now perfectly closes the media query block at the end of the file */
