:root {
    --primary-color: #891652;
    --primary-light: #fdf5f9;
    --secondary-color: #007ac1;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #fdf5f9;
    /* Updated to match screenshot */
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product_details {
    padding-top: 30px;
    /* Reduced gap */
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs svg {
    margin: 0 10px;
}

.product-hero {
    background: #fdf5f9;
    /* Updated to match page background */
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(137, 22, 82, 0.08);
    margin-bottom: 0;
}

.product-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.product-hero .item-header__details-section {
    justify-content: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(137, 22, 82, 0.08);
    gap: 15px;
    flex-wrap: wrap;
}

.meta-pill {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(137, 22, 82, 0.05);
    transition: var(--transition);
}

.meta-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.meta-pill i {
    color: var(--primary-color);
    font-size: 13px;
}

.meta-pill a {
    color: var(--primary-color);
    text-decoration: none;
}

.meta-pill.rating {
    color: #b45309;
    /* Amber for rating */
}

.meta-pill.rating i {
    color: #fbbf24;
}

.product-header-content {
    display: none;
}

.item-header__details-section {
    gap: 20px;
    font-size: 15px;
    color: var(--text-muted);
}

.item-header__author-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.item-header__sales-count {
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-header__sales-count-icon {
    fill: var(--text-muted);
}

/* Image Section */
.wsus__product_details_img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    margin-bottom: 30px;
    transition: var(--transition);
    height: auto;
}

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

.wsus__product_details_img img {
    object-fit: cover;
    transition: var(--transition);
}

.wishlist-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.wishlist-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 18px;
}

/* Tabs Section */
.wsus__product_details_text {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.nav-pills-custom {
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
    padding: 0;
}

.nav-pills-custom .nav-link {
    background: transparent !important;
    border: none !important;
    padding: 15px 0;
    color: var(--text-muted) !important;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    outline: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

.nav-pills-custom .nav-link i {
    font-size: 14px;
    opacity: 0.7;
}

.nav-pills-custom .nav-link .count-badge {
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-pills-custom .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-pills-custom .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-pills-custom .nav-link.active .count-badge {
    background: var(--primary-light);
    color: var(--primary-color);
}

.nav-pills-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(137, 22, 82, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wsus__pro_description {
    line-height: 1.8;
    color: var(--text-main);
    font-size: 16px;
}

.wsus__pro_description img,
.wsus_pro_screenshots img{
    width: 100%;
}

/* Sidebar Styling */
.wsus__sidebar {
    position: sticky;
    top: 100px;
}

.wsus__sidebar_licence {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(137, 22, 82, 0.05);
    margin-bottom: 24px;
    transition: var(--transition);
}

.wsus__sidebar_licence:hover {
    border-color: var(--primary-color);
}

.wsus__sidebar_licence h2 {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    margin-bottom: 24px;
    text-align: center;
}

.old-price {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.new-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
}

.billing_cycle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: -5px;
}

.button_area {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.button_area li {
    width: 100%;
}

.premium_buy_btn {
    width: 100%;
    background: linear-gradient(135deg, #891652 0%, #6b1141 100%);
    color: var(--white) !important;
    border: none;
    padding: 18px;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(137, 22, 82, 0.2);
    text-decoration: none !important;
}

.premium_buy_btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(137, 22, 82, 0.35);
    filter: brightness(1.1);
}

.live_preview_btn {
    width: 100%;
    background: var(--white);
    color: var(--text-main) !important;
    border: 1px solid #e2e8f0;
    padding: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none !important;
    margin-top: 10px;
}

.live_preview_btn:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

/* Features List */
.product-features-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-main);
}

.product-features-list li i {
    color: #10b981;
    margin-top: 4px;
}

/* Product Info Card */
.wsus__sidebar_pro_info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(137, 22, 82, 0.03);
}

.wsus__sidebar_pro_info h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wsus__sidebar_pro_info h3::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
}

.wsus__sidebar_pro_info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wsus__sidebar_pro_info ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.wsus__sidebar_pro_info ul li:last-child {
    border-bottom: none;
}

.wsus__sidebar_pro_info ul li:hover {
    padding-left: 5px;
}

.wsus__sidebar_pro_info ul li span {
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wsus__sidebar_pro_info ul li strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Icon specific styles for info list */
.info-icon {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Comments & Reviews Styling */
.comments-container {
    padding: 10px 0;
}

.comments-container h1,
.comments-container h2,
.comments-container h3 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Override Livewire Comments Styles */
.comments-container a {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-decoration: none;
}

.comments-container a:hover {
    text-decoration: underline;
}

.comments-container .bg-white {
    border-radius: var(--radius-md) !important;
    border: 1px solid #f1f5f9 !important;
}

.wsus__comment_single {
    background: var(--white) !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: var(--radius-md) !important;
    padding: 20px !important;
    transition: var(--transition);
}

.wsus__comment_single:hover {
    box-shadow: var(--shadow-md);
}

.comment_img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

/* Custom Checkbox/Input styling for the review form */
.wsus__comment_input_area fieldset {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 0 15px 15px;
}

.wsus__comment_input_area legend {
    font-size: 14px;
    font-weight: 600;
    padding: 0 10px;
    color: var(--primary-color);
}

.wsus__comment_input_area textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
}

.review-actions .btn.btn-sm.btn-link {
    width: 100%;
    background: linear-gradient(135deg, #891652 0%, #6b1141 100%);
    color: var(--white) !important;
    border: none;
    padding: 12px 20px !important;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(137, 22, 82, 0.2);
    text-decoration: none !important;
}

.review-actions .btn.btn-sm.btn-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(137, 22, 82, 0.35);
    filter: brightness(1.1);
}

.wsus__comment_single textarea.form-control{
    width: 100%;
    height: 70px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0 18px;
    background: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
}

.wsus__comment_single textarea.form-control:focus{
    border-color: #891652;
    outline: none;
    box-shadow: 0 0 0 4px rgba(137, 22, 82, 0.08);
}

.wsus__comment_single button.btn.btn-sm.btn-success,
.wsus__comment_single button.btn.btn-sm.btn-secondary{
    width: 42%;
    background: linear-gradient(135deg, #891652 0%, #6b1141 100%);
    color: var(--white) !important;
    border: none;
    padding: 12px 16px !important;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(137, 22, 82, 0.2);
    text-decoration: none !important;
}

.wsus__comment_single button.btn.btn-sm.btn-success:hover,
.wsus__comment_single button.btn.btn-sm.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(137, 22, 82, 0.35);
    filter: brightness(1.1);
}

/* Responsive fixes */
@media (max-width: 991px) {
    .wsus__sidebar {
        position: static;
        margin-top: 40px;
    }

    .product-header-content h1 {
        font-size: 28px;
    }
}