/* GENEL */
.df-product-page {
      max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
    padding-right: 20px;
    padding-top: 20px;
    padding-left: 20px;
    background-color: #fff;
    padding-bottom: 20px;
    border-radius: 16px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* ─────────────────────────
   HERO
────────────────────────── */
.df-product-hero {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.df-product-hero__image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 350px;
}

.df-product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.df-product-sub {
    color: #666;
    margin-bottom: 20px;
}

.df-product-best {
    background: #f0f7ff;
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    border: 1px solid #cce2ff;
}

.df-product-best__label {
    font-weight: 600;
    color: #0056d6;
}

.df-product-best__price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

/* Trend Bilgisi */
.dp-product-trend {
    margin-bottom: 25px;
}

.dp-product-trend .trend {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
}

.trend.down {
    color: #d90000;
}

.trend.up {
    color: #0a9b00;
}

.gecerli.yes {
    color: #0a9b00;
    font-weight: 600;
}

.gecerli.no {
    color: #d90000;
    font-weight: 600;
}

/* Buton */
.df-btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.df-btn--primary {
    background: #0056d6;
    color: #fff;
}

.df-btn--primary:hover {
    background: #003c98;
}

/* ─────────────────────────
   FİYAT GRAFİĞİ
────────────────────────── */
.df-section--chart {
    margin: 50px 0;
}

.df-section--chart h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ─────────────────────────
   TABS
────────────────────────── */
.df-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    gap: 10px;
}

.df-tab-btn {
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #555;
}

.df-tab-btn--active {
    color: #0056d6;
    border-bottom: 3px solid #0056d6;
}

.df-tab-pane {
    display: none;
}

.df-tab-pane--active {
    display: block;
}

/* ─────────────────────────
   FİRMA FİYATLARI TABLOSU
────────────────────────── */
#df-price-table h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.df-price-header-row,
.df-price-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.df-price-header-row {
    background: #f7f9fc;
    font-weight: 600;
}

.df-price-row--best {
    background: #e9f5ff;
}

.df-firm-name {
    font-weight: 600;
}

.df-price-value {
    font-weight: 700;
    font-size: 16px;
}

.df-badge-best {
    background: #0056d6;
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Telefon kutusu */
.df-phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.df-btn-show-phone {
    padding: 5px 10px;
    font-size: 13px;
    border: 1px solid #0056d6;
    background: #fff;
    color: #0056d6;
    border-radius: 5px;
    cursor: pointer;
}

/* İşlem butonları */
.df-btn--call {
    background: #008a00;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
}

.df-btn--wa {
    background: #00c144;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
}

/* ─────────────────────────
   RESPONSIVE
────────────────────────── */
@media (max-width: 900px) {
    .df-product-hero {
        grid-template-columns: 1fr;
    }

    .df-price-header-row,
    .df-price-row {
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 10px;
    }

    .df-price-col--phone,
    .df-price-col--actions {
        grid-column: span 2;
    }
}

/* Sticky Sağ Panel */
.df-sticky-box {
    position: fixed;
    top: 90px;
    right: 20px;
    width: 260px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 9999;
    display: none;
}

.df-sticky-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.df-sticky-price {
    margin-bottom: 15px;
}

.df-sticky-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.df-sticky-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.df-sticky-buttons .df-btn {
    width: 100%;
    margin-top: 6px;
}

.df-sticky-trend {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
}

.df-sticky-trend .up { color: #0a7a0a; }
.df-sticky-trend .down { color: #d10000; }
.df-sticky-trend .neutral { color: #666; }

.df-price-header-row .df-sortable {
    cursor: pointer;
    user-select: none;
}

.df-price-header-row .df-sortable[data-order="asc"],
.df-price-header-row .df-sortable[data-order="desc"] {
    font-weight: 600;
}

.df-price-header-row .df-sortable[data-order="asc"]::after {
    content: " ▲";
    font-size: 11px;
}

.df-price-header-row .df-sortable[data-order="desc"]::after {
    content: " ▼";
    font-size: 11px;
}


.df-modal {
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.55);
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center !important;
    place-items: center !important;
}

.df-modal-content {
    background: #fff;
    padding: 25px;
    width: 350px;
    border-radius: 10px;
    position: relative;
}

.df-modal-close {
    position: absolute;
    top: 10px; right: 15px;
    cursor: pointer;
    font-size: 20px;
}

#dfPriceAlertForm input {
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
/* === FİYAT ALARMI POPUP === */

.df-modal {
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.60);
    backdrop-filter: blur(2px);
}

.df-modal-content {
    background: #fff;
    width: 380px;
    padding: 25px 30px;
    border-radius: 12px;
    position: relative;
    animation: df-fade-in .25s ease-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@keyframes df-fade-in {
    from { opacity: 0; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1); }
}

.df-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.df-modal-content h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
}

#dfPriceAlertForm label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: #555;
}

#dfPriceAlertForm input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 15px;
}

.df-btn--secondary,
.df-btn--primary {
    text-align: center;
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 8px;
}

.df-section-similar {
    margin-top: 60px;
}

.df-similar-carousel {
    margin-top: 20px;
}

.df-similar-item {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
    transition: .2s;
}

.df-similar-item:hover {
    transform: translateY(-5px);
}

.df-similar-img img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.df-similar-title {
    font-size: 15px;
    margin-top: 10px;
    min-height: 40px;
    font-weight: 600;
}

.df-similar-price {
    margin-top: 8px;
    font-size: 16px;
    color: #2a7d2e;
    font-weight: bold;
}
.df-section-similar {
    margin-top: 60px;
}

.df-similar-carousel {
    margin-top: 20px;
}

.df-similar-carousel .slick-slide {
    padding: 10px;
}

.df-similar-item {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: .2s;
}

.df-similar-item:hover {
    transform: translateY(-4px);
}

.df-similar-img {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fafafa;
    border-radius: 8px;
}

.df-similar-img img {
    max-height: 140px;
    object-fit: contain;
}

.df-similar-title {
    margin-top: 10px;
    font-weight: 600;
    font-size: 15px;
    min-height: 40px;
}

.df-similar-price {
    margin-top: 5px;
    font-weight: 700;
    color: #188a18;
    font-size: 16px;
}
/* ---- Carousel Okları ---- */
.df-arrow-left,
.df-arrow-right {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 40%;
    z-index: 10;
    cursor: pointer;
    transition: 0.2s;
}

.df-arrow-left:hover,
.df-arrow-right:hover {
    background: #f5f5f5;
}

/* ← Ok */
.df-arrow-left::before {
    content: "\276E"; /* ❮ */
    font-size: 20px;
    color: #333;
}

/* → Ok */
.df-arrow-right::before {
    content: "\276F"; /* ❯ */
    font-size: 20px;
    color: #333;
}

/* Konumlandırma */
.slick-prev.df-arrow-left {
    left: -50px;
}

.slick-next.df-arrow-right {
    right: -50px;
}

/* Mobil için butonları içe al */
@media (max-width: 768px) {
    .slick-prev.df-arrow-left {
        left: -10px;
    }
    .slick-next.df-arrow-right {
        right: -10px;
    }
}

.df-breadcrumb {
    margin: 10px 0 20px;
}

.df-breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.df-breadcrumb li {
    display: flex;
    align-items: center;
    color: #333;
}

.df-breadcrumb li a {
    color: #666;
    text-decoration: none;
    transition: .2s;
}

.df-breadcrumb li a:hover {
    color: #d1005a; /* Senin sitenin pembe tonu varsa buraya girer */
}

.df-breadcrumb li + li:before {
    content: ">";
    margin: 0 8px;
    color: #999;
}

.df-breadcrumb li.active span {
    color: #111;
    font-weight: 600;
}

.dp-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.dp-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    transition: .25s;
}

.dp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dp-thumb {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.dp-title {
    margin-top: 10px;
    font-size: 15px;
}

.dp-price {
    margin-top: 6px;
    color: #C2185B;
    font-weight: bold;
}
