    /* Detail Page Styles */
    .detail {
        padding: 40px 0;
        background-color: var(--bg-color);
    }

    .detail__header {
        text-align: center;
        margin-bottom: 30px;
        color: var(--primary-color);
    }

    .detail__title {
        font-size: 2.8rem;
        font-weight: 700;
        color: var(--accent-color);
        margin-bottom: 10px;
    }

    .detail__subtitle {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .detail__desc {
        font-size: 1.4rem;
        color: var(--text-light);
    }

    .detail__content {
        background: white;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-md);
        padding: 40px 20px;
    }

    /* Price Section */
    .detail__price {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 25px;
    }

    .detail__price-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .detail__price-label {
        font-size: 1.6rem;
        font-weight: 600;
        color: var(--text-color);
    }

    .detail__price-value {
        font-size: 2rem;
        font-weight: 700;
        color: var(--accent-color);
    }

    /* Action Buttons */
    .detail__actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    .detail__purchased-title {
        color: var(--danger);
        font-size: 1.6rem;
        font-weight: 600;
        text-align: center;
    }
    .detail__btn {
    
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .detail__btn--primary {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(14, 62, 218, 0.3);
    }


    .detail__btn--card,
    .detail__btn--wallet {
        text-align: center;
        background: white;
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .detail__btn--card:hover,
    .detail__btn--wallet:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(14, 62, 218, 0.3);
    }

    /* Info Section */
    .detail__info {
        width: min(100%, 960px);
        margin: 0 auto 30px;
        border: 1px solid rgba(18, 35, 69, 0.08);
        border-radius: 20px;
        padding: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        box-shadow: 0 20px 45px rgba(17, 38, 146, 0.08);
    }

    .detail__info-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 14px;
        margin-bottom: 18px;
        border-bottom: 1px solid rgba(18, 35, 69, 0.08);
    }

    .detail__info-title {
        margin: 0;
        font-size: 2rem;
        font-weight: 800;
        color: #1e2f59;
        letter-spacing: 0.02em;
    }

    .detail__info-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
    }

    .detail__info-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 96px;
        padding: 16px 18px;
        border-radius: 16px;
        background: #fff;
        border: 1px solid rgba(31, 76, 255, 0.08);
        box-shadow: 0 10px 24px rgba(31, 76, 255, 0.06);
    }

    .detail__info-item--full {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .detail__info-item--highlight {
        position: relative;
        overflow: hidden;
        padding: 22px 24px;
        border: 1px solid rgba(31, 76, 255, 0.18);
        background:
            radial-gradient(circle at top right, rgba(31, 76, 255, 0.12), transparent 32%),
            linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
        box-shadow:
            0 18px 38px rgba(31, 76, 255, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .detail__info-item--highlight::before {
        content: "";
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 5px;
        border-radius: 999px;
        background: linear-gradient(180deg, #1f4cff 0%, #ff6ec7 100%);
    }

    .detail__info-item--highlight .detail__info-label {
        display: inline-flex;
        align-items: center;
        width: fit-content;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(31, 76, 255, 0.08);
        color: #1f4cff;
        letter-spacing: 0.08em;
    }

    .detail__info-item--highlight .detail__info-value {
        font-size: 1.85rem;
        line-height: 1.7;
        color: #14213d;
    }

    .detail__info-label {
        font-size: 1.2rem;
        font-weight: 800;
        color: #5d6880;
        letter-spacing: 0.06em;
    }

    .detail__info-value {
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1.5;
        color: #1a2540;
    }

    /* Images Section */
    .detail__images {
        margin-top: 30px;
    }

    .detail__images-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 25px;
        text-align: center;
    }

    .detail__images-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .detail__images-link {
        display: block;
        overflow: hidden;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .detail__images-link:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .detail__images-item {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .detail__images-link:hover .detail__images-item {
        transform: scale(1.05);
    }

    /* Account Detail Styles */
    .account-detail {
        padding: 40px 0 60px;
        background-color: var(--bg-color);
    }

    .account-detail__wrapper {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        padding: 30px;
    }

    /* Price Cards */
    .account-detail__price {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .price-card {
        background: linear-gradient(135deg, var(--primary-color), #1a1a1a);
        padding: 20px;
        border-radius: 15px;
        text-align: center;
        color: white;
        transition: transform 0.3s ease;
    }

    .price-card:hover {
        transform: translateY(-5px);
    }

    .price-card__label {
        font-size: 1.6rem;
        font-weight: 500;
        opacity: 0.9;
        margin-bottom: 10px;
    }

    .price-card__value {
        font-size: 2.4rem;
        font-weight: 700;
        color: var(--accent-color);
    }

    /* Action Buttons */
    .account-detail__actions {
        display: flex;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn--lg {
        padding: 12px 30px;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .btn--lg i {
        font-size: 1.8rem;
    }

    /* Info Grid */
    .account-detail__info {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 40px;
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .info-item {

        padding: 15px;
        background: white;
        border-radius: 8px;
        border: 1px solid #eee;
        transition: all 0.3s ease;
    }

    .info-item:hover {
        border-color: var(--accent-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    .info-item__icon {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: white;
        border-radius: 8px;
        font-size: 1.6rem;
    }

    .info-item__label {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--text-light);
        min-width: 90px;
    }

    .info-item__value {
        font-size: 1.4rem;
        color: var(--text-color);
        font-weight: 500;
    }

    /* Gallery Section */
    .account-detail__gallery {
        background: white;
        border-radius: 12px;
        overflow: hidden;
    }

    .gallery__title {
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--primary-color);
        padding: 20px;
        background: #f8f9fa;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .gallery__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .gallery__item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 16/9;
    }

    .gallery__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery__zoom {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2.4rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gallery__item:hover .gallery__img {
        transform: scale(1.05);
    }

    .gallery__item:hover .gallery__zoom {
        opacity: 1;
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
        .detail__actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
        .detail__price {
            display: grid;
            justify-content: center;
            gap: 20px;
        }
        .account-detail__price {
            grid-template-columns: 1fr;
        }

        .account-detail__actions {
            flex-wrap: wrap;
        }

        .btn--lg {
            flex: 1;
            min-width: 200px;
        }
    }

    @media (max-width: 768px) {
        .account-detail {
            padding: 30px 0;
        }

        .account-detail__wrapper {
            padding: 20px;
        }

        .info-grid {
            grid-template-columns: 1fr;
        }

        .detail__info-grid {
            grid-template-columns: 1fr;
        }

        .detail__info-title {
            font-size: 1.8rem;
        }

        .gallery__grid {
            grid-template-columns: 1fr;
        }

        .btn--lg {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .detail__info{
            width: 100%;
            padding: 16px;
        }
        .account-detail__wrapper {
            padding: 15px;
        }

        .price-card {
            padding: 15px;
        }

        .price-card__value {
            font-size: 2rem;
        }

        .info-item {
            padding: 12px;
        }

        .gallery__title {
            font-size: 1.6rem;
        }
    }

    /* Modal Styles */
    /* Update modal display property */
    .modal {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

    .modal__content {
        position: relative;
        background: white;
        width: 90%;
        max-width: 500px;
        margin: 50px auto;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        animation: modalFadeIn 0.3s ease;
    }

    @keyframes modalFadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .modal__header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--primary-color);
        color: white;
        border-radius: 12px 12px 0 0;
    }

    .modal__title {
        color: #fff;
        font-size: 1.8rem;
        font-weight: 600;
        margin: 0;
    }

    .modal__close {
        background: none;
        border: none;
        color: white;
        font-size: 2.4rem;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .modal__body {
        padding: 20px;
    }

    .modal__info {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }


    .modal__label {
        min-width: 120px;
        font-weight: 600;
        color: var(--text-light);
    }

    .modal__value {
        flex: 1;
        font-weight: 500;
    }

    .modal__value--price {
        color: var(--accent-color);
        font-size: 1.8rem;
        font-weight: 700;
    }

    .modal__input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 1.4rem;
    }

    .modal__input:focus {
        border-color: var(--accent-color);
        outline: none;
        box-shadow: 0 0 0 2px rgba(66, 103, 233, 0.1);
    }

    .modal__input--captcha {
        max-width: 200px;
    }

    .modal__captcha-img {
        height: 40px;
        border-radius: 4px;
        cursor: pointer;
    }

    .modal__notice {
        background: #fff3cd;
        color: #856404;
        padding: 15px;
        border-radius: 6px;
        margin-top: 20px;
        font-size: 1.4rem;
        text-align: center;
    }

    .modal__footer {
        padding: 20px;
        border-top: 1px solid #eee;
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .modal__btn {
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 1.4rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .modal__btn--card {
        background: var(--accent-color);
        color: white;
        border: none;
    }

    .modal__btn--wallet {
        background: var(--primary-color);
        color: white;
        border: none;
    }

    .modal__btn--close {
        background: #eee;
        color: var(--text-color);
        border: none;
    }

    .modal__btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .modal__content {
            width: 95%;
            margin: 20px auto;
        }

        .modal__footer {
            flex-direction: column;
        }

        .modal__btn {
            width: 100%;
        }
    }
