/* Ürün detay */
.product-detail__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.product-detail__breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.product-detail__breadcrumbs a:hover {
    color: #96633f;
}

.product-detail__breadcrumb-sep {
    color: #9ca3af;
}

.product-detail__breadcrumb-current {
    color: #374151;
    font-weight: 600;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-detail__gallery {
    order: 1;
}

.product-detail__info {
    order: 2;
}

.product-detail__layout > .product-reviews {
    order: 3;
}

@media (min-width: 1024px) {
    .product-detail__layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        grid-template-areas:
            "gallery info"
            "reviews info";
        gap: 2.5rem;
        align-items: start;
    }

    .product-detail__gallery {
        grid-area: gallery;
        order: unset;
    }

    .product-detail__info {
        grid-area: info;
        order: unset;
    }

    .product-detail__layout > .product-reviews {
        grid-area: reviews;
        order: unset;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

.product-detail__gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-detail__gallery--multi {
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 1rem 1.25rem;
    }

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

    .product-detail__gallery--multi .product-detail__main-image-wrap {
        grid-column: 2;
    }

    .product-detail__gallery--multi .product-detail__thumbs {
        grid-column: 1;
        grid-row: 1;
    }
}

.product-detail__thumbs {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .product-detail__thumbs {
        flex-direction: column;
        overflow: visible;
    }
}

.product-detail__thumb {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid transparent;
    background: #f9fafb;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
}

.product-detail__thumb--active {
    border-color: #96633f;
}

.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__main-image-wrap {
    position: relative;
}

.product-detail__main-image {
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #ececec;
}

.product-detail__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__main-image--zoomable {
    cursor: zoom-in;
}

.product-detail__image-open {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    display: block;
    position: relative;
}

.product-detail__image-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__zoom-hint {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.product-detail__zoom-hint svg {
    width: 1.1rem;
    height: 1.1rem;
}

.product-detail__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-detail__gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.product-detail__gallery-nav--prev { left: 0.75rem; }
.product-detail__gallery-nav--next { right: 0.75rem; }

.product-detail__wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: none;
    background: #fff;
    color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.product-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-detail__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: #f5ebe3;
    color: #96633f;
    font-size: 0.6875rem;
    font-weight: 700;
}

.product-detail__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .product-detail__title {
        font-size: 1.75rem;
    }
}

.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-detail__stars {
    display: flex;
    gap: 0.1rem;
}

.product-detail__star {
    width: 0.875rem;
    height: 0.875rem;
    fill: #d1d5db;
}

.product-detail__star--filled {
    fill: #fbbf24;
}

.product-detail__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
}

.product-detail__unit-price {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.product-detail__price-old {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-detail__price {
    font-size: 2rem;
    font-weight: 700;
    color: #96633f;
    line-height: 1;
}

.product-detail__discount {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: #f37021;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
}

.product-detail__shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.product-detail__option {
    margin-bottom: 1rem;
}

.product-detail__option-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-detail__variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-detail__variant-btn {
    min-width: 5.5rem;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.product-detail__variant-btn--active {
    border-color: #96633f;
    color: #96633f;
    background: #f7faf7;
}

.product-detail__variant-btn--sold-out,
.product-detail__variant-btn:disabled {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.product-detail__variant-btn--sold-out.product-detail__variant-btn--active {
    border-color: #e5e7eb;
    color: #9ca3af;
    background: #f3f4f6;
}

.product-detail__quantity {
    margin-bottom: 1.25rem;
}

.product-detail__quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    border: 1.5px solid #d1d5db;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.product-detail__quantity-control button {
    width: 3rem;
    height: 3rem;
    border: none;
    background: #fff;
    color: #374151;
    font-size: 1.25rem;
    cursor: pointer;
}

.product-detail__quantity-control span {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.product-detail__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-detail__btn {
    border: none;
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.product-detail__btn--cart {
    background: #96633f;
    color: #fff;
}

.product-detail__btn--cart:hover {
    background: #7a5033;
}

.product-detail__btn--buy {
    background: #f37021;
    color: #fff;
}

.product-detail__btn--buy:hover {
    background: #e0651a;
}

.product-detail__cross-sell {
    border: 1px solid #ececec;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.product-detail__cross-sell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.product-detail__cross-sell-header h2 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.product-detail__cross-sell-nav {
    display: flex;
    gap: 0.35rem;
}

.product-detail__cross-arrow {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #374151;
}

.product-detail__cross-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.product-detail__cross-item {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    min-width: 16rem;
    text-decoration: none;
    color: inherit;
}

.product-detail__cross-thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #f9fafb;
}

.product-detail__cross-body {
    min-width: 0;
}

.product-detail__cross-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.product-detail__cross-price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #96633f;
}

.product-detail__cross-cart {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #96633f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__promo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #f5ebe3;
    color: #96633f;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.product-detail__description h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-detail__description p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Ürün yorumları */
.product-reviews {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid #eadfcd;
}

.product-reviews__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.product-reviews__header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #2f241c;
}

.product-reviews__summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-reviews__score {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary, #96633f);
}

.product-reviews__summary-count {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.product-reviews__alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.product-reviews__alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.product-reviews__alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.product-reviews__notice {
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background: #faf7f3;
    border: 1px solid #ebdcd0;
    color: #5b4636;
    font-size: 0.875rem;
    line-height: 1.55;
}

.product-reviews__notice a {
    color: var(--color-primary, #96633f);
    font-weight: 700;
    text-decoration: underline;
}

.product-reviews__form {
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.15rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fffdfb 0%, #f8f3ec 100%);
    border: 1px solid #ebdcd0;
}

.product-reviews__form h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #2f241c;
}

.product-reviews__form-lead {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.product-reviews__stars-input {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.product-reviews__star-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #d6c4b4;
    cursor: pointer;
}

.product-reviews__star-btn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.product-reviews__star-btn.is-active {
    color: #f5c542;
}

.product-reviews__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #4b5563;
}

.product-reviews__field input,
.product-reviews__field textarea {
    width: 100%;
    border: 1px solid #e5d5c5;
    border-radius: 0.7rem;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-weight: 500;
    color: #1f2937;
    background: #fff;
}

.product-reviews__field textarea {
    resize: vertical;
    min-height: 6rem;
}

.product-reviews__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    padding: 0.65rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: var(--color-primary, #96633f);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.product-reviews__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.product-reviews__item {
    padding: 1rem 1.05rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #eadfcd;
}

.product-reviews__item-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.product-reviews__author {
    display: block;
    color: #2f241c;
    font-size: 0.9375rem;
}

.product-reviews__verified {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #15803d;
}

.product-reviews__item-title {
    margin: 0.45rem 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #2f241c;
}

.product-reviews__item-body {
    margin: 0.35rem 0 0;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.65;
}

.product-reviews__empty {
    margin: 0;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #faf7f3;
    color: #6b7280;
    font-size: 0.9rem;
}

.product-reviews__pagination {
    margin-top: 1.25rem;
}

/* Ürün görsel lightbox */
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(17, 24, 39, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-lightbox__toolbar {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-lightbox__zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    padding: 0.35rem 0.5rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-lightbox__zoom-controls button,
.product-lightbox__close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-lightbox__zoom-controls button {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
    line-height: 1;
}

.product-lightbox__zoom-controls .product-lightbox__zoom-reset {
    width: auto;
    padding: 0 0.75rem;
    font-size: 0.75rem;
}

.product-lightbox__zoom-controls span {
    min-width: 3rem;
    text-align: center;
}

.product-lightbox__close {
    width: 2.25rem;
    height: 2.25rem;
}

.product-lightbox__close svg {
    width: 1.1rem;
    height: 1.1rem;
}

.product-lightbox__stage {
    width: min(92vw, 56rem);
    height: min(78vh, 56rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
    user-select: none;
}

.product-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.product-lightbox__nav--prev { left: 1rem; }
.product-lightbox__nav--next { right: 1rem; }

.product-lightbox__nav svg {
    width: 1.25rem;
    height: 1.25rem;
}
