/* ===== MODERN PRODUCT PAGE ===== */

/* Product Header Section */
.product-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, 
        rgba(26, 10, 46, 0.98) 0%, 
        rgba(45, 18, 82, 0.95) 50%, 
        rgba(74, 26, 107, 0.92) 100%);
    position: relative;
    overflow: hidden;
}

.product-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 200px;
    background: url('../images/contact-us.png') no-repeat center bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 9;
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(232, 67, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(72, 219, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.product-header .hero-jelly {
    width: 100px !important;
    z-index: 1;
}
.jelly-5{
    z-index: 9 !important;
}
.product-header .jelly-1 { top: 10%; left: 3%; }
.product-header .jelly-2 {  top: 5%; right: 8%; }
.product-header .jelly-3 {  bottom: 15%; left: 6%; }
.product-header .jelly-4 {  top: 30%; right: 3%; }
.product-header .jelly-5 {  bottom: 20%; right: 10%; }
.product-header .jelly-6 {  top: 55%; left: 12%; }
.product-header .jelly-7 {  top: 40%; left: 1%; }
.product-header .jelly-8 {  bottom: 8%; right: 2%; }
.product-header .jelly-9 {  top: 15%; left: 35%; }
.product-header .jelly-10 {  bottom: 25%; left: 45%; }

.product-header-content {
    position: relative;
    z-index: 2;
}

/* Product Title Section */

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-category i {
    color: #e84393;
}

.product-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 5vw, 3.3rem);
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}
.col-lg-6.col-md-6 p.text-muted{
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 5vw, 2.3rem);
    color: #fff !important;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    background: linear-gradient(135deg, #57ac6c, #228070, #10605d);
    width: 100px;
    margin: 0 auto;
    text-align: center;
    padding: 25px 0;
    border-radius: 60px 60px 0 60px;
    margin-bottom: 10px;
}
.product-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars i {
    color: #ffd93d;
    font-size: 18px;
}

.rating-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Product Main Grid */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

/* Product Header Section */
.product-header-section {
    display: flex;
    flex-direction: row;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-header-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-images-section {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .product-details-section {
        gap: 20px;
    }
}

/* Curved Background Design */
.header-curved-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

.header-curved-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Product Details Section */
.product-details-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

/* Product Title Section */
.product-title-section {
    text-align: left;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Certifications & Allergen Section */
.certifications-allergen-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

/* Product Images Section */
.product-images-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    max-width: 50%;
        width: 40%;
}

/* Header Heading (Above Badges) */
.header-heading-top {
    text-align: center;
    margin-bottom: 20px;
}

/* Header Subtitle (Below Badges) */
.header-subtitle-bottom {
    text-align: center;
}

.product-header-title {
    margin-bottom: 30px;
}

.product-header-heading {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-header-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Allergen & Certification Section */
.allergen-certification-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
        margin-bottom: 10px;
}

.section-heading {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading i {
    color: #e84393;
    font-size: 1.2rem;
}

.pp-allergens-title {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-allergen-grid {
    flex-wrap: wrap;
    gap: 8px;
}

.pp-allergen-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    margin:4px 0px;
}

.pp-allergen-badge i {
    color: var(--badge-color, #a855f7);
    font-size: 13px;
}

.pp-allergen-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--badge-color, #a855f7);
    transform: translateY(-2px);
}

.allergen-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    cursor: default;
}

.allergen-badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 67, 147, 0.2);
}

.allergen-badge-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e84393, #a855f7);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.allergen-badge-text {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.certification-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.certification-badge-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.certification-badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.certification-badge-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

/* Product Image Container */
.product-main-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.product-main-image-wrapper {
    position: relative;
    backdrop-filter: blur(20px);
    text-align: center;
}

.product-main-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.product-main-image-container:hover img {
    transform: scale(1.05);
}

.product-new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

/* Product Body Section */
.product-body-section {
    display: flex;
    flex-direction: column;
}

.product-body-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
}

.body-heading {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.body-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 15px;
}

.body-content p {
    margin-bottom: 15px;
}

.body-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.body-features,
.body-ingredients,
.body-nutrition,
.body-video,
.body-gallery {
    margin-bottom: 30px;
}

.body-features h4,
.body-ingredients h4,
.body-nutrition h4,
.body-video h4,
.body-gallery h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.body-features h4 i,
.body-ingredients h4 i,
.body-nutrition h4 i,
.body-video h4 i,
.body-gallery h4 i {
    color: #e84393;
    font-size: 1rem;
}

.body-features ul,
.body-ingredients ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.body-features li,
.body-ingredients li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.body-features li::before,
.body-ingredients li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e84393;
    font-weight: bold;
}

.nutrition-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e84393;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(232, 67, 147, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-link:hover {
    background: rgba(232, 67, 147, 0.2);
    transform: translateY(-2px);
}

.body-image-container {
    text-align: center;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.body-image-container .product-body-image {
    width: 100%;
}

.body-image-container img {
    width: 100%;
    mix-blend-mode: multiply;
}

.body-image-container img:hover {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.gallery-item {
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 67, 147, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.body-cta {
    text-align: center;
    margin-top: 30px;
}

.body-cta .btn-primary {
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.body-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}

/* Product Image Section */
.product-image-section {
    position: relative;
}

.product-main-image {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-main-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.product-main-image:hover .product-main-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

/* Gallery Slider */
.gallery-slider-wrap {
display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    max-width: 100%;
    z-index: 9;
    margin-bottom: 20px;
}

.gallery-slider-viewport {
    overflow: hidden;
    max-width: 332px; /* 5 thumbs: 5*60 + 4*8 gap */
    min-width: 0;
}

.product-gallery {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.gallery-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #2d1252;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-arrow:hover {
    background: #e84393;
    color: #fff;
    transform: scale(1.1);
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    flex-shrink: 0;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #e84393;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Product Info Section */
.product-info-section {
    position: relative;
}

.product-info-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 30px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.price-original {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.price-discount {
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Product Description */
.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-description p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Product Specifications */
.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e84393, #a855f7);
    border-radius: 10px;
    color: white;
    font-size: 16px;
}

.spec-content {
    flex: 1;
}

.spec-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 2px;
}

.spec-value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Allergen Badges */
.allergen-badges {
    margin-bottom: 30px;
}

.allergen-badges h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.allergen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.allergen-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.allergen-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.allergen-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.allergen-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}

.btn-secondary {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Product Features */
.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.feature-item i {
    color: #e84393;
    font-size: 16px;
}

/* Related Products Section */
.related-products {
    padding: 80px 0;
    background: linear-gradient(180deg, 
        rgba(26, 10, 46, 0.92) 0%, 
        rgba(45, 18, 82, 0.88) 50%, 
        rgba(74, 26, 107, 0.85) 100%);
    position: relative;
}

.related-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(232, 67, 147, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.pack-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pack-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(232, 67, 147, 0.03) 0%, 
        rgba(168, 85, 247, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pack-item:hover::before {
    opacity: 1;
}

.pack-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(232, 67, 147, 0.2),
        0 10px 20px rgba(168, 85, 247, 0.15);
    border-color: rgba(232, 67, 147, 0.3);
}

.pack-item-inner {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pack-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.pack-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.pack-item:hover .pack-image img {
    transform: scale(1.1);
}

.no-image {
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
}

.pack-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pack-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pack-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.pack-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e84393;
    margin-bottom: 20px;
}

.btn-view {
    background: linear-gradient(135deg, #e84393, #a855f7);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}

/* Footer Styling */
.footer {
    background: linear-gradient(180deg, 
        rgba(26, 10, 46, 0.95) 0%, 
        rgba(26, 14, 46, 0.9) 50%, 
        rgba(26, 14, 46, 0.85) 100%);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(232, 67, 147, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e84393;
}

.footer-section ul li i {
    color: #e84393;
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Header Image Display */
.header-image-display {
    margin: 0 auto 30px;
    max-width: 700px;
}

.header-display-img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.header-display-img:hover {
    transform: scale(1.01);
}

/* Shipper & Bags Display Section */
.shipper-display-section {
    background: linear-gradient(135deg, #f8f4ff 0%, #ede7f6 100%);
    position: relative;
}

.display-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.display-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.display-images-grid.display-grid {
    display: block;
}
.display-images-grid.display-grid img{
    width: 50%;
        margin: 0 auto;
}
.display-pill-heading {
    display: inline-block;
    background: linear-gradient(135deg, #f7797d, #e8658b, #c96dd8);
    color: #fff;
    font-size: 1.5rem;
    font-style: italic;
    padding: 10px 32px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(232, 101, 139, 0.35);
    letter-spacing: 0.5px;
    font-family: 'Fredoka One', cursive;
    text-align: center;
}

.display-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

/* Center when there are only 1, 2, or 3 products */
.display-images-grid.single-image {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
}

.display-images-grid.two-images {
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

.display-images-grid.three-images {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
}



.shipper-display-image-wrap:hover {
    transform: scale(1.02);
}

.shipper-display-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-header-section {
        gap: 30px;
    }
    .product-title {

    margin-bottom: 0;
    }
    .allergen-certification-section{
        padding: 12px;
    }
    .product-title-section {
        margin-bottom: 20px;
    }
    
    .certifications-allergen-section {
        padding: 6px;
        margin-bottom: 20px;
    }
    .nav-container {
    width: 100%;
    }
    .product-images-section {
        gap: 15px;
    }
    

    
    .product-title {
        font-size: 2rem;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .allergen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .product-header-section {
        gap: 35px;
    }
    
    .product-main-image-container {
        max-width: 500px;
    }
    
    .certifications-allergen-section {
        padding: 25px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    
    .product-main-image-container {
        max-width: 700px;
    }
}
