/* 
 * Zupito Masale - Main Stylesheet
 * Scoped to .zupito-scope to match user requirement
 */

.zupito-scope {
    font-family: 'Poppins', sans-serif;
    color: #1F2937;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Base resets inside scope if needed */
.zupito-scope a {
    text-decoration: none;
    color: inherit;
}

/* Button Utilities */
.zupito-scope .btn-primary {
    background-color: #FF9933;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.zupito-scope .btn-primary:hover {
    background-color: #E68A00;
    transform: translateY(-2px);
}

/* WooCommerce Overrides (Minimal & Scoped) */
.zupito-scope .woocommerce ul.products li.product {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.zupito-scope .woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.zupito-scope .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6B4423;
    padding: 0.5rem 1rem 0;
}

.zupito-scope .woocommerce ul.products li.product .price {
    font-family: 'Poppins', sans-serif;
    color: #2D5F3F;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    padding: 0 1rem 0.5rem;
}

.zupito-scope .woocommerce ul.products li.product .button {
    background-color: #F3F4F6 !important;
    color: #1F2937 !important;
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    margin: 0 1rem;
    display: inline-block;
    transition: all 0.2s;
}

.zupito-scope .woocommerce ul.products li.product .button:hover {
    background-color: #FF9933 !important;
    color: white !important;
}

/* Navigation Menu */
.zupito-scope .menu-item {
    position: relative;
}

.zupito-scope .menu-item a {
    color: #4B5563;
    font-weight: 500;
    font-size: 0.875rem;
}

.zupito-scope .menu-item a:hover {
    color: #FF9933;
}

/* Product Card Group Hover Support (Minimal Tailwind Shim) */
.zupito-scope .group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.zupito-scope .group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.zupito-scope .group:hover .group-hover\:translate-x-0 {
    transform: translateX(0);
}

/* Tab Switcher Active States */
.zupito-scope .tab-btn.active {
    border-color: #2D5F3F;
    color: #2D5F3F;
}

/* Grid & Layout Utilities (If Tailwind is not loaded) */
.zupito-scope .grid {
    display: grid;
}

@media (min-width: 1024px) {
    .zupito-scope .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .zupito-scope .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .zupito-scope .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }

    .zupito-scope .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }

    .zupito-scope .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* WooCommerce Form Field Styling (Shadcn UI Mock) */
.zupito-scope .woocommerce form .form-row input.input-text,
.zupito-scope .woocommerce form .form-row textarea {
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background-color: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #111827;
    transition: all 0.2s;
}

.zupito-scope .woocommerce form .form-row input.input-text:focus,
.zupito-scope .woocommerce form .form-row textarea:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #2D5F3F;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2D5F3F;
}

.zupito-scope .woocommerce form .form-row label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
    display: block;
}

/* Primary Button Override for Checkout/Cart */
.zupito-scope .woocommerce #respond input#submit,
.zupito-scope .woocommerce a.button,
.zupito-scope .woocommerce button.button,
.zupito-scope .woocommerce input.button {
    background-color: #2D5F3F;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.zupito-scope .woocommerce #respond input#submit:hover,
.zupito-scope .woocommerce a.button:hover,
.zupito-scope .woocommerce button.button:hover,
.zupito-scope .woocommerce input.button:hover {
    background-color: #1e402a;
}