/* 
 * Foodimpex - Custom Stylesheet
 * A modern, minimalist design focusing on high-quality product presentation
 */

/* ===== Global Styles ===== */
:root {
    /* Main color palette */
    --primary-color: #2d4a36;      /* Dark green */
    --secondary-color: #1e3225;    /* Darker green for hover */
    --accent-color: #d6c8a0;       /* Warm beige */
    --light-color: #f8f7f4;        /* Off-white */
    --warm-gray: #f5f3ef;          /* Warm gray background */
    --dark-color: #000000;         /* Pure black */
    
    /* Text colors */
    --text-dark: #000000;
    --text-medium: #333333;
    --text-light: #f8f7f4;
    --text-muted: #6c757d;
    
    /* Utility colors */
    --success: #2d4a36;           /* Dark green */
    --info: #2d4a36;              /* Dark green instead of black */
    --warning: #d9ad65;           /* Warm amber */
    --danger: #b36a5e;            /* Subdued red */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 100px; /* Utrymme för fixed navbar */
}

/* Override Bootstrap's cold gray with warm gray */
.bg-light {
    background-color: var(--warm-gray) !important;
}

/* Team member styling in green */
.team-section .fas.fa-envelope, .team-section .fa.fa-envelope {
    color: #2c6e49 !important; /* Dark green color */
    display: inline-block !important;
    font-size: 1rem !important;
}

/* Contact page email icon styling - force display */
.fa.fa-envelope.fa-2x.text-primary {
    display: inline-block !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    font-size: 2em !important;
}

.team-card h3 {
    color: var(--primary-color) !important;
}

.team-card .contact-info p {
    color: var(--primary-color) !important;
}

.team-card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.team-img {
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.team-img img,
.team-img svg {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
}

.team-card .badge {
    white-space: normal !important;
    max-width: 100% !important;
    display: inline-block !important;
    line-height: 1.3 !important;
    padding: 0.5rem 1rem !important;
}

.team-card h3,
.team-card .badge,
.team-card .contact-info {
    text-align: center !important;
}

.team-card .contact-info a {
    color: inherit !important;
    text-decoration: none !important;
}

.team-card h3 {
    font-size: 1.25rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

/* ===== Typography ===== */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lead {
    font-weight: 400;
    line-height: 1.6;
}

/* ===== Navigation ===== */
.navbar {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: 80%;
    left: 10%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 0;
    background-color: var(--light-color);
    overflow: hidden;
}

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero img {
    max-width: 100%;
    transition: transform 0.5s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero img:hover {
    transform: scale(1.03);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1, .hero p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* ===== Page Header ===== */
.page-header {
    background-color: var(--light-color);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.breadcrumb {
    display: inline-flex;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* ===== Featured Products ===== */
.featured-products {
    background-color: #fff;
    padding: 5rem 0;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    padding: 0;
    background-color: var(--light-color);
    text-align: center;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

/* ===== About Preview ===== */
.about-preview {
    padding: 5rem 0;
}

.about-content {
    padding: 1rem;
}

/* ===== Call to Action ===== */
.cta {
    background-color: #3d5c47;
    color: var(--light-color);
    padding: 5rem 0;
}

.cta h2, .cta p {
    color: var(--light-color);
}

/* ===== Product Categories ===== */
.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img img {
    max-width: 100%;
    max-height: 100%;
    transition: transform var(--transition-speed) ease;
}

.category-card:hover .category-img img {
    transform: scale(1.05);
}

/* ===== Product Listings ===== */
.product-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== Values Section ===== */
.value-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: transform var(--transition-speed) ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color); /* This is now black from our color variables */
}

/* ===== Stats Cards ===== */
.stat-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.stat-number {
    line-height: 1;
    font-weight: 800;
}

/* ===== Mission, Vision, Goal Cards ===== */
.mission-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Team Section ===== */
.team-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-year {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 40%;
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
}

/* ===== Contact Section ===== */
.contact-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: transform var(--transition-speed) ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.form-card {
    border-radius: var(--border-radius);
}

/* ===== Footer ===== */
.footer {
    background-color: #2d4a36;
    color: var(--light-color);
    padding: 5rem 0 3rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1); /* Gör logotypen vit för mörk bakgrund */
    display: block; /* Säkerställer korrekt visning */
}

.footer h5 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--light-color);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer .list-unstyled {
    text-align: left;
}

.footer .list-unstyled li {
    text-align: left;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #fff;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .timeline:before {
        left: 2rem;
    }
    
    .timeline-year {
        left: 2rem;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 7rem);
        margin-left: 6.5rem !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    /* Tablet optimizations */
    body {
        padding-top: 80px;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    /* Improve spacing on tablets */
    .product-card, .category-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    h1, .display-4 {
        font-size: 2.5rem;
    }
    
    .hero {
        text-align: center;
    }
    
    .product-card, .category-card, .team-card, .value-card {
        margin-bottom: 2rem;
    }
    
    /* Make carousel images responsive on mobile */
    .carousel-inner img {
        height: auto !important;
        min-height: 150px;
    }
    
    /* Adjust hero section padding on mobile */
    .hero .row {
        min-height: 70vh !important;
        padding: 2rem 0;
    }
    
    /* Navigation improvements for mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        height: 35px !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Footer improvements for mobile */
    .footer {
        text-align: center;
        padding: 3rem 0 2rem;
    }
    
    .footer-logo {
        height: 80px;
        margin: 0 auto;
    }
    
    .footer .list-unstyled {
        text-align: center !important;
    }
    
    .footer .list-unstyled li {
        text-align: center !important;
    }
    
    /* Page header mobile optimization */
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    /* Product modal mobile improvements */
    .product-modal .modal-dialog {
        margin: 1rem;
    }
    
    .harvest-calendar {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .month-box {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }
    
    /* Button responsiveness */
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    /* Text size adjustments */
    .lead {
        font-size: 1rem;
    }
}

/* ===== Animations ===== */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Custom Form Styles ===== */
.form-control, .form-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25);
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > textarea.form-control {
    height: auto;
    min-height: 100px;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== AOS Override ===== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
}

/* ===== Bootstrap Color Overrides ===== */
.bg-primary {
    background-color: #2d4a36 !important;
}

.text-primary {
    color: #2d4a36 !important;
}

.border-primary {
    border-color: #2d4a36 !important;
}

/* FontAwesome Icon Overrides */
.fa-medal, .fa-handshake, .fa-trophy, .fa-award, .fa-star {
    color: #2d4a36 !important;
}

/* Badge overrides */
.badge.bg-primary {
    background-color: #2d4a36 !important;
}

/* Icon overrides for all blue SVG icons */
.icon-container svg .blue-fill {
    fill: #2d4a36 !important;
}

/* Adjust button colors for better contrast */
.btn-primary {
    background-color: #2d4a36;
    border-color: #2d4a36;
    color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #1e3225;
    border-color: #1e3225;
    color: #ffffff;
}

.btn-outline-primary {
    color: #2d4a36;
    border-color: #2d4a36;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: #2d4a36;
    border-color: #2d4a36;
    color: #ffffff;
}

/* Badge styling */
/* Merged with previous declaration above */

/* ===== Product Modal ===== */
.product-modal .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.product-modal .modal-body {
    padding: 2rem;
}

.product-modal .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.product-modal .close {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease;
}

.product-modal .close:hover {
    opacity: 1;
}

.product-modal h3 {
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Harvest Season - Origin and Legend */
.harvest-title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.harvest-legend {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.color-box {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 3px;
}

.color-box.country-1 {
    background-color: #5a7d64;  /* Green */
}

.color-box.country-2 {
    background-color: #6c9be3;  /* Blue */
}

.color-box.country-3 {
    background-color: #e6a57f;  /* Peach */
}

.color-box.country-4 {
    background-color: #d4a76a;  /* Gold/Mustard */
}

/* Harvest Calendar */
.harvest-calendar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-bottom: 1.5rem;
}

.month-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--warm-gray);
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.month-box.active {
    background-color: #5a7d64;
    color: white;
}

/* Country-specific colors */
.month-box.country-1 {
    background-color: #5a7d64;  /* Green */
    color: white;
}

.month-box.country-2 {
    background-color: #6c9be3;  /* Blue */
    color: white;
}

.month-box.country-3 {
    background-color: #e6a57f;  /* Peach */
    color: white;
}

.month-box.country-4 {
    background-color: #d4a76a;  /* Gold/Mustard */
    color: white;
}

/* For multi-country harvest months */
.month-box.multi-country {
    background: linear-gradient(135deg, #5a7d64 0%, #5a7d64 33%, #6c9be3 33%, #6c9be3 66%, #e6a57f 66%, #e6a57f 100%);
    color: white;
}

.month-box.multi-country-4 {
    background: linear-gradient(135deg, #5a7d64 0%, #5a7d64 25%, #6c9be3 25%, #6c9be3 50%, #e6a57f 50%, #e6a57f 75%, #d4a76a 75%, #d4a76a 100%);
    color: white;
}

.month-box.multi-country-sfu {
    background: linear-gradient(135deg, #5a7d64 0%, #5a7d64 33%, #6c9be3 33%, #6c9be3 66%, #d4a76a 66%, #d4a76a 100%);
    color: white;
}

/* Tooltips för skördekalendern */
.harvest-tooltip {
    position: relative;
    display: inline-block;
}

.harvest-tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    pointer-events: none;
}

.harvest-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}

.harvest-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ===== Ice Cube Carousel ===== */
.ice-cube-carousel {
    position: relative;
    width: 100%;
    height: 400px; /* Fast höjd för att säkerställa synlighet */
    border-radius: var(--border-radius);
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.ice-cube-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.ice-cube-slide.active {
    opacity: 1;
    z-index: 2;
}

.ice-cube-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Visar hela bilden utan att beskära */
    object-position: center;
    display: block;
}

/* ===== Modal Product Images ===== */
.modal-product-image {
    height: 300px !important;
    width: 100% !important;
    object-fit: contain !important;
    background-color: #fff !important;
    border-radius: 8px !important;
    padding: 10px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure consistency in mobile view */
@media (max-width: 767.98px) {
    .modal-product-image {
        height: 250px !important;
        max-width: 100% !important;
    }
}
