:root {
    --primary-color: #c2185b;
    --primary-light: #fce4ec;
    --text-dark: #222;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --border-color: #eee;
}

.product-detail-section {
    padding-top: 160px;
    padding-bottom: 20px;
    background: #fff;
}

@media (max-width: 768px) {
    .product-detail-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

.container-premium {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Gallery Styles --- */
.main-image-container {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .main-image-container {
        padding: 15px;
        margin-bottom: 20px;
    }
}

.main-image-container::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
            rgba(194, 24, 91, 0.03) 0%,
            transparent 70%);
    min-height: 450px;
    pointer-events: none;
}

.main-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.thumbnail-grid {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    padding: 5px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

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

.gallery-dots {
    display: flex;
    gap: 8px;
    padding-left: 20px;
}

.g-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
}

.g-dot.active {
    background: #333;
    width: 20px;
    border-radius: 10px;
}

/* --- Product Info Styles --- */
.category-breadcrumb {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.product-title-premium {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.product-gallery {
    position: relative;
    z-index: 1;
}

.product-info-panel {
    position: relative;
    z-index: 2;
}

.price-box-premium {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
}

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

.strikethrough-price {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
}

.tax-info {
    font-size: 12px;
    color: #999;
}

.short-description-premium {
    color: #666;
    line-height: 1.6;
    font-size: 20px;
    margin-bottom: 30px;
}

/* --- Action Box --- */
.action-area {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 10px 18px;
    border: 1px solid #eee;
}

.qty-btn {
    border: none;
    background: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qty-input {
    width: 50px;
    border: none;
    background: none;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    outline: none;
}

.btn-add-to-cart {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 55px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(194, 24, 91, 0.2);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(194, 24, 91, 0.3);
}

.wishlist-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.wishlist-circle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* --- Feature Highlights --- */
.feature-highlights {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
    max-width: 700px;
    justify-content: flex-start;
}

.f-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.f-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.f-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* --- Product Description Section --- */
.product-tabs-section {
    padding: 60px 0;
    background: #fff;
}

.tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    background: #fffaf5;
    padding: 15px 30px;
    border-radius: 10px 10px 0 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Default desktop layout */
    gap: 60px;
}

/* Mobile Responsive Tabs */
@media (max-width: 768px) {
    .product-tabs-section {
        padding: 30px 0; /* Reduced padding */
    }

    .tabs-header {
        gap: 20px;
        padding: 15px 20px;
        margin-bottom: 25px; /* Reduced margin */
        justify-content: space-around; /* Distribute tabs evenly */
    }

    .tab-trigger {
        font-size: 16px !important; /* Slightly smaller text */
    }

    .reviews-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 30px; /* Reduced gap */
    }
    
    /* Make the review form stack below the list */
    .review-form-container {
        margin-top: 20px;
    }
    
    /* Fix unwanted horizontal scroll or spacing issues */
    .review-list {
        padding-right: 0;
    }
}

.description-specs-section {
    padding: 20px 0 80px;
    background: #fff;
}

.specs-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.05) 0%,
            transparent 70%);
    top: -300px;
    right: -300px;
}

.specs-title {
    font-size: 28px;
    font-weight: 800;
    color: #222;
    text-align: left;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.specs-subtitle {
    color: #999;
    font-size: 13px;
    margin-bottom: 40px;
    text-align: left;
}

.specs-table-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f8f9fa;
}

.spec-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--icon-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
    border-color: #d4af37;
}

.spec-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.spec-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #fff;
    border: 1px solid #eee;
    transform: rotate(45deg);
}

.spec-row {
    display: flex;
    padding: 20px 30px;
    border-bottom: 1px solid #f8f9fa;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    flex: 0 0 250px;
    font-weight: 800;
    font-size: 18px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Narrative Content --- */
.product-narrative {
    padding: 120px 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("../images/meditation_bg.jpg") center/cover fixed;
    color: #fff;
    text-align: center;
}

.narrative-content {
    max-width: 900px;
    margin: 0 auto;
}

.narrative-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.spec-value {
    flex: 1;
    font-size: 18px;
    color: #777;
    font-weight: 500;
}

.specs-disclaimer {
    margin-top: 30px;
    color: #999;
    font-size: 12px;
    font-style: italic;
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .product-hero-grid {
        display: block !important;
    }

    .product-info-panel {
        margin-top: 40px;
    }

    .product-gallery {
        margin-bottom: 40px;
    }
}

/* --- Category Pill Card --- */
.category-pill-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 6px 18px 6px 6px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 25px;
    align-self: flex-start;
}

.category-pill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 24, 91, 0.1);
    border-color: #fce4ec;
}

.category-pill-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fce4ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

.category-pill-text {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.category-pill-card.static {
    cursor: default;
}

.category-pill-card.static:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- Mobile Responsive Actions --- */
@media (max-width: 576px) {
    .action-area {
        gap: 8px; /* Reduce gap to fit everything */
        margin-bottom: 30px;
        justify-content: space-between;
    }

    .qty-selector {
        padding: 0 5px; /* Minimal horizontal padding */
        height: 48px;
        box-sizing: border-box;
        border-radius: 24px;
        flex-shrink: 0; /* Prevent shrinking */
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
        box-shadow: none; /* Simplifies look */
    }

    .qty-input {
        width: 28px; /* Tighter input width */
        font-size: 15px;
    }

    .btn-add-to-cart {
        flex: 1; /* Allow button to grow and fill space */
        padding: 0 10px; /* Reset large padding */
        height: 48px; /* Match height */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px; /* Slightly smaller font to prevent wrap */
        white-space: nowrap;
        border-radius: 24px;
    }

    .wishlist-circle-btn {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: 50%;
    }
}
