/* Root Variables */

/* Importing Manrope font with font-display: swap */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

/* Ensuring FontAwesome uses font-display: swap */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css?display=swap");

:root {
  /* Primary Colors */
  --primary: #d4af37;
  --primary-dark: #ba9d3f;
  --primary-extraDark: #ad933d;
  z --primary-light: #e1bd45;

  /* Secondary Colors */
  --secondary: #2a9d8f;
  --secondary-light: #87ceeb;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* Accent Colors */
  --blue: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --yellow: #f59e0b;
  --purple: #8b5cf6;
  --pink: #ec4899;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg,
      var(--primary) 0%,
      var(--primary-dark) 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: var(--gray-800);

  background-color: #faf8f5;
}

/* Custom Utilities */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--primary-dark);
}

.border-primary {
  border-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.hover\:bg-primary:hover {
  background-color: var(--primary) !important;
}

.hover\:text-primary:hover {
  color: var(--primary) !important;
}

/* Header Specific Styles */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
}

/* Product Cards */
.product-card {
  transition: all var(--transition);
  cursor: pointer;
  height: 332px;
}

.product-card h4 {
  height: 40px;
  display: flex;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  transition: transform var(--transition);
  width: 200px;
  height: 200px;
}

.product-card-r {
  transition: all var(--transition);
  cursor: pointer;
  height: 310px;
}

/* Category Cards */
.category-card {
  transition: all var(--transition);
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  transition: transform var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.1);
}

/* Hero Section */
.hero-gradient {
  background: var(--gradient-primary);
}

.hero-blue {
  background: linear-gradient(135deg, #87ceeb 0%, #4682b4 100%);
}

.hero-dark {
  background: linear-gradient(135deg, #2f4f4f 0%, #000000 100%);
}

/* Carousel Styles */
.carousel-container {
  position: relative;
}

.carousel-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.carousel-nav.prev {
  left: -20px;
}

.carousel-nav.next {
  right: -20px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg,
      var(--gray-200) 25%,
      var(--gray-300) 50%,
      var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Button Styles */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

/* CMS Page Custom Styling */
.cms-page h1,
.cms-page h2,
.cms-page h3,
.cms-page h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.cms-page p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 1rem;
}

.cms-page h1 {
  font-size: 40px;
}

.cms-page h2,
.cms-page h3 {
  font-size: 20px;
}

.cms-page h4 {
  font-size: 18px;
}

.cms-page ul,
.cms-page ol {
  padding-left: 20px;
}

.cms-page ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.cms-page ul li p,
.cms-page ol li p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.cms-page ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}

.cms-page .invalid-feedback {
  display: block;
  color: red;
  font-size: 12px;
}

/* Category Page Description CSS */
.category-page h1,
.category-page h2,
.category-page h3,
.category-page h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.category-page p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 1rem;
}

.category-page h1 {
  font-size: 40px;
}

.category-page h2,
.category-page h3 {
  font-size: 20px;
}

.category-page h4 {
  font-size: 18px;
}

.category-page ul,
.category-page ol {
  padding-left: 20px;
}

.category-page ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.category-page ul li p,
.category-page ol li p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.category-page ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}

/* Product Page Description CSS */
.product-page h2,
.product-page h3,
.product-page h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.product-page p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 1rem;
}

.product-page h2,
.product-page h3 {
  font-size: 20px;
}

.product-page h4 {
  font-size: 18px;
}

.product-page ul,
.product-page ol {
  padding-left: 20px;
}

.product-page ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.product-page ul li p,
.product-page ol li p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.product-page ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}

/* Homepage Description CSS */
.home-description h1,
.home-description h2,
.home-description h3,
.home-description h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.home-description p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 1rem;
}

.home-description h1 {
  font-size: 40px;
}

.home-description h2,
.home-description h3 {
  font-size: 20px;
}

.home-description h4 {
  font-size: 18px;
}

.home-description ul,
.home-description ol {
  padding-left: 20px;
}

.home-description ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.home-description ul li p,
.home-description ol li p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.home-description ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}

/* Blog Page Custom Styling */
.blog-page h1,
.blog-page h2,
.blog-page h3,
.blog-page h4 {
  font-weight: 800;
  line-height: 1.2;
  color: #333;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

.blog-page p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 1rem;
}

.blog-page h1 {
  font-size: 40px;
}

.blog-page h2,
.blog-page h3 {
  font-size: 20px;
}

.blog-page h4 {
  font-size: 18px;
}

.blog-page ul,
.blog-page ol {
  padding-left: 20px;
}

.blog-page ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.blog-page ul li p,
.blog-page ol li p {
  font-size: 15px;
  line-height: 1.86;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.blog-page ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
}

.blog-page .post-title {
  margin-bottom: 12px;
  white-space: normal;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.75px;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: var(--font-size-base);
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(244 162 97 / 0.1);
}

.accordion-panel {
  overflow: hidden;
  height: 0;
  transition: height 300ms ease;
}

.rotate-90 {
  transform: rotate(90deg);
}


.custom-border:focus {
  border: 1px solid #D1D5DB !important;
  outline: none;
}

/* Responsive Utilities */
@media (max-width: 640px) {
  .mobile-hidden {
    display: none !important;
  }

  .mobile-full {
    width: 100% !important;
  }

  .mobile-center {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .tablet-hidden {
    display: none !important;
  }

  .tablet-full {
    width: 100% !important;
  }
}

/* Finished Page Styles */
.order-card {
  background: white;
  width: 100%;
  height: 1000px;
  /* whatever height you need */
  clip-path: polygon(0 20%,
      /* top-left */
      100% 0%,
      /* top-right, lower to create slope */
      100% 100%,
      /* bottom-right */
      0% 100%
      /* bottom-left */
    );
  transform: translateY(-200px);
}

.order-number {
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: var(--z-fixed);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white !important;
  }

  .shadow,
  .shadow-sm,
  .shadow-md,
  .shadow-lg,
  .shadow-xl {
    box-shadow: none !important;
  }
}

/* Custom styles for Cart Page */
.custom-input {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  background-color: white;
}

.custom-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.custom-checkbox {
  accent-color: #3b82f6;
}

.product-image {
  width: 60px;
  height: 60px;
  background-color: #e5e7eb;
  border-radius: 8px;
}

/* Footer Styles */
[type=text]:focus {
  box-shadow: none !important;
}

footer ul li {
  margin-bottom: 9px !important;
}

/* Sweet Alert Styles */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
  z-index: 1000000;
}

.BreadCrumb>li:not(:first-child)::before {
  content: "/";
  margin: 0 0.25rem;
  color: #999;
  /* or any muted text color */
}

input:focus,
input:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* DESKTOP ONLY: hide just the bar, show everything else */
@media (min-width: 768px) {

  /* hide the accordion bar */
  details.order-acc>summary {
    display: none !important;
  }

  /* force-show ALL non-summary direct children (beats UA default) */
  details.order-acc>*:not(summary) {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* MOBILE animation (optional; remove if you don't want sliding) */
@media (max-width: 767px) {
  details.order-acc .acc-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 300ms ease-in-out;
  }

  details.order-acc[open] .acc-content {
    max-height: 2000px;
  }

  details.order-acc[open] summary svg {
    transform: rotate(180deg);
  }
}

.triangle {
  width: 0px;
  position: absolute;
  height: 0px;
  border-style: solid;
  border-width: 0 285px 170px 170px;
  border-color: #ffffff #ffffff #ffffff #ffffff;
  clip-path: polygon(0 0, 100% -30%, 80% 100%, 0% 100%);
  transform: rotate(0deg);
  z-index: 0;
}

.search-box:active,
.search-box:focus {
  border: 1px solid rgb(209 213 219) !important;
}