/* Print Genie - Public Catalog Styles */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #1f2937;
    --light-bg: #f9fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.catalog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    box-shadow: var(--shadow-lg);
}

.catalog-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.filter-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    min-width: 180px;
}

/* Stats Bar */
.stats-bar {
    background: var(--dark-bg);
    color: white;
    padding: 15px 0;
}

.stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--success-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Main Content */
.catalog-main {
    flex: 1;
    padding: 40px 0;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image-container {
    width: 100%;
    height: 220px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-badge.out-of-stock {
    background: var(--danger-color);
}

.product-badge.low-stock {
    background: var(--warning-color);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.product-sku {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--light-bg);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 0.75rem;
    background: var(--light-bg);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-primary);
}

.btn-share {
    background: var(--success-color);
    color: white;
}

.btn-share:hover {
    background: #059669;
}

.btn-clear {
    background: var(--danger-color);
    color: white;
    padding: 12px 20px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-facebook {
    background: #1877F2;
    color: white;
}

.btn-twitter {
    background: #1DA1F2;
    color: white;
}

.btn-email {
    background: var(--text-secondary);
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    text-decoration: none;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #e0832d 0%,#d6583c 25%,#cc1733 50%,#bc1356 75%,#ac0878 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-info:hover {
    background: #2563eb;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
}

.modal-content.modal-small {
    max-width: 500px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.modal-close:hover {
    background: #dc2626;
}

.modal-body {
    padding: 40px 30px 30px;
}

/* Product Detail Modal */
.product-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--light-bg);
}

.product-detail-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.detail-item {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
}

.detail-item label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.detail-item strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ===== Flipkart-Style Product Detail Page ===== */

/* Container Layout */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column - Image Gallery */
.product-detail-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
}

.gallery-nav-btn:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn.prev {
    left: 15px;
}

.gallery-nav-btn.next {
    right: 15px;
}

.image-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

.thumbnail-wrapper:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-wrapper.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

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

/* Order Actions */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20ba5a;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-btn:hover {
    opacity: 0.9;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Right Column - Product Info */
.product-detail-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

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

.product-category-tag {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stock-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

/* Section Title */
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Highlights Section */
.highlights-section {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
}

.highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.check-icon {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Specifications Table */
.specifications-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tbody tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 16px 20px;
}

.spec-label {
    color: var(--text-secondary);
    font-weight: 500;
    width: 40%;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
}

.spec-value code {
    background: var(--light-bg);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Description Section */
.description-section {
    line-height: 1.8;
}

.description-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Tags Section */
.tags-section {
    padding-bottom: 20px;
}

.product-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

/* Additional Info */
.additional-info {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.info-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .price-main {
        font-size: 1.75rem;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .order-actions {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px;
        box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 50;
        margin: 0 -20px -20px -20px;
        flex-direction: row;
    }

    .order-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .order-btn svg {
        width: 18px;
        height: 18px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-nav-btn.prev {
        left: 10px;
    }

    .gallery-nav-btn.next {
        right: 10px;
    }

    .thumbnail-wrapper {
        width: 60px;
        height: 60px;
    }

    .specs-table td {
        padding: 12px 16px;
    }

    .spec-label {
        font-size: 0.875rem;
    }

    .spec-value {
        font-size: 0.875rem;
    }

    .highlights-list li {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1rem;
    }
}

/* Share Modal */
.share-link-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.share-link-box input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.qr-code {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

#qrCanvas {
    margin-top: 10px;
}

/* Loading & Empty States */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Footer */
.catalog-footer {
    background: var(--dark-bg);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-top: 10px;
    opacity: 0.8;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Print Styles */
@media print {
    .filter-bar,
    .header-actions,
    .stats-bar,
    .catalog-footer {
        display: none;
    }

    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .product-card:hover {
        transform: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .catalog-header .container {
        flex-direction: column;
        text-align: center;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .filter-controls {
        flex-direction: column;
    }

    .search-box,
    .filter-select {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .stats {
        justify-content: space-around;
        gap: 20px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        padding: 30px 20px 20px;
    }

    .share-buttons {
        grid-template-columns: 1fr;
    }
}

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

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
    }
}

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

.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Modal Large Size (for How to Order) */
.modal-large {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

/* How to Order Styles */
.order-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding: 15px;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.order-steps-container {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.order-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.order-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.order-step:hover::before {
    opacity: 1;
}

.order-step .step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.order-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

.order-step .step-content {
    flex: 1;
}

.order-step .step-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

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

.order-step h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.order-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.step-visual {
    margin-top: 15px;
}

.visual-box {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

/* Mini Catalog Visual */
.mini-catalog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.mini-product {
    background: white;
    padding: 20px;
    border-radius: 8px;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mini-product:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* SKU Example Visual */
.sku-example {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.sku-label {
    font-weight: bold;
    color: var(--text-secondary);
}

.sku-code {
    font-family: 'Courier New', monospace;
    background: var(--light-bg);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
}

.screenshot-icon {
    margin-top: 10px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* Instagram Demo Visual */
.instagram-demo {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: var(--shadow-md);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--light-bg);
    border-radius: 6px;
    margin-bottom: 10px;
}

.demo-ig-btn {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.demo-ig-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.demo-arrow {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    animation: bounce 2s ease-in-out infinite;
}

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

/* DM Example Visual */
.dm-example {
    max-width: 400px;
    margin: 0 auto;
}

.dm-bubble {
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    text-align: left;
    border: 2px solid var(--border-color);
    position: relative;
}

.dm-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: white;
    border-right: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    transform: rotate(45deg);
}

.dm-bubble p {
    margin: 8px 0;
    color: var(--text-primary);
}

/* Confirmation Example */
.confirmation-example {
    text-align: center;
}

.confirm-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Payment Options */
.payment-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-badge {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Shipping Tracker */
.shipping-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.track-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.track-dot.active {
    background: var(--success-color);
    animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.2); }
}

.track-line {
    width: 30px;
    height: 3px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.track-line.active {
    background: var(--success-color);
}

.track-status {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

/* Success Celebration */
.success-celebration {
    text-align: center;
    padding: 20px;
}

.celebration-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: celebrate 1s ease-in-out infinite;
}

@keyframes celebrate {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.thank-you {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out;
}

.rating-stars {
    font-size: 1.5rem;
    animation: fadeInUp 1.2s ease-out;
}

/* Order Footer Tips */
.order-footer {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #0ea5e9;
}

.order-footer h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tips-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tips-list strong {
    color: var(--primary-color);
}

/* Responsive Design for Order Steps */
@media (max-width: 768px) {
    .order-step {
        flex-direction: column;
        gap: 15px;
    }

    .order-step .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .order-step .step-icon {
        font-size: 2rem;
    }

    .mini-catalog {
        grid-template-columns: repeat(2, 1fr);
    }

    .shipping-tracker {
        flex-wrap: wrap;
    }

    .track-line {
        width: 20px;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .header-actions .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .modal-large {
        max-width: 95%;
    }
}

/* Order Buttons Group */
.order-buttons-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-label {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1faa52;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Platform Choice Visuals */
.platform-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.platform-option {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.platform-option:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.platform-option h4 {
    margin: 10px 0 5px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.platform-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 5px 0;
}

.platform-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: var(--success-color);
    color: white;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.platform-divider {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 10px;
}

/* Trust Section */
.trust-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 2px solid #f59e0b;
}

.trust-section h3 {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.trust-badge {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: float 3s ease-in-out infinite;
}

.trust-badge h4 {
    color: var(--primary-color);
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.trust-badge p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f59e0b;
}

.testimonial p {
    color: var(--text-primary);
    font-style: italic;
    margin: 10px 0;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal !important;
    margin-top: 10px;
}

/* Product Carousel Styles */
.product-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-images img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Detail Modal Image Gallery */
.detail-image-gallery {
    width: 100%;
    margin-bottom: 30px;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image-container img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn.prev {
    left: 15px;
}

.gallery-btn.next {
    right: 15px;
}

.image-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--primary-color);
    opacity: 0.8;
}

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

/* Desktop Recommendation Banner (Mobile Only) */
.desktop-recommendation {
    display: none; /* Hidden by default, shown only on mobile */
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    padding: 12px 0;
    animation: slideDown 0.4s ease;
}

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

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

.banner-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.banner-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.banner-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: var(--text-primary);
}

.banner-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Show desktop recommendation banner */
    .desktop-recommendation {
        display: block;
    }

    /* Header */
    .catalog-header {
        padding: 20px 0;
    }

    .catalog-header .container {
        flex-direction: column;
        text-align: center;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .order-buttons-group {
        flex-direction: column;
        width: 100%;
        justify-content: center;
    }

    .order-label {
        width: 100%;
        text-align: center;
    }

    .btn-whatsapp,
    .btn-instagram {
        width: 100%;
        justify-content: center;
    }

    .header-actions > button {
        width: 100%;
    }

    /* Filter Bar */
    .filter-bar {
        padding: 15px 0;
    }

    .filter-controls {
        flex-direction: column;
        gap: 10px;
    }

    .search-box {
        min-width: 100%;
    }

    .filter-select {
        width: 100%;
        min-width: 100%;
    }

    .btn-clear {
        width: 100%;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 12px 0;
    }

    .stats {
        gap: 20px;
        justify-content: space-around;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Product Grid */
    .catalog-main {
        padding: 20px 0;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image-container {
        height: 180px;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .product-meta {
        gap: 5px;
    }

    .meta-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    /* How to Order Modal */
    .platform-choice {
        flex-direction: column;
    }

    .platform-divider {
        transform: rotate(90deg);
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .order-step {
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Banner */
    .banner-text strong {
        font-size: 0.9rem;
    }

    .banner-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Header */
    .header-content h1 {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* Banner */
    .banner-icon {
        font-size: 1.2rem;
    }

    .banner-text strong {
        font-size: 0.85rem;
    }

    .banner-text p {
        font-size: 0.75rem;
    }

    .banner-close {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-image-container {
        height: 220px;
    }

    .product-name {
        font-size: 0.95rem;
    }

    .product-description {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-price {
        font-size: 1.2rem;
    }

    /* Stats */
    .stats {
        gap: 15px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Carousel */
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .carousel-dots {
        bottom: 5px;
    }

    .carousel-dots .dot {
        width: 6px;
        height: 6px;
    }

    .carousel-dots .dot.active {
        width: 18px;
    }

    /* Gallery */
    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .gallery-btn.prev {
        left: 8px;
    }

    .gallery-btn.next {
        right: 8px;
    }

    .main-image-container img {
        height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .image-counter {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* Modal */
    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 15px;
    }

    .detail-section h3 {
        font-size: 1.1rem;
    }

    /* Trust sections */
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trust-badge {
        padding: 15px;
    }

    .trust-icon {
        font-size: 1.8rem;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    /* How to Order steps */
    .order-step {
        padding: 15px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    .order-step h3 {
        font-size: 1.1rem;
    }

    .order-step p {
        font-size: 0.9rem;
    }

    /* Footer */
    .catalog-footer {
        padding: 20px 0;
        font-size: 0.85rem;
    }
}
