/* Product Detail Page Styles */
:root {
    --primary-color: #198754;
    --secondary-color: #20c997;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Logo */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Header Top - Mobile Slogan Animation */
.header-top {
    position: relative;
    overflow: hidden;
}

.slogan-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slogan-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: scroll-slogans 15s linear infinite;
    gap: 4rem;
    align-items: center;
}

.slogan-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.slogan-item small {
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.instagram-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

    .instagram-button:hover {
        transform: scale(1.1);
        color: white;
        box-shadow: 0 6px 25px rgba(225, 48, 108, 0.6);
    }

@media (min-width: 768px) and (max-width: 991.98px) {
    .instagram-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }

    .thumbnail-images .thumb {
        width: 60px;
        height: 60px;
    }
}

@keyframes scroll-slogans {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Desktop: Hide mobile slogan scroll */
@media (min-width: 768px) {
    .slogan-scroll-wrapper {
        display: none;
    }
}

/* Mobile: Hide desktop phone number */
@media (max-width: 767.98px) {
    .header-top .col-md-6:first-child {
        display: none;
    }
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Header Buttons - Minimal Style */
.navbar .btn-minimal {
    background: transparent;
    border: none;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.navbar .btn-minimal:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
}

.navbar .btn-minimal i {
    font-size: 1.1rem;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.navbar .dropdown-item {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.navbar .dropdown-item i {
    color: var(--primary-color);
    width: 20px;
}

.navbar .dropdown-divider {
    margin: 0.5rem 0;
    opacity: 0.1;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--light-color);
}

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

/* Product Images */
.product-images {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 820px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;

}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

/*.thumbnail-images {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumb {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary-color);
}

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

.thumbnail-images .thumb {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

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

.thumbnail-images .thumb:hover,
.thumbnail-images .thumb.active {
    border-color: #198754;
}


/* Product Price Section */
.price-display {
    margin: 1.5rem 0;
}

.current-price-wrapper {
    text-align: center;
}

.current-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #198754;
    letter-spacing: -1px;
    display: inline-block;
}

.current-price::after {
    content: ' TL';
    font-size: 1.5rem;
    font-weight: 700;
    color: #198754;
}

/* Product Info Section */
.product-info-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Product Info */
.product-info-detail {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-code {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-count {
    color: #666;
    font-size: 0.95rem;
}

.product-price {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #999;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-description {
    line-height: 1.8;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-features li:last-child {
    border-bottom: none;
}

/* Quantity Selector */
.quantity-input {
    width: 150px;
}

.quantity-input input {
    border-left: none;
    border-right: none;
}

.quantity-input button {
    width: 40px;
}

/* Product Meta */
.product-meta {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.meta-item {
    padding: 0.5rem 0;
}

.meta-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Social Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Product Tabs */
.product-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 0;
}

.product-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    padding: 0.75rem 1rem;
    margin: 0;
    font-size: 0.95rem;
    white-space: nowrap;
}

.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: none;
}

.product-tab-content {
    background: white;
    padding: 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Reviews */
.review-stats {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
}

.average-rating .stars {
    color: #ffc107;
    font-size: 1.5rem;
}

.rating-breakdown {
    padding: 1rem;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.rating-row span:first-child {
    min-width: 70px;
}

.rating-row .progress {
    flex-grow: 1;
    height: 8px;
}

.rating-row span:last-child {
    min-width: 40px;
    text-align: right;
}

.reviews-list {
    margin-top: 2rem;
}

.review-item {
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-text {
    color: #666;
    line-height: 1.6;
}

/* Add Review */
.add-review {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
}

.star-rating {
    font-size: 2rem;
    color: #ddd;
}

.star-rating i {
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating i:hover,
.star-rating i.active {
    color: #ffc107;
}

/* Related Products */
.related-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-product-image {
    height: 250px;
    overflow: hidden;
    background: var(--light-color);
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-product-info h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-info .price {
    margin-top: auto;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.info-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-card-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    color: #666;
}

.nutrition-facts,
.nutrition-table {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.nutrition-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.nutrition-row:last-child {
    border-bottom: none;
}

.nutrition-row span:first-child {
    font-weight: 500;
}

.nutrition-row span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Product Actions Section */
.product-actions-section {
    border-top: 1px solid #eee;
    padding-top: 2rem;
    margin-top: 1rem;
}

.action-buttons {
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    background: #1a1a1a !important;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: #adb5bd;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .current-price {
        font-size: 2rem;
    }
    
    .current-price::after {
        font-size: 1.2rem;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
}

/* Alert Notifications */
.alert-error {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-success {
    background-color: #198754 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-info {
    background-color: #0dcaf0 !important;
    color: #212529 !important;
    border: none !important;
    font-weight: 500 !important;
}

.alert-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .product-price-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .current-price::after {
        font-size: 1.1rem;
    }
    
    .old-price {
        font-size: 1rem;
    }
    
    .old-price::after {
        font-size: 1rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-info-section {
        padding: 1.5rem;
    }
    
    .product-info-detail {
        padding: 1.5rem;
    }
    
    .thumbnail-images {
        overflow-x: auto;
    }
    
    .thumb {
        min-width: 80px;
        height: 80px;
    }
    
    .info-card {
        margin-bottom: 1.5rem;
    }
    
    .info-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .info-card-title {
        font-size: 1.1rem;
    }
    
    .product-tabs .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .footer .col-lg-3,
    .footer .col-lg-4,
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center !important;
    }
    
    .footer-payment-icons,
    .footer-badges {
        justify-content: center;
    }
}

