/* ====================================================================
   THRIFT ZONE - CUSTOMIZED PRODUCT PAGE CSS
   Features: Image Zoom, Sticky Buy, Skeleton Loaders, Live Viewers
   ==================================================================== */

/* CSS Variables */
:root {
    --primary-color: #2874F0;
    --primary-hover: #1e5bc7;
    --secondary-color: #ff6b35;
    --accent-color: #10b981;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --background: #ffffff;
    --surface: #f9fafb;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fafbfc;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
    background: var(--background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== MAIN LAYOUT ===== */
.product-main {
    padding: 80px 0 40px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== SKELETON LOADERS ===== */
.skeleton-container {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skeleton-breadcrumb {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 300px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skeleton-image {
    height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

.skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-title {
    height: 30px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    width: 80%;
}

.skeleton-price {
    height: 60px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

.skeleton-button {
    height: 50px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    margin-top: 1rem;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-product-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    margin-bottom: 1rem;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-hover);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

/* ===== ALERT BANNERS ===== */
.deal-alert-banner {
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    padding: 1px 1px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.alert-icon {
    font-size: 1.5rem;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.alert-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.alert-text span {
    font-size: 0.85rem;
    opacity: 0.95;
}

.live-viewers {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.live-viewers i {
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

/* ===== PRICE WARNING BANNER ===== */
.price-warning-banner {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #ef4444;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.warning-text {
    flex: 1;
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.warning-text strong {
    font-weight: 700;
    display: inline-block;
    margin-right: 4px;
}

/* ===== PRODUCT GRID ===== */
.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ===== PRODUCT IMAGE SECTION WITH ZOOM ===== */
.product-image-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    background: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b35, #f39c12);
}

.badge-limited {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.badge-trending {
    background: linear-gradient(135deg, #10b981, #059669);
}

.product-image-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.product-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* IMAGE ZOOM FUNCTIONALITY */
.image-zoom-lens {
    position: absolute;
    border: 2px solid var(--primary-color);
    width: 100px;
    height: 100px;
    display: none;
    pointer-events: none;
    background: rgba(40, 116, 240, 0.1);
}

.zoom-result {
    position: absolute;
    top: 0;
    right: -320px;
    width: 300px;
    height: 400px;
    border: 1px solid var(--border);
    background: white;
    display: none;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-wrapper:hover .zoom-hint {
    opacity: 1;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
}

.trust-item i {
    font-size: 1rem;
}

/* ===== PRODUCT INFO SECTION ===== */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.product-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0.7rem 0;
}

.product-social-proof {
    background: var(--surface);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stars {
    color: var(--warning);
    font-size: 1rem;
}

.rating-text {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== PRICING SECTION ===== */
.pricing-mega-section {
   /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;*/
    padding: 0.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.price-container {
    margin-bottom: 1rem;
}

.current-price-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
}

.price-info {
    margin-left: 0.5rem;
}

.price-label {
    font-size: 0.85rem;
    opacity: 0.9;
    display: block;
}

.price-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    background: rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    width: fit-content;
}

.original-price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.original-price-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.original-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.discount-percent {
    background: rgba(255, 107, 53, 0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.savings-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #d1fae5;
    margin-top: 4px;
}

/* ===== TIMER ===== */
.deal-timer-mega {
    background: rgba(0, 0, 0, 0.15);
    padding: 1rem;
    border-radius: 8px;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(10px);
}

.time-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.time-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 4px;
}

.time-separator {
    font-size: 1.5rem;
    align-self: center;
    font-weight: 700;
}

/* ===== BUY & SHARE BUTTONS ===== */
.product-actions-mega {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mega-buy-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    border: none;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.mega-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    position: relative;
    z-index: 1;
}

.button-icon {
    font-size: 1.5rem;
}

.main-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.button-arrow {
    font-size: 1.2rem;
    animation: bounce-horizontal 1s infinite;
}

@keyframes bounce-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.button-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: pulse-effect 2s infinite;
}

@keyframes pulse-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.share-button {
    width: 40%;
    background: white;
    border: 2px solid var(--primary-color);
    color: #0e0e0f;
    border-radius: 10px;
    padding: 7px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== PRODUCT SPECIFICATIONS ===== */
.product-specifications {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.specs-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-title i {
    color: var(--primary-color);
}

.specs-grid {
    display: grid;
    gap: 0.75rem;
}

.spec-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--surface);
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.spec-item:hover {
    border-color: var(--primary-color);
    transform: translateX(2px);
}

.spec-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== RELATED PRODUCTS ===== */
.related-products-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.related-header {
    text-align: center;
    margin-bottom: 2rem;
}

.related-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.related-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.related-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.related-product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-product-info {
    padding: 1rem;
}

.related-product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.related-product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
}

/* ===== STICKY MOBILE BUY BUTTON ===== */
.sticky-mobile-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-mobile-buy.show {
    transform: translateY(0);
}

.sticky-buy-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-price {
    display: flex;
    flex-direction: column;
}

.sticky-current-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.sticky-original-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--text-secondary);
}

.sticky-buy-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* ===== REDIRECT MODAL ===== */
.redirect-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.redirect-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.redirect-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amazon-logo {
    font-size: 3rem;
    color: #ff9900;
}

.redirect-arrows {
    display: flex;
    gap: 0.25rem;
}

.redirect-arrows i {
    color: var(--primary-color);
    animation: slide-arrow 1s infinite;
}

.arrow-1 { animation-delay: 0s; }
.arrow-2 { animation-delay: 0.2s; }
.arrow-3 { animation-delay: 0.4s; }

@keyframes slide-arrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

.redirect-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.redirect-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.redirect-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.redirect-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.redirect-feature i {
    font-size: 1.5rem;
    color: var(--success);
}

.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

/* ===== SHARE MODAL ===== */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.share-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.share-modal-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.share-modal-close:hover {
    color: var(--text-primary);
}

.share-modal-body {
    padding: 2rem;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.share-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.share-option i {
    font-size: 2rem;
}

.share-option.whatsapp { color: #25D366; }
.share-option.whatsapp:hover { border-color: #25D366; background: #e8f8f0; }

.share-option.facebook { color: #1877F2; }
.share-option.facebook:hover { border-color: #1877F2; background: #e7f3ff; }

.share-option.twitter { color: #1DA1F2; }
.share-option.twitter:hover { border-color: #1DA1F2; background: #e8f5fe; }

.share-option.telegram { color: #0088cc; }
.share-option.telegram:hover { border-color: #0088cc; background: #e6f7ff; }

.share-option.copy { color: #6b7280; }
.share-option.copy:hover { border-color: #6b7280; background: #f3f4f6; }

/* ===== PRODUCT NOT FOUND ===== */
.product-not-found {
    text-align: center;
    padding: 4rem 2rem;
}

.not-found-container {
    max-width: 500px;
    margin: 0 auto;
}

.not-found-icon {
    font-size: 5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    position: relative;
}

.not-found-animation {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3rem;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.not-found-container h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.not-found-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.not-found-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== UTILITY BUTTONS ===== */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
    
    .search-container {
        display: none;
    }
    
    .product-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skeleton-grid {
        grid-template-columns: 1fr;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .related-product-image {
        height: 150px;
    }
    
    .zoom-result {
        display: none !important;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alert-content {
        flex-direction: column;
        text-align: center;
    }
    
    .live-viewers {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .product-main {
        padding: 70px 0 80px;
    }
    
    .pricing-mega-section {
        padding: 0.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 6px 8px;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .spec-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.affiliate-disclosure {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
