/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #f56565;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #f7fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

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

.breadcrumb span {
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 600;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ============================================
   PRODUCT HEADER
   ============================================ */
.product-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.product-header h1 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge.in-stock {
    background: #c6f6d5;
    color: #22543d;
}

.badge.low-stock {
    background: #feebc8;
    color: #7c2d12;
}

.badge.out-of-stock {
    background: #fed7d7;
    color: #742a2a;
}

.category {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

/* ============================================
   PRODUCT IMAGE
   ============================================ */
.product-image {
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.product-image figcaption {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

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

.price-section {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: var(--white);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stock-status {
    font-size: 1rem;
    font-weight: 600;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.badge-item svg {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.badge-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   CTA BUTTON
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   PRODUCT DESCRIPTION
   ============================================ */
.product-description {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.product-description h2 {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.product-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.product-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

/* ============================================
   WHY BUY SECTION
   ============================================ */
.why-buy {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.why-buy h2 {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.feature h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.faq-section h2 {
    font-size: 1.75rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item summary {
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    padding-left: 0.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.footer p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

#countdown {
    font-weight: 700;
    color: var(--primary);
}