:root {
  --primary-north: #111f22;
  --north-clr-light: #0c6f7c;
  --north-clr-md: #15535c;
  --north-clr-dark: #006838;
  --north-clr-black: #00000078;
  --blue: #017997;
  --blue-light: #39aecb;
  --cream: #9ed2df;
  --warm: #faf8f4;
  --gray: #8a8680;
  --black: #000;
}

body.loaded:after {
  display: none;
}

.preloader {
  background: var(--north-clr-main);
}

.preloader-3 div span:before,
.preloader-3 div span:after {
  background: var(--blue-light);
}

.mobile-menu-color-main ,.header-color-main{
  background: var(--black) !important;
}
.section-xl-products {
  padding-top: 180px;
  padding-bottom: 0px;
}
.scrolltotop {
  background: var(--blue) !important;
  mix-blend-mode: unset;
}
/****************/

.navbar-brand-custom {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.03em;
}

.navbar-brand-custom span {
  color: var(--blue);
}

.text-title-hero {
  font-weight: 600;
  font-size: small;
  font: bold;
}

.cart-icon-badge {
  background: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
}

.cart-count {
  background: var(--blue);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* products *****/
.products-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--warm);
  border-radius: 5px;
  transition: transform 0.3s;
  width: 100%;
  overflow: hidden;
}

.products-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s ease;
}

.products-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
}

.products-price {
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  margin-top: 3px;
}

.products-category {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
}

.products-card:hover .products-img {
  transform: scale(1.03);
}

.products-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.products-badge-right {
  left: auto;
  right: 12px;
}

@media (max-width: 576px) {
  .products-badge {
    top: 8px;
    left: 8px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/***********/
.btn-add-once {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 5px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: background 0.2s;
}

.btn-add-once:hover {
  background: var(--blue);
  color: var(--primary-north);
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.img-h {
  width: auto;
  max-width: 80px;
  height: 90%;
  max-height: 100px;
  display: inline-block;
  object-fit: contain;
}

/* header logo */
.img-logo {
  display: inline-block;
  max-width: 100%;
  height: 64px;
  max-height: 64px;
  object-fit: contain;
}

.header .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]) {
  color: white;
  /* subnavbar txt */
}

.header .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]):hover,
.header .header-menu .nav .nav-item .nav-dropdown a:not([class^='button']):not([class^="link-social"]):focus {
  color: var(--north-clr-dark);
  /* subnavbar txt */
}

.header .header-menu .nav .nav-item {
  margin: 0 0 0 15px;
}

.header .header-menu .nav .nav-item .nav-link::before a:hover {
  color: #ffc30D;
}

.mobile-menu-color-north {
  background-color: var(--north-clr-main) !important;
}

@media (max-width: 991.98px) {
  .header.mobile-menu-color-north .header-menu {
    background: var(--north-clr-main);
  }
}

@media (min-width: 992px) {
  .header .header-menu .nav .nav-item {
    margin: 0 0 0 15px;
  }

  .header .header-menu .nav .nav-item .nav-dropdown {
    background: var(--navy);
    /** subnavbar */
  }

}

.bg-color-navy {
  background-color: var(--north-clr-black) !important;
}

.bg-header {
  padding-top: 80px;
  background-color: var(--north-clr-main) !important;
}

.bg-gradient-8 {
  background-image: linear-gradient(90deg, var(--north-clr-md) 0%, var(--north-clr-light) 100%);
}

.text-gradient-north {
  display: inline-block;
  background-image: linear-gradient(90deg, var(--north-clr-light) 0%, var(--north-clr-main) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-image-overlay {
  position: relative;
  overflow: hidden;
}

.bg-image-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(hsla(191, 97%, 48%, 0.4), hsla(177, 92%, 5%, 0.4));
  pointer-events: none;
  z-index: 1;
}

.bg-image-overlay>* {
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .header-logo {
    max-width: 200px;
    margin-right: 2px;
  }

  .img-logo {
    max-width: 200px;
  }
}

@media (max-width: 992px) {
  .img-logo {
    width: 120px;
    max-width: 120px;
  }
}

@media (min-width: 1400px) {
  .px-xxl-5 {
    padding: 0 3rem 0 !important;
  }
}

/***** hero-slider ******/
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.hero-slider .swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  transform: translate(-50%, -50%) !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;

}

.hero-content>* {
  pointer-events: auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  display: block;
}

.slide-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.slide-content .btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 11px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.swiper-slide-active .slide-content h1,
.swiper-slide-active .slide-content p,
.swiper-slide-active .slide-content .btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.swiper-pagination {
  position: absolute;
  bottom: 30px !important;
  z-index: 5;
}

/* .hero-slider .swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
} */

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--blue);
}

.swiper-pagination-bullet:before {
  border: none;
}

.swiper-pagination-bullet:after {
  background: none;
}

@media (max-width: 768px) {

  .hero-content h1,
  .slide-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p,
  .slide-content p {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

.scroll-btn {
  position: fixed;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 1.8s infinite;
  z-index: 1000;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  /* 
  40% {
    transform: translateX(-50%) translateY(8px);
  } */

  90% {
    transform: translateX(-50%) translateY(8px);
  }
}

/** testimonial Swiper */
.testimonialSwiper {
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.testimonialSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  height: auto;
}

.swiper-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
  padding: 10px;
}

.swiper-nav-prev,
.swiper-nav-next {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: var(--north-clr-light);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-nav-prev:hover,
.swiper-nav-next:hover {
  transform: scale(1.2);
  background: var(--north-clr-dark);
}

.swiper-nav-prev:active,
.swiper-nav-next:active {
  transform: scale(1);
}

.testimonial-box {
  overflow: hidden;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.testimonial-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.testimonial-img img {
  max-width: 100%;
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
  background-color: #e2f2fb;
  transition: transform 0.3s ease;
}

@media (max-width: 992px) {
  .testimonial-img img {
    height: 72px;
  }
}

@media (max-width: 768px) {
  .testimonial-img img {
    height: 64px;
    border-radius: 5px;
  }

  .swiper-nav-prev,
  .swiper-nav-next {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .swiper-nav {
    gap: 10px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .testimonial-img img {
    height: 56px;
  }
}

/* footer **/
.footer {
  color: white;
  padding-top: 4rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  padding-bottom: 5px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail-section {
  padding: 0;
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  max-height: 560px;
  align-items: center;
  justify-content: center;
  background: #fefcf8;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.thumbnail-row {
  display: flex;
  gap: 5px;
  margin-top: 15px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  border: var(--blue-light) 1px solid;
}

.product-badge-stock {
  background: #e8f5e9;
  color: var(--north-clr-dark);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  margin: 16px 0 12px;
  line-height: 1.2;
}

.product-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 20px;
}

/* Description */
.product-description {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Buttons */
.btn-add-to-cart {
  background: var(--blue);
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  width: 100%;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  cursor: pointer;
}

.btn-add-to-cart:hover {
  background: var(--blue-light);
}

/* Shipping Info Row */
.shipping-info {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--pp-border);
}

.shipping-info span {
  font-size: 13px;
  color: #6c6c6c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== TABS SECTION ===== */
.tabs-container {
  margin-top: 48px;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--pp-border);
  padding: 28px 32px;
}

/* Custom Tabs */
.nav-tabs-custom {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--pp-border);
  list-style: none;
}

.nav-tabs-custom .nav-link {
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 0;
  color: #6c6c6c;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.nav-tabs-custom .nav-link.active {
  color: var(--pp-gold);
}

.nav-tabs-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--pp-gold);
}

/* Tab Content */
.tab-content {
  padding-top: 24px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane p,
.tab-pane ul {
  color: #4a4a4a;
  line-height: 1.6;
}

.tab-pane ul {
  padding-left: 20px;
  margin: 12px 0;
}

/* ===== RELATED PRODUCTS ===== */
.related-section {
  background: white;
  padding: 60px 0;
  margin-top: 40px;
  border-top: 1px solid var(--pp-border);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.related-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  display: block;
}

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

.related-img {
  background: var(--pp-gray-bg);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.related-price {
  font-weight: 600;
  color: var(--pp-gold);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .product-detail-section {
    padding: 30px 0;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-price {
    font-size: 26px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .quantity-selector {
    flex-wrap: wrap;
  }
  .btn-add-to-cart,
  .btn-wishlist {
    padding: 12px 20px;
  }
  .related-title {
    font-size: 13px;
  }
  .related-price {
    font-size: 13px;
  }
}


/* cl/*/
h1 {
  font-size: 24px;
  margin-bottom: 4px;
  text-align: center;
}

.subtitle {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
  text-align: start;
}

.bubble-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: start;
}

.bubble {
  padding: 8px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.bubble:hover {
  border-color: #3b82f6;
  background: #f8faff;
}

.bubble.selected {
  border-color: #3b82f6;
  background: #f8faff;
}

.bubble.missing {
  border-color: #ef4444;
  background: #fee2e2;
}

.error {
  border-color: #ef4444 !important;
}

.hidden {
  display: none !important;
}

.calc-btn {
  width: 100%;
  padding: 12px;
  background: rgb(0, 0, 0);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.calc-btn:hover {
  background: rgb(5, 37, 108);
}

input[type="number"] {
  padding: 6px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  width: 100px;
}

input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.unit-toggle {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.unit-toggle button {
  padding: 5px 14px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.unit-toggle button.active {
  background:rgb(0, 0, 0);
  color: white;
}

.unit-toggle button:hover:not(.active) {
  background: #f1f5f9;
}

.syringe-container {
  margin: 20px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.syringe-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.syringe-body {
  position: relative;
  width: 100%;
  height: 60px;
  background: #f1f5f9;
  border-radius: 10px 20px 20px 10px;
  border: 3px solid #475569;
  overflow: hidden;
}

.syringe-fill {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  background: linear-gradient(to right, rgb(1, 65, 118), #60a5fa);
  transition: width 0.6s ease;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

.syringe-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  padding: 5px;
  background: linear-gradient(
    50deg,
    transparent,
    rgba(105, 134, 250, 0.827),
    transparent
  );
}
.syringe-fill.move::after{
  animation: shine 1.9s ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.syringe-markings {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  align-items: center;
  inset: 0;
}

.syringe-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  color: #475569;
  font-weight: 600;
}

.syringe-mark .line {
  width: 1px;
  height: 12px;
  background: rgba(11, 12, 12, 0.66);
  margin-bottom: 2px;
}

.syringe-mark .label {
  background: rgba(255, 255, 255, 0.84);
  padding: 0 2px;
  border-radius: 2px;
  font-size: 8px;
}

.syringe-marker {
  position: absolute;
  top: -8px;
  bottom: -8px;
  width: 4px;
  background: rgba(1, 34, 101, 0.55);
  transition: left 0.6s ease;
  opacity: .8;
  z-index: 10;
}

.v-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
}

.v-input-group input {
  width: 120px;
  text-align: start;
  border-radius: 5px;
}
.v-input-group label {
  font-size: 14px;
  font-weight: 500;
}

.v-input-group .unit {
  font-size: 14px;
}

.dose-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.dose-input-group input {
  width: 120px;
  text-align: start;
}
.dose-input-group .unit {
  font-size: 14px;
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.result-card {
  background: white;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.result-card .label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-card .value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}
