@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap");

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: hsl(26, 100%, 55%);
    --pale-orange: hsl(25, 100%, 94%);
    --very-dark-blue: hsl(220, 13%, 13%);
    --dark-grayish-blue: hsl(219, 9%, 45%);
    --grayish-blue: hsl(220, 14%, 75%);
    --light-grayish-blue: hsl(223, 64%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --black-with-opacity: hsla(0, 0%, 0%, 0.75);
}


a {
    text-decoration: none;
    color: var(--dark-grayish-blue);
}

body {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.container2 {    
    font-family: "Kumbh Sans", sans-serif;
    max-width: 1120px;
    width: 100%;
    min-height: 70vh;
    padding: 25px 5px;
    margin: 0 auto;
    overflow: hidden;
}




.main-img img {
    display: none;
}

    .main-img img.active {
        display: block;
    }



.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    max-width: 1120px;
    margin: 20px auto;
    padding: 0 5px;
}

.breadcrumb a {
    color: #4e7460;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

/* inline items to avoid line breaks */
.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
}

/* otomatik ayraç */
.breadcrumb > *:not(:last-child)::after {
    content: '›';
    margin: 0 6px;
    color: #bdbdbd;
}

/* Hide breadcrumb on screens < 768px */
@media (max-width: 767px) {
    .breadcrumb {
        display: none;
    }
}

/* Navbar */

/* Main */
.main {
    display: flex;
    gap: 125px;
    /* min-height sabit yükseklik yerine otomatik olsun */
    min-height: auto;
    /* Elemanları üstte hizala */
    align-items: flex-start;
    padding: 0 50px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Image gallery */
.gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    overflow: hidden;
}

.gallery .main-img {
    width: 100%;
    max-width: 445px;
    overflow: hidden;
}

.gallery .main-img img {
    display: none;
    max-width: 100%;
    height: auto;
}

.gallery .main-img img.active {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1px;
    cursor: pointer;
}

.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-lightbox.is-visible {
    display: flex;
    opacity: 1;
}

.lightbox-open {
    overflow: hidden;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.85);
}

    .gallery .thumb-list {
        display: flex;
        justify-content: space-between;
        max-width: 445px;
        width: 100%;
    }

        .gallery .thumb-list div {
            max-width: 90px;
            max-height: 90px;
            margin: 0 2px;
        }

        .gallery .thumb-list img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
            cursor: pointer;
        }

            .gallery .thumb-list img:hover {
                opacity: 50%;
            }

        .gallery .thumb-list .active img {
            opacity: 30%;
        }

        .gallery .thumb-list .active {
            border: 2px solid var(--orange);
            border-radius: 13px;
            margin: 0;
        }

/* lightbox */
.lightbox {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10;
    background: var(--black-with-opacity);
    align-items: center;
    justify-content: center;
}

    .lightbox.active {
        display: flex;
    }

        .lightbox.active .gallery {
            max-width: 445px;
        }

    .lightbox .main-img {
        position: relative;
    }

    .lightbox .icon-prev,
    .lightbox .icon-next {
        position: absolute;
        height: 60px;
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--white);
        border-radius: 50%;
    }

.icon-prev:hover,
.icon-next:hover {
    cursor: pointer;
}

/* .icon-prev svg path {
  fill: var(--orange);
} */

.icon-prev {
    top: 50%;
    transform: translate(-50%, -50%);
}

.icon-next {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.icon-close svg path {
    fill: var(--white);
}

    .icon-close svg path:hover {
        cursor: pointer;
        fill: var(--orange);
    }

.icon-close {
    position: absolute;
    right: 0;
    top: -40px;
}

/* Content */

.content {
    flex: 1;
}

    .content h3 {
        font-size: 16px;
        color: #FF8303;
    }

    .content h2 {
        font-size: 37px;
        margin: 20px 0 40px 0;
    }

    .product-desc-container {
        position: relative;
        margin-bottom: 30px;
    }

    .product-desc {
        font-size: 16px;
        color: var(--dark-grayish-blue);
        max-height: 80px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.5s ease;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .product-desc.expanded {
        max-height: 1000px; /* Büyük bir değer, tam açılması için */
    }

    .product-desc:not(.expanded)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        pointer-events: none;
    }

    .learn-more-wrap {
        text-align: center;
        margin-top: 0;
        width: 100%;
    }

    .learn-more-btn {
        background: none;
        border: none;
        color: #525252;
        font-weight: 500;
        cursor: pointer;
        font-size: 14px;
        padding: 0;
        text-decoration: underline;
        transition: all 0.3s ease;
        display: inline-block;
        margin-top: 5px;
        text-align: center;
    }

    .learn-more-btn:hover {
        color: #FF8303;
    }

.price {
    display: flex;
    align-items: center;
    gap: 15px;
}
.add-to-cart {
    color: var(--white);
    background-color: #FF8303;
    border: 0px;
    height: 55px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 0 5px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .add-to-cart:hover {
        background-color: #e57200;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.preview-design {
    color: #FF8303;
    background-color: var(--white);
    border: 1px solid #FF8303;
    height: 55px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 0 5px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .preview-design:hover {
        background-color: #FF8303;
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.add-to-cart svg path {
    fill: var(--white);
}

.preview-design svg path {
    fill: #FF8303;
    transition: fill 0.3s ease;
}

.preview-design:hover svg path {
    fill: var(--white);
}

.current-price {
    font-weight: 700;
    font-size: 25px;
}

.discount {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 10%;
    height: 25px;
    background-color: #ffdebc;
    font-weight: 700;
    color: #FF8303;
}

.prev-price {
    margin: 10px 0 35px 0;
    font-size: 18px;
    color: var(--grayish-blue);
    font-weight: 700;
    text-decoration: line-through;
}

.add-to-cart-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    width: 150px;
    height: 55px;
    background: var(--light-grayish-blue);
}

    .counter button {
        width: 50px;
        height: 100%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
    }

    .counter .count {
        font-weight: 700;
    }

.add-to-cart {
    color: var(--white);
    background-color: #FF8303;
    border: 0px;
    height: 55px;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 0 5px;
}

    .add-to-cart svg path {
        fill: var(--white);
    }

/* Cart */
.cart {
    position: relative;
}

.cart-icon {
    cursor: pointer;
}

.cart-container {
    right: -95px;
    top: 50px;
    z-index: 9;
    position: absolute;
    width: 360px;
    min-height: 260px;
    background: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    display: none;
}

    .cart-container.active {
        display: flex;
        flex-direction: column;
    }

.cart-title {
    padding: 25px 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--grayish-blue);
}

.cart .cart-items {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

    .cart .cart-items.empty {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 185px;
        font-weight: 700;
    }

        .cart .cart-items.empty .cart-empty {
            color: var(--grayish-blue);
            display: inline-block;
        }

    .cart .cart-items .cart-empty {
        display: none;
    }

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .cart-item img {
        height: 50px;
        border-radius: 5px;
    }

.cart-item {
    color: var(--dark-grayish-blue);
}

    .cart-item .total-price {
        color: var(--black);
        font-weight: 700;
    }

.checkout.empty {
    display: none;
}

.checkout {
    height: 56px;
    margin: 27px 23px;
    border: none;
    color: var(--white);
    background-color: var(--orange);
    border-radius: 10px;
    font-weight: 700;
}

    .checkout:hover {
        cursor: pointer;
    }

.cart-count {
    cursor: pointer;
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--orange);
    color: var(--white);
    min-width: 25px;
    min-height: 17px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.delete-item {
    border: none;
    background: none;
    cursor: pointer;
}

/* Mobile */

@media (max-width: 755px) {
    .main {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }

    .default.gallery {
        width: 100%;
        display: block;
    }

    .default.gallery .main-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: unset;
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
        aspect-ratio: unset;
    }

    .default.gallery .main-img img,
    .default.gallery .main-img video {
        width: 100%;
        height: auto;
        max-height: 360px;
        object-fit: contain;
    }

    .default.gallery .main-img img.active,
    .default.gallery .main-img video.active {
        display: block;
    }

    .thumb-container {
        width: 100%;
        padding: 0 30px;
    }

    .thumb-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
        gap: 10px;
        justify-content: start;
    }

    .thumb-list::-webkit-scrollbar {
        display: none;
    }

    .thumb-list div {
        flex: 0 0 auto;
        width: 60px;
        height: 60px;
    }

    .lightbox {
        display: none !important; /* Mobilde yerleşik lightbox'ı gizle */
    }
}

/* Thumbnail listesi için container stil */
.thumb-list {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox için scrollbar'ı gizle */
}

.thumb-list::-webkit-scrollbar {
    display: none; /* Webkit tarayıcılar için scrollbar'ı gizle */
}

/* Her bir thumbnail için stil */
.thumb-list div {
    flex: 0 0 80px; /* Sabit genişlik */
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.thumb-list div.active {
    border-color: #4e7460;
}

.thumb-list div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Thumbnail içindeki resimler için stil */
.thumb-list div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ana resim container'ı için stil */
.main-img {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 1px;
    overflow: hidden;
    background-color: transparent;
    margin: 0 auto 40px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ana resim için stil */
.main-img img {
    width: 100%;
    height: 100%;
    display: none;
    object-fit: contain;
    background: transparent;
    transition: transform 0.3s ease;
}

.default.gallery .main-img img,
.default.gallery .main-img video {
    transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .default.gallery .main-img:hover img.active,
    .default.gallery .main-img:hover video.active {
        transform: scale(1.1);
    }
}

/* Büyütülmüş görsel gösterimi için stil */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.image-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

.modal-prev {
    left: 16px;
}

.modal-next {
    right: 16px;
}

.modal-nav i {
    pointer-events: none;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.3s;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

body.modal-open {
    overflow: hidden;
    touch-action: none;
}

/* Mobil cihazlar için responsive düzenlemeler */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }

    .gallery {
        width: 100%;
    }

    .gallery .main-img {
        width: 100%;
        margin: 0 auto;
    }

    .content {
        padding: 0 20px;
    }

    .container2 {
        padding: 0;
    }

    .main .default {
        width: 100%;
        margin-right: 0;
    }
    
    .gallery .main-img {
        position: relative;
        min-height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 1px;
        margin-bottom: 15px;
    }
    
    .gallery .main-img img {
        display: none;
        max-width: 100%;
        max-height: 300px;
        object-fit: contain;
        border-radius: 1px;
    }
    
    .gallery .main-img img.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }
    
    .product-desc {
        max-height: 60px;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    .product-desc.expanded {
        max-height: 1000px;
    }
    
    .learn-more-btn {
        font-size: 13px;
        margin-top: 0;
    }
    
    .learn-more-wrap {
        text-align: center;
        margin-top: 0;
    }
    
    .thumb-container {
        width: 100%;
        position: relative;
        margin-bottom: 20px;
    }
    
    .thumb-list {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 0 30px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .thumb-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .thumb-list div {
        flex: 0 0 auto;
        width: 60px;
        height: 60px;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
    }
    
    .thumb-list div.active {
        opacity: 1;
        border: 2px solid var(--main-color);
    }
    
    .thumb-list div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .thumb-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 5;
    }
    
    .left-arrow {
        left: 0;
    }
    
    .right-arrow {
        right: 0;
    }
    
    /* Modul Düzenlemeleri */
    .image-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .image-modal.active {
        display: flex;
        opacity: 1;
        animation: fadeIn 0.3s ease;
    }
    
    .modal-content {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }
    
    .close-modal {
        position: absolute;
        top: 15px;
        right: 20px;
        color: #f1f1f1;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Thumbnail container için stil */
.thumb-container {
    position: relative;
    padding: 0 40px;
    margin-top: 20px;
    background: transparent;
}

.thumb-list {
    display: flex;
    gap: 10px;
    overflow-x: hidden;
    padding: 10px 0;
    background: transparent;
}

.thumb-arrow {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #4e7460;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.thumb-arrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-style: solid;
    border-width: 2px 2px 0 0;
    display: inline-block;
}

.thumb-arrow.left-arrow {
    left: 0;
}

.thumb-arrow.right-arrow {
    right: 0;
}

.thumb-arrow.left-arrow::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.thumb-arrow.right-arrow::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.thumb-arrow:hover {
    background-color: #3a5848;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.thumb-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Notification Styles */
.success-notification,
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px 15px 40px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out forwards;
    max-width: 350px;
    display: flex;
    align-items: center;
    font-family: 'Urbanist', sans-serif;
    line-height: 1.4;
}

.success-notification {
    background-color: #34c759;
    border-left: 5px solid #28a745;
}

.error-notification {
    background-color: #ff3b30;
    border-left: 5px solid #dc3545;
}

.success-notification::before,
.error-notification::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 15px;
    font-size: 18px;
}

.success-notification::before {
    content: "\f00c"; /* Font Awesome check icon */
}

.error-notification::before {
    content: "\f00d"; /* Font Awesome times icon */
}

.fadeout {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Price display animation */
.product-price {
    transition: all 0.3s ease;
}

/* Button state for customization options */
.size-btn.active,
.stand-btn.active,
.option-btn.active {
    background-color: #4a6741;
    color: white;
    border-color: #4a6741;
    transform: scale(1.05);
}

.size-btn[data-price-change]:not([data-price-change="0"])::after,
.stand-btn[data-price-change]:not([data-price-change="0"])::after,
.option-btn[data-price-change]:not([data-price-change="0"])::after {
    content: attr(data-price-change);
    display: block;
    font-size: 0.75rem;
    margin-top: 3px;
    color: #4a6741;
}

.size-btn.active[data-price-change]:not([data-price-change="0"])::after,
.stand-btn.active[data-price-change]:not([data-price-change="0"])::after,
.option-btn.active[data-price-change]:not([data-price-change="0"])::after {
    color: white;
}

/* Product Options Styles */
.product-options {
    margin: 25px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.option-group {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.option-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
}

.option-title .required {
color: #ff6b00;
margin-left: 5px;
font-size: 18px;
}

.option-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Align image & text horizontally in Choices.js dropdown list */
.choices__item--choice {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Align in the selected value (single select) */
.choices__list--single .choices__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.choices__item--choice .option-thumb {
    flex-shrink: 0;
}

/* Hide default dropdown arrow */
.choices[data-type*="select-one"]::after,
.choices[data-type*="select-one"] .choices__inner::after {
    display: none !important;
    content: none !important;
}

.choices[data-type*="select-one"] .choices__inner {
    padding-right: 0.75rem;
}

/* Choices.js placeholder ve text rengi siyah */
.choices__placeholder {
    color: #000 !important;
    opacity: 1 !important;
}

.choices__inner,
.choices__list--single .choices__item {
    color: #000 !important;
}

.choices__list--dropdown .choices__item {
    color: #333 !important;
}


/* Select Dropdown Stilleri */
.select-wrapper {
position: relative;
width: 100%;
margin-bottom: 5px;
}

.option-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.option-select:hover, 
.option-select:focus {
    border-color: #ff6b00;
    outline: none;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.1);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #ff6b00;
}

.option-select option {
    padding: 10px;
    font-size: 14px;
    color: #000;
    background-color: #fff;
}


/* Text Input Stilleri */
.text-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

.option-text {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.option-text:hover,
.option-text:focus {
    border-color: #ff6b00;
}

/* Switch Toggle Stilleri */
.product-options-minimal {
display: flex;
flex-direction: column;
gap: 4px;
margin-bottom: 8px;
}

.option-item {
font-size: 13px;
color: #666;
display: block;
white-space: pre-wrap;
}

.switch-container {
display: flex;
align-items: center;
margin-bottom: 5px;
}

.switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
margin-right: 15px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #ff6b00;
}

input:focus + .slider {
    box-shadow: 0 0 1px #ff6b00;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.price-adjust {
    color: #ff6b00;
    font-weight: 500;
    margin-left: 5px;
}

/* Price Animation */
#productPrice {
    transition: all 0.3s ease;
}

/* Error styling */
.error-highlight {
    color: #ff3b30 !important;
    animation: shake 0.5s linear;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(5px); }
    50% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

/* Price animation */
.price-updated {
    animation: pricePulse 0.5s ease;
    color: #ff6b00;
}

@keyframes pricePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Thumbnail video styles */
.thumb-list div {
    position: relative;
}

.thumb-list video.thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* disable click to play */
    border-radius: 4px;
}

.thumb-list .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.thumb-list .play-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
    margin-left: 3px;
}

.thumb-list video.thumb-video::-internal-media-controls-overlay-cast-button,
.thumb-list video.thumb-video::-webkit-media-controls,
.thumb-list video.thumb-video::-moz-media-controls {
    display: none !important;
}

/* Video support in main media area */
.main-img {
    position: relative;
}

.main-img .big-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.main-img .big-play-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 4px;
}

.main-img video.playing + .big-play-icon {
    opacity: 0;
    visibility: hidden;
}

.thumb-list .big-play-icon {
    display:none;
}

.main-img video {
    width: 100%;
    height: 100%;
    display: none;
    object-fit: contain;
    background: transparent;
    transition: transform 0.3s ease;
}

.main-img video.active {
    display: block;
    animation: fadeIn 0.3s ease;
}


/* Product Gallery - Orijinal yapı korundu, sadece nokta navigasyonu eklendi */
.default.gallery {
    position: relative;
}

.default.gallery .main-img {
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.default.gallery .main-img:active {
    cursor: grabbing;
}

/* Navigation Arrows */
.product-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-arrow:hover {
    background: rgba(255, 107, 0, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.product-prev {
    left: 15px;
}

.product-next {
    right: 15px;
}

.product-arrow i {
    font-size: 16px;
    color: inherit;
}

/* Dots Navigation */
.product-dots {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 12px;
    border-radius: 20px;
    background: transparent;
    z-index: 1;
}

.product-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dot:hover {
    background: rgba(255, 107, 0, 0.6);
    transform: scale(1.2);
}

.product-dot.active {
    background: #ff6b00;
    width: 30px;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-arrow {
        width: 35px;
        height: 35px;
        top: calc(50% + 6px);
    }
    
    .product-prev {
        left: 10px;
    }
    
    .product-next {
        right: 10px;
    }
    
    .product-dots {
        bottom: 32px;
        gap: 8px;
        padding: 0;
    }
    
    .product-dot {
        width: 10px;
        height: 10px;
    }
    
    .product-dot.active {
        width: 22px;
    }
}
