/* --- PRODUCT DETAILS GENEL --- */
.pd-breadcrumb {
    background: transparent;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}
.pd-breadcrumb a {
    color: #2ba40a;
    text-decoration: none;
}
.pd-breadcrumb a:hover {
    color: #52fb46;
}
.pd-breadcrumb span.active {
    color: #2e8500;
    font-weight: 700;
}
.pd-campaign-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    color: #000000;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.pd-info-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.pd-info-card-html {
    background: transparent;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.pd-brand {
    font-size: 18px;
    font-weight: 600;
    color: #ff7300;
    margin-bottom: 5px;
}
.pd-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}
.pd-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}
.pd-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0 15px 0;
}
.pd-old-price {
    font-size: 18px;
    color: #000000;
    text-decoration: line-through;
}
.pd-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff7847;
}
.pd-discount-badge {
    background: #00b894;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}
.pd-campaign {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.pd-campaign-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-campaign-text {
    font-size: 13px;
    opacity: 0.95;
}
.pd-variant-section {
    margin-bottom: 25px;
}
.pd-variant-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.pd-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-color-option {
    position: relative;
}
.pd-color-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.pd-color-option label {
    display: block;
    width: 45px;
    height: 45px;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}
.pd-color-option input[type="radio"]:checked + label {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ff6b35;
}
.pd-color-option input[type="radio"]:disabled + label {
    opacity: 0.3;
    cursor: not-allowed;
}
.pd-size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-size-option {
    position: relative;
}
.pd-size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.pd-size-option label {
    display: block;
    min-width: 50px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-weight: 500;
}
.pd-size-option label:hover {
    border-color: #ff6b35;
}
.pd-size-option input[type="radio"]:checked + label {
    border-color: #ff6b35;
    color: #ff6b35;
}
.pd-size-option input[type="radio"]:disabled + label {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}
.pd-quantity {
    display: flex;
    align-items: center;
    gap: 25px;
}
.pd-quantity-controls {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}
.pd-mobile-qty input[type="number"]::-webkit-inner-spin-button, .pd-mobile-qty input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pd-mobile-qty input[type="number"] {
    -moz-appearance: textfield;
}
.pd-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #bddfb3;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}
.pd-qty-btn:hover {
    background: #87c48e;
}
.pd-qty-input[type="number"]::-webkit-inner-spin-button, .pd-qty-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pd-qty-input[type="number"] {
    -moz-appearance: textfield;
}
.pd-qty-input {
    width: 60px;
    border: none;
    border-left: 2px solid #e0e0e0;
    border-right: 2px solid #e0e0e0;
    text-align: center;
    font-weight: 700;
}
.pd-add-to-cart {
    width: 100%;
    max-width: 300px;
    background: #187416;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.pd-add-to-cart:hover {
    background: #5da93d;
}
.pd-add-to-cart.added {
    background: #00b894;
}
.pd-add-to-cart.added:hover {
    background: #00a383;
}
.pd-favorite-btn {
    width: 100%;
    background: #fff;
    color: #333;
    border: 2px solid #e0e0e0;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.pd-favorite-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}
.pd-tabs {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}
.pd-tabs .nav-tabs {
    border-bottom: 2px solid #f0f0f0;
    padding: 0;
}
.pd-tabs .nav-tabs .nav-link {
    padding: 18px 30px;
    border: none;
    background: #34b11b;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #a91919;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 0;
}
.pd-tabs .nav-tabs .nav-link:hover {
    color: #ff6b35;
    border-color: transparent;
}
.pd-tabs .nav-tabs .nav-link.active {
    color: #08ba25;
    border-bottom-color: #42a60c;
    background: none;
}
.pd-tabs .tab-content {
    padding: 25px;
}
.pd-tabs .tab-content img {
    width: 100%;
}
.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}
.pd-feature-item {
    background: #f8f8f8;
    padding: 18px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.pd-feature-item:hover {
    background: #f0f0f0;
}
.pd-feature-label {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}
.pd-feature-value {
    color: #9a4c4c;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
}
.pd-review-item {
    padding: 20px 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #f0f0f0;
}
.pd-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.pd-reviewer-name {
    font-weight: 600;
    color: #333;
}
.pd-review-date {
    color: #999;
    font-size: 13px;
}
.pd-similar-products {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.pd-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}
/* --- UPSELL (Bunları da beğenebilirsiniz) Bloğu --- */
.pd-bundle {
    margin: 15px 0px;
}

.pd-bundle-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.pd-bundle-title i {
    color: #ff6b35;
    margin-right: 4px;
}

.pd-bundle-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.pd-bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 10px;
}

.pd-bundle-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pd-bundle-item-img-link { flex-shrink: 0; }

.pd-bundle-item-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.pd-bundle-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-bundle-item-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-bundle-item-title:hover { color: #ff6b35; }

.pd-bundle-item-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pd-bundle-item-old-price {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.pd-bundle-item-new-price {
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f;
}

.pd-bundle-item-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.pd-bundle-item-cart-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-bundle-item-cart-btn:hover { background: #e55a2b; }

.pd-bundle-item-cart-btn i {
    margin: 0;
    pointer-events: none;
}

.pd-bundle-title i {
    color: #ff6b35;
    margin-right: 4px;
}

.pd-bundle-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pd-bundle-item-img-link { flex-shrink: 0; }

.pd-bundle-item-title:hover { color: #ff6b35; }

.pd-bundle-item-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.pd-bundle-item-cart-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-bundle-item-cart-btn:hover { background: #e55a2b; }

.pd-bundle-item-cart-btn i {
    margin: 0;
    pointer-events: none;
}

.pd-bundle-swiper .pd-bundle-item { height: 100%; }

.pd-bundle-products .pd-bundle-item-img { width: 70px; height: 70px; }
.pd-bundle-products .pd-bundle-item-title { font-size: 13px; }
.pd-bundle-products .pd-bundle-item-new-price { font-size: 14px; }
.pd-bundle-products .pd-bundle-item-cart-btn { width: 38px; height: 38px; font-size: 15px; }


/* Mobil Swiper ayarları */
.pd-bundle-swiper .pd-bundle-item { height: 100%; }

/* Desktop grid: 3 kolon */
.pd-bundle-products { grid-template-columns: repeat(3, 1fr); }

.pd-bundle-products .pd-bundle-item-img { width: 70px; height: 70px; }
.pd-bundle-products .pd-bundle-item-title { font-size: 13px; }
.pd-bundle-products .pd-bundle-item-new-price { font-size: 14px; }
.pd-bundle-products .pd-bundle-item-cart-btn { width: 38px; height: 38px; font-size: 15px; }
.pd-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.pd-mobile-bar-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pd-mobile-price {
    flex: 1;
}
.pd-mobile-price-amount {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}
.pd-mobile-qty {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}
.pd-mobile-qty button {
    width: 35px;
    height: 35px;
    border: none;
    background: #ffffff;
    color: #333;
    cursor: pointer;
}
.pd-mobile-qty input {
    width: 45px;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    font-weight: 600;
}
.pd-mobile-add-btn {
    flex: 0 0 35%;
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .pd-quantity, .pd-add-to-cart {
        display: none;
    }
    .pd-price-box {
        margin-bottom: 0;
    }
    .pd-mobile-bar {
        display: block;
    }
    body {
        padding-bottom: 80px;
    }
    .pd-title {
        font-size: 20px;
    }
    .pd-price {
        font-size: 20px;
    }
    .pd-tabs .nav-tabs .nav-link {
        padding: 15px 20px;
        font-size: 14px;
    }
    .pd-tabs .tab-content {
        padding: 20px 15px;
    }
    .cargo-countdown-container {
        padding: 15px;
    }
    .cargo-countdown-container > div {
        flex-direction: column;
        text-align: center;
    }
    #cargo-time-display {
        font-size: 20px;
    }
}
#mainSwiper {
    background: none;
    border-radius: 8px;
    -webkit-user-select: none;
}
#mainSwiper, #mainSwiper .swiper-wrapper, #mainSwiper .swiper-slide {
    width: 100% !important;
}
#mainSwiper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}
#thumbsSwiper {
    margin-top: 12px;
}
#thumbsSwiper .swiper-slide {
    width: 80px !important;
    height: 80px !important;
    opacity: 0.6;
    cursor: pointer;
}
#thumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
}
#thumbsSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.swiper-button-next, .swiper-button-prev {
    color: #ff6b35 !important;
}
.pd-color-option.out-of-stock label {
    position: relative !important;
    opacity: 0.5 !important;
}
.pd-color-option.out-of-stock label::after {
    content: ;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 140% !important;
    height: 2px !important;
    background: #ff0000 !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
    pointer-events: none !important;
    z-index: 10 !important;
}
.pd-size-option.out-of-stock label {
    position: relative !important;
    opacity: 0.5 !important;
    text-decoration: line-through !important;
    color: #999 !important;
}
.add-to-cart-btn.disabled, .pd-add-to-cart.disabled, button.out-of-stock {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}
input[type="number"]:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}
.campaign-box {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: start;
}
.campaign-box i {
    font-size: 1.2rem;
    margin-right: 10px;
    margin-top: 2px;
}
.campaign-link {
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}
.cargo-countdown-container {
    background: #e6ffcc;
    border-width: 2px;
    border-style: solid;
    border-color: #3e8e33;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    max-width: 470px;
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from: { opacity: 0; transform: translateY(-10px); };
    to: { opacity: 1; transform: translateY(0); };
}
.cargo-countdown-text-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cargo-countdown-text {
    font-size: 15px;
    color: #050505;
}
#cargo-time-display {
    color: #dc3545;
    font-size: 18px;
}
.cargo-progress-bar {
    position: relative;
}
.cargo-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: progressShine 2s ease-in-out 1;
}
@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
