/**
 * Savro Theme - Main Stylesheet
 * Font: Jost
 * Layout: Boxed
 */

/* ================================
   Reset & Base
================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family, 'Jost', sans-serif);
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================================
   Layout - Boxed
================================ */
.savro-wrapper {
    min-height: 100vh;
}

.savro-wrapper.boxed {
    max-width: 1444px;
    margin: 0 auto;
    background: #fff;
}

/* Full Width (Geniş) — wrapper tüm viewport'u kaplar, içerik container'ı genişler */
.savro-wrapper.full-width {
    max-width: 100%;
    width: 100%;
    margin: 0;
    background: #fff;
}

.savro-wrapper.full-width .container {
    max-width: 1600px;
}

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

/* ================================
   Row 1: Topbar
================================ */
.savro-topbar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 7px 0;
    position: relative;
}

.savro-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.savro-topbar .topbar-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ================================
   Row 2: Upper Menu
================================ */
.savro-upper-menu {
    background: #fff;
    padding: 10px 0;
    position: relative;
}

.savro-upper-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #DEE0EA;
}

.savro-upper-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upper-menu-left,
.upper-menu-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.upper-link {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

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

.upper-link i {
    font-size: 14px;
}

.upper-text {
    font-size: 13px;
    color: #666;
}

.upper-highlight {
    color: var(--primary);
    font-weight: 500;
}

.upper-highlight:hover {
    text-decoration: underline;
}

.upper-divider {
    width: 1px;
    height: 14px;
    background: #DEE0EA;
}

.upper-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upper-social a {
    font-size: 13px;
    color: #666;
    transition: color 0.2s;
}

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

.upper-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.upper-dropdown i {
    font-size: 10px;
    color: #999;
}

/* ================================
   Row 3: Main Header
================================ */
.savro-header {
    background: #fff;
    padding: 20px 0;
    position: relative;
}

.savro-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #DEE0EA;
}

.savro-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #333;
    padding: 10px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: block;
}

.header-logo img {
    width: auto;
}

.header-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

/* Logo Position: Center */
.savro-header.logo-center .container {
    flex-wrap: wrap;
    justify-content: center;
}
.savro-header.logo-center .header-logo {
    flex: 0 0 100%;
    text-align: center;
    order: -2;
    margin-bottom: 8px;
}
.savro-header.logo-center .header-logo a {
    display: inline-block;
}
.savro-header.logo-center .hamburger-menu-btn {
    order: -1;
}
.savro-header.logo-center .header-search {
    flex: 1;
}
.savro-header.logo-center .header-actions {
    flex-shrink: 0;
}

/* Logo Position: Right */
.savro-header.logo-right .container {
    flex-direction: row-reverse;
}
.savro-header.logo-right .header-actions {
    margin-right: auto;
    margin-left: 0;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 780px;
}

.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.search-form:focus-within {
    border-color: #333;
}

.search-icon-btn {
    padding: 14px 18px;
    color: #999;
    font-size: 16px;
    background: transparent;
}

.search-input {
    flex: 1;
    padding: 14px 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-family, 'Jost', sans-serif);
    color: #333;
}

.search-input::placeholder {
    color: #aaa;
}

.search-category-dropdown {
    border-left: 1px solid #e0e0e0;
}

.search-category-dropdown select {
    padding: 14px 40px 14px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-family, 'Jost', sans-serif);
    color: #333;
    background: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #333;
    position: relative;
    transition: color 0.2s;
}

.header-action:hover {
    color: var(--primary);
}

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

.cart-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-total {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-icon-wrapper {
    position: relative;
}

.cart-icon-wrapper i {
    font-size: 22px;
}

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

/* ================================
   Subpage Header Navigation Menu
================================ */
.header-nav-menu {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    padding-left: 40px;
    /* Çok eleman olduğunda ikonların üstüne taşmasın; gizli yatay kaydırma */
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-nav-menu::-webkit-scrollbar {
    display: none;
}

.header-nav-menu ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-menu ul li {
    flex: 0 0 auto;
}

.header-nav-menu ul li a {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-nav-menu ul li a:hover {
    color: var(--primary);
}

.header-nav-menu ul li a i {
    font-size: 10px;
}

.header-nav-menu ul li.has-dropdown {
    position: relative;
}

.header-nav-menu ul li.has-dropdown>a {
    position: relative;
}

.header-nav-menu ul li.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================================
   Search Overlay
================================ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
}

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

.search-overlay-content {
    max-width: 1244px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

.search-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-overlay-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.search-overlay-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

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

.search-overlay-form {
    margin-bottom: 15px;
}

.search-overlay-input-wrapper {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.search-overlay-input {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 14px;
    color: #333;
    outline: none;
    font-family: var(--font-family, 'Jost', sans-serif);
}

.search-overlay-input::placeholder {
    color: #999;
}

.search-overlay-submit {
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

.search-overlay-submit:hover {
    color: var(--primary-hover);
}

.search-overlay-hint {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ================================
   Hamburger Menu Button
================================ */
.hamburger-menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

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

/* ================================
   Sidebar Drawer Overlay
================================ */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

/* ================================
   Sidebar Drawer
================================ */
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-drawer.active {
    left: 0;
}

.sidebar-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.sidebar-logo img {
    height: 35px;
}

.sidebar-logo span {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

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

.sidebar-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* Custom slim scrollbar for sidebar */
.sidebar-drawer-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-drawer-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-drawer-content::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.sidebar-drawer-content::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.sidebar-section {
    padding: 0 25px 25px;
}

.sidebar-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.sidebar-menu li a:hover {
    color: var(--primary);
}

.sidebar-menu li a i {
    font-size: 10px;
    color: #999;
}

.sidebar-menu li.has-submenu>a i {
    transition: transform 0.2s;
}

.sidebar-menu li.has-submenu.open>a i {
    transform: rotate(180deg);
}

/* Sidebar submenu (admin'den seçilen menü → child öğeler) */
.sidebar-submenu {
    list-style: none;
    padding: 0 0 0 14px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-top: 1px solid #f5f5f5;
}

.sidebar-menu li.has-submenu.open > .sidebar-submenu {
    max-height: 3000px;
}

/* İç içe (3. seviye ve sonrası) alt menüler için ilave girinti */
.sidebar-submenu .sidebar-submenu {
    padding-left: 14px;
    background: rgba(0, 0, 0, 0.02);
}

.sidebar-submenu li {
    border-bottom: 1px solid #fafafa;
}

.sidebar-submenu li:last-child {
    border-bottom: none;
}

.sidebar-submenu li a {
    padding: 11px 0;
    font-size: 14px;
    font-weight: 400;
    color: #555;
}

/* Search Toggle Icon */
.search-toggle {
    cursor: pointer;
}

/* Search Popup */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.search-popup.active {
    display: block;
}

.search-popup-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-popup input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.search-popup button {
    padding: 15px 25px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.search-popup .close-search {
    background: none;
    color: #333;
    font-size: 24px;
    padding: 10px;
}

/* ================================
   Mini Cart Dropdown
================================ */
.mini-cart-wrapper {
    position: relative;
}

.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mini-cart-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Drawer başlığı + overlay (masaüstünde gizli, mobilde aktif) */
.mini-cart-drawer-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
    flex: 0 0 auto;
}
.mini-cart-drawer-title {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}
.mini-cart-drawer-close {
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0 4px;
    transition: color 0.2s ease;
}
.mini-cart-drawer-close:hover { color: #1a1a1a; }
.mini-cart-overlay { display: none; }

/* Invisible bridge for hover */
.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.mini-cart-items {
    max-height: 280px;
    overflow-y: auto;
    padding: 15px;
}

.mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item img {
    width: 65px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.mini-cart-item-info {
    flex: 1;
}

.mini-cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-item-price {
    font-size: 13px;
    color: #666;
}

.mini-cart-remove {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.mini-cart-remove:hover {
    color: var(--primary);
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

.subtotal-label {
    font-size: 14px;
    color: #888;
}

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

.mini-cart-count {
    padding: 0 15px 10px;
    font-size: 13px;
    color: #666;
}

.free-shipping-notice {
    margin: 0 15px 15px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.free-shipping-notice p {
    font-size: 13px;
    color: #555;
    margin: 0 0 10px;
}

.free-shipping-notice .highlight {
    color: var(--primary);
    font-weight: 600;
}

.free-shipping-notice.success {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.free-shipping-notice.success p {
    color: #2e7d32;
    margin: 0;
}

.free-shipping-notice.success i {
    margin-right: 5px;
}

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

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

.mini-cart-actions {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-view-cart {
    display: block;
    padding: 10px;
    text-align: center;
    background: #9e9e9e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-view-cart:hover {
    background: #757575;
}

.btn-checkout {
    display: block;
    padding: 10px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-checkout:hover {
    background: var(--primary-hover);
}

.mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.mini-cart-empty i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ddd;
}

.mini-cart-empty p {
    margin: 0;
    font-size: 14px;
}

/* ================================
   Row 4: Main Navigation Menu
================================ */
.savro-main-nav {
    background: #fff;
    position: relative;
}

.savro-main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #DEE0EA;
}

.savro-main-nav .container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 0;
    padding-right: 0;
    /* Açılır mega kutular bu konteynerin tam soluna/sağına yaslanır (sabit konum). */
    position: relative;
}

/* All Categories Button */
.categories-dropdown {
    position: relative;
    border-right: 1px solid #DEE0EA;
    width: 250px;
    margin-top: -2px;
    /* Connect with top border */
    margin-bottom: -2px;
    /* Connect with bottom/sidebar border */
    padding-top: 2px;
    padding-bottom: 2px;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family, 'Jost', sans-serif);
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.categories-btn:hover {
    background: #f8f8f8;
}

.categories-btn i:first-child {
    font-size: 16px;
}

.categories-btn .fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
}

.category-count {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Categories Dropdown Menu - New */
.categories-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* Flyout paneller dışarı taşabilsin diye overflow kısıtı yok */
}

.categories-dropdown.active .categories-dropdown-menu {
    display: block;
}

/* Çok seviyeli kategori flyout'ları — alt kategorisi olan satır hover'da sağa panel açar */
.dropdown-cat {
    position: relative;
}

.dropdown-cat-flyout {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 230px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown-cat:hover > .dropdown-cat-flyout {
    display: block;
}

.dropdown-cat:hover > .dropdown-category-item {
    background: #f8f8f8;
    color: var(--primary);
}

.categories-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.dropdown-category-item:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.dropdown-category-item.highlight {
    background: #fafafa;
}

.dropdown-divider {
    height: 1px;
    background: #DEE0EA;
    margin: 5px 0;
}

.dropdown-category-item .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
}

.dropdown-category-item .badge.sale {
    background: #27ae60;
    color: #fff;
}

.dropdown-category-item .badge.new {
    background: #333;
    color: #fff;
}

/* Categories Dropdown Menu */
.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.categories-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.categories-menu a:last-child {
    border-bottom: none;
}

.categories-menu a:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.categories-menu a .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.categories-menu a .badge.hot {
    background: var(--primary);
    color: #fff;
}

.categories-menu a .badge.new {
    background: #27ae60;
    color: #fff;
}

.categories-menu a .badge.sale {
    background: var(--primary);
    color: #fff;
}

.categories-menu a .arrow {
    color: #999;
    font-size: 12px;
}

/* Main Navigation Links */
.main-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    margin-left: 40px;
    /* Uzun kategori adları tek satırda kalsın (2 satıra kırılmasın) */
    flex-wrap: nowrap;
    /* Align with slider start */
}

.main-nav-links li {
    /* Dropdown öğeye değil, menü satırına (.main-nav-links) göre konumlanır →
       tüm açılır kutular aynı sabit konumda/genişlikte aşağı açılır. */
    position: static;
    flex: 0 1 auto;
    min-width: 0;
}

.main-nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 18px 11px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: color 0.2s;
}

.main-nav-links>li>a:hover {
    color: var(--primary);
}

.main-nav-links>li>a .fa-chevron-down {
    font-size: 9px;
    color: #999;
    transition: transform 0.2s;
}

.main-nav-links>li:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.main-nav-links li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ana sayfa mega menü: tüm açılır kutular menü satırının (.main-nav-links) tam
   genişliğinde, sabit konumda aşağı açılır — öğeye göre sola/sağa kaymaz. */
.main-nav-links .nav-dropdown {
    left: 0;
    right: 0;
    min-width: 0;
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: #f8f8f8;
    color: var(--primary);
    padding-left: 25px;
}

/* Tek kutu, çok sütunlu mega menü (Hepsiburada tarzı):
   her L2 grubu = kalın başlık + altında L3 alt öğeleri; gruplar sütunlara paketlenir. */
.nav-dropdown .nav-mega-cols {
    /* Kutu, menü satırının tam genişliğinde; sütunlar genişliğe göre otomatik dağılır. */
    column-width: 220px;
    column-gap: 36px;
    padding: 22px 30px;
    max-height: 75vh;
    overflow-y: auto;
}

.nav-dropdown .nav-mega-group {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 0 0 20px;
}

.nav-dropdown .nav-mega-group-title {
    display: block;
    padding: 0 0 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

.nav-dropdown .nav-mega-group-title:hover {
    color: var(--primary);
    background: none;
    padding-left: 0;
}

.nav-dropdown .nav-mega-sub {
    display: block;
    padding: 5px 0;
    border: none;
    font-size: 13px;
    color: #666;
}

.nav-dropdown .nav-mega-sub:hover {
    color: var(--primary);
    background: none;
    padding-left: 3px;
}

@media (max-width: 992px) {
    .nav-dropdown .nav-mega-cols {
        column-count: 1;
        min-width: 0;
    }
}

/* Sign In Link */
.nav-signin {
    flex-shrink: 0;
    margin-left: auto;
}

.nav-signin a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    transition: color 0.2s;
}

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

.nav-signin i {
    font-size: 15px;
}

/* ================================
   Main Content
================================ */
.savro-main {
    min-height: 60vh;
    padding: 0;
}

/* ================================
   Hero Section with Sidebar
================================ */
.hero-section {
    padding: 20px 0 0 0;
    /* Top padding for gap, lines stay connected */
    margin-top: 0;
    margin-bottom: 30px;
}

.hero-section .container {
    padding: 0;
}

.hero-layout {
    display: flex;
    gap: 10px;
    min-height: 500px;
    position: relative;
}
.hero-layout.no-sidebar .hero-slider {
    flex: 1;
    width: 100%;
}

/* Left Sidebar - Categories */
.hero-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #DEE0EA;
    display: flex;
    flex-direction: column;
    margin-top: -20px;
    /* Extend border up to connect with menu */
    padding-top: 20px;
    /* Restore visual gap for content */
}

.sidebar-categories {
    padding: 15px 0;
    margin-bottom: 0;
    /* 13 menü öğesinden sonra dikey scroll (her satır ~36px + dikey padding) */
    max-height: calc(36px * 13 + 30px);
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar-categories::-webkit-scrollbar {
    width: 2px;
    background: transparent;
}
.sidebar-categories::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-categories::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
}
.sidebar-categories::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

.sidebar-extra {
    padding: 15px 0;
    border-top: none;
}

/* Promo/Campaign Section */
.sidebar-promo {
    padding: 15px 0;
    margin-top: auto;
}

.sidebar-promo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.sidebar-promo-item:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.sidebar-promo-item .promo-name {
    flex: 1;
    font-weight: 500;
}

.sidebar-promo-item .promo-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
}

.sidebar-promo-item .promo-badge.new {
    background: #27ae60;
}

.sidebar-promo-item .promo-icon {
    color: #f39c12;
    font-size: 14px;
}

.sidebar-separator {
    display: block !important;
    width: 100%;
    height: 0;
    border: none;
    border-top: 1px solid #DEE0EA !important;
    margin: 15px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.sidebar-category-item {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-family: var(--font-family, 'Jost', sans-serif);
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #212529;
    transition: all 0.2s;
}

.sidebar-category-item:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.sidebar-category-item .category-name {
    flex: 1;
}

.sidebar-category-item .arrow {
    color: #ccc;
    font-size: 10px;
    margin-left: 10px;
}

.sidebar-category-item:hover .arrow {
    color: var(--primary);
}

.sidebar-category-item .badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-left: 10px;
}

.sidebar-category-item .badge.hot {
    background: var(--primary);
    color: #fff;
}

.sidebar-category-item .badge.new {
    background: #27ae60;
    color: #fff;
}

.sidebar-category-item .badge.sale {
    background: var(--primary);
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────────────
   Sidebar Category — hierarchical flyout (alt kategori paneli)
   Flyout'lar .sidebar-categories DIŞINDA (kendi container'ında) render edilir
   ki .sidebar-categories overflow:auto ile kaydırılabilsin.
   ───────────────────────────────────────────────────────────────────── */
.sidebar-category-wrapper { position: relative; }

/* Flyout container — .hero-layout içinde sidebar'ın hemen sağına yerleşir,
   böylece tüm flyout panelleri buradan absolute pozisyon alır. */
.sidebar-flyouts-container {
    position: absolute;
    top: 0;
    left: 250px;
    width: 0;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}
.sidebar-flyouts-container .sidebar-flyout { pointer-events: auto; }

/* Flyout paneli — TÜM seviyeler .sidebar-flyouts-container üst kenarına hizalı.
   padding:0 ve sadece item'larda dikey padding kullanılır (top hizası bozulmasın). */
.sidebar-flyout {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    min-height: 500px;
    background: #fff;
    border: 1px solid #DEE0EA;
    border-left: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    overflow: visible;
}

/* Nested panel yatay/dikey konumu — her biri kendinden bir önceki panel'in
   sağ üst köşesine yapışır. top:-1px ile parent'ın border-top'unu telafi
   ederek tüm seviyelerin OUTER TOP'u .sidebar-flyouts-container'ın 0 noktasına
   eşitlenir → tüm paneller görsel olarak aynı hizada başlar. */
.sidebar-flyout-nested { top: -1px; left: 100%; }
.sidebar-flyout .sidebar-flyout                                  { z-index: 101; }
.sidebar-flyout .sidebar-flyout .sidebar-flyout                  { z-index: 102; }
.sidebar-flyout .sidebar-flyout .sidebar-flyout .sidebar-flyout  { z-index: 103; }

/* "Tek kutu" görünümü: bir panelin altında nested açıksa, kendi sağ kenarını
   şeffafa çevir; böylece bütün açık paneller birleşik tek bir kutu gibi görünür. */
.sidebar-flyout:has(> .flyout-item-wrapper:hover > .sidebar-flyout-nested),
.sidebar-flyout:has(> .flyout-item-wrapper:focus-within > .sidebar-flyout-nested) {
    border-right-color: transparent;
}

/* JS ile .is-active sınıfı ekleniyor (top-level flyout). Nested'ler hover ile. */
.sidebar-flyout.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.flyout-item-wrapper.has-flyout:hover > .sidebar-flyout-nested,
.flyout-item-wrapper:focus-within > .sidebar-flyout-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Item satırına aktifken hafif vurgu */
.sidebar-category-wrapper.has-flyout.is-active > .sidebar-category-item,
.sidebar-category-wrapper.has-flyout:hover > .sidebar-category-item {
    background: #f8f8f8;
    color: var(--primary);
}
.sidebar-category-wrapper.has-flyout.is-active > .sidebar-category-item .arrow,
.sidebar-category-wrapper.has-flyout:hover > .sidebar-category-item .arrow {
    color: var(--primary);
}

/* Flyout item satırları */
.flyout-item-wrapper { position: static; }
.flyout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 16px;
    font-family: var(--font-family, 'Jost', sans-serif);
    font-size: 14px;
    font-weight: 400;
    color: #333;
    transition: background .15s, color .15s;
}
.flyout-item:hover {
    background: #f8f8f8;
    color: var(--primary);
}
.flyout-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.flyout-arrow {
    font-size: 10px;
    color: #ccc;
    flex-shrink: 0;
    transition: color .15s;
}
.flyout-item:hover .flyout-arrow { color: var(--primary); }

/* Mobil/tablet: flyout'u disable et (touch ile yer kaplamasın) */
@media (max-width: 992px) {
    .sidebar-flyout { display: none !important; }
}

/* Right Content - Slider */
.hero-slider {
    flex: 1;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 60px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 450px;
    z-index: 2;
}

.slide-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slide-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 30px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.slide-btn:hover {
    gap: 15px;
}

.slide-btn i {
    font-size: 12px;
}

.slide-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.slide-image-only {
    padding: 0;
}
.slide-image-link,
.slide-image-full {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-image-link img,
.slide-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
}

.hero-slider:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dots .dot.active {
    background: #fff;
}

/* ================================
   Features Bar
================================ */
.features-bar {
    padding: 25px 0 15px 0;
}

.features-bar .container {
    border-top: 1px solid #DEE0EA;
    padding-top: 25px;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}
a.feature-item:hover {
    opacity: 0.8;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
}

.feature-icon i {
    font-size: 28px;
    color: transparent;
    -webkit-text-stroke: 1.5px #333;
    text-stroke: 1.5px #333;
}

.feature-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ================================
   Promo Banners
================================ */
.promo-banners {
    padding: 15px 0 40px 0;
    border: none;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    background: #f5f0eb;
}

.promo-large {
    min-height: 500px;
}

.promo-small {
    min-height: 240px;
    flex: 1;
}

.promo-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    z-index: 2;
}

.promo-subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.promo-title {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
    margin-bottom: 15px;
}

.promo-large .promo-title {
    font-size: 36px;
}

.promo-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.promo-btn:hover {
    gap: 12px;
    color: #000;
}

.promo-btn i {
    font-size: 12px;
}

.promo-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   Best Sellers Section
================================ */
.best-sellers {
    padding: 60px 0;
}

.vitrin-items-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}
.vitrin-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}
a.vitrin-item:hover { opacity: 0.7; }
.vitrin-item-icon {
    font-size: 20px;
    color: #555;
}
.vitrin-item-text {
    display: flex;
    flex-direction: column;
}
.vitrin-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.vitrin-item-subtitle {
    font-size: 12px;
    color: #888;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 14px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-slider-wrapper {
    position: relative;
    overflow: hidden;
}

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

@media (max-width: 1244px) {
    .products-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .best-sellers {
        padding: 40px 0;
    }

    .products-arrow {
        display: none;
    }

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

    .section-header {
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .products-slider-wrapper {
        overflow: visible;
    }

    .products-arrow {
        display: none !important;
    }

    .products-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .products-slider::-webkit-scrollbar {
        display: none;
    }

    .products-slider .savro-product-card {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
        scroll-snap-align: start;
    }

    .products-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .products-dots .dot {
        width: 8px;
        height: 8px;
    }

    .best-sellers {
        padding: 30px 0;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .section-desc {
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-badge {
        font-size: 9px;
        padding: 3px 8px;
    }
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;
    height: 273px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.product-badge.discount {
    top: 10px;
    background: #27ae60;
    color: #fff;
}

.product-badge.trending {
    top: 40px;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
}

/* Product Action Buttons */
.product-actions {
    position: absolute;
    top: 10px;
    right: -50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.3s ease;
}

.product-card:hover .product-actions {
    right: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    color: #333;
    font-size: 14px;
}

.action-btn:hover {
    background: #333;
    color: #fff;
    transform: scale(1.1);
}

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

.action-btn.cart-btn:hover {
    background: #27ae60;
}

/* Image Tabs */
.image-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.image-tab {
    flex: 1;
    height: 3px;
    background: #DEE0EA;
    cursor: pointer;
    transition: background 0.2s ease;
}

.image-tab.active {
    background: #BBBBBB;
}

.image-tab:hover {
    background: #BBBBBB;
}

.product-info {
    padding: 0 5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.product-rating i {
    color: #f39c12;
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: #27ae60;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Products Slider Arrows */
.products-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #DEE0EA;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    z-index: 10;
}

.products-prev {
    left: -60px;
}

.products-next {
    right: -60px;
}

.products-arrow:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

/* Products Dots */
.products-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.products-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #DEE0EA;
    cursor: pointer;
    transition: background 0.2s;
}

.products-dots .dot.active {
    background: #333;
}

/* ================================
   Deal of the Week
================================ */
.deal-of-week {
    padding: 60px 0;
    background-color: #f5f5f0;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.deal-of-week .container {
    display: flex;
    justify-content: flex-end;
}

.deal-content {
    width: 50%;
    padding: 40px 0;
}

.deal-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
}

.deal-title {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    margin-bottom: 15px;
}

.deal-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.deal-countdown {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 30px;
}

.countdown-item {
    display: flex;
    align-items: baseline;
}

.countdown-value {
    font-size: 42px;
    font-weight: 300;
    color: #333;
}

.countdown-unit {
    font-size: 14px;
    color: #666;
    margin-left: 2px;
}

.countdown-separator {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin: 0 10px;
}

.deal-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    border: 1px solid #333;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 25px;
}

.deal-btn:hover {
    background: #333;
    color: #fff;
}

.deal-expire {
    font-size: 12px;
    color: #666;
}

.expire-date {
    display: inline-block;
    background: #f7e785;
    padding: 2px 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .deal-of-week {
        background-image: none !important;
        min-height: auto;
        padding: 40px 0;
    }

    .deal-of-week .container {
        justify-content: center;
    }

    .deal-content {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .deal-countdown {
        justify-content: center;
    }

    .deal-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .deal-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .deal-countdown {
        margin-bottom: 20px;
    }

    .countdown-value {
        font-size: 30px;
    }

    .countdown-separator {
        font-size: 26px;
        margin: 0 6px;
    }

    .countdown-unit {
        font-size: 12px;
    }

    .deal-btn {
        display: block;
        text-align: center;
        padding: 14px 30px;
        margin-bottom: 20px;
    }

    .deal-expire {
        font-size: 11px;
    }
}

/* ================================
   Best Categories
================================ */
.best-categories {
    padding: 60px 0;
    background: #fff;
}

.categories-header {
    margin-bottom: 30px;
}

.categories-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    display: inline;
}

.categories-info {
    display: inline;
    font-size: 14px;
    color: #666;
    margin-left: 15px;
}

.categories-info strong {
    color: #333;
}

.categories-slider-wrapper {
    position: relative;
}

.categories-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    text-decoration: none;
    text-align: center;
}

.category-image {
    background: #f5f5f5;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-name {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.categories-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}

.categories-prev {
    left: -50px;
}

@media (max-width: 768px) {
    .best-categories {
        padding: 35px 0;
    }

    .categories-header {
        margin-bottom: 20px;
    }

    .categories-title {
        display: block;
        font-size: 22px;
        margin-bottom: 4px;
    }

    .categories-info {
        display: block;
        margin-left: 0;
        font-size: 13px;
    }

    .categories-slider {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .categories-slider::-webkit-scrollbar {
        display: none;
    }

    .categories-slider .category-card {
        flex: 0 0 calc(33.333% - 8px);
        min-width: calc(33.333% - 8px);
        scroll-snap-align: start;
    }

    .category-name {
        font-size: 13px;
    }

    .categories-arrow {
        display: none;
    }
}

.categories-next {
    right: -50px;
}

.categories-arrow:hover {
    color: #333;
}

/* ================================
   Buyers Reviews
================================ */
.buyers-reviews {
    padding: 60px 0;
    background: #fff;
}

.reviews-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.reviews-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.reviews-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.reviews-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.reviews-slider-wrapper {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reviews-slider[data-overflow] {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.reviews-slider[data-overflow] .review-card {
    flex-shrink: 0;
    box-sizing: border-box;
}

.review-card {
    border: 1px solid #DEE0EA;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars i {
    color: var(--primary);
    font-size: 14px;
    margin: 0 2px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-author {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.reviews-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.reviews-prev {
    margin-right: 12px;
}

.reviews-next {
    margin-left: 12px;
}

.reviews-arrow:hover {
    color: #333;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.reviews-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #DEE0EA;
    cursor: pointer;
}

.reviews-dots .dot.active {
    background: #333;
}

@media (max-width: 768px) {
    .buyers-reviews {
        padding: 35px 0;
    }

    .reviews-header {
        margin-bottom: 25px;
    }

    .reviews-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .reviews-desc {
        font-size: 13px;
    }

    .reviews-slider,
    .reviews-slider[data-overflow] {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
        transform: none !important;
        transition: none !important;
    }

    .reviews-slider::-webkit-scrollbar {
        display: none;
    }

    .reviews-slider .review-card,
    .reviews-slider[data-overflow] .review-card {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        border: none;
        border-radius: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    .review-stars {
        margin-bottom: 15px;
    }

    .review-text {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .review-author {
        font-size: 14px;
        color: #999;
    }

    .reviews-arrow {
        display: none;
    }

    .reviews-dots {
        margin-top: 20px;
    }
}

/* ================================
   Brand Logos
================================ */
.brand-logos {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #DEE0EA;
}

.brands-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-item {
    font-size: 22px;
    font-weight: 400;
    color: #999;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.brand-item:hover {
    color: #333;
}

.brand-item.brand-script {
    font-family: 'Georgia', serif;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.brand-item.brand-serif {
    font-family: 'Times New Roman', serif;
    letter-spacing: 5px;
}

/* Add bottom border to brands section */
.brand-logos {
    border-bottom: 1px solid #DEE0EA;
}

@media (max-width: 768px) {
    .brand-logos {
        padding: 25px 0;
        overflow: hidden;
    }

    .brands-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        scroll-snap-type: x mandatory;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .brands-slider::-webkit-scrollbar {
        display: none;
    }

    .brand-item {
        flex: 0 0 33.333%;
        min-width: 33.333%;
        text-align: center;
        font-size: 14px;
        letter-spacing: 1px;
        scroll-snap-align: start;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .brand-item.brand-serif {
        letter-spacing: 3px;
    }
}

/* ================================
   Latest News / Blog
================================ */
.latest-news {
    padding: 60px 0;
    background: #fff;
}

.news-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.news-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.news-outer {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.news-slider-wrapper {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

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

.news-grid[data-overflow] {
    display: flex;
    gap: 30px;
    will-change: transform;
}

.news-grid[data-overflow] .news-card {
    flex-shrink: 0;
    box-sizing: border-box;
}

.news-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 122px;
}

.news-prev { margin-right: 12px; }
.news-next { margin-left: 12px; }
.news-arrow:hover { color: #333; }

@media (max-width: 768px) {
    .latest-news {
        padding: 30px 0;
    }

    .news-grid,
    .news-grid[data-overflow] {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
        transform: none !important;
        transition: none !important;
    }

    .news-grid::-webkit-scrollbar {
        display: none;
    }

    .news-grid .news-card,
    .news-grid[data-overflow] .news-card {
        flex: 0 0 100%;
        min-width: 100% !important;
        width: 100% !important;
        scroll-snap-align: start;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .news-arrow {
        display: none;
    }

    .news-card-title {
        font-size: 16px;
    }
}

.news-card {
    display: block;
}

.news-image {
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 0 5px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.news-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
}

.news-separator {
    color: #ccc;
}

.news-date {
    font-size: 12px;
    color: #999;
}

.news-card-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: #666;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ================================
   Responsive
================================ */
@media (max-width: 992px) {
    .savro-wrapper.boxed {
        max-width: 100%;
        box-shadow: none;
    }

    .header-search {
        max-width: 500px;
    }

    .upper-menu-left .upper-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .savro-topbar {
        padding: 7px 0;
    }

    .savro-topbar .topbar-text {
        font-size: 8px;
        letter-spacing: 0.1px;
        line-height: 1.1;
        display: block;
    }

    .savro-upper-menu {
        display: none;
    }

    .savro-main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .savro-header {
        padding: 15px 0;
    }

    .savro-header .container {
        flex-wrap: nowrap;
        gap: 0;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger-menu-btn {
        order: 1;
        margin-left: 0;
        padding: 8px;
        font-size: 22px;
        color: #333;
    }

    .header-logo {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .header-logo a {
        display: inline-block;
    }

    .header-actions {
        order: 3;
        gap: 8px;
    }

    /* Hide user, wishlist, search - only show cart */
    .header-actions > .header-action:not(.cart-action) {
        display: none;
    }

    .header-actions .mini-cart-wrapper {
        display: flex;
    }

    .cart-total {
        display: inline;
        font-size: 13px;
        font-weight: 600;
    }

    .cart-icon-wrapper i {
        font-size: 20px;
    }

    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }

    /* Mobile mini cart - click to open */
    .mini-cart-wrapper:hover .mini-cart-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
    }

    .mini-cart-dropdown {
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .mini-cart-dropdown.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        position: absolute;
        top: 100%;
        right: 0;
        width: 320px;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 4px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        z-index: 10001;
        margin-top: 10px;
    }

    .header-search {
        display: none;
    }

    .header-nav-menu {
        display: none;
    }

    /* Hero Sidebar - Hide on mobile */
    .hero-sidebar {
        display: none;
    }

    .hero-layout {
        flex-direction: column;
    }

    /* Mobilde slider görselin gerçek oranına ölçeklenir (--slide-ar adaptörden
       gelir); oran bilinmiyorsa eski min/max yükseklik davranışı korunur. */
    .hero-slider {
        min-height: 65vw;
        max-height: 450px;
    }

    .hero-slider[style*="--slide-ar"] {
        min-height: 0;
        max-height: none;
        height: auto;
        aspect-ratio: var(--slide-ar, 16 / 9);
    }

    .slider-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .slide {
        padding: 25px 30px 45px;
        align-items: flex-end;
    }

    .slide-content {
        max-width: 100%;
        z-index: 3;
    }

    .slide-title {
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 12px;
        line-height: 1.15;
        text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    }

    .slide-subtitle {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 10px;
        letter-spacing: 2px;
        text-shadow: 0 1px 4px rgba(0,0,0,0.15);
    }

    .slide-btn {
        font-size: 17px;
        font-weight: 600;
        padding: 0;
        background: none !important;
        border: none !important;
        color: #fff;
        text-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }

    .slide-btn:hover {
        background: none !important;
        color: #fff;
    }

    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 100%;
        opacity: 1;
        z-index: 1;
    }

    .slide-image img {
        object-position: top center;
    }

    /* Tam genişlik (üzeri yazılı) slider: kapsayıcıyı görselin gerçek oranına
       sabitle. Böylece alt/üstte boşluk kalmaz, yanlardan kırpma da olmaz. */
    .hero-slider.hero-slider-image-only {
        min-height: 0;
        max-height: none;
        height: auto;
        aspect-ratio: var(--slide-ar, 16 / 9);
    }

    .slide.slide-image-only {
        align-items: stretch;
        padding: 0;
    }

    .slide.slide-image-only .slide-image-full,
    .slide.slide-image-only .slide-image-link {
        display: block;
    }

    .slide.slide-image-only .slide-image-full img,
    .slide.slide-image-only .slide-image-link img {
        object-fit: cover;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 12px;
        z-index: 5;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .hero-layout {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        min-height: 85vw;
        max-height: 420px;
    }

    .slide {
        padding: 20px 25px 40px;
    }

    .slide-title {
        font-size: 28px;
        font-weight: 500;
    }

    .slide-subtitle {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1.5px;
    }

    .slide-btn {
        font-size: 16px;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    /* Features Bar - Mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 22px;
    }

    /* Promo Banners - Mobile */
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-large {
        min-height: 350px;
    }

    .promo-small {
        min-height: 200px;
    }

    .promo-content {
        padding: 25px;
    }

    .promo-title {
        font-size: 22px;
    }

    .promo-large .promo-title {
        font-size: 28px;
    }
}

@media (max-width: 1244px) and (min-width: 769px) {
    .main-nav-links>li>a {
        padding: 18px 10px;
        font-size: 13px;
    }

    .header-nav-menu {
        padding-left: 20px;
    }

    .header-nav-menu ul {
        gap: 15px;
    }

    .header-nav-menu ul li a {
        font-size: 12px;
    }

    .categories-btn {
        padding: 16px 15px;
        font-size: 13px;
    }

    .nav-signin {
        display: none;
    }
}

/* ================================
   Newsletter Section
================================ */
.newsletter-section {
    background: #1a1a1a;
    padding: 50px 60px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    box-sizing: border-box;
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1244px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-content {
    flex: 1;
    max-width: 500px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.newsletter-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #444;
    background: transparent;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #777;
}

.newsletter-form button {
    padding: 14px 28px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #f0f0f0;
}

.newsletter-terms {
    font-size: 12px;
    color: #666;
}

.newsletter-terms a {
    color: #999;
    text-decoration: underline;
}

.newsletter-contact {
    text-align: right;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.contact-phone {
    display: block;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
}

.contact-hours {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.app-btn img {
    height: 40px;
}

.app-description {
    font-size: 11px;
    color: #666;
    max-width: 320px;
    margin-left: auto;
}

/* ================================
   Footer
================================ */
.savro-footer {
    background: #fff;
    padding: 50px 0 0;
    border-top: 1px solid #eee;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-info {
    font-size: 13px;
    color: #333;
}

.footer-contact-info a {
    color: #333;
    text-decoration: none;
}

.footer-contact-info span {
    margin: 0 8px;
    color: #ccc;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #333;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
    gap: 20px;
}

.footer-copyright {
    font-size: 12px;
    color: #666;
}

.footer-copyright a {
    color: #333;
    text-decoration: none;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-payments img {
    height: 24px;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #333;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .newsletter-section {
        padding: 40px 20px;
    }

    .newsletter-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .newsletter-content {
        max-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-contact {
        text-align: left;
    }

    .app-buttons {
        justify-content: flex-start;
    }

    .app-description {
        margin-left: 0;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        padding-right: 0;
    }

    .footer-logo {
        display: block;
        text-align: center;
    }

    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact-info {
        text-align: center;
    }

    .footer-payments {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Newsletter — mobilde ortala */
    .newsletter-content {
        text-align: center;
    }

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

    .newsletter-form button {
        align-self: center;
    }

    .app-buttons {
        justify-content: center;
    }

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

/* ================================
   Savro Product Card
================================ */
.savro-product-card {
    background: #fff;
    position: relative;
}

.savro-list-extra {
    display: none;
}

.savro-list-divider {
    display: none;
}

.savro-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.savro-product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f3f4f6;
    margin-bottom: 12px;
}

/* Loader — ürün görseli yüklenene kadar dönen klasik spinner */
.savro-product-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--primary-color, #111111);
    border-top-color: transparent;
    border-radius: 50%;
    animation: savroCardSpin 0.8s linear infinite;
    z-index: 2;
    pointer-events: none;
    transition: opacity .25s ease;
    opacity: 1;
}
.savro-product-image.is-loaded::after { opacity: 0; }

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

.savro-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.3s ease, opacity 0.2s ease;
    z-index: 3;
}

/* Tüm kart görselleri kare container'ı mutlak doldurur; yükseklik yalnızca
   .savro-product-image aspect-ratio'sundan gelir. Aktif/pasif sadece opacity
   ile değişir — böylece lazyload sonrası yükseklik bozulması olmaz. */
.savro-product-image .savro-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.savro-product-image .savro-card-img.active {
    opacity: 1;
    pointer-events: auto;
}

.savro-product-card:hover .savro-product-image .savro-card-img.active {
    transform: scale(1.03);
}

/* Image Link — kare container'ı mutlak doldurur (içindeki görseller buna göre konumlanır) */
.savro-image-link {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Image Tabs Navigation - Separate Section */
.savro-image-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 0;
    z-index: 5;
}

.savro-image-tab {
    flex: 1;
    height: 3px;
    background: #e5e5e5;
    cursor: pointer;
    transition: background 0.2s ease;
}

.savro-image-tab:hover,
.savro-image-tab.active {
    background: #333;
}

/* Discount Badge - Rectangle */
.savro-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    /* Kare kart görselleri (absolute, z-index:3) rozeti örtmesin */
    z-index: 5;
}

/* Product Info */
.savro-product-info {
    padding: 0 4px;
}

/* Rating */
.savro-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.savro-product-rating i {
    color: var(--accent, #F59E0B);
    font-size: 13px;
}

.savro-product-rating span {
    color: #666;
    font-size: 13px;
}

/* Product Name */
.savro-product-name {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    min-height: 42px;
}

/* Price */
.savro-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.savro-old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.savro-current-price {
    color: #222;
    font-size: 16px;
    font-weight: 600;
}

/* Product Grid */
.savro-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1244px) {
    .savro-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 576px) {
    .savro-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .savro-product-name {
        font-size: 13px;
        min-height: auto;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        margin-bottom: 6px;
    }

    .savro-product-rating i {
        font-size: 10px;
    }

    .savro-product-rating span {
        font-size: 11px;
    }

    .savro-current-price {
        font-size: 14px;
    }

    .savro-old-price {
        font-size: 12px;
    }

    .savro-discount-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .savro-image-tabs {
        gap: 2px;
        padding: 4px 0;
    }

    /* Mobile action buttons - always visible, horizontal, bottom */
    .savro-card-actions {
        opacity: 1 !important;
        transform: none !important;
        top: auto;
        bottom: 8px;
        right: 8px;
        flex-direction: row;
        gap: 5px;
    }

    .savro-action-btn {
        width: 25px;
        height: 25px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    }

    .savro-action-btn i {
        font-size: 9px;
    }
}

/* ================================
   Product Card Action Buttons
================================ */
.savro-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.savro-product-card:hover .savro-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.savro-action-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.savro-action-btn i {
    font-size: 16px;
    color: #333;
}

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

.savro-action-btn:hover i {
    color: #fff;
}

.savro-action-btn.quickview-btn {
    background: var(--primary);
}

.savro-action-btn.quickview-btn i {
    color: #fff;
}

.savro-action-btn.quickview-btn:hover {
    background: var(--primary-hover);
}

/* ================================
   Quick View Modal
================================ */
.quickview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.quickview-overlay.active {
    display: flex;
}

.quickview-modal {
    background: #fff;
    width: calc(100vw - 40px);
    max-width: 1100px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    position: relative;
}

.quickview-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

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

.quickview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: calc(100vh - 40px);
}

/* Quick View Image Section */
.quickview-image-section {
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.quickview-main-image {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickview-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: calc(100vh - 200px);
}

.quickview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #333;
    transition: all 0.2s;
    z-index: 2;
}

.quickview-nav:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quickview-nav.prev {
    left: 15px;
}

.quickview-nav.next {
    right: 15px;
}

.quickview-thumbnails {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 5px;
}

.quickview-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.quickview-thumb.active {
    border-color: #333;
}

.quickview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quick View Info Section */
.quickview-info-section {
    padding: 40px 30px;
    overflow-y: auto;
    max-height: calc(100vh - 40px);
}

.quickview-title {
    font-size: 22px;
    font-weight: 500;
    color: #333;
    margin: 0 0 10px 0;
    padding-right: 40px;
}

.quickview-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.quickview-rating .stars {
    color: #F59E0B;
    font-size: 14px;
}

.quickview-rating .review-count {
    font-size: 13px;
    color: #666;
}

.quickview-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.quickview-price .old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.quickview-price .current-price {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

/* Quick View Short Description */
.qv-short-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Quick View Variants (reuse product page styles) */
.qv-variants .savro-variant-section {
    margin-bottom: 15px;
}

.qv-variants .savro-variant-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.qv-variants .savro-variant-label span {
    font-weight: 500;
}

.qv-variants .savro-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qv-variants .savro-color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.qv-variants .savro-color-option.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

.qv-variants .savro-color-option .color-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

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

.qv-variants .savro-size-option {
    min-width: 70px;
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.qv-variants .savro-size-option:hover {
    border-color: #333;
}

.qv-variants .savro-size-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Quick View Stock (matching savro-stock-status) */
.quickview-info-section .savro-stock-status {
    margin: 15px 0;
}

.quickview-info-section .savro-stock-status span {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 20px;
    background: #F1FBEF;
    color: #47B486;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.quickview-info-section .savro-stock-status.out-of-stock span {
    background: #fdecea;
    color: #d32f2f;
}

/* Quick View Actions (matching savro-cart-section) */
.quickview-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.quickview-actions .savro-qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    height: 38px;
    min-width: 120px;
    background: #fff;
}

.quickview-actions .savro-qty-selector button {
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quickview-actions .savro-qty-selector button:hover {
    color: #000;
    background: #f5f5f5;
}

.quickview-actions .savro-qty-selector input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quickview-actions .savro-qty-selector input::-webkit-outer-spin-button,
.quickview-actions .savro-qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quickview-actions .savro-add-cart-btn {
    flex: 1;
    height: 38px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.quickview-actions .savro-add-cart-btn:hover {
    background: #333;
}

/* Quick View Action Links (matching savro-action-links) */
.qv-action-links {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-bottom: 0;
}

.qv-action-links .savro-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.qv-action-links .savro-action-link i {
    font-weight: 400;
    -webkit-text-stroke: 0px;
}

.qv-action-links .savro-action-link:hover {
    color: #333;
}

/* Quick View Meta */
.quickview-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 13px;
    color: #666;
}

.quickview-meta p {
    margin-bottom: 8px;
}

.quickview-meta span {
    color: #333;
}

.quickview-meta a {
    color: #333;
    text-decoration: underline;
}

/* Responsive Quick View */
@media (max-width: 768px) {
    .quickview-modal {
        max-height: calc(100vh - 20px);
        width: calc(100vw - 20px);
    }

    .quickview-content {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: auto;
    }

    .quickview-image-section {
        padding: 15px;
        max-height: 50vh;
    }

    .quickview-main-image img {
        max-height: 40vh;
    }

    .quickview-info-section {
        padding: 20px;
        max-height: none;
        overflow-y: visible;
    }

    .quickview-thumb {
        width: 56px;
        height: 56px;
    }

    .quickview-actions {
        flex-direction: column;
    }

    .qv-action-links {
        gap: 15px;
        flex-wrap: wrap;
        padding: 15px 0;
    }
}

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

@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e8e8e8;
        z-index: 10000;
        padding: 8px 0;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        justify-content: space-around;
        align-items: center;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: #666;
        font-size: 10px;
        font-weight: 500;
        font-family: var(--font-family, 'Jost', sans-serif);
        letter-spacing: 0.3px;
        padding: 4px 12px;
        transition: color 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-nav-item i {
        font-size: 22px;
        color: #555;
        transition: color 0.2s;
    }

    .bottom-nav-item:active,
    .bottom-nav-item:active i {
        color: #333;
    }

    .bottom-nav-item.active,
    .bottom-nav-item.active i {
        color: #333;
    }

    /* Alt menü giriş yapılmış kullanıcıda da her zaman görünür
       (eski .logged-in gizleme kuralı kaldırıldı). */

    .bottom-nav-item span {
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Add padding to body so content doesn't hide behind bottom nav */
    body {
        padding-bottom: 65px;
    }

    /* Yüzen WhatsApp butonu alt sabit menünün üstünde dursun
       (whatsapp-float.php inline stili body sonunda geldiği için !important) */
    a.wa-float {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    }

}

/* ───────────────────────────────────────────────────────────────
   Mobil sepet: sağdan açılan drawer
   (JS <=992px'de tıklamayla açar; bu blok dosya sonunda olduğu için
    önceki .mini-cart-dropdown.mobile-open kurallarını ezer)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .mini-cart-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 10000;
    }
    .mini-cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.mini-cart-open {
        overflow: hidden;
    }

    /* Hover ile açılmayı kapat */
    .mini-cart-wrapper:hover .mini-cart-dropdown:not(.mobile-open) {
        transform: translateX(100%) !important;
        visibility: hidden !important;
        opacity: 1 !important;
    }
    .mini-cart-dropdown::before { display: none !important; }

    .mini-cart-dropdown {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: 88% !important;
        max-width: 380px !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: none !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18) !important;
        transform: translateX(100%) !important;
        opacity: 1 !important;
        visibility: hidden !important;
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s ease !important;
        z-index: 10001 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .mini-cart-dropdown.mobile-open {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    /* Başlık görünür, içerik kaydırılabilir, alt aksiyonlar sabit */
    .mini-cart-drawer-head {
        display: flex !important;
    }
    .mini-cart-items {
        flex: 1 1 auto !important;
        max-height: none !important;
    }
    .mini-cart-empty {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mini-cart-actions {
        flex: 0 0 auto;
    }
}

/* ───────────────────────────────────────────────────────────────
   Tablet (<=992px) — bölümleri ortala
   (dosya sonunda olduğu için 992 newsletter sol-yaslı kurallarını ezer)
   ─────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    /* Newsletter */
    .newsletter-content { text-align: center; }
    .newsletter-contact { text-align: center; }
    .newsletter-form button { align-self: center; }
    .app-buttons { justify-content: center; }
    .app-description { text-align: center; margin-left: 0; }

    /* Haftanın Fırsatı */
    .deal-content { text-align: center; }
    .deal-countdown { justify-content: center; }
}