* {
    box-sizing: border-box;
}

body {
    /* background-image: url("https://img.upanhnhanh.com/1909a25f18194a74029f812f0e36a25f")*/
}

#header {
    background-color: #FFF;
    width: 100%;
    height: 300px;
    position: relative;
}

#wrapper {
    background-color: #FFF;
    width: 100%;
    min-height: 1000px;
}

#footer {
    background-color: #666;
    width: 100%;
    height: 300px;
}

#container {
    width: 80%;
    min-height: 500px;
    margin: 40px auto;
}

.cate {
    width: 80%;
    height: 450px;
    margin-bottom: 40px;
}

.cate-title {
    width: 300px;
    line-height: 40px;
    height: 40px;
    background-color: green;
    color: #FFF;
    border-radius: 15px;
    font-size: 18px;
    margin: 20px 0px;
    padding-left: 20px;
    text-transform: uppercase;
}

.list-product {
    height: 368px;
    width: 100%;
}

.product {
    text-align: center;
    border: 1px solid #CCC;
    border-radius: 15px;
    padding: 20px;
}

.photo {
    width: 250px;
}

.name {
    color: green;
}

.price {
    color: Orange;
}

#menu {
    background-color: green;
    height: 48px;
    width: 100%;
    line-height: 48px;
}

#menu ul {
    margin: 0px auto;
    padding: 0px;
    width: 80%;
    height: 100%;
    list-style: none;
}

#menu ul li {
    float: left;
    padding: 0px 15px;
    line-height: 48px;
    position: relative;
}

#menu ul li a {
    text-decoration: none;
    color: #FFF;
    display: block;
    padding: 0px 15px;
    white-space: nowrap;
}

#menu a:hover, #list-cate a:hover {
    background-color: #3B2F2F;
    color: #FFF !important;
}

#menu ul ul {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    background-color: green;
    z-index: 100;
    width: max-content;
    min-width: 100%;
}

#menu ul li:hover>ul {
    display: flex;
    flex-direction: column;
}

#menu li li {
    float: none;
    border: none;
    background-color: green;
    width: 100%;
    padding: 0;
}

#menu li li a {
    color: #FFF;
}

/* QUICK CONTACT */
.quick-contact {
    background-color: #FFF;
    width: 100%;
    height: 200px;
    border-radius: 40px;
    position: relative;
}

/* GRID */
.col-m-1 {
    width: 8.33%;
}

.col-m-2 {
    width: 16.66%;
}

.col-m-3 {
    width: 25%;
}

.col-m-4 {
    width: 33.33%;
}

.col-m-5 {
    width: 41.66%;
}

.col-m-6 {
    width: 50%;
}

.col-m-7 {
    width: 58.33%;
}

.col-m-8 {
    width: 66.66%;
}

.col-m-9 {
    width: 75%;
}

.col-m-10 {
    width: 83.33%;
}

.col-m-11 {
    width: 91.66%;
}

.col-m-12 {
    width: 100%;
}

[class*="col-"] {
    float: left;
    padding: 0 15px;
}

#cart-content {
    background-color: transparent;
    color: #3B2F2F;
    border: 2px solid #3B2F2F;
}

#cart-content:hover {
    background-color: #3B2F2F;
    color: #FFF;
}

/* định dạng cho mobile */
@media only screen and (max-width:768px) {
    #header {
        display: block;
    }

    #quitcontact {
        display: none;
    }

    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }
}

/* định dạng cho lap pc */
@media only screen and (min-width:1200px) {
    #quitcontact {
        display: block;
    }

}

/* BANNER TRIO STYLES */
.banner-trio {
    width: 100%;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.banner-trio img {
    width: 100%;
    height: 156px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media only screen and (max-width: 1024px) {
    .banner-trio {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .banner-trio img {
        height: 250px;
    }
}

/* PHOTO GALLERY STYLES */
.list-photo {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    height: auto;
}

/* Tablet Layout (2 columns) */
@media only screen and (max-width: 1024px) {
    .list-photo {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Layout (1 column) */
@media only screen and (max-width: 768px) {
    .list-photo {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.photo-card {
    border: none;
    text-align: left;
    border-radius: 15px;
    padding: 0px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background-color: #FFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.photo-card .img-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.photo-card:hover img {
    transform: scale(1.08);
}
.photo-info {
    padding: 20px;
}
.photo-title {
    color: #3B2F2F;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}
.photo-author {
    color: #666;
    font-size: 14px;
    margin: 0;
}
.photo-theme {
    color: #999;
    font-size: 13px;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* RESPONSIVE UTILITIES */
@media only screen and (max-width: 1024px) {
    .hide-on-tablet {
        display: none !important;
    }
    .full-width-on-tablet {
        width: 100% !important;
    }
}