/* Fonts */
@font-face {
    font-family: 'Archivo Black';
    src: url('../fonts/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Archivo', sans-serif;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
}

/* ============================================================
   CSC INFO SECTION (Tabs altı — görsel + metin)
   ============================================================ */

.csc-info-section {
    margin-top: 48px;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.csc-info-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: #f0f2ed;
    border-radius: 10px;
    overflow: hidden;
}

.csc-info-image {
    flex: 0 0 45%;
    max-width: 45%;
    min-height: 400px;
}

.csc-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.csc-info-content {
    flex: 1;
    padding: 48px 56px;
    font-family: 'Archivo', sans-serif;
}

/* OPC inner container override */
.csc-info-content .opc-Container {
    min-height: unset !important;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    font-family: 'Archivo', sans-serif;
}

/* OPC text-align override */
.csc-info-content p,
.csc-info-content span {
    text-align: left !important;
}

/* H2 başlık */
.csc-info-content h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
    margin-top: 0;
}

/* Paragraflar — site body ile aynı boyut */
.csc-info-content p {
    font-family: 'Archivo', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Linkler — genel */
.csc-info-content a {
    color: #759632;
    text-decoration: none;
    font-weight: 600;
}

.csc-info-content a:hover {
    color: #5a7226;
    text-decoration: underline;
}

/* "Entdecke unser Sortiment:" alt başlık */
.csc-info-content p>strong:only-child {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    display: block;
    margin-top: 8px;
}

/* Kategori listesi */
.csc-info-content .csc-category-links {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 20px;
}

.csc-info-content .csc-category-links li {
    font-family: 'Archivo', sans-serif;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    padding: 3px 0 3px 1.9em;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.csc-info-content .csc-category-links .cat-icon {
    position: absolute;
    left: 0;
    top: 0.1em;
}

.csc-info-content .csc-category-links a {
    font-weight: 700;
    color: #759632;
    text-decoration: none;
}

.csc-info-content .csc-category-links a strong {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    color: inherit;
}

.csc-info-content .csc-category-links a:hover {
    color: #5a7226;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .csc-info-inner {
        flex-direction: column;
        gap: 32px;
    }

    .csc-info-image {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: 280px;
    }

    .csc-info-content {
        padding: 32px 24px;
    }
}

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

#footer {
    background-color: #f0f2ed;
    color: #444;
    padding: 48px 0 0;
    margin-top: 60px;
    font-size: 0.9rem;
    font-family: 'Archivo Black', sans-serif;
    border-top: 1px solid #dde2d5;
}

#footer *:not(.fab):not(.fas):not(.far) {
    font-family: 'Archivo Black', sans-serif;
}

/* Footer Box Kolonu (Admin'den gelen linkler) */
#footer-boxes {
    padding-bottom: 8px;
}

#footer-boxes .box-title,
#footer-boxes h3,
#footer-boxes h4,
#footer-boxes strong {
    color: #1a1a1a;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: block;
    letter-spacing: 0.02em;
}

#footer-boxes ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

#footer-boxes ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

#footer-boxes a {
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

#footer-boxes a:hover {
    color: #759632;
}

/* Divider */
.footer-divider {
    border: 0;
    border-top: 1px solid #dde2d5;
    margin: 8px 0 32px;
}

/* --- Bottom Bar: Sosyal Medya + Güven Görselleri --- */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 0;
}

/* Sosyal Medya */
.footer-social-wrap {
    flex-shrink: 0;
}

.footer-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-social-list li {
    margin: 0;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: #e3e8d8;
    color: #759632;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, transform 0.15s;
    border: 1px solid #ced6bc;
}

.footer-social-btn:hover {
    background-color: #759632;
    color: #fff;
    border-color: #759632;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Güven Görselleri */
.footer-trust-images {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.footer-trust-images a {
    display: inline-flex;
    align-items: center;
}

.footer-trust-images img {
    max-height: 34px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
    filter: grayscale(20%);
}

.footer-trust-images img:hover {
    opacity: 1;
    filter: none;
}

/* KDV Dipnotu */
.footnote-vat {
    padding: 16px 0 12px;
    color: #888;
    font-size: 0.8rem;
    border-top: 1px solid #dde2d5;
}

.footnote-vat a {
    color: #759632;
    text-decoration: underline;
}

.footnote-vat a:hover {
    color: #5a7226;
}

/* Copyright Bar */
#copyright {
    background-color: #3a3d35;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    padding: 13px 0;
    margin-top: 0;
}

#copyright .row {
    align-items: center;
}

#copyright span {
    color: rgba(255, 255, 255, 0.55);
}

#system-credits {
    color: rgba(255, 255, 255, 0.35);
}

#system-credits a {
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none;
}

#system-credits a:hover {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Newsletter (varsa) */
.footer-newsletter-wrap {
    padding-bottom: 24px;
}

.newsletter-footer-heading {
    color: #1a1a1a;
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 8px;
}

.footer-newsletter-info {
    color: #777;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 767px) {
    #footer {
        padding-top: 32px;
        margin-top: 40px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-trust-images {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-trust-images img {
        max-height: 28px;
    }
}

/* Navbar Dropdown Hover */
@media (min-width: 992px) {
    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .dropdown-menu {
        margin-top: 0;
    }
}

/* --- Homepage Custom Tabs Redesign --- */
.custom-products-tabs {
    margin-top: 15px !important;
}

.custom-products-tabs .custom-tabs-list {
    border: none !important;
    gap: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    background: transparent !important;
    /* No full-width black background */
}

/* Default: Stacked for mobile */
.custom-products-tabs .custom-tabs-list .nav-item {
    text-align: center;
    flex: 0 0 100% !important;
    border-bottom: 1px solid #fff;
}


.custom-products-tabs .nav-link {
    border: none !important;
    background: #000 !important;
    color: #fff !important;
    font-family: 'Archivo Black', sans-serif !important;
    font-size: 2rem !important;
    /* Slightly larger as per reference */
    font-weight: normal !important;
    /* Archivo Black is already heavy */
    padding: 6px 50px !important;
    border-radius: 0 !important;
    transition: background 0.3s ease;
    display: block;
    width: 100%;
    position: relative;
    border-radius: 18px !important;
}

.custom-products-tabs .nav-link:hover {
    background: #333 !important;
    color: #fff !important;
}

.custom-products-tabs .nav-link.active {
    background: #718F2C !important;
    color: #fff !important;
}

/* Remove old indicator bar */
.custom-products-tabs .nav-link.active::after {
    display: none !important;
}

/* Tab Content Spacing */
.custom-products-tabs .tab-content {
    margin: 0 !important;
    background: transparent !important;
}

@media (min-width: 992px) {
    .custom-products-tabs .custom-tabs-list {
        justify-content: center !important;
        padding: 20px 0 !important;
    }

    .custom-products-tabs .custom-tabs-list .nav-item {
        flex: 0 0 auto !important;
        margin: 0 10px !important;
        border: none !important;
    }
}

/* --- New CSS Grid System --- */
.cult-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 37px;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .cult-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .cult-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cult-product-item {
    display: flex;
}

.productbox {
    /* transition removed to prevent any animation growth */
    border: 2px solid #7b7b7b !important;
    /* Specific grey border requested */
    border-radius: 0 !important;
    background: #fff;
    padding: 0 !important;
    /* Remove overall padding to allow image full-width */
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: visible !important;
    transform: none !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    /* Force no scaling */
}

.productbox * {
    transition: none !important;
    /* Hard reset for all children animations */
}

/* Re-enable ONLY the image hover fade */
.productbox-image .second-wrapper {
    transition: opacity 0.4s ease-in-out !important;
}

/* Quick Actions (Wishlist/Compare) */
.productbox-quick-actions {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 20 !important;
    display: flex !important;
    gap: 10px;
}

.productbox-hover:hover {
    /* Kill all lingering hover effects from JTL NOVA */
    box-shadow: none !important;
    border-color: #000 !important;
    /* Keep original border color */
    outline: none !important;
    z-index: 5;
    transition: none !important;
}

.productbox-hover:hover::before,
.productbox-hover:hover::after,
.productbox-hover:hover .productbox-inner::before,
.productbox-hover:hover .productbox-inner::after {
    display: none !important;
    content: none !important;
    transition: none !important;
    opacity: 0 !important;
}

.productbox-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    /* Title first, then price pushes down */
    overflow: visible !important;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Main outer image area inside our grid box */
.productbox-image {
    margin: 0 !important;
    /* Force no margins to prevent gaps */
    padding: 0 !important;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 100% !important;
    background: #f8f8f8;
    /* Very light background for image area like reference */
    position: relative;
    overflow: visible !important;
    box-sizing: border-box;
}

/* Fix nested .productbox-image in JTL NOVA item_box.tpl */
.productbox-image .productbox-image {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
}

.productbox-inner .productbox-image .inner {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.productbox-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

/* Hover logic: Second image fades in ON TOP of the first one */
.productbox-image .first-wrapper {
    opacity: 1;
    z-index: 1;
}

.productbox-image .second-wrapper {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease-in-out;
    background: #fff;
}

.productbox:hover .second-wrapper {
    opacity: 1;
}

/* Ribbons (Sale, New, etc.) Refinement */
.ribbon::before,
.badge::before {
    display: none !important;
}

.productbox-image .ribbon,
.productbox-image .badge,
.ribbon {
    z-index: 10 !important;
    top: 13px !important;
    left: -1px !important;
    transition: none !important;
    transform: none !important;
    border-radius: 0 8px 8px 0 !important;
    border-left: 1px solid #000;
}

.productbox:hover .ribbon,
.productbox:hover .badge {
    top: 13px !important;
    left: -1px !important;
    transform: none !important;
}

.productbox-title {
    margin-bottom: 12px;
    min-height: 2.8em;
    flex: 0 0 auto;
    text-align: center;
    padding: 0;
}

.productbox-title a {
    font-family: 'Archivo Black', sans-serif !important;
    font-weight: normal !important;
    font-size: 1.2rem !important;
    color: #000 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: block;
    padding: 15px !important;
    /* Specific padding as requested */
}

.productbox-price {
    color: #FFA500 !important;
    /* Bright Orange like Visual 1 */
    font-size: 1.4rem !important;
    /* Large impact like Visual 1 */
    font-family: 'Archivo Black', sans-serif !important;
    font-weight: normal !important;
    margin: 5px 0 2px 0;
    text-align: center;
}

.productbox .price_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: auto;
}

.productbox .old-price {
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    margin-top: 5px;
}

.productbox .old-price .value,
.productbox .old-price del {
    text-decoration: line-through;
    color: #888;
}

.productbox .vat_info,
.productbox .shipping_info {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 3px;
}

.productbox .base-price {
    font-size: 0.8rem;
    color: #777;
    margin-top: 5px;
}

.productbox-price-wrapper {
    margin-top: auto;
    flex: 0 0 auto;
}

#product-list .product-wrapper:not(:last-child) {
    margin-bottom: 0;
}

#product-list .product-wrapper {
    padding: 6px;
}

#product-list .productbox-title a {
    font-size: 0.9rem !important;
}

#product-list .productbox-title {
    margin-bottom: 4px;
    min-height: unset;
}

#product-list .productbox-title a.text-clamp-2 {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
    min-height: unset;
}

#product-list .price_wrapper,
#product-list .productbox-price-wrapper {
    margin-top: 4px !important;
}

#product-list .productbox-inner .row .col-12:last-child {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

#product-list .productbox-price {
    font-size: 1.1rem !important;
    margin: 2px 0 !important;
}


/* --- Header Redesign --- */

:root {
    --cult-beige: #cbd3b8;
    --cult-green: #759632;
    --cult-orange: #ff9900;
}

/* Top Bar */
.top-bar-beige {
    background-color: var(--cult-beige);
    color: #444;
    font-size: 0.8rem;
    font-weight: 700;
}

.top-bar-item {
    display: flex;
    align-items: center;
    color: #333;
}

/* Opening Hours Badge (Floating) */
.opening-badge {
    position: absolute;
    top: 0;
    right: 16px;
    background-color: var(--cult-green);
    color: #fff;
    padding: 15px 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 1035;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 355px;
}

.opening-badge--closed {
    background-color: #6c757d;
}

.badge-text {
    line-height: 1.2;
    font-size: 0.9rem;
    margin-left: 12px;
}

/* Main Header */
.main-header-cult {
    background: #fff;
    position: relative;
    z-index: 3000 !important;
    overflow: visible !important;
}

/* Pill Search Bar */
.search-pill-wrapper {
    max-width: 500px;
    width: 100%;
}

.search-pill {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important;
    overflow: hidden;
    padding: 0 10px 0 0 !important;
    transition: box-shadow 0.2s;
    height: 41px;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 100%;
}

/* Fix JTL/Twitter Typeahead width */
.search-pill .twitter-typeahead {
    flex: 1 1 auto !important;
    display: flex !important;
    width: 100% !important;
}

.search-pill:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(117, 150, 50, 0.25);
    border-color: var(--cult-green);
}

.search-pill .input-group-prepend .input-group-text {
    border: none !important;
    padding-left: 18px;
    padding-right: 5px;
    background: transparent !important;
}

.search-pill .form-control {
    border: none !important;
    box-shadow: none !important;
    font-size: 0.95rem;
    padding-left: 5px !important;
    height: 100%;
    background: transparent !important;
    flex: 1 1 auto !important;
    width: 100% !important;
}

.search-pill .input-group-prepend,
.search-pill .input-group-append {
    display: flex;
    align-items: center;
    flex: 0 0 auto !important;
}

.clear-search-btn {
    padding: 0 10px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.clear-search-btn:hover {
    background: transparent !important;
}

.clear-search-btn i {
    opacity: 0.6;
}

.clear-search-btn:hover i {
    opacity: 1;
}

.clear-search-btn:hover {
    background: transparent !important;
}

.clear-search-btn i {
    opacity: 0.6;
}

.clear-search-btn:hover i {
    opacity: 1;
}

/* Buttons and Icons */
.btn-cult-green {
    background-color: var(--cult-green);
    border-color: var(--cult-green);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    padding: 8px 25px;
    font-size: 0.9rem;
}

.btn-cult-green:hover {
    background-color: #638029;
    border-color: #638029;
}

.btn-cult-outline {
    background-color: transparent;
    border: 2px solid #333;
    color: #333 !important;
    border-radius: 50px;
    font-weight: 700;
    padding: 8px 25px;
    font-size: 0.9rem;
}

.btn-cult-outline:hover {
    background-color: #333;
    color: #fff !important;
}

/* Header Action Buttons */
.btn-header-register {
    background-color: var(--cult-green) !important;
    border: 2px solid var(--cult-green) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    padding: 6px 22px !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: all 0.2s;
    display: inline-block;
    font-weight: 900 !important;
}

.btn-header-register:hover {
    background-color: #638029 !important;
    border-color: #638029 !important;
}

.btn-header-login {
    background-color: #fff !important;
    border: 2px solid var(--cult-green) !important;
    color: #000 !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    padding: 6px 22px !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    transition: all 0.2s;
    display: inline-block;
    font-weight: 900 !important;
}

.btn-header-login:hover {
    background-color: #f8f9fa !important;
}

background-color: #333;
color: #fff !important;
}

.action-icon {
    color: #333;
    transition: transform 0.2s, color 0.2s;
    display: inline-block;
}

.action-icon:hover {
    color: var(--cult-green);
    transform: scale(1.1);
}

.badge-cult-green {
    background-color: var(--cult-green);
    color: #fff;
    font-size: 0.8rem;
    position: absolute;
    top: -4px !important;
    right: 0px !important;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 2px;
    z-index: 100 !important;
}

/* Mini Cart Dropdown Styles */
.cart-dropdown-wrapper .dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-top: 15px;
    min-width: 350px;
    z-index: 2000 !important;
}

.cart-dropdown-wrapper .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
}

.dropdown-cart-items img {
    border-radius: 8px;
    object-fit: contain;
    background: #f8f9fa;
}

.dropdown-cart-items td {
    border-top: 1px solid #f1f1f1;
    padding: 12px 0;
}

.dropdown-cart-items tr:first-child td {
    border-top: none;
}

.cart-dropdown-total-item {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.cart-dropdown-total-item-price {
    float: right;
    color: #333;
    font-weight: 600;
}

.cart-dropdown-buttons .btn {
    border-radius: 50px;
    text-transform: none;
    font-weight: 700;
    padding: 8px 20px;
}

.cart-dropdown-buttons .btn-primary {
    background-color: var(--cult-green);
    border-color: var(--cult-green);
}

.cart-dropdown-buttons .btn-outline-primary {
    color: var(--cult-green);
    border-color: var(--cult-green);
}

.cart-dropdown-buttons .btn-outline-primary:hover {
    background-color: var(--cult-green);
    color: #fff;
}

.item-overflow-notice {
    font-size: 0.8rem;
    color: var(--cult-orange);
    text-align: center;
    padding: 5px 0;
}

/* ============================================================
   DESKTOP NAVIGATION
   ============================================================ */

.cult-main-nav {
    background: #f3f4f0;
    border-bottom: 3px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.container-navbar {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1600px;
}

/* Nav List */
.cult-nav-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

/* Nav Item */
.cult-nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Nav Link */
.cult-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 13px;
    color: #1a1a1a;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.cult-nav-link:hover,
.cult-nav-item:hover>.cult-nav-link {
    color: #759632;
    text-decoration: none;
    border-bottom-color: #759632;
}

/* Chevron icon */
.cult-nav-chevron {
    transition: transform 0.2s;
    flex-shrink: 0;
    opacity: 0.6;
}

.cult-nav-item:hover>.cult-nav-link .cult-nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Nav list → mega menu için positioning context */
.cult-nav-list {
    position: relative;
}

/* Mega menu olan item static kalır (nav-list'e göre pozisyonlanır) */
.cult-nav-item.has-megamenu {
    position: static;
}

/* ============================================================
   SIMPLE DROPDOWN (2. seviye, düz liste)
   ============================================================ */

.cult-dropdown {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e8ebe0;
    border-top: 3px solid #759632;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;

    /* İçerik genişliğine göre otomatik boyutlan */
    display: grid;
    grid-template-columns: auto;
    width: max-content;
    min-width: 200px;
}

/* 6+ item → 2 kolon, her kolon içeriğe göre */
.cult-dropdown:has(> li:nth-child(6)) {
    grid-template-columns: auto auto;
}

/* 11+ item → 3 kolon */
.cult-dropdown:has(> li:nth-child(11)) {
    grid-template-columns: auto auto auto;
}

.cult-nav-item:hover>.cult-dropdown,
.cult-nav-item:focus-within>.cult-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cult-dropdown-item a {
    display: block;
    padding: 9px 20px;
    color: #333;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
    line-height: 1.3;
}

.cult-dropdown-item a:hover {
    background-color: #f5f7f0;
    color: #759632;
}

/* ============================================================
   MEGA MENU (3. seviye — gruplu kolonlar)
   ============================================================ */

.cult-megamenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #759632;
    border-bottom: 1px solid #e8ebe0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 28px 32px;
    z-index: 1040;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.cult-nav-item:hover>.cult-megamenu,
.cult-nav-item:focus-within>.cult-megamenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Grid: auto-fill kolonlar, min 180px */
.cult-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px 32px;
}

/* Grup başlığı */
.cult-megamenu-heading {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    text-decoration: none;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 2px solid #e0e4d8;
    transition: color 0.15s;
}

.cult-megamenu-heading:hover {
    color: #759632;
    text-decoration: none;
}

/* Alt item listesi */
.cult-megamenu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cult-megamenu-items li {
    margin-bottom: 2px;
}

.cult-megamenu-items a {
    display: block;
    padding: 4px 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.82rem;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.4;
}

.cult-megamenu-items a:hover {
    color: #759632;
}

/* Sale — son nav öğesi turuncu */
.cult-nav-list>li:last-child>.cult-nav-link {
    color: var(--cult-orange) !important;
}

.cult-nav-list>li:last-child>.cult-nav-link:hover {
    color: #e68a00 !important;
    border-bottom-color: var(--cult-orange);
}

/* Responsive Fixes & Mobile-First Header */
#jtl-nav-wrapper {
    background: #fff;
}

@media (max-width: 991px) {
    #jtl-nav-wrapper {
        position: sticky;
        top: 0;
        z-index: 1030;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 991px) {
    .main-header-cult {
        border-bottom: 1px solid #f1f1f1;
    }

    .opening-badge {
        position: static;
        border-radius: 0;
    }
}

/* Desktop Header Adjustments */
@media (min-width: 992px) {
    #jtl-nav-wrapper {
        position: relative;
        z-index: 1031 !important;
        overflow: visible !important;
    }

    .main-header-cult {
        background: #fff;
    }

    /* Hero Section Styles */
    .hero-section-context {
        padding: 45px 0 !important;
    }

    .nav-bar-cult {
        position: sticky;
        top: 0;
        z-index: 1030;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
}


/* --- Mobile-First Header & Menu --- */

/* Mobile Top Bar Accordion */
.top-bar-mobile-trigger {
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
}

.top-bar-icon-box {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.top-bar-details-content .top-bar-item {
    font-size: 0.75rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Mobile Icon Bar */
.action-icon {
    min-width: 38px;
    height: 100%;
    /* Spans full header height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0 10px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.cart-icon {
    padding-right: 0 !important;
    min-width: auto !important;
    /* Offset to push closer if needed, or stick to 0 */
}

.action-icon i {
    display: block;
    line-height: 1;
    margin: auto;
    font-size: 18px;
}

/* Active Search State - Full Height Square Background */
.action-icon[aria-expanded="true"]#mobile-search-trigger {
    background-color: var(--cult-green) !important;
    color: #fff !important;
    border-radius: 0 !important;
    /* Edge-to-edge square look */
}

/* Mobile Search Bar Internal Icon Styling */

#mobile-search-collapse {
    width: 100% !important;
    border-top: 1px solid #eee;
    padding: 15px 0 20px 0;
    /* Top border, spacing above and below input */
}

.mobile-search-form {
    width: 100%;
    display: block;
}

/* Override Twitter Typeahead wrapper width */
.mobile-search-form .twitter-typeahead {
    width: 100% !important;
    display: block !important;
}

.search-pill-mobile {
    width: 100% !important;
    border-radius: 50px;
    border: 1px solid #ddd;
    padding-right: 50px;
    /* Increased space for the icon */
    padding-left: 20px;
    height: 45px;
    display: block;
}

.btn-search-inside {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    padding: 8px 10px;
    z-index: 5;
    cursor: pointer;
}

/* Fix for "F078" misrendered icons & redundant arrows */
.dropdown-toggle::after,
[data-toggle="collapse"]:not(.navbar-toggler)::after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f078" !important;
    /* Chevron down */
    display: inline-block !important;
}

/* Ensure search and user triggers don't show the re-enabled dropdown arrow */
#mobile-search-trigger::after,
.action-icon::after {
    display: none !important;
    content: none !important;
}

/* Specifically hide the redundant ::before on these same elements */
[data-toggle="collapse"]::before {
    display: none !important;
    content: none !important;
}

/* Ensure no default carets from bootstrap interfere */
.dropdown-toggle::before {
    display: none !important;
}

.main-logo {
    max-height: 40px;
}

header .navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: block;
}

header .navbar-brand img {
    height: 2.3rem;
    display: block;
    margin-left: -3px;
}

@media (max-width: 991.98px) {
    header .navbar-brand img {
        max-width: 48vw;
    }
}

@media (min-width: 992px) {
    .main-logo {
        max-height: 85px;
    }
}

/* ============================================================
   MOBİL MENÜ (Sol Sidebar Modal)
   ============================================================ */

/* Modal animasyonu */
.modal.modal-left .modal-dialog {
    position: fixed !important;
    margin: 0 !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    transform: translate3d(-100%, 0, 0) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modal.modal-left.show .modal-dialog {
    transform: translate3d(0, 0, 0) !important;
}

.modal.modal-left .modal-content {
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

/* Menü Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #e8ebe0;
    flex-shrink: 0;
}

.mobile-menu-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 400;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #555;
    line-height: 1;
    transition: color 0.15s;
}

.mobile-menu-close:hover {
    color: #1a1a1a;
}

/* Menü Body (kaydırılabilir) */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Kategori Listesi */
.mobile-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-cat-item {
    border-bottom: 1px solid #f0f2ec;
}

.mobile-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-cat-link {
    display: block;
    flex: 1;
    padding: 14px 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.15s;
}

.mobile-cat-link:hover {
    color: #759632;
    text-decoration: none;
}

/* Accordion Toggle Butonu */
.mobile-cat-toggle {
    background: none;
    border: none;
    padding: 10px 0 10px 12px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}

.mobile-cat-toggle:hover {
    color: #759632;
}

.toggle-chevron {
    display: block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-cat-toggle:not(.collapsed) .toggle-chevron {
    transform: rotate(180deg);
}

/* Alt Kategoriler */
.mobile-subcat-panel {
    background: #f7f9f4;
}

.mobile-subcat-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px;
}

.mobile-subcat-link {
    display: block;
    padding: 9px 20px 9px 32px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
    position: relative;
}

.mobile-subcat-link::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd3b8;
}

.mobile-subcat-link:hover {
    color: #759632;
    background-color: #eff2e8;
    text-decoration: none;
}

.mobile-subcat-link:hover::before {
    background-color: #759632;
}

/* Menü Footer */
.mobile-menu-footer {
    flex-shrink: 0;
    padding: 16px 20px;
    border-top: 1px solid #e8ebe0;
    display: flex;
    gap: 10px;
}

.btn-mobile-register {
    flex: 1;
    display: block;
    text-align: center;
    padding: 10px 16px;
    background-color: #759632;
    color: #fff;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.15s;
}

.btn-mobile-register:hover {
    background-color: #5a7226;
    color: #fff;
    text-decoration: none;
}

.btn-mobile-login {
    flex: 1;
    display: block;
    text-align: center;
    padding: 10px 16px;
    background-color: transparent;
    color: #1a1a1a;
    font-family: 'Archivo Black', sans-serif;
    font-size: 0.9rem;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.btn-mobile-login:hover {
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

/* Misc Refinements */
.search-pill .form-control::placeholder {
    color: #999;
}

.dropdown-item:active {
    background-color: var(--cult-green);
}

/* --- Modern Container Layout --- */

/* Tablet & Small Laptop */
@media (min-width: 992px) {
    .container {
        max-width: 1140px !important;
    }
}

/* Standard Laptop & Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1320px !important;
    }
}

/* Specific JTL 5 Override for non-standard 1300px breakpoint */
@media (min-width: 1300px) {
    .container {
        max-width: 1320px !important;
    }
}

/* Wide Screen */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px !important;
    }
}



/* Global Modal Close Button Style (Matching Mobile Menu) */
.modal-header .close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000 !important;
    font-size: 1.1rem;
    opacity: 0.8;
    right: 32px;
    top: 30px;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0 !important;
    margin: 0 !important;
    text-shadow: none;
    float: none;
    z-index: 1050;
    /* Ensure on top */
}

/* Global Modal Header Style (Matching Mobile Menu) */
.modal-header {
    display: flex !important;
    justify-content: flex-end !important;
    text-align: left;
    border-bottom: 1px solid #000 !important;
    padding: 0 0 10px 0 !important;
    margin-bottom: 16px !important;
}

/* Specific Login Modal Styling */
#loginModal .modal-body {
    padding: 0 !important;
}

.modal-header .close:hover {
    opacity: 1;
}

/* Hero Section Styles */
.hero-section-context {
    padding: 0 0 !important;
}

.hero-section-wrapper {
    padding: 0 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #f8f9fa;
    /* Light background similar to reference */
    border-bottom: 2px solid #32352B;
    /* Optional branding border */
    margin-bottom: 0 !important;
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    color: #32352B;
    /* Brand Dark Green */
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
    border-bottom: 5px solid #000;
    padding: 10px;
    background: #fff;
}


.hero-image-col {
    padding-top: 28px !important;
    background: #fff;
    padding-bottom: 28px !important;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    margin-bottom: 0 !important;
}

.hero-image {
    max-width: 100%;
    height: auto;
}

.hero-usps {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
    padding: 17px 1rem 0px 1rem;
    border-top: 2px solid #32352B;
}

.hero-usp-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.hero-usp-item i {
    color: #000;
    /* Or brand color if preferred, black in reference */
    font-size: 1.3rem;
}

@media (min-width: 992px) {
    header .navbar-brand img {
        height: 5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0;
        line-height: 46px;
        padding: 25px 0;
    }

    .custom-products-tabs {
        margin-top: 0 !important;
    }

    .hero-section-wrapper {
        padding: 0 0;
        margin: 0 15px !important;
    }

    .hero-image-col {
        background: #fff;
        padding: 18px 10px !important;
    }

    .hero-usps {
        border-top: 0;
    }

    .hero-image {
        width: 662px !important;
        height: 510px !important;
        object-fit: contain;
        /* Using contain to ensure full image is visible if aspect ratio differs */
        display: block;
    }

    .hero-usp-item {
        font-size: 22px !important;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-usp-item i,
    .hero-usp-item .ph-icon {
        width: 1.8rem !important;
        height: 1.8rem !important;
        margin-right: 1rem !important;
    }
}

/* Global SVG Icon Styling */
.ph-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.action-icon .ph-icon {
    vertical-align: middle;
    margin-right: 3px;
}
/* ===== Category Page: SEO Description Layout ===== */
.category-short-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    max-width: 680px;
}

.category-seo-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.category-seo-description h1,
.category-seo-description h2,
.category-seo-description h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.category-seo-description p {
    margin-bottom: 0.75rem;
}

.category-seo-description ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

/* ===== Subcategory Icons ===== */
.content-cats-small .col-12 {
    padding: 4px;
}

.content-cats-small .sub-categories {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f0;
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
}

.sub-categories .subcategories-image {
    width: 22px !important;
    height: 22px !important;
    min-height: unset;
    flex: 0 0 22px;
}

.sub-categories .subcategories-image img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}

.sub-categories .caption a {
    font-family: 'Archivo Black', sans-serif !important;
    font-weight: normal !important;
    font-size: 0.85rem;
    color: #333 !important;
    text-decoration: none !important;
}

.sub-categories .caption a:hover {
    color: #759632 !important;
}

.sub-categories .item_desc {
    display: none !important;
}

/* ===== Category Header Typography ===== */
.productlist-header-description-heading,
.productlist-header-description-heading h1,
#result-wrapper h1.h2 {
    font-family: 'Archivo Black', sans-serif !important;
    font-weight: normal !important;
}

.category-short-desc,
.category-short-desc p {
    font-family: 'Archivo', sans-serif !important;
}

/* Content wrapper top padding override */
@media (min-width: 992px) {
    #content-wrapper:not(.has-fluid) {
        padding-top: 0;
    }
}
