/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* variable */
:root {
    --alt-font: "DM Sans", sans-serif;
    --primary-font: "Inter", sans-serif;
    --base-color: #00468e;
    --dark-gray: #2D2247;
    --medium-gray: #716d7a;
    --light-medium-gray: #E8E2F5;
    --green: #4DAA57;
    --very-light-gray: #efefef;
}

.bg-seashell {
    background-color: #f3f9ff;
}

.bg-base-color-transparent {
    background-color: #00468ecc;
}

/* reset */
body {
    font-size: 16px;
    line-height: 28px;
}

a {
    color: #2d2247;
}

/* box layout */
.box-layout {
    padding-left: 80px;
    padding-right: 80px;
}

/* bg color */
.bg-base-transparent-light {
    background-color: rgba(110, 44, 255, 0.1);
}

.bg-green-transparent-light {
    background-color: rgba(77, 170, 87, 0.20);
}

.bg-gradient-very-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(110, 44, 255, 0.10), rgba(110, 44, 255, 0));
    background: linear-gradient(to right, rgba(110, 44, 255, 0.10), rgba(110, 44, 255, 0));
}

.bg-gradient-flamingo-red-transparent {
    background: -webkit-linear-gradient(right, rgba(225, 52, 14, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(225, 52, 14, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}

.bg-gradient-base-color-transparent {
    background: -webkit-linear-gradient(right, rgba(99, 0, 209, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(99, 0, 209, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}

.bg-gradient-top-very-light-gray {
    background-image: linear-gradient(to top, #F9F6FF, #F9F6FF, #fcfafa, #ffffff, #ffffff);
}

/* text color */
.text-flamingo {
    color: #F3453B;
}

/* border color */
.border-color-base-transparent {
    border-color: rgba(110, 44, 255, 0.3) !important;
}

.text-outline-color-extra-medium-gray {
    -webkit-text-stroke-color: rgba(45, 34, 71, 0.15);
}

/* header */
header .container-fluid {
    padding-left: 65px;
    padding-right: 65px;
}

header .navbar {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    transition: all 0.3s ease;
}

header .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

header .navbar-brand img {
    max-height: 75px; /* Increased from 60px */
    height: auto;
    transition: max-height 0.3s ease;
}

header .btn {
    font-size: 14px;
}

.navbar .navbar-nav .nav-link .label {
    font-size: 10px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 360px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
    line-height: 24px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a i {
    font-size: 32px;
    width: 35px;
}

.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 16px; /* Increased from default */
    letter-spacing: 0.2px;
    padding-left: 18px !important;
    padding-right: 18px !important;
    transition: all 0.2s ease-in-out;
}

.navbar .navbar-nav .nav-link img {
    height: 16px !important;
    width: auto !important;
    vertical-align: middle;
    margin-top: -2px;
}

/* Header Search and Language Buttons */
header .header-search-icon.icon > a,
header .language-wrapper > a {
    width: 52px !important;
    height: 52px !important;
    line-height: 52px !important;
    transition: all 0.3s ease !important;
}

header .header-search-icon.icon > a i {
    font-size: 18px !important;
}

header .language-wrapper > a img {
    width: 24px !important;
    height: auto !important;
}

/* Hover effects for action buttons */
header .header-search-icon.icon > a:hover,
header .language-wrapper > a:hover {
    background-color: var(--base-color) !important;
    border-color: var(--base-color) !important;
}

header .header-search-icon.icon > a:hover i {
    color: #ffffff !important;
}

/* Responsive adjust for menu to fit on middle screens */
@media (max-width: 1200px) {
    .navbar .navbar-nav .nav-link {
        font-size: 15px;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* margin */
.mb-minus-30px {
    margin-bottom: -30px;
}

/* btn */
.btn {
    font-weight: 500;
    font-family: var(--primary-font);
    border: 0;
}

.btn.btn-base-color:active,
.btn.btn-base-color:hover {
    background: var(--base-color);
    color: var(--white);
}

.btn.btn-transparent-light-gray,
.btn.btn-transparent-light-gray:active,
.btn.btn-transparent-light-gray:hover {
    background-color: rgba(81, 20, 214, 0.1);
    color: var(--base-color);
}

.btn.btn-switch-text.btn-large>span {
    padding: 12px 12px;
    font-size: 15px;
}

/* font size */
.h1,
h1 {
    font-size: 4.3rem;
    line-height: 4rem;
}

.fs-280 {
    font-size: 17.5rem;
    line-height: 17.5rem;
}

/* contact form style */
.contact-form-style-07 .form-control {
    font-size: 14px;
}

/* newsletter style */
.newsletter-style-02 input {
    border-radius: 4px;
    padding: 9px 50px 9px 20px !important;
}

.newsletter-style-02 .btn {
    padding: 8px 20px 8px;
}

/* progress bar style */
.progress-bar-style-01 .progress .progress-bar-percent:after {
    border-top-color: rgba(110, 44, 255, 0.1);
}

/* down section */
.down-section {
    bottom: 30px;
}

/* review star icon */
.review-star-icon i {
    color: var(--base-color);
}

/* footer */
.footer-navbar li a:hover {
    color: var(--white);
}

footer .footer-logo img {
    max-height: 70px;
}

.mb-minus-70px {
    margin-bottom: -70px;
}

/* page title */
.page-title-extra-large h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
}

/* media query responsive */
@media (max-width: 1600px) {
    .box-layout {
        padding: 0 60px;
    }

    header .container-fluid {
        padding-left: 45px;
        padding-right: 45px;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

@media (max-width: 1199px) {
    .box-layout {
        padding: 0 0;
    }

    header .container-fluid {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media (max-width: 991px) {
    header .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .md-mb-minus-50px {
        margin-bottom: -50px;
    }
}

@media (max-width: 767px) {
    .md-mb-minus-20px {
        margin-bottom: -20px;
    }
}

.language-wrapper {
    position: relative;
}

.language-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #0000005e;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    padding: 8px 0;
    z-index: 9999;
}

.language-menu li {
    list-style: none;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin: 0 10px;
    color: #ffffff;
    text-decoration: none;
}


.language-menu a:hover {
    background: #0000006f;
}

/* 🔥 Hover aktif eden kısım */
.language-wrapper:hover .language-menu {
    display: block;
}

/* Product 360 Viewer Styles */
.product-360__img {
    max-width: 100%;
    max-height: 100%;
    cursor: grab;
    padding-bottom: 50px; /* Space for toolbar */
}

.product-360__img:active {
    cursor: grabbing;
}

.product-360 {
    position: relative;
    user-select: none;
    background: #fff;
    touch-action: none;
}

.product-360.dragging {
    cursor: grabbing;
}

.product-360__img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.product-360__toolbar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    backdrop-filter: blur(5px);
    width: auto;
    min-width: 200px;
    justify-content: center;
}

.p360-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--base-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    cursor: pointer;
}

.p360-btn:hover {
    background: var(--base-color);
    color: #fff;
}

.p360-btn.is-active {
    background: var(--base-color);
    color: #fff;
}

.p360-btn.is-on {
    color: #ff4d4d;
}

/* Top Specs Styles */
.bg-white-transparent-extra-light {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.bg-white-transparent-extra-light:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.border-color-transparent-white-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Multi-line Title Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* Ensures 2-line height even for 1-line text */
    line-height: 1.4em;
    height: 2.8em;
}

/* 360 Badge */
.badge-360 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--base-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none; /* Make it non-blocking for interactions */
    animation: fadeIn 0.5s ease-out;
}

.badge-360 i {
    font-size: 18px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Magnific Popup Modernization */
.mfp-bg {
    background: #000;
    opacity: 0.9;
}

.mfp-close {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    background: var(--base-color) !important;
    color: #fff !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1000 !important;
}

.mfp-image-holder .mfp-close, 
.mfp-iframe-holder .mfp-close {
    color: #fff !important;
    right: 10px !important;
    top: 50px !important;
}

.mfp-close:hover,
.mfp-close:hover:before {
    transform: scale(1.1);
    background: #fff !important;
    color: var(--base-color) !important;
}

.mfp-arrow {
    width: 50px !important;
    height: 50px !important;
    background: #fff !important;
    border-radius: 50% !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mfp-arrow:hover {
    opacity: 1 !important;
    background: var(--base-color) !important;
}

.mfp-arrow:before {
    display: none !important;
}

/* CSS Arrows - Centered Perfectly */
.mfp-arrow:after {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    position: absolute !important;
    border-style: solid !important;
    border-color: var(--base-color) !important;
}

.mfp-arrow-left:after {
    border-width: 0 0 3px 3px !important;
    transform: translate(-30%, -50%) rotate(45deg) !important;
}

.mfp-arrow-right:after {
    border-width: 3px 3px 0 0 !important;
    transform: translate(-70%, -50%) rotate(45deg) !important;
}

.mfp-arrow:hover:after {
    border-color: #fff !important;
}

.mfp-bottom-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.mfp-title {
    padding-right: 20px !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

.mfp-counter {
    position: static !important;
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 14px;
    background: rgba(0,0,0,0.5);
    padding: 0 15px;
    border-radius: 20px;
    white-space: nowrap;
}

.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.9;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    transform: scale(1);
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    transform: scale(0.95);
}

/* Responsive adjustments for header elements on mobile/tablet */
@media (max-width: 991px) {
    header .navbar {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    header .navbar-brand img {
        max-height: 55px !important;
    }

    header .header-search-icon.icon > a,
    header .language-wrapper > a {
        width: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
    }

    header .header-search-icon.icon > a i {
        font-size: 15px !important;
    }

    header .language-wrapper > a img {
        width: 20px !important;
    }
    
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 15px !important;
    }
}

/* ==========================================
   Modern Interactive Category Showcase
   ========================================== */
.mertsan-categories-section {
    position: relative;
    padding: 80px 0;
    background-color: #f3f9ff;
    overflow: hidden;
}

.mertsan-cat-showcase {
    display: flex;
    gap: 30px;
    height: 640px;
}

.cat-selector-panel {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cat-selector-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.cat-selector-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 30px;
    cursor: pointer;
    border-left: 4px solid transparent;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    flex: 1;
}

.cat-selector-item-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cat-selector-num {
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--medium-gray);
    background-color: var(--very-light-gray);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cat-selector-title {
    font-family: var(--alt-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.cat-selector-arrow {
    font-size: 20px;
    color: var(--medium-gray);
    transform: translateX(-5px);
    opacity: 0;
    transition: all 0.3s;
}

/* Hover State */
.cat-selector-item:hover {
    background: #ffffff;
    transform: translateX(8px);
    box-shadow: 0 10px 20px rgba(0, 70, 142, 0.06);
    border-left-color: rgba(0, 70, 142, 0.4);
}

.cat-selector-item:hover .cat-selector-title {
    color: var(--base-color);
}

.cat-selector-item:hover .cat-selector-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--base-color);
}

/* Active State */
.cat-selector-item.active {
    background: #ffffff;
    transform: translateX(12px);
    box-shadow: 0 10px 25px rgba(0, 70, 142, 0.1);
    border-left-color: var(--base-color);
}

.cat-selector-item.active .cat-selector-num {
    background-color: var(--base-color);
    color: #ffffff;
}

.cat-selector-item.active .cat-selector-title {
    color: var(--base-color);
    font-weight: 700;
}

.cat-selector-item.active .cat-selector-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--base-color);
}

/* Preview Card Panel (Right) */
.cat-preview-panel {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cat-preview-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex; /* Modern split layout */
    background: linear-gradient(135deg, #0e1a38 0%, #060c1c 100%);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease;
    z-index: 1;
}

.cat-preview-pane.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

/* Left Content Column */
.cat-preview-left {
    flex: 0 0 58%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.cat-preview-content {
    width: 100%;
    color: #ffffff;
}

.cat-preview-title {
    font-family: var(--alt-font);
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cat-preview-desc {
    font-size: 14px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-preview-subcats {
    margin-bottom: 25px;
}

.cat-subcats-title {
    font-family: var(--alt-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.cat-subcats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subcat-badge {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.subcat-badge:hover {
    background: #ffffff;
    color: var(--base-color);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Right Image Column */
.cat-preview-right {
    flex: 0 0 42%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Spotlight behind the image */
.cat-preview-spotlight {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 110, 224, 0.22) 0%, rgba(0, 110, 224, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Image container & Float animation */
.cat-preview-img-container {
    position: relative;
    z-index: 2;
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-preview-icon-img {
    max-width: 220px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 10px 25px rgba(255, 255, 255, 0.12));
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-preview-icon-img.fallback-image {
    max-width: 85%;
    max-height: 85%;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* Float animation only when active */
.cat-preview-pane.active .cat-preview-icon-img {
    animation: floatProduct 6s ease-in-out infinite;
}

@keyframes floatProduct {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Hover effects */
.cat-preview-right:hover .cat-preview-icon-img {
    transform: scale(1.1) rotate(3deg);
    filter: brightness(0) invert(1) drop-shadow(0 15px 30px rgba(0, 110, 224, 0.35));
}

.cat-preview-right:hover .cat-preview-icon-img.fallback-image {
    transform: scale(1.04) rotate(-0.5deg);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .cat-preview-title {
        font-size: 32px;
    }
    .cat-preview-desc {
        font-size: 14px;
        line-height: 23px;
    }
}

@media (max-width: 991px) {
    .mertsan-cat-showcase {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .cat-selector-panel {
        flex: auto;
        height: auto;
    }

    .cat-selector-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        height: auto;
        gap: 12px;
    }

    .cat-selector-list::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .cat-selector-item {
        flex: 0 0 auto;
        padding: 10px 18px;
        border-radius: 30px;
        border-left: none;
        border: 1px solid var(--light-medium-gray);
        background: #ffffff;
        box-shadow: none;
    }

    .cat-selector-item-content {
        gap: 8px;
    }

    .cat-selector-num, .cat-selector-arrow {
        display: none;
    }

    .cat-selector-title {
        font-size: 15px;
    }

    /* Active Pill on Mobile */
    .cat-selector-item.active {
        background: var(--base-color);
        border-color: var(--base-color);
        transform: none;
        box-shadow: 0 6px 12px rgba(0, 70, 142, 0.2);
    }

    .cat-selector-item.active .cat-selector-title {
        color: #ffffff;
    }

    .cat-selector-item:hover {
        transform: none;
        box-shadow: none;
    }

    /* Mobile Preview Container */
    .cat-preview-panel {
        height: 560px; /* Increased height to accommodate vertical layout */
    }

    .cat-preview-pane {
        flex-direction: column-reverse; /* Image at top, content below */
        height: 100%;
    }

    .cat-preview-left {
        flex: auto;
        padding: 25px 30px 30px 30px;
        width: 100%;
    }

    .cat-preview-desc {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cat-preview-subcats {
        margin-bottom: 20px;
    }

    .cat-preview-right {
        flex: auto;
        width: 100%;
        height: 220px;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .cat-preview-img-container {
        width: 100%;
        height: 180px;
    }

    .cat-preview-spotlight {
        width: 200px;
        height: 200px;
    }

    .cat-preview-icon-wrap {
        top: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        padding: 12px;
        border-radius: 12px;
    }
}

/* Category Page Banner Styling */
.category-page-banner {
    height: 380px !important;
    min-height: 380px !important;
    position: relative;
    display: flex;
    align-items: center !important;
    justify-content: center;
    overflow: hidden;
}

.category-page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 70, 142, 0.85) 0%, rgba(45, 34, 71, 0.9) 100%);
    z-index: 1;
}

.category-page-banner > .container {
    position: relative;
    z-index: 2;
    margin-top: 50px; /* Offset for the overlapping transparent menu */
}

.category-page-banner h1 {
    font-size: 3rem !important;
    line-height: 3.6rem !important;
    margin-bottom: 15px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-page-banner .breadcrumb {
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .category-page-banner {
        height: 320px !important;
        min-height: 320px !important;
    }
    .category-page-banner > .container {
        margin-top: 40px;
    }
    .category-page-banner h1 {
        font-size: 2.2rem !important;
        line-height: 2.6rem !important;
    }
}

@media (max-width: 575px) {
    .category-page-banner {
        height: 280px !important;
        min-height: 280px !important;
    }
    .category-page-banner > .container {
        margin-top: 30px;
    }
    .category-page-banner h1 {
        font-size: 1.8rem !important;
        line-height: 2.2rem !important;
        margin-bottom: 10px !important;
    }
}

/* ==========================================
   Modern Shop Cards & Sidebar Styles
   ========================================== */

.modern-shop-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 70, 142, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 30px);
}

.modern-shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 70, 142, 0.08);
    border-color: rgba(0, 70, 142, 0.18);
}

.modern-shop-card .modern-shop-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fbfbfd;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-shop-card .modern-shop-image img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-shop-card:hover .modern-shop-image img {
    transform: scale(1.08);
}

.modern-shop-card .modern-shop-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 70, 142, 0.03) 0%, rgba(0, 70, 142, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-shop-card:hover .modern-shop-image::after {
    opacity: 1;
}

.modern-shop-card .modern-shop-footer {
    text-align: center;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.modern-shop-card .modern-shop-title {
    font-family: var(--alt-font);
    font-weight: 750;
    font-size: 18px;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    transition: color 0.3s ease;
    text-decoration: none;
    width: 100%;
    letter-spacing: -0.2px;
}

.modern-shop-card:hover .modern-shop-title {
    color: var(--base-color);
}

.modern-shop-card .modern-title-divider {
    width: 30px;
    height: 3px;
    background-color: rgba(0, 70, 142, 0.12);
    margin: 0 auto 15px auto;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-shop-card:hover .modern-title-divider {
    width: 60px;
    background-color: var(--base-color);
    box-shadow: 0 0 10px rgba(0, 70, 142, 0.45);
}

.modern-shop-card .modern-shop-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--base-color);
    background-color: rgba(0, 70, 142, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 5px;
    border: 1px solid transparent;
}

.modern-shop-card:hover .modern-shop-action {
    background-color: var(--base-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 70, 142, 0.2);
    border-color: var(--base-color);
    transform: translateY(-2px);
}

.modern-shop-card .modern-shop-action i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.modern-shop-card:hover .modern-shop-action i {
    transform: translateX(4px);
}

/* Sidebar Modern Widget Design */
.modern-sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.modern-sidebar-title {
    font-family: var(--alt-font);
    font-weight: 800;
    font-size: 15px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid rgba(0, 70, 142, 0.06);
}

.modern-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--base-color) 0%, #006aff 100%);
    border-radius: 2px;
}

.modern-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-categories-list li {
    padding: 0 !important;
    margin-bottom: 8px;
    border-bottom: none !important;
}

.modern-categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-left: 4px solid rgba(0, 70, 142, 0.08); /* Light blue accent bar on inactive */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.modern-categories-list li a::after {
    content: '\e930';
    font-family: 'feather' !important;
    font-size: 14px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.modern-categories-list li:hover a {
    background: linear-gradient(to right, rgba(0, 70, 142, 0.05) 0%, rgba(0, 70, 142, 0) 100%);
    color: var(--base-color);
    transform: translateX(6px);
    border-color: rgba(0, 70, 142, 0.15);
    border-left-color: var(--base-color);
    box-shadow: 0 6px 15px rgba(0, 70, 142, 0.04);
}

.modern-categories-list li:hover a::after {
    opacity: 1;
    transform: translateX(2px);
    color: var(--base-color);
}

.modern-categories-list li.active a {
    background: linear-gradient(135deg, var(--base-color) 0%, #0060c4 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 70, 142, 0.22);
    border-color: var(--base-color);
    border-left-color: var(--green); /* Beautiful green accent bar */
}

.modern-categories-list li.active a::after {
    opacity: 1;
    color: #ffffff;
    transform: translateX(2px);
}

/* Custom Filter Box */
.modern-filter-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.modern-filter-item {
    list-style: none;
    margin-bottom: 0 !important;
}

.modern-filter-item a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    text-decoration: none;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-left: 4px solid rgba(0, 70, 142, 0.08); /* Light blue accent bar on inactive */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-bottom: none !important;
}

.modern-filter-item a:hover {
    background: linear-gradient(to right, rgba(0, 70, 142, 0.05) 0%, rgba(0, 70, 142, 0) 100%);
    color: var(--base-color);
    border-color: rgba(0, 70, 142, 0.15);
    border-left-color: var(--base-color);
    transform: translateX(6px);
}

.modern-filter-item.active a {
    background: linear-gradient(135deg, var(--base-color) 0%, #0060c4 100%);
    color: #ffffff;
    border-color: var(--base-color);
    border-left-color: var(--green); /* Beautiful green accent bar */
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 70, 142, 0.22);
}

/* Premium Grid Pattern for Category Banner */
.category-page-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
}

/* ==========================================
   Product Detail Page (urun.php) Styles
   ========================================== */

/* Dark Premium Hero Section */
.modern-product-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 0px;
}

.modern-product-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 70, 142, 0.92) 0%, rgba(45, 34, 71, 0.96) 100%);
    z-index: 1;
}

.modern-product-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.modern-product-hero > .container {
    position: relative;
    z-index: 2;
}

/* Image Screen Display with Soft Border and Ambient Shadow */
.modern-image-screen {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 70, 142, 0.15);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.modern-image-screen:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 50px rgba(0, 70, 142, 0.2);
}

/* Glassmorphic Top Floating Specs */
.modern-spec-box {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.modern-spec-box:hover {
    background-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Tab Header / Segmented Controls styling override */
.tab-style-04 .nav-tabs .nav-link {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark-gray);
    padding: 15px 25px !important;
    transition: all 0.3s ease;
    border-radius: 30px;
    margin: 0 5px;
}

.tab-style-04 .nav-tabs .nav-link.active {
    background-color: rgba(0, 70, 142, 0.07);
    color: var(--base-color) !important;
}

/* Modern Specs Table */
.modern-spec-table {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 70, 142, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    background: #ffffff;
    margin-bottom: 25px;
}

.modern-spec-table .row.tablo {
    margin: 0 !important;
    border-bottom: 1px solid #f0f3f6;
    transition: all 0.25s ease;
}

.modern-spec-table .row.tablo:last-child {
    border-bottom: none;
}

.modern-spec-table .row.tablo:not(.table-header):hover {
    background-color: rgba(0, 70, 142, 0.03) !important;
    transform: translateX(4px);
}

.modern-spec-table .table-header {
    background: linear-gradient(135deg, var(--base-color) 0%, #005bb7 100%) !important;
    color: #ffffff !important;
    border-bottom: none;
}

.modern-spec-table .table-header div {
    color: #ffffff !important;
}

/* Premium Document Drawing Card */
.modern-drawing-card {
    background: #ffffff;
    border: 1px solid rgba(0, 70, 142, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
    margin-top: 30px;
    transition: all 0.3s ease;
}

.modern-drawing-card:hover {
    box-shadow: 0 15px 45px rgba(0, 70, 142, 0.06);
    transform: translateY(-2px);
}

.modern-drawing-card img {
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

/* Fix down-section overlapping with specs boxes */
.modern-product-hero .down-section {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 40px;
    margin-bottom: 20px;
    display: block !important;
}

@media (max-width: 991px) {
    .modern-product-hero {
        height: auto !important;
        min-height: auto !important;
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .modern-product-hero .down-section {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

/* Ensure header and navbar always stay on top of hero content */
header.header {
    position: relative;
    z-index: 99999 !important;
}
header.header .navbar {
    z-index: 99999 !important;
}

@media (min-width: 992px) {
    /* Bridge hover gap for dropdown menus to prevent premature closing */
    .navbar .navbar-nav .dropdown .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -40px;
        left: 0;
        right: 0;
        height: 40px;
        background: transparent;
        z-index: 1;
        pointer-events: auto;
    }
}

/* Allow clicks to pass through the hover overlay to the product/category links */
.modern-shop-card .modern-shop-image::after {
    pointer-events: none;
}

/* ==========================================
   Modern Footer Styles
   ========================================== */
footer.modern-footer {
    background: linear-gradient(180deg, #091326 0%, #03070f 100%) !important;
    color: #abb8c9 !important;
    font-family: var(--primary-font);
    padding: 80px 0 0 0 !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 70, 142, 0.18) 0%, rgba(0, 70, 142, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

footer.modern-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Heading */
footer.modern-footer .footer-title {
    font-family: var(--alt-font);
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

footer.modern-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--base-color);
}

/* Align heading line to center on tablet/mobile when centered */
@media (max-width: 991px) {
    footer.modern-footer .text-md-center .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Footer Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list a {
    color: #abb8c9 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-links-list a:hover {
    color: #ffffff !important;
    transform: translateX(6px);
}

/* Footer Contact Info */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 70, 142, 0.15);
    border: 1px solid rgba(0, 70, 142, 0.3);
    color: #4a90e2;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--base-color);
    color: #ffffff;
    border-color: var(--base-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 70, 142, 0.3);
}

.footer-contact-text {
    font-size: 15px;
    line-height: 1.5;
    color: #abb8c9;
}

.footer-contact-text a {
    color: #abb8c9 !important;
    transition: color 0.2s ease;
}

.footer-contact-text a:hover {
    color: #ffffff !important;
}

/* Brand Column */
.footer-brand-about {
    font-size: 15px;
    line-height: 1.6;
    color: #abb8c9;
    margin-bottom: 25px;
}

.footer-brand-logo {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-brand-logo:hover {
    transform: scale(1.02);
}

.footer-brand-logo img {
    max-height: 60px;
    width: auto;
}

/* Social Media Icons */
.footer-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-social-icons li {
    list-style: none;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-social-icons a:hover {
    background: var(--base-color);
    border-color: var(--base-color);
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 70, 142, 0.4);
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 25px 0;
    margin-top: 60px;
}

.footer-bottom-text {
    font-size: 14px;
    color: #7f8c9d;
    margin: 0;
}

.footer-bottom-logo {
    display: inline-block;
}

.footer-bottom-logo img {
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
    max-height: 18px;
    width: auto;
}

.footer-bottom-logo:hover img {
    opacity: 1;
    filter: none;
}

/* ==========================================
   100VH APP-LOCK SHELL  (uygulama benzeri sayfa)
   Masaüstünde sayfa scroll olmaz; gövde 100vh'ye
   sabitlenir, içerik sekme + iç kaydırma ile gösterilir.
   ========================================== */
@media (min-width: 992px) {

    html:has(body.app-lock) {
        overflow: hidden;
    }

    body.app-lock {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background: #0a1224;
    }

    /* Üst bar (app top bar) */
    body.app-lock header.header {
        flex: 0 0 auto;
        background: linear-gradient(135deg, rgba(0, 70, 142, 1) 0%, rgba(45, 34, 71, 1) 100%);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);
    }

    /* Tema navbar'ı .disable-fixed ile position:absolute → header yüksekliği 0
       kalıyordu ve menü içeriğin üstüne biniyordu. Akışa sokup gerçek bir
       üst bar haline getiriyoruz. */
    body.app-lock header.header .navbar.disable-fixed {
        position: relative !important;
        top: auto !important;
    }

    /* İçerik kabuğu: kalan tüm yüksekliği doldurur */
    body.app-lock .app-main {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Kilitli sayfalarda büyük footer gizli (scroll yok) */
    body.app-lock footer.modern-footer {
        display: none !important;
    }

    /* ---- Katalog sayfaları (kategoriler.php / kategori.php) ---- */
    /* Banner inceltilir, sabit kalır */
    body.app-lock .category-page-banner {
        flex: 0 0 auto;
        height: 180px !important;
        min-height: 180px !important;
    }

    body.app-lock .category-page-banner > .container {
        margin-top: 0 !important;
    }

    body.app-lock .category-page-banner h1 {
        font-size: 2.4rem !important;
        line-height: 2.8rem !important;
        margin-bottom: 8px !important;
    }

    /* Ürün/kategori grid bölümü iç kaydırma alanı olur */
    body.app-lock section#kaydir {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    body.app-lock section#kaydir::-webkit-scrollbar {
        width: 10px;
    }

    body.app-lock section#kaydir::-webkit-scrollbar-thumb {
        background: rgba(0, 70, 142, 0.25);
        border-radius: 10px;
    }

    body.app-lock section#kaydir::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 70, 142, 0.4);
    }

    /* Sidebar kilitli görünümde kart yüksekliklerini bozmasın */
    body.app-lock section#kaydir .shopping-sidebar {
        position: sticky;
        top: 0;
    }
}

/* ==========================================
   PRODUCT APP (urun.php) — tam geçişli mavi zemin,
   header altı sekme barı, tek ekran (scroll yok)
   ========================================== */
.product-app {
    position: relative;
    width: 100%;
    padding: 0;          /* tema section{padding:110px 0} ezilir */
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #00468e 0%, #2D2247 100%);
    overflow: hidden;
}

.product-app::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* Masaüstü: app-main içinde tam yüksekliği doldur */
@media (min-width: 992px) {
    body.app-lock .app-main > .product-app {
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }
}

/* ---- Header'ın hemen altındaki bar: kimlik + sekmeler + CTA ---- */
.product-bar {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-bar__id {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex: 0 0 auto;
    min-width: 0;
}

.product-bar__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #7db3ec;
}

.product-bar__name {
    font-family: var(--alt-font);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-bar__tabs {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.product-bar__tabs .nav-tabs {
    display: inline-flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 5px;
    border-radius: 50px;
}

.product-bar__tabs .nav-tabs .nav-link {
    border: 0 !important;
    margin: 0 !important;
    padding: 9px 24px !important;
    border-radius: 50px !important;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75) !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.product-bar__tabs .nav-tabs .nav-link:hover {
    color: #ffffff !important;
}

.product-bar__tabs .nav-tabs .nav-link.active {
    background: #ffffff !important;
    color: var(--base-color) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.product-bar__tabs .tab-border {
    display: none;
}

.product-bar__cta {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.product-bar__cta .btn {
    margin: 0;
}

/* ---- İçerik gövdesi: barın hemen altı, kalan alanı doldurur, SCROLL YOK ---- */
.product-app__body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* Aktif panel gövdeyi birebir doldurur */
.product-app__body > .tab-pane {
    position: absolute;
    inset: 0;
}

/* ---- Genel Bakış ---- */
.ov {
    height: 100%;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 30px;
    padding: 26px 36px 30px;
}

.ov__visual {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 70, 142, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
}

.ov__img-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.ov__visual img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ov__visual .product-360__img {
    padding-bottom: 56px;
}

.ov__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.overview-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.ov__info .modern-spec-box {
    padding: 16px 18px;
}

.product-app__desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overview-meta {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.overview-meta .po-meta-row {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-meta .po-meta-label {
    color: rgba(255, 255, 255, 0.7);
}

.overview-meta .po-meta-value {
    color: #ffffff;
}

/* ---- Teknik Bilgiler ---- */
.tech-grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 30px;
    padding: 26px 36px 30px;
}

.tech-grid.no-drawing {
    grid-template-columns: 1fr;
}

.spec-grid {
    align-self: center;
    align-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    max-height: 100%;
}

.tech-grid.no-drawing .spec-grid {
    grid-template-columns: repeat(3, 1fr);
}

.spec-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 11px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-item--head {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.spec-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.6);
}

.spec-item__value {
    font-family: var(--alt-font);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.spec-item--head .spec-item__value {
    font-size: 20px;
}

.tech-visual {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    cursor: zoom-in;
}

.tech-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* ---- Bileşenler ---- */
.comp-grid {
    height: 100%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 24px;
    padding: 26px 36px 30px;
}

.comp-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 0;
    cursor: zoom-in;
}

.comp-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---- Görsel popup (zoom) rozeti ---- */
.img-zoom {
    position: relative;
}

.img-zoom__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 70, 142, 0.92);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.img-zoom:hover .img-zoom__badge {
    opacity: 1;
    transform: scale(1);
}

/* ---- Mobil / tablet: 100vh kilidini gevşet, normal akış ---- */
@media (max-width: 991px) {

    body.app-lock {
        height: auto;
        overflow: visible;
        display: block;
    }

    body.app-lock .app-main {
        display: block;
        height: auto;
        overflow: visible;
    }

    body.app-lock section#kaydir {
        height: auto;
        overflow: visible;
    }

    .product-app {
        overflow: visible;
        padding-top: 96px;
    }

    .product-bar {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 18px;
    }

    .product-bar__tabs {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .product-bar__cta {
        margin-left: auto;
    }

    .product-app__body {
        position: static;
        overflow: visible;
    }

    .product-app__body > .tab-pane {
        position: static;
    }

    .ov,
    .tech-grid,
    .comp-grid {
        display: block;
        height: auto;
        padding: 22px 18px 36px;
    }

    .ov__visual {
        height: 52vh;
        margin-bottom: 20px;
    }

    .spec-grid {
        margin-bottom: 20px;
    }

    .tech-visual {
        height: 42vh;
    }

    .comp-card {
        height: 50vh;
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .ov__info .modern-spec-box {
        padding: 10px 8px;
    }

    .tech-grid .spec-grid,
    .tech-grid.no-drawing .spec-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-bar__name {
        font-size: 18px;
    }
}

/* Magnific popup'ı header'ın (z-index:99999) üzerine çıkar */
.mfp-bg { z-index: 100050 !important; }
.mfp-wrap,
.mfp-container { z-index: 100060 !important; }

/* Genel Bakış: başlık + kategori (büyütülmüş) ve alttaki CTA */
.ov__heading {
    margin-bottom: 22px;
}

.ov__cat {
    display: inline-block;
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7db3ec;
    margin-bottom: 6px;
}

.ov__title {
    font-family: var(--alt-font);
    font-size: clamp(32px, 3vw, 50px) !important;
    line-height: 1.05 !important;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0;
}

.ov__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.ov__cta .btn {
    margin: 0;
}

/* ---- Yedek parça kart grid'leri (Bileşenler / Bulunduğu Yedek Parçalar) ---- */
.parts-grid {
    height: 100%;
    overflow-y: auto;
    padding: 26px 36px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    align-content: start;
}

.parts-grid::-webkit-scrollbar { width: 9px; }
.parts-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.25); border-radius: 10px; }

.part-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.30);
}

.part-card__img {
    aspect-ratio: 1 / 1;
    background: #fbfbfd;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.part-card__img img {
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.part-card:hover .part-card__img img { transform: scale(1.07); }

.part-card__name {
    font-family: var(--alt-font);
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-gray);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .parts-grid {
        height: auto;
        overflow: visible;
        padding: 22px 18px 36px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ---- Teknik Bilgiler + Bileşenler birleşik sekme (yarı-yarıya) ---- */
.combo-grid {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr);
    gap: 30px;
    padding: 26px 36px 30px;
}

.combo-grid.single {
    grid-template-columns: 1fr;
}

.combo-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.combo-title {
    flex: 0 0 auto;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7db3ec;
    margin-bottom: 14px;
}

.combo-tech .spec-grid {
    flex: 0 0 auto;
    align-self: stretch;
    align-content: start;
    max-height: none;
    margin-bottom: 18px;
}

.combo-tech .tech-visual {
    flex: 1 1 auto;
    min-height: 0;
}

.combo-comp .parts-grid {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    padding: 0;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

@media (max-width: 991px) {
    .combo-grid {
        display: block;
        height: auto;
        padding: 22px 18px 36px;
    }

    .combo-col {
        display: block;
        margin-bottom: 26px;
    }

    .combo-tech .tech-visual {
        height: 38vh;
    }

    .combo-comp .parts-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* ==========================================
   KATEGORİ APP (kategori.php / kategoriler.php)
   Tek ekran master-detail: sol kategori rail'i + sağ içerik
   ========================================== */
.cat-app {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #eef4fb;
    min-height: 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    body.app-lock .app-main > .cat-app {
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }
}

/* Sol rail */
.cat-app__rail {
    background: #ffffff;
    border-right: 1px solid rgba(0, 70, 142, 0.08);
    overflow-y: auto;
    padding: 26px 20px;
}

.cat-app__rail::-webkit-scrollbar { width: 8px; }
.cat-app__rail::-webkit-scrollbar-thumb { background: rgba(0, 70, 142, 0.18); border-radius: 8px; }

.cat-rail__group { margin-bottom: 26px; }
.cat-rail__group:last-child { margin-bottom: 0; }

.cat-rail__title {
    display: block;
    font-family: var(--alt-font);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark-gray);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 70, 142, 0.07);
}

.cat-rail__list { list-style: none; padding: 0; margin: 0; }
.cat-rail__list li { margin-bottom: 7px; }

.cat-rail__list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(0, 70, 142, 0.06);
    border-left: 4px solid rgba(0, 70, 142, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cat-rail__list li a::after {
    content: '\e930';
    font-family: 'feather' !important;
    font-size: 13px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.cat-rail__list li a:hover {
    color: var(--base-color);
    transform: translateX(5px);
    border-left-color: var(--base-color);
    box-shadow: 0 6px 14px rgba(0, 70, 142, 0.05);
}

.cat-rail__list li.active a {
    background: linear-gradient(135deg, var(--base-color) 0%, #0060c4 100%);
    color: #ffffff;
    border-color: var(--base-color);
    border-left-color: var(--green);
    box-shadow: 0 8px 20px rgba(0, 70, 142, 0.22);
}

.cat-rail__list li.active a::after { opacity: 1; color: #fff; }
.cat-rail__clear a { justify-content: center; background: rgba(0,70,142,0.06) !important; border-left-color: transparent !important; }
.cat-rail__clear a::after { content: '' !important; }

/* Sağ içerik */
.cat-app__main {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cat-app__head {
    flex: 0 0 auto;
    padding: 24px 34px 14px;
}

.cat-app__crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--medium-gray);
    margin-bottom: 6px;
}
.cat-app__crumb a { color: var(--medium-gray); text-decoration: none; }
.cat-app__crumb a:hover { color: var(--base-color); }
.cat-app__crumb i { font-size: 10px; opacity: 0.5; }

.cat-app__title {
    font-family: var(--alt-font);
    font-size: clamp(24px, 2.4vw, 36px) !important;
    line-height: 1.1 !important;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark-gray);
    margin: 0;
}

.cat-app__grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 34px 30px;
}

.cat-app__grid::-webkit-scrollbar { width: 10px; }
.cat-app__grid::-webkit-scrollbar-thumb { background: rgba(0, 70, 142, 0.2); border-radius: 10px; }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
    align-content: start;
}

/* Kategori grid'inde kompakt kartlar (daha cok urun sigsin) */
.cat-grid .modern-shop-card {
    height: auto;
    margin-bottom: 0;
    padding: 12px;
    border-radius: 12px;
}

.cat-grid .modern-shop-card .modern-shop-image {
    margin-bottom: 12px;
    border-radius: 9px;
}

.cat-grid .modern-shop-title {
    font-size: 13.5px;
    margin-bottom: 8px;
    height: 2.6em;
}

.cat-grid .modern-title-divider {
    margin-bottom: 9px;
}

.cat-grid .modern-shop-action {
    font-size: 10px;
    padding: 6px 14px;
    letter-spacing: 0.5px;
}

.cat-app__pager {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.cat-empty {
    color: var(--medium-gray);
    font-weight: 500;
    padding: 50px 10px;
}

/* Mobil / tablet: dikey yığ, normal akış */
@media (max-width: 991px) {
    .cat-app {
        display: block;
        height: auto;
        overflow: visible;
    }

    .cat-app__rail {
        border-right: none;
        border-bottom: 1px solid rgba(0, 70, 142, 0.08);
        overflow: visible;
    }

    .cat-app__main { display: block; }

    .cat-app__grid {
        overflow: visible;
        padding: 10px 18px 36px;
    }

    .cat-app__head { padding: 20px 18px 12px; }

    .cat-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px; }
}

/* ==========================================
   RTL (Arapça)  — html[dir="rtl"]
   ========================================== */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .product-app__title,
html[dir="rtl"] .ov__title,
html[dir="rtl"] .cat-app__title { letter-spacing: 0; }

/* breadcrumb / ileri ok ikonları yön değiştirir */
html[dir="rtl"] .bi-chevron-right::before { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .modern-shop-action i,
html[dir="rtl"] .feather.icon-feather-arrow-right,
html[dir="rtl"] .modern-categories-list li a::after,
html[dir="rtl"] .cat-rail__list li a::after { display: inline-block; transform: scaleX(-1); }

/* sol-kenar vurgu çubukları -> sağ kenar */
html[dir="rtl"] .cat-rail__list li a,
html[dir="rtl"] .modern-categories-list li a,
html[dir="rtl"] .modern-filter-item a {
    border-left: 1px solid rgba(0,70,142,0.06);
    border-right: 4px solid rgba(0,70,142,0.08);
}
html[dir="rtl"] .cat-rail__list li a:hover,
html[dir="rtl"] .modern-categories-list li:hover a,
html[dir="rtl"] .modern-filter-item a:hover { border-right-color: var(--base-color); }
html[dir="rtl"] .cat-rail__list li.active a,
html[dir="rtl"] .modern-categories-list li.active a,
html[dir="rtl"] .modern-filter-item.active a { border-right-color: var(--green); }

/* hover kaymaları ters yöne */
html[dir="rtl"] .cat-rail__list li a:hover,
html[dir="rtl"] .modern-categories-list li:hover a { transform: translateX(-5px); }

/* sağ rail kenarlığı */
html[dir="rtl"] .cat-app__rail { border-right: none; border-left: 1px solid rgba(0,70,142,0.08); }

/* sidebar başlık altı çizgi / spec etiketleri sağa */
html[dir="rtl"] .modern-sidebar-title::after,
html[dir="rtl"] .cat-rail__title { left: auto; right: 0; }
html[dir="rtl"] .footer-contact-item { text-align: right; }

/* ürün üst bar / cam tab pill'leri zaten flex; metin sağa */
html[dir="rtl"] .product-bar__cat,
html[dir="rtl"] .ov__cat { letter-spacing: 0.5px; }

/* ==========================================
   Belge / Sertifika / Kılavuz / Galeri + 404
   ========================================== */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 24px;
}
.doc-card {
    background: #fff;
    border: 1px solid rgba(0, 70, 142, 0.07);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(0, 70, 142, 0.08); border-color: rgba(0, 70, 142, 0.15); }
.doc-card__img { aspect-ratio: 1 / 1; background: #fbfbfd; border: 1px solid rgba(0,0,0,0.03); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; cursor: zoom-in; }
.doc-card__img img { max-width: 88%; max-height: 88%; object-fit: contain; transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1); }
.doc-card:hover .doc-card__img img { transform: scale(1.06); }
.doc-card__title { font-family: var(--alt-font); font-weight: 700; font-size: 16px; color: var(--dark-gray); margin-bottom: 14px; line-height: 1.35; flex: 1 1 auto; }
.doc-card__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--base-color); background: rgba(0, 70, 142, 0.06); padding: 9px 18px; border-radius: 30px; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; }
.doc-card__btn:hover { background: var(--base-color); color: #fff; box-shadow: 0 6px 15px rgba(0, 70, 142, 0.2); }

.empty-state { text-align: center; padding: 70px 20px; color: var(--medium-gray); font-weight: 500; }
.empty-state i { font-size: 54px; color: rgba(0, 70, 142, 0.2); display: block; margin-bottom: 18px; }

/* 404 */
.error-404 { min-height: 68vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px 60px; }
.error-404__code { font-family: var(--alt-font); font-size: clamp(90px, 18vw, 210px); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--base-color), #2D2247); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-404 h2 { font-family: var(--alt-font); font-weight: 800; color: var(--dark-gray); margin: 10px 0 14px; }
.error-404 p { color: var(--medium-gray); max-width: 520px; margin: 0 auto 28px; line-height: 1.7; }

/* blog detay */
.blog-detail__cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 18px; margin-bottom: 30px; }
.blog-detail__meta { font-size: 13px; font-weight: 600; color: var(--base-color); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.blog-detail__title { font-family: var(--alt-font); font-weight: 800; color: var(--dark-gray); line-height: 1.15; margin-bottom: 24px; }
.blog-detail__body { font-size: 16px; line-height: 1.8; color: var(--medium-gray); }
.blog-detail__body img { max-width: 100%; height: auto; border-radius: 10px; }
