/* Children's Clothing Catalog Styles - Clean Minimal Theme */

/* Discount Price Styles */
.price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.price-with-discount-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.discount-price {
    font-size: 1.2rem;
    color: var(--danger-color);
    font-weight: 700;
}

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

.discount-badge {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

/* Modal Price Styles */
.modal-price-with-discount {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.modal-original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.modal-discount-price {
    font-size: 1.5rem;
    color: var(--danger-color);
    font-weight: 700;
}

.modal-discount-badge {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Responsive adjustments for discount prices */
@media (max-width: 768px) {
    .discount-price, .current-price {
        font-size: 1.1rem;
    }
    
    .modal-discount-price {
        font-size: 1.3rem;
    }
    
    .discount-badge {
        font-size: 0.7rem;
        padding: 1px 4px;
    }
    
    .price-with-discount-inline {
        gap: 6px;
    }
    
    .original-price {
        font-size: 0.85rem;
    }
    
    .discount-price {
        font-size: 1.1rem;
    }
}

/* Children's Clothing Catalog Styles - Clean Minimal Theme */
:root {
    --primary-color: #218c74;     /* Dark Green */
    --secondary-color: #218c74;   /* Dark Green */
    --accent-color: #06b6d4;      /* Soft Cyan */
    --success-color: #10b981;     /* Soft Green */
    --warning-color: #f59e0b;     /* Soft Amber */
    --danger-color: #ef4444;      /* Soft Red */
    --light-bg: #fafafa;          /* Very Light Gray */
    --white: #ffffff;
    --text-dark: #111827;         /* Almost Black */
    --text-muted: #9ca3af;        /* Light Gray */
    --border-color: #f3f4f6;      /* Very Light Border */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-sm: 6px;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: #1dd1a1;
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-hover);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

/* Mobile Header Improvements */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .logo {
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        margin-bottom: 2px;
    }
    
    .tagline {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .search-bar {
        margin-top: 15px;
    }
    
    .search-bar .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    .btn-search {
        padding: 14px 18px;
    }
}

.logo-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.logo-link h1 {
    transition: opacity 0.2s ease;
}

.logo-link:hover h1 {
    opacity: 0.8;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.search-bar .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    padding: 12px 20px;
    font-size: 16px;
    box-shadow: none;
    background: var(--white);
}

.search-bar .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(29, 209, 161, 0.3);
    border-color: #1dd1a1;
    outline: none;
}

.btn-search {
    background: var(--primary-color);
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 12px 20px;
    color: white;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}



/* Filters Section */
.filters {
    background: white;
    padding: 5px 0 0 0;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.btn-filter-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.btn-filter-toggle:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

/* Filter Content */
.filter-content {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Mobile Filters Improvements */
@media (max-width: 768px) {
    .filters {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .filter-content {
        max-height: 0;
        opacity: 0;
        padding: 0 15px;
    }
    
    .filter-content.show {
        max-height: 500px;
        opacity: 1;
        padding: 20px 15px;
    }
    
    .filter-group {
        margin-bottom: 15px;
    }
    
    .filter-label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }
    
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
    }
}

/* Filter Actions */
.filter-actions {
    text-align: center;
    margin-top: 10px;
}

.btn-clear-filters {
    background: #218c74;
    color: white;
    border: 2px solid transparent;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.btn-clear-filters:hover {
    background: #1a7a63;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(33, 140, 116, 0.3);
}

.btn-clear-filters:active {
    transform: translateY(0);
}

.btn-clear-filters i {
    font-size: 1rem;
}

/* Desktop - Always show filters */
@media (min-width: 769px) {
    .mobile-filter-toggle {
        display: none !important;
    }
    
    .filter-content {
        padding: 0;
        max-height: none !important;
        opacity: 1 !important;
    }
    
    .filter-actions {
        text-align: left;
    }
    
    /* Desktop horizontal layout */
    .filter-content .row {
        align-items: end;
    }
    
    .filter-group {
        margin-bottom: 0;
    }
}

/* Mobile Clear Filters Button */
@media (max-width: 768px) {
    .btn-clear-filters {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

.filter-group {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
    display: block;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Products Section */
.products-section {
    padding: 30px 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

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

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-placeholder {
    width: 100%;
    height: 250px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    color: var(--text-muted);
    font-size: 3rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

/* Mobile Products Improvements */
@media (max-width: 768px) {
    .products-section {
        padding: 20px 0;
    }
    
    .product-card {
        margin-bottom: 30px;
        border-radius: 12px;
    }
    
    #productsGrid {
        row-gap: 12px;
    }
    
    .product-image {
        height: 400px;
        aspect-ratio: 1 / 1;
    }
    
    .product-placeholder {
        height: 400px;
        font-size: 2rem;
        aspect-ratio: 1 / 1;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .btn-view-details {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

.product-category .badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 15px;
}

.btn-view-details {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.btn-view-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Load More Button */
.btn-load-more {
    background: var(--white);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* No Products */
.no-products-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Modal Styles */
.modal-content {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.modal-header {
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-header .btn-close {
    filter: none;
}

.product-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.product-image-container img {
    max-height: 600px;
    width: 100%;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

/* Mobile Modal Improvements */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 16px 20px;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-title {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .product-image-container {
        margin-bottom: 16px;
    }
    
    .product-image-container img {
        max-height: 500px;
        width: 100%;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .product-details {
        text-align: left;
    }
    
    .product-category .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .product-details h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .product-price .price {
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    .whatsapp-section {
        margin-top: 16px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .whatsapp-section .form-label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 12px;
    }
    
    .btn-success {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
        width: 100%;
    }
    
    .payment-observation {
        margin-top: 16px;
        padding: 12px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
    }
}

.product-details .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
}

.price-display .price-note {
    font-style: italic;
}

/* Payment Observation Styles */
.payment-observation {
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    color: #0066cc;
    font-size: 0.9rem;
    margin-top: 1rem;
    border-radius: var(--border-radius-sm);
}

.payment-observation i {
    color: #0066cc;
}

.payment-observation strong {
    color: #004499;
}

#productsGrid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
}

.size-badge {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    color: var(--text-muted);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 40px 0 25px;
}

.footer-copyright {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.footer-love {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

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

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .search-bar {
        margin: 15px 0;
    }
    
    .btn-admin {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .filters {
        padding: 15px 0;
    }
    
    .product-image {
        height: 200px;
        aspect-ratio: 1 / 1;
    }
    
    .product-placeholder {
        height: 200px;
        font-size: 2rem;
        aspect-ratio: 1 / 1;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.3rem;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .product-details .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
    
    #productsGrid {
        row-gap: 10px;
    }
    
    .sizes-list {
        justify-content: center;
    }
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    min-width: 60px;
    justify-content: center;
}

.whatsapp-button:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 24px;
    margin-right: 10px;
}

/* WhatsApp Section in Modal */
.whatsapp-section {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

/* Size Checkboxes - Grid Layout */
.size-checkboxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
    padding: 0;
}

.size-checkbox-item {
    position: relative;
    width: 100%;
}

.size-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
}

.size-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    user-select: none;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.size-checkbox-label:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.size-checkbox-item input[type="checkbox"]:checked + .size-checkbox-label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 140, 116, 0.3);
}

.size-checkbox-item input[type="checkbox"]:checked + .size-checkbox-label:before {
    content: '✓ ';
    font-weight: bold;
    margin-right: 4px;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-button-container {
        justify-content: center;
        margin-top: 15px;
    }
    
    .btn-cart {
        width: 100%;
    }
    
    .cart-section .row {
        text-align: center;
    }
    
    .cart-section .col-md-6:first-child {
        margin-bottom: 15px;
    }
    
    .quantity-controls {
        margin: 0 auto;
    }
    
    .size-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .size-checkbox-label {
        min-height: 44px;
        padding: 10px 6px;
        font-size: 0.85rem;
    }
}

.whatsapp-text {
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Tablet Layout */
@media (max-width: 992px) and (min-width: 769px) {
    .size-checkboxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .size-checkbox-label {
        min-height: 46px;
        padding: 11px 8px;
        font-size: 0.88rem;
    }
}

/* Small Mobile Layout */
@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .search-bar .form-control {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .btn-search {
        padding: 12px 16px;
    }
    
    .filters {
        padding: 12px 0;
    }
    
    .product-card {
        margin-bottom: 25px;
        border-radius: 10px;
    }
    
    .product-image {
        height: 250px;
        aspect-ratio: 1 / 1;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .product-price {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .btn-view-details {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .size-checkboxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .size-checkbox-label {
        min-height: 40px;
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    
    .modal-dialog {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .whatsapp-section {
        padding: 12px;
        margin-top: 12px;
    }
    
    .btn-success {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Responsive behavior */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        padding: 12px;
        border-radius: 50%;
        min-width: 56px;
        height: 56px;
    }
    
    .whatsapp-button i {
        margin-right: 0;
        font-size: 28px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

.whatsapp-button {
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    animation: none;
}

/* Footer Styles */
.footer {
    background: #1dd1a1;
    color: white;
    padding: 25px 0 15px;
    margin-top: 50px;
}

/* Mobile Footer Improvements */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0 10px;
        margin-top: 30px;
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-contact .contact-item {
        font-size: 0.9rem;
        margin-bottom: 8px;
        justify-content: center;
    }
    
    .footer-copyright,
    .footer-love {
        font-size: 0.85rem;
    }
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.footer-contact .contact-item {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-love {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #218c74 0%, #1dd1a1 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1dd1a1 0%, #218c74 100%);
}

/* Stock Status Styles */
.size-badge {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.size-badge.in-stock {
    background-color: var(--success-color);
    color: white;
}

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

.size-badge.out-of-stock {
    background-color: var(--danger-color);
    color: white;
    opacity: 0.7;
}

.size-checkbox-item {
    margin: 8px 0;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease;
}

.size-checkbox-item:hover {
    background-color: var(--border-color);
}

.size-checkbox-item.unavailable {
    opacity: 0.6;
    background-color: #f9f9f9;
}

.size-checkbox-item.unavailable .size-checkbox-label {
    color: var(--text-muted);
    text-decoration: line-through;
}

.size-checkbox:disabled {
    cursor: not-allowed;
}

.size-checkbox-label {
    margin-left: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Stock Management Styles */
.stock-card {
    transition: all 0.3s ease;
}

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

.stock-low {
    border-left: 4px solid var(--warning-color);
}

.stock-out {
    border-left: 4px solid var(--danger-color);
}

.stock-ok {
    border-left: 4px solid var(--success-color);
}

.size-stock-item {
    transition: all 0.3s ease;
}

.size-stock-item:hover {
    transform: scale(1.02);
}

/* Back to Top Floating Button */
.back-to-top-float {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 999;
    animation: fadeInUp 0.3s ease;
}

.back-to-top-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.back-to-top-button:active {
    transform: translateY(-1px);
}

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

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .back-to-top-float {
        bottom: 110px;
        right: 25px;
    }
    
    .back-to-top-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
