/* ===================================
    Crafto - Decor store
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

/* variable */
:root {
    --base-color: #FFD600;
    --dark-gray: #2F3234;
    --medium-gray: #888e95;
    --alt-font: 'Plus Jakarta Sans', sans-serif;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}

/* reset */
body {
    font-size: 16px;
    line-height: 30px;
}

/* input placeholder color */
::-webkit-input-placeholder {
    color: #4F5864 !important;
    text-overflow: ellipsis;
}

::-moz-placeholder {
    color: #4F5864 !important;
    text-overflow: ellipsis;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #4F5864 !important;
    text-overflow: ellipsis;
    opacity: 1;
}

.placeholder-medium-gray::-webkit-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.7;
}

.placeholder-medium-gray::-moz-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.7;
}

.placeholder-medium-gray:-ms-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.7;
}

/* input placeholder color */
input::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

input::-moz-placeholder,
select::-moz-placeholder,
textarea::-moz-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

input:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--medium-gray) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

/* input */
.input-small,
.textarea-small,
.select-small {
    font-size: 15px;
}

/* header */
header .navbar-brand img {
    max-height: 90px;
}

.header-cart-icon .cart-count {
    font-size: 9px;
    right: -10px;
}

.navbar .navbar-nav .simple-dropdown .dropdown-menu {
    border-radius: 5px;
}

.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 17px
}

.navbar .navbar-nav .submenu-content ul .sub-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 4px;
    border-color: transparent;
}

.navbar .navbar-nav .simple-dropdown .dropdown-menu li a {
    padding-bottom: 10px;
}

.navbar .navbar-nav .simple-dropdown .dropdown-menu {
    width: 190px;
    padding: 30px 0;
}

.navbar .navbar-nav .nav-link .label {
    font-size: 10px;
}

.header-cart-icon .header-cart .cart-item-list .cart-item .product-detail a {
    font-size: 14px;
}

.header-cart-icon .header-cart .cart-item-list .cart-item .product-detail .item-ammount {
    font-size: 13px;
    line-height: 24px;
}

/* heading tag */
h3 {
    line-height: 2.813rem;
}

h4 {
    line-height: 2.375rem;
}

.shop-sidebar .shop-filter li .item-qty {
    font-size: 10px;
    font-weight: 600;
}

.pagination-style-01 .page-item.active .page-link,
.pagination-style-01 .page-item .page-link:hover {
    background: var(--dark-gray);
    color: var(--white);
}

.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
    color: var(--medium-gray);
}

.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--white);
}

section,
footer {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* btn */
.btn.btn-switch-text.btn-very-small>span {
    padding: 6px 12px;
}

.btn.btn-switch-text.btn-small>span {
    padding: 8px 16px;
}

.btn.btn-switch-text.btn-medium>span {
    padding: 10px 20px;
}

.btn.btn-switch-text.btn-large>span {
    padding: 12px 24px;
}

.btn.btn-switch-text.btn-extra-large>span {
    padding: 16px 32px;
}

.btn {
    text-transform: inherit;
    letter-spacing: 0;
}

.btn.btn-extra-large {
    font-size: 16px;
}

.btn.btn-large {
    font-size: 15px;
}

.btn.btn-medium {
    font-size: 14px;
}

.btn.btn-small {
    font-size: 13px;
}

.btn.btn-very-small {
    font-size: 12px;
}

/* text color */
.text-blue-whale {
    color: #0C1623;
}

/* bg color */
.bg-blue-whale {
    background-color: #0C1623 !important;
}

.bg-blue-tangaroa {
    background-color: #18222E !important;
}

.bg-transparent-base-color-light {
    background-color: rgba(27, 50, 80, .2);
}

.bg-transparent-base-color {
    background-color: rgba(27, 50, 80, .8);
}

.bg-gradient-base-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(22, 32, 44, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(22, 32, 44, .9) 8%, transparent 80%);
}

/* tab style 04 */
.tab-style-04 .nav-tabs .nav-item .nav-link {
    line-height: 50px;
}

/* progress bar 02 */
.progress-bar-style-02 .progress {
    height: 10px;
}

/* contact form style 03 */
.contact-form-style-03 .form-group.form-textarea .form-icon {
    top: 20px;
}

/* tab style 07 */
.tab-style-07 .nav-tabs .nav-item .nav-link {
    padding: 17px 30px;
}

/* footer */
footer {
    font-size: 15px;
    line-height: 26px;
}

footer .footer-logo img {
    max-height: 100px;
}

.footer-dark a:hover {
    color: var(--white);
}

.newsletter-style-02 input {
    font-size: 14px;
    padding-right: 60px !important;
}

footer ul li {
    margin-bottom: 2px;
}

/* tooltip */
.tooltip.show {
    opacity: 1;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--dark-gray);
    top: -2px;
}

.tooltip .tooltip-inner {
    background-color: var(--dark-gray);
    border-radius: 3px;
    font-size: 10px;
    text-transform: uppercase;
    padding: 5px 10px;
    font-weight: 500;
}

/* media query responsive */
@media (max-width: 1300px) {
    .sticky-wrap.shadow-in {
        left: 10px;
    }
}

@media (max-width: 991px) {

    section,
    footer {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .tab-style-04 .nav-tabs .nav-item {
        padding: 0 20px;
    }

    .navbar .navbar-nav .dropdown .dropdown-menu a,
    .navbar-modern-inner .navbar-nav .dropdown .dropdown-menu a,
    .navbar-full-screen-menu-inner .navbar-nav .dropdown .dropdown-menu a {
        line-height: 22px;
    }

    .navbar .navbar-nav .dropdown .dropdown-menu .mega-menu ul,
    .navbar-modern-inner .navbar-nav .dropdown .dropdown-menu .mega-menu ul,
    .navbar-full-screen-menu-inner .navbar-nav .dropdown .dropdown-menu .mega-menu ul {
        padding: 20px 0 0;
    }

    .navbar .navbar-nav .simple-dropdown .dropdown-menu {
        width: 100%;
        padding: 0 15px 15px;
    }
}

@media (max-width: 767px) {

    section,
    footer {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .tab-style-04 .nav-tabs .nav-item .nav-link {
        line-height: 35px;
    }
}

/* Revolution slider */
.navigation-arrow .tp-parallax-wrap {
    top: inherit !important;
    bottom: 115px !important;
    margin-left: 30px !important;
}

@media (max-width: 1080px) and (min-width: 1024px) {
    .product-image-layer {
        left: 100px;
    }
}

@media (max-width: 1400px) and (min-width: 1024px) {
    .right-image-layer {
        right: -200px;
    }
}

@media (max-width: 991px) and (min-width: 778px) {

    #decor-store-slider_forcefullwidth,
    #decor-store-slider_wrapper {
        height: 650px !important;
    }

    .navigation-arrow .tp-caption {
        min-height: 90px !important;
        max-height: 90px !important;
    }

    .navigation-arrow .tp-parallax-wrap {
        top: inherit !important;
        bottom: 90px !important;
        margin-left: 30px !important;
    }
}

@media (max-width: 777px) {
    .navigation-arrow .tp-parallax-wrap {
        top: inherit !important;
        bottom: 80px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 650px) {

    #decor-store-slider_forcefullwidth,
    #decor-store-slider_wrapper {
        height: 750px !important;
    }

    .navigation-arrow .tp-caption {
        min-height: 90px !important;
        max-height: 90px !important;
    }

    .navigation-arrow .tp-parallax-wrap {
        top: inherit !important;
        bottom: 90px !important;
        margin-left: 30px !important;
    }
}

@media (max-width: 479px) {

    footer .elements-social.social-icon-style-01 li,
    footer .elements-social.social-icon-style-02 li,
    footer .elements-social.social-icon-style-05 li,
    footer .elements-social.social-icon-style-08 li {
        margin: 0 18px 0 0;
    }
}

@media (max-width: 991px) and (orientation: landscape) {

    #decor-store-slider_forcefullwidth,
    #decor-store-slider_wrapper {
        height: 600px !important;
    }

    .product-image-layer {
        width: 600px !important;
        min-width: 600px !important;
        max-width: 600px !important;
        height: auto !important;
        left: 30px;
    }

    .shop-button {
        font-size: 11px !important;
        padding: 8px 18px 8px 10px !important;
    }

    .right-image-layer {
        width: 800px !important;
        min-width: 800px !important;
        max-width: 800px !important;
    }

    .left-column {
        padding-top: 100px !important;
    }

    .navigation-arrow .tp-parallax-wrap {
        z-index: 999999 !important;
    }
}

@media (max-width: 991px) and (min-width: 844px) and (orientation: landscape) {
    .right-image-layer {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }

    .rev_row_wrap {
        width: 60% !important;
        left: 20% !important;
        padding-top: 0px !important;
    }

    .left-column {
        min-height: 300px !important;
        max-height: 300px !important;
        height: 300px !important;
    }
}


.row>.column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    float: left;
    width: 25%;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 100%;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
/* ================================
   TARİHÇE - MOBİL YATAY SLIDER (FIX)
   ================================ */

@media (max-width: 991.98px) {
  .history-slider{
    display: flex !important;
    flex-wrap: nowrap !important;

    /* KRİTİK: center snap'i bozar -> start */
    justify-content: flex-start !important;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    gap: 14px;
    padding: 16px;                 /* basit */
    scroll-padding-left: 16px;

    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }

  .history-slider::-webkit-scrollbar{ height: 0; }

  .history-slider > .col{
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
    scroll-margin-left: 16px;
  }

  /* w-75 vb. mobilde metni bozmasın */
  .history-slider p{
    width: 100% !important;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* ================================
   MOBİLDE 3 GÖRSEL SLIDER
   ================================ */

@media (max-width: 991.98px) {

  .mobile-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 10px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-slider::-webkit-scrollbar {
    display: none;
  }

  .mobile-slider > div {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
  }

  .mobile-slider img {
    width: 100%;
    border-radius: 20px;
  }
}

/* ==========================================================================
   PRODUCT PAGE PREMIUM RE-DESIGN (ADDED BY ANTIGRAVITY)
   ========================================================================== */

/* Image Slider Background & Thumbnails */
.bg-premium-dark {
    background: radial-gradient(circle at center, #2e2e2e 0%, #0f0f0f 100%) !important;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.product-image-thumb img {
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.product-image-thumb .swiper-slide-thumb-active img {
    border-color: #ffd600;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

/* Litre Seçim Butonları */
.variant-btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 214, 0, 0.04);
    border: 2px solid #ffd600;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.variant-btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #ffd600, #ffb300);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: 0;
}
.variant-btn-premium:hover::before {
    width: 300%;
    height: 300%;
}
.variant-btn-premium:hover {
    color: #000000 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.3);
}
.variant-btn-premium span {
    position: relative;
    z-index: 1;
}
.variant-btn-premium .btn-icon-arrow {
    margin-left: 10px;
    font-size: 11px;
    transition: transform 0.3s ease;
}
.variant-btn-premium:hover .btn-icon-arrow {
    transform: translateX(4px);
}

/* Ürün Kalite Rozetleri (Badges) */
.product-badges-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
}
.badge-item-premium {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: help;
}
.badge-item-premium:hover {
    transform: scale(1.2) rotate(3deg);
    filter: drop-shadow(0 0 12px rgba(255, 214, 0, 0.4));
}
.badge-item-premium img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Specification Card Grid */
.spec-section {
    margin-top: 40px;
}
.spec-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.spec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 214, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.15);
}
.spec-card-badge {
    background: #ffd600;
    color: #000000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    align-self: flex-start;
    border-bottom-right-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.spec-card-img-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}
.spec-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.spec-card:hover .spec-card-img {
    transform: scale(1.1);
}
.spec-card-body {
    padding: 20px !important;
}
.spec-card-title {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.3;
}
.spec-card-desc {
    color: #a0a0a0;
    font-size: 13px;
    line-height: 1.5;
}

/* Call to Action Button */
.btn-quote-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
    color: #000000 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 214, 0, 0.2);
    text-decoration: none !important;
    border: none;
    gap: 10px;
}
.btn-quote-premium:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 214, 0, 0.4);
    background: linear-gradient(135deg, #fff000 0%, #ffb300 100%);
}
.btn-quote-premium i {
    font-size: 16px;
    transition: transform 0.3s ease;
}
.btn-quote-premium:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* Specs Scroll Button (Added next to Contact Button) */
.btn-specs-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #ffd600;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-specs-scroll:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 214, 0, 0.3);
    background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
    color: #000000 !important;
}
.btn-specs-scroll i {
    font-size: 16px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-specs-scroll:hover i {
    transform: translateY(3px);
}


/* Image Zoom Wrapper & Icon for Specs Cards */
.zoom-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}
.zoom-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: zoom-in;
}
.zoom-wrapper:hover img {
    transform: scale(1.2);
}
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}
.zoom-wrapper:hover .zoom-icon {
    opacity: 1;
}

/* Variant popup specifications grid layout adjustments */
.newsletter-popup .spec-section .row,
.variant-popup-right-pane .spec-section .row {
    margin-left: -10px;
    margin-right: -10px;
}
.newsletter-popup .spec-section .row > .col,
.variant-popup-right-pane .spec-section .row > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
}
@media (min-width: 576px) {
    .newsletter-popup .spec-section .row > .col,
    .variant-popup-right-pane .spec-section .row > .col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
@media (min-width: 992px) {
    /* Limit popup card sizes for better visuals */
    .newsletter-popup .spec-card-img-wrapper,
    .variant-popup-right-pane .spec-card-img-wrapper {
        height: 110px;
    }
    .newsletter-popup .spec-card-title,
    .variant-popup-right-pane .spec-card-title {
        font-size: 13px;
    }
    .newsletter-popup .spec-card-desc,
    .variant-popup-right-pane .spec-card-desc {
        font-size: 11px;
    }
}

/* Responsive Premium Table Styling inside Product Description */
.table-responsive-premium {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.table-responsive-premium::-webkit-scrollbar {
    height: 8px;
}
.table-responsive-premium::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}
.table-responsive-premium::-webkit-scrollbar-thumb {
    background: #ffd600;
    border-radius: 4px;
}

.product-description table {
    width: 100%;
    min-width: 750px !important; /* Force min-width so columns don't squish */
    border-collapse: collapse;
    margin: 0 !important;
}

.product-description th {
    background-color: #000000 !important;
    color: #ffd600 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center;
}

.product-description td {
    background-color: #161616 !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center;
    transition: all 0.2s ease;
}

.product-description tr:hover td {
    background-color: #ffd600 !important;
    color: #000000 !important;
}

/* ==========================================================================
   LITRE VARIANT DETAILS POPUP LAYOUT STYLES
   ========================================================================== */

/* Main Container and wrapper */
.variant-popup-main-container {
    max-width: 1050px;
    margin: 40px auto;
    position: relative;
    padding: 0 15px;
}

.variant-popup-wrapper {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Left Pane (Fixed: Title + Images) */
.variant-popup-left-pane {
    display: flex;
    flex-direction: column;
    padding: 40px 30px 40px 35px !important;
    background: #000000;
}

.variant-popup-left-pane .swiper-button-next,
.variant-popup-left-pane .swiper-button-prev {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.variant-popup-left-pane .swiper-button-next:hover,
.variant-popup-left-pane .swiper-button-prev:hover {
    background: #ffd600 !important;
    border-color: #ffd600 !important;
}

.variant-popup-left-pane .swiper-button-next:hover i,
.variant-popup-left-pane .swiper-button-prev:hover i {
    color: #000000 !important;
}

.variant-popup-header-block {
    margin-bottom: 25px;
}

.variant-popup-header-block h4 {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.variant-popup-header-divider {
    height: 1px;
    background: linear-gradient(90deg, #ffd600 0%, rgba(255, 255, 255, 0.05) 100%);
    width: 100%;
    margin-top: 15px;
}

.variant-popup-image-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.variant-popup-image-block .product-image-slider img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
}

/* Right Pane (Scrollable features list) */
.variant-popup-right-pane {
    background: #090909;
    padding: 40px 35px 40px 30px !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Desktop layout constraints for scrolling features */
@media (min-width: 992px) {
    .variant-popup-wrapper {
        height: 720px; /* fixed height for desktop to make scrolling work cleanly */
    }
    
    .variant-popup-wrapper > .row {
        height: 100%;
    }
    
    .variant-popup-left-pane {
        height: 100%;
        justify-content: flex-start;
    }
    
    .variant-popup-right-pane {
        height: 100%;
    }
    
    .variant-popup-scroll-area {
        height: 100%;
        overflow-y: auto;
        padding-right: 15px;
    }
}

/* Varyant popup: sağ panel sekmeli yapı (nav sabit, içerik kayar) */
.variant-popup-right-pane .product-info-tabs {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    height: 100%;
    min-height: 0;
}
.variant-popup-right-pane .pinfo-tab-nav {
    justify-content: flex-start;
    margin-bottom: 16px;
    flex: 0 0 auto;
}
.variant-popup-right-pane .pinfo-tab-content.variant-popup-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
}
@media (min-width: 992px) {
    .variant-popup-right-pane .pinfo-tab-content.variant-popup-scroll-area {
        height: auto; /* flex column içinde otomatik yükseklik + iç kaydırma */
    }
}

/* Custom premium scrollbar for features scroll area */
.variant-popup-scroll-area {
    scrollbar-width: thin;
    scrollbar-color: #ffd600 rgba(255, 255, 255, 0.05);
}

.variant-popup-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.variant-popup-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.variant-popup-scroll-area::-webkit-scrollbar-thumb {
    background-color: #ffd600;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Visual cues for scroll availability (gradient overlay fade indicators) */
.variant-popup-right-pane::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: linear-gradient(to top, #090909 0%, transparent 100%);
    pointer-events: none;
    z-index: 10;
    border-bottom-right-radius: 20px;
}

/* Mobile responsive resets */
@media (max-width: 991px) {
    .variant-popup-wrapper {
        height: auto;
    }
    
    .variant-popup-left-pane {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 35px 25px !important;
    }
    
    .variant-popup-right-pane {
        padding: 35px 25px !important;
    }
    
    .variant-popup-scroll-area {
        overflow-y: visible; /* disable double scrolling inside popup on mobile */
        height: auto;
        padding-right: 0;
    }
    
    .variant-popup-right-pane::after {
        display: none;
    }
}

/* ==========================================================================
   CATEGORY NAVIGATOR FOR PRODUCT PAGE (ADDED BY ANTIGRAVITY)
   ========================================================================== */
/* =========================================================
   Product Info Tabs (Genel Bakış / Açıklama / Standart / Opsiyonel)
   Full-width tab interface above the product area on urun.php so
   the whole page fits within the viewport without page scrolling.
   ========================================================= */
.product-info-tabs {
    margin-top: 4px;
}

.pinfo-tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pinfo-tab-btn {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d0d0d0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pinfo-tab-btn i {
    font-size: 14px;
    opacity: 0.8;
}

.pinfo-tab-btn:hover {
    border-color: rgba(255, 214, 0, 0.45);
    color: #ffd600;
    transform: translateY(-2px);
}

.pinfo-tab-btn.active {
    background: linear-gradient(135deg, #ffd600 0%, #ff9800 100%);
    border-color: #ffd600;
    color: #000000;
    box-shadow: 0 6px 18px rgba(255, 214, 0, 0.25);
}

.pinfo-tab-btn.active i {
    opacity: 1;
}

.pinfo-tab-content {
    position: relative;
}

.pinfo-tab-pane {
    display: none;
    animation: pinfoFade 0.35s ease;
}

.pinfo-tab-pane.active {
    display: block;
}

@keyframes pinfoFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scrollable body so long content (description table / spec grid)
   never pushes the page past the viewport height. */
.pinfo-tab-scroll {
    max-height: 72vh;
    overflow-y: auto;
    padding-right: 8px;
}

.pinfo-tab-scroll::-webkit-scrollbar {
    width: 6px;
}
.pinfo-tab-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}
.pinfo-tab-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 214, 0, 0.5);
    border-radius: 4px;
}

/* Spec section heading hidden inside tabs (tab label already names it) */
.product-info-tabs .spec-section {
    margin-top: 0;
}
.product-info-tabs .spec-section > h5 {
    display: none;
}

.pinfo-empty {
    color: #888;
    font-size: 14px;
    font-style: italic;
    padding: 20px 4px;
}

@media (max-width: 991px) {
    .pinfo-tab-scroll {
        max-height: none;
    }
    .pinfo-tab-btn {
        flex: 1 1 auto;
        padding: 10px 16px;
        font-size: 14px;
    }
}

.category-nav-card {
    background: rgba(20, 25, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-nav-card.active-parent {
    border-color: rgba(255, 214, 0, 0.25);
    background: rgba(255, 214, 0, 0.02);
}

.category-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 214, 0, 0.4);
    box-shadow: 0 6px 15px rgba(255, 214, 0, 0.08);
}

.category-nav-header {
    display: flex;
    align-items: center;
}

.category-nav-img-wrapper {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: #111;
    transition: all 0.3s ease;
}

.category-nav-card:hover .category-nav-img-wrapper,
.category-nav-card.active-parent .category-nav-img-wrapper {
    border-color: #ffd600;
}

.category-nav-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-nav-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.category-nav-title:hover {
    color: #ffd600 !important;
}

.category-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    width: 100%;
    margin: 8px 0;
}

.category-nav-buttons-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    width: 100%;
}

.category-nav-sub-btn {
    display: inline-block;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #c0c0c0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 10px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.category-nav-sub-btn:hover {
    background: rgba(255, 214, 0, 0.05);
    border-color: rgba(255, 214, 0, 0.5);
    color: #ffd600 !important;
}

.category-nav-sub-btn.active {
    background: rgba(255, 214, 0, 0.12) !important;
    border-color: #ffd600 !important;
    color: #ffd600 !important;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.2);
    font-weight: 700;
}

.category-nav-sub-btn.active:hover {
    box-shadow: 0 0 12px rgba(255, 214, 0, 0.3);
}

.category-nav-badge {
    background: rgba(255, 214, 0, 0.12);
    border: 1px solid #ffd600;
    color: #ffd600 !important;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}