/**
 * Custom CSS for Women's Clothing E-commerce
 * This file contains custom styles to complement TailwindCSS
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Root Variables for consistent theming */
:root {
    --primary-color: #d4527a;
    --secondary-color: #f8b4c8;
    --accent-color: #ff6b9d;

    --dark-color: #2d2d2d;
    --light-color: #f9f9f9;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;

    /* Modern tokens */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

    --focus-ring: 0 0 0 4px rgba(212, 82, 122, 0.18);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Smooth Scrolling + prevent layout shift (scrollbar) */
html {
    scroll-behavior: smooth;
    /* Reserve scrollbar gutter so pages with/without vertical scroll don't "jump" horizontally */
    scrollbar-gutter: stable;
    /* Guard against rare horizontal overflow from absolutely-positioned UI bits */
    overflow-x: clip;
}

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

/* Accessible focus (don’t rely on browser default outlines) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Header Styles */
.navbar {
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: saturate(180%) blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    font-weight: 700;
    letter-spacing: 0.1px;
    text-transform: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 26px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 24px rgba(212, 82, 122, 0.22);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(212, 82, 122, 0.28);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(212, 82, 122, 0.22);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--primary-color);
    padding: 12px 26px;
    border: 2px solid rgba(212, 82, 122, 0.45);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Product Card Styles */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-badge.sale {
    background-color: #ff5252;
}

.product-badge.new {
    background-color: #4caf50;
}

/* Quick View Button */
.quick-view-btn {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    transition: bottom 0.3s ease;
    opacity: 0;
}

.product-card:hover .quick-view-btn {
    bottom: 20px;
    opacity: 1;
}

/* Image Zoom Effect for Product Detail */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.image-zoom-container img {
    transition: transform 0.3s ease;
}

.image-zoom-container:hover img {
    transform: scale(1.2);
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
    color: #ffc107;
}

.star-rating .far,
.star-rating .fas {
    font-size: 14px;
}

/* Size Selector */
.size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background-color: white;
}

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

.size-option.out-of-stock,
.size-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background-color: #f5f5f5;
}

.size-option.out-of-stock:hover,
.size-option:disabled:hover {
    border-color: var(--border-color);
    background-color: #f5f5f5;
    color: inherit;
}

/* Color Selector */
.color-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    font-weight: 500;
    font-size: 14px;
}

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

.color-option.out-of-stock,
.color-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background-color: #f5f5f5;
}

.color-option.out-of-stock:hover,
.color-option:disabled:hover {
    border-color: var(--border-color);
    background-color: #f5f5f5;
    color: inherit;
}

/* Filter Sidebar */
.filter-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

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

.filter-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Checkbox Styles */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Price Range Slider */
.price-range-slider {
    width: 100%;
    height: 5px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

.price-range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    background: white;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
}

/* Quantity Controls */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px 10px;
    width: fit-content;
}

.quantity-control button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.quantity-control button:hover {
    background-color: var(--light-color);
    border-radius: 3px;
}

.quantity-control span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 82, 122, 0.1);
}

.form-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
}

.form-group.error .form-error {
    display: block;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.badge-primary {
    background-color: var(--primary-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-danger {
    background-color: var(--error-color);
}

/* Product card badges (separate from .badge to avoid breaking other pages) */
.product-card-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 20;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: white;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.product-card-badge--discount {
    background: linear-gradient(135deg, rgba(212, 82, 122, 0.98), rgba(255, 107, 157, 0.95));
}

.product-card-badge--new {
    top: 46px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.98), rgba(5, 150, 105, 0.95));
}

/* Wishlist button on product cards */
.wishlist-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.wishlist-btn:hover {
    transform: translateY(-1px) scale(1.02);
    background: white;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.wishlist-btn i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Cart Badge on Navigation */
.cart-badge,
.wishlist-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(212, 82, 122, 0.22);
}

/* Loading Spinner */
.loading-spinner {
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Full-page Loading Overlay */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: white;
    backdrop-filter: blur(10px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.page-loader__spinner {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 4px solid rgba(212, 82, 122, 0.18);
    border-top-color: rgba(212, 82, 122, 0.95);
    animation: spin 0.9s linear infinite;
}

.page-loader__text {
    font-weight: 800;
    letter-spacing: 0.2px;
    color: rgba(45, 45, 45, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__spinner {
        animation-duration: 1.6s;
    }
}

/* Image Lightbox (product zoom) */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(15, 15, 20, 0.82);
    backdrop-filter: blur(8px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.image-lightbox.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.image-lightbox__topbar {
    display: flex;
    justify-content: flex-end;
    padding: 14px;
}

.image-lightbox__close {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.image-lightbox__stage {
    display: grid;
    place-items: center;
    padding: 10px 18px 22px;
    overflow: hidden;
}

.image-lightbox__img {
    max-width: min(92vw, 1200px);
    max-height: 84vh;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
    transform: translate3d(var(--lb-tx, 0px), var(--lb-ty, 0px), 0) scale(var(--lb-scale, 1));
    transform-origin: center;
    will-change: transform;
    transition: transform 0.12s ease;
    cursor: zoom-out;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    background: rgba(255, 255, 255, 0.08);
}

.image-lightbox__hint {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
    .image-lightbox {
        transition: none;
    }
    .image-lightbox__img {
        transition: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 700px;
    background: linear-gradient(135deg, #f8b4c8 0%, #d4527a 50%, #c94166 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Animated Background Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    will-change: transform;
    backface-visibility: hidden;
}

.hero-shape-1 {
    width: 360px;
    height: 360px;
    background: white;
    top: 40px;
    right: 5%;
    animation: heroFloat1 22s ease-in-out infinite;
}

.hero-shape-2 {
    width: 280px;
    height: 280px;
    background: white;
    bottom: 40px;
    left: 5%;
    animation: heroFloat2 24s ease-in-out infinite;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 50%;
    right: 30%;
    animation: heroFloat3 20s ease-in-out infinite;
}

/*
  Separate animations prevent shapes near edges from being clipped by the hero's overflow-hidden.
  - shape-1 (top-right): moves mostly left/down
  - shape-2 (bottom-left): moves mostly right/up
*/
@keyframes heroFloat1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(-24px, 18px, 0) scale(1.06); }
    50% { transform: translate3d(-10px, 34px, 0) scale(0.96); }
    75% { transform: translate3d(-18px, 10px, 0) scale(1.03); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(22px, -18px, 0) scale(1.06); }
    50% { transform: translate3d(36px, -8px, 0) scale(0.96); }
    75% { transform: translate3d(14px, -24px, 0) scale(1.03); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(14px, -12px, 0) scale(1.05); }
    50% { transform: translate3d(-12px, 10px, 0) scale(0.97); }
    75% { transform: translate3d(10px, 16px, 0) scale(1.03); }
}

/* Skeleton Loader */
.skeleton-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-card::before {
    content: '';
    display: block;
    width: 100%;
    height: 350px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-card::after {
    content: '';
    display: block;
    padding: 20px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* Footer Styles */
footer {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 60px 0 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

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

.breadcrumb span {
    color: var(--border-color);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-color);
}

.tab:hover,
.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
/* Tablet & mobile hero layout */
@media (max-width: 1024px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .hero-section .container,
    .hero-section .container .flex {
        height: auto;
    }

    /* Favori butonunu mobilde her zaman görünür yap */
    .product-card div[class*="absolute"][class*="top-4"] {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    /* Genel mobil tipografi inceltme */
    .font-extrabold {
        font-weight: 700;
    }

    .font-bold {
        font-weight: 600;
    }

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

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .hero-section p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    /* Ürün kartlarını 2 sütunda okunabilir tut */
    .product-card {
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .product-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.4rem;
    }

    .product-card .p-4 {
        padding: 0.75rem;
    }

    .product-card .text-2xl {
        font-size: 1.1rem;
    }

    /* Fiyat satırını dar ekranda sabitle */
    .product-card .flex.items-center.gap-2 {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.4rem;
    }

    .product-card .line-through {
        font-size: 0.85rem;
    }

    .product-card img {
        height: 200px;
    }

    .cart-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
    }

    .cart-item img {
        width: 80px;
        height: 100px;
    }
    
    .hero-shape {
        display: none;
    }

    /* Sticky Add to Cart Mobile */
    .sticky-atc {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 50;
        display: flex;
        align-items: center;
        gap: 12px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .sticky-atc.show {
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    /* Küçük telefonlarda genel metin boyutunu küçült */
    body {
        font-size: 15px;
    }

    .text-5xl {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .text-4xl {
        font-size: 2rem;
        line-height: 1.2;
    }

    .text-3xl {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .text-2xl {
        font-size: 1.4rem;
        line-height: 1.35;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        font-weight: 700;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
        font-weight: 600;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Animation Classes (for use with AOS) */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-up {
    animation: slideUp 0.6s ease;
}

/* Custom Confirm Dialog */
.confirm-dialog {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    animation: fadeIn 0.2s ease;
}

.confirm-dialog.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-dialog-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 440px;
    width: 90%;
    padding: 0;
    overflow: hidden;
    animation: confirmSlideIn 0.3s ease;
}

.confirm-dialog-header {
    padding: 24px 24px 16px;
    text-align: center;
}

.confirm-dialog-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff6b9d, #d4527a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 24px rgba(212, 82, 122, 0.3);
}

.confirm-dialog-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 8px;
}

.confirm-dialog-message {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    padding: 0 24px 24px;
}

.confirm-dialog-actions {
    display: flex;
    gap: 0;
    border-top: 1px solid #f0f0f0;
}

.confirm-dialog-btn {
    flex: 1;
    padding: 16px;
    border: none;
    background: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-dialog-btn:first-child {
    border-right: 1px solid #f0f0f0;
    color: #666;
}

.confirm-dialog-btn:first-child:hover {
    background: #f8f8f8;
    color: #333;
}

.confirm-dialog-btn:last-child {
    color: #d4527a;
}

.confirm-dialog-btn:last-child:hover {
    background: #fff5f8;
    color: #ff6b9d;
}

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

/* Modern Notification Styles */
.notification {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    min-width: 280px;
    max-width: 340px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    color: #2d2d2d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.notification-close {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

/* Notification Types */
.notification.success .notification-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.notification.error .notification-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.notification.info .notification-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.notification.warning .notification-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Notification Animations */
@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

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

.notification.slide-in {
    animation: notificationSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.slide-out {
    animation: notificationSlideOut 0.3s ease-in-out;
}

/* Notification Container for stacking */
.notification-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification-container .notification {
    position: relative;
    top: auto;
    right: auto;
}

/* Responsive */
@media (max-width: 640px) {
    .notification {
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: none;
    }
    
    .notification-container {
        left: 16px;
        right: 16px;
        top: 80px;
    }
}
