/* ========================================
   PetNoktasi - Main Stylesheet
   ======================================== */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #FDB913;
    --secondary-color: #FF6B6B;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --border-color: #E0E0E0;
    --bg-light: #F8F9FA;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --border-radius: 12px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-content,
.header-content,
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: calc(100vh - 400px);
    padding-bottom: 40px;
}

/* ========================================
   Header Structure
   ======================================== */
.header-classic {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.header-lg {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-nav {
    width: 100%;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.top-menu {
    display: flex;
}

.j-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu-item {
    margin: 0;
}

.menu-item a {
    color: #666;
    font-size: 12px;
    transition: var(--transition);
}

.menu-item a:hover {
    color: var(--primary-color);
}

.links-text {
    display: inline-block;
}

.third-menu {
    display: flex;
    gap: 20px;
}

/* ========================================
   Mid Bar (Logo, Search, Cart)
   ======================================== */
.mid-bar {
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.mid-bar .container {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.desktop-logo-wrapper {
    display: flex;
    align-items: center;
}

#logo a {
    display: flex;
    align-items: center;
}

#logo img {
    max-height: 50px;
    width: auto;
}

/* Search */
.desktop-search-wrapper {
    max-width: 600px;
    width: 100%;
}

#search {
    position: relative;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 10px 50px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.search-button:hover {
    color: var(--primary-color);
}

/* Cart & Actions */
.classic-cart-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.secondary-menu .j-menu {
    gap: 15px;
}

.desktop-cart-wrapper {
    position: relative;
}

.cart-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.cart-heading:hover {
    color: var(--primary-color);
}

.fa-shopping-cart {
    position: relative;
    font-size: 20px;
}

.cart-label {
    font-size: 12px;
    font-weight: 500;
}

.count-badge {
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.count-zero {
    background: #ccc;
}

/* ========================================
   Main Menu
   ======================================== */
.desktop-main-menu-wrapper {
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.desktop-main-menu-wrapper .container {
    padding: 0 20px;
}

.main-menu {
    display: flex;
    justify-content: center;
}

.main-menu .j-menu {
    gap: 0;
}

.main-menu-item a {
    padding: 15px 20px;
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.main-menu-item a:hover {
    color: var(--primary-color);
    background: #fafafa;
}

/* ========================================
   Hero Slider (Eski - Kullanılmıyor)
   ======================================== */
/* Yeni hero slider CSS dosyanın sonunda */

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    background: var(--primary-color);
    color: #333;
    padding: 12px 30px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #E5A812;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: #333;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Sections
   ======================================== */
.section,
.categories-section,
.featured-products,
.category-products-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.featured-products {
    position: relative;
    padding: 0 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all-link {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.view-all-link:hover {
    color: #E5A812;
    transform: translateX(5px);
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* ========================================
   Product Grid
   ======================================== */
.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.static-grid {
    grid-template-columns: repeat(5, 1fr);
}

.static-grid .product-card:nth-child(n+11) {
    display: none;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    display: block;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-badge.featured {
    background: var(--primary-color);
    color: #333;
}

.product-badge.out-of-stock {
    background: #dc3545;
    color: white;
}

.stock-warning {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 600;
    margin: 8px 0;
    text-align: center;
}

.product-stock-info {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    background: #f8f9fa;
}

.stock-available {
    color: #28a745;
    font-size: 14px;
    margin: 0;
}

.stock-available i {
    margin-right: 4px;
}

.stock-detail {
    color: #6c757d;
    font-size: 12px;
    font-weight: normal;
}

.stock-unavailable {
    color: #dc3545;
    font-size: 14px;
    margin: 0;
}

.stock-unavailable i {
    margin-right: 4px;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-brand {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-description {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    margin-top: auto;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 15px;
}

.price-badge {
    background: var(--primary-color);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.btn-add-cart,
.btn-block {
    background: var(--primary-color);
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    font-size: 14px;
}

.btn-add-cart:hover,
.btn-block:hover {
    background: #E5A812;
    transform: translateY(-2px);
}

/* ========================================
   Products Slider
   ======================================== */
#featured-products-grid {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.products-slider-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.products-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.products-slider .product-card {
    flex: 0 0 calc((100% - (4 * 24px)) / 5);
    min-width: calc((100% - (4 * 24px)) / 5);
}

.products-slider .product-image {
    height: 280px;
}

.products-slider .product-info {
    padding: 20px;
}

/* Featured Product Card Overlay */
.featured-product-card .product-image {
    position: relative;
}

.product-brand-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.featured-product-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-add-to-cart {
    background: var(--primary-color);
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-cart:hover {
    background: #E5A812;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 185, 19, 0.4);
}

.btn-add-to-cart i {
    font-size: 16px;
}

.slider-nav {
    position: absolute;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    font-size: 20px;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slider-prev {
    left: -70px;
}

.slider-next {
    right: -70px;
}

.slider-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #333;
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(253, 185, 19, 0.3);
}

.slider-nav i {
    pointer-events: none;
}

/* ========================================
   Category Grid
   ======================================== */
.category-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 13px;
    color: var(--text-light);
}

.category-card.large {
    grid-column: span 2;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px;
    color: white;
}

.category-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.category-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* ========================================
   Features
   ======================================== */
.features,
.features-section {
    margin: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3,
.feature-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Newsletter
   ======================================== */
.newsletter {
    background: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 60px 0;
}

.newsletter h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter p {
    margin-bottom: 20px;
    color: #333;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    background: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #222;
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #BDC3C7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin: 15px 0 0 0;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Footer
   ======================================== */
.footer {
    background: #2C3E50;
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: white;
}

.footer-section p {
    color: #BDC3C7;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #BDC3C7;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #333;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #BDC3C7;
    font-size: 14px;
}

/* ========================================
   Cart Summary
   ======================================== */
.cart-summary {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .static-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-page {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 5 kategoriden 3'e düşüyor tablet'te */
    
    .products-slider .product-card {
        flex: 0 0 calc((100% - (2 * 24px)) / 3);
        min-width: calc((100% - (2 * 24px)) / 3);
    }
}

@media (max-width: 768px) {
    .mid-bar .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .desktop-logo-wrapper {
        justify-content: center;
    }
    
    .desktop-search-wrapper {
        max-width: 100%;
    }
    
    .classic-cart-wrapper {
        justify-content: center;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .product-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .static-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-slider .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
    }
    
    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: -55px;
    }
    
    .slider-next {
        right: -55px;
    }
    
    .featured-products {
        padding: 0 65px;
    }
}

@media (max-width: 480px) {
    .product-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .static-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 240px;
    }
    
    .category-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 5px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .products-slider .product-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    #featured-products-grid {
        gap: 0;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .featured-products {
        padding: 0 20px;
    }
}


/* ========================================
   Products Page Specific Styles
   ======================================== */
.products-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 30px 0;
}

.filters-sidebar {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filters-sidebar h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.products-content {
    min-width: 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.sort-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sort-options select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-light);
}

/* Page title */
.page-title {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-number {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.page-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-number.active {
    background: var(--primary-color);
    color: #333;
    border-color: var(--primary-color);
    font-weight: 600;
}

.page-dots {
    padding: 8px 4px;
    color: var(--text-light);
}


/* ========================================
   Orders Page Styles
   ======================================== */
.orders-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
    font-size: 16px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    background: var(--bg-light);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.order-info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.order-info-item {
    display: flex;
    flex-direction: column;
}

.order-info-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.order-info-value {
    font-size: 14px;
    font-weight: 600;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #dbeafe; color: #1e40af; }
.status-processing { background: #e0e7ff; color: #3730a3; }
.status-shipped { background: #ddd6fe; color: #5b21b6; }
.status-delivered { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.order-body {
    padding: 24px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-image {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-variant {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.item-quantity {
    font-size: 14px;
    color: var(--text-light);
}

.item-price {
    text-align: right;
    font-size: 16px;
    font-weight: 600;
}

.order-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 14px;
    color: var(--text-light);
}

.summary-total {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.order-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.btn-outline {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}


/* ========================================
   Paw Loader Animation
   ======================================== */
#svg-sprite {
    display: none;
}

.ajax-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.ajax-loader.active {
    display: flex;
}

.ajax-loader .paw {
    width: 40px;
    height: 40px;
    margin: 0 8px;
    animation: pawBounce 1.4s infinite ease-in-out both;
}

.ajax-loader .paw svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.ajax-loader .paw:nth-child(1) {
    animation-delay: -0.32s;
}

.ajax-loader .paw:nth-child(2) {
    animation-delay: -0.16s;
}

.ajax-loader .paw:nth-child(3) {
    animation-delay: 0s;
}

.ajax-loader .paw:nth-child(4) {
    animation-delay: 0.16s;
}

.ajax-loader .paw:nth-child(5) {
    animation-delay: 0.32s;
}

.ajax-loader .paw:nth-child(6) {
    animation-delay: 0.48s;
}

@keyframes pawBounce {
    0%, 80%, 100% {
        transform: scale(0) translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1) translateY(-20px);
        opacity: 1;
    }
}

/* Loading text için (opsiyonel) */
.loading {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}


/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
    color: white;
}

.hero-slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    max-width: 700px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease-out;
}

.hero-slide-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 600px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-slide-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: white;
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-slide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #f9fafb;
}

.hero-slide-button i {
    transition: transform 0.3s ease;
}

.hero-slide-button:hover i {
    transform: translateX(4px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Arrows */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #111827;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-slider-prev {
    left: 24px;
}

.hero-slider-next {
    right: 24px;
}

/* Dots Navigation */
.hero-slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-slider-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slider-container {
        height: 400px;
    }
    
    .hero-slide-content {
        padding: 0 60px;
    }
    
    .hero-slide-title {
        font-size: 42px;
    }
    
    .hero-slide-subtitle {
        font-size: 18px;
    }
    
    .hero-slider-arrow {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 350px;
        border-radius: 12px;
    }
    
    .hero-slide-content {
        padding: 0 40px;
    }
    
    .hero-slide-title {
        font-size: 32px;
    }
    
    .hero-slide-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-slide-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .hero-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-slider-prev {
        left: 16px;
    }
    
    .hero-slider-next {
        right: 16px;
    }
    
    .hero-slider-dots {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 300px;
    }
    
    .hero-slide-content {
        padding: 0 24px;
    }
    
    .hero-slide-title {
        font-size: 24px;
    }
    
    .hero-slide-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-slide-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .hero-slider-prev {
        left: 12px;
    }
    
    .hero-slider-next {
        right: 12px;
    }
    
    .hero-slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-slider-dot.active {
        width: 24px;
    }
}


/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */

.product-detail {
    margin: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-image-main {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.product-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 10px 10;
}

.product-title {
    font-size: 22px;
    font-weight: 500;
    margin: 2 2 16px 2;
    color: #111827;
    line-height: 1.3;
}

.product-brand {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

.product-brand strong {
    color: #374151;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.price-old {
    font-size: 20px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-current {
    font-size: 32px;
    font-weight: 700;
    color: #ef4444;
}

.product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6b7280;
    margin: 24px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin: 32px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    width: 48px;
    height: 56px;
    border: none;
    background: #f9fafb;
    color: #374151;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #e5e7eb;
}

.quantity-selector input {
    width: 80px;
    height: 56px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.quantity-selector input::-webkit-inner-spin-button,
.quantity-selector input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-actions .btn {
    flex: 1;
    height: 56px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-description {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.product-description h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #111827;
}

.product-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}

.related-products {
    margin: 80px 0 60px 0;
}

.related-products .section-title {
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }
    
    .price-current {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        justify-content: center;
    }
}


/* ========================================
   PROFILE PAGE
   ======================================== */

.profile-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin: 40px 0;
}

.profile-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-avatar-section {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    overflow: hidden;
    border: 4px solid #f3f4f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initials {
    font-size: 48px;
    font-weight: 700;
}

.profile-menu {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item:hover {
    background: #f9fafb;
    color: #111827;
}

.profile-menu-item.active {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
    border-left: 4px solid #3b82f6;
}

.profile-menu-item.text-danger {
    color: #ef4444;
}

.profile-menu-item.text-danger:hover {
    background: #fef2f2;
}

.profile-menu-item i {
    width: 20px;
    text-align: center;
}

.profile-content {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 40px;
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.profile-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.profile-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-header h2 i {
    color: #3b82f6;
}

.profile-header p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.profile-form {
    max-width: 600px;
}

.profile-form .form-group {
    margin-bottom: 24px;
}

.profile-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.profile-form label i {
    color: #3b82f6;
    width: 16px;
}

.profile-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
}

.profile-form .form-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.profile-form .form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.form-actions .btn {
    padding: 14px 32px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .profile-menu-item {
        border-bottom: none;
        border-right: 1px solid #f3f4f6;
    }
    
    .profile-menu-item:last-child {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .profile-content {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .profile-menu {
        grid-template-columns: 1fr;
    }
    
    .profile-menu-item {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }
}


/* ========================================
   USER MENU DROPDOWN
   ======================================== */

.user-menu {
    position: relative;
}

.user-menu > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 8px;
    transition: all 0.2s;
}

.user-menu > a:hover {
    background: #e5e7eb;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background: #f9fafb;
    color: #3b82f6;
    padding-left: 24px;
}


/* ========================================
   Cart Page Styles
   ======================================== */

.cart-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

.cart-items {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.cart-item-details p {
    margin: 4px 0;
    font-size: 14px;
    color: #6b7280;
}

.item-price {
    font-weight: 600;
    color: #059669;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity input {
    width: 50px;
    text-align: center;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-item-total {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

.btn-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
}

.btn-remove:hover {
    color: #dc2626;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    margin: 0 0 12px 0;
    color: #1f2937;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 24px;
}

.cart-summary {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1f2937;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-total {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    border-top: 2px solid #1f2937;
    border-bottom: none;
    margin-top: 12px;
    padding-top: 16px;
}

.free-shipping-info {
    background: #d1fae5;
    color: #065f46;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin: 12px 0;
    text-align: center;
}

.btn-block {
    width: 100%;
    margin-top: 12px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
}

.btn-secondary {
    background: #f3f4f6;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .cart-page {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
    }
    
    .cart-item-remove {
        grid-column: 2;
        text-align: right;
    }
    
    .cart-summary {
        position: static;
    }
}


/* ========================================
   Checkout Page Styles
   ======================================== */

.checkout-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-top: 30px;
}

.checkout-section {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-section h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1f2937;
}

.address-card {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    transition: all 0.2s;
}

.address-card:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.address-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.address-radio input {
    margin-top: 4px;
}

.address-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1f2937;
}

.address-details p {
    margin: 4px 0;
    font-size: 14px;
    color: #6b7280;
}

.no-address {
    text-align: center;
    padding: 40px 20px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.payment-method input:checked + label {
    border-color: #3b82f6;
    background: #eff6ff;
}

.order-notes {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    resize: vertical;
}

.checkout-sidebar {
    height: fit-content;
    position: sticky;
    top: 20px;
}

.order-summary {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
}

.order-summary h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #1f2937;
}

.summary-items {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .checkout-page {
        grid-template-columns: 1fr;
    }
    
    .checkout-sidebar {
        position: static;
    }
}


/* ========================================
   My Addresses Page Styles
   ======================================== */

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.address-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.address-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: #dbeafe;
    color: #1e40af;
}

.address-body p {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.address-body p strong {
    color: #1f2937;
}

.address-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h2 {
    margin: 0 0 12px 0;
    color: #1f2937;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 24px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #1f2937;
}

.btn-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.btn-close:hover {
    color: #1f2937;
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .address-actions {
        flex-direction: column;
    }
}


/* ========================================
   My Orders Page Styles
   ======================================== */

.order-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.order-info h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #1f2937;
}

.order-date {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.order-body {
    padding: 20px;
}

.order-items {
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    color: #1f2937;
}

.item-quantity {
    color: #6b7280;
    margin: 0 16px;
}

.item-price {
    font-weight: 600;
    color: #059669;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
    font-size: 18px;
}

.order-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
}


/* ========================================
   Order Success Page Styles
   ======================================== */

.order-success-page {
    background: #f9fafb;
    min-height: 100vh;
}

.success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-icon {
    text-align: center;
    font-size: 80px;
    color: #10b981;
    margin-bottom: 24px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-container h1 {
    text-align: center;
    color: #1f2937;
    margin: 0 0 12px 0;
    font-size: 32px;
}

.success-message {
    text-align: center;
    color: #6b7280;
    font-size: 18px;
    margin-bottom: 40px;
}

.order-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.order-info-item:last-child {
    border-bottom: none;
}

.order-info-item .label {
    color: #6b7280;
    font-weight: 500;
}

.order-info-item .value {
    color: #1f2937;
    font-weight: 600;
}

.order-items-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.order-items-section h3 {
    margin: 0 0 20px 0;
    color: #1f2937;
    font-size: 20px;
}

.order-items-list {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    color: #1f2937;
    font-weight: 500;
}

.item-sku {
    color: #9ca3af;
    font-size: 14px;
}

.item-quantity {
    color: #6b7280;
    margin: 0 20px;
}

.item-price {
    color: #059669;
    font-weight: 600;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.success-info {
    text-align: center;
    padding: 20px;
    background: #eff6ff;
    border-radius: 8px;
    color: #1e40af;
}

.success-info i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .success-icon {
        font-size: 60px;
    }
    
    .success-container h1 {
        font-size: 24px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .order-item {
        flex-wrap: wrap;
    }
    
    .item-quantity {
        margin: 0;
    }
}
