/* =============================================
   1. RESET & GLOBAL
   ============================================= */
* {
    box-sizing: border-box;
}
.row::after {
    content: "";
    display: block;
    clear: both;
}
[class*="col-"] {
    float: left;
    padding: 15px;
}
/* =============================================
   2. TOP BAR (Thanh trên cùng)
   ============================================= */
#top {
    width: 100%;
    height: 35px;
    background-color: #242021;
}
#top-content {
    width: 80%;
    margin: 0px auto;
}
#top-left {
    width: 70%;
    height: 35px;
    background-color: #242021;
    float: left;
    line-height: 35px;
    color: white;
    font-size: 13px;
    font-weight: normal;
}
.contact-link {
    color: white;
    text-decoration: none;
    margin-left: 5px;
    transition: 0.3s;
}
.contact-link:hover {
    color: #c49b63;
}
#top-right {
    width: 30%;
    height: 35px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}
/* =============================================
   3. HEADER & NAVIGATION (Đầu trang & menu)
   ============================================= */
#header {
    width: 100%;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0px;
    z-index: 1000;
}
.breadcrumb {
    background: #f7f7f7;
    padding: 18px 10%;
    font-size: 13px;
    font-family: Arial, sans-serif;
}
.breadcrumb a {
    color: #777;
    text-decoration: none;
}
.breadcrumb span {
    margin: 0 8px;
    color: #999;
}
.breadcrumb p {
    display: inline;
    color: #222;
    font-weight: 600;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
}
.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.logo span {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
}
#nav > ul {
    display: flex;
    list-style: none;
    gap: 30px;
    white-space: nowrap;
}
#nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: 0.3s;
}
#nav ul li a:hover {
    color: #c49b63;
}
/* =============================================
   4. ICONS (Biểu tượng)
   ============================================= */
.icons {
    display: flex;
    align-items: center;
    gap: 25px;
}
.icons a {
    position: relative;
    text-decoration: none;
    color: #222;
    font-size: 20px;
    transition: 0.3s;
}
.icons a:hover {
    color: #c49b63;
}
.icon-bell {
    position: relative;
    display: inline-block;
}
/* =============================================
   5. SEARCH (Tìm kiếm)
   ============================================= */
.search-box {
    position: relative;
}
.search-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: none;
    z-index: 9999;
}
.search-dropdown input {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
    border-radius: 6px;
}
#search-result {
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.search-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}
.search-item:hover {
    color: #c49b63;
}
.search-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}
.search-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}
.search-info p {
    font-size: 13px;
    color: #c49b63;
    font-weight: bold;
}
.empty-search {
    text-align: center;
    font-size: 14px;
    color: #888;
    padding: 10px 0;
}
/* =============================================
   6. CART DROPDOWN (Giỏ hàng thả xuống)
   ============================================= */
.cart-box {
    position: relative;
    display: inline-block;
}
.cart-icon {
    position: relative;
    text-decoration: none;
    color: #222;
    font-size: 22px;
}
#cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.empty-cart {
    color: #777;
    font-size: 14px;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.cart-item img {
    width: 70px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.cart-info {
    flex: 1;
}
.cart-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
}
.cart-info p {
    color: #c49b63;
    font-weight: bold;
}
.remove-cart {
    background: #111;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 12px;
}
/* =============================================
   7. HERO BANNER (Slider chính)
   ============================================= */
.hero {
    width: 100%;
    height: 90vh;
    background: url('<img src="anhbia.jpg" alt="">') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}
.prev:hover,
.next:hover {
    background: #c49b63;
}
.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}
.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}
.btn {
    padding: 14px 35px;
    background: #c49b63;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}
.btn:hover {
    background: #222;
}
/* =============================================
   8. PRODUCT SECTION (Sản phẩm)
   ============================================= */
.products {
    padding: 80px 60px;
}
.free {
    padding: 80px 60px;
    background-color: pink;
}
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: "";
    width: 100px;
    height: 3px;
    background: #000;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}
.section-title a {
    text-decoration: none;
    color: #222;
    transition: 0.3s;
}
.section-title a:hover {
    color: #c49b63;
}
.sale-title a {
    text-decoration: none;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sale-title a:hover {
    color: #c49b63;
}
.sale-dot {
    width: 12px;
    height: 12px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}
.product-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.product-card {
    border: 1px solid #eee;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    margin-bottom: 30px;
    margin-right: 20px;
    max-width: 300px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.product-info {
    padding: 20px;
    text-align: left;
}
.product-link {
    display: block;
    overflow: hidden;
}
.product-link img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: 0.4s;
}
.product-card:hover .product-link img {
    transform: scale(1.05);
}
.product-name-link {
    text-decoration: none;
    color: #222;
    transition: 0.3s;
    font-weight: normal;
}
.product-name-link:hover {
    color: #c49b63;
}
.product-rating {
    margin: 8px 0;
    color: #f5a623;
    font-size: 14px;
}
.product-rating span {
    color: #777;
    font-size: 13px;
}
.sold {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}
.product-info h3 {
    margin-bottom: 10px;
    font-size: 15px;
}
.price {
    color: #c49b63;
    font-weight: bold;
    font-size: 18px;
}
/* =============================================
   9. PRODUCT DETAIL (Chi tiết sản phẩm)
   ============================================= */
.product-detail {
    padding: 40px 5%;
    background: #fff;
    width: 90%;
}
.detail-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.detail-left {
    width: 48%;
}
.detail-right {
    width: 48%;
}
.main-image {
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
}
.main-image img {
    width: 100%;
    max-height: 700px;
    object-fit: contain;
}
.product-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}
.product-code {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.product-price {
    margin: 15px 0;
    padding: 10px 0;
}
.sale-price {
    font-size: 28px;
    font-weight: bold;
    color: #d70018;
    margin-right: 10px;
}
.old-price {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
    margin-right: 10px;
}
.current-price {
    text-decoration: none;
    color: #d70018;
    font-weight: bold;
}
.discount {
    background: #d70018;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 14px;
}
.product-option {
    margin: 20px 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.product-option h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
}
.color-list,
.size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.color-btn,
.size-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}
.color-btn:hover,
.size-btn:hover {
    border-color: #c49b63;
}
.color-btn.active,
.size-btn.active {
    background: #c49b63;
    color: white;
    border-color: #c49b63;
}
.quantity-box {
    margin: 20px 0;
}
.quantity-box h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-control button {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}
.quantity-control button:hover {
    background: #ddd;
}
.quantity-control input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.detail-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}
.add-cart {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: #111;
    color: white;
}
.add-cart:hover {
    background: #333;
}
.buy-now {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: #c49b63;
    color: white;
}
.buy-now:hover {
    background: #a07d4a;
}
.product-policy {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}
.policy-item {
    padding: 5px 0;
    font-size: 14px;
    color: #444;
}
.product-description {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}
.product-description h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.product-description p {
    line-height: 1.6;
    color: #555;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.related-products {
    width: 100%;
    margin-top: 60px;
}
/* =============================================
   10. COLLECTION & FILTER (Bộ lọc danh mục)
   ============================================= */
#new-collection {
    width: 80%;
    margin: 45px auto 70px;
}
.collection-left {
    position: sticky;
    top: 95px;
    height: max-content;
    margin-bottom: 30px;
    align-self: flex-start;
}
.torano-filter {
    margin-bottom: 40px;
}
.torano-filter h3,
.torano-category h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
    color: #111;
}
.torano-item {
    border-top: 1px solid #ececec;
    padding: 18px 0;
}
.torano-item:last-child {
    border-bottom: 1px solid #ececec;
}
.torano-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.torano-head span {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}
.torano-head i {
    font-size: 10px;
    color: #888;
}
.torano-body {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.torano-body a {
    text-decoration: none;
    font-size: 14px;
    color: #555;
    transition: 0.3s;
}
.torano-body a:hover {
    color: #111;
}
.torano-price {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.torano-price input {
    width: 15px;
    height: 15px;
    accent-color: #111;
}
.torano-price span {
    font-size: 14px;
    color: #555;
}
.torano-size {
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.torano-size button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.torano-size button:hover {
    border-color: #111;
}
.torano-category ul {
    list-style: none;
    border-top: 1px solid #ececec;
}
.torano-category ul li {
    border-bottom: 1px solid #ececec;
}
.torano-category ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    text-decoration: none;
    font-size: 14px;
    color: #444;
    transition: 0.3s;
}
.torano-category ul li a:hover {
    color: #111;
    padding-left: 5px;
}
.collection-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.collection-top h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}
.collection-top select {
    width: 220px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}
.collection-right {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.new-grid {
    width: 100%;
}
.new-card {
    cursor: pointer;
    margin-bottom: 35px;
    transition: 0.3s;
}
.new-image {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
}
.new-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}
.new-card:hover img {
    transform: scale(1.05);
}
.new-card:hover {
    transform: translateY(-4px);
}
.new-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #111;
    color: #fff;
    padding: 5px 10px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
}
.new-info {
    padding-top: 14px;
}
.new-info h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    min-height: 44px;
    margin-bottom: 8px;
    color: #111;
}
.new-info h4 a {
    text-decoration: none;
    color: #222;
    transition: 0.3s;
}
.new-info h4 a:hover {
    color: #c89979;
}
.new-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}
.new-price span {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    text-decoration: line-through;
    margin-left: 7px;
}
.category-dropdown {
    border-bottom: 1px solid #ececec;
}
.category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
}
.category-head a {
    flex: 1;
    text-decoration: none;
    color: #444;
    font-size: 14px;
}
.category-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    padding-left: 15px;
    transition: max-height 0.4s ease;
}
.category-submenu li a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}
.category-submenu li a:hover {
    color: #111;
    padding-left: 5px;
}
.category-dropdown.active .category-submenu {
    max-height: 300px;
    padding-bottom: 12px;
}
.category-dropdown.active .arrow {
    transform: rotate(180deg);
}
/* =============================================
   11. PAGINATION (Phân trang)
   ============================================= */
.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 60px 0 80px;
}
.pagination a {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
    background: #fff;
}
.pagination a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}
.pagination a.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.pagination a.active:hover {
    background: #000;
    color: #fff;
}
.pagination .page-next {
    width: 46px;
    height: 46px;
}
/* =============================================
   12. CART PAGE (Trang giỏ hàng)
   ============================================= */
.cart-page {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    min-height: 400px;
}
.cart-page h1 {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c49b63;
    display: inline-block;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.cart-table th {
    background: #f8f8f8;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}
.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-product a {
    text-decoration: none;
    color: #222;
}
.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-product h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.cart-product small {
    color: #888;
    font-size: 12px;
}
.qty-btn {
    width: 30px;
    height: 30px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}
.qty-btn:hover {
    background: #c49b63;
}
.qty-number {
    display: inline-block;
    width: 40px;
    text-align: center;
    font-size: 16px;
}
.remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}
.remove-btn:hover {
    background: #cc0000;
}
.cart-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: right;
}
.cart-total {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}
.cart-total span {
    color: #c49b63;
    font-size: 26px;
}
.checkout-btn {
    background: #c49b63;
    color: white;
    border: none;
    padding: 12px 35px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}
.checkout-btn:hover {
    background: #333;
}
.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-top: 30px;
}
.empty-cart i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}
.empty-cart p {
    font-size: 18px;
    color: #888;
    margin-bottom: 20px;
}
.empty-cart a {
    background: #c49b63;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
}
/* =============================================
   13. LOGIN & SIGNUP (Đăng nhập / Đăng ký)
   ============================================= */
#login-page-box {
    width: 960px;
    min-height: 450px;
    margin: 50px auto;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.login-form-box {
    width: 420px;
    max-width: 100%;
    margin: auto;
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.login-form-box h2 {
    text-align: center;
    margin-bottom: 25px;
}
.login-input-group {
    margin-bottom: 18px;
}
.login-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}
.login-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.login-btn-custom {
    width: 100%;
    padding: 12px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}
.login-btn-custom:hover {
    opacity: 0.9;
}
.login-register-link {
    text-align: center;
    margin-top: 15px;
}
.login-register-link a {
    color: #d60000;
    text-decoration: none;
    font-weight: bold;
}
.forgot-password {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 15px;
}
.forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}
.forgot-password a:hover {
    color: #000;
    text-decoration: underline;
}
#signup-page {
    width: 100%;
    padding: 60px 0;
    background: #f5f5f5;
}
.signup-box {
    width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.signup-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
}
.form-row::after {
    content: "";
    display: block;
    clear: both;
}
.form-group {
    margin-bottom: 20px;
}
.form-row .form-group {
    width: 48%;
    float: left;
}
.form-row .form-group:first-child {
    margin-right: 4%;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}
.form-group input:focus {
    border-color: #242021;
}
.signup-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #242021;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.signup-btn:hover {
    background: #444;
}
.login-link {
    text-align: center;
    margin-top: 20px;
}
.login-link a {
    color: #242021;
    font-weight: bold;
    text-decoration: none;
}
#logout-btn {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    margin-left: 15px;
    font-weight: bold;
    display: none;
}
#logout-btn:hover {
    color: #c00;
}
/* =============================================
   14. CONTACT PAGE (Trang liên hệ)
   ============================================= */
.contact-page {
    width: 100%;
    padding: 60px 10%;
}
.contact-form {
    width: 45%;
}
.contact-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}
.contact-form textarea {
    height: 180px;
    resize: none;
}
.contact-form button {
    padding: 15px;
    background: #111;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}
.contact-form button:hover {
    background: #c49b63;
}
.map {
    width: 55%;
}
.map iframe {
    width: 100%;
    height: 520px;
    border: none;
}
.recaptcha-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}
.recaptcha-note a {
    color: #555;
    text-decoration: underline;
}
.recaptcha-note a:hover {
    color: #000;
}
/* =============================================
   15. POLICY PAGE (Trang chính sách)
   ============================================= */
.page-policy {
    width: 100%;
    padding: 40px 0 70px;
    background: #fff;
}
.policy-container {
    width: 80%;
    margin: auto;
}
.policy-sidebar h3 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #111;
}
.policy-sidebar ul {
    list-style: none;
    border-top: 1px solid #eee;
}
.policy-sidebar ul li {
    border-bottom: 1px solid #eee;
}
.policy-sidebar ul li a {
    display: block;
    padding: 11px 0;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: 0.3s;
}
.policy-sidebar ul li a:hover {
    color: #c89b5c;
    padding-left: 8px;
}
.policy-sidebar ul li.active a {
    color: #c89b5c;
    font-weight: bold;
}
.policy-main h1 {
    font-size: 28px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #111;
}
.policy-main h2 {
    font-size: 20px;
    margin-top: 22px;
    margin-bottom: 8px;
    color: #111;
}
.policy-main p {
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 10px;
    color: #444;
}
.policy-main ul {
    padding-left: 18px;
    margin-bottom: 12px;
}
.policy-main ul li {
    font-size: 14px;
    line-height: 26px;
    color: #444;
}
.policy-main ol {
    padding-left: 20px;
    margin: 10px 0;
}
.policy-main ol li {
    line-height: 28px;
    margin-bottom: 8px;
}
/* =============================================
   16. FOOTER & SUBSCRIBE (Chân trang & đăng ký)
   ============================================= */
#footer {
    background: #111;
    color: #fff;
    padding: 70px 80px 25px;
}
.footer-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.footer-col {
    flex: 1;
    min-width: 250px;
}
.footer-col h4 {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 1.9;
    color: #ccc;
}
.footer-col a {
    text-decoration: none;
    transition: 0.3s;
}
.footer-col a:hover {
    color: #c49b63;
}
.copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #888;
}
.subscribe-col p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 18px;
}
.subscribe-form {
    width: 100%;
    display: flex;
    margin-top: 15px;
    margin-bottom: 25px;
}
.subscribe-form input {
    flex: 1;
    height: 46px;
    border: none;
    outline: none;
    padding: 0 15px;
    background: #1d1d1d;
    color: #fff;
    font-size: 14px;
}
.subscribe-form input::placeholder {
    color: #777;
}
.subscribe-form button {
    height: 46px;
    padding: 0 20px;
    border: none;
    background: #c49b63;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.subscribe-form button:hover {
    background: #fff;
    color: #111;
}
.input-box {
    flex: 1;
    height: 44px;
    background: #1d1d1d;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
}
.input-box i {
    color: #888;
}
.input-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
}
.bct-logo {
    display: block;
    margin-top: 20px;
}
.bct-logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
}
.bct-logo img:hover {
    transform: scale(1.03);
}
.shipping-method {
    margin-top: 22px;
}
.shipping-method h3 {
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}
.ship-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ship-item {
    width: 80px;
    height: 55px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.ship-item:hover {
    border-color: #c49b63;
    transform: translateY(-2px);
}
.ship-item input {
    display: none;
}
.ship-item img {
    max-width: 70%;
    max-height: 28px;
    object-fit: contain;
}
.ship-item:has(input:checked) {
    border: 2px solid #c49b63;
}
.payment-method {
    margin-top: 22px;
}
.payment-method h3 {
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.payment-item {
    width: 80px;
    height: 55px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.payment-item img {
    max-width: 70%;
    max-height: 28px;
    object-fit: contain;
}
.payment-item:hover {
    border-color: #c49b63;
    transform: translateY(-2px);
}
.payment-item input {
    display: none;
}
.payment-item:has(input:checked) {
    border: 2px solid #c49b63;
}
/* =============================================
   17. RESPONSIVE (Giao diện Mobile/Tablet)
   ============================================= */
@media only screen and (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    #nav {
        overflow: visible;
    }
    #nav > ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
    }
    #nav > ul li {
        white-space: nowrap;
    }
    #nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .products {
        padding: 50px 20px;
    }
    #footer {
        padding: 40px 20px;
    }
    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }
    .subscribe-form button {
        width: 100%;
    }
    .contact-page {
        flex-direction: column;
        padding: 40px 20px;
    }
    .contact-form,
    .map {
        width: 100%;
    }
    .policy-container {
        width: 80%;
        margin: auto;
        display: flex;
        gap: 35px;
        align-items: flex-start;
    }
    .policy-sidebar {
        width: 100%;
    }
    .policy-main h1 {
        font-size: 24px;
    }
    .policy-main h2 {
        font-size: 19px;
    }
    .new-image img {
        height: 250px;
    }
    .collection-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .collection-left {
        position: static;
    }
    .detail-left,
    .detail-right {
        width: 100%;
        float: none;
        padding: 0;
    }
    .detail-left {
        margin-bottom: 20px;
    }
    .product-name {
        font-size: 22px;
    }
    .sale-price {
        font-size: 22px;
    }
    .add-cart,
    .buy-now {
        padding: 10px 0;
    }
    .cart-table th,
    .cart-table td {
        padding: 10px;
    }
    .cart-product img {
        width: 50px;
        height: 50px;
    }
    .cart-product h4 {
        font-size: 13px;
    }
    .qty-btn {
        width: 25px;
        height: 25px;
    }
    .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%; }
}
@media only screen and (min-width: 768px) {
    .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%; }
}
@media only screen and (min-width: 1200px) {
    .col-x-1 { width: 8.33%; }
    .col-x-2 { width: 16.66%; }
    .col-x-3 { width: 25%; }
    .col-x-4 { width: 33.33%; }
    .col-x-5 { width: 41.66%; }
    .col-x-6 { width: 50%; }
    .col-x-7 { width: 58.33%; }
    .col-x-8 { width: 66.66%; }
    .col-x-9 { width: 75%; }
    .col-x-10 { width: 83.33%; }
    .col-x-11 { width: 91.66%; }
    .col-x-12 { width: 100%; }
}
/* Thiết lập bảng màu sang trọng */
:root {
    --bg-color: #fcf9f5;        /* Màu nền tổng thể (Be nhạt) */
    --accent-color: #a68966;    /* Màu nhấn chính (Nâu nhạt) */
    --text-color: #4a403a;      /* Màu chữ chủ đạo (Nâu đậm) */
    --light-brown: #dccdbd;     /* Màu phụ */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header & Navigation */
#header {
    background-color: #f7f0e9;
    border-bottom: 1px solid var(--light-brown);
}

#nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

#nav ul li a:hover {
    color: var(--accent-color);
}

/* Nút bấm (Buttons) */
.btn {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 2px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #8c7356;
}

/* Thẻ sản phẩm */
.product-card {
    background: #fff;
    border: 1px solid #efe8e1;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(166, 137, 102, 0.15);
}

.price {
    color: var(--accent-color);
    font-weight: bold;
}

.old-price {
    color: #bbb;
    text-decoration: line-through;
    font-size: 0.9em;
}

/* Footer */
#footer {
    background-color: #efe8e1;
    color: var(--text-color);
    padding-top: 40px;
}

#footer h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.subscribe-form button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
}
