
/* Top Bar */
.top-bar {
    background-color: #d57914; /* Màu đỏ đô/tím sậm */
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar & Logo */
.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1050 !important; /* Đảm bảo cao hơn tất cả các thành phần khác */
    background-color: #ffffff !important; /* Tránh bị trong suốt khi trượt xuống */
}

.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img{
    max-height: 80px;
}
.logo-icon {
    color: #f7a8c4; /* Màu hồng nhạt của hoa */
    font-size: 32px;
    margin-right: 8px;
}

.logo-text {
    color: #d57914;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px !important;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link.active {
    color: #d57914 !important;
}

.navbar-nav .nav-item:hover .nav-link {
    color: #d57914;
}

/* Badges */
.badge-sale {
    background-color: #d1f0ea; /* Xanh mint nhạt */
    color: #2b7a78;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
}

.badge-hot {
    background-color: #fce3eb; /* Hồng nhạt */
    color: #d14d72;
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
}

/* Right Icons */
.header-icons {
    display: flex;
    align-items: center;
}

.header-icons .icon-btn {
    color: #111111;
    font-size: 20px;
    margin-left: 24px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}
.header-icons .icon-btn a{
    color: #111111;
    font-size: 20px;
    text-decoration: none;
}

.header-icons .icon-btn:hover {
    color: #d57914;
}

/* Notification Badges on Icons */
.icon-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: #d57914;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: sans-serif;
}

/* Dropdown arrow spacing */
.dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 6px;
}

/* Tùy chỉnh khung menu con */
.custom-submenu {
    border: none !important;
    border-radius: 4px !important; /* Bo góc nhẹ */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important; /* Đổ bóng mịn */
    padding: 15px 0 !important;
    min-width: 220px !important;
}

/* Tùy chỉnh từng mục trong menu */
.custom-submenu .dropdown-item {
    padding: 8px 25px !important;
    color: #666666 !important; /* Màu chữ xám giống hình */
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease;
    background: transparent !important;
}

/* Hiệu ứng khi di chuột qua mục menu */
.custom-submenu .dropdown-item:hover {
    color: #d57914 !important; /* Đổi sang màu đỏ đô khi hover */
    padding-left: 30px !important; /* Hiệu ứng trượt nhẹ */
}

/* Badge ASK (Màu hồng) */
.badge-ask {
    background-color: #f85d9a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

/* Badge NEW (Màu xanh cyan) */
.badge-new {
    background-color: #5fc9d9;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

/* Icon trước chữ Tabs */
.custom-submenu .dropdown-item i {
    font-size: 14px;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .top-bar .text-md-start,
    .top-bar .text-md-end {
        text-align: center !important;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .header-icons {
        margin-top: 15px;
        justify-content: flex-start;
    }
    .header-icons .icon-btn {
        margin-left: 0;
        margin-right: 24px;
    }
}

#title-page{ background:#F1ECF8; padding:40px 0;}
#title-page h2{ text-align: center; color:#d57914; font-size: 48px;}

/*--------------------------------------------------------------
# Slideshow
--------------------------------------------------------------*/
/* 1. LÀM MƯỢT HIỆU ỨNG TRƯỢT SLIDE */
#flowerCarousel .carousel-item {
    height: 650px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    /* Ghi đè transition của Bootstrap: Thời gian dài hơn (1.2s) và mượt hơn */
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 2. CHUẨN BỊ TRẠNG THÁI ẨN CHO TEXT */
/* Khi slide chưa active, text sẽ bị ẩn và tụt xuống dưới */
#flowerCarousel .slider-content .slider-subtitle,
#flowerCarousel .slider-content .slider-title,
#flowerCarousel .slider-content .btn-slider {
    opacity: 0;
    transform: translateY(50px);
}

/* 3. TẠO ANIMATION "NHẢY NHÓT" (BOUNCE) */
@keyframes popUpBounce {
    0%   { opacity: 0; transform: translateY(50px); }
    50%  { opacity: 1; transform: translateY(-15px); } /* Nảy lố lên trên một chút */
    75%  { opacity: 1; transform: translateY(5px); }   /* Rơi nhẹ xuống */
    100% { opacity: 1; transform: translateY(0); }     /* Đứng yên tại vị trí chuẩn */
}

/* 4. KÍCH HOẠT ANIMATION TUẦN TỰ KHI SLIDE ACTIVE */
/* Subtitle xuất hiện trước */
#flowerCarousel .carousel-item.active .slider-subtitle {
    animation: popUpBounce 0.8s ease-out forwards;
    animation-delay: 0.6s; /* Đợi slide trượt vào được 1 nửa thời gian mới hiện chữ */
}

/* Title xuất hiện thứ 2 */
#flowerCarousel .carousel-item.active .slider-title {
    animation: popUpBounce 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Nút bấm xuất hiện cuối cùng */
#flowerCarousel .carousel-item.active .btn-slider {
    animation: popUpBounce 0.8s ease-out forwards;
    animation-delay: 1.0s;
}

/* Thay đổi con trỏ chuột thành dạng bàn tay "nắm/kéo" để báo hiệu có thể vuốt */
#flowerCarousel {
    cursor: grab;
}
#flowerCarousel:active {
    cursor: grabbing;
}

/* Tùy chỉnh vùng bao quanh mũi tên */
#flowerCarousel .custom-control {
    width: 6% !important;
    opacity: 0 !important; /* Mặc định ẩn hoàn toàn */
    transition: opacity 0.3s ease !important;
}

/* Chỉ hiển thị mờ (opacity 0.4) khi rê chuột vào vùng slider */
#flowerCarousel:hover .custom-control {
    opacity: 0.4 !important;
}

/* Khi rê thẳng chuột vào nút mũi tên thì sáng rõ hơn (opacity 0.9) */
#flowerCarousel .custom-control:hover {
    opacity: 0.9 !important;
}

/* Định dạng hình tròn mờ bọc quanh icon mũi tên */
#flowerCarousel .carousel-control-prev-icon,
#flowerCarousel .carousel-control-next-icon {
    width: 3rem !important;
    height: 3rem !important;
    background-color: rgba(0, 0, 0, 0.3); /* Nền đen mờ */
    border-radius: 50%;
    background-size: 45% 45%;
}

/* RESPONSIVE: Ẩn hoàn toàn mũi tên trên Mobile/Tablet để tránh vướng víu khi vuốt bằng tay */
@media (max-width: 991px) {
    #flowerCarousel .custom-control {
        display: none !important;
    }
}

/*--------------------------------------------------------------
# Home Products
--------------------------------------------------------------*/

/* ---- PRODUCT GRID STYLES ---- */

/* Card chung */
#home-products .product-card {
    cursor: pointer;
    margin-bottom: 20px;
}

/* Khung bọc hình ảnh */
#home-products .product-img-wrapper {
    background-color: #f5f5f5; /* Nền xám nhạt giống hình */
    position: relative;
    padding: 20px;
    text-align: center;
    overflow: hidden; /* Cắt phần ảnh tràn ra khi zoom */
    border-radius: 4px;
}

/* Hình ảnh sản phẩm */
#home-products .product-img {
    transition: transform 0.5s ease;
    max-width: 100%;
    height: auto;
}

/* Hiệu ứng hover: Phóng to ảnh và đổi màu tiêu đề */
#home-products .product-card:hover .product-img {
    transform: scale(1.08); /* Zoom nhẹ ảnh lên 8% */
}
#home-products .product-card:hover .product-title {
    color: #d57914; /* Màu đỏ đô chủ đạo của web */
}

/* Nhãn Giảm giá (Màu đỏ) */
#home-products .badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ff3333;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    z-index: 2;
}

/* Nhãn Hết hàng (Màu cam) */
#home-products .badge-stock {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ff9933;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    z-index: 2;
    text-transform: uppercase;
}

/* Thông tin sản phẩm */
#home-products .product-info {
    text-align: left;
}

/* Tiêu đề sản phẩm */
#home-products .product-info .product-title {
    font-size: 15px;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
    /* Hiển thị tối đa 2 dòng, phần thừa sẽ biến thành dấu ... */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Đánh giá sao */
#home-products .product-info .product-rating {
    color: #ffb800; /* Màu vàng của sao */
    font-size: 11px;
    margin-bottom: 8px;
}

/* Khu vực giá tiền */
#home-products .product-info .product-price {
    font-family: 'Jost', sans-serif;
}

#home-products .product-info .old-price {
    color: #999999; /* Xám */
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

#home-products .product-info .new-price {
    color: #e81a5f; /* Màu hồng đậm/đỏ tía giống hình */
    font-size: 15px;
    font-weight: 500;
}

/* Nút Thêm vào giỏ */
#home-products .product-info .btn-add-cart {
    background-color: transparent;
    color: #d57914;
    border: 1px solid #d57914;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    width: 100%; /* Cho nút trải dài hết chiều ngang card */
    transition: all 0.3s ease;
    opacity: 0.8; /* Hơi mờ một chút để không lấn át ảnh hoa */
}

/* Hiệu ứng khi hover vào nút */
#home-products .product-info .btn-add-cart:hover {
    background-color: #d57914;
    color: #ffffff;
    opacity: 1;
}

/* (Tùy chọn) Ẩn nút đi và chỉ hiện ra khi hover vào cả Card sản phẩm để giao diện gọn hơn */
/* Nếu bạn muốn nút luôn hiện thì XÓA 2 đoạn CSS bên dưới đi */
#home-products .product-info .product-info .btn-add-cart {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0 !important;
    overflow: hidden;
    border: none;
    opacity: 0;
}

#home-products .product-info .product-card:hover .btn-add-cart {
    max-height: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 15px !important;
    border: 1px solid #d57914;
    opacity: 0.8;
}
/*--------------------------------------------------------------
# Cart detail
--------------------------------------------------------------*/

#cart-detail .text-price { color: #e91e63; font-weight: bold; }

.cart-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 25px;
}

/* Bảng giỏ hàng */
#cart-detail .table-cart th {
    color: #5a1c3d;
    font-weight: 600;
    border-bottom-width: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}
#cart-detail .table-cart td { vertical-align: middle; }
#cart-detail .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Nút tăng giảm số lượng */
#cart-detail .qty-wrapper {
    display: inline-flex;
    border: 1px solid #ced4da;
    border-radius: 4px;
    overflow: hidden;
    width: 110px;
}
#cart-detail .qty-btn {
    background: #f8f9fa;
    border: none;
    color: #495057;
    padding: 5px 12px;
    cursor: pointer;
    transition: 0.2s;
}
#cart-detail .qty-btn:hover { background: #e2e6ea; }
#cart-detail .qty-input {
    width: 100%;
    border: none;
    text-align: center;
    font-weight: bold;
    color: #5a1c3d;
    outline: none;
}
/* Ẩn mũi tên mặc định của input number */
#cart-detail .qty-input::-webkit-outer-spin-button,
#cart-detail .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Nút xóa */
#cart-detail .btn-remove-item {
    color: #dc3545;
    background: none;
    border: none;
    font-size: 1.2rem;
    transition: 0.2s;
}
#cart-detail .btn-remove-item:hover { color: #842029; transform: scale(1.1); }

/* Box Tổng tiền */
#cart-detail .summary-box {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}
#cart-detail .summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
#cart-detail .summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: bold;
    border-top: 2px dashed #dee2e6;
    padding-top: 15px;
    margin-top: 10px;
    color: #5a1c3d;
}
#cart-detail .btn-checkout {
    background: #5a1c3d;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
#cart-detail .btn-checkout:hover { background: #3e132a; color: #ffffff; }

/* Ẩn mũi tên của input type="number" trên Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ẩn mũi tên của input type="number" trên Firefox */
.qty-input[type=number] {
    -moz-appearance: textfield;
}

/*--------------------------------------------------------------
# Payment
--------------------------------------------------------------*/

.cart-box { background: #ffffff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 20px; }
.product-img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid #e9ecef; }
.qty-input { width: 60px; text-align: center; }
.btn-remove { color: #dc3545; background: none; border: none; font-size: 1.2rem; cursor: pointer; }
.btn-remove:hover { color: #a11523; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.total-row { font-weight: bold; font-size: 1.2rem; color: #dc3545; border-top: 1px solid #dee2e6; padding-top: 15px; }
.payment-method-label { cursor: pointer; border: 1px solid #dee2e6; border-radius: 6px; padding: 15px; display: block; margin-bottom: 10px; transition: 0.3s; }
.payment-method-label:hover { border-color: #0d6efd; background-color: #f1f6fe; }
input[type="radio"]:checked + .payment-method-label { border-color: #0d6efd; background-color: #f1f6fe; }

/*--------------------------------------------------------------
# Register
--------------------------------------------------------------*/

#register{
    background-color: #f4f6f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
#register .auth-container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}
#register .auth-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
#register .nav-tabs {
    border-bottom: none;
    background-color: #f8f9fa;
}
#register .nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 0;
}
#register .nav-tabs .nav-link:hover {
    color: #0d6efd;
}
#register .nav-tabs .nav-link.active {
    background-color: #0d6efd;
    color: #ffffff;
}
#register .form-control:focus, #register .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
#register .input-group-text {
    background-color: #ffffff;
    border-right: none;
    color: #6c757d;
}
#register .input-group .form-control {
    border-left: none;
}

#register .toggle-password {
    cursor: pointer;
    color: #6c757d;
}

/*--------------------------------------------------------------
# PRODUCT DETAIL
--------------------------------------------------------------*/

#product-detail {
    background-color: #f3f4f6;
    padding: 2rem 0;
    color: #333333;
}

#product-detail .product-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Cột Hình Ảnh --- */
#product-detail .main-image-container {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 15px;
}

#product-detail .main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

#product-detail .btn-expand {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#product-detail  .thumbnail-gallery {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

#product-detail  .thumb-item {
    width: 23%;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    cursor: pointer;
    padding: 5px;
    transition: border-color 0.3s ease;
}

#product-detail .thumb-item:hover, #product-detail .thumb-item.active {
    border-color: #333333;
}

#product-detail .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    color: #333333;
}

#product-detail .nav-arrow.left { left: -10px; }
#product-detail .nav-arrow.right { right: -10px; }

/* --- Cột Thông Tin --- */
#product-detail .product-title {
    font-weight: 800;
    color: #111111;
    font-size: 2rem;
    margin-bottom: 15px;
}

#product-detail .sold-badge {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 20px;
}

#product-detail .fire-icon {
    color: #e74c3c;
}

#product-detail .price-container {
    margin-bottom: 15px;
}

#product-detail  .price-old {
    color: #999999;
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-right: 10px;
}

#product-detail .price-new {
    color: #ed247b;
    font-size: 1.5rem;
    font-weight: 700;
}

#product-detail .discount-text {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

#product-detail .product-desc {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- Chọn Màu Sắc --- */
#product-detail .color-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

#product-detail .color-swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

#product-detail  .color-swatch.active {
    border: 2px solid #333333;
}

#product-detail  .color-swatch::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border-radius: 50%;
}

#product-detail .swatch-red::after { background-color: #ff0000; }
#product-detail  .swatch-blue::after { background-color: #0000ff; }
#product-detail   .swatch-yellow::after { background-color: #ffcc00; }

/* --- Số lượng & Nút bấm --- */
#product-detail  .qty-label {
    color: #333333;
    margin-bottom: 10px;
    display: block;
}

#product-detail .qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #333333;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 5px 10px;
}

#product-detail .qty-btn {
    background: transparent;
    border: none;
    color: #333333;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#product-detail .qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #333333;
    pointer-events: none;
}

#product-detail .action-buttons .btn {
    border-radius: 30px;
    padding: 12px 20px;
    font-weight: 600;
    width: 100%;
}

#product-detail  .btn-add-cart {
    background-color: #ed247b;
    color: #ffffff;
    border: 2px solid #ed247b;
}

#product-detail  .btn-add-cart:hover {
    background-color: #d11f6a;
    color: #ffffff;
}

#product-detail  .btn-buy-now {
    background-color: #111111;
    color: #ffffff;
    border: 2px solid #111111;
}

#product-detail .btn-buy-now:hover {
    background-color: #333333;
    color: #ffffff;
}

/* --- Thông tin thêm & Share --- */
#product-detail .extra-info {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #666666;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

#product-detail .extra-info i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
    color: #888888;
}

#product-detail .share-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#product-detail .share-label {
    font-weight: 600;
    color: #111111;
    font-size: 1.1rem;
}

#product-detail .social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #cccccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

#product-detail .social-icon:hover {
    background-color: #f3f4f6;
    color: #ed247b;
}

/* ---- FOOTER STYLES ---- */

.footer-section {
    background-color: #ab511c; /* Màu đỏ tía/maroon sẫm */
    color: #ffffff;
    padding-top: 20px;
}

.footer-brand {
    width: max-content;
    text-align: center;
}
.footer-brand h2 {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 5px 0;
    color: #ffffff;
}
.brand-line {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.brand-line hr {
    flex: 1;
    border-top: 1px solid #ffffff;
    opacity: 0.4;
    margin: 0 15px;
}
.brand-line i {
    font-size: 12px;
    opacity: 0.8;
}

/* Typography & Links */
.footer-desc {
    font-size: 14px;
    color: #dddddd;
    line-height: 1.6;
}
.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}
.social-heading {
    font-size: 18px;
    font-weight: 700;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #dddddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: #ab511c;
    border-radius: 50%;
    margin-right: 12px;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.3s ease;
}
.social-icons a:hover {
    transform: translateY(-3px); /* Hiệu ứng nảy lên khi trỏ chuột */
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
}
.contact-icon {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: #d11e5a; /* Màu icon hồng đỏ dâu */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 13px;
    flex-shrink: 0;
}
.contact-text {
    font-size: 14px;
    color: #dddddd;
}
.contact-text a{
    color: #dddddd;
    text-decoration: none;
}

/* Newsletter Form */
.newsletter-form {
    position: relative;
    max-width: 100%;
}
.newsletter-form .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 14px;
}
.newsletter-form input {
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 45px 10px 40px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-form input::placeholder {
    color: #a0a0a0;
}
.newsletter-form input:focus {
    border-color: #ffffff;
}
.newsletter-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 34px;
    background-color: #ffffff;
    color: #ab511c;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}
.newsletter-form button:hover {
    opacity: 0.8;
}

/* Footer Bottom (Copyright & Payments) */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    padding-bottom: 20px;
}
.copyright-text {
    font-size: 13px;
    color: #dddddd;
}
.payment-methods {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}
.payment-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #333333;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 20px;
    height: 28px;
    min-width: 40px;
}

/* Căn giữa thẻ thanh toán cho màn hình điện thoại */
@media (max-width: 767px) {
    .payment-methods {
        justify-content: center;
        margin-top: 10px;
    }
    .footer-brand {
        margin: 0 auto;
    }
    .col-md-6.mb-4 {
        text-align: center;
    }
}