.product-detail-area {
    padding-bottom: 80px;
}

.product-gallery-main {
    background: #fff;
    border: 1px solid #eceff8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.product-gallery-main img {
    max-height: 420px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.product-thumb-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 88px;
    height: 88px;
    border: 2px solid #eceff8;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #9F78FF;
    box-shadow: 0 4px 12px rgba(159, 120, 255, 0.2);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-panel {
    padding-left: 15px;
}

@media (max-width: 991px) {
    .product-info-panel {
        padding-left: 0;
        margin-top: 30px;
    }
}

.product-info-panel .product-title {
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #140C40;
    margin-bottom: 12px;
    line-height: 1.3;
    background: transparent !important;
    -webkit-user-select: text;
    user-select: text;
}

.product-info-panel .product-title::selection {
    background: rgba(159, 120, 255, 0.25);
    color: #140C40;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: #646D77;
    font-size: 14px;
}

.product-meta .rating i {
    color: #ffc107;
    font-size: 13px;
}

.product-price-wrap {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eceff8;
}

.product-price {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #9F78FF;
    margin: 0;
}

.product-price-old {
    font-size: 1.1rem;
    color: #949EA5;
    text-decoration: line-through;
    margin-left: 12px;
    font-weight: 400;
}

.product-badge {
    display: inline-block;
    background: #9F78FF;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    color: #646D77;
    line-height: 1.8;
    margin-bottom: 28px;
}

.product-options-row {
    margin-bottom: 8px;
}

.product-option-item {
    margin-bottom: 20px;
}

.product-option-item label {
    display: block;
    font-weight: 600;
    color: #140C40;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-option-item .form-control {
    width: 100%;
    height: 44px;
    border-color: #eceff8;
    border-radius: 6px;
    color: #140C40;
    font-size: 14px;
}

.product-option-item .form-control:focus {
    border-color: #9F78FF;
    box-shadow: 0 0 0 0.15rem rgba(159, 120, 255, 0.2);
}

.qty-stock-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 28px;
}

.qty-stock-row .qty-label {
    display: block;
    font-weight: 600;
    color: #140C40;
    margin-bottom: 8px;
    font-size: 14px;
}

.qty-stock-col {
    flex: 0 0 auto;
}

.qty-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #eceff8;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-box button {
    width: 42px;
    height: 42px;
    border: none;
    background: #f7f7fd;
    color: #140C40;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-box button:hover {
    background: #9F78FF;
    color: #fff;
}

.qty-box input {
    width: 56px;
    height: 42px;
    border: none;
    border-left: 1px solid #eceff8;
    border-right: 1px solid #eceff8;
    text-align: center;
    font-weight: 600;
    color: #140C40;
    background: #fff;
}

.stock-info {
    color: #646D77;
    font-size: 14px;
}

.stock-info strong {
    color: #9F78FF;
}

.product-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.product-actions-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1;
}

@media (max-width: 575px) {
    .product-actions {
        flex-wrap: wrap;
    }

    .product-actions-main {
        width: 100%;
    }

    .product-actions-main .btn-add-cart,
    .product-actions-main .btn-buy-now {
        flex: 1;
        min-width: 140px;
    }
}

.btn-add-cart {
    background: #9F78FF;
    color: #fff;
    border: 1px solid #9F78FF;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-transform: capitalize;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: #140C40;
    border-color: #140C40;
    color: #fff;
}

.btn-buy-now {
    background: #140C40;
    color: #fff;
    border: 1px solid #140C40;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-transform: capitalize;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-buy-now:hover {
    background: #9F78FF;
    border-color: #9F78FF;
    color: #fff;
}

.btn-wishlist {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-shrink: 0;
    border: 1px solid #eceff8;
    border-radius: 6px;
    background: #fff;
    color: #9F78FF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-wishlist:hover {
    background: #9F78FF;
    color: #fff;
    border-color: #9F78FF;
}

.product-extra-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-extra-info li {
    padding: 8px 0;
    color: #646D77;
    font-size: 14px;
    border-top: 1px solid #eceff8;
}

.product-extra-info li span {
    font-weight: 600;
    color: #140C40;
    min-width: 100px;
    display: inline-block;
}

.product-tabs-area {
    padding-top: 60px;
}

.product-tabs-area .nav-tabs {
    border-bottom: 2px solid #eceff8;
    margin-bottom: 30px;
}

.product-tabs-area .nav-link {
    border: none;
    color: #646D77;
    font-weight: 600;
    padding: 12px 24px;
    font-size: 15px;
}

.product-tabs-area .nav-link.active {
    color: #9F78FF;
    border-bottom: 2px solid #9F78FF;
    margin-bottom: -2px;
    background: transparent;
}

.product-tabs-area .tab-content {
    color: #646D77;
    line-height: 1.8;
}

.related-products .section-tittle h2 {
    font-family: "Cinzel", serif;
}