/* ================ Basic ================ */
/*html, body {
	height: 100%;
	margin: 0;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}*/
main {
	min-height: 60vh;
	flex: 1;
}

/* ================ Navbar ================ */
.navbar-nav .custom-dropdown {
	position: absolute;
}

.custom-navbar {
    background-color: White;
    border-bottom: 1px solid #ddd;
}

/* Remove caret from all dropdown-toggle */
.dropdown-toggle::after {
    display: none;
}

/* ================ Footer ================ */
/* Footer styling */
.custom-footer {
    background-color: black;
}

/* ================ Product Detail ================ */
.img-zoom-container {
    position: relative;
    overflow: hidden;
}

.img-zoom-result {
    border: 1px solid #000;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0; /* start inside image */
    background-repeat: no-repeat;
    display: none;
    z-index: 999;
}

.zoom-image {
    width: 100%;
    max-width: 100%;
    display: block;
    cursor: crosshair;
}

/* ================ Login | Registration ================ */
/* Container for the tabs */
.tab-container {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

/* Individual tab buttons */
.tab-container button {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}

.tab-container button.active {
    color: #000;
    border-bottom: 2px solid black;
}

/* Tab content */
.tab {
    display: none;
}

.tab.active {
    display: block;
}

/* Form styling */
form {
    max-width: 400px;
    margin: 0 auto;
}


/* ================ Home Page ================ */
.image-carrousel {
	width: 100%;
	object-fit: cover;
}

.image-banner-1 {
	width: 100%;
	object-fit: cover;
}

.image-banner-2 {
	width: 100%;
	object-fit: cover;
}

/* Make text scale to fit the card body */
.featured-products .card-body {
    flex: 1;                      /* take remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
}

.featured-products .card-title-product {
    font-size: clamp(0.9rem, 2vw, 1.2rem);  /* responsive text */
    margin: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;       /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.image-container {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
    