/* ============================================
   CSS VARIABLES & GLOBAL STYLES
   ============================================ */
:root {
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
}

html { scroll-behavior: smooth; }
/* body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; } */

/* ============================================
   PRODUCT DETAIL & GALLERY
   ============================================ */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.product-gallery { position: sticky; top: 20px; height: fit-content; }

.main-image-container {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.badge-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
}

.main-product-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-product-image:hover { transform: scale(1.05); }

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

.main-image-container:hover .image-zoom-hint { opacity: 1; }

/* ============================================
   PRODUCT INFO & PRICING
   ============================================ */
.product-info-section { display: flex; flex-direction: column; gap: 25px; }
.product-header { border-bottom: 2px solid #e0e0e0; }

.brand-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--fp-teal) 0%, var(--fp-green) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid var(--fp-teal);
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--fp-red);
    display: flex;
    align-items: baseline;
}

.current-price sup { font-size: 1.2rem; margin-right: 5px; }
.price-note { font-size: 0.85rem; color: #666; }

/* ============================================
   RATING STARS & BUTTONS
   ============================================ */
.rating-stars-display {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-icon {
    font-size: 26px;
    color: #ddd;
    transition: all 0.3s ease;
}

.star-icon.filled {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.star-icon.half {
    background: linear-gradient(90deg, #fbbf24 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-number { font-size: 28px; font-weight: 700; color: #1e293b; }
.reviews-count { font-size: 14px; color: var(--fp-green); font-weight: 500; }

.rating-action-buttons { display: flex; gap: 12px; }

.rating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-btn { background: white; color: var(--fp-green); border: 2px solid #9eeb02; }

.view-btn:hover {
    background: linear-gradient(135deg, var(--fp-teal) 0%, var(--fp-green) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(84, 254, 95, 0.3);
}

.write-btn { background: linear-gradient(135deg, var(--fp-teal) 0%, var(--fp-green) 100%); color: white; }

.write-btn:hover {
    background: linear-gradient(135deg, var(--fp-green) 0%, var(--fp-teal) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(84, 254, 95, 0.4);
}

.rating-btn svg { flex-shrink: 0; }

/* ============================================
   QUICK SPECS
   ============================================ */
.quick-specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.spec-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 2px solid #e8f5f5;
    border-left: 4px solid var(--fp-green);
    border-radius: 8px;
    transition: all 0.3s;
}

.spec-card:hover {
    border-left-color: var(--fp-blue);
    box-shadow: var(--shadow-sm);
    transform: translateX(3px);
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--fp-teal) 0%, var(--fp-green) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.spec-content { flex: 1; }

.spec-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

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

/* ============================================
   SPECIFICATIONS CONTAINER
   ============================================ */
.specs-container {
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 50px;
}

.tabs-navigation h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.flex-container { display: flex; gap: 20px; }
.flex-item { flex: 1; }

.spec-group {
    margin-bottom: 17px;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    overflow: hidden;
}

.spec-group h3 {
    background: linear-gradient(135deg, var(--fp-green) 0%, var(--fp-teal) 100%);
    color: white;
    padding: 5px 10px;
    margin: 0;
    font-size: 1.2rem;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #e0e0e0; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 5px 10px; color: #555; }

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 35%;
    background: #f8f9fa;
}

.spec-table td:last-child { width: 65%; }

/* ============================================
   IMAGE MODAL
   ============================================ */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.modal-close:hover, .modal-close:focus { color: #bbb; }

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 16px;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
    padding: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-bottom: 31px;
    position: relative;
}

.reviews-header { align-items: center; margin-bottom: 20px; padding: 0 15px; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    text-align: center;
}

.write-review-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    margin-top: 10px;
    margin-bottom: 10px;
    animation: floatIcon 3s ease-in-out infinite;
}

.write-review-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.write-review-btn i { font-size: 1.1rem; }
.rating-summary { align-items: center; margin-bottom: 0.5rem; }
.avg-rating { font-size: 2rem; font-weight: 700; color: #333; }
.stars i { color: #ffc107; font-size: 1.2rem; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-reviews {
    text-align: center;
    padding: 50px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.empty-icon {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

.empty-icon i { display: inline-block; }
.empty-reviews h4 { font-size: 1.8rem; font-weight: 600; color: #666; margin-bottom: 10px; }
.empty-reviews p { font-size: 1.1rem; color: #999; margin-bottom: 30px; }

.btn-write-first-review {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.btn-write-first-review:hover {
    background: linear-gradient(135deg, #45a049 0%, #388e3c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    padding: 25px 30px;
    margin: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
}

.review-card.animate-on-scroll { animation: slideUpFade 0.6s ease-out forwards; }

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.15);
}

.quote-icon { font-size: 2.5rem; color: #4caf50; opacity: 0.2; margin-bottom: 20px; }
.review-stars { margin-bottom: 15px; }
.review-stars i { color: #ffc107; font-size: 1.1rem; margin-right: 3px; }

.review-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.reviewer-info { display: flex; align-items: center; gap: 15px; }

.reviewer-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50 0%, #2196f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.reviewer-name { font-size: 1rem; font-weight: 600; color: #333; margin-bottom: 5px; }

.verified-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
}

.review-date { color: #999; font-size: 0.85rem; }

/* ============================================
   SLICK CAROUSEL
   ============================================ */
.reviews-slider { margin: 0 40px; }

.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    background: rgb(24, 17, 17) !important;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slick-prev:hover, .slick-next:hover { background: #160f0f !important; }
.slick-prev { left: -25px; }
.slick-next { right: -25px; }

.slick-prev:before, .slick-next:before {
    color: #fff;
    font-size: 24px;
    opacity: 1;
}

.slick-dots { bottom: -60px; }
.slick-dots li button:before { font-size: 12px; color: #ccc; }
.slick-dots li.slick-active button:before { color: #4caf50; font-size: 14px; }

/* ============================================
   REVIEW MODAL
   ============================================ */
.review-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    overflow-y: auto;
}

.review-modal.show { display: block; background-color: rgba(0, 0, 0, 0.5); }

.review-modal-content {
    background: linear-gradient(135deg, var(--fp-green) 0%, var(--fp-teal) 50%, var(--fp-green) 100%);
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 75%;
    max-width: 600px;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.review-modal.show .review-modal-content { transform: scale(1); opacity: 1; }

.review-modal-content::before, .review-modal-content::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.review-modal-content::before {
    width: 200px;
    height: 200px;
    background: white;
    top: -50px;
    left: -50px;
}

.review-modal-content::after {
    width: 250px;
    height: 250px;
    background: white;
    bottom: -75px;
    right: -75px;
    animation-delay: -10s;
}

.review-modal-close {
    color: white;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }

.review-section-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.review-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   SUCCESS MESSAGES
   ============================================ */
.review-success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.review-success-message.show { display: block; animation: slideDown 0.5s ease-out; }
.review-success-icon { width: 80px; height: 80px; margin: 0 auto 20px; }
.review-success-icon svg { width: 100%; height: 100%; }

.success-circle {
    stroke: #4CAF50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.review-success-message h3 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.review-success-message p { color: #666; font-size: 0.95rem; line-height: 1.6; }

.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
}

.success-card {
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    max-width: 28rem;
    margin: 0 1rem;
    animation: bounceIn 0.5s;
    text-align: center;
}

.success-card::before, .success-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.success-card::before { width: 150px; height: 150px; background: #47ff67; top: 32px; left: 20px; }
.success-card::after { width: 70px; height: 70px; background: #f53e3e; bottom: 11px; right: 20px; animation-delay: -10s; }

.emoji-container { margin-bottom: 1.5rem; }
.main-emoji { font-size: 5rem; display: inline-block; animation: bounce 1s infinite; }
.success-title { font-size: 1.875rem; font-weight: bold; color: #1f2937; margin-bottom: 0.5rem; }
.success-message { font-size: 1.25rem; color: #4b5563; margin-bottom: 1.5rem; }
.icon-row { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.icon { font-size: 2rem; display: inline-block; }
.icon.star { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
.icon.heart { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.icon.sparkle { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.thank-you { color: #6b7280; font-size: 0.875rem; }
.confetti-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti { position: absolute; top: -10%; font-size: 1.5rem; animation: confetti linear forwards; }

/* ============================================
   FORM STYLES
   ============================================ */
.review-form-group { margin-bottom: 20px; position: relative; z-index: 1; }
.review-form-group label { display: block; font-weight: 600; color: white; margin-bottom: 8px; font-size: 0.9rem; }
.review-form-group label span { color: #ffeb3b; }

.review-form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

.review-form-control:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    background: white;
}

.review-form-control.error { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.1); }
textarea.review-form-control { resize: vertical; min-height: 75px; }
.review-error-text { display: block; color: #ffeb3b; font-size: 0.85rem; margin-top: 5px; font-weight: 500; }

.review-rating-group { margin-bottom: 20px; position: relative; z-index: 1; }
.review-rating-group label { display: block; font-weight: 600; color: white; margin-bottom: 12px; font-size: 0.9rem; }
.star-rating-get { display: flex; gap: 8px; font-size: 2rem; }

.star {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.star:hover, .star.active { color: #ffeb3b; transform: scale(1.2); }

.rating-input i {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    margin: 0 5px;
    transition: color 0.2s, transform 0.2s;
}

.rating-input i:hover { transform: scale(1.2); }
.rating-input i.fas { color: #ffc107; }

.review-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--fp-teal) 0%, var(--fp-green) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.review-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.review-submit-btn:hover::before { width: 300px; height: 300px; }

.review-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.m-30-tb { margin-top: 30px; margin-bottom: 30px; }

.clickable-section {
    padding: 20px;
    margin: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
}

.clickable-section:hover { background-color: #e0e0e0; }

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes strokeCircle { 100% { stroke-dashoffset: 0; } }
@keyframes strokeCheck { 100% { stroke-dashoffset: 0; } }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes zoomIn { from { transform: scale(0.7); } to { transform: scale(1); } }

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes ping {
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Screens */
@media only screen and (max-width: 1200px) {
    .product-detail-container { gap: 30px; padding: 25px; }
    .product-title { font-size: 1.8rem; }
    .current-price { font-size: 2.2rem; }
}

/* Medium Screens */
@media only screen and (max-width: 991px) {
    .product-detail-container { grid-template-columns: 1fr; gap: 30px; }
    .product-gallery { position: static; }
}

/* Tablets */
@media (max-width: 768px) {
    .product-detail-container { padding: 20px; }
    .product-title { font-size: 1.5rem; }
    .current-price { font-size: 2rem; }
    .price-container { flex-direction: column; align-items: flex-start; padding: 15px; }
    .specs-container { padding: 20px; }
    .quick-specs-grid { grid-template-columns: 1fr; }
    .spec-table td { padding: 12px 15px; font-size: 0.9rem; }
    .spec-table td:first-child { width: 40%; }
    .flex-container { flex-direction: column; }
    .image-modal { padding-top: 20px; }
    .modal-content { max-width: 95%; max-height: 80vh; }
    .modal-close { top: 10px; right: 15px; font-size: 35px; }
    .modal-caption { font-size: 14px; padding: 10px 0; }
    
    /* Reviews */
    .star-icon { font-size: 22px; }
    .score-number { font-size: 24px; }
    .reviews-header { flex-direction: column; gap: 15px; text-align: center; }
    .section-title { font-size: 1.8rem; }
    .review-card { padding: 20px; margin: 10px; }
    .review-text { font-size: 1rem; }
    .reviews-slider { margin: 0 20px; }
    .slick-prev { left: -15px; }
    .slick-next { right: -15px; }
    .slick-prev, .slick-next { width: 40px; height: 40px; }
    .review-modal-content { padding: 30px 25px; margin: 30px auto; }
    .review-section-title { font-size: 1.5rem; }
    .review-success-icon { width: 60px; height: 60px; }
    .review-success-message h3 { font-size: 1.3rem; }
}

/* Small Tablets */
@media only screen and (max-width: 640px) {
    .breadcrumb { font-size: 0.8rem; padding: 10px 0; }
    .product-detail-container { padding: 15px; margin-bottom: 30px; }
    .main-image-container { padding: 20px; }
    .product-title { font-size: 1.3rem; }
    .current-price { font-size: 1.8rem; }
    .specs-container { padding: 15px; }
    .tabs-navigation h2 { font-size: 1.5rem; }
    .spec-table { font-size: 0.85rem; }
    
    .spec-table td {
        display: block;
        width: 100% !important;
        padding: 10px 15px;
    }
    
    .spec-table td:first-child {
        font-weight: 600;
        border-radius: 8px 8px 0 0;
        padding-bottom: 8px;
    }
    
    .spec-table td:last-child {
        padding-top: 8px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .spec-table tr:last-child td:last-child {
        border-bottom: none;
        border-radius: 0 0 8px 8px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .reviews-section { padding: 20px 0; }
    .section-title { font-size: 1.5rem; }
    .empty-icon { font-size: 4rem; }
    .reviews-slider { margin: 0 10px; }
    .slick-prev, .slick-next { width: 35px; height: 35px; }
    .slick-prev { left: -10px; }
    .slick-next { right: -10px; }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .product-title { font-size: 1.2rem; }
    .current-price { font-size: 1.6rem; }
    .rating-btn { width: 100%; justify-content: center; }
    .star-icon { font-size: 20px; }
    .score-number { font-size: 22px; }
    .review-modal-content { padding: 25px 20px; }
    .review-success-message { padding: 25px 15px; }
}

/* Extra Small Mobile */
@media only screen and (max-width: 375px) {
    .product-detail-container { padding: 10px; }
    .product-title { font-size: 1.1rem; }
    .current-price { font-size: 1.5rem; }
}