/*
Theme Name: Patabd Custom
Theme URI: https://patabd.com
Author: Patabd
Description: Custom WooCommerce Theme
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: patabd
*/

:root {
    --patabd-green: #435b1f;
    --patabd-dark-green: #314315;
    --patabd-text: #242424;
    --patabd-border: #e7e7e2;
    --patabd-light: #f4f4ef;
    --patabd-container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--patabd-text);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/*
 * One shared layout container for header, homepage content, WooCommerce,
 * generic pages and footer. Desktop keeps the visually-tested 5% gutters,
 * while 1280px remains the maximum content width.
 */
.site-container {
    width: min(90%, var(--patabd-container));
    margin-inline: auto;
}

.site-main {
    min-height: 500px;
    overflow-x: clip;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.patabd-menu-open,
body.patabd-lightbox-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .site-container {
        width: 92%;
    }
}

@media (max-width: 767px) {
    .site-container {
        width: calc(100% - 32px);
    }
}

@media (max-width: 360px) {
    .site-container {
        width: calc(100% - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
