/* ================= Thông tin chung ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: clamp(10px, 1vw, 13px);
}

body {
    background: #ffffff;
    overflow-x: hidden;
    /*chặn trược ngang*/
}

/* container chuẩn */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
}

/* ================= HEADER ================= */
.header {
    background: #fff;
    border-bottom: 1px solid #ccc;
}

/* Giỏ hàng */
.giohang {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
}

.top-left a {
    display: flex;
    /*có này mới thẳng hàng*/
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    align-items: center;
}

.top-left .ranh {
    margin: 0 5px;
    color: #ffffff;
    font-size: 12px;
}

/*nền xanh bo tròn*/
.top-left {
    display: flex;
    align-items: center;
    background: #0a7a0a;
    /* nền xanh */
    border-radius: 20px;
    /* bo tròn */
    padding: 4px 10px;
}

/*sản phẩm tổng tiền dính với cột giỏ hàng của bạn, xem hóa đơn*/
.cart-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-info {
    position: absolute;
    top: 100%;
    line-height: 8px;
    right: 9px;
    background: #DEDEDE;
    white-space: nowrap;
    padding: 5px 10px;
    font-size: 13px;
    color: #000;
    z-index: 1000;
    border-radius: 6px;
    text-align: left;
}

/* Cờ bên phải */
.top-right img {
    width: 22px;
    height: auto;
    margin-left: 6px;
    cursor: pointer;
}

/* Xem giỏ hàng */


/* ===== TOP MENU (DÒNG 1) ===== */
.header-top {
    /*background: #006400;*/
    color: #fff;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    align-items: center;
    /*Xếp lại ngay hàng thẳng lối*/
    justify-content: flex-end;
    /* menu bên phải */
}

.top-links ul {
    list-style: none;
    display: flex;
    gap: 16px;
    padding: 8px 0;
}


.top-links a {
    position: relative;
    display: block;
    /*click chuột vào khối chữ nhật bao link a*/
    padding: 8px 10px;
    /*không cho dính các link khỏi nhầm khi click*/
    line-height: 1.2;
    /*khoảng cách dòng=font-size*line-height chữ ko sát nhưng gọn gàng*/
    color: #006400;
    text-decoration: none;
    /*box-shadow: inset -1px 0 0 #fff;/*đường viền trắng ngăn cách nhưng không xóa đươc viền cuối*/
    white-space: nowrap;
    /*không cho văn bản xuống dòng*/
    font-size: 12px;
}

.top-links a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: #006400;
}

.top-links li:last-child a::after {
    display: none;
}

.top-links a:hover {
    background: #006633;
    color: #fff;
}

/* ===== HEADER MAIN (DÒNG 2) ===== */
.header-main {
    position: relative;
    background: none;
}

/*.header-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
}*/

.header-main-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    /*padding: 24px 0;*/
}

.logo-img {
    width: 200px;
    max-height: 350px;
    display: block;

}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img-slogan {
    display: block;
    margin-top: 4px;
    max-width: 100%;
}

.company-info {
    position: relative;
    flex: 1;
    /* ← CHỈ SỬA DÒNG NÀY */
    height: 260px;
    /* ← có thể tăng / giảm */

}

.company-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*lấp đầy khung không méo ảnh*/
    display: block;
}

.slogan {
    position: absolute;
    /*cho phép chữ đè lên hình nền*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*kéo chữ về tâm hình*/
    color: #006400;
    text-align: center;
    font-size: 15px;
    width: 90%;

}

/*.slogan h1 {
    font-size: clamp(33px, 2.5vw, 47px);
    text-shadow:
        -2px -2px 0 #fff, 
        2px -2px 0 #fff, 
        -2px 2px 0 #fff, 2px 2px 0 #fff
}*/
.slogan h1 {
    font-size: clamp(29px, 2.5vw, 36px);
    font-weight: 800;
    color: #006400;

    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        2px 1px 0 #fff,
        0 0 12px #fff,
        0 0 11px rgba(255, 255, 255, 0.9);
}

.slogan a {
    font-size: clamp(18px, 3vw, 19px);
    color: #161717;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        2px 1px 0 #fff,
        0 0 12px #fff,
        0 0 11px rgba(255, 255, 255, 0.9);
}

.tagline {
    font-size: 14px;
    color: #006633;
}

/* ================= MENU CHÍNH ================= */
.menu {
    background: green;
}

.menu ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.menu li {
    /*padding: 0;
    color: #fff;
    cursor: pointer;/*biến con trỏ thành bàn tay*/
    flex: 1;
    /*chia đều mỗi link*/
    /*flex-grow: 1 → cho phép giãn
    flex-shrink: 1 → cho phép co lại khi thiếu chỗ
    flex-basis: 0% → kích thước ban đầu = 0, chia đều theo tỉ lệ*/
    /*text-align:center;*/
}

.contact {
    display: flex;
}

.menu a {
    position: relative;
    display: block;
    /*click chuột vào khối chữ nhật bao link a*/
    padding: 8px 10px;
    /*không cho dính các link khỏi nhầm khi click*/
    line-height: 1.2;
    /*khoảng cách dòng=font-size*line-height chữ ko sát nhưng gọn gàng*/
    color: #fff;
    text-decoration: none;
    /*box-shadow: inset -1px 0 0 #fff;/*đường viền trắng ngăn cách nhưng không xóa đươc viền cuối*/
    white-space: nowrap;
    /*không cho văn bản xuống dòng*/
    font-size: 12px;
}

.menu a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.menu li:last-child a::after {
    display: none;
}

.menu a:hover {
    background: darkgreen;
}

/*Sơ đồ website*/
.fabok {
    display: flex;
    align-items: center;
    /*chiều cao đều nhau*/
    justify-content: space-between;
    /*đẩy hẳn 2 div sang 2 bên*/
    padding: 12px 0px;


}

/*=============MENU NAVIGATION CHÂN TRANG=====*/
.menu-chantrang a {
    position: relative;
    display: block;
    /*click chuột vào khối chữ nhật bao link a*/
    padding: 8px 5px;
    /*không cho dính các link khỏi nhầm khi click*/
    line-height: 1.2;
    /*khoảng cách dòng=font-size*line-height chữ ko sát nhưng gọn gàng*/
    color: #0a0a0a;
    text-decoration: none;
    /*box-shadow: inset -1px 0 0 #fff;/*đường viền trắng ngăn cách nhưng không xóa đươc viền cuối*/
    white-space: nowrap;
    /*không cho văn bản xuống dòng*/
    font-size: 12px;
}

.menu-chantrang {
    background-color: #DAE0EE;
    margin: 0;
    padding: 0;
}

.menu-chantrang ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* ⭐ cho cuộn ngang */
    white-space: nowrap;
    scrollbar-width: thin;
    /* Firefox */
}

.menu-chantrang a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: #171717;
    /*màu gạch phân cách*/
}

.menu-chantrang li:last-child a::after {
    display: none;
}

.menu-chantrang a:hover {
    /* background: darkgreen;*/
}

/* ================= MAIN ================= */
.main {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

/* ===== LEFT (SLIDER) ===== */
.col-left {
    width: 40%;
}

.slider-main {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
}

.slide-img.active {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* ===== CENTER ===== */
.post-center {
    width: 25%;
    background: #fff;
    padding: 10px;
}

.post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* ===== RIGHT ===== */
.right {
    width: 35%;
    background: #fff;
    padding: 0px;
    align-self: flex-start;
}

/*Ép khung ảnh trong cột phải*/
.img-right1,
.img-right2 {
    width: 100%;
    margin-bottom: 10px;
}

.img-right1 img,
.img-right2 img {
    width: 100%;
    height: 165px;
    /* ⬅ giảm chiều cao tại đây */
    object-fit: cover;
    /* không méo ảnh */
    display: block;
}

.images {
    width: 100%;
    /* ảnh co theo cột phải */
    height: 120px;
    /* 2 ảnh cao bằng nhau */
    object-fit: cover;
    /* lấp đầy khung, không méo */
    display: block;
    /* bỏ khoảng trắng dưới ảnh */
}

.product-list {
    display: flex;
    list-style: none;
    margin: 0;
}

.product-list li {
    padding: 0;
    border-bottom: 0px solid #ddd;
}

/* ================= FOOTER ================= */
.footer {
    background: #086A08;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    margin-top: 0;
}
/*CCS LÊ THỊ YẾN*/


* {
	font-family: 'Segoe UI', 'Times New Roman', Times, serif, Geneva, Verdana, sans-serif;
}
.lethiyen {
    display: flex;
    flex-direction: column; /* ⬅️ xếp dọc */
    gap: 30px;
}
.flex {
	display: flex;
	justify-content: space-around;
	
}




.info {
	background-color: deepskyblue;
	color: white;
}

.success {
	background-color: lightseagreen;
	color: white;
}


/* CSS DETAILS */
.product {
	width: 20%;
}

figure.product {
	border: 1px solid whitesmoke;
	box-shadow: 3px 4px 3px lightgray;
	padding:20px;
	position:relative;
}

figure.product img {
	width: 100%;
	cursor:pointer;
	transition:transform .5s ease;	
}

figure.product figcaption {
	
	color:coral;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	padding:5px;
}

.text-center {
	text-align: center;
}




.go-top {
	display: block;
	opacity:.5;
	position:fixed;
	right:10px;
	bottom:10px;
	background-color: grb(0,153,0);
}

.go-top a {
	display: block;
	padding: 1rem;
}
/*CCS LÊ THỊ YẾN*/

/*NGUYỄN HỮU LONG*/

body-long {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

.dau-trang {
    background-color: #006400;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.thanh-menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.dang-chon {
    font-weight: bold;
    border-bottom: 2px solid yellow;
}


.vung-chinh {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
}

.thanh-ben {
    width: 25%;
    background: white;
    padding: 15px;
    border-radius: 5px;
}

.thanh-ben ul {
    list-style: none;
    padding: 0;
}

.thanh-ben li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.thanh-ben a {
    text-decoration: none;
    color: #333;
}


.danh-sach-tra {
    width: 75%;
}

.khung-san-pham {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.o-san-pham {
    width: calc(33.333% - 14px);
    background: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.o-san-pham:hover {
    transform: translateY(-5px);
}

.o-san-pham img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gia {
    color: #d00;
    font-weight: bold;
}

.nut-mua {
    background: #006400;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/*NGUYỄN HỮU LONG*/