:root {
  --primary-rose: #d4a373;
  --dark-olive: #1f2421;
}
body {
  background-color: #faf9f6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden; /* Vízszintes görgetés tiltása */
  overflow-y: auto !important; /* Mindig engedélyezi a görgetést */
  min-height: 100vh; /* Biztosítja, hogy az oldal legalább a képernyő magas legyen */
}

.flower-image-cover {
    height: 200px; /* Vagy amekkora méretet szeretnél */
    width: 100%;
    object-fit: cover; /* Ez vágja a képet, hogy ne torzuljon */
    display: block;
    
}

#cart {
    display: none;
    width: 100%;
    margin-top: 20px;
    /* Ne adj neki height: 100% értéket! */
}

.navbar-custom {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dark-olive);
}

/* RESPONSIVE BANNER STYLING */
.hero-section {
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #e9dcd0;
  transition: background-image 0.2s ease-in-out;
}

/* HORIZONTAL SCROLLABLE RIBBON CONTAINER */
.main-ribbon-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: scroll !important;
  padding: 20px 15px;
  min-height: 420px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.main-ribbon-container::-webkit-scrollbar {
  display: none;
}

/* FIXED PRODUCT CARD STYLE WITH COVERS */
.card-product {
  border: 1px solid #e3e1dc;
  border-radius: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  width: 240px !important;
  flex: 0 0 240px !important;
  background: #ffffff;
}
.card-product:hover {
  transform: translateY(-5px);
  transform: scale(1.1);
  background-color: rgb(219, 214, 214);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.badge-cart {
  font-size: 0.75rem;
  position: absolute;
  top: -5px;
  right: -5px;
}

/* SLIDER STYLING */
.main-scroller-range {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 0 auto;
  display: block;
  cursor: pointer;
}

/* FLOATING CART BUTTON */
.sticky-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1030;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

/* CART RIBBON CONTAINER - JAVÍTOTT */
.cart-ribbon-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    overflow-x: auto !important; /* Ez teszi görgethetővé */
    padding: 10px 5px;
    min-height: 200px;
    width: 100%;
}

.cart-ribbon-container::-webkit-scrollbar {
  display: block;
}

.cart-ribbon-item {
  flex: 0 0 180px !important;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#title {
  text-shadow: 3px 3px gray;
  border-color: #d4a373;
}

#ajanlatok {
  /*text-shadow: 2px 2px gray;*/
  color: brown;
  border-color: black;
}


/* MODAL STYLING */
#kosarModal .modal-content,
#rendelesModal .modal-content {
  background-color: #f2f2f2 !important;
  border: none !important;
  overflow: hidden;
}

#kosarModal .modal-header,
#rendelesModal .modal-header {
  background-color: #e0e0e0 !important;
  border-bottom: 1px solid #dcdcdc;
  position: relative;
}

#kosar-csuszka-container {

  display: none; 
  padding: 20px 0;
}


.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #333333;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.modal-footer-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  width: 100%;
}
.modal-footer-buttons .btn {
  flex: 1 1 0% !important;
  width: auto !important;
}

/* PRODUCT AND CART IMAGE STYLING */
.flower-image-cover {
  height: 180px;
  width: 100%;
  object-fit: cover;
  display: block;
  justify-items: center;
  background-color: #e9e9e9;
}
.cart-image-cover {
  height: 90px;
  width: 100%;
  text-indent: 2rem;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background-color: #e9e9e9;
}

/* TEXT BACKGROUND SHADOW FOR BANNER LEGIBILITY IF THE IMAGE IS LIGHT */
.banner-text-glow {
  text-shadow:
    0 2px 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.5);
  padding: 10px;
  display: inline-block;
  border-radius: 10px;
}
.modal-title {
  padding: 1rem 1rem;
}
