﻿#home #intro .carousel-caption {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  left: 30px;
  bottom: 50px;
  text-align: start;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
#home #intro .carousel-item div {
  height: 100%;
}
#home #intro .carousel-item div img {
  -o-object-fit: cover;
     object-fit: cover;
}
#home #intro .carousel-item img {
  -o-object-fit: cover;
     object-fit: cover;
}
#home #intro .carousel-item .carousel-caption {
  height: auto;
}
@media screen and (max-width: 991px) {
  #home #intro {
    padding-top: 60px !important;
  }
  #home #intro .carousel-inner {
    padding: 0;
    height: 50vh;
  }
  #home #intro .carousel-caption {
    text-align: center;
    font-size: 1.5rem;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-shadow: 1px 1px 1px #000;
  }
}
@media screen and (max-width: 768px) {
  #home #about img,
#home #introduce img {
    border-radius: 1rem;
  }
  #home #about .more,
#home #introduce .more {
    bottom: 5px !important;
    font-size: 1rem;
  }
}
#home #about .txt-box,
#home #introduce .txt-box {
  background: #fcf9f2;
  position: relative;
  z-index: 3;
  border-radius: 1rem;
}
#home #about .more,
#home #introduce .more {
  position: absolute;
  bottom: 30px;
  right: 30px;
  color: #fff;
  background: #e09428;
  border-radius: 2rem;
}
#home #news .item-box {
  transition: 0.6s;
  display: flex;
  flex-wrap: wrap;
}
#home #news .item-box:hover {
  transform: translateY(-10px);
  box-shadow: 3px 3px 5px 0px #0000002b;
}
#home #about img {
  border-bottom-right-radius: 1rem;
  border-top-right-radius: 1rem;
}
#home #about .txt-box {
  box-shadow: 10px 10px 0px #edb624;
}
#home #course .item-box .img-box {
  position: relative;
}
#home #course .item-box .img-box img {
  border-radius: 1rem;
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
#home #course .item-box .img-box .index {
  position: absolute;
  bottom: -10px;
  right: 50px;
  color: #bbbec6;
  z-index: 3;
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
}
#home #course .item-box:nth-child(odd) {
  flex-direction: row-reverse;
}
#home #course .item-box:nth-child(odd) .img-box .index {
  right: unset;
  left: 50px;
}
#home #introduce img {
  border-bottom-left-radius: 1rem;
  border-top-left-radius: 1rem;
}
#home #introduce .txt-box {
  box-shadow: -10px 10px 0px #edb624;
}
#home #charges {
  font-weight: 500;
}
#home #charges .circle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e09428;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  margin-bottom: 30px;
}
#home #charges .circle img {
  width: 50%;
  height: 50%;
  -o-object-fit: contain;
     object-fit: contain;
}
#home section {
  padding: 100px 0;
}
@media screen and (max-width: 991px) {
  #home #charges .circle {
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  #home section {
    padding: 30px 0 !important;
  }
  #home #news .item-box{
    font-size: 1rem;
  }
}

/* Index.cshtml page styles */
.product-card-selected {
        border: 2px solid #198754 !important;
        background: #f7fff9;
    }

    .product-selected-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        padding: 0.4rem 0.7rem;
        border-radius: 999px;
        background: rgba(25, 135, 84, 0.92);
        color: #fff;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .plan-card {
        border-radius: 1.25rem;
        overflow: hidden;
    }

    .plan-card .card-body {
        padding: 1.25rem;
    }

    .plan-card-img {
        height: 240px;
        object-fit: cover;
        background-color: #f5f5f5;
    }

    .plan-title {
        color: #1f2937;
        line-height: 1.3;
    }

    .plan-price-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.9rem;
        margin-bottom: 1rem;
        min-height: 5.75rem;
        border-bottom: 1px solid #ece7dc;
    }

    .plan-price-main {
        flex: 1;
        min-width: 0;
    }

    .plan-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        min-height: 3.35rem;
    }

    .plan-price-label {
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .plan-price-value {
        color: #111827;
        font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.8rem);
        font-weight: 800;
        line-height: 1;
        min-width: 9ch;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .plan-price-original {
        color: #9ca3af;
        font-size: 0.8rem;
        min-width: 14ch;
        min-height: 1.2rem;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .plan-savings {
        white-space: nowrap;
        color: #9a3412;
        background: #fff7ed;
        border: 1px solid #fed7aa;
        border-radius: 999px;
        padding: 0.35rem 0.8rem;
        font-size: 0.85rem;
        font-weight: 700;
        min-width: 10ch;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    @media (max-width: 575.98px) {
        .plan-price-row {
            flex-direction: column;
            align-items: stretch;
        }

        .plan-savings {
            align-self: flex-start;
        }
    }

    .plan-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 1rem;
        background: #f8f6f1;
        margin-bottom: 1rem;
    }

    .plan-meta-label {
        color: #6b7280;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .plan-meta-value {
        color: #111827;
        font-size: 0.95rem;
        font-weight: 700;
    }

    .plan-preview {
        color: #374151;
        line-height: 1.6;
    }

    .product-card {
        border: 0;
        border-radius: 1.25rem;
        overflow: hidden;
        background: #fff;
        transition: transform 0.18s ease;
    }

    .product-card:hover {
        transform: translateY(-4px);
    }

    .product-card-unavailable {
        filter: grayscale(40%);
        opacity: 0.2;
    }

    .product-card-media {
        position: relative;
        overflow: hidden;
        background: #fff;
    }

    .product-card-media .card-img-top {
        transition: transform 0.24s ease;
    }

    .product-card:hover .card-img-top {
        transform: scale(1.03);
    }

    .product-card-img {
        width: 100%;
        height: 220px;
    }

    .product-card-img-cover {
        object-fit: cover;
    }

    .product-card-img-contain {
        object-fit: contain;
    }

    .product-group-badge {
        position: absolute;
        left: 12px;
        top: 12px;
        z-index: 2;
        padding: 0.35rem 0.7rem;
        border-radius: 999px;
        background: rgba(17, 24, 39, 0.78);
        color: #fff;
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.03em;
    }

    .product-card-body {
        padding: 1rem;
    }

    .product-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        min-height: 2rem;
        margin-bottom: 0.75rem;
    }

    .product-meta-tag {
        display: inline-flex;
        align-items: center;
        padding: 0.28rem 0.65rem;
        border-radius: 999px;
        background: #f3f4f6;
        color: #4b5563;
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1;
    }

    .product-title {
        color: #111827;
        line-height: 1.45;
        min-height: 3rem;
    }

    .product-price-panel {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
        margin-bottom: 1rem;
        border-radius: 1rem;
        background: #fff;
        border: 1px solid #ece7dc;
    }

    .product-price-panel > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .product-price-label {
        color: #6b7280;
        font-size: 0.76rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .product-price-value {
        color: #111827;
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 1;
        word-break: break-word;
    }

    .product-price-original {
        color: #9ca3af;
        font-size: 0.8rem;
        white-space: normal;
        text-align: right;
        flex: 0 1 auto;
    }

    .product-card-footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-top: auto;
    }

    .product-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .product-detail-img-cover,
    .product-detail-img-contain {
        width: 100%;
        height: 220px;
    }

    .product-detail-img-cover {
        object-fit: cover;
    }

    .product-detail-img-contain {
        object-fit: contain;
    }

    .index-toast-container {
        z-index: 1080;
    }

    .plan-modal-content {
        border: 0;
        border-radius: 1.4rem;
        overflow: hidden;
    }

    .plan-modal-header {
        border-bottom: 0;
        padding: 1rem 1rem 0;
    }

    .plan-modal-body {
        padding: 0 1.5rem 1.25rem;
    }

    .plan-modal-hero {
        padding: 1.25rem;
        border-radius: 1.25rem;
        background: #f8f6f1;
        margin-bottom: 1.25rem;
    }

    .plan-modal-title {
        color: #111827;
        font-size: 1.35rem;
        font-weight: 800;
        margin-bottom: 0.4rem;
    }

    .plan-modal-description {
        color: #6b7280;
        margin-bottom: 1rem;
        line-height: 1.65;
    }

    .plan-modal-price-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .plan-modal-price-label {
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
    }

    .plan-modal-price-value {
        color: #111827;
        font-size: 2rem;
        font-weight: 800;
        line-height: 1;
    }

    .plan-modal-original {
        color: #9ca3af;
        font-size: 0.9rem;
        margin-top: 0.45rem;
    }

    .plan-modal-savings {
        color: #9a3412;
        background: #fff7ed;
        border: 1px solid #fed7aa;
        border-radius: 999px;
        padding: 0.45rem 0.85rem;
        font-size: 0.86rem;
        font-weight: 700;
    }

    .plan-modal-section-title {
        color: #111827;
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 0.85rem;
    }

    .plan-modal-detail-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 0.65rem;
    }

    .plan-modal-detail-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.85rem 1rem;
        border: 1px solid #ece7dc;
        border-radius: 1rem;
        background: #fff;
    }

    .plan-modal-detail-name {
        color: #1f2937;
        font-weight: 600;
    }

    .plan-modal-detail-qty {
        color: #6b7280;
        font-size: 0.9rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .plan-modal-footer {
        border-top: 0;
        padding: 0 1.5rem 1.5rem;
    }

    .selected-products-modal {
        border: 0;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
    }

    .selected-products-modal .modal-header {
        
        padding: 1.4rem 1.5rem 1.1rem;
        background: #fff;
    }

    .selected-products-modal .modal-title {
        color: #111827;
        font-size: 1.35rem;
        font-weight: 800;
    }

    .selected-products-modal .modal-body {
        padding: 1.1rem 1.5rem 1.5rem;
        background: #fff;
    }

    .selected-products-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        background: #fff;
        border: 1px solid #e5e7eb;
    }

    .selected-products-summary-label {
        color: #6b7280;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .selected-products-summary-value {
        color: #111827;
        font-size: 1.1rem;
        font-weight: 800;
    }

    .selected-products-list {
        display: grid;
        gap: 0.85rem;
    }

    .selected-products-modal .selected-product-item {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.9rem;
        border: 1px solid #ebe4d7;
        border-radius: 1.2rem;
        background: #fff;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .selected-products-modal .selected-product-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    }

    .selected-product-thumb {
        width: 88px;
        min-width: 88px;
        height: 88px;
        border-radius: 1rem;
        object-fit: cover;
        background: #f8fafc;
        border: 1px solid #eef2f7;
    }

    .selected-product-meta {
        min-width: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .selected-product-topline {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 0.4rem;
    }

    .selected-product-chip {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0.28rem 0.65rem;
        background: #f3efe7;
        color: #7c5d3f;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .selected-product-qty {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 0.28rem 0.65rem;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 0.72rem;
        font-weight: 700;
    }

    .selected-products-modal .selected-product-name {
        color: #111827;
        font-weight: 700;
        line-height: 1.45;
        word-break: break-word;
    }

    .selected-product-price {
        display: flex;
        align-items: baseline;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .selected-product-price-current {
        color: #111827;
        font-size: 1rem;
        font-weight: 800;
    }

    .selected-product-price-original {
        color: #9ca3af;
        font-size: 0.82rem;
    }

    .selected-product-actions {
        display: flex;
        align-items: center;
    }

    .selected-products-empty {
        padding: 2.4rem 1.25rem;
        text-align: center;
        border: 1px dashed #d7dee7;
        border-radius: 1.25rem;
        background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    }

    .selected-products-empty-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 1rem;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: 1.6rem;
        font-weight: 800;
    }

    .selected-products-empty-icon::before {
        content: "🛍";
        line-height: 1;
    }

    .selected-products-empty-title {
        color: #111827;
        font-size: 1.08rem;
        font-weight: 800;
        margin-bottom: 0.45rem;
    }

    .selected-products-empty-text {
        color: #6b7280;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .selected-products-empty-tips {
        display: grid;
        gap: 0.65rem;
        margin: 0 auto 1.25rem;
        padding: 0;
        max-width: 320px;
        list-style: none;
        text-align: left;
    }

    .selected-products-empty-tips li {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.75rem 0.9rem;
        border-radius: 0.95rem;
        background: #f8fbff;
        color: #475569;
        font-size: 0.92rem;
        font-weight: 600;
        border: 1px solid #e2e8f0;
    }

    .selected-products-empty-tips li::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #3b82f6;
        flex: 0 0 auto;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
    }

    .selected-products-modal .modal-footer {
        border-top: 0;
        padding: 1rem 1.5rem;
        background: #fff;
    }

    @media (max-width: 575.98px) {
        .product-price-panel {
            align-items: flex-start;
            flex-direction: column;
        }

        .product-price-value {
            font-size: 1.1rem;
        }

        .product-price-original {
            font-size: 0.72rem;
            text-align: left;
        }

        .selected-products-modal .selected-product-item {
            flex-direction: column;
        }

        .selected-product-thumb {
            width: 100%;
            height: 180px;
        }

        .selected-product-actions {
            width: 100%;
        }

        .selected-product-actions .btn {
            width: 100%;
        }

    }


