/* ==================== استایل‌های صفحه جزئیات محصول ==================== */

/* کانتینر اصلی صفحه */
.product-detail-page {
    direction: rtl;
    text-align: right;
    font-family: 'yekanbakh', 'IRANSans', 'Vazir', Tahoma, sans-serif;
}

/* ==================== انیمیشن‌ها ==================== */
@keyframes pd-tpfadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.product-detail-page .animate__tpfadeUp {
    animation-name: pd-tpfadeUp;
}

@keyframes pd-pulse-slow {
    0%, 100% { 
        opacity: 0.5; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05); 
    }
}

.product-detail-page .animate__pulse-slow {
    animation: pd-pulse-slow 3s ease-in-out infinite;
}

@keyframes pd-pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.85; 
        transform: scale(1.02); 
    }
}

.product-detail-page .animate__pulse {
    animation: pd-pulse 2s ease-in-out infinite;
}

@keyframes pd-fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.product-detail-page .animate__fadeInUp {
    animation: pd-fadeInUp 0.6s ease-out;
}

@keyframes pd-fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.product-detail-page .animate__fadeInLeft {
    animation: pd-fadeInLeft 0.6s ease-out;
}

@keyframes pd-fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.product-detail-page .animate__fadeInRight {
    animation: pd-fadeInRight 0.6s ease-out;
}

html {
    scroll-behavior: smooth;
}

/* ==================== بک‌گراند‌های داینامیک ==================== */
.product-detail-page .bg-blur-top {
    width: 300px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    filter: blur(200px);
    background: rgba(234, 179, 8, 0.1);
}

@media (min-width: 1024px) {
    .product-detail-page .bg-blur-top {
        width: 500px;
        height: 400px;
    }
}

.product-detail-page .bg-blur-bottom {
    width: 300px;
    height: 200px;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 0;
    filter: blur(200px);
    background: rgba(59, 130, 246, 0.05);
}

@media (min-width: 1024px) {
    .product-detail-page .bg-blur-bottom {
        width: 500px;
        height: 400px;
    }
}

/* ==================== هدر صفحه ==================== */
.product-detail-page .pd-header {
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    color: white;
}

@media (min-width: 1024px) {
    .product-detail-page .pd-header {
        padding: 4rem 0;
    }
}

.product-detail-page .pd-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pd-header-shine 3s ease-in-out infinite;
}

@keyframes pd-header-shine {
    0%, 100% { 
        transform: translate(-30%, -30%); 
    }
    50% { 
        transform: translate(-20%, -20%); 
    }
}

.product-detail-page .pd-header-content {
    position: relative;
    z-index: 1;
}

/* ==================== Breadcrumb ==================== */
.product-detail-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.product-detail-page .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.product-detail-page .breadcrumb-link:hover {
    color: white;
}

.product-detail-page .breadcrumb-separator {
    width: 1rem;
    height: 1rem;
}

.product-detail-page .breadcrumb-current {
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== Main Image Container ==================== */
.product-detail-page .main-image-container {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-detail-page .main-image-container:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-detail-page .main-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.75rem;
    transition: transform 0.5s ease;
}

.product-detail-page .main-image-container:hover .main-image {
    transform: scale(1.03);
}

/* ==================== Reset Image Button ==================== */
.product-detail-page .reset-image-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    z-index: 10;
}

.product-detail-page .reset-image-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
}

.product-detail-page .reset-image-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==================== نشان‌های محصول ==================== */
.product-detail-page .product-badges {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.product-detail-page .badge-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    animation: pd-pulse 2s infinite;
}

.product-detail-page .badge-discount svg {
    width: 1rem;
    height: 1rem;
}

.product-detail-page .badge-instock {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(to right, #22c55e, #059669);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-detail-page .badge-instock svg {
    width: 1rem;
    height: 1rem;
}

.product-detail-page .badge-outstock {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(to right, #6b7280, #4b5563);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-detail-page .badge-partner {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 9999px;
}

/* ==================== No Image Placeholder ==================== */
.product-detail-page .no-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-detail-page .no-image-placeholder svg {
    width: 5rem;
    height: 5rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.product-detail-page .no-image-placeholder span {
    color: #6b7280;
    font-weight: 500;
}

/* ==================== Thumbnails ==================== */
.product-detail-page .thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.product-detail-page .thumbnail-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border: 2px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail-page .thumbnail-item:hover {
    border-color: #eab308;
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-detail-page .thumbnail-image {
    height: 8rem;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.product-detail-page .thumbnail-item:hover .thumbnail-image {
    transform: scale(1.05);
}

/* ==================== Info Box ==================== */
.product-detail-page .info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
    transition: box-shadow 0.3s ease;
}

.product-detail-page .info-box:hover {
    box-shadow: 0 20px 30px -10px rgba(59, 130, 246, 0.2);
}

.product-detail-page .info-box-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #3b82f6;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.product-detail-page .info-box:hover .info-box-icon {
    transform: scale(1.1);
}

.product-detail-page .info-box-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.product-detail-page .info-box-text {
    font-size: 0.875rem;
    color: #1e40af;
    line-height: 1.625;
    margin-bottom: 1rem;
}

.product-detail-page .info-box-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-detail-page .info-box-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.product-detail-page .info-box-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==================== Product Header ==================== */
.product-detail-page .product-header {
    margin-bottom: 1rem;
}

.product-detail-page .product-title-main {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .product-detail-page .product-title-main {
        font-size: 2.5rem;
    }
}

.product-detail-page .product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-page .product-category-badge {
    padding: 0.375rem 0.75rem;
    background: #fef3c7;
    color: #d97706;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-detail-page .product-category-badge:hover {
    background: #fde68a;
}

.product-detail-page .product-type-badge {
    padding: 0.375rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* ==================== Price Card ==================== */
.product-detail-page .price-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
    .product-detail-page .price-card {
        padding: 2rem;
    }
}

.product-detail-page .price-card:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
}

/* ==================== Price Discount Info ==================== */
.product-detail-page .price-discount-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #fde68a;
}

.product-detail-page .price-discount-info-partner {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 30%);
    border: 1px solid #bbf7d0;
}

.product-detail-page .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-detail-page .price-label {
    color: #78350f;
    font-weight: 500;
    font-size: 0.9375rem;
}

.product-detail-page .price-label-partner {
    color: #166534;
}

.product-detail-page .price-old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.125rem;
}

.product-detail-page .price-discount-amount {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.125rem;
}

.product-detail-page .price-discount-amount-partner {
    color: #059669;
}

.product-detail-page .price-row-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px dashed #fbbf24;
}

.product-detail-page .price-row-final-partner {
    border-top-color: #86efac;
}

.product-detail-page .price-label-final {
    color: #78350f;
    font-weight: bold;
    font-size: 1.125rem;
}

.product-detail-page .price-label-final-partner {
    color: #166534;
}

.product-detail-page .price-final {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .product-detail-page .price-final {
        font-size: 1.875rem;
    }
}

.product-detail-page .price-final-partner {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== Price Simple ==================== */
.product-detail-page .price-simple {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #fde68a;
}

.product-detail-page .price-simple-gray {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.product-detail-page .price-label-simple {
    color: #78350f;
    font-weight: bold;
    font-size: 1.125rem;
}

.product-detail-page .price-label-simple-gray {
    color: #1e293b;
}

.product-detail-page .price-amount {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .product-detail-page .price-amount {
        font-size: 2.25rem;
    }
}

.product-detail-page .price-amount-gray {
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==================== Features Grid ==================== */
.product-detail-page .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.product-detail-page .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-detail-page .feature-item:hover {
    transform: translateY(-2px);
}

.product-detail-page .feature-green {
    background: #dcfce7;
    color: #166534;
}

.product-detail-page .feature-green:hover {
    background: #bbf7d0;
}

.product-detail-page .feature-blue {
    background: #dbeafe;
    color: #1e40af;
}

.product-detail-page .feature-blue:hover {
    background: #bfdbfe;
}

.product-detail-page .feature-purple {
    background: #f3e8ff;
    color: #6b21a5;
}

.product-detail-page .feature-purple:hover {
    background: #e9d5ff;
}

.product-detail-page .feature-orange {
    background: #ffedd5;
    color: #9a3412;
}

.product-detail-page .feature-orange:hover {
    background: #fed7aa;
}

.product-detail-page .feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* ==================== Product Form Container ==================== */
.product-detail-page .product-form-container {
    margin-top: 1rem;
}

/* ==================== Description Sections ==================== */
.product-detail-page .description-section,
.product-detail-page .additional-description-section {
    margin-top: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
    .product-detail-page .description-section,
    .product-detail-page .additional-description-section {
        padding: 2rem;
    }
}

.product-detail-page .description-section:hover,
.product-detail-page .additional-description-section:hover {
    box-shadow: 0 25px 30px -12px rgba(0, 0, 0, 0.15);
}

.product-detail-page .description-header,
.product-detail-page .additional-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.product-detail-page .description-icon,
.product-detail-page .additional-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.product-detail-page .description-section:hover .description-icon,
.product-detail-page .additional-description-section:hover .additional-icon {
    transform: scale(1.1);
}

.product-detail-page .description-icon svg,
.product-detail-page .additional-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.product-detail-page .additional-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.product-detail-page .description-title,
.product-detail-page .additional-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
}

@media (min-width: 768px) {
    .product-detail-page .description-title,
    .product-detail-page .additional-title {
        font-size: 1.875rem;
    }
}

.product-detail-page .description-content,
.product-detail-page .additional-content {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1rem;
}

.product-detail-page .description-content p,
.product-detail-page .additional-content p {
    margin-bottom: 1rem;
}

.product-detail-page .description-content p:last-child,
.product-detail-page .additional-content p:last-child {
    margin-bottom: 0;
}

/* ==================== Related Products ==================== */
.product-detail-page .related-products-section {
    margin-top: 3rem;
}

.product-detail-page .related-header {
    text-align: center;
    margin-bottom: 2rem;
}

.product-detail-page .related-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .product-detail-page .related-title {
        font-size: 2.25rem;
    }
}

.product-detail-page .related-divider {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    margin: 0 auto;
    border-radius: 9999px;
}

.product-detail-page .related-subtitle {
    color: #64748b;
    margin-top: 0.75rem;
    font-size: 0.9375rem;
}

.product-detail-page .related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-detail-page .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-detail-page .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-detail-page .related-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.product-detail-page .related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-detail-page .related-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-detail-page .related-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-detail-page .related-card:hover .related-image {
    transform: scale(1.1);
}

.product-detail-page .related-no-image {
    width: 100%;
    height: 12rem;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-page .related-no-image svg {
    width: 3rem;
    height: 3rem;
    color: #9ca3af;
}

.product-detail-page .related-discount-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: bold;
    z-index: 2;
}

.product-detail-page .related-info {
    padding: 1rem;
}

.product-detail-page .related-product-title {
    font-weight: bold;
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-detail-page .related-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-detail-page .related-product-title a:hover {
    color: #d97706;
}

.product-detail-page .related-price-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.product-detail-page .related-price {
    font-size: 1rem;
    font-weight: bold;
    color: #1e293b;
}

.product-detail-page .related-price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 0.25rem;
}

.product-detail-page .related-currency {
    font-size: 0.7rem;
    font-weight: normal;
    color: #6b7280;
}

.product-detail-page .related-type {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* ==================== Text Utilities ==================== */
.product-detail-page .bg-clip-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-page .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .product-detail-page .product-title-main {
        font-size: 1.5rem;
    }
    
    .product-detail-page .price-final,
    .product-detail-page .price-amount {
        font-size: 1.25rem;
    }
    
    .product-detail-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-page .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-detail-page .description-title,
    .product-detail-page .additional-title {
        font-size: 1.25rem;
    }
    
    .product-detail-page .related-title {
        font-size: 1.5rem;
    }
    
    .product-detail-page .pd-header {
        padding: 2rem 0;
    }
    
    .product-detail-page .main-image {
        max-height: 350px;
    }
    
    .product-detail-page .thumbnail-image {
        height: 6rem;
    }
    
    .product-detail-page .product-badges {
        top: 1rem;
        left: 1rem;
    }
    
    .product-detail-page .reset-image-btn {
        top: 1rem;
        right: 1rem;
        width: 2rem;
        height: 2rem;
    }

    .product-detail-page .price-simple {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-detail-page .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .product-detail-page .pd-header,
    .product-detail-page .bg-blur-top,
    .product-detail-page .bg-blur-bottom,
    .product-detail-page .related-products-section,
    .product-detail-page .product-badges,
    .product-detail-page .reset-image-btn,
    .product-detail-page .thumbnails-grid,
    .product-detail-page .info-box {
        display: none;
    }

    .product-detail-page .main-image-container,
    .product-detail-page .price-card,
    .product-detail-page .description-section,
    .product-detail-page .additional-description-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        break-inside: avoid;
    }

    body {
        background: white;
    }
}

/* ==================== Accessibility ==================== */
.product-detail-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-detail-page *:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* ==================== Utility Classes ==================== */
.product-detail-page .text-gradient {
    background: linear-gradient(135deg, #eab308 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-detail-page .transition-smooth {
    transition: all 0.3s ease;
}

/* ==================== End of Product Detail Page Styles ==================== */