/* ===================================
   Component Styles
   =================================== */

/* Product Card */
.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-smooth);
    position: relative;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    background: linear-gradient(135deg, rgba(46, 92, 62, 0.03) 0%, rgba(229, 168, 39, 0.03) 100%);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card .product-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

/* Product Image Slider */
.product-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-slider .slider-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform var(--transition-base);
}

.product-image-slider .slider-image.active {
    opacity: 1;
    z-index: 1;
}

.product-card:hover .product-image-slider .slider-image.active {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.slider-indicators .indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-indicators .indicator.active {
    width: 20px;
    border-radius: 10px;
    background: var(--bg-white);
}

.slider-indicators .indicator:hover {
    background: var(--bg-white);
}

.product-card .image-placeholder {
    width: 100%;
    height: 100%;
}

.product-card .discount-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--warm-gradient);
    color: var(--text-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-warm);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

.product-card .product-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.product-card .product-name {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
    font-family: var(--font-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.3em;
}

/* Star Ratings */
.product-card .product-rating {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-card .stars {
    color: #ffa500;
    font-size: 0.8rem;
    display: flex;
    gap: 1px;
}

.product-card .stars i {
    transition: transform var(--transition-fast);
}

.product-card:hover .stars i {
    transform: scale(1.05);
}

.product-card .rating-text {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
}

.product-card .product-price {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.product-card .original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

/* Product Actions */
.product-card .product-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: stretch;
    margin-top: auto;
}

/* Variant Selector */
.variant-select {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    background: var(--bg-white);
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    min-width: 80px;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

.variant-select:hover {
    border-color: var(--primary-color);
    background-color: rgba(46, 92, 62, 0.03);
}

.variant-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 92, 62, 0.1);
}

/* Add to Cart Button */
.btn-add-cart {
    flex: 1;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-add-cart::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;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 92, 62, 0.3);
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

/* Blog Card */
.blog-section {
    padding: var(--spacing-xxl) 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 124, 159, 0.1);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
}

.blog-card .blog-content {
    padding: var(--spacing-lg);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
}

.blog-category {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.blog-date {
    color: var(--text-light);
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.blog-benefits {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.blog-benefits h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.blog-benefits ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.blog-benefits ul li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* About Page Styles */
.about-content,
.contact-section {
    padding: var(--spacing-xxl) 0;
}

.content-section {
    margin-bottom: var(--spacing-xxl);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.content-section.reverse .content-grid {
    direction: rtl;
}

.content-section.reverse .content-text {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: var(--spacing-md);
}

.content-text p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.mission-list {
    list-style: none;
}

.mission-list li {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.mission-list li i {
    color: var(--accent-color);
    margin-top: 4px;
}

.content-image .image-placeholder {
    width: 100%;
    height: 400px;
}

.content-image .image-placeholder i {
    font-size: 6rem;
}

/* Values Section */
.values-section {
    margin: var(--spacing-xxl) 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.value-card h3 {
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    color: var(--text-light);
}

/* Why Choose Section */
.why-choose-section {
    margin: var(--spacing-xxl) 0;
}

.why-choose-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.why-item {
    padding: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
}

.why-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.why-item h3 {
    margin-bottom: var(--spacing-sm);
}

.why-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.contact-method p {
    color: var(--text-light);
    margin-bottom: 0;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
}

.social-section h3 {
    margin-bottom: var(--spacing-md);
}

.social-links-large {
    display: flex;
    gap: var(--spacing-md);
}

.social-links-large a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
    color: var(--bg-white);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.social-links-large a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container h2 {
    margin-bottom: var(--spacing-md);
}

.contact-form {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: #FFF3CD;
    border-radius: var(--radius-md);
    border-left: 4px solid #FFC107;
}

.form-note p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.form-note ol {
    margin-left: var(--spacing-lg);
    list-style: decimal;
}

.form-note ol li {
    margin-bottom: var(--spacing-xs);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
}

/* Product Detail Page */
.product-detail-section {
    padding: var(--spacing-xxl) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.product-images .main-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-light);
}

.product-images .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-images .main-image .image-placeholder {
    width: 100%;
    height: 100%;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.gallery-thumbnail {
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all var(--transition-fast);
    background-color: var(--bg-light);
}

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

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    margin-bottom: var(--spacing-md);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stars {
    color: #FFA500;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-price {
    margin-bottom: var(--spacing-lg);
}

.product-price .current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

.product-price .original-price {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: var(--spacing-sm);
}

.product-description,
.product-benefits,
.product-variants {
    margin-bottom: var(--spacing-lg);
}

.product-description h3,
.product-benefits h3,
.product-variants h3 {
    margin-bottom: var(--spacing-sm);
}

.product-benefits ul li {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.product-benefits ul li i {
    color: var(--accent-color);
    margin-top: 4px;
}

.variant-options {
    display: flex;
    gap: var(--spacing-sm);
}

.variant-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 600;
}

.variant-btn:hover,
.variant-btn.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.product-actions {
    margin-bottom: var(--spacing-lg);
}

.amazon-note {
    margin-top: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
}

.amazon-note i {
    margin-right: var(--spacing-xs);
}

.product-highlights {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.highlight:last-child {
    margin-bottom: 0;
}

.highlight i {
    color: var(--accent-color);
}

/* Product Features Section */
.product-features-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.product-features-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-item h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-item p {
    color: var(--text-light);
}

/* Related Products */
.related-products-section {
    padding: var(--spacing-xxl) 0;
}

.related-products-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}
