/* Opći stilovi za stranicu proizvoda */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 200; /* Tanji font */
}

/* Navigacija putanje (breadcrumbs) */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
    font-weight: 200;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
    font-weight: 200;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Kontejner za raspored proizvoda */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Sekcija za slike proizvoda */
.product-images {
    flex: 1;
    min-width: 300px;
    max-width: 450px; /* Ograničena maksimalna širina */
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 100%;
    text-align: center;
    overflow: hidden;
    background-color: transparent;
    margin-bottom: 0;
}

.main-image img {
    max-width: 100%;
    max-height: 400px; /* Smanjeno */
    object-fit: contain;
    margin: 0 auto;
    display: block;
    border: none;
}

.additional-image {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    max-width: 350px; /* Manja širina */
    margin-left: auto;
    margin-right: auto;
}

.additional-image img {
    max-width: 100%;
    max-height: 300px; /* Manja visina */
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.no-image {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    color: #888;
    font-style: italic;
}

/* Sakrivanje thumbnailsa i dupliciranih slika */
.thumbnails {
    display: none !important;
}

/* Sekcija detalja proizvoda */
.product-details {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 200;
}

.product-tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    font-weight: 200;
}

.product-volume {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    display: inline-block;
    background-color: #f0f0f0;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 200;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 200;
}

.usage-info, .product-ingredients {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.usage-info h3, .product-ingredients h3, .oil-base-selection h3, .benefits-info h3, .price-display h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 300; /* Malo deblji font za naslove */
}

.usage-info p, .product-ingredients p {
    font-weight: 200;
}

/* Odabir baznog ulja */
.oil-base-selection {
    margin-bottom: 25px;
}

.oil-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.oil-option:hover {
    background-color: #f9f9f9;
}

/* Crni kružići za radio button */
.oil-option input[type="radio"] {
    margin-right: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-radius: 50%;
    outline: none;
    position: relative;
}

.oil-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.oil-option-content {
    display: flex;
    flex-direction: column;
}

.option-name {
    font-weight: 200;
    margin-bottom: 3px;
}

.option-details {
    font-size: 14px;
    color: #666;
    font-weight: 200;
}

/* Prednosti - izmjene za baklava simbole */
.benefits-info {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.benefits-info li {
    font-weight: 200; /* Istanjeno */
    list-style-type: none; /* Bez standardnih oznaka */
    margin-bottom: 5px;
    padding-left: 15px; /* Prostor za baklavu */
    position: relative; /* Za pozicioniranje simbola baklava */
}

/* Cijena */
.price-display {
    margin-bottom: 25px;
}

.product-price {
    font-size: 20px;
    font-weight: 300; /* Usklađeno s poljima za količinu */
    color: #333;
}

/* Sekcija sa akcijama za proizvod */
.product-actions {
    margin-top: 30px;
}

.product-actions-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

/* Izmjena za baklava gumbe umjesto krugova */
.quantity-btn {
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    position: relative;
    transform: rotate(0deg); /* Vraćeno na 0 jer smo dodali baklavu u HTML */
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-btn.minus {
    border-radius: 5px 0 0 5px;
}

.quantity-btn.plus {
    border-radius: 0 5px 5px 0;
}

#quantity {
    width: 45px;
    height: 35px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 300; /* Usklađeno s cijenom */
}

.favorite-button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.favorite-button:hover {
    background-color: #f9f9f9;
}

.favorite-button i {
    color: #ff4d6d;
    font-size: 18px;
}

/* Tanji font za dodaj u ceger dugme */
.add-to-cart {
    width: 100%;
    padding: 12px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 200;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.add-to-cart:hover {
    background-color: #222;
}

.add-to-cart i {
    font-size: 18px;
}

/* Notifikacija */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    font-weight: 200;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responzivna prilagođenja */
@media screen and (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }
    
    .product-images, .product-details {
        width: 100%;
    }
    
    .main-image img {
        max-height: 300px;
    }
    
    .product-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .product-page {
        padding: 15px;
    }
    
    .main-image img {
        max-height: 250px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-actions-row {
        flex-wrap: wrap;
    }
    
    .quantity-controls {
        margin-bottom: 10px;
    }
}
