/* ==========================================================================
   ARTECMA MEXICO - THEME STYLES
   ========================================================================== */

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1480px !important;
  }
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

@media (min-width: 768px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

:root {
    --color-primary-green: #95c11f;
    --color-primary-green-dark: #7AC943;
    --color-orange: #f28c28;
    --color-orange-dark: #F2910B;
    --color-dark: #212529;
    --color-light: #f8f9fa;
    --font-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
}

/* Utilities */
.fw-black { font-weight: 900 !important; }
.fs-7 { font-size: 0.85rem !important; }

.text-primary-green { color: var(--color-primary-green) !important; }
.text-green { color: var(--color-primary-green) !important; }
.text-orange { color: var(--color-orange) !important; }
.bg-green { background-color: var(--color-primary-green) !important; }
.bg-orange { background-color: var(--color-orange) !important; }

.bg-green-light { background-color: rgba(149, 193, 31, 0.1) !important; }
.bg-orange-light { background-color: rgba(242, 140, 40, 0.1) !important; }

.hover-green:hover { color: var(--color-primary-green) !important; }
.hover-orange:hover { color: var(--color-orange) !important; }

.z-index-1 { z-index: 1; }
.max-w-500 { max-width: 500px; width: 100%; }

/* Buttons */
.btn-orange {
    background-color: var(--color-orange);
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-orange:hover, .btn-orange:focus {
    background-color: var(--color-orange-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 140, 40, 0.3);
}

.btn-green {
    background-color: var(--color-primary-green);
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-green:hover, .btn-green:focus {
    background-color: var(--color-primary-green-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-green {
    color: var(--color-primary-green);
    border: 2px solid var(--color-primary-green);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-green:hover {
    background-color: var(--color-primary-green);
    color: white;
}

/* Marquee */
.marquee_content {
    display: flex;
    list-style: none;
    animation: scrolling 25s linear infinite;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}
.marquee_item {
    flex-shrink: 0;
}
@keyframes scrolling {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Navbar */
.cart-badge {
    font-size: 0.6rem;
    padding: 0.25em 0.5em;
}
.search-form input:focus {
    box-shadow: 0 0 0 0.25rem rgba(149, 193, 31, 0.25);
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Features */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}

/* Categories */
.category-card {
    height: 300px;
    transition: transform 0.3s ease;
}
.category-card img {
    transition: transform 0.5s ease;
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

/* Products */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.product-img-wrapper {
    height: 250px;
    overflow: hidden;
}
.product-card img {
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}
.product-action-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}
.product-card:hover .product-action-overlay {
    opacity: 1;
}
.product-action-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card:hover .product-action-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}
.product-action-overlay .btn:nth-child(1) { transition-delay: 0.1s; }
.product-action-overlay .btn:nth-child(2) { transition-delay: 0.2s; }
.product-action-overlay .btn:hover {
    background-color: var(--color-primary-green);
    color: white !important;
}
.product-action-overlay .btn:hover i {
    color: white !important;
}

.product-title {
    color: var(--color-dark);
}
.product-card .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card a {
    text-decoration: none;
}

/* Footer */
.social-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--color-primary-green) !important;
    transform: translateY(-3px);
}
.footer-links a {
    transition: color 0.3s ease;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #25d366 !important;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4) !important;
    color: white;
}
