/* Pricing Cards Compact Layout */

/* Ẩn breadcrumb background */
.breadcrumb__bg {
    display: none !important;
}

/* Gỡ bỏ overlay trắng mờ trên breadcrumb */
.breadcrumb::before,
.breadcrumb::after {
    display: none !important;
}

.breadcrumb {
    background: transparent !important;
}

/* Làm text breadcrumb đậm hơn */
.breadcrumb .breadcrumb__content h2,
.breadcrumb .breadcrumb__content .title,
.breadcrumb__title {
    color: #000 !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.breadcrumb .breadcrumb__content p,
.breadcrumb__desc {
    color: #333 !important;
    opacity: 1 !important;
}

/* Force text color for all breadcrumb content */
.breadcrumb__wrapper,
.breadcrumb__wrapper * {
    color: #000 !important;
    opacity: 1 !important;
}

/* Giảm width của tab content */
#nav-tabContent {
    max-width: 1000px;
    margin: 0 auto;
}

/* Giảm width của mỗi tab pane */
#nav-monthly,
#nav-annually {
    max-width: 100%;
}

/* Giảm width của row chứa cards */
#nav-monthly > .row,
#nav-annually > .row {
    max-width: 2500px; /* Tăng từ 1300px lên 1500px */
    margin: 0 auto;
}

/* Giảm width của mỗi card */
.pricing-plan__card {
    max-width: 320px; /* Tăng từ 280px lên 320px */
    margin: 0 auto;
}

/* Tăng width của column wrapper */
#nav-monthly > .row > .col-lg-4,
#nav-annually > .row > .col-lg-4 {
    flex: 0 0 auto;
    width: 32%; /* Giảm xuống 32% để 3 cards vừa 1 hàng (32% x 3 = 96%) */
    margin: 0 0.66%; /* Thêm margin để spacing đều */
}

@media (max-width: 991px) {
    #nav-monthly > .row > .col-lg-4,
    #nav-annually > .row > .col-lg-4 {
        width: 50%; /* 2 cột trên tablet */
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #nav-tabContent {
        max-width: 720px;
    }
    
    #nav-monthly > .row,
    #nav-annually > .row {
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    #nav-tabContent {
        max-width: 100%;
    }
    
    #nav-monthly > .row,
    #nav-annually > .row {
        max-width: 100%;
    }
    
    .pricing-plan__card {
        max-width: 100%;
    }
}

/* Override breadcrumb section opacity - force full visibility */
section.breadcrumb {
    opacity: 1 !important;
}

section.breadcrumb * {
    opacity: 1 !important;
}

/* Remove any overlay layers */
section.breadcrumb::before,
section.breadcrumb::after {
    content: none !important;
    display: none !important;
}

/* Giảm height của breadcrumb section */
section.breadcrumb {
    padding: 30px 0 !important;
    margin: 15px 15px 0 !important;
}

@media screen and (max-width: 991px) {
    section.breadcrumb {
        padding: 25px 0 !important;
        margin: 10px 10px 0 !important;
    }
}

@media screen and (max-width: 767px) {
    section.breadcrumb {
        padding: 20px 0 !important;
    }
}

/* Giảm padding-top của pricing section để di chuyển lên */
.pricing-plan.py-120 {
    padding-top: 30px !important;
}

@media screen and (max-width: 991px) {
    .pricing-plan.py-120 {
        padding-top: 20px !important;
    }
}

@media screen and (max-width: 767px) {
    .pricing-plan.py-120 {
        padding-top: 15px !important;
    }
}

/* ==========================================================
   Stock Asset Package — clean card redesign
   ========================================================== */

/* Tab nav row: "Monthly" pill + "No contract" label */
.stock-plan-nav {
    gap: 14px;
    margin-bottom: 48px;
}

.stock-plan-nav .stock-plan-toggle {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 9px 22px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.stock-plan-nav .stock-plan-toggle.active {
    background: #111 !important;
    color: #fff !important;
}

.stock-plan-nav .stock-nocontract {
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
}

/* Card wrapper */
.stock-pack-card {
    max-width: 340px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0a8a8;
    border-radius: 14px;
    padding: 34px 28px 30px;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.stock-pack-card:hover {
    border-color: #e84545;
    box-shadow: 0 18px 40px rgba(232, 69, 69, 0.14);
    transform: translateY(-4px);
}

/* Quantity number + unit */
.stock-pack-card__head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stock-pack-card__qty {
    font-size: 52px;
    font-weight: 800;
    color: #111;
    line-height: 1;
    letter-spacing: -1px;
}

.stock-pack-card__unit {
    font-size: 17px;
    font-weight: 500;
    color: #6b7280;
}

/* Price */
.stock-pack-card__price {
    font-size: 34px;
    font-weight: 800;
    color: #e84545;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stock-pack-card__cancel {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* Per image (underlined pill look) */
.stock-pack-card__perimage {
    display: inline-block;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 4px;
    margin-bottom: 22px;
}

/* Feature list */
.stock-pack-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.stock-pack-card__features li {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.9;
}

/* Select button */
.stock-pack-card__action {
    margin-top: 4px;
}

.stock-pack-select {
    display: inline-block;
    width: 100%;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.stock-pack-select:hover {
    background: #e84545;
    border-color: #e84545;
    color: #fff;
}

/* Widen tab content so cards có chỗ tách nhau */
#nav-tabContent {
    max-width: 1180px;
    margin: 0 auto;
}

/* Row dùng flex + gap để tách card đều & thoáng */
#nav-monthly > .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;                 /* ~50% so với 40px trước */
    margin: 0 auto !important;
}

/* Column sizing so 3 fit a row */
#nav-monthly > .row > .col-lg-4 {
    flex: 0 0 auto;
    width: 300px;              /* fixed width, gap tự lo phần tách */
    max-width: 30%;
    margin: 0;                 /* bỏ margin hack cũ */
    padding: 0;                /* bỏ padding cột của Bootstrap */
}

@media (max-width: 991px) {
    #nav-monthly > .row {
        gap: 16px;
    }
    #nav-monthly > .row > .col-lg-4 {
        width: 44%;
        max-width: 44%;
    }
}

@media (max-width: 767px) {
    #nav-monthly > .row {
        gap: 12px;
    }
    #nav-monthly > .row > .col-lg-4 {
        width: 100%;
        max-width: 100%;
    }
    .stock-pack-card {
        max-width: 100%;
    }
}
