/*
 Theme Name:   Erdem LLC
 Theme URI:    https://erdemllc.com
 Description:  Erdem LLC Business Immigration Consultancy - Göçmenlik Danışmanlığı Teması
 Author:       Erdem LLC
 Author URI:   https://erdemllc.com
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  erdemllc
*/

/* ===== RESET & BASE ===== */
:root {
    --erdem-navy: #1a2744;
    --erdem-navy-light: #2a3a5c;
    --erdem-blue: #3a5ba0;
    --erdem-gold: #c9a84c;
    --erdem-light-bg: #f0f4f8;
    --erdem-white: #ffffff;
    --erdem-text: #333333;
    --erdem-text-light: #666666;
    --erdem-border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--erdem-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--erdem-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--erdem-navy);
    color: var(--erdem-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: var(--erdem-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover {
    color: var(--erdem-gold);
}

.top-bar-right {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    background: var(--erdem-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--erdem-navy);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.site-logo img {
    max-height: 48px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(13%) sepia(21%) saturate(2283%) hue-rotate(193deg) brightness(96%) contrast(92%);
    transition: filter 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    color: var(--erdem-navy);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    z-index: 1002;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--erdem-blue);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--erdem-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--erdem-white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 100;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--erdem-light-bg);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--erdem-navy);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(0.95);
    }

    66% {
        transform: translate(25px, -25px) scale(1.08);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -30px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    background: linear-gradient(-45deg, #0f1b33, #1a2744, #253a6a, #3a5ba0, #1a2744);
    background-size: 400% 400%;
    animation: heroGradient 18s ease infinite;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: #3a5ba0;
    top: -150px;
    right: -100px;
    animation: float1 20s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: #5b7fc7;
    bottom: -100px;
    left: -80px;
    animation: float2 25s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: #c9a84c;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 15s ease-in-out infinite;
    opacity: 0.08;
}

/* Dot pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

/* YouTube Background Video */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 21, 51, 0.65);
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 750px;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--erdem-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content h1 .hero-highlight {
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--erdem-white);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Hero button overrides */
.hero-section .btn-primary {
    background: var(--erdem-white);
    color: var(--erdem-navy);
    border-color: var(--erdem-white);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    padding: 18px 40px;
    font-size: 16px;
}

.hero-section .btn-primary:hover {
    background: var(--erdem-gold);
    color: var(--erdem-navy);
    border-color: var(--erdem-gold);
    box-shadow: 0 6px 35px rgba(201, 168, 76, 0.4);
}

.hero-section .btn-outline {
    color: var(--erdem-white);
    border-color: rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    font-size: 16px;
}

.hero-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--erdem-white);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    display: inline-block;
    background: var(--erdem-navy);
    color: var(--erdem-white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid var(--erdem-navy);
    box-shadow: 0 4px 15px rgba(26, 39, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--erdem-blue);
    border-color: var(--erdem-blue);
    color: var(--erdem-white);
    box-shadow: 0 6px 25px rgba(58, 91, 160, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(26, 39, 68, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--erdem-navy);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    border: 2px solid var(--erdem-navy);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: var(--erdem-navy);
    color: var(--erdem-white);
    box-shadow: 0 6px 25px rgba(26, 39, 68, 0.35);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(26, 39, 68, 0.2);
}

/* hero-image removed — new hero is centered layout */

/* ===== ABOUT / NEDEN BIZ SECTION ===== */
.about-section {
    padding: 80px 0;
    background: var(--erdem-white);
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--erdem-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--erdem-navy);
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--erdem-text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ===== SERVICES / HIZMETLERIMIZ SECTION ===== */
.services-section {
    padding: 80px 0;
    background: var(--erdem-light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-subtitle {
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--erdem-navy);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--erdem-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 20px 25px;
    text-align: center;
}

.service-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--erdem-navy);
}

.service-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 39, 68, 0.85);
    color: var(--erdem-white);
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    backdrop-filter: blur(4px);
}

/* ===== PROCESS STEPS SECTION ===== */
.process-section {
    padding: 80px 0;
    background: var(--erdem-white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

/* Connector line between steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--erdem-blue), var(--erdem-gold), var(--erdem-blue));
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--erdem-navy), var(--erdem-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--erdem-white);
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(26, 39, 68, 0.25);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-step:hover .process-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 39, 68, 0.35);
}

.process-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--erdem-gold);
    color: var(--erdem-navy);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--erdem-white);
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--erdem-navy);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--erdem-text-light);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== WHY CHOOSE US SECTION ===== */
.whyus-section {
    padding: 80px 0;
    background: var(--erdem-navy);
    position: relative;
    overflow: hidden;
}

.whyus-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
}

.whyus-section .section-header h2 {
    color: var(--erdem-white);
}

.whyus-section .section-subtitle {
    color: var(--erdem-gold);
}

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.whyus-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.whyus-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.whyus-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--erdem-gold);
}

.whyus-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--erdem-white);
    margin-bottom: 10px;
}

.whyus-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--erdem-light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--erdem-white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: var(--erdem-gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--erdem-text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -5px;
    font-size: 60px;
    color: var(--erdem-blue);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--erdem-navy), var(--erdem-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--erdem-white);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--erdem-navy);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--erdem-text-light);
}

/* ===== ABOUT FEATURES SUBGRID ===== */
.about-features-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
    /* 25px vertical spacing between rows, 20px horizontal */
    margin-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 25px;
}

.about-feature-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-feature-icon {
    color: var(--erdem-gold, #c9a84c);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--erdem-navy, #1a2744);
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-feature-col p {
    font-size: 13px;
    color: var(--erdem-text-light, #6b7280);
    margin: 0;
    line-height: 1.4;
}

/* Dark mode compatibility overrides for About section features */
body.dark-mode .about-features-subgrid {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .about-feature-col h4 {
    color: #ffffff;
}

body.dark-mode .about-feature-col p {
    color: #a0a8b8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    /* Crisp light off-white */
    text-align: center;
    position: relative !important;
    overflow: hidden !important;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.cta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.cta-section.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 249, 250, 0.9);
    /* Inverted overlay for background image to keep light color stacking */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--erdem-navy, #1a2744) !important;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-section .section-subtitle {
    color: var(--erdem-gold, #c9a84c) !important;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-section .btn-outline {
    color: var(--erdem-navy, #1a2744) !important;
    border-color: var(--erdem-navy, #1a2744) !important;
    margin-top: 20px;
}

.cta-section .btn-outline:hover {
    background: var(--erdem-navy, #1a2744) !important;
    color: var(--erdem-white, #ffffff) !important;
    border-color: var(--erdem-navy, #1a2744) !important;
    box-shadow: 0 6px 25px rgba(26, 39, 68, 0.2);
}

/* Dark mode compatibility override for CTA section */
body.dark-mode .cta-section {
    background-color: #111827;
    /* Darker off-black for dark mode separation */
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .cta-section.has-bg-image::before {
    background: rgba(17, 24, 39, 0.85);
}

body.dark-mode .cta-section h2 {
    color: #ffffff !important;
}

body.dark-mode .cta-section .btn-outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

body.dark-mode .cta-section .btn-outline:hover {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: #ffffff !important;
}


/* ===== FOOTER ===== */
.site-footer {
    background: var(--erdem-navy);
    color: var(--erdem-white);
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.footer-about h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-services h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-services ul li {
    margin-bottom: 10px;
}

.footer-services ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-services ul li a:hover {
    color: var(--erdem-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-left a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-bottom-left a:hover {
    color: var(--erdem-white);
}

.footer-bottom-middle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer-bottom-right {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-section {
        padding: 70px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat-number {
        font-size: 28px;
    }

    .hero-section .btn-primary,
    .hero-section .btn-outline {
        padding: 16px 32px;
        font-size: 15px;
    }

    .about-section .container {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-grid::before {
        display: none;
    }

    .whyus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--erdem-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .whyus-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-section .btn-primary,
    .hero-section .btn-outline {
        width: 100%;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-right {
        text-align: center;
    }
}

/* ===== WordPress Core Overrides ===== */
.wp-block-post-content,
.entry-content {
    max-width: 100%;
    padding: 0;
}

body .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}

.wp-site-blocks {
    padding: 0;
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--erdem-navy) 0%, var(--erdem-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    border-radius: 12px;
}

.service-card .placeholder-img {
    min-height: 280px;
    border-radius: 0;
}

/* hero button overrides moved to hero section block */

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #ffffff;
    border: 1.5px solid var(--erdem-border, #e0e0e0);
    border-radius: 50px;
    padding: 3px;
    height: 40px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lang-selector .lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    border-radius: 50px;
    color: var(--erdem-navy, #1a2744);
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1;
}

.lang-selector .lang-link:hover {
    color: var(--erdem-navy, #1a2744);
    background-color: rgba(26, 39, 68, 0.08);
}

.lang-selector .lang-link.active {
    background-color: var(--erdem-navy, #1a2744);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(26, 39, 68, 0.25);
}

.lang-selector .lang-separator {
    display: none;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    background: none;
    border: 2px solid var(--erdem-border);
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--erdem-navy);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dark-mode-toggle:hover {
    background: var(--erdem-light-bg);
    border-color: var(--erdem-navy);
}

.dark-mode-toggle .icon-sun,
.dark-mode-toggle .icon-moon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.dark-mode-toggle .icon-sun {
    display: none;
}

.dark-mode-toggle .icon-moon {
    display: block;
}

/* ===== DARK MODE STYLES ===== */
body.dark-mode {
    --erdem-white: #0f1520;
    --erdem-light-bg: #161d2d;
    --erdem-text: #e0e0e0;
    --erdem-text-light: #a0a8b8;
    --erdem-border: #2a3448;
    background: #0f1520;
    color: #e0e0e0;
}

body.dark-mode .lang-selector {
    background: #161d2d;
    border-color: #2a3448;
}

body.dark-mode .lang-selector .lang-link {
    color: #a0a8b8;
}

body.dark-mode .lang-selector .lang-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .lang-selector .lang-link.active {
    background-color: var(--erdem-navy, #1a2744);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-mode .lang-selector .lang-separator {
    display: none;
}

body.dark-mode .dark-mode-toggle {
    color: var(--erdem-gold);
    border-color: #2a3448;
}

body.dark-mode .dark-mode-toggle:hover {
    background: #1a2438;
    border-color: var(--erdem-gold);
}

body.dark-mode .dark-mode-toggle .icon-sun {
    display: block;
}

body.dark-mode .dark-mode-toggle .icon-moon {
    display: none;
}

/* Header */
body.dark-mode .site-header {
    background: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .site-logo img {
    filter: none;
}

body.dark-mode .main-nav a {
    color: #c8d0e0;
}

body.dark-mode .main-nav a:hover,
body.dark-mode .main-nav a.active {
    color: var(--erdem-gold);
}

body.dark-mode .main-nav a::after {
    background: var(--erdem-gold);
}

body.dark-mode .nav-dropdown .dropdown-menu {
    background: #111827;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

body.dark-mode .dropdown-menu a:hover {
    background: #1a2438;
}

body.dark-mode .menu-toggle {
    color: #c8d0e0;
}

/* About section */
body.dark-mode .about-section {
    background: #0f1520;
}

body.dark-mode .about-content h2 {
    color: #e8ecf2;
}

body.dark-mode .section-subtitle {
    color: var(--erdem-gold);
}

/* Process section */
body.dark-mode .process-section {
    background: #0f1520;
}

body.dark-mode .process-step h3 {
    color: #e8ecf2;
}

/* Services section */
body.dark-mode .services-section {
    background: #161d2d;
}

body.dark-mode .section-header h2 {
    color: #e8ecf2;
}

body.dark-mode .service-card {
    background: #1a2438;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Testimonials */
body.dark-mode .testimonials-section {
    background: #161d2d;
}

body.dark-mode .testimonial-card {
    background: #1a2438;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .testimonial-info h4 {
    color: #e8ecf2;
}

/* Buttons */
body.dark-mode .btn-outline {
    color: #c8d0e0;
    border-color: #3a4560;
}

body.dark-mode .btn-outline:hover {
    background: var(--erdem-navy);
    color: var(--erdem-white);
    border-color: var(--erdem-navy);
}

body.dark-mode .btn-primary {
    background: var(--erdem-blue);
    border-color: var(--erdem-blue);
}

body.dark-mode .btn-primary:hover {
    background: var(--erdem-gold);
    border-color: var(--erdem-gold);
    color: var(--erdem-navy);
}

/* Placeholder */
body.dark-mode .placeholder-img {
    background: linear-gradient(135deg, #1a2438 0%, #253050 100%);
}

/* Page content */
body.dark-mode .page-content {
    background: #0f1520;
}

/* Mobile nav */
body.dark-mode .main-nav {
    background: #111827;
}

/* Dark mode — force white titles & headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode .process-step h3,
body.dark-mode .about-content h2,
body.dark-mode .section-header h2,
body.dark-mode .whyus-card h3,
body.dark-mode .testimonial-info h4,
body.dark-mode .service-card-label {
    color: #ffffff;
}

/* ===== MEGA MENU (DESKTOP) ===== */
@media (min-width: 993px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .mega-menu-wrapper {
        position: static !important;
    }

    .main-nav {
        position: static;
    }

    .nav-dropdown {
        display: flex;
        align-items: center;
    }

    .mega-menu-trigger {
        position: relative;
        z-index: 1002;
    }

    /* Invisible Safety Bridge strictly matching the width of "HİZMETLERİMİZ" button ONLY */
    .mega-menu-trigger::before {
        content: "";
        position: absolute;
        top: 100%;
        left: -10px;
        right: -10px;
        width: calc(100% + 20px); /* Strictly limited to the "Hizmetlerimiz" button width! */
        height: 40px; /* Only the vertical gap between link and mega menu top */
        background: transparent;
        z-index: 1001;
        pointer-events: none;
    }

    .mega-menu-wrapper:hover .mega-menu-trigger::before,
    .mega-menu-wrapper.is-open .mega-menu-trigger::before {
        pointer-events: auto;
    }

    .mega-menu-content {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--erdem-white);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid var(--erdem-border);
        border-bottom: 3px solid var(--erdem-gold, #c9a84c);
        padding-top: 30px !important;
        padding-bottom: 35px !important;
        padding-left: 0;
        padding-right: 0;
        max-height: 85vh;
        overflow-y: auto;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
    }

    .mega-menu-wrapper:hover .mega-menu-content,
    .mega-menu-wrapper.is-open .mega-menu-content,
    .mega-menu-content:hover {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mega-menu-inner {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 40px;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 30px;
        align-items: stretch;
    }

    .mega-menu-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mega-menu-col:not(:first-child) {
        border-left: 1px solid var(--erdem-border);
        padding-left: 30px;
    }

    .mega-menu-title {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--erdem-navy) !important;
        margin-bottom: 25px !important;
        padding-bottom: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        width: 100% !important;
        min-height: 45px !important;
        line-height: 1.3 !important;
        display: flex !important;
        align-items: flex-end !important;
        position: relative !important;
        border-bottom: none !important;
    }

    .mega-menu-title::after {
        content: "" !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 1px !important;
        border: none !important;
        background-color: #c5a880 !important;
    }


    .mega-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .mega-menu-list li {
        margin: 0;
        padding: 0;
    }

    .mega-menu-list a {
        font-size: 13px;
        color: var(--erdem-text-light);
        font-weight: 500;
        line-height: 1.4;
        display: inline-block;
        padding: 3px 0 3px 18px;
        position: relative;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    /* Column 1 Division for Long Lists */
    .mega-menu-col-1 .mega-menu-list,
    .mega-menu-col:first-child .mega-menu-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        gap: 8px 24px;
    }

    .mega-menu-list a::before {
        content: "→";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) translateX(-6px);
        opacity: 0;
        transition: all 0.25s ease;
        color: var(--erdem-gold);
        font-size: 14px;
        font-weight: 700;
    }

    .mega-menu-list a:hover {
        color: var(--erdem-gold, #c9a84c) !important;
        transform: translateX(4px);
    }

    .mega-menu-list a:hover::before {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    body.dark-mode .mega-menu-col:not(:first-child) {
        border-left-color: #2a3448;
    }

    body.dark-mode .mega-menu-panel {
        background: #111827;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        border-top-color: #2a3448;
        border-bottom-color: var(--erdem-gold);
    }

    body.dark-mode .mega-menu-title {
        color: #ffffff !important;
    }

    body.dark-mode .mega-menu-list a {
        color: #a0a8b8;
    }

    body.dark-mode .mega-menu-list a:hover {
        color: var(--erdem-gold);
    }

    /* Hover Gap / Ghost Pixel Bridge */
    .mega-menu-trigger::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 50px;
        background: transparent;
        z-index: 10;
        pointer-events: none;
    }

    .mega-menu-wrapper:hover .mega-menu-trigger::before {
        pointer-events: auto;
    }
}

/* ===== MEGA MENU (MOBILE) ===== */
@media (max-width: 992px) {
    .mega-menu-wrapper {
        width: 100%;
    }

    .mega-menu-trigger {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mega-menu-trigger .arrow {
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .mega-menu-wrapper.active .mega-menu-trigger .arrow {
        transform: rotate(180deg);
    }

    .mega-menu-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        padding-left: 15px;
        border-left: 2px solid var(--erdem-gold);
        margin-top: 5px;
    }

    .mega-menu-wrapper.active .mega-menu-content {
        max-height: 1500px;
    }

    .mega-menu-inner {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .mega-menu-col {
        display: flex;
        flex-direction: column;
    }

    .mega-menu-title {
        font-size: 13.5px;
        font-weight: 700;
        color: var(--erdem-navy);
        padding: 8px 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    body.dark-mode .mega-menu-title {
        color: #ffffff;
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }

    .mega-menu-title::after {
        content: '+';
        font-size: 16px;
        font-weight: 400;
        color: var(--erdem-text-light);
        transition: transform 0.3s ease;
    }

    .mega-menu-col.active .mega-menu-title::after {
        content: '−';
    }

    .mega-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mega-menu-col.active .mega-menu-list {
        max-height: 800px;
        margin-top: 8px;
    }

    .mega-menu-list li {
        padding: 4px 0;
    }

    .mega-menu-list a {
        font-size: 13px;
        color: var(--erdem-text-light);
        display: block;
        padding: 4px 12px;
    }

    body.dark-mode .mega-menu-list a {
        color: #a0a8b8;
    }
}

/* ==========================================================================
   WOOCOMMERCE PREMIUM STYLE OVERRIDES
   ========================================================================== */

/* Global Wrapper Adjustments */
.woocommerce-page .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 1. Global Components & Typography */
.woocommerce p.stars a,
.woocommerce-page p.stars a {
    color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce .star-rating,
.woocommerce-page .star-rating {
    color: var(--erdem-gold, #c9a84c) !important;
}

/* Alert Banners & Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
    background: #fafafa !important;
    border: none !important;
    border-left: 4px solid var(--erdem-gold, #c9a84c) !important;
    box-shadow: 0 10px 30px rgba(26, 39, 68, 0.04) !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    color: var(--erdem-navy, #1a2744) !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px !important;
}

.woocommerce-error {
    border-left-color: #ef4444 !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--erdem-navy, #1a2744) !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: var(--erdem-gold, #c9a84c) !important;
    color: var(--erdem-navy, #1a2744) !important;
}

/* Premium Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page input.button.alt {
    background: var(--erdem-navy, #1a2744) !important;
    color: #ffffff !important;
    border: 1px solid var(--erdem-navy, #1a2744) !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(26, 39, 68, 0.15) !important;
}

/* Secondary/Alternative button highlight (Gold accent) */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-page a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page input.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--erdem-gold, #c9a84c) !important;
    color: var(--erdem-navy, #1a2744) !important;
    border-color: var(--erdem-gold, #c9a84c) !important;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover {
    background: var(--erdem-gold, #c9a84c) !important;
    color: var(--erdem-navy, #1a2744) !important;
    border-color: var(--erdem-gold, #c9a84c) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-page a.button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #ffffff !important;
    color: var(--erdem-navy, #1a2744) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
}

/* disabled button state */
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce-page button.button:disabled {
    background: rgba(0, 0, 0, 0.05) !important;
    color: rgba(0, 0, 0, 0.3) !important;
    border-color: transparent !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Dark Mode Global Elements */
body.dark-mode .woocommerce-message,
body.dark-mode .woocommerce-info,
body.dark-mode .woocommerce-error {
    background: #1e293b !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .woocommerce-message a.button {
    background: var(--erdem-gold, #c9a84c) !important;
    color: #111827 !important;
}

body.dark-mode .woocommerce-message a.button:hover {
    background: #ffffff !important;
    color: var(--erdem-navy, #1a2744) !important;
}


/* 2. Shop / Archive Grid Layout overrides */
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
    margin-bottom: 40px !important;
}

.woocommerce-ordering select {
    background: #fafafa !important;
    border: 1px solid rgba(26, 39, 68, 0.08) !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: var(--erdem-navy, #1a2744) !important;
    font-family: inherit;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--erdem-gold, #c9a84c) !important;
}

body.dark-mode .woocommerce-ordering select {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* Center product container spacing */
.woocommerce ul.products,
.woocommerce-page ul.products {
    margin: 0 0 60px 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 40px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #fafafa !important;
    border: none !important;
    border-top: 3px solid var(--erdem-gold, #c9a84c) !important;
    border-radius: 4px 4px 16px 16px !important;
    padding: 35px 30px !important;
    box-shadow: 0 12px 35px rgba(26, 39, 68, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 45px rgba(26, 39, 68, 0.06) !important;
    background: #ffffff !important;
}

/* Product Card Elements */
.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a {
    text-decoration: none !important;
    color: inherit !important;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    margin-bottom: 25px !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02) !important;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.02);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy, #1a2744) !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    transition: color 0.3s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--erdem-gold, #c9a84c) !important;
    margin-bottom: 25px !important;
    margin-top: auto !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--erdem-text-light, #666666) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-right: 8px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Loop Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    margin-top: 0 !important;
    width: 100% !important;
    font-size: 13.5px !important;
    padding: 12px 20px !important;
}

/* Dark Mode Shop Card overrides */
body.dark-mode .woocommerce ul.products li.product {
    background: #111827 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .woocommerce ul.products li.product:hover {
    background: #1e293b !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
}

body.dark-mode .woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--erdem-gold, #c9a84c) !important;
}


/* 3. Single Product Detail Page overrides */
.woocommerce div.product,
.woocommerce-page div.product {
    padding: 60px 0 100px !important;
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    width: 45% !important;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce div.product div.images img {
    width: 100% !important;
    object-fit: cover !important;
}

.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
    width: 48% !important;
    float: right !important;
    margin-bottom: 0 !important;
}

.woocommerce div.product .product_title,
.woocommerce-page div.product .product_title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: var(--erdem-navy, #1a2744) !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

body.dark-mode .woocommerce div.product .product_title {
    color: #ffffff !important;
}

/* Single Price Tag */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce-page div.product p.price,
.woocommerce-page div.product span.price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--erdem-gold, #c9a84c) !important;
    margin-bottom: 30px !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    font-size: 18px !important;
    color: var(--erdem-text-light, #666666) !important;
    font-weight: 400 !important;
}

/* Single Product Description */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--erdem-text-light, #666666);
    margin-bottom: 35px !important;
}

body.dark-mode .woocommerce div.product .woocommerce-product-details__short-description {
    color: #94a3b8;
}

/* Quantity and Cart block */
.woocommerce div.product form.cart,
.woocommerce-page div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
    border-top: 1px solid var(--erdem-border, #e0e0e0);
    border-bottom: 1px solid var(--erdem-border, #e0e0e0);
    padding: 30px 0 !important;
}

body.dark-mode .woocommerce div.product form.cart {
    border-color: #2a3448;
}

/* Quantity input overrides */
.woocommerce div.product form.cart .quantity,
.woocommerce-page div.product form.cart .quantity {
    float: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    border: 1px solid var(--erdem-border, #e0e0e0) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

body.dark-mode .woocommerce div.product form.cart .quantity {
    border-color: #2a3448 !important;
}

.woocommerce-page .quantity .qty {
    width: 60px !important;
    height: 48px !important;
    border: none !important;
    background: #fafafa !important;
    color: var(--erdem-navy, #1a2744) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

body.dark-mode .woocommerce-page .quantity .qty {
    background: #111827 !important;
    color: #ffffff !important;
}

.woocommerce div.product form.cart .button,
.woocommerce-page div.product form.cart .button {
    float: none !important;
    padding: 16px 40px !important;
    height: 50px !important;
}

/* Hide SKU/Meta details clutter */
.woocommerce div.product .product_meta,
.woocommerce-page div.product .product_meta {
    display: none !important;
}

/* Tabs layout */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-page div.product .woocommerce-tabs {
    margin-top: 60px !important;
    border-top: 1px solid var(--erdem-border, #e0e0e0);
    padding-top: 40px !important;
}

body.dark-mode .woocommerce div.product .woocommerce-tabs {
    border-color: #2a3448;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    display: flex !important;
    gap: 30px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 0 10px 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: var(--erdem-text-light, #666666) !important;
    padding: 0 !important;
}

body.dark-mode .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #94a3b8 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2.5px solid var(--erdem-gold, #c9a84c) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--erdem-navy, #1a2744) !important;
}

body.dark-mode .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-page div.product .woocommerce-tabs .panel {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    color: var(--erdem-text-light, #666666) !important;
}

body.dark-mode .woocommerce div.product .woocommerce-tabs .panel {
    color: #94a3b8 !important;
}


/* 4. Cart Page Layout overrides */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    padding: 60px 0 100px !important;
}

/* Cart Table Layout */
.woocommerce-cart table.cart,
.woocommerce-page table.cart {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(26, 39, 68, 0.02) !important;
    margin-bottom: 50px !important;
}

body.dark-mode .woocommerce-cart table.cart {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

.woocommerce-cart table.cart th,
.woocommerce-page table.cart th {
    background: var(--erdem-navy, #1a2744) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 20px 16px !important;
    border: none !important;
}

body.dark-mode .woocommerce-cart table.cart th {
    background: #1e293b !important;
}

.woocommerce-cart table.cart td,
.woocommerce-page table.cart td {
    padding: 24px 16px !important;
    border: none !important;
    border-bottom: 1px solid rgba(26, 39, 68, 0.06) !important;
    background: #fafafa !important;
    vertical-align: middle !important;
    color: var(--erdem-navy, #1a2744) !important;
    font-size: 15px !important;
}

body.dark-mode .woocommerce-cart table.cart td {
    background: #111827 !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.woocommerce-cart table.cart td.product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

.woocommerce-cart table.cart td.product-name a {
    font-weight: 700 !important;
    color: var(--erdem-navy, #1a2744) !important;
}

body.dark-mode .woocommerce-cart table.cart td.product-name a {
    color: #ffffff !important;
}

.woocommerce-cart table.cart td.product-name a:hover {
    color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce-cart table.cart td.product-subtotal span.amount {
    font-weight: 700 !important;
    color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce-cart table.cart td.product-remove a.remove {
    color: #ef4444 !important;
    font-size: 24px !important;
}

.woocommerce-cart table.cart td.product-remove a.remove:hover {
    color: #b91c1c !important;
    background: none !important;
}

/* Coupon & Actions row */
.woocommerce-cart table.cart td.actions,
.woocommerce-page table.cart td.actions {
    background: #fafafa !important;
    padding: 24px 20px !important;
}

body.dark-mode .woocommerce-cart table.cart td.actions {
    background: #111827 !important;
}

.woocommerce-cart td.actions .coupon,
.woocommerce-page td.actions .coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px !important;
    float: left !important;
}

.woocommerce-cart td.actions .coupon input.input-text {
    width: 180px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid var(--erdem-border, #e0e0e0) !important;
    border-radius: 6px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
}

body.dark-mode .woocommerce-cart td.actions .coupon input.input-text {
    background: #1e293b !important;
    border-color: #2a3448 !important;
    color: #ffffff !important;
}

.woocommerce-cart td.actions .coupon input.input-text:focus {
    outline: none;
    border-color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce-cart td.actions .coupon .button,
.woocommerce-page td.actions .coupon .button {
    height: 44px !important;
    padding: 10px 24px !important;
    font-size: 13.5px !important;
}

/* Update Cart button placement */
.woocommerce-cart td.actions>.button,
.woocommerce-page td.actions>.button {
    float: right !important;
    height: 44px !important;
    padding: 10px 24px !important;
    font-size: 13.5px !important;
    background: transparent !important;
    color: var(--erdem-navy, #1a2744) !important;
    border: 1px solid var(--erdem-navy, #1a2744) !important;
    box-shadow: none !important;
}

body.dark-mode .woocommerce-cart td.actions>.button {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.woocommerce-cart td.actions>.button:hover {
    background: var(--erdem-navy, #1a2744) !important;
    color: #ffffff !important;
}

/* Cart Totals Box */
.woocommerce-cart .cart-collaterals,
.woocommerce-page .cart-collaterals {
    display: flex !important;
    justify-content: flex-end !important;
}

.woocommerce-cart .cart_totals,
.woocommerce-page .cart_totals {
    width: 450px !important;
    float: none !important;
    background: #fafafa !important;
    border: 1px solid rgba(26, 39, 68, 0.06) !important;
    border-radius: 12px !important;
    padding: 35px 30px !important;
    box-shadow: 0 12px 35px rgba(26, 39, 68, 0.02) !important;
}

body.dark-mode .woocommerce-cart .cart_totals {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-page .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy, #1a2744) !important;
    border-bottom: 2px solid rgba(26, 39, 68, 0.06) !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
}

body.dark-mode .woocommerce-cart .cart_totals h2 {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-page .cart_totals table.shop_table {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-bottom: 25px !important;
}

.woocommerce-cart .cart_totals table.shop_table tr td,
.woocommerce-cart .cart_totals table.shop_table tr th,
.woocommerce-page .cart_totals table.shop_table tr td,
.woocommerce-page .cart_totals table.shop_table tr th {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(26, 39, 68, 0.06) !important;
    padding: 12px 0 !important;
    font-size: 15px !important;
}

body.dark-mode .woocommerce-cart .cart_totals table.shop_table tr td,
body.dark-mode .woocommerce-cart .cart_totals table.shop_table tr th {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    color: var(--erdem-navy, #1a2744) !important;
    font-weight: 600 !important;
    text-align: left !important;
}

body.dark-mode .woocommerce-cart .cart_totals table.shop_table th {
    color: #ffffff !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    text-align: right !important;
    color: var(--erdem-text-light, #666666) !important;
}

body.dark-mode .woocommerce-cart .cart_totals table.shop_table td {
    color: #94a3b8 !important;
}

.woocommerce-cart .cart_totals tr.order-total td span.amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--erdem-gold, #c9a84c) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
    padding: 16px 30px !important;
}


/* 5. Checkout Page Layout overrides */
.woocommerce-checkout form.checkout,
.woocommerce-page form.checkout {
    display: grid !important;
    grid-template-columns: 7fr 5fr !important;
    gap: 50px !important;
    align-items: start !important;
}

.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after {
    display: none !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-page #customer_details {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2,
.woocommerce-page .col-1,
.woocommerce-page .col-2 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin-bottom: 40px !important;
}

.woocommerce-checkout h3,
.woocommerce-page h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy, #1a2744) !important;
    border-bottom: 2px solid rgba(26, 39, 68, 0.06) !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
}

body.dark-mode .woocommerce-checkout h3 {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* Form fields styling */
.woocommerce-checkout form .form-row,
.woocommerce-page form .form-row {
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout form .form-row label,
.woocommerce-page form .form-row label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--erdem-navy, #1a2744) !important;
    margin-bottom: 8px !important;
}

body.dark-mode .woocommerce-checkout form .form-row label {
    color: #ffffff !important;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row select,
.woocommerce-page form .form-row textarea {
    width: 100% !important;
    background: #fafafa !important;
    border: 1px solid var(--erdem-border, #e0e0e0) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 14.5px !important;
    color: var(--erdem-navy, #1a2744) !important;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

body.dark-mode .woocommerce-checkout form .form-row input.input-text,
body.dark-mode .woocommerce-checkout form .form-row select,
body.dark-mode .woocommerce-checkout form .form-row textarea {
    background: #1e293b !important;
    border-color: #2a3448 !important;
    color: #ffffff !important;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus {
    outline: none;
    border-color: var(--erdem-gold, #c9a84c) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Order review box layout */
.woocommerce-checkout #order_review_heading,
.woocommerce-page #order_review_heading {
    display: none !important;
}

.woocommerce-checkout-review-order {
    background: #fafafa !important;
    border: 1px solid rgba(26, 39, 68, 0.06) !important;
    border-radius: 12px !important;
    padding: 35px 30px !important;
    box-shadow: 0 12px 35px rgba(26, 39, 68, 0.02) !important;
}

body.dark-mode .woocommerce-checkout-review-order {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
}

.woocommerce-checkout-review-order table.shop_table,
.woocommerce-page-checkout-review-order table.shop_table {
    background: none !important;
    border: none !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
}

.woocommerce-checkout-review-order table.shop_table td,
.woocommerce-checkout-review-order table.shop_table th {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(26, 39, 68, 0.06) !important;
    padding: 12px 0 !important;
    font-size: 14.5px !important;
}

body.dark-mode .woocommerce-checkout-review-order table.shop_table td,
body.dark-mode .woocommerce-checkout-review-order table.shop_table th {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-checkout-review-order table.shop_table th {
    color: var(--erdem-navy, #1a2744) !important;
    font-weight: 600 !important;
    text-align: left !important;
}

body.dark-mode .woocommerce-checkout-review-order table.shop_table th {
    color: #ffffff !important;
}

.woocommerce-checkout-review-order table.shop_table td {
    text-align: right !important;
    color: var(--erdem-text-light, #666666) !important;
}

body.dark-mode .woocommerce-checkout-review-order table.shop_table td {
    color: #94a3b8 !important;
}

.woocommerce-checkout-review-order table.shop_table tr.order-total td span.amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--erdem-gold, #c9a84c) !important;
}

/* Payment Gateway styling */
.woocommerce-checkout #payment,
.woocommerce-page #payment {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 30px !important;
}

.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-page #payment ul.payment_methods {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-page #payment ul.payment_methods li {
    background: rgba(26, 39, 68, 0.02) !important;
    border: 1px solid rgba(26, 39, 68, 0.06) !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
}

body.dark-mode .woocommerce-checkout #payment ul.payment_methods li {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 600 !important;
    color: var(--erdem-navy, #1a2744) !important;
}

body.dark-mode .woocommerce-checkout #payment ul.payment_methods li label {
    color: #ffffff !important;
}

.woocommerce-checkout #payment div.payment_box,
.woocommerce-page #payment div.payment_box {
    background: none !important;
    border: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    color: var(--erdem-text-light, #666666) !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

body.dark-mode .woocommerce-checkout #payment div.payment_box {
    color: #94a3b8 !important;
}

/* Place Order button block */
.woocommerce-checkout #payment #place_order,
.woocommerce-page #payment #place_order {
    width: 100% !important;
    padding: 16px 30px !important;
    float: none !important;
    font-size: 15px !important;
    margin: 0 !important;
}


/* 6. Responsive E-commerce Overrides */
@media (max-width: 992px) {
    .woocommerce-page .container {
        padding: 0 20px;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 30px !important;
    }

    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 100% !important;
        float: none !important;
        margin-bottom: 30px !important;
    }

    .woocommerce div.product form.cart,
    .woocommerce-page div.product form.cart {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .woocommerce-page .quantity .qty {
        width: 100% !important;
    }

    .woocommerce-cart .cart-collaterals,
    .woocommerce-page .cart-collaterals {
        justify-content: stretch !important;
    }

    .woocommerce-cart .cart_totals,
    .woocommerce-page .cart_totals {
        width: 100% !important;
    }

    .woocommerce-checkout form.checkout,
    .woocommerce-page form.checkout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* WooCommerce Button Contrast & Hover Color Fix */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce button.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order {
    color: #ffffff !important;
    background-color: var(--erdem-navy, #1a2744) !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 24px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #payment #place_order:hover {
    color: #ffffff !important;
    background-color: var(--erdem-gold, #c9a84c) !important;
    text-decoration: none !important;
}

/* Global Sticky Footer Layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content,
.about-page-wrap,
.contact-page-wrap {
    flex: 1;
}

.page-content {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.site-footer {
    margin-top: auto;
}

/* ===== AUTHORITY TRUST BADGE (FIXED) ===== */
.authority-badge {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background: #0f172a;
    /* Deep solid navy blue */
    border: 1px solid #c5a880;
    box-shadow: 0 0 0 3px #0f172a, 0 0 0 4px #c5a880, 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 19px;
    text-decoration: none !important;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease;
    color: #c5a880 !important;
    animation: badgeBorderPulse 4s infinite alternate ease-in-out;
}

.badge-inner {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 15px;
}

.badge-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-text-wrapper {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.badge-tag {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.badge-cta {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Hover magic */
.authority-badge:hover {
    width: 210px;
    /* Expand horizontally */
    border-radius: 50px;
    /* Transform to pill */
    background-color: #1e293b;
    box-shadow: 0 0 0 3px #1e293b, 0 0 0 4px #c5a880, 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
    animation: none;
    /* Stop pulsing on hover */
}

.authority-badge:hover .badge-text-wrapper {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Keyframes */
@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.9;
    }
}

@keyframes badgeBorderPulse {
    0% {
        box-shadow: 0 0 0 3px #0f172a, 0 0 0 4px #c5a880, 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    100% {
        box-shadow: 0 0 0 3px #0f172a, 0 0 0 4.5px #c5a880, 0 12px 35px rgba(197, 168, 128, 0.18);
    }
}

/* Dark mode compatibility override */
body.dark-mode .authority-badge {
    background: #0b0f19;
    box-shadow: 0 0 0 3px #0b0f19, 0 0 0 4px #c5a880, 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: badgeBorderPulseDark 4s infinite alternate ease-in-out;
}

@keyframes badgeBorderPulseDark {
    0% {
        box-shadow: 0 0 0 3px #0b0f19, 0 0 0 4px #c5a880, 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    100% {
        box-shadow: 0 0 0 3px #0b0f19, 0 0 0 4.5px #c5a880, 0 12px 35px rgba(197, 168, 128, 0.25);
    }
}

body.dark-mode .authority-badge:hover {
    background-color: #111827;
    animation: none;
    box-shadow: 0 0 0 3px #111827, 0 0 0 4px #c5a880, 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Responsive styling: move button slightly up on mobile to avoid overlap */
@media (max-width: 768px) {
    .authority-badge {
        bottom: 20px;
        right: 20px;
    }
}


/* ==========================================================================
   PREMIUM BLOG REDESIGN STYLES (Insights List & Detail Pages)
   ========================================================================== */

/* --- Layout Reset to Bypass FSE Parent Theme Overrides --- */
.blog-list-page,
.blog-detail-page,
.blog-detail-article,
.blog-detail-header,
.blog-detail-featured-media,
.blog-detail-content-wrap,
.blog-posts-list-wrap,
.blog-posts-grid,
.blog-card,
.blog-card-inner {
    display: block !important;
    float: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* --- Container Narrow for Article Reading --- */
.container-narrow {
    display: block !important;
    float: none !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* ==========================================
   1. BLOG LISTING PAGE (Insights List)
   ========================================== */
.blog-list-page {
    background-color: var(--erdem-white) !important;
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #0d1b32 0%, #152542 100%) !important;
    color: var(--erdem-white) !important;
    padding: 90px 0 !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    color: var(--erdem-gold) !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: -0.5px !important;
    text-transform: capitalize !important;
}

.blog-hero-subtitle {
    font-size: 16px !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Breadcrumbs (Hero) */
.blog-breadcrumbs {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 25px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.blog-breadcrumbs a:hover {
    color: var(--erdem-gold) !important;
}

.blog-breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.3) !important;
}

.blog-breadcrumbs .current {
    color: var(--erdem-gold) !important;
}

/* Filters Menu */
.blog-filters-container {
    display: none !important;
}

.blog-filters {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.blog-filters li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.blog-filters li a {
    display: block !important;
    padding: 22px 20px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.blog-filters li::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background-color: var(--erdem-gold) !important;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.blog-filters li:hover::after,
.blog-filters li.active::after {
    width: 100% !important;
}

.blog-filters li a:hover,
.blog-filters li.active a {
    color: var(--erdem-gold) !important;
}

/* Post Cards Grid */
.blog-posts-list-wrap {
    padding: 80px 0 !important;
    background-color: #fafbfc !important;
}

.blog-posts-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 45px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.blog-card {
    background: var(--erdem-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
    margin-bottom: 0 !important;
}

.blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07) !important;
    border-color: var(--erdem-gold) !important;
}

.blog-card-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
}

/* Card Image */
.blog-card-media {
    flex: 0 0 38% !important;
    max-width: 38% !important;
    min-height: 280px !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: var(--erdem-navy) !important;
}

.blog-card-media-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.blog-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05) !important;
}

.blog-card-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Card Content */
.blog-card-content {
    flex: 1 !important;
    padding: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.blog-card-meta {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--erdem-text-light) !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog-card-meta-sep {
    color: var(--erdem-border) !important;
}

.blog-card-cats a {
    color: var(--erdem-gold) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}

.blog-card-cats a:hover {
    color: var(--erdem-navy) !important;
}

.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 26px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-transform: none !important;
}

.blog-card-title a {
    color: var(--erdem-navy) !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.blog-card-title a:hover {
    color: var(--erdem-gold) !important;
}

.blog-card-excerpt {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: var(--erdem-text-light) !important;
    margin-bottom: 25px !important;
}

.blog-card-footer {
    display: block !important;
}

.blog-card-readmore {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--erdem-gold) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.blog-card-readmore:hover {
    color: var(--erdem-navy) !important;
}

.readmore-arrow {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.blog-card-readmore:hover .readmore-arrow {
    transform: translateX(6px) !important;
}

/* Pagination */
.blog-pagination {
    margin-top: 60px !important;
    display: flex !important;
    justify-content: center !important;
}

.blog-pagination .nav-links {
    display: flex !important;
    gap: 8px !important;
}

.blog-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 15px !important;
    border: 1px solid var(--erdem-border) !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--erdem-navy) !important;
    background: var(--white) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background-color: var(--erdem-navy) !important;
    border-color: var(--erdem-navy) !important;
    color: var(--erdem-white) !important;
}

/* ==========================================
   2. BLOG DETAIL PAGE
   ========================================== */
.blog-detail-page {
    background-color: var(--erdem-white) !important;
}

/* Breadcrumbs (Detail) */
.blog-detail-breadcrumbs {
    background-color: #f8fafc !important;
    border-bottom: 1px solid var(--erdem-border) !important;
    padding: 15px 0 !important;
    font-size: 13px !important;
    color: var(--erdem-text-light) !important;
    display: block !important;
    width: 100% !important;
}

.blog-detail-breadcrumbs a {
    color: var(--erdem-navy) !important;
    font-weight: 500;
    text-decoration: none !important;
}

.blog-detail-breadcrumbs a:hover {
    color: var(--erdem-gold) !important;
}

.blog-detail-breadcrumbs .sep {
    margin: 0 10px !important;
    color: #cbd5e1 !important;
}

.blog-detail-breadcrumbs .current {
    color: var(--erdem-text-light) !important;
}

/* Header */
.blog-detail-header {
    padding: 60px 0 40px 0 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.blog-detail-category {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--erdem-gold) !important;
    margin-bottom: 18px !important;
}

.blog-detail-category a {
    color: var(--erdem-gold) !important;
    text-decoration: none !important;
}

.blog-detail-category a:hover {
    color: var(--erdem-navy) !important;
}

.blog-detail-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 42px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    margin: 0 0 25px 0 !important;
}

.blog-detail-meta {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    font-size: 13.5px !important;
    color: var(--erdem-text-light) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding-bottom: 25px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.meta-item {
    display: flex !important;
    gap: 6px !important;
}

.meta-label {
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
}

/* Featured Media - Centered Banner */
.blog-detail-featured-media {
    margin: 0 auto 50px auto !important;
    display: block !important;
    max-width: 950px !important;
    padding: 0 24px !important;
}

.featured-media-wrapper {
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07) !important;
}

.featured-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* Content Wrap */
.blog-detail-content-wrap {
    padding-bottom: 80px !important;
    display: block !important;
    width: 100% !important;
}

/* Table of Contents Box */
.blog-toc-box {
    background-color: #f8fafc !important;
    border-left: 4px solid var(--erdem-gold) !important;
    padding: 24px 30px !important;
    margin: 0 0 45px 0 !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.toc-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
}

.toc-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.toc-toggle-btn {
    background: none !important;
    border: none !important;
    color: var(--erdem-gold) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.toc-toggle-btn:hover {
    color: var(--erdem-navy) !important;
}

.toc-list {
    list-style-type: decimal !important;
    padding-left: 20px !important;
    margin: 0 !important;
}

.toc-list li {
    margin-bottom: 10px !important;
    font-size: 14.5px !important;
    list-style-type: decimal !important;
}

.toc-list li::marker {
    color: var(--erdem-gold) !important;
    font-weight: bold !important;
}

.toc-link {
    color: var(--erdem-navy) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.toc-link:hover {
    color: var(--erdem-gold) !important;
    text-decoration: underline !important;
}

/* Entry Content Typography */
.blog-detail-bodyentry {
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: #334155 !important;
    /* highly readable dark grey */
    display: block !important;
}

.blog-detail-bodyentry p {
    margin: 0 0 25px 0 !important;
}

.blog-detail-bodyentry p.lead {
    font-size: 19px !important;
    line-height: 1.8 !important;
    color: var(--erdem-navy-light) !important;
    font-weight: 500 !important;
}

.blog-detail-bodyentry h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    margin: 45px 0 22px 0 !important;
    line-height: 1.35 !important;
}

.blog-detail-bodyentry h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    margin: 35px 0 15px 0 !important;
}

.blog-detail-bodyentry ul,
.blog-detail-bodyentry ol {
    margin: 0 0 25px 25px !important;
    padding: 0 !important;
}

.blog-detail-bodyentry li {
    margin-bottom: 10px !important;
    list-style: inherit !important;
}

/* Table Design */
.premium-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 35px 0 !important;
    font-size: 15px !important;
    text-align: left !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid var(--erdem-border) !important;
}

.premium-table th {
    background-color: var(--erdem-navy) !important;
    color: var(--erdem-white) !important;
    font-weight: 600 !important;
    padding: 16px 20px !important;
    border: none !important;
}

.premium-table td {
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--erdem-border) !important;
    color: #475569 !important;
}

.premium-table tr:nth-child(even) {
    background-color: #f8fafc !important;
}

.premium-table tr:last-child td {
    border-bottom: none !important;
}

/* Call-To-Action (CTA) Banners */
.premium-cta-banner {
    background: linear-gradient(135deg, #0d1b32 0%, #152542 100%) !important;
    border-left: 5px solid var(--erdem-gold) !important;
    border-radius: 8px !important;
    padding: 35px 40px !important;
    color: var(--white) !important;
    margin: 45px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 30px !important;
}

.cta-banner-content h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 24px !important;
    color: var(--erdem-gold) !important;
    margin: 0 0 10px 0 !important;
}

.cta-banner-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.btn-cta {
    display: inline-block !important;
    background-color: var(--erdem-gold) !important;
    color: var(--erdem-navy) !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 28px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.btn-cta:hover {
    background-color: var(--erdem-white) !important;
    color: var(--erdem-navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

/* FAQ Accordion */
.faq-accordion {
    margin: 35px 0 !important;
    border: 1px solid var(--erdem-border) !important;
    border-radius: 8px !important;
    background-color: var(--erdem-white) !important;
    overflow: hidden !important;
}

.faq-item {
    border-bottom: 1px solid var(--erdem-border) !important;
    margin: 0 !important;
}

.faq-item:last-child {
    border-bottom: none !important;
}

.faq-question {
    width: 100% !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    padding: 20px 25px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--erdem-navy) !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.faq-question:hover {
    background-color: #f8fafc !important;
    color: var(--erdem-gold) !important;
}

.faq-icon {
    font-size: 20px !important;
    color: var(--erdem-gold) !important;
    line-height: 1 !important;
    font-weight: bold !important;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    padding: 0 25px !important;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, padding 0.3s ease !important;
    background-color: #fafbfc !important;
}

.faq-answer p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    margin: 0 0 20px 0 !important;
}

.faq-item.active .faq-question {
    background-color: #f8fafc !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* Post Navigation (Prev/Next Cards) */
.blog-detail-navigation {
    margin-top: 80px !important;
    border-top: 1px solid var(--erdem-border) !important;
    padding: 40px 0 0 0 !important;
}

.nav-links-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.nav-link-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 24px !important;
    border: 1px solid var(--erdem-border) !important;
    border-radius: 8px !important;
    background-color: var(--erdem-white) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.nav-link-card:hover {
    border-color: var(--erdem-gold) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    background-color: #f8fafc !important;
}

.nav-card-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: var(--erdem-gold) !important;
    margin-bottom: 8px !important;
}

.nav-card-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: var(--erdem-navy) !important;
    transition: color 0.3s ease !important;
}

.nav-link-card:hover .nav-card-title {
    color: var(--erdem-gold) !important;
}

.prev-card {
    text-align: left !important;
}

.next-card {
    text-align: right !important;
}

.empty-card {
    border: none !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* ==========================================
   3. DARK MODE STYLING OVERRIDES
   ========================================== */
body.dark-mode {
    --erdem-border: #2e3c54 !important;
}

body.dark-mode .blog-list-page,
body.dark-mode .blog-detail-page {
    background-color: #0b0f19 !important;
}

body.dark-mode .blog-filters-container {
    background: #0f1524 !important;
    border-bottom-color: var(--erdem-border) !important;
}

body.dark-mode .blog-filters li a {
    color: #e2e8f0 !important;
}

body.dark-mode .blog-filters li a:hover,
body.dark-mode .blog-filters li.active a {
    color: var(--erdem-gold) !important;
}

body.dark-mode .blog-posts-list-wrap {
    background-color: #0d1321 !important;
}

body.dark-mode .blog-card {
    background-color: #0f172a !important;
    border-color: var(--erdem-border) !important;
}

body.dark-mode .blog-card-title a {
    color: #f1f5f9 !important;
}

body.dark-mode .blog-card-title a:hover {
    color: var(--erdem-gold) !important;
}

body.dark-mode .blog-card-excerpt,
body.dark-mode .blog-card-meta {
    color: #94a3b8 !important;
}

body.dark-mode .blog-card-readmore:hover {
    color: #ffffff !important;
}

body.dark-mode .blog-pagination .page-numbers {
    border-color: var(--erdem-border) !important;
    color: #cbd5e1 !important;
    background: #0f172a !important;
}

body.dark-mode .blog-pagination .page-numbers.current,
body.dark-mode .blog-pagination .page-numbers:hover {
    background-color: var(--erdem-gold) !important;
    border-color: var(--erdem-gold) !important;
    color: #0f172a !important;
}

/* Detail page dark mode */
body.dark-mode .blog-detail-breadcrumbs {
    background-color: #0f1524 !important;
    border-bottom-color: var(--erdem-border) !important;
    color: #94a3b8 !important;
}

body.dark-mode .blog-detail-breadcrumbs a {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-detail-breadcrumbs a:hover {
    color: var(--erdem-gold) !important;
}

body.dark-mode .blog-detail-title {
    color: #ffffff !important;
}

body.dark-mode .blog-detail-meta {
    color: #94a3b8 !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .meta-label {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-toc-box {
    background-color: #0f172a !important;
}

body.dark-mode .toc-title {
    color: #ffffff !important;
}

body.dark-mode .toc-link {
    color: #cbd5e1 !important;
}

body.dark-mode .toc-link:hover {
    color: var(--erdem-gold) !important;
}

body.dark-mode .blog-detail-bodyentry {
    color: #cbd5e1 !important;
}

body.dark-mode .blog-detail-bodyentry h2,
body.dark-mode .blog-detail-bodyentry h3 {
    color: #ffffff !important;
}

body.dark-mode .blog-detail-bodyentry p.lead {
    color: #e2e8f0 !important;
}

body.dark-mode .premium-table tr:nth-child(even) {
    background-color: #131c2e !important;
}

body.dark-mode .premium-table td {
    color: #cbd5e1 !important;
    border-bottom-color: var(--erdem-border) !important;
}

body.dark-mode .faq-accordion {
    border-color: var(--erdem-border) !important;
    background-color: #0f172a !important;
}

body.dark-mode .faq-item {
    border-bottom-color: var(--erdem-border) !important;
}

body.dark-mode .faq-question {
    color: #ffffff !important;
}

body.dark-mode .faq-question:hover {
    background-color: #131c2e !important;
    color: var(--erdem-gold) !important;
}

body.dark-mode .faq-answer {
    background-color: #0d1321 !important;
}

body.dark-mode .faq-answer p {
    color: #cbd5e1 !important;
}

body.dark-mode .faq-item.active .faq-question {
    background-color: #131c2e !important;
}

body.dark-mode .nav-link-card {
    border-color: var(--erdem-border) !important;
    background-color: #0f172a !important;
}

body.dark-mode .nav-link-card:hover {
    background-color: #131c2e !important;
    border-color: var(--erdem-gold) !important;
}

body.dark-mode .nav-card-title {
    color: #ffffff !important;
}

body.dark-mode .nav-link-card:hover .nav-card-title {
    color: var(--erdem-gold) !important;
}

/* ==========================================
   4. RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Max Width 1200px (Desktop and Laptop padding) */
@media (max-width: 1200px) {
    .blog-posts-grid {
        padding: 0 24px !important;
    }
}

/* Tablet view (Max Width 992px) */
@media (max-width: 992px) {
    .blog-hero-title {
        font-size: 38px !important;
    }

    .blog-card-inner {
        flex-direction: column !important;
    }

    .blog-card-media {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-height: 220px !important;
    }

    .blog-card-content {
        padding: 30px !important;
    }

    .blog-card-title {
        font-size: 24px !important;
    }

    .blog-detail-title {
        font-size: 34px !important;
    }

    .premium-cta-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 30px !important;
    }

    .btn-cta {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* Small devices (Max Width 768px) */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 !important;
    }

    .blog-hero-title {
        font-size: 32px !important;
    }

    .blog-filters li a {
        padding: 15px 16px !important;
        font-size: 13px !important;
    }

    .blog-posts-list-wrap {
        padding: 50px 0 !important;
    }

    .blog-posts-grid {
        gap: 35px !important;
    }

    .blog-detail-header {
        padding: 40px 0 25px 0 !important;
    }

    .blog-detail-title {
        font-size: 28px !important;
    }

    .blog-detail-meta {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding-bottom: 20px !important;
    }

    .nav-links-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .empty-card {
        display: none !important;
    }
}

/* Extra small devices (Max Width 576px) */
@media (max-width: 576px) {
    .blog-hero-subtitle {
        font-size: 14px !important;
    }

    .blog-card-title {
        font-size: 20px !important;
    }

    .blog-card-excerpt {
        font-size: 14.5px !important;
    }

    .blog-card-content {
        padding: 20px !important;
    }

    .blog-toc-box {
        padding: 20px !important;
    }

    .blog-detail-bodyentry h2 {
        font-size: 24px !important;
        margin: 35px 0 15px 0 !important;
    }

    .blog-detail-bodyentry h3 {
        font-size: 19px !important;
    }

    .blog-detail-bodyentry {
        font-size: 16px !important;
    }

    .faq-question {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }

    .faq-answer {
        padding: 0 20px !important;
    }

    .premium-table th,
    .premium-table td {
        padding: 12px 14px !important;
        font-size: 13.5px !important;
    }
}