.owl-stage {
  margin-left: auto;
  margin-right: auto;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 16px;
}

/* Owl Carousel Navigation Button Customization */

/* Base styles for both buttons */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  /* Size and positioning */
  width: 48px !important;
  height: 48px !important;
  position: absolute;
  top: calc(50% - 60px);
  transform: translateY(-50%);
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  /* Appearance */
  background-color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;

  /* Content styling */
  color: #333 !important;
  font-size: 24px !important;
  line-height: 0;

  /* Remove default styles */
  margin: 0;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.3s ease;
}

.owl-nav-lg button.owl-next i,
.owl-nav-lg button.owl-prev i {
  width: 100%;
  height: 100%;
  position: relative;
  /* fixed yerine relative kullanıyoruz */
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-nav-lg button.owl-prev,
.owl-nav-lg button.owl-next {
  /* Size and positioning */
  width: 48px !important;
  height: 48px !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Dikey ortalama için */
  border: 1px solid rgba(0, 0, 0, 0.1) !important;

  /* Appearance */
  background-color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;

  /* Content styling */
  color: #333 !important;
  font-size: 24px !important;
  line-height: 0;

  /* Remove default styles */
  margin: 0;
  padding: 0 !important;
  outline: none !important;
  transition: all 0.3s ease;
}

.profile-dropdown.dropdown-menu {
  margin-top: 26px !important;
  transform: translateX(-100%) !important;
  left: 48px !important;
  border-bottom-left-radius: 8px !important;
  text-align: right;
  min-width: 100px;
}

.burger-dropdown.dropdown-menu {
  margin-top: 40px !important;
  transform: translateX(-100%) !important;
  left: 48px !important;
  border-radius: 8px;
}

.burger:focus-within + .burger-dropdown {
  display: block;
}

.burger-dropdown:focus-within {
  display: block;
}

.burger-container {
  position: relative;
}

.burger-container[aria-expanded="false"] .dropdown-menu {
  display: none;
}

.burger-container[aria-expanded="true"] .dropdown-menu {
  display: block;
}

.burger-container[aria-expanded="false"] .burger {
  display: flex !important;
}

.burger-container[aria-expanded="false"] .close-btn {
  display: none !important;
}

.burger-container[aria-expanded="true"] .close-btn {
  display: flex !important;
}

.burger-container[aria-expanded="true"] .burger {
  display: none !important;
}

.owl-nav button.owl-prev:hover i,
.owl-nav button.owl-next:hover i {
  color: #ffffff !important;
}

.owl-nav button.owl-next i,
.owl-nav button.owl-prev i {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 1px;
  left: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-nav button.owl-next i::before,
.owl-nav button.owl-prev i::before {
  font-size: 1.75rem;
}

.owl-nav button.owl-next i::before {
  margin-left: 5px;
}

.owl-nav button.owl-prev i {
  left: -1px;
}

.owl-nav button.owl-prev {
  left: 5px;
}

.owl-nav button.owl-next {
  right: 0px;
}

/* Hover state */
.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
  background-color: #f0f0f0 !important;
  /* Light gray on hover */
  color: #000 !important;
  /* Darker arrow on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
  /* Enhanced shadow on hover */
}

/* Disabled state (optional) */
.owl-nav button.owl-prev.disabled,
.owl-nav button.owl-next.disabled {
  opacity: 0.5;
  cursor: default;
}

/* Custom arrow icons - Option 1: Using content property */
.owl-nav button.owl-prev span,
.owl-nav button.owl-next span {
  display: block;
  line-height: 0;
  position: relative;
  top: -3px;
  /* Adjust vertical alignment */
}

/* Optional: Replace default arrows with custom SVG or Font Icons */
/* Uncomment and adjust if you want to use custom icons instead of default arrows */
/*
.owl-nav button.owl-prev span,
.owl-nav button.owl-next span {
  display: none; /* Hide default arrows */
/*
  }
  
.owl-nav button.owl-prev:after {
  content: ''; /* Add your custom icon or character */
/*
  font-family: 'Font Awesome 5 Free'; /* If using Font Awesome */
/*
content: '\f053'; /* Font Awesome chevron-left */
/*
}

.owl-nav button.owl-next:after {
  font-family: 'Font Awesome 5 Free'; /* If using Font Awesome */
/*
  content: '\f054'; /* Font Awesome chevron-right */
/*
  }
*/

/* Make sure the navigation is visible */
.owl-nav {
  display: block !important;
}

.owl-dots {
  height: 0;
}

.custom-card {
  max-width: 240px;
}

.wrapping-cards-container {
  gap: 11px;
}

.custom-card-container {
  flex: 1 1 160px;
  max-width: 240px;
  margin-bottom: 11px;
}

.nav-brand {
  flex-basis: 200px;
  max-width: 240px;
  flex-shrink: 0;
}

.nav-search-container {
  width: 100%;
  height: 100%;
  display: none;
  position: absolute;
  align-items: center;
  left: 0;
  z-index: 1;
  background: white;
  transform: translateY(calc(-150%));
  transition: transform 0.15s ease-in;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.img-profile {
  height: 24px !important;
  object-fit: contain !important;
}

.nav-search-container[aria-hidden="false"] {
  transform: translateY(0);
}

.search-container {
  height: 40px;
  box-shadow: inset 0 1px 2px #f0f0f0;
  border: 1px solid #bebebe;
}

.search-container .search-btn {
  border: none;
  border-left: 1px solid #bebebe;
  background-color: transparent;
}

.search-container .search-input {
  margin-top: 2px;
  margin-bottom: 2px;
  border: none;
  line-height: 1;
  padding-left: 16px;
  background-color: transparent !important;
}

form.search-container:has(.search-btn:focus) .search-input {
  padding-left: 0 !important;
}

form.search-container:has(.search-btn:focus) .search-icon {
  display: flex !important;
}

.search-container .search-input:focus {
  padding-left: 0;
}

.search-container .search-input::placeholder {
  line-height: 1;
}

.search-container .close-search-btn {
  display: flex;
}

.search-input:placeholder-shown ~ .close-search-btn {
  display: none;
}

.search-container .search-icon {
  order: -1;
  margin-left: -1px;
  display: none;
}

.search-container .search-icon svg {
  width: 20px;
  height: 24px;
}

.search-container .search-input:focus + .search-icon {
  display: flex;
}

.topbar {
  max-height: none;
  height: 5.375rem !important;
}

.dropdown-menu.burger-dropdown {
  max-height: calc(100vh - 6rem);
  overflow: auto;
}

.splide__arrows .splide__arrow.splide__arrow--next {
  right: 1rem !important;
}

.splide__arrows .splide__arrow.splide__arrow--prev {
  left: 1rem !important;
}

.splide__arrows .splide__arrow.splide__arrow--next svg {
  margin-left: 2px;
}

.splide__arrows .splide__arrow {
  width: 41px;
  height: 41px;
  background-color: white;
  box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
  border: 1px solid #ccc;
}

.home-slider-container .splide__arrows .splide__arrow {
  transform: translateY(calc(-50% - 50px));
}

.splide__arrows .splide__arrow svg {
  width: 18px;
  height: 18px;
}

.login-main-left {
  min-width: auto;
  width: 100%;
  margin-top: 5rem;
}

.sidebar {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-width: 300px;
}

.cards-container {
  max-width: calc(100% - 300px);
}

.ql-editor {
  min-height: 120px;
}

.nav-bottom-slider .splide__track {
  width: fit-content !important;
  margin: auto !important;
  max-width: calc(100vw - 64px);
}

.products-desciption-container {
  max-width: 650px;
  width: 100%;
}

.deal-categories-slider:hover {
  cursor: grab;
}

.deal-categories-slider:active {
  cursor: grabbing;
}

.deal-categories-slider .splide__slide {
  padding-bottom: 75%;
}

.deal-categories-slider .splide__slide img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38.39px;
}

.deal-categories-slider.details-count-0 button,
.deal-categories-slider.details-count-1 button {
  display: none;
}

.deal-categories-thumbs.details-count-0,
.deal-categories-thumbs.details-count-1 {
  display: none !important;
}

.mobile-deals {
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding-top: 1rem;
  padding-bottom: 1.75rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.mobile-deals[aria-hidden="true"] {
  transform: translateY(100%);
}

.custom-card a:active {
  background-color: #e0e0e08f;
  color: #000;
}

.custom-card a:active img {
  filter: contrast(0.9);
}

.nav-brand:active {
  background-color: #e0e0e029;
}

.responsive-card-wrapper .share-btn {
  width: 32px;
  height: 28px;
  background-color: transparent;
  position: absolute;
  transform: translateX(0);
  top: 3px;
  right: 6px;
}

.responsive-card-wrapper .share-btn:active {
  background-color: #e0e0e08f;
}

.responsive-card-wrapper .share-btn svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.custom-card a {
  -webkit-tap-highlight-color: transparent;
  /* Remove iOS gray overlay if needed */
  touch-action: manipulation;
  /* Helps browsers interpret touch intent correctly */
}

.custom-alert {
  position: fixed !important;
  left: 50%;
  z-index: 5;
  top: 0;
  width: max-content;
  max-width: calc(100% - 2rem);
  transform: translateY(var(--buzz-top-bar-height, -50px)) translateX(-50%);
  transition: transform 0.18s ease-out, opacity 0.15s ease-in;
}

.homepage-view-offers {
  border-bottom: none;
}

.custom-alert button {
  box-shadow: none !important;
}

.deals-page-container {
  justify-content: space-between;
  padding: 0;
}

.deals-page-container .cards-container {
  flex-grow: 1;
}

.deal-categories .splide__track {
  max-width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.deal-categories .splide__list {
  max-width: max-content !important;
  display: flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.deal-categories .splide__list .splide__slide {
  margin-right: 11px !important;
}

.deal-categories .splide__list .splide__slide:last-child {
  margin-right: 0 !important;
}

.contact-inputs-container {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.bg-main {
  background-color: #2468cd;
}

.button-g-btn .card-link {
  background: #2260f8;
  background: -moz-linear-gradient(-45deg, #2260f8 0%, #9053fe 100%);
  background: -webkit-linear-gradient(-45deg, #2260f8 0%, #9053fe 100%);
  background: linear-gradient(135deg, #2260f8 0%, #9053fe 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#2260f8', endColorstr='#9053fe', GradientType=1);
  border-radius: 30px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border: 3px solid #fff;
  padding: 7px 13px;
  transition: all 0.3s ease;
}

.button-g-btn .card-link:hover {
  background: #1b53e1;
  background: -moz-linear-gradient(-45deg, #1b53e1 0%, #2260f8 100%);
  background: -webkit-linear-gradient(-45deg, #1b53e1 0%, #2260f8 100%);
  background: linear-gradient(135deg, #1b53e1 0%, #2260f8 100%);
  color: white;
}

.givaway__container {
  border-radius: 1rem;
}

.giveaway-social-modal,
.giveaway-share-social-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 80%;
  max-width: 680px;
  transform: translate(-50%, -50%);
}

.giveaway-share-social-modal .form-check-input {
  width: 20px;
  height: 20px;
  top: -3px;
  cursor: pointer;
}

.giveaway-share-social-modal .form-check-label {
  cursor: pointer;
}

.time-container {
  display: inline-block;
  position: relative;
  font-size: 12px;
  cursor: pointer;
}

.time-container:hover .converted-time {
  transform: translateY(calc(-100% - 10px));
  opacity: 1;
  visibility: visible;
}

.converted-time {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 3px #0e0e0e32, 0 3px 10px #0e0e0e32;
  padding: 12px 16px;
  top: 0;
  right: -20px;
  white-space: nowrap;
  border-radius: 4px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

.converted-time:after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: white;
  top: 0;
  left: 0;
  z-index: -1;
}

.converted-time:before {
  content: "";
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: white;
  box-shadow: 0 1px 3px #0e0e0e32, 0 3px 10px #0e0e0e32;
  bottom: -4px;
  right: 24px;
  transform: rotate(45deg);
  z-index: -1;
}

.get-deals .custom-card-badge {
  width: fit-content;
  padding-left: 8px;
  padding-right: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

.custom-card-badge .badge {
  height: fit-content;
  font-size: 9px;
  line-height: 7.3px;
}

.wrapping-cards-container .custom-card-badge .badge {
  height: fit-content;
  font-size: 9px;
  line-height: 7.3px;
  padding-top: 6px;
}

.custom-card-badge .card-save-price {
  height: fit-content;
  line-height: 9px;
}

input.search-input::-ms-clear,
input.search-input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

/* clears the 'X' from Chrome */
input.search-input::-webkit-search-decoration,
input.search-input::-webkit-search-cancel-button,
input.search-input::-webkit-search-results-button,
input.search-input::-webkit-search-results-decoration {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.price-history-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  text-align: center;
}

.card-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.chart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 15px;
}

.time-range-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.time-btn {
  background: #e2e8f0;
  color: #475569;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.time-btn:hover {
  background: #cbd5e1;
  transform: translateY(-1px);
}

.time-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #1d4ed8;
}

.chart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}

.refresh-btn {
  background: #8b5cf6;
}

.refresh-btn:hover {
  background: #7c3aed;
}

.chart-container {
  position: relative;
  height: 450px;
  width: 100%;
  padding: 25px;
}

#canvass {
  width: 100% !important;
  height: 110% !important;
}

.chart-container canvas {
  display: block;
  max-width: 100% !important;
  height: auto !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #3b82f6;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

.stat-label {
  color: #6b7280;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#analitics {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .chart-container {
    height: 350px;
    padding: 15px;
  }

  .chart-controls {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .time-range-buttons {
    justify-content: center;
  }

  .chart-actions {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 15px;
    gap: 15px;
  }
}

@media (max-width: 580px) {
  .fixed-badge-container .custom-card-badge {
    display: none;
  }
}

@media (min-width: 992px) {
  .step-card {
    border-right: 1px solid #e0e0e06e;
  }

  .step-card:last-child {
    border-right: none;
  }
}

.profile-dropdown .dropdown-menu {
  top: calc(100% + 20px) !important;
  transform: translateX(calc(-100% + 30px)) !important;
}

.custom-card-badge {
  display: flex;
  align-items: center;
}

.shadow-xs {
  box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.05) !important;
}

.badge-custom {
  background-color: #ebebeb;
  color: #3c3c3c;
  font-size: 10px;
  border-radius: 2px !important;
  padding-left: 6px;
  padding-right: 6px;
}

.badge-custom:hover {
  background-color: #ebebeb !important;
  color: #3c3c3c;
}

.badge-custom:active {
  background-color: #f0eeee !important;
  color: #3c3c3c !important;
}

.color-radio-label {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.color-radio-label svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.color-radio-label input[type="radio"] {
  display: none;
}

.color-square {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.color-radio-label input[type="radio"]:checked + svg {
  display: block;
}

.expired-date {
  filter: grayscale(1);
}

@media (max-width: 768.5px) {
  .homepage-coupon-carousel .responsive-card-wrapper {
    min-width: 200px;
  }

  .homepage-coupon-carousel .splide__arrows .splide__arrow.splide__arrow--next {
    right: 32px !important;
  }

  .products-desciption-container {
    max-width: none;
  }

  .custom-card-two .card-title {
    min-height: auto;
  }

  .givaway__container {
    border-radius: 0;
  }
}

@media (max-width: 768.5px) {
  .owl-nav-lg button.owl-prev,
  .owl-nav-lg button.owl-next {
    display: none !important;
  }

  .custom-card-two {
    display: flex;
    max-width: none;
    width: 100%;
    border-radius: 0;
  }

  .custom-card-container {
    flex: none;
    max-width: none;
    margin-bottom: 8px;
  }

  .owl-nav button.owl-prev,
  .owl-nav button.owl-next {
    display: none !important;
  }

  .nav-brand {
    max-width: 240px;
  }

  .homepage-rest-block .custom-card-image .item-img {
    width: 120px;
    height: 100%;
  }

  .homepage-rest-block .custom-card-image {
    flex-shrink: 0;
  }

  .dropdown-menu.burger-dropdown {
    width: calc(100vw - 2.5rem) !important;
  }

  .custom-card {
    max-width: 180px;
  }

  .container-custom {
    padding-left: 0;
    padding-right: 0;
  }

  .cards-container {
    max-width: 100%;
  }

  .home-page-container {
    padding: 0;
  }

  .home-slider-container.container-fluid {
    overflow: hidden;
    margin-left: 16px !important;
  }

  .navbar:has(.nav-search-container[aria-hidden="false"]) {
    position: sticky !important;
  }

  .wrapping-cards-container .responsive-card-wrapper .share-btn {
    top: 6px;
    right: 10px;
  }
}

.font-14px {
  font-size: 14px;
}

.font-12px {
  font-size: 12px;
}

.fixed-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 1050;
}

#modal {
  width: 90vw;
  height: auto;
  max-height: 100%;
}

@media (min-width: 992px) {
  #modal {
    width: 45vw;
    height: auto;
    max-height: 100%;
  }
}

.mobile-deals {
  bottom: unset;
  top: 0;
  left: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.mobile-deals[aria-hidden="true"] {
  transform: translateY(-100%);
}

.text-blur {
  filter: blur(3px);
  color: black;
  /* daha belirginlik için */
}

@media (min-width: 768.5px) {
  .responsive-card-wrapper {
    flex: 0 0 auto;
    width: calc(50% - 6px);
  }

  .border-md-top {
    border-top: 1px solid #edf2f9;
  }
}

@media (min-width: 820px) {
  .responsive-card-wrapper {
    flex: 0 0 auto;
    width: calc(33.33333333% - 9px);
  }
}

@media (min-width: 1024px) {
  .responsive-card-wrapper {
    flex: 0 0 auto;
    width: calc(25% - 9px);
  }
}

@media (min-width: 1280px) {
  .responsive-card-wrapper {
    flex: 0 0 auto;
    width: calc(20% - 9px);
  }
}
