/*
Theme Name: Chittii
Template: twentytwentyone
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

.custom-logo-link img.custom-logo {
    height: auto;
    max-height: 40px;
    width: auto;
    border-radius: 5px;
}
/* h2.spices-title {
    text-transform: uppercase;
} */
/* ===== HOME PRODUCTS EDGE ALIGNMENT ===== */

.spices-section.homeProducts__link {
    padding-left: 0;
    padding-right: 0;
}
.plain-text-block .wpcf7 p {
    margin-bottom: 1rem;
}
.wpcf7 .form-control[type="file"] {
  	height: 38px;
  line-height: 1.5;
}
/* Remove row side gaps */
.spices-section.homeProducts__link .row {
    margin-left: 0;
    margin-right: 0;
}

/* Remove column padding so content touches edges */
.spices-section.homeProducts__link .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
}
.careers-card h3 {
    margin-bottom: 35px;
}
/* IMAGE COLUMN – RIGHT EDGE */
.spices-section.homeProducts__link .col-lg-6.image {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
}
.aboutpage-banner img {
    width: 100% !important;
    height: auto;
    display: block;
    max-width: unset !important;
}
/* IMAGE FULL WIDTH BUT CENTERED */
.spices-section.homeProducts__link img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    max-height: 386px;
}

/* CONTENT COLUMN – LEFT EDGE */
.spices-section.homeProducts__link .col-lg-6:last-child {
    padding-left: 40px; /* optional spacing for text */
    padding-right: 40px;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .spices-section.homeProducts__link .col-lg-6:last-child {
        padding: 20px;
        text-align: center;
    }
}
.woocommerce-shop .prodcut-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.woocommerce-shop  .prodcut-card .media img {
    margin-bottom: 20px;
    max-height: 386px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
p.showDiv.add_showDiv {
    margin-bottom: 50px;
}
/* ================= HEADER SCROLL ================= */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.is-scrolled {
    background-color: #ffffff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

/* ================= LEGACY GRID BORDERS ================= */

.legacy-section .row > div {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

/* Remove right border on every 3rd column */
.legacy-section .row > div:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border on last row (items 4–6) */
.legacy-section .row > div:nth-last-child(-n+3) {
    border-bottom: none;
}
.social .row.text-center {
    justify-content: flex-end;
}
nav.woocommerce-pagination {
    text-align: center;
}
.blog-card a, .prodcut-card a {
/*     text-transform: uppercase; */
    text-decoration: none;
}
.newsletter-content input.newsletter-input {
    padding: 16px;
}
.blog-card h5 {
    margin-top: 10px;
}
/* Box spacing */
.legacy-box {
    padding: 30px 20px;
    height: 100%;
}

h2.widgettitle {
    display: none;
}
/* Center text */
.legacy-number,
.legacy-text {
    text-align: center;
}
.page-template-contact-us section.container {
    overflow: unset;
}

.newsletter-input {
    width: 100%;
}
.contact-form input {
    width: 100%;
}
.navbar-brand {
    margin-right: auto;
}
.footer-address-row {
    width: 100%;
}
.footer-bottom.mt-4.text-center {
    width: 100%;
}

.page-template-contact-us span.wpcf7-form-control-wrap {
    width: 100%;
    display: grid;
}
/* Mobile fix */
@media (max-width: 767px) {
    .legacy-section .row > div {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .legacy-section .row > div:last-child {
        border-bottom: none;
    }
    .social .row.text-center {
	    justify-content: center;
	}
        .legacy-section h2 {
        text-align: center;
    }
    .legacy-section .row,footer .row.align-items-start {
        margin-right: unset !important;
        margin-left: unset !important;
    }
    .justify-content-center {
    justify-content: unset !important;
}
}
/* Optional: logo resize on scroll */
header.is-scrolled .navbar-brand img {
    max-height: 40px;
    transition: max-height 0.3s ease;
}

/* ================= SLIDER VISIBILITY ================= */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}

@media (max-width: 767px) {
    .desktop-slider {
        display: none;
    }
    .mobile-slider {
        display: block;
    }
}