@charset "UTF-8";
:root {
    --primary-color: #FF4100; /* Orange theme */
    --primary-dark: #D53600;
    --secondary-color: #263238;
    --accent-color: #ffca28; /* For stars or highlights */
    --bg-light: #f5f7f9;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #757575;
    --border-color: #e0e0e0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);

    /* Bootstrap Overrides */
    --bs-primary: #FF4100;
    --bs-primary-rgb: 255, 65, 0;
    --bs-link-color: #FF4100;
    --bs-link-hover-color: #D53600;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 14px; /* Reduced base font size */
    line-height: 1.5;
}

/* Lazy Load Placeholder */
img[loading="lazy"] {
    background-color: #f0f0f0;
    transition: opacity 0.3s ease-in;
}

/* Desktop Minimal Menu */
.main-menu {
    background-color: var(--white);
    padding: 1rem 0;
}

.menu-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.menu-link:hover, .menu-link.active {
    color: var(--primary-color);
}

/* Minimal Underline Effect */
.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu-link:hover::after, .menu-link.active::after {
    width: 100%;
}

/* VIP PLUS Style */
.vip-plus-link {
    font-weight: 700;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}

.vip-plus-link i {
    -webkit-text-fill-color: initial; /* İkonun rengi kaybolmasın diye */
    color: #FFA500;
}

.vip-plus-link::after {
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
}

/* Menu Special Buttons */
.menu-special-btn {
    font-size: 0.85rem;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.menu-special-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(220, 39, 67, 0.2);
}

.instagram-btn:hover {
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
    color: white !important;
}

.vip-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    border: none;
    box-shadow: 0 2px 5px rgba(255, 165, 0, 0.3);
}

.vip-btn:hover {
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.5);
    color: white;
}

/* Header */
.top-bar {
    background-color: var(--white);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.fw-500 {
    font-weight: 500;
}

.main-header {
    background-color: var(--white);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Gradient */
.logo-gradient {
    background: linear-gradient(45deg, #FF4100, #d500f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Menu Button */
.menu-btn-hover {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.menu-btn-hover:hover {
    background-color: #f0f0f0;
    border-color: #e0e0e0;
}

/* Search Bar */
.search-wrapper input {
    background-color: #f3f5f7 !important;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.search-wrapper input:focus {
    background-color: var(--white) !important;
    box-shadow: 0 0 0 2px var(--primary-color); /* Orange focus ring */
    outline: none;
}

.search-wrapper button i {
    color: #999;
    transition: color 0.2s;
}

.search-wrapper input:focus + button i {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions-wildberries a {
    transition: color 0.2s;
    min-width: 60px;
}

.header-actions-wildberries a:hover i,
.header-actions-wildberries a:hover span {
    color: var(--primary-color) !important;
}

.header-actions-wildberries i {
    margin-bottom: 2px;
}

/* Badge */
.badge-cart {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef5350;
    color: white;
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
    border-radius: 10px;
}

/* Swiper Slider Customization */
.mySwiper .swiper-slide {
    width: 1000px;
    height: 400px;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(1px);
    border-radius: 24px;
    overflow: hidden;
}

.mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.05); /* Aktif olan biraz daha büyüsün */
    filter: blur(0);
    z-index: 2;
    box-shadow: none; /* Alt gölge kaldırıldı */
}

.top-thin-banner {
    height: 60px;
}

/* Pagination Konumlandırma */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 6px; /* Daha minimal nokta */
    height: 6px;
    transition: all 0.3s ease;
    background: #d6d6d6;
    opacity: 1;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
    width: 24px; /* Daha ince ve zarif bar */
    height: 6px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255, 65, 0, 0.2);
}

/* Hero slider gri bar temizliği */
.swiper.mySwiper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.swiper.mySwiper .swiper-wrapper {
    padding-bottom: 0 !important;
    background: transparent !important;
}
.swiper.mySwiper .swiper-pagination {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

@media (max-width: 768px) {
    .mySwiper .swiper-slide {
        width: 90%;
        height: 250px;
        transform: scale(0.9);
    }
    
    .mySwiper .swiper-slide-active {
        transform: scale(1);
    }
    
    .top-thin-banner {
        display: block !important;
    }
}

/* Hero Section */
/* Removed old hero-banner styles as they are replaced by bootstrap carousel */

/* Categories */
/* Removed old category-item/icon styles as they are replaced by image banners */

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Animated Background Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out;
    pointer-events: none;
}
.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 128, 8, 0.2);
    top: -100px;
    right: -100px;
}
.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 215, 0, 0.15);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Flash Sales / Special Offers */
.flash-sale-section {
    background-color: var(--white); /* White background */
    border-radius: var(--radius-lg);
    padding: 1.5rem; /* Reduced padding */
    overflow: hidden;
    border: 1px solid #f0f0f0; /* Light border for separation */
}

.flash-header {
    background: linear-gradient(to right, #FF4100, #FF6E40);
    color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem; /* Reduced padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.product-card {
    background-color: var(--white);
    border-radius: 24px; /* More rounded */
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); /* Softer shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.card-img-wrapper {
    position: relative;
    padding-top: 110%; /* Increased height for vertical look */
    overflow: hidden;
    background-color: #f8f9fa;
    margin: 12px; /* Inner spacing */
    border-radius: 18px; /* Inner radius */
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    padding: 20px; /* Increased padding for better spacing */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FF4100, #ffca28);
    color: white;
    padding: 6px 12px;
    border-radius: 30px; /* Pill shape */
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 65, 0, 0.2);
}

.card-body {
    padding: 0 1.5rem 1.5rem 1.5rem; /* Increased padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.05rem; /* Slightly larger */
    font-weight: 700;
    margin-bottom: 0.8rem; /* More space */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1.5rem; /* More space before button */
    margin-top: auto; /* Push to bottom if content is short */
}

.current-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.old-price {
    text-decoration: line-through;
    color: #9e9e9e;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-add-cart {
    width: 100%;
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: none;
    border-radius: 50px; /* Pill button */
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none;
}

.btn-add-cart:hover, .btn-add-cart:focus, .btn-add-cart:active {
    background: linear-gradient(45deg, #FF4100, #FF6E40);
    color: white !important;
    box-shadow: 0 8px 20px rgba(255, 65, 0, 0.25);
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
}

.product-card:hover .btn-add-cart i {
    transform: translateX(3px) rotate(-10deg);
}

/* Promo Banners */
.promo-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 180px; /* Reduced from 200px */
    display: flex;
    align-items: center;
    padding: 1.5rem; /* Reduced padding */
    color: var(--white);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.promo-banner:hover {
    transform: scale(1.01);
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: var(--primary-color) !important;
}

/* Footer */
footer {
    background-color: var(--white);
    padding-top: 2rem; /* Reduced padding */
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem; /* Reduced footer font size */
}

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

.footer-links, .footer-links ul, .footer-links li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 0.6rem !important;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* WhatsApp Online Pulse Animation */
.online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #28a745;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #28a745;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #28a745;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.whatsapp-support-footer {
    margin-top: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.whatsapp-support-footer:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #28a745;
    transform: translateY(-2px);
}

.whatsapp-support-footer .support-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
}

.whatsapp-support-footer .support-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #212529;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.whatsapp-support-footer .support-link i {
    color: #28a745;
    font-size: 1.1rem;
}

.whatsapp-support-footer .support-link:hover {
    color: #28a745;
    text-decoration: none;
}

.whatsapp-support-footer .support-hours {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.whatsapp-support-footer .support-hours i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-banner {
        text-align: center;
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .hero-image {
        position: relative;
        transform: none;
        max-width: 200px;
        margin: 2rem auto 0;
    }
    
    .flash-header {
        margin-bottom: 1rem;
    }
}

@media (min-width: 992px) {
    .col-lg-five {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Category Header Responsive */
@media (max-width: 767px) {
    .category-header-container {
        height: 150px !important;
    }
    
    .category-header-container h1 {
        font-size: 1.8rem !important;
    }
}

/* Offcanvas Category Menu Styles */
.offcanvas {
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    border: none;
}

.offcanvas-header {
    background: linear-gradient(135deg, #FF4100, #FF6E40); /* Orange gradient header */
}

.category-list {
    padding: 15px;
}

.category-list .list-group-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    border-radius: 16px; /* Modern rounded corners */
    margin-bottom: 8px; /* Space between items */
    background-color: transparent;
}

.category-list .list-group-item:hover {
    background-color: #fff5f2; /* Very light orange tint */
    transform: translateX(5px);
    box-shadow: none;
}

.category-list .arrow-icon {
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.category-list .list-group-item:hover .arrow-icon {
    transform: translateX(3px);
    color: var(--primary-color) !important;
    opacity: 1;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px; /* Squircle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.category-list .list-group-item:hover .icon-box {
    transform: scale(1.1);
}

.border-bottom-light {
    border-bottom: none !important; /* Remove separators for card style */
}

/* Compact Product Card for Smaller Columns */
.product-card-compact .current-price {
    font-size: 0.9rem; /* Reduced from 1rem */
    white-space: nowrap;
    letter-spacing: -0.5px; /* Tighter spacing */
}

.product-card-compact .old-price {
    font-size: 0.7rem; /* Reduced from 0.75rem */
    white-space: nowrap;
}

.product-card-compact .btn-add-cart {
    padding: 6px 4px; /* Reduced padding */
    font-size: 0.75rem;
    height: 32px; /* Fixed height */
}

.product-card-compact .product-title {
    font-size: 0.85rem;
    margin-bottom: 0.2rem; /* Reduced from 0.4rem */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    line-height: 1.3em;
}

.product-card-compact .card-body {
    padding: 0 0.6rem 0.8rem 0.6rem; 
}

.product-card-compact .price-container {
    margin-bottom: 0.2rem; /* Reduced from 0.3rem */
    gap: 4px; 
    flex-wrap: wrap;
    align-items: center; 
}

.product-card-compact .product-rating {
    font-size: 0.75rem;
    margin-bottom: 0.2rem; /* Added margin control */
}

.product-card-compact .product-rating i {
    font-size: 0.7rem;
}

.product-card-compact .stock-status {
    font-size: 0.7rem;
    font-weight: 600;
}

/* Color Utilities for Icons */
.bg-blue-light { background-color: #e3f2fd; }
.text-blue { color: #1976d2; }

.bg-orange-light { background-color: #fff3e0; }
.text-orange { color: #f57c00; }

.bg-pink-light { background-color: #fce4ec; }
.text-pink { color: #c2185b; }

.bg-green-light { background-color: #e8f5e9; }
.text-green { color: #388e3c; }

.bg-teal-light { background-color: #e0f2f1; }
.text-teal { color: #00796b; }

.bg-red-light { background-color: #ffebee; }
.text-red { color: #d32f2f; }

.bg-dark-light { background-color: #eceff1; }
.text-dark-custom { color: #263238; }

.bg-rainbow-light { 
    background: linear-gradient(135deg, #fce4ec, #e3f2fd); 
}
.text-purple { color: #7b1fa2; }

/* Swiper CLS Fixes & Navigation */
.categorySwiper .swiper-slide,
.categoryProductSwiper .swiper-slide {
    width: 50%; /* Default mobile width */
    box-sizing: border-box;
}

/* Category Slider Breakpoints */
@media (min-width: 640px) {
    .categorySwiper .swiper-slide { width: 33.33%; }
}
@media (min-width: 768px) {
    .categorySwiper .swiper-slide { width: 25%; }
}
@media (min-width: 1024px) {
    .categorySwiper .swiper-slide { width: 20%; }
}
@media (min-width: 1200px) {
    .categorySwiper .swiper-slide { width: 16.66%; }
}

/* Product Slider Breakpoints */
@media (min-width: 640px) {
    .categoryProductSwiper .swiper-slide { width: 50%; }
}
@media (min-width: 768px) {
    .categoryProductSwiper .swiper-slide { width: 33.33%; }
}
@media (min-width: 1024px) {
    .categoryProductSwiper .swiper-slide { width: 25%; }
}
@media (min-width: 1200px) {
    .categoryProductSwiper .swiper-slide { width: 20%; }
}

.categorySwiper, .categoryProductSwiper {
    padding: 10px 5px;
    overflow: hidden; /* Prevent overflow before JS loads */
}

/* Custom Navigation Buttons */
.categorySwiper .swiper-button-next,
.categorySwiper .swiper-button-prev,
.categoryProductSwiper .swiper-button-next,
.categoryProductSwiper .swiper-button-prev {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #333;
}

.categorySwiper .swiper-button-next:after,
.categorySwiper .swiper-button-prev:after,
.categoryProductSwiper .swiper-button-next:after,
.categoryProductSwiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

.categorySwiper .swiper-button-disabled,
.categoryProductSwiper .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* Fırsat Ürünü (Deal Product) Styles */
@keyframes border-glow {
    0%, 100% { border-color: #ff9800; box-shadow: 0 0 5px rgba(255, 152, 0, 0.5); }
    50% { border-color: #ff5722; box-shadow: 0 0 15px rgba(255, 87, 34, 0.7); }
}

.product-card-deal {
    border: 2px solid #ff9800 !important;
    animation: border-glow 2s infinite;
    position: relative;
}

.product-card-deal .price-container {
    background-color: #fff3e0;
    padding: 5px 10px;
    border-radius: 8px;
    width: fit-content;
}

.product-card-deal .current-price {
    color: #e65100;
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
