/* ============================================
   Product Detail Page
   ============================================ */

.product-page {
    padding: 0;
}

/* ---- Product Shell ---- */
.product-shell {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 48px;
    margin-top: 24px;
}

/* ---- Product Hero ---- */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
}

/* Left: Media */
.product-media-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.product-media-frame {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.product-media-display {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.product-video-frame {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: none;
    border-radius: 12px;
}

.play-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 5;
    animation: pulse 1.6s infinite;
    transition: transform 0.2s ease, opacity 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes pulse {
    0% {
    transform: scale(1);
    opacity: 0.9;
    }
    50% {
    transform: scale(1.15);
    opacity: 1;
    }
    100% {
    transform: scale(1);
    opacity: 0.9;
    }
}
.product-hero-img {
    width: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--color-primary);
}

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

/* Right: Overview */
.product-overview-card {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.product-overview-card h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.product-overview-card .summary_text_body {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.product-overview-card .summary_text_body p {
    margin-bottom: 12px;
}

.product-overview-card .summary_text_body p:last-child {
    margin-bottom: 0;
}

.product-overview-card .summary_text_body strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* CTA Buttons */
.button-container {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.pdf-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pdf-link:hover {
    color: #c73e16;
}

.pdf-link svg {
    flex-shrink: 0;
    color: #c73e16;
}

.cButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid #c73e16;
    background: transparent;
    color: #c73e16;
    cursor: pointer;
}

.cButton:hover {
    background: #c73e16;
    color: #fff;
    transform: translateY(-1px);
}

.cButton.sales {
    border-color: #198754;
    color: #198754;
}

.cButton.sales:hover {
    background: #198754;
    color: #fff;
}

.cButton svg {
    flex-shrink: 0;
}

.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 32px;
    background: #b3300e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.th-btn:hover {
    background: #8f260b;
    transform: translateY(-1px);
}

/* ---- Technical Specifications ---- */
.product-specs-card {
    padding: 40px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.product-specs-header {
    margin-bottom: 24px;
}

.product-specs-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.product-specs-desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
}

.spec-table {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.spec-table li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.spec-table li:nth-last-child(1),
.spec-table li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.ozellik_title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.ozellik_desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.5;
}

/* ---- Product Rich Text ---- */
.product-richtext-card {
    padding: 40px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.product-richtext-card p {
    margin-bottom: 14px;
}

.product-richtext-card p:last-child {
    margin-bottom: 0;
}

.product-richtext-card strong {
    color: #1a1a1a;
    font-weight: 600;
}

.product-richtext-card ul,
.product-richtext-card ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.product-richtext-card li {
    margin-bottom: 6px;
}

/* ---- Contact / Quote Section ---- */
.product-contact-section {
    margin-bottom: 48px;
}

.product-contact-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #3d3d3d 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.product-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

/* Left side */
.product-contact-left {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-contact-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

.product-contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.product-contact-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-contact-text b {
    color: #fff;
    font-weight: 600;
}

.product-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-contact-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.product-contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.product-contact-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.product-contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.product-contact-action.primary {
    background: #fff;
    color: #1a1a1a;
}

.product-contact-action.primary:hover {
    background: #f0f0f0;
}

.product-contact-action.secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.product-contact-action.secondary:hover {
    background: rgba(255,255,255,0.2);
}

.product-contact-note {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
}

/* Right side - Form */
.product-contact-right {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* Form styles (shared with category.css) */
.booking-title-area {
    margin-bottom: 20px;
}

.booking-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.booking-desc {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.5;
}

.booking-desc b {
    color: #1a1a1a;
    font-weight: 600;
}

.booking-form-area .form-group {
    margin-bottom: 14px;
}

.booking-form-area .form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}

.booking-form-area .form-control {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    font-size: 0.9375rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-form-area .form-control::placeholder {
    color: #555;
}

.booking-form-area .form-control:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(241, 86, 44, 0.1);
}

.booking-form-area textarea.form-control {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
    min-height: 90px;
}

.booking-form-area .onay_box {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 16px;
}

.booking-form-area .onay_box a {
    color: #8f260b;
    text-decoration: underline;
}

.booking-form-area .form-btn .th-btn {
    width: 100%;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #b3300e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s;
}

.booking-form-area .form-btn .th-btn:hover {
    background: #8f260b;
}

.booking-form-area .form-btn .th-btn svg {
    width: 16px;
    height: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .product-hero {
        grid-template-columns: 1fr;
    }

    .product-media-card,
    .product-overview-card {
        padding: 32px;
    }

    .product-overview-card h1 {
        font-size: 2rem;
    }

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

    .product-contact-left,
    .product-contact-right {
        padding: 32px;
    }

    .product-contact-title {
        font-size: 1.625rem;
    }

    .spec-table {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .spec-table li {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 640px) {
    .product-media-card,
    .product-overview-card,
    .product-specs-card,
    .product-richtext-card,
    .product-contact-left,
    .product-contact-right {
        padding: 24px;
    }

    .product-contact-form-card {
        padding: 24px;
    }

    .booking-form-area .form-row {
        grid-template-columns: 1fr;
    }

    .product-contact-actions {
        flex-direction: column;
    }

    .product-contact-action {
        width: 100%;
    }

    .button-container {
        flex-direction: column;
    }

    .cButton {
        width: 100%;
        justify-content: center;
    }
}

.view-360-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.view-360-icon img {
    display: block;
    width: 32px;
    height: 32px;
}

/* Product Cards */
.product-cards-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (max-width: 576px) {
    .product-cards-list {
        grid-template-columns: 1fr;
    }
}

.product-card-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 10px;
}

.product-card-icon-wrap {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
}

.product-card-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E94E1B;
    margin: 0;
}


/* Admin Edit Button */
.admin-edit-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #E94E1B;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    color: #fff;
}
