.logo img {
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .logo img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 40px;
  }
}


.custom-ratio {
  --bs-aspect-ratio: 34%;
}

@media (max-width: 1200px) {
  .custom-ratio {
    --bs-aspect-ratio: 37%;
  }
}

@media (max-width: 992px) {
  .custom-ratio {
    --bs-aspect-ratio: 50%;
  }
}

@media (max-width: 768px) {
  .custom-ratio {
    --bs-aspect-ratio: 55%;
  }
}



.mobile-menu-overlay {
  z-index: 1040 !important;
}

.mobile-menu-sidebar {
  z-index: 1055 !important;
}

.fab-wrapper {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  z-index: 999;
}

.fab-checkbox {
  display: none;
}

.fab {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 4rem;
  height: 4rem;
  background: #2d4a8a;
  border-radius: 50%;
  background: #2d4a8a;
  box-shadow: 0px 5px 20px #2d4a8a;
  transition: all 0.3s ease;
  z-index: 1;
  border-bottom-right-radius: 6px;
  border: 1px solid #2d4a8a;
}

.fab:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.fab-checkbox:checked~.fab:before {
  width: 90%;
  height: 90%;
  left: 5%;
  top: 5%;
  background-color: rgba(255, 255, 255, 0.2);
}

.fab:hover {
  background: #2d4a8a;
  box-shadow: 0px 5px 20px 5px #2d4a8a;
}

.fab-dots {
  position: absolute;
  height: 8px;
  width: 8px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  transform: translateX(0%) translateY(-50%) rotate(0deg);
  opacity: 1;
  animation: blink 3s ease infinite;
  transition: all 0.3s ease;
}

.fab-dots-1 {
  left: 15px;
  animation-delay: 0s;
}

.fab-dots-2 {
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  animation-delay: 0.4s;
}

.fab-dots-3 {
  right: 15px;
  animation-delay: 0.8s;
}

.fab-checkbox:checked~.fab .fab-dots {
  height: 6px;
}

.fab .fab-dots-2 {
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
}

.fab-checkbox:checked~.fab .fab-dots-1 {
  width: 32px;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.fab-checkbox:checked~.fab .fab-dots-3 {
  width: 32px;
  border-radius: 10px;
  right: 50%;
  transform: translateX(50%) translateY(-50%) rotate(-45deg);
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.fab-checkbox:checked~.fab .fab-dots {
  animation: none;
}

.fab-wheel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  transition: all 0.3s ease;
  transform-origin: bottom right;
  transform: scale(0);
}

.fab-checkbox:checked~.fab-wheel {
  transform: scale(1);
}

.fab-action {
  position: absolute;
  background: #0f1941;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: White;
  box-shadow: 0 0.1rem 1rem rgba(24, 66, 154, 0.82);
  transition: all 1s ease;

  opacity: 0;
}

.fab-checkbox:checked~.fab-wheel .fab-action {
  opacity: 1;
}

.fab-action:hover {
  background-color: #f16100;
}

.fab-wheel .fab-action-1 {
  right: -1rem;
  top: 0;
}

.fab-wheel .fab-action-2 {
  right: 3.4rem;
  top: 0.5rem;
}

.fab-wheel .fab-action-3 {
  left: 0.5rem;
  bottom: 3.4rem;
}

.fab-wheel .fab-action-4 {
  left: 0;
  bottom: -1rem;
}

.product-details {
  max-width: 82%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ckeditor-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.ckeditor-content h1,
.ckeditor-content h2,
.ckeditor-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.ckeditor-content p {
  margin-bottom: 1rem;
}

.ckeditor-content ul,
.ckeditor-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.ckeditor-content a {
  color: #2d4a8a;
  text-decoration: underline;
  font-weight: 500;
}

.ckeditor-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.ckeditor-content th,
.ckeditor-content td {
  border: 1px solid #dee2e6;
  padding: 10px;
  text-align: center;
}

.ckeditor-content th {
  background-color: #f8f9fa;
}

.ckeditor-content img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: contain;
}

@media (max-width: 992px) {
  .product-details {
    max-width: 90%;
    padding: 0 1rem;
  }

  .ckeditor-content {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .product-details {
    max-width: 100%;
    padding: 0 0.75rem;
  }

  .ckeditor-content {
    font-size: 0.95rem;
  }

  .ckeditor-content img {
    max-height: 350px;
  }
}

