/* =========================================================
   GENEL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.site-width {
    width: 92%;
    max-width: 1320px;
    margin: auto;
}


/* =========================================================
   EN ÜST BAR
========================================================= */

.top-bar {
    background: #211d5d;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.18);
    font-size: 12px;
}

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

.top-bar strong {
    color: #ff8a00;
}


/* =========================================================
   ANA HEADER
========================================================= */

.main-site-header {
    background: #211d5d;
    color: white;
}

.header-main-row {
    min-height: 135px;
    display: grid;
    grid-template-columns: 270px 1fr 230px;
    align-items: center;
    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo-area {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 250px;
    max-height: 85px;
    object-fit: contain;
}

.text-logo {
    display: flex;
    flex-direction: column;
}

.text-logo strong {
    font-size: 27px;
    letter-spacing: 1px;
}

.text-logo small {
    margin-top: 5px;
    color: #ccc;
    letter-spacing: 3px;
}


/* =========================================================
   HEADER ARAMA
========================================================= */

.header-search {
    display: grid;
    grid-template-columns: 210px 1fr 55px;
    height: 50px;
    border: 2px solid #ff8500;
    background: white;
}

.header-search select {
    border: 0;
    border-right: 1px solid #ddd;
    padding: 0 14px;
    outline: none;
    font-weight: bold;
    color: #555;
    background: white;
}

.header-search input {
    border: 0;
    outline: none;
    padding: 0 17px;
    font-size: 14px;
}

.header-search button {
    border: 0;
    background: #ff8500;
    color: white;
    font-size: 20px;
}


/* =========================================================
   HEADER SAĞ
========================================================= */

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: bold;
}

.account-link:first-letter {
    font-size: 24px;
}

.header-cart {
    position: relative;
    border: 0;
    background: transparent;
    color: white;
    font-size: 32px;
}

.header-cart-count {
    position: absolute;
    right: -7px;
    top: -7px;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff8500;
    color: white;

    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   NAVİGASYON
========================================================= */

.main-navigation {
    background: #211d5d;
    color: white;
}

.navigation-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
}

.all-categories-title {
    height: 55px;

    border: 0;
    border-left: 5px solid #ff8500;

    background: #303030;
    color: white;

    text-align: left;

    padding: 0 18px;

    font-size: 15px;
}

.hamburger {
    font-size: 20px;
    margin-right: 15px;
}

.main-menu {
    display: flex;
    align-items: center;
    border-bottom: 5px solid #ccc;
}

.main-menu a {
    height: 50px;
    display: flex;
    align-items: center;

    padding: 0 23px;

    font-weight: bold;
    font-size: 14px;

    transition: .2s;
}

.main-menu a:hover,
.main-menu a.active {
    color: #ff8500;
}


/* =========================================================
   KATEGORİ + BANNER
========================================================= */

.hero-layout {
    position: relative;

    display: grid;
    grid-template-columns: 320px 1fr;

    min-height: 300px;
}


/* =========================================================
   SOL KATEGORİ
========================================================= */

.category-sidebar {
    position: relative;
    z-index: 20;

    background: white;

    border-left: 1px solid #eee;
    border-right: 1px solid #eee;

    box-shadow: 2px 5px 12px rgba(0,0,0,.05);
}

.main-category-item {
    position: relative;

    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 17px;

    border-bottom: 1px solid #f3f3f3;

    color: #777;

    font-size: 13px;

    cursor: pointer;

    transition: .2s;
}

.main-category-item:hover {
    color: #ff8500;
    background: #fafafa;
}

.main-category-item.active {
    background: #f5f5f5;
    color: #ff8500;
    font-weight: bold;
    border-left: 4px solid #ff8500;
    padding-left: 13px;
}

.category-arrow {
    font-size: 20px;
    color: #777;
}

.main-category-item.active .category-arrow {
    color: #ff8500;
}


/* =========================================================
   SAĞA AÇILAN ALT KATEGORİ
========================================================= */

.subcategory-flyout {
    display: none;

    position: absolute;

    left: 320px;
    top: 0;

    width: 320px;
    min-height: 300px;

    z-index: 50;

    background: white;

    border: 1px solid #e4e4e4;

    box-shadow: 8px 8px 25px rgba(0,0,0,.15);
}

.subcategory-flyout.open {
    display: block;
}

.subcategory-header {
    padding: 18px;

    background: #f5f5f5;

    color: #222;

    font-size: 15px;
    font-weight: bold;

    border-bottom: 3px solid #ff8500;
}

.subcategory-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 45px;

    padding: 10px 18px;

    color: #666;

    border-bottom: 1px solid #eee;

    cursor: pointer;

    font-size: 13px;

    transition: .2s;
}

.subcategory-item:hover {
    background: #f8f8f8;
    color: #ff8500;
    padding-left: 23px;
}

.subcategory-item.active {
    background: #fff5e8;
    color: #ff8500;
    font-weight: bold;
}


/* =========================================================
   BANNER
========================================================= */

.main-banner {
    position: relative;
    height: 300px;
    min-height: 300px;
    overflow: hidden;
    background: #ffffff;
}

.main-banner > img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.banner-placeholder {
    height: 300px;

    display: flex;
    align-items: center;

    padding: 70px;

    background:
        linear-gradient(
            110deg,
            #f7f7f7 0%,
            #ffffff 55%,
            #ededed 100%
        );
}

.banner-placeholder > div {
    max-width: 520px;
}

.banner-placeholder span {
    display: inline-block;

    border-top: 4px solid #222;

    padding-top: 15px;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 1px;
}

.banner-placeholder h1 {
    margin: 15px 0;

    font-size: 44px;
    line-height: 1.1;

    color: #222;
}

.banner-placeholder p {
    color: #777;
    font-size: 17px;
    line-height: 1.6;
}

.banner-button {
    display: inline-block;

    margin-top: 15px;

    background: white;
    color: #222;

    border: 1px solid #ddd;

    padding: 15px 23px;

    font-size: 13px;
    font-weight: bold;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.banner-button:hover {
    background: #ff8500;
    color: white;
}


/* =========================================================
   BAŞLIKLAR
========================================================= */

.home-section-title {
    text-align: center;
    margin-bottom: 35px;
}

.home-section-title span,
.orange-label {
    color: #ff8500;

    font-size: 12px;
    font-weight: bold;

    letter-spacing: 1.5px;
}

.home-section-title h2,
.products-heading h2 {
    margin: 7px 0 0;
    font-size: 30px;
}


/* =========================================================
   ÖNE ÇIKAN KATEGORİLER
========================================================= */

.featured-categories {
    padding-top: 60px;
    padding-bottom: 60px;
}

.featured-category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.featured-category-card {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 20px;

    background: #f5f5f5;

    border-bottom: 4px solid transparent;

    font-weight: bold;

    cursor: pointer;

    transition: .2s;
}

.featured-category-card:hover {
    background: white;

    border-bottom-color: #ff8500;

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}


/* =========================================================
   ÜRÜNLER
========================================================= */

.products-section {
    padding: 60px 0 75px;
    background: #f7f7f7;
}

.products-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.product-filter-info {
    color: #777;
    font-size: 13px;
}

.products {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    background: white;

    border: 1px solid #eee;

    position: relative;

    transition: .25s;

    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.product-image-link {
    display: block;
    background: white;
}

.product-card-image {
    width: 100%;
    height: 245px;

    object-fit: contain;

    padding: 18px;
}

.no-product-image {
    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1f1f1;
    color: #999;
}

.product-card-body {
    padding: 18px;
    border-top: 1px solid #eee;
}

.product-category {
    color: #ff8500;

    font-size: 11px;
    font-weight: bold;

    text-transform: uppercase;
}

.product-card h3 {
    margin: 8px 0;
    font-size: 17px;
    min-height: 42px;
}

.product-card h3 a:hover {
    color: #ff8500;
}

.product-code {
    color: #999;
    font-size: 12px;
}

.product-description {
    color: #777;

    font-size: 13px;
    line-height: 1.6;

    min-height: 62px;
}

.product-price {
    margin: 15px 0;

    color: #222;

    font-size: 20px;
    font-weight: bold;
}

.product-card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.detail-button,
.offer-button {
    border: 0;

    padding: 11px 8px;

    text-align: center;

    font-size: 12px;
    font-weight: bold;
}

.detail-button {
    background: #ededed;
    color: #333;
}

.offer-button {
    background: #ff8500;
    color: white;
}

.detail-button:hover {
    background: #ddd;
}

.offer-button:hover {
    background: #e67500;
}


/* =========================================================
   HAKKIMIZDA
========================================================= */

.about-section {
    padding: 70px 0;
    background: white;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1.3fr;

    gap: 70px;

    align-items: center;
}

.about-grid h2 {
    font-size: 35px;
    margin: 8px 0;
}

#aboutText {
    color: #777;
    line-height: 1.9;
}


/* =========================================================
   İLETİŞİM
========================================================= */

.contact-section {
    background: #f4f4f4;
    padding: 65px 0;
}

.contact-box {
    background: white;

    max-width: 850px;

    margin: auto;

    padding: 30px;

    line-height: 1.9;

    box-shadow: 0 7px 25px rgba(0,0,0,.06);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #211d5d;
    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    gap: 60px;

    padding-top: 55px;
    padding-bottom: 55px;
}

.footer-logo {
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
}

.footer-grid h3 {
    font-size: 24px;
}

.footer-grid strong {
    display: block;
    margin-bottom: 18px;
}

.footer-grid a {
    display: block;

    color: #ccc;

    margin: 9px 0;

    font-size: 13px;
}

.footer-grid a:hover {
    color: #ff8500;
}

#footerContactShort {
    color: #ccc;

    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;

    padding: 18px;

    border-top: 1px solid rgba(255,255,255,.15);

    color: #aaa;

    font-size: 12px;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-button {
    position: fixed;

    left: 25px;
    bottom: 25px;

    z-index: 200;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: white;

    font-size: 25px;

    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    display: none;

    position: fixed;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    z-index: 1000;

    overflow: auto;

    background: rgba(0,0,0,.65);

    padding: 30px 0;
}

.modal-box {
    position: relative;

    width: 92%;
    max-width: 760px;

    margin: 20px auto;

    background: white;

    padding: 30px;

    border-radius: 5px;

    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.offer-modal-box {
    max-width: 1050px;
}

.modal-close {
    position: absolute;

    top: 12px;
    right: 15px;

    border: 0;
    background: transparent;

    font-size: 30px;
}


/* =========================================================
   FORM
========================================================= */

label {
    display: block;

    margin-top: 14px;
    margin-bottom: 5px;

    font-weight: bold;
}

input,
textarea,
select {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #ccc;

    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #ff8500;
}


/* =========================================================
   GENEL BUTONLAR
========================================================= */

.primary-button,
.dark-button,
.secondary-button {
    border: 0;

    padding: 12px 18px;

    font-weight: bold;
}

.primary-button {
    background: #ff8500;
    color: white;
}

.dark-button {
    background: #222;
    color: white;
}

.secondary-button {
    background: #777;
    color: white;
}

.full-button {
    width: 100%;
    margin-top: 20px;
}


/* =========================================================
   SEPET
========================================================= */

.cart-item {
    display: grid;

    grid-template-columns:
        1fr 80px 130px 45px;

    gap: 10px;

    align-items: center;

    padding: 14px 0;

    border-bottom: 1px solid #eee;
}

.cart-delete {
    border: 0;

    background: #d63031;
    color: white;

    padding: 9px;
}

.cart-total {
    margin-top: 20px;

    text-align: right;

    font-size: 22px;
    font-weight: bold;
}


/* =========================================================
   TEKLİF BELGESİ
========================================================= */

.offer-document {
    background: white;
    padding: 30px;
}

.offer-header {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding-bottom: 20px;

    border-bottom: 3px solid #222;
}

.offer-logo {
    max-width: 220px;
    max-height: 90px;

    object-fit: contain;
}

.offer-company-info {
    font-size: 13px;
    line-height: 1.7;
}

.offer-meta {
    text-align: right;
    line-height: 1.7;
}

.offer-table {
    width: 100%;

    margin-top: 25px;

    border-collapse: collapse;
}

.offer-table th,
.offer-table td {
    border: 1px solid #ccc;
    padding: 10px;
}

.offer-table th {
    background: #eee;
}

.offer-total {
    margin-top: 20px;

    text-align: right;

    font-size: 22px;
    font-weight: bold;
}


/* =========================================================
   ÜRÜN DETAY SAYFASIYLA UYUMLULUK
========================================================= */

.container {
    width: 92%;
    max-width: 1320px;
    margin: auto;
}

.main-header {
    background: #211d5d;
    color: white;
}

.header-inner {
    width: 92%;
    max-width: 1320px;

    margin: auto;

    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.header-logo {
    max-width: 220px;
    max-height: 70px;
    object-fit: contain;
}

.company-name {
    font-size: 21px;
    font-weight: bold;
}

.company-sub {
    color: #ccc;
    font-size: 12px;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.cart-top-button,
.back-button,
.admin-button {
    border: 0;

    padding: 11px 15px;

    background: #ff8500;
    color: white;

    font-weight: bold;
}

.breadcrumb {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    padding: 25px 0;

    color: #777;

    font-size: 13px;
}

.product-detail {
    background: white;

    border: 1px solid #eee;

    padding: 30px;
}

.product-detail-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.product-detail-image {
    width: 100%;
    height: 460px;

    object-fit: contain;
}

.product-detail-no-image {
    height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f3f3;
}

.product-detail-info h1 {
    font-size: 34px;
}

.detail-category {
    color: #ff8500;
    font-weight: bold;
    font-size: 12px;
}

.detail-code {
    color: #999;
    margin-bottom: 20px;
}

.detail-description {
    color: #666;
    line-height: 1.8;
}

.detail-price {
    margin: 25px 0;

    font-size: 30px;
    font-weight: bold;
}

.detail-offer-button {
    border: 0;

    background: #ff8500;
    color: white;

    padding: 14px 25px;

    font-weight: bold;
}

.seo-content,
.related-section {
    margin-top: 25px;

    padding: 30px;

    background: white;

    border: 1px solid #eee;
}

.seo-content-text {
    line-height: 1.9;
    color: #666;
}


/* =========================================================
   ADMIN SAYFASIYLA UYUMLULUK
========================================================= */

.admin-page {
    background: #f3f3f3;
}

.admin-container {
    width: 92%;
    max-width: 1100px;

    margin: 35px auto 70px;
}

.admin-title h1 {
    margin-bottom: 5px;
}

.admin-warning {
    background: #fff3cd;

    border: 1px solid #ffe69c;

    padding: 15px;

    margin: 20px 0;
}

.admin-card {
    background: white;

    padding: 25px;

    margin-bottom: 25px;

    border: 1px solid #e5e5e5;
}

.admin-card-title {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    padding-bottom: 15px;

    margin-bottom: 20px;

    border-bottom: 1px solid #eee;
}

.section-label {
    color: #ff8500;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 1px;
}

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

.form-group {
    margin-bottom: 17px;
}

.field-help {
    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 11px;
}

.large-textarea {
    min-height: 190px;
}

.inline-form {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 10px;
}

.logo-preview img {
    max-width: 230px;
    max-height: 100px;
    object-fit: contain;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    object-fit: contain;
}

.seo-admin-box {
    margin-top: 25px;

    padding: 20px;

    background: #fff7ed;

    border-left: 5px solid #ff8500;
}

.seo-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.seo-auto-button {
    border: 0;

    background: #ff8500;
    color: white;

    padding: 10px 15px;

    font-weight: bold;
}

.slug-wrapper {
    display: flex;

    border: 1px solid #ccc;

    background: white;
}

.slug-wrapper span {
    padding: 11px;

    background: #eee;

    white-space: nowrap;
}

.slug-wrapper input {
    border: 0;
}

.google-preview {
    margin-top: 20px;

    padding: 17px;

    background: white;

    border: 1px solid #ddd;
}

.google-preview-label {
    font-size: 11px;
    color: #777;
}

.google-title {
    margin-top: 10px;

    color: #1a0dab;

    font-size: 20px;
}

.google-url {
    color: #188038;
    font-size: 12px;
}

.google-description {
    margin-top: 5px;

    color: #555;

    font-size: 13px;
}

.category-manage-row {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 11px;

    margin-top: 7px;

    border: 1px solid #eee;
}

.admin-product-row {
    display: grid;

    grid-template-columns: 75px 1fr auto;

    gap: 15px;

    align-items: center;

    padding: 12px;

    margin-bottom: 9px;

    border: 1px solid #eee;
}

.admin-product-image {
    width: 70px;
    height: 65px;
    object-fit: contain;
}

.admin-product-placeholder {
    width: 70px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eee;

    font-size: 10px;
}

.admin-product-actions {
    display: flex;
    gap: 6px;
}

.admin-edit-button,
.admin-view-button,
.admin-delete-button {
    border: 0;

    padding: 8px 11px;

    font-size: 12px;
}

.admin-edit-button {
    background: #ffc107;
}

.admin-view-button {
    background: #eee;
}

.admin-delete-button {
    background: #dc3545;
    color: white;
}


/* =========================================================
   TELEFON / TABLET
========================================================= */

@media (max-width: 1000px) {

    .header-main-row {
        grid-template-columns: 220px 1fr;
    }

    .header-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-bottom: 15px;
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

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


@media (max-width: 800px) {

    .top-bar-inner {
        height: auto;
        padding: 10px 0;
    }

    .header-main-row {
        display: block;
        padding: 20px 0;
    }

    .site-logo-area {
        margin-bottom: 20px;
    }

    .header-search {
        grid-template-columns: 150px 1fr 50px;
    }

    .header-actions {
        margin-top: 15px;
    }

    .navigation-inner {
        display: block;
    }

    .all-categories-title {
        width: 100%;
    }

    .main-menu {
        overflow-x: auto;
    }

    .main-menu a {
        white-space: nowrap;
    }

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

    .category-sidebar {
        display: none;
    }

    .category-sidebar.mobile-open {
        display: block;
    }

    .subcategory-flyout {
        position: static;
        width: 100%;
        min-height: auto;
        box-shadow: none;
    }

    .main-banner,
    .main-banner > img,
    .banner-placeholder {
        height: 390px;
        min-height: 390px;
    }

    .banner-placeholder {
        padding: 35px;
    }

    .banner-placeholder h1 {
        font-size: 34px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

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

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


@media (max-width: 520px) {

    .top-bar-inner {
        display: block;
        line-height: 1.8;
    }

    .header-search {
        display: block;
        height: auto;
        border: 0;
    }

    .header-search select,
    .header-search input,
    .header-search button {
        width: 100%;
        height: 45px;
        border: 1px solid #ddd;
    }

    .header-search button {
        border: 0;
    }

    .main-menu {
        display: none;
    }

    .banner-placeholder h1 {
        font-size: 28px;
    }

    .featured-category-grid,
    .products {
        grid-template-columns: 1fr;
    }

    .products-heading {
        display: block;
    }

    .product-filter-info {
        margin-top: 10px;
    }

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

    .cart-item {
        grid-template-columns: 1fr;
    }

    .admin-product-row {
        grid-template-columns: 65px 1fr;
    }

    .admin-product-actions {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   YAZDIRMA
========================================================= */

@media print {

    body * {
        visibility: hidden;
    }

    #offerDocument,
    #offerDocument * {
        visibility: visible;
    }

    #offerDocument {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}

/* =========================================================
   BANNER - TEK SON AYAR
========================================================= */

.hero-layout {
    min-height: 300px;
}

.main-banner,
#bannerSlider,
#bannerSlides,
.banner-slide,
.banner-slide > div {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    overflow: hidden !important;
}

#bannerSlider,
#bannerSlides,
.banner-slide {
    position: relative !important;
}

.banner-slide {
    position: absolute !important;
    inset: 0 !important;
}

.banner-slide > div {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
}

#bannerSlider img,
#bannerSlides img,
.banner-slide img,
.banner-image {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* TABLET */

@media (max-width: 900px) {

    .hero-layout {
        min-height: 240px;
    }

    .main-banner,
    #bannerSlider,
    #bannerSlides,
    .banner-slide,
    .banner-slide > div {
        height: 240px !important;
        min-height: 240px !important;
        max-height: 240px !important;
    }
}


/* TELEFON */

@media (max-width: 600px) {

    .hero-layout {
        min-height: 180px;
    }

    .main-banner,
    #bannerSlider,
    #bannerSlides,
    .banner-slide,
    .banner-slide > div {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
}
/* =========================================================
   BANNER KESİN SON AYAR
========================================================= */

.hero-layout {
    min-height: 240px !important;
}

.main-banner,
#bannerSlider,
#bannerSlides,
.site-banner-slide {
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.site-banner-slide {
    position: absolute !important;
    inset: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-banner-slide img,
#bannerSlider img,
#bannerSlides img {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
}

/* =========================================================
   ANTISTATIK PREMIUM ANA SAYFA - 2026-10-07
========================================================= */
:root{--brand-orange:#ff8500;--brand-dark:#171717;--brand-black:#101010;--line:#e7e7e7;--soft:#f7f7f7}
body{background:#fff;color:#202020}
.site-width{width:min(94%,1340px);max-width:1340px}
.top-bar{background:linear-gradient(90deg,#242424,#171717);color:#f2f2f2;border:0;font-size:12px}
.top-bar-inner{height:38px}
.top-bar strong{color:#fff}
.main-site-header{background:#fff;color:#171717;border-bottom:1px solid #ededed}
.header-main-row{min-height:108px;grid-template-columns:260px minmax(420px,1fr) 220px;gap:34px}
.site-logo{max-width:220px;max-height:78px}
.text-logo strong{color:#151515}.text-logo small{color:#777}
.header-search{height:50px;border:1px solid var(--brand-orange);border-radius:5px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.header-search select{color:#222;background:#fff}.header-search input{background:#fff}.header-search button{background:var(--brand-orange)}
.account-link{color:#181818}.header-cart{color:#181818}.header-cart-count{background:var(--brand-orange)}
.main-navigation{background:linear-gradient(90deg,#171717,#222);color:#fff;border-bottom:2px solid var(--brand-orange)}
.navigation-inner{grid-template-columns:320px 1fr}
.all-categories-title{height:56px;border-left:0;border:1px solid var(--brand-orange);border-bottom:0;background:#202020;border-radius:6px 6px 0 0;font-weight:700}
.hamburger{color:var(--brand-orange)}
.main-menu{border-bottom:0}.main-menu a{height:56px;padding:0 28px}.main-menu a:hover,.main-menu a.active{color:var(--brand-orange)}
.hero-layout{width:100%;max-width:none;min-height:330px!important;display:grid;grid-template-columns:minmax(250px,320px) 1fr;background:#111}
.hero-layout>.category-sidebar{margin-left:max(3%,calc((100vw - 1340px)/2));width:320px}
.category-sidebar{background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.18);border:0;z-index:30}
.main-category-item{min-height:49px;color:#444;border-bottom:1px solid #ececec}.main-category-item:hover{background:#fff7ee;color:var(--brand-orange)}
.subcategory-flyout{left:max(320px,calc(max(3%,(100vw - 1340px)/2) + 320px));top:0;width:335px;min-height:300px;box-shadow:0 15px 35px rgba(0,0,0,.22);z-index:50}
.subcategory-header{background:#fff;border-bottom:2px solid var(--brand-orange)}
.subcategory-item:hover{background:#fff7ee}
.main-banner,#bannerSlider,#bannerSlides,.site-banner-slide,.banner-slide,.banner-slide>div{height:330px!important;min-height:330px!important;max-height:330px!important;background:#171717!important}
.site-banner-slide img,#bannerSlider img,#bannerSlides img,.banner-slide img,.banner-image{object-fit:cover!important;object-position:center!important;padding:0!important}
.products-section{padding:48px 0 72px;background:linear-gradient(135deg,#fff 0%,#f7f7f7 100%)}
.products-heading{margin-bottom:24px}.orange-label{color:var(--brand-orange);letter-spacing:2px}.products-heading h2{font-size:34px;color:#171717}
.products{gap:24px}.product-card{border:1px solid #e7e7e7;border-radius:4px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.product-card:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(0,0,0,.11);border-color:#ddd}
.product-card-image{height:260px;padding:20px}.product-card-body{padding:18px 20px 21px}.product-category{color:var(--brand-orange)}
.product-card h3{color:#171717}.product-price{color:#111}.offer-button{background:var(--brand-orange)}
.about-section{background:#fff}.contact-section{background:#f5f5f5}.site-footer{background:#171717}
@media(max-width:1000px){.header-main-row{grid-template-columns:200px 1fr;gap:20px}.header-actions{grid-column:1/-1;justify-content:flex-end}.hero-layout{grid-template-columns:260px 1fr}.hero-layout>.category-sidebar{width:260px;margin-left:0}.subcategory-flyout{left:260px}.navigation-inner{grid-template-columns:260px 1fr}}
@media(max-width:760px){.header-main-row{display:flex;flex-wrap:wrap;padding:15px 0}.site-logo-area{width:55%}.header-actions{width:40%;margin-left:auto}.header-search{order:3;width:100%}.navigation-inner{display:block}.all-categories-title{width:100%;border-radius:0}.hero-layout{display:block;min-height:220px!important}.category-sidebar{display:none}.category-sidebar.mobile-open{display:block!important;position:absolute!important;left:0!important;top:0!important;width:280px!important;margin:0!important}.subcategory-flyout{left:280px!important}.main-banner,#bannerSlider,#bannerSlides,.site-banner-slide,.banner-slide,.banner-slide>div{height:220px!important;min-height:220px!important;max-height:220px!important}.products{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:520px){.top-bar-inner{height:auto;padding:8px 0;display:flex;gap:10px}.site-logo-area{width:60%}.header-actions{width:35%;gap:12px}.header-search{display:grid;grid-template-columns:1fr 48px}.header-search select{display:none}.header-search input,.header-search button{height:46px}.products{grid-template-columns:1fr!important}.product-card-image{height:240px}}

/* =========================================================
   ANA SAYFA BANNERLI / BANNERSIZ MODU - RESTORE 2026-10-07
========================================================= */
body.home-no-banner #homeCategoriesSection { display:none !important; }
body.home-no-banner #homeHeroSection {
    display:block !important;
    position:relative !important;
    height:0 !important;
    min-height:0 !important;
    overflow:visible !important;
    background:transparent !important;
    z-index:1000;
}
body.home-no-banner #bannerSlider { display:none !important; }
body.home-no-banner #categorySidebar {
    display:none !important;
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:320px !important;
    z-index:1002 !important;
    background:#fff !important;
    box-shadow:0 10px 28px rgba(0,0,0,.18) !important;
    margin-left:0 !important;
}
body.home-no-banner #categorySidebar.mobile-open { display:block !important; }
body.home-no-banner #subcategoryFlyout {
    position:absolute !important;
    left:320px !important;
    top:0 !important;
    z-index:1003 !important;
}
body.home-no-banner #urunler { padding-top:42px !important; }
body.home-no-banner #productList {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:22px !important;
}
@media (max-width:1000px){
    body.home-no-banner #productList{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
    body.home-no-banner #categorySidebar{width:280px !important;}
    body.home-no-banner #subcategoryFlyout{left:280px !important;}
}
@media (max-width:600px){
    body.home-no-banner #productList{grid-template-columns:1fr !important;}
}

/* BANNERSIZ MOD: SABİT PREMIUM ATEX HERO */
.premium-no-banner-hero{display:none}
body.home-no-banner #homeHeroSection{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    height:360px!important;
    min-height:360px!important;
    overflow:visible!important;
    background:#111!important;
    z-index:20;
}
body.home-no-banner #premiumNoBannerHero{
    display:block!important;
    position:absolute;
    inset:0;
    height:360px;
    overflow:hidden;
    background-image:linear-gradient(90deg,rgba(10,10,10,.98) 0%,rgba(10,10,10,.92) 25%,rgba(10,10,10,.28) 52%,rgba(10,10,10,.04) 100%),url('../images/atex-premium-hero.jpg');
    background-size:cover;
    background-position:center;
}
body.home-no-banner .premium-hero-copy{
    width:92%;max-width:1320px;margin:0 auto;padding-top:48px;color:#fff;
}
body.home-no-banner .premium-hero-copy span{font-size:13px;letter-spacing:5px;color:#ddd}
body.home-no-banner .premium-hero-copy h1{margin:14px 0 10px;font-size:43px;line-height:1.03;letter-spacing:1px;color:#fff}
body.home-no-banner .premium-hero-copy h1 em{font-style:normal;color:#ff8500}
body.home-no-banner .premium-hero-copy p{font-size:17px;color:#eee;margin:0}
body.home-no-banner #categorySidebar{z-index:1002!important}
body.home-no-banner #subcategoryFlyout{z-index:1003!important}
body.home-no-banner #urunler{padding-top:48px!important}
@media(max-width:760px){
 body.home-no-banner #homeHeroSection,body.home-no-banner #premiumNoBannerHero{height:270px!important;min-height:270px!important}
 body.home-no-banner .premium-hero-copy{padding-top:38px}
 body.home-no-banner .premium-hero-copy h1{font-size:32px}
}


/* =========================================================
   FINAL HEADER - REFERANS GORSEL 2026-10-07
========================================================= */
@media (min-width: 761px) {
  .top-bar { background:#171b1e !important; color:#fff !important; }
  .top-bar-inner { height:56px !important; font-size:15px !important; align-items:center !important; }
  .top-bar-inner > div:first-child { font-size:15px !important; font-weight:600 !important; }
  #topPhone { display:inline-block !important; font-size:27px !important; line-height:1 !important; font-weight:900 !important; margin-left:10px !important; color:#fff !important; letter-spacing:.3px !important; }
  .main-site-header { background:#fff !important; }
  .header-main-row { min-height:132px !important; grid-template-columns:380px minmax(420px,1fr) 220px !important; gap:32px !important; }
  .site-logo-area { min-height:118px !important; display:flex !important; align-items:center !important; }
  .site-logo { width:auto !important; height:auto !important; max-width:360px !important; max-height:116px !important; object-fit:contain !important; }
  .text-logo strong { font-size:36px !important; }
  .header-search { height:56px !important; }
}
@media (max-width: 760px) {
  .top-bar { background:#171b1e !important; color:#fff !important; }
  #topPhone { font-size:18px !important; font-weight:900 !important; color:#fff !important; }
  .site-logo { max-width:260px !important; max-height:92px !important; }
}

/* =========================================================
   PREMIUM ILETISIM + FOOTER 2026-10-07
========================================================= */
.contact-section{
  background:#f5f6f7!important;
  padding:72px 0 78px!important;
  border-top:1px solid #ececec;
}
.contact-section .home-section-title{text-align:center;margin-bottom:30px}
.contact-section .home-section-title span{color:#ff7900!important;font-weight:800;letter-spacing:3px;font-size:12px}
.contact-section .home-section-title h2{font-size:34px!important;margin:6px 0 0!important;color:#111!important}
.contact-box{
  max-width:980px!important;margin:0 auto!important;padding:34px 38px!important;
  border-radius:10px!important;border:1px solid #e9e9e9!important;
  border-left:5px solid #ff7900!important;
  box-shadow:0 14px 38px rgba(0,0,0,.08)!important;
  color:#333!important;font-size:15px!important;line-height:2!important;
}
.contact-box strong{display:block;color:#111;font-size:18px;margin-bottom:5px}
.site-footer{background:#111417!important;color:#fff!important;border-top:4px solid #ff7900!important}
.footer-grid{
  grid-template-columns:1.25fr .75fr 1.15fr!important;
  gap:75px!important;padding-top:55px!important;padding-bottom:50px!important;align-items:start!important;
}
.footer-logo{max-width:290px!important;max-height:105px!important;background:#fff;padding:9px 14px;border-radius:6px;object-fit:contain!important}
.footer-grid h3{font-size:20px!important;line-height:1.35!important;color:#fff!important;margin:20px 0 0!important;max-width:390px}
.footer-grid strong{color:#ff7900!important;font-size:14px!important;letter-spacing:.6px!important;margin-bottom:20px!important}
.footer-grid a{color:#ddd!important;font-size:14px!important;margin:11px 0!important;transition:.2s}
.footer-grid a:hover{color:#ff7900!important;padding-left:4px}
#footerContactShort{color:#d5d5d5!important;font-size:14px!important;line-height:2!important}
#footerContactShort strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.5!important;margin-bottom:9px!important}
.footer-bottom{background:#0b0d0f!important;border-top:1px solid rgba(255,255,255,.1)!important;color:#999!important;padding:19px!important;font-size:12px!important}
@media(max-width:900px){
 .footer-grid{grid-template-columns:1fr!important;gap:35px!important}
 .footer-logo{max-width:240px!important}
 .contact-box{margin:0 18px!important;padding:25px!important}
}

/* 2026-10-08: Sade alt kategori menüsü ve gold hover */
.subcategory-header { display: none !important; }
.main-category-item:hover,
.main-category-item.active,
.subcategory-item:hover,
.subcategory-item.active {
    background: #b59b0a !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.main-category-item:hover .category-arrow,
.main-category-item.active .category-arrow,
.subcategory-item:hover span,
.subcategory-item.active span { color: #fff !important; }
.subcategory-item { font-size: 14px; }

/* 2026-10-08: Gold kategori üzerinde yüksek kontrastlı beyaz metin */
.category-sidebar .main-category-item:hover,
.category-sidebar .main-category-item.active,
.category-sidebar .main-category-item:hover > span,
.category-sidebar .main-category-item.active > span,
.category-sidebar .main-category-item:hover .category-arrow,
.category-sidebar .main-category-item.active .category-arrow,
#subcategoryList .subcategory-item:hover,
#subcategoryList .subcategory-item.active,
#subcategoryList .subcategory-item:hover > span,
#subcategoryList .subcategory-item.active > span {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.category-sidebar .main-category-item:hover,
.category-sidebar .main-category-item.active,
#subcategoryList .subcategory-item:hover,
#subcategoryList .subcategory-item.active {
    background-color: #b59b0a !important;
}

/* 2026-10-08: Ana kategori yazıları her durumda kalın */
.category-sidebar .main-category-item,
.category-sidebar .main-category-item > span {
    font-weight: 800 !important;
    font-size: 15px !important;
}


/* 2026-10-08 - Ürün görselleri için standart kare alan */
#productList .product-image-link,
.products .product-image-link {
    display:flex;
    width:100%;
    aspect-ratio:1 / 1;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#fff;
}
#productList .product-card-image,
.products .product-card-image {
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    padding:14px !important;
    margin:0 auto;
    object-fit:contain !important;
    object-position:center center !important;
    box-sizing:border-box;
}
#productList .no-product-image,
.products .no-product-image {
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
}
.product-detail-image {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:contain;
    object-position:center;
    background:#fff;
}
