/* ============================================
   Product Detail Page - Parfumdreams Style
   Modern, Clean, Luxury Design
   ============================================ */

/* Product Info Container */
.pdp-info {
    padding: 0;
}

/* Brand Name - Top, Elegant */
.pdp-brand {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px 0;
}

/* Product Name - Large, Bold, Black */
.pdp-name {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin: 0 0 12px 0;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Product Type & Size */
.pdp-meta {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
    font-weight: 400;
    line-height: 1.5;
}

.pdp-meta span {
    display: inline;
}

.pdp-meta .separator {
    margin: 0 6px;
    color: #ccc;
}

/* Rating Section */
.pdp-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pdp-rating .stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 1px;
}

.pdp-rating .stars i {
    color: #f5a623;
}

.pdp-rating .count {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pdp-rating .count:hover {
    color: #000;
}

/* Stock Status */
.pdp-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #2e7d32;
}

.pdp-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
}

/* Price Section - Premium */
.pdp-price-section {
    margin: 20px 0;
    padding: 0;
    border: none;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pdp-price-current {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    font-family: 'Nunito Sans', -apple-system, sans-serif;
    letter-spacing: -0.5px;
}

.pdp-price-old {
    font-size: 15px;
    color: #777;
    text-decoration: line-through;
    font-weight: 400;
}

.pdp-discount-badge {
    display: inline-block;
    background: transparent;
    color: #c41e3a;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* Campaign Box - Elegant */
.pdp-campaign-box {
    background: #fff;
    border: 1px solid #000;
    padding: 16px 20px;
    margin: 20px 0;
}

.pdp-campaign-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.pdp-campaign-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Shipping Info */
.pdp-shipping {
    font-size: 13px;
    color: #666;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-shipping i {
    color: #000;
}

/* Add to Cart Button - Premium Black - Optimized for Touch */
.pdp-add-to-cart {
    width: 100%;
    min-height: 48px;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
    -webkit-tap-highlight-color: transparent;
}

.pdp-add-to-cart:hover {
    background: #333;
}

.pdp-add-to-cart:disabled {
    background: #e5e5e5;
    color: #999;
    cursor: not-allowed;
}

/* Countdown Timer - Elegant Minimal */
.pdp-countdown {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 20px 0;
    padding: 0;
    background: transparent;
}

.pdp-countdown-item {
    text-align: center;
}

.pdp-countdown-value {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    font-family: 'Nunito Sans', -apple-system, monospace;
    letter-spacing: -0.5px;
}

.pdp-countdown-label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Quantity Selector - Clean */
.pdp-quantity {
    margin: 16px 0;
}

.pdp-quantity-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.pdp-quantity-select {
    width: 100%;
    max-width: 120px;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.pdp-quantity-select:focus {
    outline: none;
    border-color: #000;
}

/* Tools (Share, Favorite) */
.pdp-tools {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.pdp-tool-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdp-tool-btn:hover {
    border-color: #000;
}

.pdp-tool-btn svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

/* Fixed Discount Banner */
.pdp-fixed-discount {
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
    text-align: center;
}

.pdp-fixed-discount-title {
    font-size: 14px;
    font-weight: 600;
    color: #33691e;
    margin-bottom: 4px;
}

.pdp-fixed-discount-text {
    font-size: 12px;
    color: #558b2f;
}

/* Mobile Sticky Bar - Premium */
.pdp-mobile-sticky {
    display: none;
}

@media (max-width: 991px) {
    .pdp-name {
        font-size: 20px;
    }

    .pdp-price-current {
        font-size: 24px;
    }

    .pdp-mobile-sticky {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .pdp-mobile-sticky-price {
        font-size: 18px;
        font-weight: 600;
        color: #000;
    }

    .pdp-mobile-sticky-btn {
        flex: 1;
        padding: 14px 24px;
        background: #000;
        color: #fff;
        border: none;
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        cursor: pointer;
    }
}

/* Trust Box - Güven Bilgileri - Minimal */
.pdp-trust-box {
    background: transparent;
    border: none;
    border-top: 1px solid #e8e8e8;
    padding: 16px 0;
    margin: 16px 0;
}

.pdp-trust-item {
    margin-bottom: 12px;
}

.pdp-trust-item:last-child {
    margin-bottom: 0;
}

.pdp-trust-question {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px 0;
}

.pdp-trust-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 10px 12px;
    background: #ecfdf5;
    border-radius: 4px;
}

.pdp-trust-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pdp-trust-list li {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
    position: relative;
    padding-left: 20px;
}

.pdp-trust-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 400;
}

.pdp-trust-list li:last-child {
    margin-bottom: 0;
}

/* Modern Accordion */
.pdp-accordion {
    margin-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.pdp-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.pdp-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.pdp-accordion-header:hover {
    color: #000;
}

.pdp-accordion-icon {
    transition: transform 0.2s ease;
    color: #666;
}

.pdp-accordion-item[data-accordion-open] .pdp-accordion-icon {
    transform: rotate(180deg);
}

.pdp-accordion-body {
    display: none;
    padding: 0 0 16px 0;
}

.pdp-accordion-item[data-accordion-open] .pdp-accordion-body {
    display: block;
}

.pdp-product-code {
    font-size: 12px;
    color: #888;
    margin: 0 0 12px 0;
}

.pdp-product-description {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.pdp-info-list {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.pdp-info-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}

.pdp-info-list li:last-child {
    margin-bottom: 0;
}

/* ============================================
   300 TL Sepet İndirimi Banner + Sayaç
   Green Theme - Modern Design
   ============================================ */
.pdp-discount-banner {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 0;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.pdp-discount-banner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.pdp-discount-icon {
    color: #059669;
    flex-shrink: 0;
}

.pdp-discount-title {
    font-size: 18px;
    font-weight: 700;
    color: #047857;
    letter-spacing: 0.5px;
}

.pdp-discount-timer {
    margin: 12px 0;
}

.pdp-discount-timer .pdp-countdown {
    justify-content: center;
    gap: 24px;
    margin: 0;
}

.pdp-discount-timer .pdp-countdown-value {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.pdp-discount-timer .pdp-countdown-label {
    font-size: 11px;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.pdp-discount-text {
    font-size: 12px;
    color: #065f46;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 576px) {
    .pdp-discount-title {
        font-size: 16px;
    }

    .pdp-discount-timer .pdp-countdown {
        gap: 16px;
    }

    .pdp-discount-timer .pdp-countdown-value {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

/* ============================================
   Category Page - Discount Banner
   ============================================ */
.category-discount-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 0;
    padding: 14px 20px;
    margin-bottom: 20px;
}

.category-discount-icon {
    color: #059669;
    flex-shrink: 0;
}

.category-discount-text {
    font-size: 14px;
    font-weight: 600;
    color: #047857;
    letter-spacing: 0.3px;
}

@media (max-width: 576px) {
    .category-discount-banner {
        padding: 12px 16px;
    }

    .category-discount-text {
        font-size: 13px;
    }
}

/* ============================================
   Category Product Cards - Image Fix
   Prevent image cropping
   ============================================ */
.product__imageWrapper {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

@media (max-width: 768px) {
    .product__imageWrapper {
        aspect-ratio: 3 / 4;
    }
}

.product__image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}

/* Product Review Count Badge */
.product__review-count {
    font-size: 11px;
    color: #888;
    margin-left: 4px;
}

/* ============================================
   Product Detail Page - Image Size Limit
   Keep product info visible above the fold
   ============================================ */
.product-images-area .swiper-container {
    max-height: 65vh;
}

.product-images-area .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-images-area .swiper-slide img,
.product-images-area .product-image {
    max-height: 65vh;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .product-images-area .swiper-container {
        max-height: 50vh;
    }

    .product-images-area .swiper-slide img {
        max-height: 50vh;
    }
}

/* Active Category Highlight in Header */
.new-header__nav .new-header__link.-active,
.new-header__nav .new-header__link:hover {
    color: #000;
    font-weight: 600;
    position: relative;
}

.new-header__nav .new-header__link.-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

/* ============================================
   Visual Optimization - Human Eye UX
   WCAG 2.1 AA Compliant, Touch Optimized
   ============================================ */

/* Category Page - Product Card Optimizations */
.product__content {
    padding: 12px 8px;
}

.product__brand {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.product__title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product__type,
.product__size {
    font-size: 13px;
    color: #666;
    display: inline-block;
    margin-right: 6px;
}

/* Price Hierarchy - Visual Impact */
.product__price.-old {
    font-size: 13px;
    color: #888;
    text-decoration: line-through;
    display: inline !important;
    margin-left: 6px;
}

.products .product__item,
.product__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 4px;
}

.products .product__priceContent,
.product__priceContent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 4px;
}

.product__price.-actual {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Star Rating - Better Visibility */
.product__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0;
}

.product__stars {
    display: flex;
    gap: 1px;
}

.star--full,
.star--half {
    color: #f5a623;
    font-size: 12px;
}

.star--empty {
    color: #ddd;
    font-size: 12px;
}

.product__review-count {
    font-size: 11px;
    color: #666;
}

/* Badge Compact Mode - Save Vertical Space */
.product__badge {
    font-size: 10px;
}

.product__badge img {
    max-width: 80px !important;
}

.product__discountPercent {
    font-size: 11px !important;
    padding: 2px 4px;
}

/* Touch Target Optimization - Min 44px */
.product__imageWrapper,
.product a {
    min-height: 44px;
}

/* Mobile Sticky CTA - Always Accessible */
@media (max-width: 991px) {
    .pdp-mobile-sticky-btn {
        min-height: 48px;
        font-size: 14px;
        font-weight: 600;
    }
}