.product-media-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-media-slider .carousel-item {
    height: 400px;
}

.product-media-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-slider .video-slide {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.product-media-slider .video-slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.media-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.media-thumb.active {
    border-color: var(--primary-green);
}

.media-thumb:hover {
    transform: translateY(-3px);
}

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

.media-thumb.video-thumb::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.efficiency-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    color: #333;
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    z-index: 10;
}

.efficiency-badge .percent {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.efficiency-badge .label {
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.kullanim-kilavuzu-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--primary-green);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kullanim-kilavuzu-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.2) 100%);
    transform: translateY(-3px);
}

.kullanim-kilavuzu-btn i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* XL Modal Stilleri */
.modal-xl .modal-content {
    border-radius: 20px;
    border: none;
}

.modal-xl .modal-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 25px 30px;
}

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

.modal-xl .modal-body {
    padding: 30px;
}

.guide-section {
    margin-bottom: 30px;
}

.guide-section h6 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dosage-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dosage-table th {
    background: var(--primary-green);
    color: white;
    padding: 15px;
    font-weight: 600;
}

.dosage-table th:first-child {
    border-radius: 10px 0 0 0;
}

.dosage-table th:last-child {
    border-radius: 0 10px 0 0;
}

.dosage-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.dosage-table tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.dosage-table tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

.dosage-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dosage-badge.toprak {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-green);
}

.dosage-badge.yaprak {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

/* Ana slider yüksekliğini 400px yapalım */
.product-media-slider .carousel-item {
    height: 400px !important;
    background-color: #000; /* Video yüklenirken siyah arka plan */
}

/* Video konteynerini tüm alanı kaplamaya zorla */
.video-slide-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Iframe'i kesin olarak %100 yap */
.video-slide-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Resimlerin de 400px'e uyumlu olması için */
.product-media-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmin tamamını görmek için contain, alanı doldurmak için cover yapabilirsin */
}