@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    overflow-x: hidden;
    background-color: #f3fff2;
    margin: 0;
    padding:0;
    font-family: Montserrat, sans-serif;
    scroll-behavior: smooth;
}

.container {
    overflow-x: hidden;
    transition: transform .4s ease;
    z-index: 1;
}

/* Header */
:root {
    --primary-color: #3cb371; /* Medium Sea Green */
    --secondary-color: #f3fff2;
    --accent-color: #ff6b6b;
    --header-height: 80px;
    --text-color: #333333;
    --text-light: #666666;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 1rem;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-action-item {
    position: relative;
}

.action-button {
    color: var(--text-color) !important;
    font-size: 1.2rem;
    padding: 0.25rem !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    height: 40px;
    width: 40px;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
}

.action-button i {
    display: inline-block !important;
    font-size: 1.25rem !important;
    color: #333333 !important;
    line-height: 1;
    width: 100%;
    text-align: center;
}

.action-button:hover {
    color: var(--primary-color);
    background-color: rgba(60, 179, 113, 0.1);
}

.badge.bg-accent {
    background-color: var(--accent-color) !important;
    color: white;
    font-size: 0.65rem;
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-spacer {
    height: var(--header-height);
}

/* main content */
.site-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1430px;
    width: 100%;
    padding: 2rem 1rem;
}

/* masonry */
.masonry{
    position: relative;
}
#grid[data-columns]::before {
	content: '2 .column.size-1of2';
}
.column { float: left; }
.size-1of2 { width: 50%; }
.m-post{
    flex-grow:1;
    padding: 20px;
    position: relative;
    display: flex;
}
.m-post h1{
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    font-size: 48px;
}
.m-post-content{
    position: relative;
}
.m-post-content a{
    color: #000;
    text-decoration: none;
    transition: .3s ease-in;
}
.m-post-content a img{
    height: auto;
    max-width: 100%;
    border: 0;
}
.m-post-content .post-tag {
    transform: translateX(-100%) rotate(-90deg);
    transform-origin: top right;
    display: inline-block;
    position: absolute;
    left: -24px;
    text-transform: uppercase;
    color: rgb(53, 114, 176);
    font-weight: 600;
    font-size: 13px;
}
.m-post-content .read-more {
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
    font-size: 15px;
    color: rgb(53, 114, 176);
}
.m-post-content .read-more:hover:after{
    width: 100%;
}
.m-post-content .read-more:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 16px;
    border-bottom: 2px solid;
    transition: width .4s;
}
.m-post-content h3 {
    font-size: 22px;
}
.m-post-content.newsletter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.m-post-content.newsletter h2{
    font-weight: 400;
    margin: 0 0 10px;
    font-size: 32px;
}
.m-post-content.newsletter p{
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 32px;
}
.m-post-content.newsletter .email {
    min-width: 340px;
    height: 60px;
    /* min-width: 280px; */
    margin-right: 20px;
    font-size: 1rem;
    padding: 17px 20px;
    border: 1px solid #000;
}
.m-post-content.newsletter .button{
    padding: 0 50px;
    border: 0;
    vertical-align: top;
    color: #fff;
    font-weight: 600;
    line-height: 60px;
    border-radius: 0;
    background: #161619;
    background-image: -webkit-gradient(linear, left top, right top, from(#000000), to(#6d6d6d));
    background-image: linear-gradient(90deg, #000000, #6d6d6d);
    transition: .4s;
    cursor: pointer;
}

.m-post.one{
    margin-bottom: 200px;
}
.m-post.two{
    justify-content: flex-end;
    padding-left: 18%;
    margin-bottom: 150px;
}
.m-post.three{
    padding-right: 23%;
    margin-bottom: 150px;
}
.m-post.four{
    margin-bottom: 100px;
}
.m-post.five{
    padding-right: 15%;
    margin-bottom: 200px;
}
.m-post.six{
    padding-left: 22%;
    justify-content: flex-end;
}
.m-post.seven{
    padding-right: 20%;
}

/* Shop Page */
.shop-header{
    margin-bottom: 40px;
}

#category[data-columns]::before {
	content: '3 .column.size-1of3';
}
.column { float: left; }
.size-1of3 { width: 33.3333%; }
.product-list{
    margin: 0 -20px;
    padding: 0;
}
.product-box{
    position: relative;
    padding: 0 20px;
    margin-bottom: 40px;
}
.product-inner{
    position: relative;
    overflow: hidden;
    transition: box-shadow .4s,background-color .3s;
}
.product-thumbnail{
    display: block;
    overflow: hidden;
}
.product-summary{
    padding: 15px 0;
    transition: transform .4s;
    background: #fff;
}
.product-title{
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 10px 15px;
}
.product-price{
    margin-left: 15px;
}
.product-button{
    width: 100%;
    left: 20px;
    right: 20px;
    height: 40px;
    transition: .4s;
    margin-top: 15px;
    opacity: 0;
}
.product-button button{
    background: #161619;
    background-image: -webkit-gradient(linear, left top, right top, from(#000000), to(#6d6d6d));
    background-image: linear-gradient(90deg, #000000, #6d6d6d);
    cursor: pointer;
    color: #fff;
    width: 100%;
    border-radius: 0;
    padding: 20px 0;
    border: 0;
}
.product-box:hover .product-summary{
    top: -25px;
    z-index: 1;
}
.product-box:hover .product-inner{
    color:#161619;background-color:#fff;box-shadow:0px 8px 32px 0px rgba(0,0,0,.1);transition:box-shadow .4s;
}
.product-box:hover .product-button{
    opacity: 1;
}