* {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.text-center {
    text-align: center;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
    margin: 0 auto;
    overflow-wrap: break-word;
}

main {
    min-height: 100vh;
    margin-top: 60px;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 42px;
    color: black;
}

h3,
h4 {
    font-size: 24px;
}

h5,
h6 {
    font-size: 20px;
}

nav ul,
footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    background-color: #53b664;
    border: solid 4px #53b664;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input[type="number"]:focus {
    outline: none;
}

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

.term-group a {
    color: blue;
}

img {
    max-width: 100%;
}

.strong {
    font-weight: 500;
}

.term-group {
    padding-bottom: 18px;
}

.term-group p {
    line-height: 1.5;
}

.hero {
    background-image: url('../img/hero.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
}

.hero-text {
    padding-top: 200px;
    padding-bottom: 200px;
    padding-left: 3rem;
    padding-right: 3rem;
}

.hero-text h1 {
    color: white;
    font-weight: 900;
    margin-bottom: 8px;
}

.hero-text h2 {
    font-size: 32px;
    margin: 0;
    color: white;
    font-weight: 700;
    max-width: 600px;
}

.hero-text p {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.5;
}

.min-h-fill {
    min-height: 500px;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.slogan p {
    padding: 8px;
}

.slogan-item--header h3 {
    overflow: hidden;
    padding-top: 8px;
    padding-bottom: 8px;
}

.slogan-item--header {
    text-align: center;
}

.slogan-item {
    text-align: center;
    line-height: 1.5em;
}

.slogan-item:not(:last-child) {
    padding-bottom: 64px;
}

section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

section h2 {
    text-align: center;
    padding-bottom: 3rem;
}

.product-grid--item {
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

/* .products-grid--category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
} */

.product-grid--item:not(:last-child) {
    padding-bottom: 32px;
}

.product-grid--item img {
    /* border: 2px solid black; */
    object-fit: cover;
    min-width: 250px;
    min-height: 250px;
    width: 250px;
    height: 250px;
    transition: transform .2s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.product-grid--item img:hover {
    transform: scale(1.05);
}

.product-text h3 {
    overflow: hidden;
    padding-bottom: 16px;
}

.bg--gray {
    background-color: #e6ebe7;
}

.product h1 {
    font-size: 24px;
}

.product-image {
    display: flex;
    padding: 16px;
    justify-content: center;
}

.product-image img {
    object-fit: cover;
    height: 300px;
    width: 300px;
}

.product-stock {
    font-size: 12px;
}

.product-stock--in {
    color: green;
}

.product-stock--out {
    color: red;
}

.product-price--whole {
    font-size: 38px;
    font-weight: 500;
}

.product-code {
    font-size: 14px;
}

.product-price--packaging {
    font-size: 18px;
}

.product-ui--order_buttons button {
    font-size: 20px;
}

.product-description--value {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.product-ui--quantity {
    margin-top: 32px;
    margin-bottom: 32px;
    display: flex;
}

.product-ui--quantity__value {
    background-color: #e6ebe7;
    border: 2px solid #30793b;
    border-left: none;
    border-right: none;
    font-size: 18px;
    font-weight: 700;
}

.product-ui--quantity button {
    font-size: 18px;
}

.product-ui input {
    text-align: center;
}

.button--default {
    min-width: 48px;
    padding: 10px;
    font-weight: 700;
    background-color: rgb(0, 123, 255);
    border: solid 4px rgb(0, 123, 255);
    color: white;
}

.btn--blue {
    background-color: #30793b;
    border: solid 4px #30793b;
}

.btn--lblue {
    background-color: #30793b;
    border: solid 4px #30793b;
}

.btn--black {
    color: white;
    background-color: #30793b;
    border: solid 4px #30793b;
}

.product-ui {
    padding-top: 1rem;
}

.product-ui--order_now,
.product-ui--add_to_cart {
    padding-top: 1rem;
}

.product-ui--order_now button,
.product-ui--add_to_cart button {
    width: 100%;
}

.center {
    display: flex;
    justify-content: center;
}

footer {
    padding: 16px;
    background-color: #255d2d;
    color: #EEEEEE;
}

.footer-image {
    display: flex;
    justify-content: center;
}

.footer-sections {
    justify-content: space-evenly;
}

.footer-sections--section h4 {
    padding-bottom: 4px;
    font-size: 18px;
    color: white;
}

.footer-sections--section {
    text-align: center;
    padding-top: 30px;
}

.footer-sections--section li {
    padding-top: 8px;
    font-size: 12px;
}

.footer-copyright {
    margin-top: 16px;
    border-top: solid 1px white;
}

.footer-copyright--text {
    display: block;
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
}

.active-link a {
    font-weight: 900;
    color: #ffffff;
}

footer a,
nav a {
    color: #e6ebe7;
}

footer a:hover,
nav a:hover {
    color: #ffffff;
}

nav {
    z-index: 9999;
    background-color: #ffffff;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
    background-color: #255d2d;
}

nav img {
    display: block;
}

nav ul {
    text-align: center;
    text-transform: uppercase;
}

nav ul li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

nav ul li {
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px;
}

nav ul li:last-child {
    border-bottom: none;
}

.nav-top-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-wrapper,
.cart-wrapper {
    cursor: pointer;
    display: inline-block;
    padding: 12px;
}

.burger-wrapper {
    transition: transform .2s;
    font-weight: 900;
}

.cart-wrapper {
    transition: transform .2s;
    position: relative;
}

.cart-wrapper:hover,
.burger-wrapper:hover {
    transform: scale(1.2);
}

.cart-items-count {
    width: 60px;
    height: 30px;
    position: absolute;
    text-align: end;
    font-weight: 700;
    left: -50px;
    top: 16px;
}

.nav-links {
    display: none;
}

.burger-close-toggle {
    display: none;
}

.cart-total-price-text {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
}

.cart-total-price-price {
    font-size: 28px;
    font-weight: 700;
}

.cart-product--item--contents {
    padding-top: 16px;
    padding-bottom: 8px;
    display: flex;
}

.cart-product--item--contents img {
    object-fit: cover;
    width: 100px;
    height: 100px;
}

.cart-product--info {
    padding-left: 8px;
}

.cart-product--info h3 {
    font-size: 14px;
    font-weight: 500;
}

.cart-product--info-price {
    font-size: 22px;
    font-weight: 700;
}

.cart-product--ui {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.cart-product--ui--quantity {
    display: flex;
    flex-wrap: nowrap;
}

.cart-ui-quantity {
    width: 54px;
    text-align: center;
}

.cart-product--packaging {
    font-size: 12px;
}

.cart h1 {
    font-size: 32px;
}

.enquiry-info p,
.cart-form-info p {
    padding-top: 8px;
}

.cart-products {
    padding-top: 16px;
    padding-bottom: 16px;
}

.cart-product-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.cart-form {
    display: block;
}

.cart-form-info h2 {
    padding: 0;
}

.cart-form form {
    margin-top: 16px;
    padding: 10px;
}

.input-group {
    width: 100%;
    display: block;
    padding-bottom: 16px;
}

.input-group label {
    color: rgb(35, 39, 43);
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 4px;
    display: block;
}

.input-group input,
.input-group textarea {
    resize: none;
    box-sizing: border-box;
    border: 1px rgb(230, 230, 230) solid;
    width: 100%;
    padding: 0 8px;
    height: 40px;
}

.input-group textarea {
    height: 240px;
    padding: 8px;
    resize: none;
}

.cart-form .cart-place-order-button {
    display: block;
}

.cart-form .cart-place-order-button button {
    font-size: 20px;
    width: 100%;
}

.company-info {
    font-size: 20px;
    text-align: center;
}

.company-info a {
    color: black;
}

.company-info a:hover {
    color: rgb(46, 51, 51);
}

.logo-wrapper img {
    width: 130px;
    height: 60px;
}

.footer-image img {
    width: 360;
    height: 100px;
}

.photos-grid--item {
    padding: 16px;
}

.photos-grid img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 920px) {
    .photos-grid--item {
        padding: 0;
    }

    .photos-grid {
        padding: 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .slogan-items {
        display: flex;
        gap: 1rem;
    }

    .slogan-item {
        flex: 1;
    }

    .slogan-item:not(:last-child) {
        padding-bottom: 0;
    }

    .products-grid>div:nth-last-child(-n+3) {
        padding-bottom: 0;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-items {
        display: flex;
        justify-content: space-between;
    }

    .footer-sections {
        display: flex;
        justify-content: space-around;
    }

    .footer-sections--section {
        text-align: left;
        padding: 16px;
    }

    .footer-image {
        padding: 16px;
    }

    .product-text h3,
    .slogan-item--header h3 {
        text-wrap: nowrap;
    }

    nav ul li:first-child {
        border: none;
    }

    nav ul li {
        padding: 16px;
        border: none;
    }

    .cart-form form {
        box-shadow: none;
        border: none;
    }

    .input-group input[type="text"] {
        width: 33%;
    }

    .cart-form .cart-place-order-button button {
        font-size: 16px;
        width: 33%;
    }
}