/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-orange: #ff6000;
    --primary-orange-dark: #e55400;
    --primary-orange-light: #ff8533;

    /* Secondary Colors */
    --success-green: #00c896;
    --warning-yellow: #ffc107;
    --danger-red: #dc3545;
    --info-blue: #0dcaf0;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f5f5f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #9da0a5;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 0.91rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ============================================================================
   Base Styles & Reset
============================================================================ */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Styles */
a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-orange-dark);
}

/* Button Overrides */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
    border: none;
    text-transform: none;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-orange-dark);
    color: var(--white);
}

.btn-outline-primary {
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

/* ============================================================================
   Top Banner
============================================================================ */

.top-banner {
    background: linear-gradient(90deg, var(--primary-orange) 0%, #ff8533 100%);
    padding: 0.5rem 0;
    font-size: var(--font-size-sm);
}

.plus-offer {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 0.25rem 0.75rem;
}

.offer-price {
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--white);
}

.top-links a {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.top-links a:hover {
    opacity: 1;
    color: var(--white) !important;
}

/* ============================================================================
   Header
============================================================================ */

.header-main {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: -0.5px;
}

/* Search Bar */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
    border-right: none;
}

.search-input:focus {
    border-color: var(--primary-orange);
    box-shadow: none;
    outline: none;
}

.search-btn {
    background-color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    color: var(--white);
    padding: 0.75rem 1.5rem;
}

.search-btn:hover {
    background-color: var(--primary-orange-dark);
    border-color: var(--primary-orange-dark);
}

/* User Actions */
.user-actions {
    gap: 0.5rem;
}

.user-btn, .cart-btn {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem;
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.user-btn:hover, .cart-btn:hover {
    color: var(--primary-orange);
}

.cart-badge {
    top: -5px;
    right: -5px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Categories Menu */
.categories-menu {
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.categories-toggle {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 600;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
}

.categories-toggle:hover {
    background-color: var(--gray-200);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--font-size-base);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
}

/* Mobile Search */
.mobile-search {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-toggle {
    color: var(--gray-700);
}

/* ============================================================================
   Category Icons Section
============================================================================ */

.category-icons-section {
    background-color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.category-icons-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-icons-slider::-webkit-scrollbar {
    display: none;
}

.category-icon {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.category-icon:hover {
    transform: translateY(-2px);
}

.category-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--gray-200);
    transition: border-color var(--transition-fast);
}

.category-icon:hover img {
    border-color: var(--primary-orange);
}

.category-icon span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-weight: 500;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================================
   Story Navigation
============================================================================ */

.story-navigation {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.story-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.story-slider::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.story-item:hover {
    transform: scale(1.02);
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-item span {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================================================================
   Main Content
============================================================================ */

.main-content {
    padding: 2rem 0;
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0;
}

/* ============================================================================
   Product Cards
============================================================================ */

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 0;
}

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

/* Ürün etiketleri */
.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.product-badges .badge {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

/* Favori buton */
.favorite-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
}

.product-card:hover .favorite-btn {
  opacity: 1;
  transform: scale(1);
}

.favorite-btn:hover {
  background-color: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

/* Ürün bilgi alanı */
.product-info {
  padding: 0.9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Marka */
.product-brand {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Başlık */
.product-title {
  font-size: 0.88rem;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

/* Fiyat alanı (ekleyebilirsin) */
.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-orange);
}

.product-price-old {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

@media (max-width: 576px) {
  .product-info {
    padding: 0.75rem 0.9rem;
  }

  .product-title {
    font-size: 0.85rem;
  }

  .product-pricing {
    font-size: 0.9rem;
  }
}



.rating {
    font-weight: 700;
    color: var(--gray-800);
    font-size: var(--font-size-sm);
}

.stars {
    display: flex;
    gap: 1px;
}

.stars i {
    color: #ffc107;
    font-size: 0.8rem;
}

.review-count {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.product-price {
    margin-top: auto;
}

.price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-800);
}

.coupon-info {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-orange);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

/* Flash Cards */
.flash-card {
    border: 2px solid var(--warning-yellow);
    position: relative;
}

.flash-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--warning-yellow), var(--primary-orange));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

/* ============================================================================
   Flash Deals Section
============================================================================ */

.flash-deals {
    background-color: var(--white);
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.flash-header {
    background: linear-gradient(135deg, var(--warning-yellow), var(--primary-orange));
    margin: -2rem -15px 2rem -15px;
    padding: 1.5rem 15px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    color: var(--white);
}

.countdown-time {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-size-lg);
    font-family: monospace;
}

/* ============================================================================
   Footer
============================================================================ */

.footer {
    background-color: var(--gray-800);
    color: var(--gray-300);
}

.footer-top {
    padding: 3rem 0 2rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: var(--font-size-lg);
}

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

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

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

.footer-middle {
    padding: 2rem 0;
}

.footer-middle h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-icons, .social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-icon {
    height: 24px;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.payment-icon:hover {
    opacity: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-700);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.footer-legal {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    text-decoration: none;
}

.footer-legal:hover {
    color: var(--white);
}

/* ============================================================================
   Mobile Bottom Navigation
============================================================================ */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: #ffffff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 58px;
}

.mobile-bottom-nav a {
  color: #444;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease-in-out;
}

.mobile-bottom-nav a i {
  font-size: 20px;
  margin-bottom: 2px;
  color: #888;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a:focus {
  color: #222;
}

.mobile-bottom-nav a.active i {
  color: #000;
}

.mobile-bottom-nav a.active span {
  font-weight: 600;
  color: #000;
}


/* ============================================================================
   Sidebar Components
============================================================================ */

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    height: 100%;
    width: 350px;
    max-width: 90vw;
    background-color: var(--white);
    z-index: var(--z-modal);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
}

.sidebar.active {
    transform: translateX(0);
}

/* Right Sidebar */
.cart-sidebar,
.user-sidebar {
    right: 0;
    transform: translateX(100%);
}

.cart-sidebar.active,
.user-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: between;
    align-items: center;
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 600;
    color: var(--gray-800);
}

.close-sidebar {
    color: var(--gray-600);
    font-size: 1.2rem;
    padding: 0;
    margin-left: auto;
}

.close-sidebar:hover {
    color: var(--gray-800);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Mobile Navigation */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
    background-color: var(--gray-50);
    color: var(--primary-orange);
}

.mobile-nav-link i {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

/* User Menu */
.user-links {
    margin-top: 1rem;
}

.user-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.user-link:hover {
    background-color: var(--gray-50);
    color: var(--primary-orange);
}

.user-link i {
    margin-right: 1rem;
    font-size: 1.1rem;
    width: 20px;
}

/* Empty Cart */
.empty-cart i {
    color: var(--gray-400);
}

/* ============================================================================
   Single Product Page Styles
============================================================================ */

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--gray-500);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.breadcrumb-item a:hover {
    color: var(--primary-orange);
}

.breadcrumb-item.active {
    color: var(--gray-800);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

/* Product Detail Main */
.product-detail-main {
    background-color: var(--white);
    padding: 2rem 0;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--gray-50);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image .product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.main-image .product-badges .badge {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
}

.favorite-btn-large {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.favorite-btn-large:hover,
.favorite-btn-large.favorited {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 10;
}

.main-image:hover .image-nav-btn {
    opacity: 1;
}

.image-nav-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Thumbnail Images */
.thumbnail-images {
    margin-top: 1rem;
}

.thumbnail-slider {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
}

.thumbnail-slider::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-slider::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 2px;
}

.thumbnail-slider::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 2px;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    object-fit: cover;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

/* Product Info Section */
.product-info-section {
    padding: 0 1rem;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-brand {
    font-size: var(--font-size-lg);
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: var(--font-size-2xl);
    color: var(--gray-800);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* Product Rating */
.product-rating {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-800);
}

.review-link,
.question-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.review-link:hover,
.question-link:hover {
    text-decoration: underline;
}

/* Product Highlights */
.product-highlights {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.highlight-item small {
    color: var(--gray-600);
    margin-left: 0.5rem;
}

/* Coupon Banner */
.coupon-banner {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.coupon-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coupon-content i {
    font-size: 1.5rem;
}

/* Product Stats */
.product-stats {
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--font-size-sm);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item i {
    font-size: 1.2rem;
}

/* Price Section */
.price-section {
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.current-price {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-800);
    display: block;
    margin-bottom: 0.5rem;
}

.installment-info {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.installment-price {
    color: var(--primary-orange);
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Product Options */
.product-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    font-size: var(--font-size-base);
}

.color-options,
.size-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.color-option.active {
    border-color: var(--primary-orange);
    transform: scale(1.1);
}

.color-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: currentColor;
}

.size-option {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background-color: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    min-width: 50px;
    text-align: center;
}

.size-option:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.size-option.active {
    border-color: var(--primary-orange);
    background-color: var(--primary-orange);
    color: var(--white);
}

.size-guide {
    margin-top: 0.5rem;
}

/* Delivery Info */
.delivery-info {
    margin-bottom: 1.5rem;
}

.delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.delivery-item:last-child {
    border-bottom: none;
}

.delivery-item i {
    font-size: 1.2rem;
    color: var(--primary-orange);
    margin-top: 0.2rem;
}

/* Payment Options */
.payment-options {
    margin-bottom: 1.5rem;
}

.payment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-item i {
    font-size: 1.2rem;
    color: var(--primary-orange);
    margin-top: 0.2rem;
}

.payment-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.payment-item small {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* Coupon Section */
.coupon-section {
    margin-bottom: 2rem;
}

.coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background-color: var(--gray-50);
}

.coupon-badge {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--font-size-lg);
    min-width: 80px;
    text-align: center;
}

.coupon-details {
    flex: 1;
    margin-left: 1rem;
}

/* Add to Cart Section */
.add-to-cart-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.quantity-selector button:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: 600;
    height: 40px;
}

/* Mobile Sticky Cart */
.mobile-sticky-cart {
    position: fixed;
    bottom: 0; /* Above mobile nav */
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 1rem;
    z-index: var(--z-fixed);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-cart-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.sticky-product-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.sticky-price .price {
    font-weight: 700;
    color: var(--gray-800);
    display: block;
    font-size: var(--font-size-lg);
}

.sticky-price .installment {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.sticky-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.favorite-btn-mobile {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Product Features Section */
.product-features {
    background-color: var(--gray-50);
    padding: 2rem 0;
}

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

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '•';
    color: var(--primary-orange);
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.75rem;
}

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

/* Product Specifications */
.product-specifications {
    background-color: var(--white);
    padding: 2rem 0;
}

.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-orange);
}

.spec-label {
    font-weight: 600;
    color: var(--gray-700);
}

.spec-value {
    color: var(--gray-800);
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--gray-50);
    padding: 2rem 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.overall-rating {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rating-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stars-large {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.rating-details p {
    margin: 0.25rem 0;
    color: var(--gray-600);
}

.size-recommendation {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Reviews List */
.reviews-list {
    margin-bottom: 2rem;
}

.review-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
}

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

.reviewer-info strong {
    color: var(--gray-800);
    font-weight: 600;
}

.review-date {
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    margin-left: 1rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1rem;
}

.review-details {
    margin-bottom: 1rem;
}

.review-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.verified {
    color: var(--success-green);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.review-actions {
    display: flex;
    gap: 0.5rem;
}

/* Related Products */
.related-products {
    background-color: var(--white);
    padding: 2rem 0;
}

.related-products h3 {
    margin-bottom: 2rem;
}

/* ============================================================================
   Responsive Design
============================================================================ */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .category-icon span {
        font-size: 0.7rem;
        max-width: 60px;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .story-item {
        width: 120px;
        height: 80px;
    }

    .footer-top {
        padding: 2rem 0 1rem;
    }

    /* Adjust padding for mobile navigation */
    body {
        padding-bottom: 70px;
    }

    /* Single Product Mobile Styles */
    .product-detail-main .row {
        flex-direction: column;
    }

    .product-images {
        position: static;
        margin-bottom: 2rem;
    }

    .main-image .image-nav-btn {
        opacity: 1;
    }

    .thumbnail-slider {
        gap: 0.25rem;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .product-title {
        font-size: var(--font-size-xl);
    }

    .current-price {
        font-size: var(--font-size-2xl);
    }

    .rating-stars {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-highlights {
        flex-direction: column;
    }

    .color-options,
    .size-options {
        gap: 0.25rem;
    }

    .size-option {
        padding: 0.5rem 0.75rem;
        min-width: 45px;
    }

    .color-option {
        width: 35px;
        height: 35px;
    }

    .specifications-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .spec-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .overall-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rating-large {
        font-size: 2.5rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Mobile sticky cart adjustments */
    .mobile-sticky-cart {
        bottom: 0px;
    }

    .sticky-cart-content {
        gap: 0.5rem;
    }

    .sticky-product-image {
        width: 40px;
        height: 40px;
    }

    .sticky-price .price {
        font-size: var(--font-size-base);
    }

    .favorite-btn-mobile {
        width: 44px;
        height: 44px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .category-icons-slider {
        gap: 2rem;
    }

    .story-item {
        width: 140px;
        height: 90px;
    }

    .specifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .overall-rating {
        flex-direction: row;
    }

    .review-header {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .mobile-search {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .category-icons-slider {
        justify-content: center;
        overflow: visible;
    }

    .story-slider {
        justify-content: center;
        overflow: visible;
    }

    .mobile-sticky-cart {
        display: none !important;
    }

    .product-images {
        position: sticky;
        top: 100px;
        height: fit-content;
    }
}

@media (min-width: 992px) {
    .main-content {
        padding: 3rem 0;
    }

    .category-icons-section {
        padding: 2rem 0;
    }

    .story-navigation {
        padding: 1.5rem 0;
    }

    .specifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-header {
        flex-direction: row;
    }

    .overall-rating {
        flex-direction: row;
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ============================================================================
   Animation & Keyframes
============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.4s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ============================================================================
   Utility Classes
============================================================================ */

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

.bg-orange {
    background-color: var(--primary-orange) !important;
}

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

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: var(--radius-lg);
}

.transition-all {
    transition: all var(--transition-normal);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Print Styles */
@media print {
    .header-main,
    .mobile-bottom-nav,
    .sidebar,
    .sidebar-overlay,
    .top-banner {
        display: none !important;
    }

    body {
        background-color: white !important;
        color: black !important;
    }

    .product-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

.categories-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    padding: 1rem 0;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    z-index: var(--z-dropdown);
}

.categories-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.categories-dropdown .dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.categories-dropdown .dropdown-content a {
    padding: 0.75rem 1.25rem;
    color: var(--gray-800);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: var(--radius-md);
}

.categories-dropdown .dropdown-content a:hover {
    background-color: var(--gray-100);
    color: var(--primary-orange);
}

.nav-item-with-dropdown {
  position: relative;
}

.dropdown-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  display: none;
  min-width: 240px;
  z-index: var(--z-dropdown);
  flex-direction: column;
}

.nav-item-with-dropdown:hover .dropdown-submenu {
  display: flex;
}

.dropdown-submenu a {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.dropdown-submenu a:hover {
  background-color: var(--gray-100);
  color: var(--primary-orange);
}

@media (max-width: 991px) {
  .main-nav {
    flex-direction: column;
    gap: 0;
  }

  .nav-item-with-dropdown {
    width: 100%;
  }

  .dropdown-submenu {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0.25rem 0;
  }

  .dropdown-submenu.show {
    display: flex;
  }

  .dropdown-submenu a {
    padding: 0.5rem 1.25rem;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-link.has-submenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1rem;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.mobile-nav-link.has-submenu:hover {
  background-color: var(--gray-100);
  color: var(--primary-orange);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--gray-50);
  display: flex;
  flex-direction: column;
}

.mobile-submenu.show {
  max-height: 500px; /* Alt kategori sayısına göre artırılabilir */
}

.mobile-submenu a {
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  transition: background-color 0.2s ease;
}

.mobile-submenu a:hover {
  background-color: var(--gray-100);
  color: var(--primary-orange);
}

.single-product-page .mobile-bottom-nav {
  display: none !important;
}

.product-card {
  width: 100%;
  max-width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #f9f9f9;
}

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1;
}

.badge {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 6px;
  color: white;
}

.badge-orange {
  background: #ff6000;
}

.badge-green {
  background: #28a745;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 6px;
  font-size: 14px;
  cursor: pointer;
  color: #888;
}

.favorite-btn:hover {
  background-color: #ff6000;
  color: white;
  border-color: #ff6000;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  min-height: 36px;
}

.product-rating {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-price .price {
  font-size: 16px;
  font-weight: bold;
  color: #ff6000;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  margin-top: 4px;
}

.product-meta span {
  background-color: #f1f1f1;
  padding: 4px 8px;
  border-radius: 4px;
  color: #333;
}

.category-icons-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.category-icon {
    flex: 0 0 auto;
    text-align: center;
    width: 100px;
}

.category-icon img {
    width: 80px;
    height: 80px;
}

.category-icon span {
    font-size: var(--font-size-xs);
    max-width: 100px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MASAÜSTÜ İÇİN WRAP VE ORTALA */
@media (min-width: 768px) {
    .category-icons-slider {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
    }
}

.logo {
  max-height: 45px;
}

/* Mobil görünüm için (örnek: 768px altı ekranlar) */
@media (max-width: 768px) {
  .logo {
    float: right;
    margin-right: 160px;
    max-height:40px;
  }
}

.premium-slider {
  background-color: #f8f9fa;
  position: relative;
}

.swiperMain {
  width: 100%;
  max-height: 450px;
  position: relative;
}

.swiperMain img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Arrows */
.swiper-button-next,
.swiper-button-prev {
  color: rgba(174, 174, 174, 0.4);
  background-color: rgba(255, 255, 255, 0.6);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: rgba(174, 174, 174, 0.4);
  background-color: rgba(255, 255, 255, 0.9);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

/* Thumbnails */
.swiperThumbs {
  width: 100%;
}

.swiperThumbs .swiper-slide {
  width: auto;
  opacity: 0.5;
  transition: 0.3s ease;
  margin-right: 10px;
}

.swiperThumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiperThumbs img {
  height: 60px;
  border-radius: 6px;
  object-fit: contain;
  border: 2px solid transparent;
}

.swiperThumbs .swiper-slide-thumb-active img {
  border-color: #ff6600;
}

/* === Mobile: 6 Thumb görünsün === */
@media (max-width: 768px) {
  .swiperMain {
    max-height: 250px;
  }

  .swiperThumbs {
    padding: 0 4px;
  }

  .swiperThumbs .swiper-slide {
    width: 16.6666% !important;  /* 6 thumb */
    margin-right: 0 !important;
  }

  .swiperThumbs img {
    height: 40px;
    width: 100%;
    object-fit: cover;
  }
}
/* Swiper Arrows: Şık, duyarlı ve zarif */
.swiper-button-next,
.swiper-button-prev {
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.6);
  color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.85);
  color: rgba(0, 0, 0, 0.8);
}

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

/* Konumlandırma */
.swiper-button-prev {
  left: 10px;
}
.swiper-button-next {
  right: 10px;
}

/* Mobil için boyut küçült */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

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

  .swiper-button-prev {
    left: 6px;
  }

  .swiper-button-next {
    right: 6px;
  }
}

/* Arama dropdown */
.collapsed-search {
  position: absolute;
  top: 65px;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.collapsed-search.active {
  max-height: 80px;
  opacity: 1;
}

/* Mobil iconlar yan yana */
@media (max-width: 768px) {
  .user-actions {
    gap: 10px !important;
  }
  .user-actions .btn {
    padding: 8px 10px !important;
  }
  .user-actions i {
    font-size: 22px !important;
  }
}

#desktopUserMenuToggle,
#favoritesToggle {
  background-color: #888;
  color: white !important;
  border-radius: 6px;
  padding: 12px 20px !important;  /* ✅ Daha geniş */
  font-size: 16px !important;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
}

#favoritesToggle {
  background: linear-gradient(45deg, #a855f7, #6b21a8) !important;
}

#cartToggle {
  background-color: #ff6600 !important;
  color: white !important;
  border-radius: 6px;
  padding: 12px 20px !important;
  font-size: 16px !important;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
}

/* Hover davranışı */
#desktopUserMenuToggle:hover,
#favoritesToggle:hover,
#cartToggle:hover {
  color: white !important;
  filter: brightness(1.05);
  text-decoration: none !important;
}

.collapsed-search {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}
.collapsed-search.active {
  max-height: 80px;
  opacity: 1;
}

.mobile-search {
  position: absolute; /* fixed DEĞİL */
  top: 135px; /* header’dan hemen sonra */
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1100;
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-search.active {
  display: block;
  max-height: 100px;
  opacity: 1;
}

.header-main {
  position: relative;
  z-index: 1000;
}

.premium-banner {
  background: linear-gradient(90deg, #8a2387, #e94057, #f27121);
  color: white;
  position: relative;
  z-index: 757;
  height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  overflow: hidden;
}

.marquee {
  display: flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  animation: scroll-left 20s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
}

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

.swiperThumbs {
    margin-top: 0 !important; /* mt-3'ü sıfırla */
    height: 100px; /* Küçük resimlerin yüksekliğini sabitle */
}
.swiperThumbs .swiper-slide img {
    height: 100px; /* Resim yüksekliğini sabitle */
    object-fit: cover; /* Resimlerin taşmasını önle */
}

.premium-slider {
    background-color: #F5F5F5; /* Çok açık gri arka plan */
}

.footer-middle .row {
    display: flex;
    flex-wrap: wrap;
}

/* Ortak sütun stilleri */
.footer-middle .col {
    flex: 1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Başlık + ikon container'ları dikeyde hizalanacak */
.payment-methods,
.social-media {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Desktop görünüm */
@media (min-width: 768px) {
    .footer-middle .row {
        justify-content: space-between;
        align-items: center;
    }

    /* Sol sütun (Güvenli Alışveriş) sola yaslı */
    .footer-middle .col:first-child {
        align-items: flex-start;
        text-align: left;
    }

    /* Sağ sütun (Sosyal Medya) sağa yaslı */
    .footer-middle .col:last-child {
        align-items: flex-end;
        text-align: right;
    }

    /* İkonları hizala */
    .payment-icons,
    .social-icons {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .payment-icons {
        justify-content: flex-start;
    }

    .social-icons {
        justify-content: flex-end;
    }
}

/* Mobile görünüm */
@media (max-width: 767.98px) {
    .footer-middle .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-middle .col {
        align-items: center;
    }

    .payment-icons,
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* İkon görselleri */
.payment-icon {
    height: 32px;
}

.social-icon {
    font-size: 24px;
    color: #555;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #000;
}

.footer {
  background-color: #f8f9fa;
  color: #000;
  font-size: 0.9rem;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #000;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-links a {
  color: #000;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon.facebook { background-color: #3b5998; }
.social-icon.instagram { background-color: #e1306c; }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.twitter { background-color: #000; }

.footer-bottom {
  background-color: #000;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
}

.footer-bottom a {
  color: #fff;
  margin: 0 5px;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom .row > div {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .footer-bottom .row > div {
    margin-bottom: 0;
  }
}

/* === Ana Slider === */
.swiperMain {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}

.swiperMain .swiper-slide {
  height: 100%;
}

.swiperMain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Thumbnail Slider === */
.swiperThumbs {
  width: 100%;
  padding: 0;
}

.swiperThumbs .swiper-wrapper {
  display: flex;
}

.swiperThumbs .swiper-slide {
  flex: 1 0 16.6666%; /* 6 eşit thumb */
  opacity: 0.5;
  transition: 0.3s ease;
  margin-right: 0;
}

.swiperThumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiperThumbs img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
}

.swiperThumbs .swiper-slide-thumb-active img {
  border-color: #ff6600;
}

@media (max-width: 768px) {
  .swiperMain {
    aspect-ratio: 3 / 2;
    max-height: 250px;
  }

  .swiperMain img {
    object-fit: scale-down;
  }
}

/* === Mobil Görünüm === */
@media (max-width: 768px) {
  .swiperMain {
    aspect-ratio: 16 / 9;
  }

  .swiperThumbs .swiper-slide {
    flex: 1 0 16.6666% !important;
  }

  .swiperThumbs img {
    height: 40px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

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

/* === Overlay === */
.custom-login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 40, 40, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

/* === Modal Box === */
.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* === Header === */
.modal-header {
  background: linear-gradient(90deg, #8a2387, #e94057, #f27121);
  padding: 16px 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h5 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* === Body === */
.modal-body {
  padding: 24px 20px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 12px;
  background: #fff;
  font-size: 0.95rem;
  color: #333;
}

/* === Button Styles === */
.btn-orange {
  background-color: #ff6600;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  padding: 10px 0;
}

.btn-outline-orange {
  background-color: white;
  color: #ff6600;
  border: 2px solid #ff6600;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 0;
}

.btn-orange:hover,
.btn-outline-orange:hover {
  opacity: 0.9;
}


