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

:root {
    --primary: #FF006A;
    /* VIVID E-COMMERCE PINK */
    --primary-hover: #D70059;
    --primary-light: #FFF0F5;
    /* Soft pink for backgrounds */

    --black: #212121;
    /* Deep rich black */
    --dark-text: #333333;
    --grey-text: #666666;
    --light-grey: #999999;
    --border: #E8E8E8;
    --bg-main: #F7F8FA;
    /* Very clean, slightly cool light grey */
    --white: #FFFFFF;

    --orange: #F27A1A;
    /* Trendyol Orange for stars/ratings */
    --green: #22B14C;
    /* Success/Green text */
    --red: #E74C3C;
    /* Discount red */

    --radius: 8px;
    /* Perfect modern corporate radius */
    --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--black);
    background-color: var(--bg-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

ul {
    list-style: none;
}

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

/* UTILS */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: 0 4px 10px rgba(255, 0, 106, 0.4);
    animation: badge-pulse 2s infinite;
}

/* 1. TOP ANNOUNCEMENT BAR (Premium Feel) */
.top-bar {
    background: var(--primary-light);
    font-size: 12px;
    color: var(--dark-text);
    border-bottom: 1px solid rgba(255, 0, 106, 0.1);
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.top-bar-left a {
    margin-right: 25px;
    font-weight: 600;
    color: var(--grey-text);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-bar-left a i {
    font-size: 16px;
    color: var(--primary);
}

.top-bar-left a:hover {
    color: var(--primary);
}

.top-bar-right span {
    margin-left: 25px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right .highlight {
    color: var(--primary);
    font-weight: 800;
}

.top-bar-right i {
    font-size: 16px;
    color: var(--primary);
}

.top-bar-right .trust-badge {
    color: var(--green);
    font-weight: 700;
}

.top-bar-right .trust-badge i {
    color: var(--green);
}

.m-top-row,
.m-top-links {
    display: none;
}

/* 2. MAIN HEADER */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    flex-wrap: wrap;
}

/* INCREASED HEIGHT */

/* Logo */
.logo {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--black);
    flex-shrink: 0;
}

/* INCREASED LOGO */

/* Search Box (Desktop Priority) */
.search-area {
    flex: 1;
    max-width: 750px;
    margin: 0 50px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    height: 50px;
    /* INCREASED SEARCH HEIGHT */
    transition: all var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 0, 106, 0.1);
}

.search-box input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 18px;
    font-size: 15px;
    color: var(--black);
    font-weight: 500;
    outline: none;
}

.search-box input::placeholder {
    color: var(--light-grey);
    font-weight: 400;
}

.search-box button {
    width: 55px;
    height: 100%;
    color: var(--primary);
    font-size: 22px;
    background: transparent;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 30px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.action-btn i {
    font-size: 26px;
    color: var(--black);
    transition: color var(--transition);
}

.action-meta {
    display: flex;
    flex-direction: column;
}

.action-meta span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.action-meta small {
    font-size: 11px;
    color: var(--grey-text);
    font-weight: 500;
}

.action-btn:hover i {
    color: var(--primary);
    transform: translateY(-2px);
}

.action-btn:hover .action-meta span {
    color: var(--primary);
}

.cart-price {
    font-weight: 900 !important;
    color: var(--black) !important;
    font-size: 13px !important;
    background: var(--bg-main);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.cart-btn .badge {
    right: auto;
    left: 16px;
    top: -5px;
}

/* Mobile toggles & Search row */
.mobile-toggle,
.mobile-search-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
    color: var(--black);
}

.mobile-search-row {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 10px 0;
}

.m-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border-radius: 6px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid var(--border);
}

.m-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-weight: 500;
}

.m-search-box button {
    color: var(--primary);
    font-size: 20px;
}


/* 3. NAVIGATION (Mega Menu & Horizontal) */
.main-nav {
    border-top: 1px solid var(--border);
    display: none;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 35px;
    height: 50px;
    align-items: center;
}

.nav-list>li {
    position: static;
}

.nav-list>li:not(:last-child)>a::before {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: var(--border);
}

.nav-list>li>a {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    padding: 15px 0;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.nav-list>li>a:hover,
.nav-list>li>a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Premium Full-Width Mega Menu */
.main-nav .container {
    position: relative;
}

.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    width: auto;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 35px 40px;
    border-radius: 0 0 var(--radius) var(--radius);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(15px);
    z-index: 100;
}

.has-mega:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.m-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.m-col h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 8px;
    margin-bottom: 5px;
}

.m-col a {
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
}

.m-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.image-col {
    flex: 1.5;
    align-items: center;
    margin-left: 10px;
}

.image-col img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-col span {
    display: block;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.image-col:hover span {
    background: var(--primary-hover);
}


/* 4. STORIES COMPONENT (Flawless Centering) */
.stories-wrap {
    margin-top: 35px;
    margin-bottom: 30px;
    position: relative;
}

.story-btn {
    display: none;
    position: absolute;
    top: 55px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary);
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.18);
    z-index: 10;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
}
.story-left { left: 5px; }
.story-right { right: 5px; }

.stories-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 85px;
    cursor: pointer;
}

/* The Rings (Spinning Dashed Border) */
.story-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: none;
    padding: 4px;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.story-ring::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    animation: dash-spin 15s linear infinite;
    pointer-events: none;
}

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

.story-item:hover .story-ring {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 0, 106, 0.15);
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.story-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    text-align: center;
    letter-spacing: 0.5px;
}


/* 5. HERO SLIDER (Immersive) */
.hero-slider-wrap {
    margin-bottom: 40px;
}

.hero-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.hero-slider .slide {
    display: none;
    width: 100%;
    animation: fadeSlide 0.5s ease;
}

.hero-slider .slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-slider img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
    border-radius: 0;
}

.desktop-banner {
    display: none;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.slider-text {
    text-align: left;
    color: var(--white);
    max-width: 600px;
    padding: 40px;
    margin-right: auto;
    margin-left: 5%;
}

.slider-text h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.slider-text p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
}

.slider-btn {
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(255, 0, 106, 0.4);
}

.slider-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 0, 106, 0.5);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 20px;
}

.arr {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--black);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 6px;
}


/* 6. FLASH SALE BANNER (Ultra Premium) */
.flash-sale-box {
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 2px, transparent 2px, transparent 15px),
        linear-gradient(135deg, #FF006A 0%, #C70053 50%, #1A1A1A 100%);
    border-radius: 12px;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(255, 0, 106, 0.35), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    margin-bottom: 50px;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.flash-sale-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

.fs-info {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.fs-info i {
    font-size: 40px;
    color: #FFF200;
    filter: drop-shadow(0 0 15px rgba(255, 242, 0, 0.7));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.fs-texts strong {
    font-size: 24px;
    display: block;
    line-height: 1.2;
    margin-bottom: 5px;
    font-weight: 900;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.fs-texts span {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 500;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.fs-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.time-box {
    background: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 65px;
}

.time-box b {
    font-size: 24px;
    color: var(--primary);
    line-height: 1.1;
    font-weight: 900;
}

.time-box small {
    font-size: 10px;
    font-weight: 800;
    color: var(--grey-text);
    letter-spacing: 0.5px;
}

.sep {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


/* 7. PRODUCT TABS & GRID (The Corporate Conversion Engine) */
.products-block {
    margin-bottom: 70px;
}

.product-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
}

/* Centered Tabs! */
.product-tabs::-webkit-scrollbar {
    display: none;
}

.ptab {
    font-size: 16px;
    font-weight: 800;
    color: var(--light-grey);
    padding: 12px 20px;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.ptab:hover {
    color: var(--dark-text);
}

.ptab.active {
    color: var(--primary);
}

.ptab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

/* The White Product Card - Perfected */
.p-card {
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    /* Added solid resting drop-shadow */
}

.p-card:hover {
    border-color: rgba(255, 0, 106, 0.3);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    z-index: 5;
}

.fav-box {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--light-grey);
    border: 1px solid transparent;
    z-index: 5;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fav-box:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 0, 106, 0.15);
}

.p-img-box {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #FAFAFA;
    border-bottom: 1px solid var(--border);
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    mix-blend-mode: multiply;
}

.p-card:hover .p-img-box img {
    transform: scale(1.06);
}

.p-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    z-index: 5;
}

/* Square Badges (Top Left Stack) */
.badge-discount,
.badge-kargo {
    background: var(--white);
    width: 48px;
    height: 48px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 !important;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-discount {
    border: 1px solid rgba(255, 0, 106, 0.3);
    color: var(--primary);
}

.badge-discount strong {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    color: var(--primary);
}

.badge-discount small {
    font-size: 8px;
    font-weight: 900;
    color: var(--grey-text);
    line-height: 1;
    margin-top: 2px;
}

.badge-kargo {
    border: 1px solid rgba(34, 177, 76, 0.4);
}

.badge-kargo strong {
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    color: var(--green);
    margin-bottom: 2px;
}

.badge-kargo small {
    font-size: 9px;
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1;
}

.blink-effect {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 106, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 0, 106, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 106, 0);
    }
}

/* Pill Badges (Bottom Left / Misc) */
.badge-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 4px;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.badge-firsat {
    background: linear-gradient(135deg, #FF5500, #F27A1A);
    box-shadow: 0 4px 10px rgba(242, 122, 26, 0.4);
}

.badge-yeni {
    background: var(--black);
}

.p-details {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex: 1;
    align-items: center;
    text-align: center;
}

/* Center everything in details */
.p-brand {
    font-size: 13px;
    font-weight: 900;
    color: var(--dark-text);
    margin-bottom: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.p-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--dark-text);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.p-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.stars {
    color: var(--orange);
    font-size: 17px;
    display: flex;
    gap: 3px;
    align-items: center;
}

/* Büyütüldü */
.rcount {
    font-size: 13px;
    color: var(--light-grey);
    font-weight: 500;
}

.p-price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: auto;
    margin-bottom: 15px;
    width: 100%;
}

.price-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.old-price {
    font-size: 13px;
    color: var(--light-grey);
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* EXPLICIT BUTTON DESIGN ALIGNED WITH BADGE  */
.add-to-cart-btn {
    width: 100%;
    background: var(--white);
    color: var(--black);
    font-size: 15px;
    font-weight: 800;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(255, 0, 106, 0.1);
}

.add-to-cart-btn i {
    font-size: 18px;
    color: var(--primary);
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 106, 0.3);
    border-color: var(--primary);
}

.add-to-cart-btn:hover i {
    color: var(--white);
}

.btn-wrap-center {
    display: flex;
    justify-content: center;
}

.load-more-btn {
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--black);
    padding: 15px 50px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.load-more-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* 8. TWIN BANNER AREA */
.twin-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 70px;
}

.tb-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.tb-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tb-item:hover img {
    transform: scale(1.08);
}

.tb-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.tb-info h4 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.tb-info p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
}

.fake-link {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    align-self: flex-start;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 0, 106, 0.4);
}

.tb-item:hover .fake-link {
    background: var(--primary-hover);
    transform: translateY(-3px);
}


/* 9. CORPORATE FOOTER (Ultra Professional) */
.footer-block {
    background: transparent;
    border-top: none;
    margin-top: 50px;
}

/* Trust Bar */
.trust-bar {
    border-bottom: 1px solid var(--border);
    padding: 35px 0;
    background: #F8F9FA;
}

.tr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.tr-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.tr-item:hover {
    transform: translateY(-3px);
}

.tr-item .icon {
    width: 55px;
    height: 55px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 0, 106, 0.1);
    font-size: 26px;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 0, 106, 0.08);
}

.tr-item .text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tr-item .text strong {
    font-size: 16px;
    color: var(--black);
    font-weight: 800;
}

.tr-item .text {
    font-size: 14px;
    color: var(--grey-text);
    font-weight: 500;
}

/* Links Grid */
.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 15px;
}

.f-col strong {
    display: block;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
    padding-bottom: 8px;
    font-weight: 800;
}

.f-col a {
    display: block;
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.f-col a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.app-col .social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-main);
    border-radius: 50%;
    color: var(--black);
    font-size: 20px;
    transition: all 0.3s;
    margin-bottom: 0;
    border: 1px solid var(--border);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 106, 0.25);
}

.newsletter-mini .sub-form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    height: 46px;
    transition: border-color 0.3s;
}

.newsletter-mini .sub-form:focus-within {
    border-color: var(--primary);
}

.sub-form input {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    font-weight: 500;
}

.sub-form button {
    background: var(--black);
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    padding: 0 25px;
    transition: 0.3s;
}

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

.footer-end {
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    padding: 20px 0;
}

.fe-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    font-size: 13px;
    color: var(--grey-text);
    font-weight: 500;
}

.cards {
    display: flex;
    gap: 12px;
    font-size: 28px;
    color: var(--black);
}

/* MOBILE APPLIKE BOTTOM FIX NAV */
.mobile-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-b-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--grey-text);
    width: 100%;
    transition: all 0.3s;
}

.nav-b-item i {
    font-size: 24px;
    transition: transform 0.3s;
}

.nav-b-item span {
    font-size: 11px;
    font-weight: 800;
}

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

.nav-b-item.active i {
    transform: translateY(-3px);
}

.cart-icon-wrap {
    position: relative;
    display: flex;
}

.cart-icon-wrap .badge {
    top: -4px;
    right: -10px;
    border: 2px solid var(--white);
    padding: 2px 6px;
}


/* ======= MEDIA QUERIES FOR DESKTOP ======= */
@media (min-width: 768px) {

    .mobile-toggle,
    .mobile-search-toggle {
        display: none;
    }

    .header-actions {
        display: flex;
    }

    .main-nav {
        display: block;
    }

    .mobile-nav-bottom {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    /* Centered explicitly for stories */
    .stories-row {
        justify-content: center;
        gap: 40px;
    }

    .story-ring {
        width: 100px;
        height: 100px;
        padding: 4px;
    }

    .story-name {
        font-size: 14px;
        margin-top: 5px;
    }

    .hero-slider img {
        border-radius: var(--radius);
        height: auto !important;
    }

    .mobile-banner {
        display: none;
    }

    .desktop-banner {
        display: block;
    }

    .slider-text {
        margin-left: 8%;
    }

    .flash-sale-box {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 60px;
    }

    .fs-texts strong {
        font-size: 28px;
    }

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

    .twin-banners {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .tb-item img {
        height: 400px;
    }

    .tr-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr 1fr 1.5fr;
        gap: 60px;
        padding: 70px 15px;
    }

    .fe-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .story-btn {
        display: flex;
        top: 47.5px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    .stories-row { 
        justify-content: safe center; 
        padding: 10px 25px;
        gap: 15px;
    }
    .story-ring {
        width: 75px; 
        height: 75px;
    }
    .story-item {
        min-width: 75px;
    }
    .story-name { font-size: 11px; }
    .search-area {
        display: none;
    }

    /* Kept as separate row */
    .mobile-search-toggle {
        display: none;
    }

    /* Hide the icon, show the row permanently */
    .mobile-search-row {
        display: block;
    }

    /* Show permanent search row on mobile */
    .header-container {
        padding: 0 15px;
        height: 60px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        font-size: 29px;
        margin: 0;
        letter-spacing: -1px;
        display: block;
        line-height: 1;
    }

    .mobile-toggle {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 26px;
        z-index: 1001;
    }

    /* Top Bar Mobile Optimization */
    .top-bar {
        display: block;
        padding: 0;
        background: var(--bg-main);
        border-bottom: 1px solid var(--border);
    }

    .top-bar-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 0;
        padding: 0;
    }

    .top-bar-left,
    .top-bar-right {
        display: none !important;
    }

    /* Hide desktop content */

    .m-top-row {
        display: flex;
        justify-content: center;
        background: var(--white);
        width: 100%;
        padding: 6px 0;
        border-bottom: 1px solid var(--line);
    }

    .m-top-row .trust-badge {
        font-size: 11.5px;
        font-weight: 800;
        color: var(--green);
        display: flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 0.3px;
    }

    .m-top-row .trust-badge i {
        font-size: 14px;
        color: var(--green);
    }

    .m-top-links {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 8px 0;
        gap: 12px;
    }

    .m-top-links a {
        font-size: 11px;
        font-weight: 700;
        color: var(--text);
    }

    .m-top-links .sep {
        font-size: 10px;
        color: var(--muted);
        opacity: 0.5;
    }

    /* Active Mobile Menu Styles */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 110px);
        background: var(--white);
        z-index: 999;
        overflow-y: auto;
        padding-bottom: 120px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
    }

    .main-nav.show-mobile-menu {
        display: block;
        animation: slideDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

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

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0;
        margin-top: 5px;
    }

    .nav-list>li {
        width: 100%;
        border: none;
    }

    .nav-list>li::after {
        display: none;
    }

    .nav-list>li>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 0;
        margin: 0 20px;
        font-size: 15px;
        font-weight: 700;
        color: var(--black);
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #e3e3e3 !important;
    }
    
    .nav-list>li:last-child>a {
        border-bottom: none !important;
    }
    
    .nav-list>li>a::before {
        display: none;
    }

    .nav-list>li>a::after {
        content: "›";
        font-size: 22px;
        color: #b0b0b0;
        transition: transform 0.3s;
        font-family: inherit;
        margin-left: auto;
    }

    .has-mega.active-mobile>a {
        color: var(--primary);
    }

    .has-mega.active-mobile>a::after {
        transform: rotate(90deg);
        color: var(--primary);
    }

    .mega-menu {
        position: static;
        display: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        border: none;
        padding: 15px 20px;
        background: #fafafa;
        border-radius: 0;
    }

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

    .has-mega.active-mobile .mega-menu {
        display: block;
    }

    .flash-sale-box {
        margin-bottom: 30px;
        padding: 25px 20px;
    }

    .fs-info {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .fs-texts {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fs-texts strong {
        font-size: 20px;
    }

    .fs-info i {
        font-size: 32px;
    }

    .trust-bar {
        padding: 0;
        background: transparent !important;
        border-top: none;
        border-bottom: none;
        margin-bottom: 30px;
    }

    .tr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        background-color: transparent !important;
    }

    .tr-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        background-color: transparent !important;
        padding: 25px 10px;
        margin: 0;
        transition: none;
    }

    .tr-item:nth-child(1),
    .tr-item:nth-child(2) {
        border-bottom: 1px solid #dfdfdf;
    }

    .tr-item:nth-child(even) {
        border-left: 1px solid #dfdfdf;
    }

    .tr-item:hover {
        transform: none;
    }

    .tr-item .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        box-shadow: none;
        border: 1px solid rgba(255, 0, 106, 0.1);
        background: var(--white);
    }

    .tr-item .text strong {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .tr-item .text {
        font-size: 11px;
        line-height: 1.2;
    }

    .p-grid {
        gap: 10px;
    }

    .stars {
        font-size: 13px;
        gap: 2px;
    }

    /* Mobilde çok kaba durmasın */

    .slider-text {
        text-align: center;
        margin: 0 auto;
        padding: 20px;
        max-width: 90%;
    }

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

    .slider-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* Prevent excessive height on mobile */
}

/* =========================================
   YENİ FOOTER (Masaüstü Footer - epijama)
   ========================================= */
.desktop-footer {
    --accent: var(--primary);
    /* Adapted to epijama pink */
    --text: #222;
    --muted: #9aa0a6;
    --line: #ececec;
    --bg: #ffffff;
    --shadow: 0 10px 24px rgba(0, 0, 0, .04);
    font: 14px/1.5 'Poppins', system-ui, sans-serif;
    color: var(--text);
    width: 100%;
    margin-top: 40px;
}

@media(max-width:991.98px) {
    .desktop-footer {
        display: none
    }
}

.desktop-footer .df-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer floating shadow */
    padding: 40px 40px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 50px auto;
    /* Centered, bottom margin */
}

.desktop-footer .df-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    column-gap: 28px;
    row-gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.desktop-footer .df-grid>.df-col {
    border-right: 1px solid var(--line);
    padding-right: 24px;
}

.desktop-footer .df-grid>.df-col:last-child {
    border-right: none;
    padding-right: 0;
}

/* Sol: Logo + iletişim */
.desktop-footer .df-brand .df-logo {
    display: inline-block;
    margin: 0 auto 14px;
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -1px;
    text-decoration: none;
}

.desktop-footer .df-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.desktop-footer .df-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.desktop-footer .df-contact li:first-child {
    border-top: 1px solid var(--line);
}

.desktop-footer .df-contact li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.desktop-footer .df-contact .ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
}

.desktop-footer .df-contact .ico svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
    display: block;
}

.desktop-footer .df-contact a {
    color: var(--text);
    text-decoration: none;
    transition: color .3s ease;
    word-break: break-word;
}

.desktop-footer .df-contact a:hover {
    color: var(--accent);
}

.desktop-footer .df-contact address {
    font-style: normal;
    color: var(--text);
}

/* Sağ kolonlar */
.desktop-footer .df-col .df-title {
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: .3px;
    padding-bottom: 10px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
}

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

.desktop-footer .df-links li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.desktop-footer .df-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.desktop-footer .df-links a {
    color: var(--text);
    text-decoration: none;
    transition: color .3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.desktop-footer .df-links a::after {
    content: "›";
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.desktop-footer .df-links a:hover,
.desktop-footer .df-links a:focus {
    color: var(--accent);
    outline: none;
    padding-left: 5px;
}

/* Alt: mağazalar (sol) + ödeme (orta) + sosyal (sağ) */
.desktop-footer .df-bottom {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 30px auto 0;
    max-width: 1240px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.desktop-footer .df-stores {
    grid-column: 1;
    justify-self: start;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.desktop-footer .df-stores .store-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition: border-color .3s ease;
}

.desktop-footer .df-stores .store-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--muted);
    transition: fill .3s ease;
}

.desktop-footer .df-stores .store-icon:hover {
    border-color: var(--accent);
}

.desktop-footer .df-stores .store-icon:hover svg {
    fill: var(--accent);
}

.desktop-footer .df-payments {
    grid-column: 2;
    text-align: center;
}

.desktop-footer .df-payments img {
    display: inline-block;
    max-width: 380px;
    width: 100%;
    height: auto;
}

.desktop-footer .df-social {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 14px;
    align-items: center;
}

.desktop-footer .df-social a svg {
    width: 20px;
    height: 20px;
    fill: var(--muted);
    transition: fill .3s ease;
    display: block;
}

.desktop-footer .df-social a:hover svg {
    fill: var(--accent);
    transform: scale(1.1);
}

/* En alt linkler */
.desktop-footer .df-bottom-links {
    text-align: center;
    color: var(--muted);
    padding: 15px 16px;
    margin: 0;
}

.desktop-footer .df-bottom-links .mini-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.desktop-footer .df-bottom-links .mini-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color .3s ease;
    font-size: 13px;
    font-weight: 500;
}

.desktop-footer .df-bottom-links .mini-links a:hover {
    color: var(--accent);
}

.desktop-footer .df-bottom-links .sep {
    color: var(--muted);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.desktop-footer .df-bottom-links .df-divider {
    height: 1px;
    background: var(--line);
    max-width: 720px;
    margin: 12px auto 0;
}

.desktop-footer .df-bottom-links .copyright {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
}

/* =========================================
   YENİ MASAÜSTÜ BİTİŞ - MOBİL BAŞLANGIÇ
   ========================================= */

#ep-mobile-footer {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 70px !important;
}

/* to clear the mobile nav bottom */
:where(p, div, section):has(>#ep-mobile-footer) {
    margin: 0 !important;
    padding: 0 !important
}

#ep-mobile-footer+* {
    margin-top: 0 !important;
    padding-top: 0 !important
}

#ep-mobile-footer .mobile-footer {
    --accent: var(--primary);
    --text: #222;
    --muted: #9aa0a6;
    --line: #ececec;
    --bg: #fff;
    --shadow: 0 -4px 18px rgba(0, 0, 0, .04);
    font: 14px/1.5 'Poppins', system-ui, sans-serif;
    color: var(--text);
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    display: flow-root;
}

@media(min-width:769px) {
    #ep-mobile-footer .mobile-footer {
        display: none
    }
}

.mobile-footer .card {
    background: var(--bg);
    box-shadow: var(--shadow);
    width: calc(100% - 30px);
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.mobile-footer .topbox {
    text-align: center;
    padding: 20px 14px 16px;
    border-bottom: 1px solid var(--line);
}

.mobile-footer .topbox .label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .3px;
    color: var(--accent);
    margin: 0 0 8px;
    display: block;
}

.mobile-footer .topbox .phone {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.mobile-footer .topbox .phone a {
    color: var(--black);
    text-decoration: none;
}

.mobile-footer details {
    border-bottom: 1px solid var(--line);
    margin: 0;
}

.mobile-footer summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    font-size: 13px;
    color: var(--text);
}

.mobile-footer summary::-webkit-details-marker {
    display: none;
}

.mobile-footer summary::marker {
    content: "";
    display: none;
}

.mobile-footer .plus {
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    width: 18px;
    text-align: center;
}

.mobile-footer details[open] .plus::before {
    content: "−";
}

.mobile-footer details:not([open]) .plus::before {
    content: "+";
}

.mobile-footer .content {
    padding: 0 16px 12px;
    margin: 0;
}

.mobile-footer .links {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.mobile-footer .links li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.mobile-footer .links li:last-child {
    border-bottom: none;
}

.mobile-footer .links a {
    display: block;
    padding: 12px 24px 12px 0;
    color: var(--text);
    font-size: 13px;
    text-decoration: none !important;
    transition: color .2s;
}

.mobile-footer .links li::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
}

.mobile-footer .links li:hover::after {
    opacity: 1;
}

.mobile-footer .links a:hover {
    color: var(--accent);
}

.mobile-footer .social {
    text-align: center;
    padding: 20px 16px 10px;
    margin: 0;
}

.mobile-footer .social .title {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 14px;
    display: block;
}

.mobile-footer .icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.mobile-footer .icons a svg {
    width: 22px;
    height: 22px;
    fill: var(--muted);
    transition: fill .2s;
}

.mobile-footer .icons a:hover svg {
    fill: var(--accent);
}

.mobile-footer .payments {
    padding: 16px;
    margin: 0;
}

.mobile-footer .payments img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    opacity: 0.8;
}

.mobile-footer .bottom-links {
    margin: 10px 0 0 !important;
    padding: 0 16px 20px !important;
    text-align: center;
    color: var(--muted);
}

.mobile-footer .bottom-links .mini-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.mobile-footer .bottom-links .mini-links a {
    color: var(--muted);
    text-decoration: none !important;
    transition: color .2s ease;
    font-size: 13px;
    font-weight: 500;
}

.mobile-footer .bottom-links .mini-links a:hover {
    color: var(--accent);
}

.mobile-footer .bottom-links .sep {
    color: var(--muted);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-footer .bottom-links .copyright {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
/* --- ENALTKAT CREDIT PORTING --- */
.enaltkat-credit {
    text-align: center;
    padding: 0 20px 0px 20px;
    font-size: 13px;
    color: #888;
    letter-spacing: 0.5px;
    margin-top: 0;
    transform: translateY(-38px);
    position: relative;
    z-index: 10;
}
.enaltkat-credit a {
    color: #111;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 991px) {
    .enaltkat-credit {
        margin-top: 15px;
        padding-top: 0;
        padding-bottom: 80px;
    }
}

/* TOP BAR INCE DIKEY CIZGI DUZELTMESI */
.top-bar-left .sep, .m-top-links .sep {
    color: var(--primary) !important;
    opacity: 0.4 !important;
    font-size: 13px !important;
    font-weight: 300 !important;
    margin: 0 10px;
    display: inline-block;
    transform: translateY(-1px);
}
