html, body {
    width: 100%;
    height: 100%;
    font-family: 'Gamja Flower';
    font-size: 1.1rem;
    color: #222;
}

.row {
    text-align: center;
}

.col-md-12 {
    padding-top: 6rem;
    text-align: center;
}

.navbar {
    background-color: #81D8F7 !important;
}

nav-item {
    max-width: 8rem;
    text-align: center
}

.giohang {
    border-style: solid;
    border-width: 0.1rem;
    border-radius: 1rem;
    border-color: white;
}

.fa-sign-out:hover {
    color: black;
}

.col-md-4 {
    flex-basis: 16%;
    max-width: 16%;
    padding: 0 0.5%;
}

/* Responsive design for Index page */
@media (max-width: 1600px) {
    .col-md-4 {
        flex-basis: 19%;
        max-width: 19%;
        padding: 0 0.625%;
    }
}

@media (max-width: 1400px) {
    .col-md-4 {
        flex-basis: 23%;
        max-width: 23%;
        padding: 0 1%;
    }
}

@media (max-width: 1200px) {
    .col-md-4 {
        flex-basis: 31%;
        max-width: 31%;
        padding: 0 1.5%;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        flex-basis: 48%;
        max-width: 48%;
        padding: 0 2%;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0;
    }
}

.col-footer {
    flex-basis: 25%;
}

/* Toast notification - force hide by default */
.toast {
    display: none !important;
}

.toast.show {
    display: block !important;
}

.btn-delivery {
    box-shadow: 2px 4.6px 27px 3px rgb(0 0 0 / 43%);
    position: fixed;
    bottom: 45px;
    right: 32px;
    z-index: 2;
    border-radius: 50%;
}

@keyframes ring-ring {
    0% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }

    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }

    100% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }
}

.btn-delivery img {
    width: 60px;
    transition: all 0.5s;
    animation-name: ring-ring;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.xemthem {
    margin: 1.5rem auto 0.5rem auto;
    max-width: 8rem;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    color: #4e73df;
}

.price-section {
    min-height: 30px;
    max-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.price-section .card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    margin: 2px 0;
}

.regular-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #6c757d;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 16px;
    line-height: 16px;
}

.card-img-top {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f4f4f4;
}

.card {
    margin-bottom: 20px;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px;
    min-height: 200px;
}

.quantity-section {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
}

.product-stock {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin: 0;
    display: inline-block;
}

.product-stock.out-of-stock {
    background-color: #dc3545;
    color: white;
}

.product-stock.low-stock {
    background-color: #ffc107;
    color: #212529;
}

.product-quantity-display {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
    font-weight: 500;
}

.btn-add-to-cart {
    background-color: #4e73df;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
}

.btn-add-to-cart:hover {
    background-color: #2e59d9;
    transform: translateY(-1px);
}

.btn-add-to-cart:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.navbar li a {
    color: white !important;
}
.navbar li a:hover {
    color: black !important;
}
.carousel-inner img {
	width: 100%;
}
.carousel-caption {
	position: absolute;
	top: 50%;
}
.carousel-caption h1 {
	font-size: 400%;
	text-transform: uppercase;
	text-shadow: 5px 5px 15px #000;
}
.carousel-caption h3 {
	font-size: 200%;	
	text-shadow: 2px 2px 10px #000;
}
.btn-primary {
    background-color: #4e73df;
    border: 1px solid white;
}

.btn-primary:hover {
	background-color: #007bff;
	border: 1px solid white;
}
.jumbotron {
	padding: 1rem;
	border-radius: 0;
}
.welcome hr {
	border-top: 2px solid rgba(62,44,100, 0.6);
	width: 95%;	
	margin-bottom: 2rem;
}
.fa-react {
	color: #81D8F7;
}
.fa-angular {
	color: rgb(177,43,55);
}
.fa-css3 {
	color: #D76537;
}
.fa-react, .fa-angular, .fa-css3 {
	font-size: 4em;
	margin: 1rem;
}
.fun {
	width: 100%;
}
.social a {
	font-size: 3em;/*1em = 16px*/
	padding: 3rem;/*1rem = 1 "font-size" */
}
.fa-facebook {
	color: #3b5998;
}
.fa-twitter {
	color: #00aced;	
}
.fa-google-plus-g {
	color: #dd4b39;
}
.fa-instagram {
	color: #517fa4;
}
.fa-youtube {
	color: #bb0000;
}
footer {
	background-color: #3f3f3f;
	color: #d5d5d5;
}
hr.light {
	border-top: 1px solid #d5d5d5;
	width: 75%;
}
.light-100 {
	border-top: 1px solid #d5d5d5;
	width: 100%;
}
/*@media Query*/
@media (max-width: 992px){
	.carousel-caption {
		top: 20%;
	}
	.carousel-caption h1{
		font-size: 250%;
	}
	.carousel-caption h3{		
		font-size: 160%;		
	}
	.carousel-caption .btn{		
		font-size: 120%;		
	}
}
@media (max-width: 768px){	
	.carousel-caption {
		top: 20%;
	}
	.carousel-caption h1{
		font-size: 220%;
	}
	.carousel-caption h3{		
		font-size: 140%;
		padding-bottom: 0.2rem;
	}
	.carousel-caption .btn{		
		font-size: 95%;
		padding: 8px 14px;
	}
}
@media (max-width: 576px){
	.carousel-caption {
		top: 10%;
	}
	.carousel-caption h1{
		font-size: 150%;
	}
	.carousel-caption h3{		
		font-size: 110%;		
	}
	.carousel-caption .btn {		
		font-size: 90%;
		padding: 4px 8px;
	}	
}