/* ========================================
   MODERN WOMEN'S FASHION BOUTIQUE CSS
   ======================================== */

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* Dinamik alanlar ilk açılışta default metin flash etmesin */
html:not(.dynamic-ready) [class*="dynamic-"] {
    visibility: hidden;
}

.container {
    max-width: min(1200px, 100vw);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* ========================================
   2. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 2rem;
    letter-spacing: -0.2px;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-light {
    color: #f8f9fa;
}

.text-primary {
    color: #e91e63;
}

/* ========================================
   3. BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background-color: #e91e63;
    color: #ffffff;
    border: 2px solid #e91e63;
}

.btn-primary:hover {
    background-color: #d81b60;
    border-color: #d81b60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
}

.btn-outline:hover {
    background-color: #e91e63;
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-add-cart {
    background: transparent;
    color: #1a1a1a;
    border: none;
    border-bottom: 2px solid #e91e63;
    padding: 10px 0;
    font-size: 0.85rem;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-add-cart:hover {
    color: #e91e63;
    background: transparent;
    border-color: #1a1a1a;
    transform: none;
    box-shadow: none;
}

/* ========================================
   4. HEADER
   ======================================== */

.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.sticky {
    border-bottom: 1px solid #e8e8e8;
}

.header.scrolled {
    padding: 0;
}

.header.scrolled .header-top {
    display: none;
}

.header.scrolled .logo {
    font-size: 1.4rem;
}

/* Header compact state (JS ile eklenir) */
.header.compact {
    padding-top: 4px;
    padding-bottom: 4px;
}

.header.compact .header-top {
    display: none;
}

.header.compact .logo a {
    font-size: 1.4rem;
}

.header.compact .header-main {
    padding: 8px 0;
}

/* Header hidden state (scroll ile gizlenir) */
.header.hidden {
    transform: translateY(-100%);
}

.header-top {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 0.8rem;
    text-align: center;
    color: #1a1a1a;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-info,
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-info {
    flex-wrap: wrap;
    justify-content: center;
}

.header-info span,
.header-contact span {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.header-info i,
.header-contact i {
    color: #e91e63;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    color: inherit;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    color: #666;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e91e63;
}

.header-top p {
    margin: 0;
    font-weight: 500;
}

.header-main {
    padding: 16px 0;
    position: relative;
    transition: padding 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
}

.navbar > * {
    flex-shrink: 0;
}

.navbar .nav-menu {
    flex: 1;
    flex-shrink: 1;
    min-width: 0;
}

.logo a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo a:hover {
    color: #e91e63;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
    max-width: 100%;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #333333;
    padding: 8px 0;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e91e63;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a:hover {
    color: #e91e63;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    padding-bottom: 16px !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    margin-top: 8px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #333333;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #e91e63;
    padding-left: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-actions button {
    position: relative;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px;
}

.header-actions button:hover {
    color: #e91e63;
    transform: scale(1.05);
}

.header-actions .icon-btn {
    position: relative;
    font-size: 1.1rem;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-actions .icon-btn:hover {
    color: #e91e63;
    transform: scale(1.05);
}

/* ========================================
   SEARCH BAR - ARAMA ÇUBUĞU
   ======================================== */

.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Kapalı durumda gizle */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-bar .container {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 20px;
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-bar.active .search-input-wrapper .search-icon {
    color: #e91e63;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    max-width: 100%;
}

.search-bar input:focus {
    outline: none;
    border-color: #e91e63;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-bar.active input {
    border-color: #e91e63;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.08);
}

.search-close-btn {
    position: absolute;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.search-close-btn:hover {
    background: #e91e63;
    color: #fff;
    transform: rotate(90deg);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-bar.has-results .search-results {
    display: block;
}

.search-loading {
    text-align: center;
    padding: 30px 20px;
}

.search-loading .spinner {
    width: 30px;
    height: 30px;
    border: 2px solid #f0f0f0;
    border-top-color: #e91e63;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 0.8s linear infinite;
}

.search-loading p {
    font-size: 0.85rem;
    color: #999;
}

.search-products {
    padding: 10px;
}

.search-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.search-product-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.search-product-image {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-info h4 {
    font-size: 0.9rem;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.search-product-info h4 strong {
    color: #e91e63;
}

.search-product-info .category {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.search-product-info .price {
    font-size: 0.85rem;
    color: #e91e63;
    font-weight: 600;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.search-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.3;
}

.search-suggestions {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.search-suggestions h4 {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-tag {
    padding: 6px 14px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

.search-view-all {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    display: none;
}

.search-bar.has-results .search-view-all {
    display: block;
}

.search-view-all a {
    display: inline-block;
    padding: 10px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-view-all a:hover {
    background: #e91e63;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background-color: #e91e63;
}

/* ========================================
   5. BADGE
   ======================================== */

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #e91e63;
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
}

/* ========================================
   6. MINI CART
   ======================================== */

.mini-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mini-cart.active,
.mini-cart.open {
    right: 0;
}

.mini-cart-header {
    padding: 24px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.mini-cart-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0;
}

.mini-cart-header .close-cart {
    font-size: 1.4rem;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.mini-cart-header .close-cart:hover {
    color: #e91e63;
    transform: rotate(90deg);
}

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
}

.empty-cart i {
    font-size: 3.5rem;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.empty-cart p {
    color: #666666;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #e91e63;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #e8e8e8;
    background-color: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.quantity-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
}

.quantity-value {
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    position: absolute;
    top: 20px;
    right: 0;
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    color: #e91e63;
}

.mini-cart-footer {
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1rem;
}

.cart-subtotal span:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #333333;
}

.cart-subtotal span:last-child {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.3rem;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   WISHLIST SIDEBAR
   ======================================== */

.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.wishlist-sidebar.active,
.wishlist-sidebar.open {
    right: 0;
}

.wishlist-header {
    padding: 24px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.wishlist-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0;
}

.wishlist-header .close-wishlist {
    font-size: 1.4rem;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 5px;
}

.wishlist-header .close-wishlist:hover {
    color: #e91e63;
    transform: rotate(90deg);
}

.wishlist-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.empty-wishlist {
    text-align: center;
    padding: 50px 20px;
}

.empty-wishlist i {
    font-size: 3.5rem;
    color: #e0e0e0;
    margin-bottom: 16px;
}

.empty-wishlist p {
    color: #666666;
    margin-bottom: 20px;
}

.wishlist-footer {
    padding: 24px;
    border-top: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.wishlist-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-image {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.wishlist-item-info .price {
    color: #e91e63;
    font-weight: 600;
}

.wishlist-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.wishlist-item-remove:hover {
    color: #e91e63;
}

/* ========================================
   7. HERO SECTION
   ======================================== */

.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: 750px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(233, 30, 99, 0.2) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 60px;
    max-width: 600px;
    animation: fadeInUp 1s ease;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.05rem;
    color: #f8f9fa;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a1a1a;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: #e91e63;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #e91e63;
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   8. PROMO BANNER
   ======================================== */

.promo-banner {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
    padding: 16px 0;
    text-align: center;
    overflow: hidden;
}

.promo-banner p {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    animation: slideIn 1s ease;
}

.promo-banner strong {
    font-weight: 700;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Bar - Demo Site Style */
.services-bar {
    background-color: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 15px;
    display: block;
}

.service-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-item p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   9. SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e91e63;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e91e63;
    border-radius: 2px;
}

.section-header p {
    color: #666666;
    max-width: 550px;
    margin: 24px auto 0;
    font-size: 0.95rem;
}

.section-cta {
    margin-top: 40px;
}

/* ========================================
   10. CATEGORIES
   ======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 26, 26, 0.85) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.category-card:hover::before {
    background: linear-gradient(to bottom, transparent 20%, rgba(26, 26, 26, 0.9) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    z-index: 2;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.category-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.category-card p {
    color: #f0f0f0;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.category-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   11. PRODUCT GRID
   ======================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-image .primary-image {
    position: relative;
    z-index: 1;
}

.product-image .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.product-card:hover .secondary-image {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    z-index: 3;
    border-radius: 4px;
}

.product-badge.new {
    background-color: #e91e63;
}

.product-badge.sale {
    background-color: #1a1a1a;
}

.product-badge.premium {
    background: linear-gradient(135deg, #e91e63, #ff4081);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn:hover {
    background-color: #e91e63;
    color: #ffffff;
    transform: scale(1.1);
}

.wishlist-btn.active {
    background-color: #e91e63;
    color: #ffffff;
    opacity: 1;
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn,
.add-to-cart-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    border-radius: 4px;
}

.quick-view-btn {
    background-color: #ffffff;
    color: #1a1a1a;
}

.quick-view-btn:hover {
    background-color: #f8f9fa;
    color: #e91e63;
}

.add-to-cart-btn {
    background-color: #e91e63;
    color: #ffffff;
}

.add-to-cart-btn:hover {
    background-color: #d81b60;
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 0.7rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #e91e63;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
    color: #e0e0e0;
    font-size: 0.8rem;
}

.product-rating .stars .filled {
    color: #ffc107;
}

.product-rating .count {
    font-size: 0.75rem;
    color: #999999;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e91e63;
}

.product-price .old-price {
    font-size: 0.9rem;
    color: #999999;
    text-decoration: line-through;
}

.product-colors {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-dot:hover {
    transform: scale(1.15);
    border-color: #e91e63;
}

.color-dot.active {
    border-color: #e91e63;
}

.color-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
}

/* ========================================
   12. BRAND STORY
   ======================================== */

.brand-story {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.brand-story-grid,
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 100%;
}

.brand-story-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.brand-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.brand-story-image:hover img {
    transform: scale(1.03);
}

.brand-story-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.brand-story-content p {
    color: #555555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.brand-story-content .signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #e91e63;
    font-style: italic;
    margin-top: 30px;
}

/* Story Section - Missing Classes */
.story-content {
    max-width: 100%;
    overflow: hidden;
}

.story-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e91e63;
    margin-bottom: 12px;
    font-weight: 600;
    display: block;
}

.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.story-content p {
    color: #555555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.story-images {
    display: grid;
    gap: 16px;
    max-width: 100%;
    overflow: hidden;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

/* ========================================
   13. INSTAGRAM FEED
   ======================================== */

.instagram-feed {
    padding: 70px 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(233, 30, 99, 0.85);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.instagram-item:hover::before {
    opacity: 1;
}

.instagram-item-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.instagram-item:hover .instagram-item-overlay {
    opacity: 1;
}

.instagram-item-overlay i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.instagram-item-overlay .likes {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   14. FOOTER
   ======================================== */

.footer {
    background-color: #1a1a1a;
    color: #b0b0b0;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2c2c2c;
}

.footer-column h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e91e63;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.4rem;
}

.footer-logo span {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: none;
}

.footer-column p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #2c2c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #e91e63;
    border-color: #e91e63;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #e91e63;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: #e91e63;
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #808080;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #808080;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #e91e63;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.payment-methods img {
    height: 28px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* ========================================
   15. NEWSLETTER POPUP
   ======================================== */

.newsletter-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.newsletter-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.newsletter-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.newsletter-form-wrapper {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.newsletter-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-close:hover {
    background-color: #e91e63;
    color: #ffffff;
    transform: rotate(90deg);
}

.newsletter-form-wrapper h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.newsletter-form-wrapper p {
    color: #666666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.newsletter-form button {
    width: 100%;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.newsletter-checkbox input {
    width: auto;
    margin: 0;
    accent-color: #e91e63;
}

.newsletter-checkbox label {
    font-size: 0.8rem;
    color: #666666;
    cursor: pointer;
}

/* ========================================
   16. QUICK VIEW MODAL
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.8);
    z-index: 3500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
    border-radius: 12px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #e91e63;
    color: #ffffff;
    transform: rotate(90deg);
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.quick-view-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.quick-view-image img {
    width: 100%;
    height: auto;
}

.quick-view-details h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.quick-view-details .product-rating {
    margin-bottom: 20px;
}

.quick-view-details .product-price {
    margin-bottom: 20px;
}

.quick-view-details .product-price .price {
    font-size: 1.6rem;
}

.product-description {
    color: #555555;
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-options {
    margin-bottom: 24px;
}

.product-option {
    margin-bottom: 20px;
}

.product-option label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 18px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    border-radius: 4px;
}

.size-option:hover {
    border-color: #e91e63;
    color: #e91e63;
}

.size-option.active {
    background-color: #e91e63;
    border-color: #e91e63;
    color: #ffffff;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f8f9fa;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background-color: #e91e63;
    color: #ffffff;
}

.quantity-controls input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    text-align: center;
    font-weight: 600;
}

.quick-view-actions {
    display: flex;
    gap: 12px;
}

.quick-view-actions .btn {
    flex: 1;
}

/* ========================================
   17. PAGE HEADER
   ======================================== */

.page-header {
    background-color: #f8f9fa;
    padding: 70px 0;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #666666;
}

.breadcrumb a {
    color: #666666;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e91e63;
}

.breadcrumb span {
    color: #999999;
}

/* ========================================
   18. CART OVERLAY
   ======================================== */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.wishlist-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.6);
    z-index: 1950;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s ease;
}

.wishlist-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.section-padding {
    padding: 70px 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets (768px) */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Header */
    .navbar {
        flex-wrap: wrap;
        overflow: visible;
    }

    .navbar > .logo,
    .navbar > .header-actions,
    .navbar > .mobile-menu-toggle {
        flex-shrink: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-menu > li > a {
        display: block;
        padding: 16px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
        padding: 0 0 10px 20px;
        border: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-menu .dropdown > a i {
        transition: transform 0.25s ease;
    }

    .nav-menu .dropdown.open > a i,
    .nav-menu .dropdown.active > a i {
        transform: rotate(180deg);
    }

    body.menu-open {
        overflow: hidden;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero {
        height: 70vh;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 40px 0;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 40px 0;
    }

    /* Brand Story */
    .brand-story {
        padding: 50px 0;
    }

    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Newsletter */
    .newsletter-content {
        grid-template-columns: 1fr;
    }

    .newsletter-image {
        min-height: 200px;
    }

    .newsletter-form-wrapper {
        padding: 30px;
    }

    /* Quick View */
    .quick-view-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Services Bar */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .service-item {
        padding: 15px 10px;
    }

    .service-item i {
        font-size: 2rem;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr;
    }

    /* Section */
    .section-padding {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    /* Mini Cart */
    .mini-cart {
        width: 100%;
        right: -100%;
    }

    .mini-cart.active,
    .mini-cart.open {
        right: 0;
    }

    .wishlist-sidebar {
        width: 100%;
        right: -100%;
    }

    .wishlist-sidebar.active,
    .wishlist-sidebar.open {
        right: 0;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Bar */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-item {
        padding: 12px 8px;
    }

    .service-item i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .service-item h4 {
        font-size: 0.85rem;
    }

    .service-item p {
        font-size: 0.75rem;
    }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .category-grid {
        gap: 30px;
    }
}

/* ========================================
   MODERN ENHANCEMENTS
   ======================================== */

/* Smooth Scroll Reveal Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Product Card Shimmer Effect on Load */
.product-image img {
    animation: fadeInUp 0.6s ease-out;
}

/* Better Button Hover Effects - Already defined above */

/* Enhanced Image Hover */
.product-image:hover img.primary-image {
    transform: scale(1.05);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Ripple Effect for Buttons */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.success {
    border-left: 4px solid #4caf50;
}

.toast-notification.error {
    border-left: 4px solid #f44336;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e91e63, #ff4081);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Magnetic Button Effect */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* Enhanced Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Smooth Page Transitions */
.page-transition {
    animation: fadeInScale 0.5s ease-out;
}

/* Better Card Hover */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Wishlist Heart Animation */
.wishlist-btn:active i {
    animation: heartBeat 0.3s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Dropdown Animation Enhancement */
.dropdown-menu {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Custom Selection Color */
::selection {
    background-color: #e91e63;
    color: #ffffff;
}

::-moz-selection {
    background-color: #e91e63;
    color: #ffffff;
}

/* Loading Spinner */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Image Loading Blur to Sharp */
img {
    transition: filter 0.3s ease;
}

img.loading {
    filter: blur(10px);
}

/* Badge Pulse Animation */
.badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Hero Content Animation */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content * {
    animation-delay: 0.1s;
}

.hero-content .hero-title {
    animation-delay: 0.2s;
}

.hero-content .hero-description {
    animation-delay: 0.3s;
}

.hero-content .btn {
    animation-delay: 0.4s;
}


/* Search Bar Responsive */
@media (max-width: 992px) {
    .search-bar input {
        max-width: 300px;
    }
    
    .search-bar.active input {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .search-bar input {
        max-width: 250px;
        font-size: 0.85rem;
        padding: 10px 40px 10px 40px;
    }
    
    .search-bar.active input {
        max-width: 350px;
    }
    
    .search-results {
        max-height: 350px;
    }
    
    .search-product-item {
        flex-direction: column;
        text-align: center;
    }
    
    .search-product-image {
        width: 70px;
        height: 70px;
    }
}

/* Search Bar Responsive - Düzeltme */
@media (max-width: 768px) {
    .search-bar {
        padding: 12px 0;
    }

    .search-bar .container {
        padding: 0 15px;
    }

    .search-bar input {
        padding: 12px 35px 12px 35px;
        font-size: 0.9rem;
    }

    .search-input-wrapper .search-icon {
        left: 15px;
    }

    .search-close-btn {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE FIXES - UNIFIED
   ======================================== */

/* Mobile First - Base Fixes */
@media (max-width: 480px) {
    /* Container - Tam genişlik */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Header - Compact */
    .header-top {
        font-size: 0.7rem;
        padding: 6px 0;
    }

    .header-top-content {
        flex-direction: column;
        gap: 5px;
    }

    .header-info,
    .header-contact {
        justify-content: center;
    }

    .header-actions button {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .logo a {
        font-size: 1.4rem !important;
    }

    /* Search Bar - Full width */
    .search-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        padding: 10px 15px;
        max-height: 100vh;
        overflow-y: auto;
    }

    .search-bar .container {
        padding: 0;
        max-width: 100%;
    }

    .search-bar input {
        font-size: 1rem;
        padding: 14px 50px;
    }

    /* Product Grid - Single Column */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 30px 0 !important;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .btn-add-cart {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Hero */
    .hero {
        height: 60vh !important;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .service-item {
        padding: 15px 10px !important;
    }

    .service-item i {
        font-size: 1.8rem !important;
    }

    .service-item h4 {
        font-size: 0.85rem !important;
    }

    .service-item p {
        font-size: 0.75rem !important;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Pagination */
    .pagination {
        gap: 4px !important;
        padding: 15px !important;
    }

    .pagination-btn {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
    }

    .pagination .hide-mobile {
        display: none !important;
    }

    /* Shop Toolbar */
    .shop-toolbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .shop-toolbar-left {
        text-align: center;
    }

    .shop-toolbar-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .sort-trigger {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    /* Mini Cart */
    .mini-cart {
        width: 100%;
        max-width: 100%;
        border-radius: 0 !important;
    }

    .mini-cart-header,
    .mini-cart-footer {
        padding: 15px;
    }

    /* Quick View */
    .quick-view-details {
        padding: 20px !important;
    }

    .quick-view-details h2 {
        font-size: 1.4rem !important;
    }

    /* Story Section */
    .story-grid {
        grid-template-columns: 1fr !important;
    }

    /* Brand Story */
    .brand-story-grid {
        grid-template-columns: 1fr !important;
    }

    /* Newsletter */
    .newsletter-form-wrapper {
        padding: 20px !important;
    }

    .newsletter-form-wrapper h3 {
        font-size: 1.4rem !important;
    }

    /* Modal */
    .modal-content {
        width: 95% !important;
        margin: 10px !important;
        border-radius: 12px !important;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0 !important;
    }

    .page-header h1 {
        font-size: 1.6rem !important;
    }

    /* Promo Banner */
    .promo-banner p {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Product Grid - 2 columns */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
        padding: 35px 0 !important;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Hero */
    .hero {
        height: 65vh !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    /* Header */
    .header-actions button {
        width: 40px;
        height: 40px;
    }

    /* Search Bar */
    .search-bar .container {
        padding: 0;
    }
}

/* Desktop Tablet (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    /* Container */
    .container {
        padding: 0 25px;
        max-width: 100%;
    }

    /* Product Grid - 3 columns */
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Navbar */
    .nav-menu > li > a {
        font-size: 0.85rem;
        padding: 0 12px;
    }

    /* Logo */
    .logo a {
        font-size: 1.6rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix overflow issues - media and images */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Fix text overflow */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-title,
.section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Fix button overflow */
.btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fix grid overflow */
.product-grid,
.category-grid,
.services-grid,
.instagram-grid,
.footer-grid,
.brand-story-grid,
.story-grid {
    max-width: 100%;
}

/* Fix modal/overlay overflow */
.modal {
    max-width: 100vw;
    max-height: 100vh;
}

.mini-cart,
.wishlist-sidebar,
.newsletter-popup,
.search-results {
    max-width: 100vw;
    max-height: 100vh;
}

/* Fix section overflow - prevent horizontal scroll */
section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix brand story overflow */
.brand-story,
.story-content,
.story-images {
    overflow-x: hidden;
    max-width: 100%;
}

/* Smooth transitions for responsive changes */
.product-card,
.category-card,
.service-item,
.instagram-item {
    transition: all 0.3s ease;
}

/* ========================================
   MOBILE HOTFIXES (FINAL OVERRIDES)
   ======================================== */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .header.hidden {
        transform: translateY(0);
    }

    .header.compact .header-top,
    .header.scrolled .header-top {
        display: block;
    }

    .header.compact .header-main,
    .header.scrolled .header-main {
        padding: 16px 0;
    }

    .header-top .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-top-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .header-info,
    .header-contact {
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .header-info > span,
    .header-contact > a {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .header-info span,
    .header-contact span,
    .header-contact a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.35;
    }

    .header-contact .social-links {
        width: 100%;
        justify-content: center;
    }

    .navbar {
        gap: 12px;
    }

    .logo {
        min-width: 0;
    }

    .logo a {
        display: block;
        max-width: 46vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        margin-left: auto;
    }

    .search-input-wrapper,
    .search-bar input {
        max-width: 100%;
        min-width: 0;
    }

    .services-bar {
        overflow: hidden;
    }

    .services-grid {
        overflow-x: hidden !important;
        overflow-y: visible;
        touch-action: pan-y;
    }

    .service-item {
        transform: none !important;
    }

    .service-item:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .header-top {
        font-size: 0.72rem;
        line-height: 1.35;
    }
}
