/* ===== Reset ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    color: #333;
    font-family: Arial, sans-serif;
}

body.cart-open, 
body.modal-open {
    overflow: hidden;
}

.page-section {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
}

.page-section.active {
    display: block;
}

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media(max-width:600px){
    header {padding: 12px 4%;}
    .logo {font-size: 22px;}
}

.logo{
    font-size: 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.r8{display: flex; align-items: center; gap: 20px;}

/* ===== Cart Icon ===== */
#carticon{
    position: relative;
    display: flex;
    font-size: 28px;
    cursor: pointer;
    align-items: center;
}

#carticon .cartitemcount{
    position: absolute;
    top: -5px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #e35f26;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

#carticon .cartitemcount:empty {
    display: none;
}

/* ===== Desktop Menu ===== */
@media(min-width:769px){
    .menu ul {
        list-style: none;
        display: flex;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .menu ul li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        border-radius: 6px;
        transition: 0.2s;
    }

    .menu ul li a:hover {
        background: #f5f5f5;
        color: #ff6b35;
    }

    .menu ul li a.active {
        background: #ff6b35;
        color: #fff;
    }

    .menu ul li a i {
        font-size: 20px;
        color: #ff6b35;
    }

    .menu ul li a.active i {
        color: #fff;
    }
}

/* ===== Hamburger Menu ===== */
.hamburger-menu{
    display: none;
    position: relative;
}

.menu-icon{
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.menu-icon span{
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.4s;
    border-radius: 2px;
}

#menu-toggle{display: none;}

#menu-toggle:checked + .menu-icon span:nth-child(1){
    transform: rotate(45deg) translate(5px, 6px);
}
#menu-toggle:checked + .menu-icon span:nth-child(2){
    opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3){
    transform: rotate(-45deg) translate(5px, -6px);
}

@media(max-width:768px){
    .hamburger-menu{display: block;}
    
    .menu{
        position: absolute;
        top: 55px;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border-radius: 12px;
        padding: 10px 0;
        min-width: 200px;
        z-index: 100;
        opacity: 0;
        transform: translateY(-15px);
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    #menu-toggle:checked ~ .menu{
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    
    .menu ul{
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    .menu ul li a{
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        font-size: 15px;
        color: #333;
        text-decoration: none;
        transition: 0.2s;
    }
    
    .menu ul li a:hover{
        background: #fff5f0;
        color: #ff6b35;
        padding-left: 25px;
    }
    
    .menu ul li a i{
        font-size: 18px;
        color: #ff6b35;
    }
}

/* ===== Shop Section ===== */
#shop{
    padding: 60px 3% 30px;
}

.sectiontitle{
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    margin-top: 20px;
}

.search-bar{
    margin:20px auto;
    padding:10px;
    width:90%;
    max-width:400px;
    display:block;
    border:1px solid #ccc;
    border-radius:5px;
}

.productcontent{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 30px;
}

@media (max-width: 500px){
   .productcontent{grid-template-columns: 48% 48%; gap: 15px;}
}

.productbox .imgbox{
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #d3d3d3;
    cursor: pointer;
}

.imgbox img{width: 100%; transition: 0.5s;}
.imgbox:hover img{transform: scale(1.1);}

.productbox .producttitle{
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
}

.productbox .pricecart{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.pricecart .price{
    font-size: 18px;
    font-weight: 600;
    color: #e35f26;
}

.pricecart .adcart{
    padding: 8px 12px;
    background: #e35f26;
    border-radius: 6px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.pricecart .adcart:hover{background: #c94f1f;}

/* ===== Cart Sidebar ===== */
.cart{
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 65px 20px 100px;
    z-index: 1000;
    overflow-y: auto;
    transition: 0.5s;
}

.cart.active{right: 0;}

.carttitle{
    font-size: 22px;
    font-weight: 700;
    color: #2e7d32;
    text-align: left;
    margin-bottom: 20px;
}

.cartcontent{
    max-height: 100%;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cartbox{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 12px;
}

.cartbox img{
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cartdetail{
    flex: 1;
    display: grid;
    gap: 5px;
}

.cartproducttitle{font-size: 16px; font-weight: 600;}

.cartprice{
    color: #2e7d32;
    font-weight: 700;
    font-size: 16px;
}

.cartquantity{
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
}

.cartquantity button{
    background: #f7f7f7;
    border: none;
    color: #333;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s;
}

.cartquantity button:hover{
    background: #eee;
}

.cartquantity .nmb{
    background: #fff;
    color: #111;
    width: 36px;
    height: 32px;
    text-align: center;
    font-weight: 500;
    line-height: 32px;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}
.cartremove{
    background: none;
    color: #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    margin-left: 10px;
}

/* Cart Summary Section */
.cart-summary {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.total-row {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.coupon-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
    outline: none;
}

.coupon-input:focus {
    border-color: #2e7d32;
}

.btnbuy{
    display: block;
    width: 100%;
    padding: 12px;
    background: #e35f26;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    margin: 20px 0 0;
    cursor: pointer;
    font-weight: 600;
}

.btnbuy:hover{background: #c94f1f;}

#cartclose{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}

/* ===== Checkout Modal ===== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
    box-sizing: border-box;
}

.checkout-modal.active {
    display: flex;
}

.checkout-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-checkout {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.checkout-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.checkout-box input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.checkout-box button {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
}

/* ===== Fullscreen Image Overlay ===== */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.fullscreen-content {text-align: center; max-width: 90%;}

.fullscreen-image {
    max-width: 80%;
    max-height: 70vh;
    margin-bottom: 20px;
    border-radius: 10px;
}

.fullscreen-price{font-size: 20px; color: #fff; margin-bottom: 15px;}

.fullscreen-title{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.close-button {
    background-color: #fff;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

/* ===== Footer ===== */
footer{
    background: #D8F3DC; /* Light mint green */
    color: #1b4332; /* Dark green text */
    padding: 50px 20px 20px;
    margin-top: 60px;
    font-family: 'Poppins', sans-serif;
}

footer .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

footer .col h3 {
    color: #2e7d32; /* Darker green for headings */
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
}

footer .col h3 .underline {
    width: 40px;
    height: 2px;
    background: #2e7d32;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

footer .col h3 .underline span {
    width: 15px;
    height: 100%;
    background: #ff6b35; /* Orange animated line looks better on light bg */
    position: absolute;
    left: 0;
    animation: moveLine 2s linear infinite;
}

@keyframes moveLine {
    0% { left: 0; }
    50% { left: 25px; }
    100% { left: 0; }
}

footer .col p,
footer .col li {
    color: #1b4332; /* Dark text */
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

footer .col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .col ul li a {
    color: #1b4332;
    text-decoration: none;
    transition: 0.3s;
}

footer .col ul li a:hover {
    color: #ff6b35;
    padding-left: 5px;
}

footer .logi {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 15px;
}

footer .emailid {
    color: #ff6b35;
    text-decoration: underline;
    word-break: break-all;
}

footer h4 {
    color: #1b4332;
    font-size: 16px;
    margin-top: 10px;
}

footer form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #95d5b2;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

footer form #ri {
    color: #2e7d32;
    margin-right: 10px;
    font-size: 18px;
}

footer form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #1b4332;
    font-size: 14px;
}

footer form input::placeholder {
    color: #40916c;
}

footer form button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #2e7d32;
    font-size: 20px;
}

footer .social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

footer .social #rim {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #2e7d32; /* Dark green icons */
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.3s;
    cursor: pointer;
}

footer .social #rim:hover {
    background: #ff6b35; /* Orange hover */
    color: #fff;
    transform: translateY(-3px);
}

footer hr {
    border: none;
    border-top: 1px solid #95d5b2;
    margin: 20px 0;
}

footer .copy {
    text-align: center;
    font-size: 13px;
    color: #40916c;
}
/* ===== Slider ===== */
.cont{
    width: 90%;
    max-width: 1000px;
    height: 400px;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

@media(max-width:600px){
   .cont{width: 100%; height: 240px; }
}

.slide{
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.8s;
    object-fit: cover;
}

.dots{
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.cart-summary input, 
.cart-summary textarea {
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.whatsapp-btn {
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  margin-top: 12px;
  cursor: pointer;
}

.free-delivery {
  text-align: center;
  font-size: 13px;
  margin: 10px 0;
  color: #666;
}

.dot{
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active{
  width: 20px;
  background: #fff;
  border-radius: 5px;
}