/**
 * WooCommerce Styles
 * 
 * Custom styling for WooCommerce elements
 * @package mejifoodsnew
 */

/* ========================================
   SHOP & ARCHIVE PAGES
   ======================================== */

/* Pagination Styling */
.page-numbers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.page-numbers li {
    display: inline-block;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.page-numbers a:hover {
    background-color: #0D9488;
    border-color: #0D9488;
    transform: translateY(-2px);
}

.page-numbers span.current {
    background-color: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

@media (max-width: 768px) {
    .page-numbers {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* ========================================
   PRODUCT SINGLE PAGE
   ======================================== */

/* Price styling for product pages */
.woocommerce-Price-amount {
    color: inherit;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* ========================================
   CART PAGE - NON-INTRUSIVE STYLES
   ======================================== */

/* Only target specific cart elements that won't conflict */
.woocommerce-cart table.cart {
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce-cart .cart_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cart totals - only basic styling */
.cart_totals h2 {
    font-family: 'Gagalin-Regular', sans-serif;
    font-style: italic;
    text-transform: uppercase;
    font-weight: normal;
}

/* Shipping methods list */
.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-info {
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.3);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ========================================
   MESSAGES & NOTICES
   ======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.woocommerce-message {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
    color: white;
    border-left: 4px solid #FF6B35;
}

.woocommerce-info {
    background: rgba(13, 148, 136, 0.1);
    color: #0D9488;
    border-left: 4px solid #0D9488;
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border-left: 4px solid #EF4444;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: #FF6B35;
    text-decoration: underline;
    font-weight: 700;
}

/* ========================================
   BUTTONS - GLOBAL
   ======================================== */

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* ========================================
   FORMS
   ======================================== */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #0D9488;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.woocommerce form .form-row label {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .woocommerce button.button,
    .woocommerce a.button,
    .woocommerce input.button {
        width: 100%;
        text-align: center;
    }
}