/**
 * AndyWawa E-Commerce Styles
 * AndyWawa Inspired Design - Soft Cream & Coral Theme
 */

:root {
    /* AndyWawa Color Palette */
    --primary-color: #C85A4A;
    --primary-dark: #A84A3C;
    --primary-light: #DC6B5A;
    --secondary-color: #333333;
    --accent-color: #EDE8E0;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #FAF8F5;
    --bg-cream: #F5F1EB;
    --bg-warm: #EDE8E0;
    --border-color: #E5E0D8;
    --success-color: #5A8F5A;
    --danger-color: #C85A4A;
    --warning-color: #D4A84A;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--bg-light);
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Bootstrap Overrides */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 10px 24px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

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

/* ==========================================
   HEADER STYLES - Kitikate Inspired
   ========================================== */

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
}

.top-bar a:hover {
    color: #fff;
}

/* Main Header */
.header {
    background: var(--bg-light);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: -1px;
}

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

/* Search Box */
.search-box {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.search-box .form-control {
    height: 44px;
    border: 2px solid var(--border-color);
    border-radius: 22px;
    padding: 0 50px 0 20px;
    font-size: 14px;
    transition: var(--transition);
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-box .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Icons - Modern Kitikate Style */
.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icons > a,
.header-icons > .dropdown > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    min-width: 70px;
    background: transparent;
}

.header-icons > a:hover,
.header-icons > .dropdown > a:hover,
.header-icons > .dropdown.show > a {
    background: var(--bg-light);
    color: var(--primary-color);
}

.header-icons > a i,
.header-icons > .dropdown > a i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.header-icons > a:hover i,
.header-icons > .dropdown > a:hover i {
    transform: scale(1.1);
}

.header-icons > a span,
.header-icons > .dropdown > a span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Cart Badge */
.header-icons .badge,
.header-icons #cart-count {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(227, 30, 36, 0.3);
    animation: none;
}

.header-icons .badge:empty,
.header-icons #cart-count:empty {
    display: none;
}

/* Dropdown styling for header */
.header-icons .dropdown-toggle::after {
    display: none;
}

.header-icons .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
}

.header-icons .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.header-icons .dropdown-item i {
    width: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.header-icons .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.header-icons .dropdown-item:hover i {
    color: var(--primary-color);
}

.header-icons .dropdown-item-text {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Cart icon specific styling */
.header-icons a[href="/sepet"] {
    position: relative;
}

.header-icons a[href="/sepet"] i {
    color: var(--primary-color);
}

/* Navigation Menu */
.main-nav {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.main-nav .navbar-nav {
    width: 100%;
    justify-content: center;
}

.main-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 14px;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.main-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 220px;
}

.main-nav .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--secondary-color);
}

.main-nav .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-content .btn {
    background: var(--primary-color);
    border: none;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
}

.hero-content .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100);
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border: none;
}

.carousel-indicators button.active {
    background: var(--primary-color);
}

/* ==========================================
   BANNER SECTION (3 Column)
   ========================================== */
.banner-section {
    padding: 40px 0;
}

.banner-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    display: block;
    transition: var(--transition);
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: #fff;
}

.banner-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.banner-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.banner-overlay .btn {
    background: var(--primary-color);
    border: none;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--border-radius);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    background: var(--bg-light);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-item h6 {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--secondary-color);
}

.feature-item small {
    color: var(--text-muted);
    font-size: 12px;
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.section-header p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-header .btn-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.section-header .btn-link:hover {
    color: var(--primary-dark);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-light);
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.product-card .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 3px;
}

.product-card .badge-new {
    background: #00bcd4;
    color: #fff;
}

.product-card .badge-sale {
    background: var(--primary-color);
    color: #fff;
}

.product-card .badge-bestseller {
    background: #ff9800;
    color: #fff;
}

.product-card .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-card .product-actions .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: none;
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.product-card .product-actions .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-card .product-info {
    padding: 15px;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .product-title a {
    color: inherit;
}

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

.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-card .price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card .add-to-cart {
    width: 100%;
    margin-top: 12px;
    background: var(--secondary-color);
    border: none;
    color: #fff;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-card .add-to-cart:hover {
    background: var(--primary-color);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    padding: 50px 0;
}

.products-section.bg-light {
    background: var(--bg-light);
}

/* ==========================================
   CAMPAIGN BANNERS
   ========================================== */
.campaign-banners {
    padding: 50px 0;
}

.campaign-banner {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #F5F1EB 0%, #EDE8E0 100%);
}

.campaign-banner .campaign-content {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 60%;
}

.campaign-banner h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.campaign-banner p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.campaign-banner .btn {
    background: var(--primary-color);
    border: none;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   NEWSLETTER
   ========================================== */
.newsletter-section {
    background: var(--primary-color);
    padding: 50px 0;
    color: #fff;
}

.newsletter-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 0;
}

.newsletter-form {
    max-width: 450px;
}

.newsletter-form .form-control {
    height: 50px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 0 20px;
    font-size: 14px;
}

.newsletter-form .btn {
    height: 50px;
    background: var(--secondary-color);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 30px;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: #222;
}

/* ==========================================
   FOOTER - AndyWawa Style
   ========================================== */
.footer {
    background: var(--bg-cream);
    color: var(--text-color);
    padding-top: 50px;
}

.footer h5 {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    line-height: 1.8;
    font-size: 14px;
}

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

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer .social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

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

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* ==========================================
   CATEGORY PAGE
   ========================================== */
.category-header {
    padding: 30px 0;
    text-align: center;
}

.category-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.filter-sidebar h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.filter-sidebar .form-check {
    margin-bottom: 10px;
}

.filter-sidebar .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================
   PRODUCT DETAIL
   ========================================== */
.product-gallery .main-image {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.product-gallery .main-image .product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-gallery .main-image .badge {
    font-size: 14px;
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 3px;
}

.product-gallery .main-image .badge-sale {
    background: var(--primary-color);
    color: #fff;
}

.product-gallery .main-image .badge-new {
    background: #00bcd4;
    color: #fff;
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
}

.product-gallery .thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.product-gallery .thumbnails img:hover,
.product-gallery .thumbnails img.active {
    border-color: var(--primary-color);
}

.product-detail .product-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.product-detail .product-sku {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.product-detail .product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail .old-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 15px;
}

.product-options .option-group {
    margin-bottom: 20px;
}

.product-options .option-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.product-options .option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-options .option-value {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.product-options .option-value:hover,
.product-options .option-value.selected {
    border-color: var(--primary-color);
    background: rgba(227, 30, 36, 0.05);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: var(--border-radius);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-selector button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    height: 40px;
    font-weight: 600;
}

.btn-add-to-cart {
    background: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==========================================
   CART PAGE
   ========================================== */
.cart-table {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.cart-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px;
}

.cart-table td {
    padding: 20px 15px;
    vertical-align: middle;
}

.cart-table .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-summary {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
}

.cart-summary h4 {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.cart-summary .summary-total {
    font-size: 20px;
    font-weight: 700;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

.cart-summary .summary-total span:last-child {
    color: var(--primary-color);
}

/* ==========================================
   ACCOUNT PAGES
   ========================================== */
.account-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.account-sidebar .list-group-item {
    border: none;
    padding: 15px 20px;
    border-left: 3px solid transparent;
    font-size: 14px;
}

.account-sidebar .list-group-item:hover,
.account-sidebar .list-group-item.active {
    background: rgba(227, 30, 36, 0.05);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.account-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
}

/* ==========================================
   AUTH PAGES
   ========================================== */
.auth-page {
    padding: 60px 0;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.auth-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
}

.auth-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.auth-card .form-label {
    font-weight: 500;
    font-size: 14px;
}

.auth-card .form-control {
    height: 48px;
    border-radius: var(--border-radius);
    font-size: 14px;
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.auth-card .btn-primary {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    margin-top: 30px;
    justify-content: center;
}

.pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: var(--border-radius);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ==========================================
   ALERTS & MESSAGES
   ========================================== */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 991.98px) {
    .hero-slide {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .banner-item {
        height: 220px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .navbar-brand {
        font-size: 22px;
    }

    .main-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .banner-item {
        height: 180px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .products-section {
        padding: 30px 0;
    }

    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    .newsletter-form {
        margin: 0 auto;
    }

    .product-detail .product-title {
        font-size: 22px;
    }

    .product-detail .product-price {
        font-size: 24px;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-red {
    color: var(--primary-color) !important;
}

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

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

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================
   Size Selection Styles
   ============================ */
.size-selection {
    margin-bottom: 20px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-option {
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: #fff;
    transition: all 0.2s ease;
}

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

.size-option input:checked + .size-box,
.size-box.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

/* Quick Size Select in Product Card */
.quick-size-select {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 10px;
}

.quick-size-select .size-btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.quick-size-select .size-btn.selected {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.animate-slideDown {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add to Cart Button Styles */
.add-to-cart-btn {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.add-to-cart-btn.waiting-size {
    background: #6c757d;
}

.add-to-cart-btn.added {
    background: var(--success-color);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Cart Toast */
.cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

.cart-toast.hiding {
    animation: slideOutRight 0.3s ease;
}

.cart-toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 400px;
}

.cart-toast-icon {
    width: 50px;
    height: 50px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.cart-toast-text {
    flex: 1;
}

.cart-toast-text strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 3px;
}

.cart-toast-text span {
    font-size: 13px;
    color: var(--text-muted);
}

.cart-toast-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Cart Badge Animation */
#cart-count, .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.badge-pulse {
    animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Cart Icon Pulse */
.cart-pulse {
    animation: cartPulse 0.5s ease;
}

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

/* Mobile Responsive */
@media (max-width: 576px) {
    .cart-toast {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cart-toast-content {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .cart-toast-actions {
        flex-direction: row;
        width: 100%;
        margin-top: 10px;
    }

    .size-box {
        min-width: 60px;
        height: 36px;
        font-size: 12px;
    }
}

/* ==========================================
   ENHANCED PRODUCT DETAIL PAGE
   ========================================== */
.product-gallery {
    position: relative;
}

.product-gallery .main-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-gallery .main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.product-gallery .main-image:hover img {
    transform: scale(1.05);
}

.product-gallery .thumbnail-images img {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.product-gallery .thumbnail-images img:hover,
.product-gallery .thumbnail-images img.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

.product-info .product-price .h3,
.product-info .product-price .h4 {
    font-weight: 700;
}

.product-info .product-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    background: #e8f5e9;
    font-weight: 500;
    font-size: 14px;
}

.stock-status .text-danger {
    background: #ffebee;
}

/* Enhanced Size Selection */
.size-selection {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.size-selection .form-label {
    font-size: 15px;
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    position: relative;
    cursor: pointer;
}

.size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.size-option .size-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    height: 42px;
    padding: 0 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.size-option input:checked + .size-box,
.size-option .size-box:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.size-option input:checked + .size-box {
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

/* Quantity Selector Enhancement */
.quantity-selector .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector .btn {
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-weight: 600;
}

.quantity-selector .btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.quantity-selector input {
    border: 1px solid var(--border-color);
    font-weight: 600;
}

/* Delivery Info Box */
.delivery-info {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #ffe0e0;
}

.delivery-info i {
    font-size: 24px !important;
}

/* Product Tabs Enhancement */
.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.product-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 15px 25px;
    position: relative;
}

.product-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.product-tabs .nav-link.active::after {
    width: 100%;
}

/* Related Products Section */
.related-products h3 {
    position: relative;
    padding-bottom: 15px;
}

.related-products h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ==========================================
   ENHANCED CATEGORY PAGE
   ========================================== */
.category-header {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    padding: 40px 0;
    margin-bottom: 30px;
}

.category-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
}

.category-header .breadcrumb {
    margin-bottom: 0;
}

/* Filters Enhancement */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-title::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    transition: var(--transition);
}

.filter-title.collapsed::after {
    transform: rotate(-90deg);
}

/* ==========================================
   ENHANCED HOMEPAGE SECTIONS
   ========================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-wrap h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title-wrap h2::before,
.section-title-wrap h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.section-title-wrap h2::before {
    right: calc(100% + 20px);
}

.section-title-wrap h2::after {
    left: calc(100% + 20px);
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Category Boxes */
.category-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    display: block;
    transition: var(--transition);
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-box:hover img {
    transform: scale(1.1);
}

.category-box .category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-box .category-overlay h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: #fff;
}

.newsletter-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-section p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.newsletter-section .form-control {
    height: 50px;
    border-radius: 25px 0 0 25px;
    border: none;
    padding-left: 20px;
}

.newsletter-section .btn {
    border-radius: 0 25px 25px 0;
    padding: 0 30px;
    font-weight: 600;
    background: var(--secondary-color);
    border: none;
}

.newsletter-section .btn:hover {
    background: #222;
}

/* ==========================================
   ENHANCED ADD TO CART BUTTON
   ========================================== */
.add-to-cart-btn {
    width: 100%;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #444 100%);
    border: none;
    color: #fff;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.add-to-cart-btn.waiting-size {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.add-to-cart-btn.added {
    background: linear-gradient(135deg, var(--success-color) 0%, #218838 100%);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Nebim ürünleri: ürün kartı link butonu */
a.add-to-cart-btn.nebim-link,
a.add-to-cart-btn.nebim-link:visited,
a.add-to-cart-btn.nebim-link:hover,
a.add-to-cart-btn.nebim-link:active {
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
}

/* ==========================================
   BREADCRUMB ENHANCEMENT
   ========================================== */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-muted);
    font-size: 14px;
}

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

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE IMPROVEMENTS
   ========================================== */
@media (max-width: 991.98px) {
    .product-info h1 {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-title-wrap h2 {
        font-size: 24px;
    }

    .section-title-wrap h2::before,
    .section-title-wrap h2::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .product-card .product-info {
        padding: 12px;
    }

    .product-card .product-title {
        font-size: 13px;
        height: 36px;
    }

    .product-card .price-current {
        font-size: 16px;
    }

    .add-to-cart-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .hero-slide {
        height: 300px;
    }

    .category-box {
        height: 150px;
    }
}
