/* Genel Deşişkenler */
:root {
    --primary: #81c408;
    --secondary: #ff6922;
    --light: #F6FFF2;
    --dark: #263A4F;
}

/* Genel Stiller */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

/* Navbar Stilleri */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.navbar-brand {
    font-weight: bold;
}

/* Ana Sayfa Stiller */
.container {
    flex: 1;
}

/* Slider */
.main-slider {
    height: 500px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    height: 500px;
    display: flex;
    align-items: center;
}

.slider-content {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.slider-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.slider-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.slider-content img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Slider Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

/* Slider Pagination */
.swiper-pagination {
    bottom: 20px;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: #333;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Ürün Kartı Genel Stili */
.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    height: 100%;
    /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    z-index: 1;
    padding-top: 100%;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card .card-body {
    padding: 15px;
    flex-grow: 1;
    /* Allow body to take available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push price/button to bottom */
    padding-top: 0.5rem;
}

.product-card .product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    /* Allow title to wrap */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card .product-title a {
    text-decoration: none;
    color: var(--dark);
}

.product-card .product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-card .btn-primary {
    width: auto;
    /* Allow button to size based on content */
    padding: 5px 10px;
    font-size: 0.9rem;
}

/* Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.product-grid .col {
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Öne Ã‡ıkan Ürünler */
.featured-products {
    padding: 40px 0;
    background-color: #fff;
}

.featured-products .section-title {
    margin-bottom: 30px;
    color: var(--dark);
    font-weight: 700;
}

/* Ürün Detay Sayfası Stiller */
.product-detail {
    padding: 20px 0;
    background-color: #fff;
}

.product-image-container {
    aspect-ratio: 1/1;
    /* Kare için, oranı ürüne göre ayarlayın */
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s;
}

/* Sadece ana ürün resmi zoom efekti alsın */
.product-image-container.zoomed .main-product-image {
    transform: scale(3);
    transition: transform 0.3s;
}

/* Thumbnail'lar asla büyümesin */
.product-thumbnails img,
.product-thumb {
    transform: none !important;
    transition: none !important;
}

.product-info {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.product-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 25px;
}

.action-buttons {
    display: flex;
    align-items: center;
}

.btn-cart {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    height: 46px;
    width: 180px;
}

.btn-cart:hover {
    background-color: var(--secondary);
}

.btn-like,
.btn-share {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-like:hover,
.btn-share:hover {
    background: var(--primary);
    color: #fff;
}

/* Sepet Stilleri */
.cart-item {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Footer Stilleri */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Form Stilleri */
.minus.form-control,
.plus.form-control {
    padding: 0px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(129, 196, 8, 0.25);
}

/* Fix for quantity input padding */
#add-to-cart-form .quantity-input.form-control {
    padding: 0;
}

/* Admin Panel Stilleri */
.admin-sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
    padding: 20px;
    padding-top: 1rem;
}

.admin-sidebar .nav-link {
    color: #fff;
    padding: 0.5rem 1rem;
}

.admin-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, .1);
}

.admin-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, .2);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .main-slider {
        height: 400px;
    }

    .slider-content {
        padding: 1rem 0;
    }

    .slider-content h2 {
        font-size: 2rem;
    }

    .slider-content .lead {
        font-size: 1.1rem;
    }

    .product-card img {
        height: 300px;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }

    .cart-section .table thead {
        display: none;
    }

    .cart-section .table,
    .cart-section .table tbody,
    .cart-section .table tr,
    .cart-section .table td {
        display: block;
        width: 100%;
    }

    .cart-section .table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
    }

    .cart-section .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
    }

    .cart-section .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    .cart-section .table td[data-label="Ürün"] {
        display: flex;
        align-items: center;
        padding-left: 10px;
        text-align: left;
    }

    .cart-section .table td[data-label="Ürün"]::before {
        display: none;
    }

    .cart-section .table td .input-group {
        display: inline-flex;
        vertical-align: middle;
    }

    .cart-section tfoot td {
        text-align: right !important;
    }

    .cart-section tfoot td strong {
        float: left;
    }
}

/* Ürün Özellikleri */
.product-features {
    margin-top: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Tabs Stilleri */
.product-tabs {
    margin-top: 50px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.nav-tabs {
    border: none;
    padding: 20px 20px 0;
}

.nav-tabs .nav-link {
    border: none;
    background: var(--light);
    color: var(--dark);
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 50px;
    margin-right: 10px;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
}

.nav-tabs .nav-link.active {
    background: var(--primary);
    color: #fff;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    color: #666;
    line-height: 1.8;
}

/* Yorumlar Bölümü */
.review-item {
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark);
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.star-rating {
    color: var(--secondary);
    font-size: 1.2rem;
}

.review-text {
    color: #666;
    line-height: 1.8;
}

/* Yorum Formu */
.review-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.form-label {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 10px;
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s;
    background-color: #fff;
}

.form-control:hover {
    border-color: #dee2e6;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Benzer Ürünler */
.similar-products {
    padding: 50px 0;
    background-color: #fff;
}

.similar-products .product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    height: 100%;
    /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.similar-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.similar-products .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    z-index: 1;
    padding-top: 100%;
    /* Maintain aspect ratio */
}

.similar-products .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-products .card-body {
    padding: 15px;
    background: #fff;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push price/button to bottom */
}

.similar-products .product-title {
    font-size: 1rem;
    /* Adjust font size */
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

.similar-products .product-title a {
    color: var(--dark);
    text-decoration: none;
}

.similar-products .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    /* Ensure price is at the bottom */
}

.similar-products .btn-primary {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 10px;
}

.similar-products .btn-primary:hover {
    background: var(--secondary);
}

.similar-products .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 0;
}

.similar-products .col {
    padding: 0;
}

/* Favori Butonu */
.favorite-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--light);
    padding: 0;
}

.favorite-btn i {
    color: var(--primary);
    font-size: 1.2rem;
}

.favorite-btn:hover {
    background: var(--primary);
}

.favorite-btn:hover i {
    color: white;
}

.favorite-btn.active {
    background: var(--primary);
}

.favorite-btn.active i {
    color: white;
}

/* Hero Section */
.hero-section {
    background-image: url('../images/post-image1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

/* Featured Products */
.featured-products {
    padding: 40px 0;
    background-color: #fff;
}

.featured-products .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 30px;
    margin: 0;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.featured-products .row>[class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0;
    position: relative;
    z-index: 1;
}

.featured-products .product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.featured-products .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    z-index: 1;
    padding-top: 100%;
}

.featured-products .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-products .card-body {
    padding: 15px;
    background: #fff;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-products .product-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.featured-products .product-title a {
    color: var(--dark);
    text-decoration: none;
}

.featured-products .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

.featured-products .btn-primary {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 10px;
}

.featured-products .btn-primary:hover {
    background: var(--secondary);
}

/* Categories Section */
.categories-section {
    padding: 20px 0;
    background: #fff;
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 250px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.category-card:hover .category-overlay {
    background: linear-gradient(rgba(129, 196, 8, 0.8), rgba(129, 196, 8, 0.8));
}

.category-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.5s;
}

.category-card:hover .category-title {
    transform: translateY(-5px);
}

/* Features Section */
.features-section {
    padding: 20px 0;
    /* background-color: var(--light); */
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    transition: all 0.5s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-text {
    color: #666;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Cart Page Styles */
.cart-section {
    padding: 20px 0;
    /* background-color: var(--light); */
}

.cart-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 2rem;
    /* font-weight: 900; */
    text-align: center;
    letter-spacing: 2px;
    color: #263A4F;
    text-shadow: 0 4px 16px rgba(44, 62, 80, 0.10), 0 1px 0 #fff;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-bottom: 0;
    /* background: linear-gradient(90deg, #e8f8f2 0%, #fff 100%); */
    border-radius: 18px;
    /* box-shadow: 0 2px 16px 0 rgba(44, 62, 80, 0.04); */
    min-height: 70px;
    position: relative;
}

.cart-title::before {
    content: '\1F6D2';
    /* 🛒 */
    font-size: 2rem;
    margin-right: 10px;
    color: #8dc63f;
    filter: drop-shadow(0 2px 4px rgba(44, 62, 80, 0.10));
    display: inline-block;
    transition: transform 0.2s;
}

.cart-title:hover::before {
    transform: scale(1.08) rotate(-8deg);
}

.cart-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0%;
    right: 0%;
    bottom: -8px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8dc63f 0%, #b0dfc2 100%);
    opacity: 0.7;
}

.cart-item {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--secondary);
    font-weight: 500;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: #bb2d3b;
    transform: rotate(90deg);
}

.cart-summary {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--light);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.checkout-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.empty-cart i.bi-cart-x {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.empty-cart h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 20px;
}

.shop-now-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(129, 196, 8, 0.3);
}

.shop-now-btn i {
    font-size: 1.5rem;
    margin-top: -2px;
}

.shop-now-btn:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 34, 0.4);
}

/* Product Detail Styles */
.similar-products {
    padding: 50px 0;
    background-color: #fff;
}

.similar-products .product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    height: 100%;
    /* Ensure cards in a row have equal height */
    display: flex;
    flex-direction: column;
}

.similar-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.similar-products .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    z-index: 1;
    padding-top: 100%;
    /* Maintain aspect ratio */
}

.similar-products .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-products .card-body {
    padding: 15px;
    background: #fff;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push price/button to bottom */
}

.similar-products .product-title {
    font-size: 1rem;
    /* Adjust font size */
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

.similar-products .product-title a {
    color: var(--dark);
    text-decoration: none;
}

.similar-products .product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    /* Ensure price is at the bottom */
}

.similar-products .btn-primary {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 10px;
}

.similar-products .btn-primary:hover {
    background: var(--secondary);
}

.similar-products .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 0;
}

.similar-products .col {
    padding: 0;
}

/* Buton Stilleri */
.btn-action {
    background: #1976d2 !important;
    border: none !important;
    border-radius: 5px;
    width: 45px;
    height: 45px;
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}

.btn-action i {
    color: #fff !important;
    font-size: 1.35rem;
    transition: color 0.2s;
}

.btn-action:hover,
.btn-action:focus {
    background: #0d47a1 !important;
    color: #fff !important;
}

.btn-action:hover i,
.btn-action:focus i {
    color: #fff !important;
}

.favorite-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-action i {
    font-size: 1.2rem;
}

.btn-action.cart-status-in,
.btn-action.cart-status-in:focus,
.btn-action.cart-status-in:active {
    background: #8dc63f !important;
    color: #fff !important;
    border: none !important;
}

.btn-action.cart-status-in i {
    color: #fff !important;
}

/* Cart Page Styles */
.cart-section .table td {
    vertical-align: middle;
}

/* product-detail.php'den taşınan stiller */
.product-info .product-title {
    font-size: 1.5rem;
}

.rating-input.stars {
    display: inline-block;
    direction: rtl;
}

.rating-input.stars input[type="radio"] {
    display: none;
}

.rating-input.stars label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
}

.rating-input.stars label:before {
    content: '\2605';
}

.rating-input.stars input[type="radio"]:checked~label:before,
.rating-input.stars label:hover:before,
.rating-input.stars label:hover~label:before {
    color: var(--primary);
}

.rating-input.stars input[type="radio"]:checked~label {
    color: var(--primary);
}

.star-rating .star {
    color: #ccc;
    font-size: 20px;
}

.star-rating .star.filled {
    color: #f5b32f;
}

.hero-section {
    background-image: url('../images/post-image1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

/* From header.php */
:root {
    --primary: #81c408;
    --secondary: #ff6922;
    --light: #F6FFF2;
    --dark: #263A4F;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    margin-top: 0;
}

.btn,
.btn-primary,
.social-card .btn-google,
.social-card .btn-facebook {
    font-weight: 600 !important;
}

.btn-primary {
    min-height: 48px !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

.btn-primary {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

/* Navbar */
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 999;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top .navbar-brand {
    height: 55px;
}

.navbar.sticky-top .navbar-nav .nav-link {
    padding: 20px 15px;
}

/* Header */
.header-top {
    background: var(--primary);
    padding: 10px 0;
}

.header-top a {
    color: #fff;
    text-decoration: none;
}

.header-top i {
    margin-right: 5px;
}

/* Search Bar */
.search-bar {
    position: relative;
}

.search-bar .form-control {
    height: 45px;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 45px;
    border-color: var(--primary);
}

.search-bar .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 35px;
    width: 35px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

/* Cart Button */
.cart-btn {
    position: relative;
    padding: 10px 15px;
    color: var(--dark);
    text-decoration: none;
}

.cart-btn i {
    font-size: 1.5rem;
}

.cart-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.text-dark-grey {
    color: #263A4F !important;
}

.text-light-grey {
    color: #AEB6BF !important;
}

.hero-section {
    background-image: url('../images/post-image1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
}

/* Hide arrows from number input */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

/* Product Detail Quantity Input Height Fix */
#add-to-cart-form .input-group {
    height: 45px;
}

/* Sepet Sayfası Mobil Uyumluluğu */
@media screen and (max-width: 768px) {

    /* Ürün satırlarını kartlara dönüştür */
    .cart-section .table thead {
        display: none;
    }

    .cart-section .table tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        padding: 8px;
        border-radius: 5px;
    }

    .cart-section .table tbody td {
        display: block;
        width: 100%;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .cart-section .table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 8px;
        width: calc(50% - 16px);
        padding-right: 8px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        font-size: 0.9rem;
    }

    .cart-section .table tbody td[data-label="Ürün"] {
        display: flex;
        align-items: center;
        padding-left: 8px;
        text-align: left;
    }

    .cart-section .table tbody td[data-label="Ürün"]::before {
        display: none;
    }

    .cart-section .table tbody td .input-group {
        display: inline-flex;
        vertical-align: middle;
        width: 100px !important;
        justify-content: flex-end;
    }

    /* Toplamlar bölümünü (tfoot) mobil için düzelt */
    .cart-section .table tfoot tr {
        display: table-row;
    }

    .cart-section .table tfoot td {
        display: table-cell;
        text-align: right;
        padding: .5rem;
        white-space: nowrap;
    }

    .cart-section .table tfoot td:first-child {
        text-align: left;
        font-weight: bold;
    }

    /* Reduce cart summary padding on mobile */
    .cart-summary-box {
        padding: 16px 16px 12px 16px;
    }

    .cart-summary-title {
        padding: 14px 16px 10px 16px;
        font-size: 1.3rem;
    }

    /* Reduce spacing between cart items */
    .cart-section .table tbody tr {
        margin-bottom: 10px;
    }

    /* Optimize gift option box for mobile */
    .gift-option-box {
        padding: 12px 16px;
        margin-top: 16px;
    }

    .gift-option-box .form-check {
        margin-bottom: 0;
    }

    /* Reduce shipping promo alert height */
    #shipping-promo-alert {
        height: auto;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hediye Opsiyonu Kutusu */
.gift-option-box {
    border: 1px dashed var(--primary);
    border-radius: 8px;
    padding: 20px;
    background-color: #f6fff2;
}

.gift-option-box .form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
}

.gift-option-box .form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.gift-option-box .form-check-label i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 12px;
}

.gift-option-box .form-check-input {
    float: none;
    margin-left: auto;
}

.gift-option-box .form-check-input {
    border-color: #ced4da;
    margin-top: 0.4rem;
}

/* Kayıt Sayfası Stilleri */
.register-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.register-form-panel,
.register-benefits {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.register-benefits h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.benefit-item .icon {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    width: 40px;
    text-align: center;
}

.benefit-item:nth-of-type(1) .icon {
    color: #2196F3;
}

.benefit-item:nth-of-type(2) .icon {
    color: #9C27B0;
}

.benefit-item:nth-of-type(3) .icon {
    color: #FF9800;
}

.benefit-item:nth-of-type(4) .icon {
    color: #E91E63;
}

.benefit-item:nth-of-type(5) .icon {
    color: #4CAF50;
}

/* Şifre gösterme/gizleme ikonu için stil */
.toggle-password-visibility {
    cursor: pointer;
}

/* Ödeme sayfasındaki kargo logoları için stil */
.shipping-logo {
    height: 35px;
    max-width: 90px;
    width: auto;
    object-fit: contain;
}

/* --- Checkout Page Styles --- */

/* Kargo Seçimi */
.shipping-options-list {
    position: relative;
}

.shipping-option-item {
    position: relative;
    padding-left: 30px;
    /* Make space for timeline */
    margin-bottom: 1rem;
}

/* Timeline line */
.shipping-options-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background-color: #e9ecef;
    border-radius: 2px;
}

.shipping-option-item .shipping-method {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.shipping-option-item .form-check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.shipping-option-item .form-check-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    /* Align with timeline */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #adb5bd;
    z-index: 1;
    transition: all 0.2s ease-in-out;
}

.shipping-option-item .shipping-method:checked+.form-check-label {
    border-color: var(--bs-primary);
    background-color: #f0f8ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.shipping-option-item .shipping-method:checked+.form-check-label::before {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
    transform: scale(1.1);
}

.shipping-option-item .shipping-cost {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--bs-dark);
}

/* Sipariş Özeti */
.summary-item-name {
    flex-basis: 70%;
    font-size: 0.9rem;
    padding-right: 10px;
}

.summary-item-price {
    flex-basis: 30%;
    text-align: right;
    font-weight: 500;
}

/* Sipariş Tamamla Butonu */
#checkout-form .btn-primary {
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.2s;
}

#checkout-form .btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* cart.php'den taşınan özel stiller */
.cart-product-name {
    max-width: 220px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: inline-block;
    vertical-align: middle;
    word-break: break-word;
}

.nowrap {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .cart-product-name {
        max-width: 100%;
        width: 100%;
        display: block;
        text-align: justify;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        margin-bottom: 4px;
    }
}

.cart-summary-header {
    background: #ffb347;
    color: #222;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    padding: 18px 24px 14px 24px;
    margin-bottom: 0;
    text-align: left;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.cart-summary-title {
    background: #b0dfc2;
    color: #388e3c;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 6px 6px 0 0;
    padding: 18px 24px 14px 24px;
    margin-bottom: 0;
    text-align: left;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid #b0dfc2;
}

.cart-summary-box {
    background: #e8f8f2;
    border: 1.5px solid #b0dfc2;
    border-radius: 0 0 6px 6px;
    padding: 24px 24px 16px 24px;
    margin-bottom: 18px;
}

.cart-summary-box table,
.cart-summary-box td,
.cart-summary-box tr {
    background: transparent !important;
    color: #222;
}

.cart-summary-content {
    padding-top: 0;
}

.cart-summary-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 0;
}

.cart-summary-actions .btn {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 6px;
    transition: background 0.2s;
}

.cart-summary-actions .btn-primary {
    background: #8dc63f;
    border-color: #8dc63f;
    color: #fff;
}

.cart-summary-actions .btn-primary:hover {
    background: #7bb12f;
    border-color: #7bb12f;
}

.cart-summary-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.cart-summary-actions .btn-secondary:hover {
    background: #495057;
    border-color: #495057;
    color: #fff;
}

.gift-row {
    display: block;
    margin-top: 32px;
    margin-bottom: 0;
    width: 100%;
}

.gift-option-box {
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
    background: #f8fff2;
    border: 1.5px dashed #b6e388;
    border-radius: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    height: auto;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
}

.gift-option-box .form-check {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.gift-option-box i {
    font-size: 1.4rem;
    margin-right: 8px;
    color: #8dc63f;
}

.gift-option-box strong {
    font-size: 1.05rem;
}

@media (max-width: 991.98px) {
    .cart-summary-title {
        border-radius: 8px 8px 0 0;
    }

    .cart-summary-box {
        border-radius: 0 0 8px 8px;
    }

    .cart-summary-actions {
        flex-direction: column;
        gap: 10px;
    }

    .gift-row {
        margin-top: 20px;
    }

    .gift-option-box {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile cart summary table fixes */
    .cart-summary-box .table {
        margin-bottom: 0;
    }

    .cart-summary-box .table tbody tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }

    .cart-summary-box .table tbody td {
        display: inline-block;
        padding: 0;
        border: none;
        background: transparent !important;
        text-align: left;
        width: auto;
    }

    /* Override any text-end classes on mobile */
    .cart-summary-box .table tbody td.text-end {
        text-align: left !important;
    }

    .cart-summary-box .table tbody td.text-end:last-child {
        text-align: right !important;
    }

    .cart-summary-box .table tbody td:first-child {
        flex: 1;
        text-align: left;
        padding-left: 0;
    }

    .cart-summary-box .table tbody td:last-child {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
        padding-right: 0;
    }

    /* Remove table styling on mobile */
    .cart-summary-box .table,
    .cart-summary-box .table tbody,
    .cart-summary-box .table tbody tr {
        display: block;
        width: 100%;
    }

    .cart-summary-box .table tbody tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .cart-summary-box .table tbody tr:last-child {
        margin-bottom: 0;
        padding-top: 12px;
        border-top: 1px solid #b0dfc2;
        font-weight: bold;
        font-size: 1.1rem;
    }
}

#shipping-promo-alert {
    height: 56px;
    padding: 18px 24px 14px 24px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 0;
    background: #fffbe6;
    border: 1.5px solid #ffe58f;
}

#gift-message-container {
    width: 100%;
    margin-top: 12px;
    display: none;
}

#gift-message {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* footer.php'den taşınan stiller */
footer a.text-dark:hover {
    color: #28a745 !important;
}

/* Custom grey color for footer links and icons */
footer .list-unstyled a.text-dark {
    color: #6c757d !important;
    /* Bootstrap muted grey */
}

footer .list-unstyled a.text-dark:hover {
    color: #28a745 !important;
    /* Bootstrap success green on hover */
}

/* Social Media Icons Hover Colors */
footer .fab.fa-facebook-f:hover {
    color: #1877F2 !important;
}

footer .fab.fa-twitter:hover {
    color: #1DA1F2 !important;
}

footer .fab.fa-instagram:hover {
    color: #E4405F !important;
}

footer .fab.fa-linkedin-in:hover {
    color: #0A66C2 !important;
}

footer .fab.fa-youtube:hover {
    color: #FF0000 !important;
}

footer .fab.fa-pinterest-p:hover {
    color: #E60023 !important;
}

footer .fab.fa-whatsapp:hover {
    color: #25D366 !important;
}

@media (max-width: 991.98px) {
    .cart-title {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 1.05rem;
        font-weight: 500;
        text-align: center;
        letter-spacing: 0.2px;
        color: #263A4F;
        background: none;
        border-bottom: 2.5px solid #8dc63f;
        text-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding-bottom: 6px;
        box-shadow: none;
        border-radius: 0;
        min-height: unset;
    }

    .cart-title::before {
        content: '\1F6D2';
        /* 🛒 */
        font-size: 1.1em;
        margin-right: 4px;
        color: #8dc63f;
        display: inline-block;
        filter: none;
        transition: none;
    }

    .cart-title::after {
        display: none;
    }

    .cart-section .container {
        padding-top: 0 !important;
    }
}

/* ---- Login & Social Login Page Custom Styles ---- */
body {
    background: #fff;
}

.login-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.login-section .row {
    align-items: stretch !important;
}

.login-card,
.social-card {
    border-radius: 10px;
    box-shadow: none;
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-card {
    border: 2px solid #e3eaf1;
}

.login-card .card-header,
.social-card .card-header {
    background: none;
    border: none;
    padding-bottom: 0.5rem;
}

.login-card .card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a7f37;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4267B2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-card .desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.social-card .btn-lg {
    font-size: 1.25rem;
    min-height: 48px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-weight: 600;
}

.social-card .btn-google,
.social-card .btn-facebook {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    /* font-size: 1.15rem !important; */
    min-height: 44px !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: none !important;
}

.social-card .btn-google i,
.social-card .btn-facebook i {
    color: #fff !important;
}

.social-card .btn-google:hover,
.social-card .btn-facebook:hover {
    background: #6ea307 !important;
    color: #fff !important;
}

.social-card .btn-google {
    background: #ea4335 !important;
    color: #fff !important;
    border: none !important;
    /* font-size: 1.25rem !important; */
    min-height: 48px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: none !important;
}

.social-card .btn-google:hover {
    background: #c23321 !important;
}

.social-card .btn-google i {
    color: #fff !important;
}

.social-card .btn-facebook {
    background: #4267B2 !important;
    color: #fff !important;
    border: none !important;
    /* font-size: 1.25rem !important; */
    min-height: 48px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    box-shadow: none !important;
}

.social-card .btn-facebook:hover {
    background: #29487d !important;
}

.social-card .btn-facebook i {
    color: #fff !important;
}

@media (max-width: 991px) {
    .login-section .row>div {
        margin-bottom: 2rem;
    }

    .login-card,
    .social-card {
        min-height: unset;
    }
}

.cart-status-in {
    background-color: #8dc63f !important;
    color: #fff !important;
    border-color: #8dc63f !important;
}

.cart-status-out {
    background: #fff !important;
    color: #ff9800 !important;
    border: 1.5px solid #ff9800 !important;
}

.cart-status-out:hover,
.cart-status-out:focus {
    background: #fff3e0 !important;
    color: #ff9800 !important;
    border: 1.5px solid #ff9800 !important;
}

.cart-status-out i,
.cart-status-out:hover i,
.cart-status-out:focus i {
    color: #ff9800 !important;
}

.cart-status-in {
    background: #8dc63f !important;
    color: #fff !important;
    border: none !important;
}

.cart-status-in i {
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .mobile-top-actions a {
        color: #388e3c !important;
        text-decoration: none !important;
        font-weight: 600;
        transition: color 0.2s;
    }

    .mobile-top-actions a:hover {
        color: #256022 !important;
    }

    .mobile-top-actions i {
        color: #388e3c !important;
        transition: color 0.2s;
    }

    .mobile-top-actions a:hover i {
        color: #256022 !important;
    }
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    height: 40px;
    min-height: 40px;
    width: 45%;
    min-width: 110px;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
}

.modal-footer .btn-primary {
    min-height: 40px !important;
    height: 40px !important;
}

.modal-footer .btn-secondary,
.modal-footer .btn-danger {
    height: 40px;
    min-height: 40px;
    width: 45%;
    min-width: 110px;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
}

.share-modal .modal-footer .btn-primary,
.share-modal .modal-footer .btn-secondary {
    height: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
}

.featured-products .btn-primary,
.product-card .btn-primary {
    height: 40px !important;
    min-height: 40px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem !important;
    font-weight: 600;
    border-radius: 12px;
}

.btn-action.incele-btn {
    background: #fff !important;
    border: 1.5px solid #e3e6ea !important;
    color: #6c757d !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn-action.incele-btn i {
    color: #6c757d !important;
}

.btn-action.incele-btn:hover,
.btn-action.incele-btn:focus {
    background: #f1f3f4 !important;
    color: #343a40 !important;
    border-color: #cfd8dc !important;
}

.btn-action.incele-btn:hover i,
.btn-action.incele-btn:focus i {
    color: #343a40 !important;
}

.btn-action i,
.cart-status-in i,
.cart-status-out i,
.incele-btn i {
    font-size: 1.2rem !important;
}

/* Beğen ve paylaş butonları (varsayılan) */
.btn-action.favorite-btn,
.btn-action.btn-share {
    background: #fff;
    color: #28a745;
    /* yeşil */
    border: 1px solid #e0e0e0;
    transition: background 0.2s, color 0.2s;
}

/* Beğen aktif (tıklandıysa) */
.btn-action.favorite-btn.active {
    background: #28a745;
    color: #fff;
    border: 1px solid #28a745;
}

/* Paylaş butonu her zaman beyaz arka plan ve yeşil ikon */
.btn-action.btn-share {
    background: #fff;
    color: #28a745;
    border: 1px solid #e0e0e0;
}

/* İkonlar için boyut ve ortalama */
.btn-action i {
    font-size: 1.4rem;
    vertical-align: middle;
}

/* Breadcrumb stilini özelleştir */
.breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: #bbb;
    padding: 0 8px;
    font-weight: 400;
}

.breadcrumb a {
    color: #28a745;
    text-decoration: none;
    font-weight: 400;
}

.breadcrumb a:hover {
    color: #1e7e34;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #28a745;

}