:root {
    --primary: #C5A059;
    --primary-hover: #A68341;
    --dark: #111111;
    --dark-light: #2A2A2A;
    --text-main: #222222;
    --text-muted: #777777;
    --bg-color: #FAFAFA;
    --white: #FFFFFF;
    --border-color: #EBEBEB;
    --font-main: 'Poppins', sans-serif;

    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-hard: 0 5px 15px rgba(0, 0, 0, 0.1);

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.align-items-stretch {
    align-items: stretch;
}

.col-3,
.col-4,
.col-6,
.col-8,
.col-9 {
    padding: 0 15px;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333%;
}

.col-6 {
    width: 50%;
}

.col-8 {
    width: 66.666%;
}

.col-9 {
    width: 75%;
}

.mt-section {
    margin-top: 80px;
}

.mb-section {
    margin-bottom: 80px;
}

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

/* Buttons */
.btn {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hard);
}

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

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

.btn-round {
    border-radius: var(--radius-pill);
}

.btn-full {
    width: 100%;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    border-bottom: 1px solid transparent;
}

.btn-link i {
    transition: transform 0.3s ease;
}

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

.btn-link:hover i {
    transform: translateX(5px);
}

.btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--dark);
    border-radius: 50%;
    transition: var(--transition);
}

.btn-circle:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Header Layout */
.top-header {
    background-color: var(--dark);
    color: #DDDDDD;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-announcement {
    font-weight: 500;
    color: var(--white);
}

.contact-info a {
    margin-right: 25px;
}

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

.contact-info i {
    margin-right: 6px;
    color: var(--primary);
}

.social-media a {
    margin-left: 20px;
}

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

.header-main {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-middle {
    padding: 20px 0;
}

.header-middle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.ajax-search-form {
    display: flex;
    position: relative;
    width: 100%;
}

.ajax-search-form input {
    width: 100%;
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-family: var(--font-main);
    font-size: 14px;
    background: var(--bg-color);
    transition: var(--transition);
    outline: none;
}

.ajax-search-form input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.ajax-search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.ajax-search-form button:hover {
    background: var(--primary);
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 110;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-suggestions-list {
    max-height: 300px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
    transition: var(--transition);
}

.search-item:hover {
    background: var(--bg-color);
}

.search-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--border-color);
}

.search-item h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--dark);
}

.search-item .price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.search-footer {
    padding: 15px 20px;
    background: var(--bg-color);
    text-align: center;
}

.search-footer a {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-footer a:hover {
    color: var(--dark);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    position: relative;
    font-size: 20px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.action-btn:hover {
    background: var(--bg-color);
    color: var(--primary);
}

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

.header-bottom {
    border-top: 1px solid var(--border-color);
}

.desktop-menu {
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    gap: 40px;
}

.main-menu>li {
    position: relative;
}

.main-menu>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark-light);
    letter-spacing: 0.5px;
}

.main-menu>li>a.active,
.main-menu>li>a:hover {
    color: var(--primary);
}

.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius-md);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.dropdown li a:hover {
    color: var(--primary);
    background: var(--bg-color);
    padding-left: 30px;
}

/* Pricing Format */
.cents {
    font-size: 0.7em;
    font-weight: 500;
    opacity: 0.8;
}

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

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
    font-weight: 400;
}

/* Categories Stories */
.story-categories {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.story-inner {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.story-img-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 3px;
    background: transparent;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.story-item:hover .story-img-wrap {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.story-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-light);
}

/* Hero Section */
.hero-row {
    align-items: stretch;
}

.featured-single-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-soft);
    overflow: visible !important;
}

.modern-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.featured-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    min-height: 250px;
}

.featured-img-wrap img {
    max-height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s ease;
    mix-blend-mode: multiply;
    border-radius: 16px 16px 0px 0px;
}

.featured-single-modern:hover .featured-img-wrap img {
    transform: scale(1.08);
}

.featured-meta h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.featured-meta .desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-action .price {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.featured-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.hero-slider-modern {
    position: relative;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
}

.hero-slider-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 80px;
    color: var(--white);
}

.slider-overlay-content .subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--primary);
}

.slider-overlay-content h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.slider-overlay-content .slider-btn {
    max-width: max-content;
}

/* Fix for 100% width bug */

/* Features Modern */
.modern-features {
    border: none;
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.feature-box .f-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .f-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Modern Product Card Layout */
.layout-products {
    min-width: 0;
}

/* Prevents flex blowout */
.modern-cat-banner {
    position: relative;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 450px;
}

.modern-cat-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.mcb-content {
    position: relative;
    z-index: 1;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: var(--white);
}

.mcb-content h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 10px;
}

.mcb-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.modern-product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-product-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
    z-index: 5;
}

.mp-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-color);
}

.mp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    mix-blend-mode: multiply;
}

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

.mp-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mp-badge.trending {
    background: var(--dark);
    color: var(--white);
}

.mp-badge.discount {
    background: #e74c3c;
    color: var(--white);
}

.mp-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.modern-product-card:hover .mp-actions {
    bottom: 20px;
    opacity: 1;
}

@media (max-width: 991px) {
    .mp-actions {
        bottom: 15px !important;
        opacity: 1 !important;
    }

    .action-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
}

.action-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-hard);
    transition: var(--transition);
}

.action-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.mp-info {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mp-cat {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modern-product-card .product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: auto;
    padding-bottom: 15px;
}

/* Category Toolbar */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

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

.toolbar-text strong {
    color: var(--dark);
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-sort span {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    background: var(--white);
}

/* Product Tabs Responsive */
.tabs-nav-wrapper {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.detail-tabs-nav {
    white-space: nowrap;
    flex-wrap: nowrap !important;
}

/* Split Banners */
.modern-promo-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-soft);
}

.modern-promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.promo-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.dark-theme .promo-info {
    background: transparent;
    color: var(--white);
}

.light-theme .promo-info {
    background: transparent;
    color: var(--white);
}

.promo-info .tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.dark-theme .promo-info .tag {
    color: var(--primary);
}

.light-theme .promo-info .tag {
    color: var(--primary);
}

.promo-info h3 {
    font-size: 32px;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.promo-info .btn-link,
.promo-info .btn-link.light {
    color: var(--white) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.promo-info .btn-link:hover,
.promo-info .btn-link.light:hover {
    color: var(--primary) !important;
}

/* Quick View Modal Enriched */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content-wrap {
    background: var(--white);
    width: 900px;
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition);
    opacity: 0;
    box-shadow: var(--shadow-hover);
}

.modal-overlay.active .modal-content-wrap {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-row {
    margin: 0;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dcdcdc transparent;
}

.modal-row::-webkit-scrollbar {
    width: 6px;
}

.modal-row::-webkit-scrollbar-track {
    background: transparent;
}

.modal-row::-webkit-scrollbar-thumb {
    background: #dcdcdc;
    border-radius: 10px;
}

.modal-row::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.modal-gallery-area {
    position: sticky;
    top: 10vh;
    /* Üstten biraz boşluk bırakarak dikeyde ortalı hissi verir */
    display: flex;
    flex-direction: column;
}

.modal-img-wrap {
    flex: 1;
    min-height: 400px;
    background: var(--bg-color);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img-wrap img {
    max-height: 350px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.modal-thumbs {
    display: flex;
    padding: 15px;
    gap: 10px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    justify-content: center;
}

.modal-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.modal-thumbs img:hover,
.modal-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
}

.modal-details {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    border-left: 1px solid var(--border-color);
}

.modal-details h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-price {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
}

.modal-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.8;
}

.modal-features-list {
    list-style: none;
}

.modal-features-list li {
    margin-bottom: 8px;
}

.modal-trust i {
    transition: transform 0.3s;
    cursor: default;
}

.modal-trust i:hover {
    transform: scale(1.1);
}

/* Blog Section */
.blog-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.blog-section-header p {
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

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

.blog-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-hard);
}

.blog-content {
    padding: 25px;
}

.blog-cat {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-title:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.blog-read-more i {
    transition: transform 0.3s ease;
    font-size: 11px;
}

.blog-read-more:hover {
    color: var(--primary);
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Modern Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modern-cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.modern-cart-drawer.active {
    transform: translateX(-450px);
}

.cart-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-cart {
    background: var(--bg-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--dark);
    color: var(--white);
    transform: rotate(90deg);
}

.cart-progress {
    padding: 20px 30px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.progress-text {
    font-size: 13px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}

.progress-text span {
    color: var(--primary);
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.empty-cart-msg {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-color);
    padding: 5px;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    padding-right: 20px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.remove-item {
    position: absolute;
    top: 5px;
    right: 0;
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.remove-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

.cart-footer {
    padding: 30px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.02);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.cart-summary-row .val {
    font-weight: 500;
    color: var(--dark);
}

.cart-summary-row .val.green {
    color: #27ae60;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    color: var(--dark);
}

.cart-total-row .val {
    font-size: 22px;
    color: var(--primary);
}

.flying-img {
    position: fixed;
    z-index: 9999;
    border-radius: var(--radius-sm);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-hover);
    pointer-events: none;
    object-fit: contain;
    background: var(--white);
    padding: 5px;
}

/* Footer Adjustments */
.modern-footer {
    background: var(--dark);
    color: var(--text-muted);
    margin-top: 100px;
}

.footer-newsletter {
    background: var(--primary);
    padding: 50px 0;
    margin-bottom: 60px;
}

.nl-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nl-text h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 5px;
}

.nl-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.nl-form {
    display: flex;
    width: 450px;
    background: var(--white);
    padding: 5px;
    border-radius: var(--radius-pill);
}

.nl-form input {
    flex: 1;
    border: none;
    padding: 0 20px;
    background: transparent;
    outline: none;
    font-family: var(--font-main);
}

.nl-form .btn {
    border-radius: var(--radius-pill);
    padding: 12px 25px;
}

.footer-main-row {
    padding-bottom: 60px;
}

.f-brand .f-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.f-brand .f-logo span {
    color: var(--primary);
}

.f-brand p {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.f-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.f-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.f-links h4,
.f-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 500;
}

.f-links ul li {
    margin-bottom: 15px;
}

.f-links ul li a {
    font-size: 14px;
    transition: var(--transition);
}

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

.f-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.f-contact ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.fb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.legal a {
    margin-left: 20px;
}

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

/* ========================================= */
/*               RESPONSIVE                  */
/* ========================================= */

@media (max-width: 1200px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-overlay-content h2 {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .col-3 {
        width: 50%;
    }

    .col-4,
    .col-6,
    .col-8,
    .col-9 {
        width: 100%;
        padding: 0;
    }

    .row {
        margin: 0;
    }

    .hero-row {
        flex-direction: column;
        gap: 30px;
    }

    .featured-swiper {
        height: auto !important;
    }

    .featured-swiper .swiper-wrapper {
        height: auto !important;
    }

    .featured-swiper .swiper-slide {
        height: auto !important;
    }

    .featured-single-modern {
        padding: 30px;
        height: auto !important;
    }

    .hero-slider-modern {
        height: 400px;
    }

    .story-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

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

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

    .product-layout .row {
        flex-direction: column;
        gap: 30px;
    }

    .modern-cat-banner {
        min-height: 250px;
    }

    .category-products .col-3,
    .category-products .col-9 {
        width: 100%;
        padding: 0;
    }

    .filter-col {
        margin-bottom: 30px;
    }

    .filters-sidebar {
        position: static !important;
    }

    .split-banners .col-6 {
        margin-bottom: 30px;
    }

    .split-banners .row {
        flex-direction: column;
    }

    .header-middle-inner {
        display: grid;
        grid-template-columns: 50px 1fr;
        row-gap: 15px;
        column-gap: 0;
        align-items: center;
    }

    #mobileMenuBtn {
        grid-row: 1;
        grid-column: 1;
        justify-self: start;
        display: flex !important;
        align-items: center;
        font-size: 20px;
    }

    .logo-area {
        grid-row: 1;
        grid-column: 2;
        justify-self: end;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }

    .logo img {
        max-height: 40px !important;
        width: auto;
        object-fit: contain;
        object-position: right !important;
        margin-right: 0;
    }

    .header-main.scrolled .header-middle-inner {
        grid-template-columns: 50px 1fr;
        row-gap: 0;
    }

    .header-main.scrolled .logo-area {
        display: none !important;
    }

    .header-main.scrolled #mobileMenuBtn {
        grid-row: 1;
        grid-column: 1;
    }

    .header-main.scrolled .search-bar {
        grid-row: 1;
        grid-column: 2;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .user-actions {
        display: none !important;
    }

    .search-bar {
        grid-row: 2;
        grid-column: 1 / span 2;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .desktop-menu {
        display: none;
    }

    .story-inner {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
    }

    .modal-row {
        display: block;
    }

    .modal-content-wrap {
        max-height: 90vh;
        overflow-y: hidden;
        width: 95%;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        background: var(--white);
        box-shadow: var(--shadow-soft);
    }

    .modal-img-wrap {
        min-height: 250px;
        padding: 20px;
    }

    .modal-gallery-area {
        height: auto;
        position: relative;
        top: 0;
    }

    .modal-details {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 25px 20px;
        height: auto;
    }

    .footer-main-row .col-3 {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .f-brand p {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .col-3 {
        width: 100%;
    }

    .featured-img-wrap {
        min-height: 200px;
    }

    .featured-img-wrap img {
        max-height: 200px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modern-product-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .category-toolbar {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .slider-overlay-content {
        padding: 30px;
    }

    .slider-overlay-content h2 {
        font-size: 32px;
    }

    .top-header-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .social-media {
        display: none;
    }

    .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .contact-info a {
        margin: 0;
        white-space: nowrap;
    }

    .nl-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nl-form {
        width: 100%;
    }

    .modern-cart-drawer {
        width: 100%;
        right: -100%;
    }

    .modern-cart-drawer.active {
        transform: translateX(-100%);
    }

    .fb-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal a {
        margin: 0 10px;
    }

    .story-img-wrap {
        width: 70px;
        height: 70px;
    }

    .story-item span {
        font-size: 12px;
    }

    .modal-thumbs img {
        width: 50px;
        height: 50px;
    }

    .modal-details h2 {
        font-size: 22px;
    }

    .modal-price {
        font-size: 22px;
    }
}

/* ========================================= */
/*       SWIPER & MOBILE MENU SPECIFICS      */
/* ========================================= */

/* Swiper Overrides */
.story-swiper {
    padding-bottom: 10px;
    padding-top: 10px;
    margin-top: -10px;
}

.story-swiper .swiper-slide {
    width: auto;
}

/* Product Swiper Height Fix & Shadow Overflow */
.product-swiper {
    padding-top: 15px;
    padding-bottom: 30px;
    margin-top: -15px;
    margin-bottom: -30px;
    height: 100%;
}

.product-swiper .swiper-slide {
    height: auto;
}

.custom-swiper-nav {
    color: var(--dark);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-hard);
    transition: var(--transition);
    z-index: 10;
}

.custom-swiper-nav:after {
    font-size: 16px;
    font-weight: bold;
}

.custom-swiper-nav:hover {
    background: var(--primary);
    color: var(--white);
}

/* Left Mobile Menu Drawer */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    z-index: 1050;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    transform: translateX(350px);
}

.mm-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mm-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.mm-header button {
    background: var(--bg-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.mm-header button:hover {
    background: var(--primary);
    color: var(--white);
}

.mm-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    list-style: none;
}

.mm-nav>li>a {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark);
}

.mm-sub {
    display: none;
    background: var(--bg-color);
    list-style: none;
}

.mm-sub li a {
    display: block;
    padding: 12px 30px 12px 45px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

/* Mobile dropdown controlled by JS */

.hero-section {
    margin-top: 40px;
}

@media (max-width: 991px) {
    .product-detail-section .row {
        display: block;
    }

    .product-detail-section .col-6 {
        width: 100% !important;
        padding: 0;
    }

    .product-gallery-wrap {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px;
    }

    .product-info-wrap {
        padding-top: 10px !important;
    }
}

/* Haftanin Parcasi Swiper Dots */
.featured-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.featured-pagination .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 70px !important;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding: 5px 0;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: var(--text-muted);
        font-size: 10px;
        font-weight: 500;
        text-decoration: none;
        transition: var(--transition);
        flex: 1;
        text-align: center;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 18px;
        transition: var(--transition);
    }

    .mobile-bottom-nav .nav-item:hover,
    .mobile-bottom-nav .nav-item.active {
        color: var(--primary);
    }

    .mobile-bottom-nav .nav-item.active i {
        transform: translateY(-2px);
    }

    .mobile-nav-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: var(--primary);
        color: var(--white);
        border-radius: 50%;
        width: 16px;
        height: 16px;
        font-size: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
    }
}

/* Prevent layout shift on scrollbar hidden */
body.modal-open {
    overflow: hidden !important;
    padding-right: var(--scrollbar-width, 0px) !important;
}