/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.category-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.product-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.price-section {
    position: relative;
    z-index: 2;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price-display {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.price-amount {
    position: relative;
}

.price-note {
    opacity: 0.7;
}

.product-icon-display {
    position: relative;
}

.product-hero-icon {
    font-size: 8rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.icon-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Main Content */
.product-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    padding: 3rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
}

.product-visual-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-visual-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: shimmer 20s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.product-image-container {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.product-large-icon {
    font-size: 6rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
}

.product-category-text {
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.quality-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.badge-item {
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-2px);
}

.product-info-section {
    padding: 1rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    color: #333;
    font-weight: bold;
    font-size: 1.5rem;
}

.product-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
}

.detail-row:hover {
    background: linear-gradient(45deg, #f8f9fa 0%, #fff 100%);
    border-radius: 10px;
    margin: 0 -1rem;
    padding: 1rem;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    font-weight: bold;
    color: #333;
}

.price-highlight {
    color: #28a745;
    font-size: 1.3rem;
}

.category-tag {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-fruit {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.category-vegetable {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: white;
}

.category-dairy {
    background: linear-gradient(45deg, #17a2b8, #6610f2);
    color: white;
}

.product-id {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    border: 1px solid #dee2e6;
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
}

.btn-edit {
    background: linear-gradient(45deg, #fd746c 0%, #ff9068 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-add {
    background: linear-gradient(45deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-edit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(253, 116, 108, 0.4);
    color: white;
    text-decoration: none;
}

.btn-delete {
    background: linear-gradient(45deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-delete:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    color: white;
}

.btn-back {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-card-header i {
    font-size: 2rem;
}

.info-card-header h5 {
    margin: 0;
    color: #333;
    font-weight: bold;
}

.info-card-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Modal Styling */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(45deg, #fd746c 0%, #ff9068 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-weight: bold;
}

.btn-close {
    filter: invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 4rem 0;
        text-align: center;
    }

    .product-hero-icon {
        font-size: 4rem;
    }

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

    .product-card {
        padding: 2rem 1rem;
        margin-top: -2rem;
    }

    .quality-badges {
        gap: 0.5rem;
    }
}