﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* Ép nền tối cho khu vực footer để hiệu ứng kính nổi bật */
.footer-glass-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%); /* Nền xám đen */
    position: relative;
    padding: 60px 0;
    margin-top: 50px;
    overflow: hidden;
}

    /* Vệt sáng trang trí phía sau kính */
    .footer-glass-section::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

/* Hiệu ứng Kính Mờ (Glassmorphism) */
.glass-container-inner {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03); /* Kính mờ nhẹ */
    backdrop-filter: blur(12px); /* Độ mờ của kính */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Viền kính mỏng */
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Card chứa thông tin (Địa chỉ, Email...) */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    transition: 0.3s ease;
    text-align: left;
}

    .glass-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 140, 0, 0.3);
        transform: translateY(-5px);
    }

    /* Text & Icon */
    .glass-card h4, .glass-title {
        color: #ff8c00; /* Màu cam chủ đạo */
        font-size: 1.1rem;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .glass-card p {
        color: #d1d5db;
        font-size: 0.9rem;
        margin: 0;
    }

.glass-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 12px;
    color: #ff8c00;
    margin-bottom: 15px;
}

/* Style cho các đường Link */
.glass-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .glass-link-list li {
        margin-bottom: 12px;
    }

    .glass-link-list a {
        color: #9ca3af;
        text-decoration: none;
        transition: 0.3s;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
    }

        .glass-link-list a i {
            font-size: 0.7rem;
            margin-right: 8px;
            color: rgba(255, 140, 0, 0.5);
        }

        .glass-link-list a:hover {
            color: #ff8c00;
            transform: translateX(5px);
        }

/* Nút và Input Đăng ký */
.glass-input-wrapper {
    display: flex;
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
}

    .glass-input-wrapper input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 10px 15px;
        color: #fff;
        outline: none;
    }

        .glass-input-wrapper input::placeholder {
            color: #6b7280;
        }

    .glass-input-wrapper button {
        background: #ff8c00;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 600;
        transition: 0.3s;
    }

        .glass-input-wrapper button:hover {
            background: #e07b00;
        }



/* Style cho trang danh sách sản phẩm (Camera Card) */
.camera-card {
    position: relative;
    height: 430px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

    .camera-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    }

.camera-card-normal {
    height: 100%;
    position: relative;
    z-index: 1;
    background: #fff;
}

.camera-card-image-box {
    position: relative;
    height: 245px;
    background: #fff;
    overflow: hidden;
}

.camera-card-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: 24px;
    display: block;
    transition: all 0.3s ease;
}

.camera-card:hover .camera-card-image {
    transform: scale(1.04);
}

.camera-card-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #f28b00;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.camera-card-body {
    text-align: center;
    padding: 22px 18px 28px;
}

.camera-card-category {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 16px;
}

.camera-card-name {
    display: block;
    min-height: 58px;
    color: #1f2937;
    font-size: 21px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.35;
}

    .camera-card-name:hover {
        color: #f28b00;
    }

.camera-card-price {
    margin-top: 12px;
    color: #f28b00;
    font-size: 22px;
    font-weight: 800;
}

/* Hover phủ toàn bộ card */
.camera-card-hover {
    position: absolute;
    inset: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s ease;
    background: rgba(255, 255, 255, 0.92);
}

.camera-card:hover .camera-card-hover {
    opacity: 1;
    visibility: visible;
}

.camera-card-blur-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

    .camera-card-blur-bg img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 34px;
        filter: blur(14px);
        opacity: 0.42;
        transform: scale(1.08);
    }

.camera-card-hover-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.camera-card-hover-thumb {
    width: 112px;
    height: 86px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
}

.camera-card-hover-name {
    color: #1f2937;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
}

.camera-card-hover-price {
    color: #ff3d68;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.camera-card-info {
    width: 100%;
    margin-bottom: 20px;
}

    .camera-card-info div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 8px 0;
        border-bottom: 1px dashed #ddd;
        color: #6b7280;
        font-size: 15px;
    }

    .camera-card-info strong {
        color: #4b5563;
    }

.camera-card-actions {
    width: 100%;
    display: flex;
    gap: 12px;
}

.btn-buy-now,
.btn-view-detail,
.btn-card-add-cart {
    text-decoration: none;
}

.btn-view-detail {
    color: #333;
    background: #fff;
    border: 1px solid #333;
}

    .btn-view-detail:hover {
        color: #fff;
        background: #333;
    }

@media (max-width: 768px) {
    .camera-card {
        height: 410px;
    }

    .camera-card-image-box {
        height: 230px;
    }

    .camera-card-badge {
        width: 58px;
        height: 58px;
        font-size: 15px;
    }

    .camera-card-hover-content {
        padding: 20px;
    }

    .camera-card-hover-price {
        font-size: 21px;
    }
}

@media (max-width: 768px) {
    .camera-card-image-box {
        height: 240px;
    }

    .camera-card-badge {
        width: 58px;
        height: 58px;
        font-size: 15px;
    }

    .camera-card-hover-content {
        padding: 18px;
    }

    .camera-card-hover-price {
        font-size: 20px;
    }
}


/* Style cho cho trang chi tiết */

.detail-image-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.detail-product-image {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    transition: all 0.35s ease;
}

.detail-image-box:hover .detail-product-image {
    transform: scale(1.04);
}

.detail-info-box {
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.detail-title {
    color: #1f2937;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}

.detail-price {
    color: #ff3d68;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 24px;
}

.detail-description {
    color: #6b7280;
    line-height: 1.8;
    font-size: 17px;
    padding: 20px 0;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
}

.detail-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.detail-policy-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 16px;
}

    .detail-policy-item i {
        color: #f28b00;
        font-size: 22px;
        margin-top: 4px;
    }

    .detail-policy-item strong {
        display: block;
        color: #1f2937;
        font-size: 15px;
    }

    .detail-policy-item span {
        display: block;
        color: #6b7280;
        font-size: 14px;
    }

.detail-buy-now {
    color: #fff;
    border: none;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    box-shadow: 0 8px 18px rgba(255, 61, 104, 0.28);
}

    .detail-buy-now:hover {
        color: #fff;
        transform: translateY(-2px);
    }

.detail-extra-box {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.detail-spec-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 18px;
}

    .detail-spec-item span {
        display: block;
        color: #6b7280;
        margin-bottom: 6px;
    }

    .detail-spec-item strong {
        display: block;
        color: #1f2937;
        font-size: 18px;
    }

@media (max-width: 768px) {
    .detail-title {
        font-size: 30px;
    }

    .detail-price {
        font-size: 32px;
    }

    .detail-policy-grid {
        grid-template-columns: 1fr;
    }

    .detail-info-box,
    .detail-extra-box {
        padding: 24px;
    }
}

.camera-card-cart-count {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 6;
    padding: 7px 12px;
    border-radius: 999px;
    background: #198754;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(25, 135, 84, 0.25);
}
/* FIX: Card sản phẩm - nút Mua ngay và Chi tiết nằm ngang */
.camera-card-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

    .camera-card-actions .btn-buy-now,
    .camera-card-actions .btn-view-detail {
        flex: 1 1 0;
        min-width: 0;
        height: 42px;
        border-radius: 999px;
        border: none;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

    .camera-card-actions .btn-buy-now {
        color: #fff;
        background: linear-gradient(90deg, #ff7a00, #ff3d68);
        box-shadow: 0 8px 18px rgba(255, 61, 104, 0.28);
    }

        .camera-card-actions .btn-buy-now:hover {
            color: #fff;
            transform: translateY(-2px);
        }

    .camera-card-actions .btn-view-detail {
        color: #333;
        background: #fff;
        border: 1px solid #333;
    }

        .camera-card-actions .btn-view-detail:hover {
            color: #fff;
            background: #333;
            transform: translateY(-2px);
        }

/* Chặn form cũ làm vỡ layout nếu còn sót */
.btn-buy-now-form {
    display: none !important;
}


/* ================================
   FIX SHOP GRID + CARD ACTIONS
   ================================ */

.shop-result-box {
    min-width: 0;
}

#shopProductArea {
    width: 100%;
}

.shop-products-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.shop-product-cell {
    min-width: 0;
}

    .shop-product-cell .camera-card {
        width: 100%;
        max-width: 100%;
    }

/* Nút trong card sản phẩm */
.camera-card-actions {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

    .camera-card-actions .btn-card-add-cart,
    .camera-card-actions .btn-view-detail {
        flex: 1 1 0;
        min-width: 0;
        height: 42px;
        border-radius: 999px;
        border: none;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .camera-card-actions .btn-card-add-cart {
        color: #fff;
        background: linear-gradient(90deg, #ff7a00, #ff3d68);
        box-shadow: 0 8px 18px rgba(255, 61, 104, 0.28);
    }

        .camera-card-actions .btn-card-add-cart:hover {
            color: #fff;
            transform: translateY(-2px);
        }

    .camera-card-actions .btn-view-detail {
        color: #333;
        background: #fff;
        border: 1px solid #333;
    }

        .camera-card-actions .btn-view-detail:hover {
            color: #fff;
            background: #333;
            transform: translateY(-2px);
        }

/* Responsive */
@media (max-width: 1199px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }

    .camera-card-actions {
        gap: 8px;
    }

        .camera-card-actions .btn-card-add-cart,
        .camera-card-actions .btn-view-detail {
            font-size: 13px;
            height: 40px;
        }
}


#shopProductArea {
    width: 100%;
}

.shop-products-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.shop-product-cell {
    min-width: 0;
}

    .shop-product-cell .camera-card {
        width: 100%;
        max-width: 100%;
    }

.camera-card-actions {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

    .camera-card-actions .btn-card-add-cart,
    .camera-card-actions .btn-view-detail {
        flex: 1 1 0;
        height: 42px;
        border-radius: 999px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .camera-card-actions .btn-card-add-cart {
        border: none;
        color: #fff;
        background: linear-gradient(90deg, #ff7a00, #ff3d68);
    }

    .camera-card-actions .btn-view-detail {
        color: #333;
        background: #fff;
        border: 1px solid #333;
    }

@media (max-width: 1199px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================
   ORDER SUCCESS + MY ORDERS
   ================================ */

.order-success-hero {
    background: #fff;
    border-radius: 24px;
    padding: 45px 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.order-success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
}

.order-code-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #fff7ed;
    color: #f97316;
    font-size: 18px;
}

.order-success-card,
.order-list-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.order-product-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8f8f8;
}

.order-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    color: #555;
}

    .order-summary-row strong {
        color: #222;
        text-align: right;
    }

    .order-summary-row.total {
        font-size: 20px;
        font-weight: 800;
        color: #111;
    }

        .order-summary-row.total strong {
            color: #f97316;
        }

@media (max-width: 575px) {
    .order-success-card,
    .order-list-card {
        padding: 18px;
    }

    .order-code-box {
        font-size: 15px;
    }

    .order-summary-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ================================
   HEADER / MENU / ACCOUNT
   ================================ */

.camera-navbar-wrapper {
    background: #f28b00;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 1030;
}

.camera-navbar {
    min-height: 76px;
    padding: 0;
}

.camera-brand {
    color: #222 !important;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.camera-menu .nav-link {
    color: #222 !important;
    font-size: 16px;
    font-weight: 600;
    padding: 26px 14px !important;
    position: relative;
    transition: all 0.25s ease;
}

    .camera-menu .nav-link:hover,
    .camera-menu .nav-link.active {
        color: #fff !important;
    }

        .camera-menu .nav-link.active::after {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            bottom: 18px;
            height: 3px;
            border-radius: 999px;
            background: #fff;
        }

.header-cart-link {
    padding-right: 24px !important;
}

.cart-badge {
    position: absolute;
    top: 14px;
    right: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff1f1f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 31, 31, 0.35);
}

.camera-hotline-btn {
    background: #ff1f1f;
    color: #fff !important;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(255, 31, 31, 0.25);
    transition: all 0.25s ease;
}

    .camera-hotline-btn:hover {
        color: #fff !important;
        transform: translateY(-2px);
        background: #e61515;
    }

.camera-register-btn {
    background: #111;
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    transition: all 0.25s ease;
}

    .camera-register-btn:hover {
        color: #fff !important;
        transform: translateY(-2px);
        background: #000;
    }

.camera-account-link {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camera-dropdown-menu {
    border: none;
    border-radius: 18px;
    padding: 12px;
    min-width: 230px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

    .camera-dropdown-menu .dropdown-item {
        border-radius: 12px;
        padding: 10px 14px;
        font-weight: 600;
    }

        .camera-dropdown-menu .dropdown-item:hover {
            background: #fff3e0;
            color: #f28b00;
        }

.camera-navbar-toggler {
    border: none;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .camera-menu {
        align-items: stretch !important;
        padding: 16px 0 22px;
    }

        .camera-menu .nav-link {
            padding: 12px 0 !important;
        }

            .camera-menu .nav-link.active::after {
                display: none;
            }

    .camera-hotline-btn,
    .camera-register-btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .cart-badge {
        top: 6px;
        right: auto;
        left: 92px;
    }
}
.camera-topbar {
    background: #111;
    color: #f5f5f5;
}

    .camera-topbar i {
        color: #f28b00;
    }

/* ================================
   FIX HEADER MENU COMPACT
   ================================ */

.camera-navbar-wrapper {
    background: #f28b00;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    z-index: 1030;
}

.camera-navbar {
    min-height: 70px;
    padding: 0;
}

.camera-brand {
    color: #222 !important;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    margin-right: 28px;
}

.camera-menu {
    gap: 4px;
}

    .camera-menu .nav-link {
        color: #222 !important;
        font-size: 16px;
        font-weight: 650;
        padding: 22px 12px !important;
        position: relative;
        transition: all 0.25s ease;
        white-space: nowrap;
    }

        .camera-menu .nav-link:hover,
        .camera-menu .nav-link.active {
            color: #fff !important;
        }

            .camera-menu .nav-link.active::after {
                content: "";
                position: absolute;
                left: 12px;
                right: 12px;
                bottom: 15px;
                height: 3px;
                border-radius: 999px;
                background: #fff;
            }

.header-cart-link {
    padding-right: 28px !important;
}

.cart-badge {
    position: absolute;
    top: 14px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff1f1f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(255, 31, 31, 0.35);
}

.camera-register-btn {
    background: #111;
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.25s ease;
}

    .camera-register-btn:hover {
        color: #fff !important;
        background: #000;
        transform: translateY(-2px);
    }

.camera-hotline-btn {
    background: #ff1f1f;
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(255, 31, 31, 0.25);
    transition: all 0.25s ease;
}

    .camera-hotline-btn:hover {
        color: #fff !important;
        background: #e61515;
        transform: translateY(-2px);
    }

.camera-account-link {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.camera-dropdown-menu {
    border: none;
    border-radius: 18px;
    padding: 12px;
    min-width: 230px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

    .camera-dropdown-menu .dropdown-item {
        border-radius: 12px;
        padding: 10px 14px;
        font-weight: 600;
    }

        .camera-dropdown-menu .dropdown-item:hover {
            background: #fff3e0;
            color: #f28b00;
        }

.camera-navbar-toggler {
    border: none;
    box-shadow: none !important;
}

@media (max-width: 1399px) {
    .camera-brand {
        font-size: 23px;
        margin-right: 18px;
    }

    .camera-menu .nav-link {
        font-size: 15px;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .camera-register-btn,
    .camera-hotline-btn {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .camera-menu {
        align-items: stretch !important;
        padding: 16px 0 22px;
    }

        .camera-menu .nav-link {
            padding: 12px 0 !important;
        }

            .camera-menu .nav-link.active::after {
                display: none;
            }

    .camera-register-btn,
    .camera-hotline-btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    .cart-badge {
        top: 6px;
        right: auto;
        left: 86px;
    }
}


/* ================================
   FIX SHOP LOGO
   ================================ */

.camera-logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.camera-logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.camera-logo-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.camera-logo-brand span {
    font-size: 28px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

@media (max-width: 1399px) {
    .camera-logo-img {
        width: 58px;
        height: 58px;
    }

    .camera-logo-brand span {
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .camera-logo-img {
        width: 50px;
        height: 50px;
        padding: 5px;
    }

    .camera-logo-brand span {
        font-size: 22px;
    }
}

/* ================================
   HOME HERO / CAROUSEL
   ================================ */

.home-hero-section {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 48%, #f8fafc 100%);
    padding: 42px 0 34px;
    overflow: hidden;
}

/* Khung hero: tăng chiều rộng cột ảnh Leica bên phải */
.home-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: stretch;
}

.home-hero-carousel {
    background: #fff;
    border-radius: 28px;
    min-height: 520px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    position: relative;
    overflow: hidden;
}

.home-hero-item {
    min-height: 520px;
    padding: 42px 70px 42px 42px;
}

.home-hero-image-box {
    width: auto;
    min-height: 390px;
    border-radius: 34px;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 58%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.home-hero-image {
    width: auto;
    max-width: 98%;
    max-height: 370px;
    object-fit: contain;
    display: block;
    border-radius: 24px;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.10));
}

.home-hero-content {
    max-width: 680px;
}

.home-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.home-hot-badge,
.home-view-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 14px;
}

.home-hot-badge {
    color: #fff;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    box-shadow: 0 8px 20px rgba(255, 61, 104, 0.25);
}

.home-view-badge {
    color: #64748b;
    background: #f8fafc;
}

    .home-view-badge i {
        color: #f59e0b;
    }

.home-hero-category {
    color: #f97316;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.home-hero-content h1 {
    color: #1f2937;
    font-size: clamp(38px, 4vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.home-hero-desc {
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 24px;
}

.home-hero-price-label {
    color: #64748b;
    font-weight: 800;
    margin-bottom: 4px;
}

.home-hero-price {
    color: #ff3d68;
    font-size: clamp(34px, 3.5vw, 54px);
    line-height: 1;
    font-weight: 950;
    margin-bottom: 28px;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.home-hero-cart-btn,
.home-hero-detail-btn,
.home-promo-btn {
    height: 54px;
    border-radius: 999px;
    padding: 0 28px;
    font-weight: 850;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.home-hero-cart-btn {
    border: none;
    color: #fff;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    box-shadow: 0 12px 28px rgba(255, 61, 104, 0.28);
}

    .home-hero-cart-btn:hover {
        transform: translateY(-2px);
    }

.home-hero-detail-btn {
    color: #111;
    background: #fff;
    border: 1px solid #111;
}

    .home-hero-detail-btn:hover {
        color: #fff;
        background: #111;
        transform: translateY(-2px);
    }

.home-hero-control {
    top: auto;
    bottom: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    opacity: 1;
    background: #f28b00;
    color: #fff;
    transition: all 0.25s ease;
}

    .home-hero-control:hover {
        background: #111;
        color: #fff;
    }

    .home-hero-control.carousel-control-prev {
        left: auto;
        right: 92px;
    }

    .home-hero-control.carousel-control-next {
        right: 28px;
    }

    .home-hero-control i {
        font-size: 18px;
    }

.home-hero-side {
    min-height: 520px;
}

.home-promo-card {
    height: 100%;
    border-radius: 28px;
    padding: 34px;
    color: #fff;
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.92), rgba(0, 0, 0, 0.86)), url('/img/product-banner.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.home-promo-label {
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(242, 139, 0, 0.18);
    border: 1px solid rgba(242, 139, 0, 0.55);
    color: #fbbf24;
    font-weight: 800;
    margin-bottom: 18px;
}

.home-promo-card h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
}

.home-promo-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 24px;
}

.home-promo-btn {
    width: fit-content;
    color: #111;
    background: #fff;
}

    .home-promo-btn:hover {
        color: #fff;
        background: #f28b00;
        transform: translateY(-2px);
    }

.home-hero-empty {
    grid-column: 1 / -1;
    background: #fff;
    border-radius: 28px;
    padding: 70px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

@media (max-width: 1199px) {
    .home-hero-shell {
        grid-template-columns: 1fr;
    }

    .home-hero-side {
        min-height: 320px;
    }

    .home-hero-item {
        padding: 36px 36px 96px;
    }

    .home-hero-carousel {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .home-hero-section {
        padding: 24px 0;
    }

    .home-hero-item {
        min-height: auto;
        padding: 24px 20px 96px;
    }

    .home-hero-image-box {
        min-height: 260px;
        padding: 18px;
    }

    .home-hero-image {
        max-height: 230px;
    }

    .home-hero-desc {
        font-size: 15px;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero-cart-btn,
    .home-hero-detail-btn {
        width: 100%;
    }

    .home-hero-control.carousel-control-prev {
        right: 84px;
    }

    .home-promo-card {
        min-height: 300px;
        padding: 24px;
    }
}
/* ================================
   HOME LEICA PROMO IMAGE
   ================================ */

/* Khung chứa poster Leica */
.home-leica-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background: #050505;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

/* Ảnh Leica: hiển thị đầy đủ, không cắt chữ */
.home-leica-promo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.home-leica-promo:hover .home-leica-promo-img {
    transform: scale(1.02);
}

.home-leica-promo:hover .home-leica-promo-img {
    transform: scale(1.04);
}

@media (max-width: 1199px) {
    .home-leica-promo,
    .home-leica-promo-img {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .home-leica-promo,
    .home-leica-promo-img {
        min-height: 360px;
    }
}
@media (max-width: 1399px) {
    .home-hero-shell {
        grid-template-columns: minmax(0, 1fr) 380px;
    }

    .home-leica-promo {
        height: 475px;
    }
}

@media (max-width: 1199px) {
    .home-hero-shell {
        grid-template-columns: 1fr;
    }

    .home-leica-promo {
        height: auto;
        max-width: 420px;
        margin: 0 auto;
    }

    .home-leica-promo-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 575px) {
    .home-leica-promo {
        max-width: 100%;
        border-radius: 20px;
    }
}
/* ================================
   HOME SERVICES
   ================================ */

.home-service-section {
    padding: 34px 0 18px;
    background: #fff;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-service-card {
    min-height: 138px;
    border-radius: 22px;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
}

    .home-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
        border-color: rgba(242, 139, 0, 0.35);
    }

.home-service-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff7a00, #ff3d68);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(255, 61, 104, 0.26);
}

.home-service-card h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 850;
    margin-bottom: 8px;
}

.home-service-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ================================
   HOME OFFERS
   ================================ */

.home-offer-section {
    padding: 26px 0 38px;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.home-offer-card {
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 34px;
    text-decoration: none;
    color: #111827;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
    align-items: center;
    transition: all 0.28s ease;
}

    .home-offer-card:hover {
        color: #111827;
        transform: translateY(-6px);
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
    }

    .home-offer-card::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        right: -80px;
        top: -90px;
        background: rgba(242, 139, 0, 0.12);
    }

.home-offer-main {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.home-offer-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.home-offer-content {
    position: relative;
    z-index: 2;
}

.home-offer-label {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(242, 139, 0, 0.12);
    color: #f97316;
    font-size: 14px;
    font-weight: 850;
    margin-bottom: 16px;
}

.home-offer-card h3 {
    color: #111827;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 950;
    line-height: 1.08;
    margin-bottom: 14px;
}

.home-offer-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.home-offer-discount {
    color: #111827;
    font-size: 20px;
    font-weight: 850;
    margin-bottom: 22px;
}

    .home-offer-discount strong {
        color: #ff3d68;
        font-size: 38px;
        font-weight: 950;
    }

.home-offer-button {
    height: 48px;
    border-radius: 999px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(255, 61, 104, 0.24);
}

.home-offer-image {
    position: relative;
    z-index: 2;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-offer-image img {
        max-width: 100%;
        max-height: 210px;
        object-fit: contain;
        filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.18));
        transition: transform 0.28s ease;
    }

.home-offer-card:hover .home-offer-image img {
    transform: scale(1.06) rotate(-2deg);
}

@media (max-width: 1199px) {
    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-offer-card {
        grid-template-columns: minmax(0, 1fr) 190px;
    }
}

@media (max-width: 767px) {
    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-offer-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .home-offer-image {
        height: 180px;
    }

        .home-offer-image img {
            max-height: 180px;
        }
}
/* ================================
   HOME PRODUCT SECTIONS
   ================================ */

.home-products-section {
    padding: 56px 0 42px;
    background: #fff;
}

.home-bestseller-section {
    padding: 56px 0 70px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.home-section-heading {
    max-width: 860px;
    margin: 0 auto 36px;
    text-align: center;
}

    .home-section-heading span {
        display: inline-flex;
        border-radius: 999px;
        padding: 8px 18px;
        color: #f97316;
        background: rgba(242, 139, 0, 0.12);
        font-size: 15px;
        font-weight: 850;
        margin-bottom: 16px;
    }

    .home-section-heading h2 {
        color: #111827;
        font-size: clamp(34px, 4vw, 54px);
        font-weight: 950;
        line-height: 1.08;
        letter-spacing: -1px;
        margin-bottom: 14px;
    }

    .home-section-heading p {
        color: #64748b;
        font-size: 17px;
        line-height: 1.7;
        margin: 0 auto;
        max-width: 720px;
    }

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.home-product-item {
    min-width: 0;
}

    .home-product-item .camera-card {
        width: 100%;
        max-width: 100%;
    }

.home-view-all-btn {
    height: 54px;
    border-radius: 999px;
    padding: 0 30px;
    color: #fff;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    font-weight: 850;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(255, 61, 104, 0.24);
    transition: all 0.25s ease;
}

    .home-view-all-btn:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(255, 61, 104, 0.30);
    }

.home-view-all-dark {
    background: #111827;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
}

    .home-view-all-dark:hover {
        background: #000;
        box-shadow: 0 18px 34px rgba(17, 24, 39, 0.24);
    }

.home-empty-products {
    border-radius: 28px;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(15, 23, 42, 0.18);
}

    .home-empty-products i {
        color: #f97316;
        font-size: 56px;
        margin-bottom: 18px;
    }

    .home-empty-products h3 {
        color: #111827;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .home-empty-products p {
        color: #64748b;
        margin: 0;
    }

@media (max-width: 1199px) {
    .home-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .home-products-section,
    .home-bestseller-section {
        padding: 42px 0;
    }
}
/* ================================
   PRODUCT PRICE DISCOUNT
   ================================ */

.camera-card-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    margin-bottom: 14px;
}

.camera-card-old-price {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 700;
    text-decoration: line-through;
}

.camera-card-price {
    color: #ff3d68;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.camera-card-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 12px;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(255, 61, 104, 0.24);
}
.home-hero-old-price {
    color: #94a3b8;
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
    margin-bottom: 6px;
}

.home-hero-discount {
    margin-top: 10px;
    width: fit-content;
    border-radius: 999px;
    padding: 8px 14px;
    color: #fff;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(255, 61, 104, 0.24);
}
.detail-price-wrap {
    margin: 18px 0 24px;
}

.detail-old-price {
    color: #94a3b8;
    font-size: 22px;
    font-weight: 700;
    text-decoration: line-through;
    margin-bottom: 6px;
}

.detail-final-price {
    color: #ff3d68;
    font-size: 52px;
    font-weight: 950;
    line-height: 1;
}

.detail-discount-badge {
    margin-top: 14px;
    width: fit-content;
    border-radius: 999px;
    padding: 9px 16px;
    background: linear-gradient(90deg, #ff7a00, #ff3d68);
    color: #fff;
    font-weight: 850;
}
/* ================================
   HOME SALE PRODUCTS
   ================================ */

.home-sale-section {
    padding: 56px 0 48px;
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.12), transparent 34%), linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    position: relative;
}

    .home-sale-section .home-section-heading span {
        color: #fff;
        background: linear-gradient(90deg, #ff7a00, #ff3d68);
        box-shadow: 0 10px 24px rgba(255, 61, 104, 0.22);
    }

    .home-sale-section .home-section-heading h2 {
        color: #111827;
    }