.three-product-detail-page {
    padding-top: 28px;
}

.three-product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 18px;
}

.three-product-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 900;
}

.three-product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 28px;
    align-items: start;
}

.three-product-gallery,
.three-product-summary,
.three-product-tabs {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.three-product-gallery {
    padding: 18px;
}

.three-product-main-image {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #f8fafc;
    border-radius: 22px;
    overflow: hidden;
}

.three-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.three-product-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 54px;
    font-weight: 950;
    color: #cbd5e1;
}

.three-product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.three-product-thumb {
    width: 76px;
    height: 76px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
    cursor: pointer;
}

.three-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.three-product-summary {
    padding: 24px;
}

.three-product-market {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 10px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 950;
    font-size: 12px;
    margin-bottom: 12px;
}

.three-product-summary h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    color: #0f172a;
}

.three-product-brand {
    color: #64748b;
    margin-bottom: 12px;
}

.three-product-short {
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
}

.three-product-price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 18px 0;
}

.three-product-price-line strong {
    color: #2563eb;
    font-size: 34px;
    font-weight: 950;
}

.three-product-price-line del {
    color: #94a3b8;
    font-size: 18px;
}

.three-product-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.three-product-meta-grid span {
    display: grid;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    color: #334155;
}

.three-product-meta-grid b {
    color: #64748b;
    font-size: 12px;
}

.three-product-cart-form {
    display: flex;
    gap: 12px;
    align-items: end;
    margin-top: 18px;
}

.three-product-cart-form label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    font-weight: 950;
}

.three-product-cart-form input {
    width: 96px;
    height: 46px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 12px;
}

.three-product-cart-form .three-btn {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    padding: 0 22px;
    font-weight: 950;
    cursor: pointer;
}

.three-product-cart-form .three-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.three-product-tabs {
    margin-top: 24px;
    padding: 24px;
}

.three-product-tabs h2 {
    margin-top: 0;
    color: #0f172a;
}

.three-product-tabs .content-html {
    color: #334155;
    line-height: 1.75;
}

@media (max-width: 980px) {
    .three-product-detail-layout {
        grid-template-columns: 1fr;
    }

    .three-product-summary {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .three-product-meta-grid,
    .three-product-cart-form {
        grid-template-columns: 1fr;
        display: grid;
    }

    .three-product-cart-form input,
    .three-product-cart-form .three-btn {
        width: 100%;
    }
}

/* 3E product detail compact modern UI */
.three-product-detail-layout {
    grid-template-columns: minmax(360px, 500px) minmax(0, 1fr) !important;
    gap: 24px !important;
}

.three-product-gallery {
    padding: 16px !important;
    border-radius: 26px !important;
}

.three-product-main-image {
    height: 430px !important;
    aspect-ratio: auto !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 36%),
        #f8fafc !important;
}

.three-product-main-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 92% !important;
    max-height: 390px !important;
    object-fit: contain !important;
    padding: 18px !important;
}

.three-product-thumbs {
    gap: 8px !important;
    padding-bottom: 2px !important;
}

.three-product-thumb {
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px !important;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.three-product-thumb:hover {
    border-color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .12);
}

.three-product-summary {
    border-radius: 26px !important;
    padding: 24px !important;
}

.three-product-summary h1 {
    font-size: clamp(25px, 2.3vw, 36px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.025em;
}

.three-product-price-line {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 14px 16px;
}

.three-product-price-line strong {
    font-size: 30px !important;
}

.three-product-info-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 16px;
}

.three-product-info-card h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 950;
}

.three-product-spec-list {
    display: grid;
    gap: 8px;
}

.three-product-spec-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.three-product-spec-list span {
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.three-product-spec-list strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
    text-align: right;
    word-break: break-word;
}

.three-product-spec-list small {
    color: #64748b;
    font-weight: 800;
}

.three-product-spec-list .stock-ok {
    color: #16a34a;
}

.three-product-spec-list .stock-no {
    color: #dc2626;
}

.three-product-cart-form {
    background: #0f172a;
    border-radius: 22px;
    padding: 14px;
    align-items: end !important;
}

.three-product-cart-form label {
    color: #cbd5e1 !important;
}

.three-product-cart-form input {
    background: #fff;
}

.three-product-cart-form .three-btn {
    background: #2563eb !important;
    min-width: 180px;
}

.three-product-tabs {
    border-radius: 26px !important;
}

@media (max-width: 1100px) {
    .three-product-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .three-product-gallery {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .three-product-main-image {
        height: 390px !important;
    }
}

@media (max-width: 560px) {
    .three-product-main-image {
        height: 300px !important;
    }

    .three-product-main-image img {
        max-height: 270px !important;
        padding: 12px !important;
    }

    .three-product-cart-form {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .three-product-cart-form .three-btn {
        width: 100%;
        min-width: 0;
    }
}


/* 3E product tabs: açıklama + yorumlar */
.three-product-tabs {
    overflow: hidden;
}

.three-product-tab-head {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin: -4px -4px 18px;
    padding: 4px 4px 0;
}

.three-product-tab-btn {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 950;
    padding: 0 16px;
    border-radius: 14px 14px 0 0;
    cursor: pointer;
    position: relative;
}

.three-product-tab-btn.active {
    color: #2563eb;
    background: #eff6ff;
}

.three-product-tab-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 6px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
}

.three-product-tab-panel {
    display: none;
}

.three-product-tab-panel.active {
    display: block;
}

.three-empty-reviews {
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    color: #64748b;
}

.three-empty-reviews h3 {
    margin: 0 0 6px;
    color: #0f172a;
}

.three-review-list {
    display: grid;
    gap: 12px;
}

.three-review-card {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.three-review-card > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.three-review-card strong {
    color: #0f172a;
}

.three-review-card span {
    color: #f59e0b;
    letter-spacing: 1px;
}

.three-review-card p {
    margin: 8px 0 0;
    color: #475569;
    line-height: 1.6;
}


/* 3E product related products */
.three-related-products {
    margin-top: 26px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06);
}

.three-related-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}

.three-related-head span {
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.three-related-head h2 {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}

.three-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.three-related-card {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.three-related-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
}

.three-related-image {
    height: 180px;
    display: grid;
    place-items: center;
    background: #f8fafc;
    text-decoration: none;
}

.three-related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform .18s ease;
}

.three-related-card:hover .three-related-image img {
    transform: scale(1.035);
}

.three-related-no-image {
    color: #cbd5e1;
    font-size: 34px;
    font-weight: 950;
}

.three-related-info {
    display: grid;
    gap: 8px;
    padding: 14px;
    flex: 1;
}

.three-related-title {
    min-height: 40px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 950;
    line-height: 1.35;
}

.three-related-info small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.three-related-info strong {
    margin-top: 4px;
    color: #2563eb;
    font-size: 18px;
    font-weight: 950;
}

.three-related-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    margin-top: 4px;
}

@media (max-width: 1180px) {
    .three-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .three-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .three-related-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .three-related-grid {
        grid-template-columns: 1fr;
    }
}


/* 3E related products carousel override */
.three-related-products {
    margin-top: 30px !important;
    padding: 22px !important;
    overflow: hidden !important;
}

.three-related-head {
    align-items: center !important;
    margin-bottom: 16px !important;
}

.three-related-controls {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.three-related-nav {
    width: 42px;
    height: 42px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
    transition: all .18s ease;
}

.three-related-nav:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-1px);
}

.three-related-nav:disabled {
    opacity: .35;
    cursor: not-allowed;
    transform: none;
}

.three-related-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 16px !important;
    margin: 0 -4px;
    scrollbar-width: thin;
}

.three-related-card {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    min-width: 240px !important;
    max-width: 310px !important;
    scroll-snap-align: start;
    border-radius: 20px !important;
}

.three-related-image {
    height: 155px !important;
    background: #f8fafc !important;
}

.three-related-image img {
    padding: 12px !important;
}

.three-related-info {
    padding: 12px !important;
    gap: 7px !important;
}

.three-related-title {
    min-height: 42px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a !important;
}

.three-related-info small {
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.three-related-info strong {
    font-size: 17px !important;
}

.three-related-button {
    min-height: 38px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
}

@media (max-width: 1180px) {
    .three-related-card {
        flex-basis: calc((100% - 32px) / 3) !important;
    }
}

@media (max-width: 760px) {
    .three-related-card {
        flex-basis: calc((100% - 16px) / 2) !important;
        min-width: 210px !important;
    }

    .three-related-image {
        height: 140px !important;
    }
}

@media (max-width: 480px) {
    .three-related-card {
        flex-basis: 82% !important;
        min-width: 220px !important;
    }

    .three-related-head {
        display: grid !important;
        gap: 12px;
    }
}


/* 3E related products final carousel */
.three-related-carousel {
    margin-top: 30px !important;
    padding: 22px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .06) !important;
    overflow: hidden !important;
}

.three-related-carousel .three-related-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
}

.three-related-carousel .three-related-head span {
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.three-related-carousel .three-related-head h2 {
    margin: 4px 0 0 !important;
    color: #0f172a !important;
    font-size: 24px !important;
    font-weight: 950 !important;
}

.three-related-carousel .three-related-controls {
    display: inline-flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.three-related-carousel .three-related-nav {
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #dbe3ee !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06) !important;
    transition: all .18s ease !important;
}

.three-related-carousel .three-related-nav:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.three-related-carousel .three-related-nav:disabled {
    opacity: .35 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.three-related-carousel .three-related-viewport {
    overflow: hidden !important;
    width: 100% !important;
}

.three-related-carousel .three-related-track {
    display: flex !important;
    gap: 16px !important;
    transition: transform .28s ease !important;
    will-change: transform !important;
}

.three-related-carousel .three-related-card {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.three-related-carousel .three-related-card:hover {
    transform: translateY(-3px) !important;
    border-color: #93c5fd !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .10) !important;
}

.three-related-carousel .three-related-image {
    height: 170px !important;
    width: 100% !important;
    display: grid !important;
    place-items: center !important;
    background: #f8fafc !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.three-related-carousel .three-related-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 14px !important;
    transition: transform .18s ease !important;
}

.three-related-carousel .three-related-card:hover .three-related-image img {
    transform: scale(1.035) !important;
}

.three-related-carousel .three-related-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 13px !important;
    flex: 1 !important;
    min-height: 178px !important;
}

.three-related-carousel .three-related-title {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 950 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    max-height: 38px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.three-related-carousel .three-related-meta {
    display: grid !important;
    gap: 3px !important;
    min-height: 32px !important;
}

.three-related-carousel .three-related-meta span {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.three-related-carousel .three-related-bottom {
    margin-top: auto !important;
    display: grid !important;
    gap: 9px !important;
}

.three-related-carousel .three-related-bottom strong {
    color: #2563eb !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}

.three-related-carousel .three-related-button {
    min-height: 40px !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    background: #0f172a !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

@media (max-width: 1180px) {
    .three-related-carousel .three-related-card {
        flex-basis: calc((100% - 32px) / 3) !important;
    }
}

@media (max-width: 760px) {
    .three-related-carousel .three-related-card {
        flex-basis: calc((100% - 16px) / 2) !important;
    }

    .three-related-carousel .three-related-image {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .three-related-carousel .three-related-head {
        display: grid !important;
    }

    .three-related-carousel .three-related-card {
        flex-basis: 86% !important;
    }
}


/* 3E product detail final modern polish */
.three-product-detail-page.three-container,
.three-product-detail-page {
    width: min(100% - 56px, 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 34px !important;
    padding-bottom: 46px !important;
}

.three-product-breadcrumb {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.three-product-detail-layout {
    display: grid !important;
    grid-template-columns: 420px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
}

.three-product-gallery {
    padding: 18px !important;
    border-radius: 28px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .055) !important;
}

.three-product-main-image {
    height: 390px !important;
    aspect-ratio: auto !important;
    border-radius: 22px !important;
    background: linear-gradient(145deg, #f8fafc, #ffffff) !important;
}

.three-product-main-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 92% !important;
    max-height: 350px !important;
    object-fit: contain !important;
    padding: 18px !important;
}

.three-product-summary {
    padding: 28px !important;
    border-radius: 28px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .055) !important;
}

.three-product-summary h1 {
    max-width: 760px !important;
    margin: 0 0 16px !important;
    font-size: clamp(28px, 2.2vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    color: #0f172a !important;
}

.three-product-price-line {
    width: fit-content !important;
    min-width: 220px !important;
    margin: 16px 0 18px !important;
    padding: 13px 18px !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.three-product-price-line strong {
    font-size: 30px !important;
    line-height: 1 !important;
    color: #2563eb !important;
}

.three-product-info-card {
    max-width: 760px !important;
    margin-top: 16px !important;
    padding: 16px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
}

.three-product-info-card h3 {
    margin: 0 0 12px !important;
    font-size: 15px !important;
}

.three-product-spec-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.three-product-spec-list div {
    min-height: 40px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
}

.three-product-cart-form {
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 18px !important;
    padding: 12px !important;
    display: inline-flex !important;
    align-items: end !important;
    gap: 12px !important;
    border-radius: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.three-product-cart-form label {
    color: #475569 !important;
    font-size: 12px !important;
}

.three-product-cart-form input {
    width: 84px !important;
    height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
}

.three-product-cart-form .three-btn {
    min-width: 160px !important;
    min-height: 44px !important;
    padding: 0 20px !important;
    border-radius: 14px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 950 !important;
}

.three-product-tabs {
    margin-top: 28px !important;
    padding: 22px !important;
    border-radius: 28px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .045) !important;
}

.three-product-tab-head {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.three-product-tab-btn {
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 14px 14px 0 0 !important;
}

.three-product-tab-panel .content-html {
    max-width: 980px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}

.three-product-tab-panel .content-html ul {
    margin-top: 0 !important;
    padding-left: 22px !important;
}

.three-related-carousel {
    margin-top: 28px !important;
}

@media (max-width: 1100px) {
    .three-product-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .three-product-gallery {
        max-width: 520px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .three-product-summary {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .three-product-detail-page.three-container,
    .three-product-detail-page {
        width: min(100% - 28px, 1320px) !important;
        padding-top: 22px !important;
    }

    .three-product-main-image {
        height: 300px !important;
    }

    .three-product-summary {
        padding: 18px !important;
    }

    .three-product-spec-list {
        grid-template-columns: 1fr !important;
    }

    .three-product-cart-form {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .three-product-cart-form input,
    .three-product-cart-form .three-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}


/* 3E product image lightbox + modern related image + add/buy buttons */
.three-product-main-image img,
.three-product-thumb img,
.three-related-carousel .three-related-image img {
    cursor: zoom-in !important;
}

/* İlgili ürün görselleri tam görünsün, kesilmesin. */
.three-related-carousel .three-related-image {
    height: 190px !important;
    background: #f8fafc !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

.three-related-carousel .three-related-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 92% !important;
    max-height: 165px !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 12px !important;
}

/* Sepete Ekle + Hemen Al butonları */
.three-product-cart-form {
    width: fit-content !important;
    max-width: 100% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.three-product-action-buttons {
    display: inline-flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.three-product-action-buttons .three-btn {
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 0 20px !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.three-product-action-buttons .three-btn:hover {
    transform: translateY(-1px) !important;
}

.three-add-cart-btn {
    background: #2563eb !important;
    color: #fff !important;
}

.three-buy-now-btn {
    background: #0f172a !important;
    color: #fff !important;
}

.three-add-cart-btn.is-added {
    background: #16a34a !important;
}

/* Lightbox */
.three-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: rgba(2, 6, 23, .82);
    backdrop-filter: blur(8px);
}

.three-image-lightbox.active {
    display: flex;
}

.three-image-lightbox img {
    max-width: min(96vw, 1180px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 24px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.three-image-lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.three-cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99998;
    min-width: 230px;
    max-width: 340px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.three-cart-toast.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .three-product-action-buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .three-product-action-buttons .three-btn {
        width: 100% !important;
    }

    .three-image-lightbox {
        padding: 18px;
    }

    .three-image-lightbox img {
        border-radius: 18px;
        padding: 10px;
    }
}


/* 3E product action button text colors */
.three-product-action-buttons .three-add-cart-btn,
.three-product-cart-form .three-add-cart-btn {
    color: #22c55e !important;
}

.three-product-action-buttons .three-buy-now-btn,
.three-product-cart-form .three-buy-now-btn {
    color: #ef4444 !important;
}


/* 3E PRODUCT DETAIL PREMIUM FINAL */
.three-product-detail-page {
    --product-primary: var(--three-primary-color, #2563eb);
    --product-secondary: var(--three-secondary-color, #4f46e5);
    --product-button-text: var(--three-button-text, #ffffff);
    --product-buy-red: #dc2626;
    --product-buy-red-dark: #991b1b;
}

.three-product-detail-page.three-container,
.three-product-detail-page {
    width: min(100% - 56px, 1320px) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
    padding-top: 32px !important;
    padding-bottom: 52px !important;
}

.three-product-detail-layout {
    display: grid !important;
    grid-template-columns: 430px minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: stretch !important;
}

.three-product-gallery,
.three-product-summary,
.three-product-tabs,
.three-related-carousel {
    border: 1px solid #e2e8f0 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .08) !important;
}

.three-product-gallery {
    border-radius: 30px !important;
    padding: 18px !important;
}

.three-product-main-image {
    height: 420px !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--product-primary), transparent 86%), transparent 36%),
        linear-gradient(145deg, #f8fafc, #ffffff) !important;
}

.three-product-main-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 92% !important;
    max-height: 380px !important;
    object-fit: contain !important;
    padding: 18px !important;
}

.three-product-summary {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 30px !important;
    padding: 30px !important;
}

.three-product-summary::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, var(--product-primary), var(--product-secondary));
}

.three-product-summary h1 {
    margin: 0 0 18px !important;
    max-width: 780px !important;
    color: #0f172a !important;
    font-size: clamp(30px, 2.4vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
    font-weight: 1000 !important;
}

.three-product-price-line {
    width: fit-content !important;
    min-width: 230px !important;
    margin: 16px 0 20px !important;
    padding: 15px 18px !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #f8fbff, #ffffff) !important;
    border: 1px solid color-mix(in srgb, var(--product-primary), white 72%) !important;
}

.three-product-price-line strong {
    color: var(--product-primary) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 1000 !important;
}

.three-product-info-card {
    max-width: 780px !important;
    margin-top: 18px !important;
    padding: 17px !important;
    border-radius: 22px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
}

.three-product-info-card h3 {
    margin: 0 0 13px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 1000 !important;
}

.three-product-spec-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.three-product-spec-list div {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 15px !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
}

.three-product-cart-form {
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 20px !important;
    padding: 13px !important;
    display: inline-flex !important;
    align-items: end !important;
    gap: 12px !important;
    border-radius: 22px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.three-product-cart-form label {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.three-product-cart-form input {
    width: 86px !important;
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    font-weight: 900 !important;
}

.three-product-action-buttons {
    display: inline-flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.three-product-action-buttons .three-btn,
.three-product-cart-form .three-btn {
    min-width: 160px !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 15px !important;
    padding: 0 22px !important;
    color: #fff !important;
    font-weight: 1000 !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.three-product-action-buttons .three-btn:hover,
.three-product-cart-form .three-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14) !important;
}

.three-product-action-buttons .three-add-cart-btn,
.three-product-cart-form .three-add-cart-btn {
    background: linear-gradient(135deg, var(--product-primary), var(--product-secondary)) !important;
    color: var(--product-button-text) !important;
}

.three-product-action-buttons .three-buy-now-btn,
.three-product-cart-form .three-buy-now-btn {
    background: linear-gradient(135deg, #ef4444, var(--product-buy-red-dark)) !important;
    color: #fff !important;
}

.three-product-action-buttons .three-add-cart-btn.is-added,
.three-product-cart-form .three-add-cart-btn.is-added {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: #fff !important;
}

.three-product-tabs {
    margin-top: 30px !important;
    padding: 24px !important;
    border-radius: 30px !important;
    overflow: visible !important;
}

.three-product-tab-head {
    display: flex !important;
    gap: 8px !important;
    margin: 0 0 20px !important;
    padding: 0 0 1px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.three-product-tab-btn {
    min-height: 44px !important;
    padding: 0 19px !important;
    border: 0 !important;
    border-radius: 15px 15px 0 0 !important;
    background: transparent !important;
    color: #475569 !important;
    font-weight: 1000 !important;
}

.three-product-tab-btn.active {
    background: linear-gradient(135deg, var(--product-primary), var(--product-secondary)) !important;
    color: #fff !important;
}

.three-product-tab-btn.active span {
    background: rgba(255,255,255,.2) !important;
    color: #fff !important;
}

.three-product-tab-panel {
    max-height: none !important;
    overflow: visible !important;
}

.three-product-tab-panel.active {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}

.three-product-tab-panel .content-html {
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

.three-product-tab-panel .content-html p,
.three-product-tab-panel .content-html div,
.three-product-tab-panel .content-html li {
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
}

.three-review-card p {
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    color: #475569 !important;
    line-height: 1.7 !important;
}

.three-related-carousel .three-related-head span,
.three-related-carousel .three-related-bottom strong {
    color: var(--product-primary) !important;
}

.three-related-carousel .three-related-nav:hover,
.three-related-carousel .three-related-button {
    background: var(--product-primary) !important;
    border-color: var(--product-primary) !important;
    color: var(--product-button-text) !important;
}

@media (max-width: 1100px) {
    .three-product-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .three-product-gallery {
        max-width: 560px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 640px) {
    .three-product-detail-page.three-container,
    .three-product-detail-page {
        width: min(100% - 28px, 1320px) !important;
        padding-top: 22px !important;
    }

    .three-product-main-image {
        height: 310px !important;
    }

    .three-product-summary,
    .three-product-tabs {
        padding: 18px !important;
    }

    .three-product-spec-list {
        grid-template-columns: 1fr !important;
    }

    .three-product-cart-form,
    .three-product-action-buttons {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .three-product-cart-form input,
    .three-product-action-buttons .three-btn,
    .three-product-cart-form .three-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* Eski private fallback view için */
.product-detail {
    --product-primary: var(--three-primary-color, #2563eb);
    --product-secondary: var(--three-secondary-color, #4f46e5);
}

.product-detail .add-cart-box {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.product-detail .add-cart-box .three-add-cart-btn {
    background: linear-gradient(135deg, var(--product-primary), var(--product-secondary)) !important;
    color: #fff !important;
}

.product-detail .add-cart-box .three-buy-now-btn {
    background: linear-gradient(135deg, #ef4444, #991b1b) !important;
    color: #fff !important;
}

.product-detail .product-tabs,
.product-detail .content-html {
    max-height: none !important;
    overflow: visible !important;
}


/* 3E product review form core */
.three-review-form-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.three-review-form-card h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 1000;
}

.three-review-form-card > p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.three-review-form {
    display: grid;
    gap: 12px;
}

.three-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.three-review-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 950;
}

.three-review-form input,
.three-review-form select,
.three-review-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    outline: none;
    padding: 11px 12px;
}

.three-review-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.three-review-form input:focus,
.three-review-form select:focus,
.three-review-form textarea:focus {
    border-color: var(--product-primary, var(--three-primary-color, #2563eb));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--product-primary, #2563eb), transparent 86%);
}

.three-review-form small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.three-review-submit,
.three-review-login-btn {
    width: fit-content;
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--product-primary, var(--three-primary-color, #2563eb)), var(--product-secondary, var(--three-secondary-color, #4f46e5)));
    color: #fff !important;
    font-weight: 1000;
    text-decoration: none;
    cursor: pointer;
}

.three-review-blocked {
    border-radius: 14px;
    padding: 11px 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    font-weight: 900;
}

.three-review-card h4 {
    margin: 8px 0 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 1000;
}

@media (max-width: 640px) {
    .three-review-grid {
        grid-template-columns: 1fr;
    }

    .three-review-submit,
    .three-review-login-btn {
        width: 100%;
    }
}



/* 3E review popup only patch */
.three-review-popup-trigger-wrap {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.three-review-popup-trigger {
    min-height: 44px;
    border: 0;
    border-radius: 16px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--product-primary, var(--three-primary-color, #2563eb)), var(--product-secondary, var(--three-secondary-color, #4f46e5)));
    color: #fff;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .22);
}

.three-review-popup-ready > .three-review-form-card {
    display: none !important;
}

.three-review-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    padding: 18px;
}

.three-review-popup-overlay.is-open {
    display: grid;
    place-items: center;
}

.three-review-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(5px);
}

.three-review-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: min(92vh, 760px);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .32);
    overflow: hidden;
}

.three-review-popup-content {
    max-height: min(92vh, 760px);
    overflow: auto;
    padding: 20px;
}

.three-review-popup-content .three-review-form-card {
    display: block !important;
    margin-top: 0 !important;
    border: 0 !important;
    background: #fff !important;
    padding: 8px !important;
}

.three-review-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .three-review-popup-trigger-wrap,
    .three-review-popup-trigger {
        width: 100%;
    }

    .three-review-popup-overlay {
        padding: 10px;
    }

    .three-review-popup-content {
        padding: 14px;
    }
}



/* 3E review stars only patch */
.three-review-star-display {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    letter-spacing: 1px;
    font-weight: 1000;
    line-height: 1;
}

.three-review-star-display .is-empty {
    color: #cbd5e1;
}

.three-review-star-picker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
    margin-top: 2px;
}

.three-review-star-picker button {
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 30px;
    line-height: 1;
    padding: 0 1px;
    cursor: pointer;
    transition: transform .12s ease, color .12s ease;
}

.three-review-star-picker button.is-active {
    color: #f59e0b;
}

.three-review-star-picker button:hover {
    transform: translateY(-1px) scale(1.05);
}

.three-review-rating-native-hidden {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.three-review-rating-value {
    display: inline-flex;
    margin-left: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.three-review-rating-summary {
    display: grid;
    grid-template-columns: minmax(150px, 210px) 1fr;
    gap: 16px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #f8fafc;
}

.three-review-rating-score {
    display: grid;
    place-items: center;
    gap: 5px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.three-review-rating-score strong {
    color: #0f172a;
    font-size: 34px;
    font-weight: 1000;
    line-height: 1;
}

.three-review-rating-score span {
    color: #f59e0b;
    font-weight: 1000;
    letter-spacing: 1px;
}

.three-review-rating-score small {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.three-review-rating-bars {
    display: grid;
    gap: 8px;
    align-content: center;
}

.three-review-rating-bar-row {
    display: grid;
    grid-template-columns: 76px 1fr 32px;
    gap: 10px;
    align-items: center;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.three-review-rating-bar-row div {
    height: 9px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.three-review-rating-bar-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--product-primary, var(--three-primary-color, #2563eb)), var(--product-secondary, var(--three-secondary-color, #4f46e5)));
}

.three-review-rating-bar-row em {
    font-style: normal;
    color: #0f172a;
    text-align: right;
}

@media (max-width: 640px) {
    .three-review-rating-summary {
        grid-template-columns: 1fr;
    }

    .three-review-star-picker button {
        font-size: 28px;
    }
}



/* 3E simple review rating summary */
.three-review-rating-summary {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.three-review-rating-score {
    text-align: center;
    padding: 10px;
    border-radius: 14px;
    background: #f8fafc;
}

.three-review-rating-score strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    color: #111827;
}

.three-review-rating-score span {
    display: block;
    margin-top: 6px;
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 1px;
}

.three-review-rating-score small {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.three-review-rating-bars {
    display: grid;
    gap: 7px;
}

.three-review-rating-bar-row {
    display: grid;
    grid-template-columns: 64px 1fr 26px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 700;
}

.three-review-rating-bar-row div {
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
}

.three-review-rating-bar-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f59e0b;
}

.three-review-rating-bar-row em {
    font-style: normal;
    text-align: right;
    color: #111827;
}

.three-review-star-display {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f59e0b;
    letter-spacing: .5px;
    font-weight: 900;
    line-height: 1;
}

.three-review-star-display .is-empty {
    color: #d1d5db;
}

.three-review-star-picker {
    display: inline-flex;
    gap: 4px;
    margin-top: 4px;
}

.three-review-star-picker button {
    border: 0;
    background: transparent;
    color: #d1d5db;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 1px;
}

.three-review-star-picker button.is-active {
    color: #f59e0b;
}

.three-review-rating-native-hidden {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.three-review-rating-value {
    margin-left: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .three-review-rating-summary {
        grid-template-columns: 1fr;
    }
}



/* 3E review photo upload + carousel */
.three-review-image-upload {
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 12px;
    background: #f9fafb;
}
.three-review-image-upload input[type="file"] {
    margin-top: 8px;
    width: 100%;
}
.three-review-photo-carousel {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 2px;
    margin-top: 12px;
    max-width: 100%;
    scrollbar-width: thin;
}
.three-review-photo-thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    padding: 0;
    cursor: zoom-in;
}
.three-review-photo-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.three-review-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15,23,42,.76);
}
.three-review-photo-lightbox.is-open { display: flex; }
.three-review-photo-lightbox img {
    max-width: min(96vw, 1120px);
    max-height: 88vh;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.three-review-photo-lightbox-close,
.three-review-photo-lightbox-prev,
.three-review-photo-lightbox-next {
    position: fixed;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.three-review-photo-lightbox-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 26px;
}
.three-review-photo-lightbox-prev,
.three-review-photo-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    font-size: 28px;
}
.three-review-photo-lightbox-prev { left: 16px; }
.three-review-photo-lightbox-next { right: 16px; }
@media (max-width: 640px) {
    .three-review-photo-thumb { width: 66px; height: 66px; }
    .three-review-photo-lightbox-prev,
    .three-review-photo-lightbox-next { width: 38px; height: 38px; }
}



/* 3E compact review layout patch */
.three-product-tab-panel[data-panel="reviews"] .three-review-list {
    display: grid;
    gap: 14px;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-card {
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-card > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-card strong,
.three-product-tab-panel[data-panel="reviews"] .three-review-card h4 {
    margin: 0;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-card p {
    margin: 8px 0 0;
    line-height: 1.55;
    color: #374151;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-photo-carousel {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 0;
    margin-top: 12px;
    max-width: 100%;
    width: auto !important;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-photo-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-popup-trigger-wrap,
.three-product-tab-panel[data-panel="reviews"] .three-review-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 14px 0 !important;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-popup-trigger,
.three-product-tab-panel[data-panel="reviews"] .three-review-open-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
    box-shadow: none;
}

.three-product-tab-panel[data-panel="reviews"] .three-review-rating-summary {
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .three-product-tab-panel[data-panel="reviews"] .three-review-card {
        padding: 14px;
    }

    .three-product-tab-panel[data-panel="reviews"] .three-review-card > div:first-child {
        flex-direction: column;
        align-items: flex-start;
    }

    .three-product-tab-panel[data-panel="reviews"] .three-review-popup-trigger-wrap,
    .three-product-tab-panel[data-panel="reviews"] .three-review-actions {
        justify-content: stretch;
    }

    .three-product-tab-panel[data-panel="reviews"] .three-review-popup-trigger,
    .three-product-tab-panel[data-panel="reviews"] .three-review-open-btn {
        width: 100%;
    }
}



/* 3E nice review photo input */
.three-review-image-upload {
    display: block;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 14px;
    background: #f8fafc;
}

.three-review-image-upload-title {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.three-review-image-upload input[type="file"] {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.three-review-file-ui {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.three-review-file-button {
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.three-review-file-name {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.three-review-image-upload small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .three-review-file-ui {
        display: grid;
        gap: 8px;
    }

    .three-review-file-button {
        width: 100%;
    }
}

/*
 * Ürün Bilgileri final:
 * Gri köşeli kutular yok.
 * Yapı bozulmadan sade beyaz kart + ince satır listesi.
 */
body.three-theme-runtime-active .three-product-summary .three-product-info-card {
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
    border: 1px solid #e6edf5 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045) !important;
    overflow: hidden !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card h3 {
    margin: 0 !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #eef2f7 !important;
    color: #101827 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    letter-spacing: -.02em !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div {
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 11px 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div > span:first-child {
    min-width: 0 !important;
    color: #64748b !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
    text-align: left !important;
    text-transform: none !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div > strong:last-child {
    min-width: 0 !important;
    color: #101827 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
    text-align: left !important;
    word-break: break-word !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div a {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #0f65a9 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div:hover {
    transform: none !important;
    background: transparent !important;
    border-color: #eef2f7 !important;
    box-shadow: none !important;
}

@media (max-width: 640px) {
    body.three-theme-runtime-active .three-product-summary .three-product-info-card {
        padding: 14px 15px !important;
        border-radius: 14px !important;
    }

    body.three-theme-runtime-active .three-product-summary .three-product-info-card .three-product-spec-list > div {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }
}

/*
 * Ürün detay görsel büyütme final.
 * Tema CSS'i ezilmesin diye product.blade içinde en sona basılır.
 */
body.three-theme-runtime-active .three-product-gallery,
body.three-theme-runtime-active .three-product-gallery-card,
body.three-theme-runtime-active .product-gallery {
    padding: 12px !important;
}

body.three-theme-runtime-active .three-product-main-image,
body.three-theme-runtime-active .three-product-gallery .three-product-main-image,
body.three-theme-runtime-active .three-product-gallery [class*="main-image"],
body.three-theme-runtime-active .product-main-image,
body.three-theme-runtime-active .product-gallery-main {
    min-height: 560px !important;
    height: min(640px, 70vh) !important;
    padding: 18px !important;
    background: #F8FAFC !important;
    border: 1px solid #E4EBF5 !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body.three-theme-runtime-active .three-product-main-image img,
body.three-theme-runtime-active .three-product-gallery .three-product-main-image img,
body.three-theme-runtime-active .three-product-gallery [class*="main-image"] img,
body.three-theme-runtime-active .product-main-image img,
body.three-theme-runtime-active .product-gallery-main img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(0.94) !important;
    transform-origin: center center !important;
}

body.three-theme-runtime-active .three-product-main-image:hover img,
body.three-theme-runtime-active .three-product-gallery .three-product-main-image:hover img,
body.three-theme-runtime-active .three-product-gallery [class*="main-image"]:hover img,
body.three-theme-runtime-active .product-main-image:hover img,
body.three-theme-runtime-active .product-gallery-main:hover img {
    transform: scale(1.00) !important;
}

body.three-theme-runtime-active .three-product-thumb,
body.three-theme-runtime-active .three-product-thumbs button,
body.three-theme-runtime-active .product-thumb {
    width: 82px !important;
    height: 82px !important;
    padding: 18px !important;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid #E4EBF5 !important;
}

body.three-theme-runtime-active .three-product-thumb img,
body.three-theme-runtime-active .three-product-thumbs button img,
body.three-theme-runtime-active .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: scale(0.96) !important;
}

@media (max-width: 760px) {
    body.three-theme-runtime-active .three-product-main-image,
    body.three-theme-runtime-active .three-product-gallery .three-product-main-image,
    body.three-theme-runtime-active .three-product-gallery [class*="main-image"],
    body.three-theme-runtime-active .product-main-image,
    body.three-theme-runtime-active .product-gallery-main {
        min-height: 360px !important;
        height: 420px !important;
        padding: 18px !important;
    }

    body.three-theme-runtime-active .three-product-main-image img,
    body.three-theme-runtime-active .three-product-gallery .three-product-main-image img,
    body.three-theme-runtime-active .three-product-gallery [class*="main-image"] img,
    body.three-theme-runtime-active .product-main-image img,
    body.three-theme-runtime-active .product-gallery-main img {
        transform: scale(0.96) !important;
    }
}

.three-image-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 34px !important;
    background: rgba(2, 6, 23, .84) !important;
    backdrop-filter: blur(8px) !important;
}

.three-image-lightbox.active {
    display: flex !important;
}

.three-image-lightbox img {
    max-width: min(96vw, 1180px) !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 24px !important;
    background: #fff !important;
    padding: 18px !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35) !important;
}

.three-image-lightbox-close {
    position: fixed !important;
    top: 22px !important;
    right: 24px !important;
    width: 46px !important;
    height: 46px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #0f172a !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22) !important;
}

.three-product-main-image,
.three-product-main-image img {
    cursor: zoom-in !important;
}

.three-product-badge-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px;}
.three-product-badge-row span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:rgba(15,23,42,.88);color:#fff;font-size:12px;font-weight:950;line-height:1;box-shadow:0 10px 24px rgba(15,23,42,.14);}

.three-product-main-image img.three-product-fallback-image,
.three-related-image img.three-product-fallback-image {
    object-fit: contain !important;
    object-position: center !important;
    padding: 28% !important;
    background: linear-gradient(145deg, #f8fafc, #ffffff) !important;
}

/* Custom options gerçek yerleşim düzeltmesi */
.three-product-cart-form {
    width: 100% !important;
    max-width: 780px !important;
    margin-top: 20px !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
    border-radius: 22px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.three-product-purchase-row {
    display: flex !important;
    align-items: end !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.three-product-purchase-row > label {
    flex: 0 0 86px !important;
    width: 86px !important;
    margin: 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.three-product-purchase-row > label input {
    width: 86px !important;
    height: 46px !important;
}

.three-product-purchase-row .three-product-action-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 360px !important;
    min-width: 280px !important;
}

.three-product-purchase-row .three-product-action-buttons .three-btn {
    flex: 1 1 0 !important;
    min-width: 150px !important;
}

.three-product-custom-options {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .three-product-cart-form {
        max-width: 100% !important;
        padding: 13px !important;
        gap: 12px !important;
    }

    .three-product-purchase-row {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        align-items: end !important;
        gap: 10px !important;
    }

    .three-product-purchase-row > label {
        width: 82px !important;
        flex: none !important;
    }

    .three-product-purchase-row > label input {
        width: 82px !important;
    }

    .three-product-purchase-row .three-product-action-buttons {
        min-width: 0 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .three-product-purchase-row .three-product-action-buttons .three-btn {
        min-width: 0 !important;
        width: 100% !important;
        padding-inline: 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 420px) {
    .three-product-purchase-row {
        grid-template-columns: 1fr !important;
    }

    .three-product-purchase-row > label,
    .three-product-purchase-row > label input {
        width: 100% !important;
    }
}

/* Ürün seçenekleri artık satın alma satırının içinde değil, ürün bilgileri altındaki ayrı karttır. */
.three-product-summary > .three-product-cart-form,
.three-product-detail-page .three-product-summary .three-product-cart-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.three-product-summary .three-product-cart-form .three-product-custom-options {
    margin: 0 0 14px !important;
}

.three-product-purchase-card {
    display: flex !important;
    align-items: end !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 13px !important;
    border-radius: 22px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.three-product-purchase-card > label {
    display: grid !important;
    gap: 6px !important;
    flex: 0 0 86px !important;
    width: 86px !important;
    margin: 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

.three-product-purchase-card > label input,
.three-product-purchase-card input[name="quantity"] {
    width: 86px !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid #cbd5e1 !important;
    background: #fff !important;
    font-weight: 900 !important;
    padding: 0 12px !important;
}

.three-product-purchase-card .three-product-action-buttons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
}

.three-product-purchase-card .three-product-action-buttons .three-btn {
    min-width: 160px !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 15px !important;
    padding: 0 22px !important;
    color: #fff !important;
    font-weight: 950 !important;
    cursor: pointer !important;
}

.three-product-purchase-card .three-add-cart-btn {
    background: #0f6fb7 !important;
}

.three-product-purchase-card .three-buy-now-btn {
    background: #0f6fb7 !important;
}

.three-product-purchase-card .three-btn:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

.three-product-summary .three-product-custom-options input[type="text"],
.three-product-summary .three-product-custom-options textarea,
.three-product-summary .three-product-custom-options select {
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 640px) {
    .three-product-purchase-card {
        display: grid !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .three-product-purchase-card .three-product-action-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .three-product-purchase-card .three-product-action-buttons .three-btn {
        min-width: 0 !important;
        width: 100% !important;
        padding-inline: 10px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 430px) {
    .three-product-purchase-card {
        grid-template-columns: 1fr !important;
    }

    .three-product-purchase-card > label,
    .three-product-purchase-card > label input,
    .three-product-purchase-card input[name="quantity"] {
        width: 100% !important;
    }
}
