/* ===== PRODUCT PAGE STYLES ===== */

/* ===== HEADER STYLES ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1030; /* Bootstrap's navbar z-index */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== CART ICON STYLES ===== */
.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #dc3545; /* Bootstrap danger color */
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ===== MAIN PRODUCT CONTENT ===== */
.product-detail {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    margin: 1rem auto;
    padding: 1rem;
    max-width: 1200px;
}

/* ===== ENHANCED CARD STYLES ===== */
.product-detail .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

/* ===== BACK NAVIGATION ===== */
.back-btn {
    background: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== PRODUCT HEADER ===== */
.product-header .card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.product-header .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.product-header .card-body {
    position: relative;
    z-index: 1;
}

.product-header .badge {
    background: var(--secondary-color) !important;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.product-header h1 {
    color: var(--primary-color) !important;
    text-shadow: none;
    font-weight: 600;
    font-size: 1.5rem;
}

.product-header hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 1px;
    margin: 0.75rem 0;
    opacity: 1;
}
.product-header p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* ===== SECTION TITLES ===== */
.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.section-title::before {
    content: "✨";
    color: var(--secondary-color);
    font-size: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: lightgray;
    border-radius: 1px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-list li {
    position: relative;
    padding: 0.5rem 2.5rem 0.5rem 0.5rem;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    background: white;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* ===== USAGE SECTION ===== */
.usage-text p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* ===== PRICING SECTION ===== */
.price-card {
    margin-top: 1rem;
    background: #f8f9ff;
    border: 2px solid #e6f3ff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card h3 {
    font-weight: 600;
    font-size: 1.5rem;
}

.price-amount {
    font-weight: 700;
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.add-to-cart-btn {
    background: var(--background-gradient);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ===== CART ACTIONS SECTION ===== */
.cart-actions-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.cart-info {
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
    font-size: 1.1rem;
}
