/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 0px; /* Add padding to the left and right sides */
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}









/* all button design */
.custom-button {
  display: inline-block;
  font-size: 18px; /* Default font size */
  font-weight: 549; /* Default font weight */
  color: #000000; /* Default text color */
  background-color: #A37E2D; /* Default background color */
  border: none;
  border-radius: 5px;
  text-decoration: none; /* Remove underline from link */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
  padding: 8px 25px;
}

.custom-button:hover {
  background-color: #ffffff; /* Slightly darker on hover */
  color: #7DA908; /* Change text color on hover */
  border: 2px solid #7DA908; /* Add a border on hover */
}










/* floating Cart Icon */
/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  top: 50%; /* 3/4 from the top */
  right: 25px;
  background: #7DA908; /* Nacnad green tone */
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-cart-btn:hover {
  background: #A37E2D;
  transform: scale(1.08);
}

/* Cart item count badge */
.cart-count {
  position: absolute;
  top: 8px;
  right: 6px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  padding: 5px 8px;
  min-width: 22px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}













  /* Header intro */
  .nacnad_shop_page-hero {
    background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    height: 200px;
    position: relative;
    margin-bottom: 0;
    margin-left: 50px;
    margin-right: 50px;
  }
  .nacnad_shop_page-hero-overlay {
    background: rgba(125, 169, 8, 0.6);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  }
  .nacnad_shop_page-hero-titlewrap {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }
  .nacnad_shop_page-hero-title {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .nacnad_shop_page-hero-breadcrumb {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 8px;
  }







  
/* shop */
/* Search section */
body {
  background: #f5f5f5;
}

.custom-button {
  /* Basic styling for the button to appear correctly */
  background-color: #7DA908;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 1.06rem;
  cursor: pointer;
}

.nacnad_shop_page-headerbar {
  background: #fff;
  padding: 18px 0 18px 0;
  box-shadow: 0 2px 9px 0 rgba(140,180,80,0.05);
}

.nacnad_shop_page-headerbar-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  /* --- Added code for horizontal centering --- */
  justify-content: center; 
}

.nacnad_shop_page-search {
  width: 400px; 
  font-size: 1.06rem;
  padding: 10px 14px; /* This padding dictates the height */
  border: 1px solid #e1eecb;
  border-radius: 3px;
  margin-right: 4px;
}









  /* left side panel categories */
  .nacnad_shop_page-main {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    gap: 36px;
    padding: 38px 0 38px 0;
  }
  .nacnad_shop_page-sidebar {
    width: 240px;
    min-width: 180px;
    margin-top: 8px;
  }
  .nacnad_shop_page-sidebar-block {
    margin-bottom: 34px;
  }
  .nacnad_shop_page-sidebar-title {
    font-weight: 700;
    font-size: 1.14rem;
    margin-bottom: 14px;
  }
  .nacnad_shop_page-catlist {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nacnad_shop_page-catlist li a {
    display: block; 
    padding: 6px 0;
    font-size: 1.04rem;
    cursor: pointer;
    transition: color 0.12s;
  
    
    color: #222; 
    text-decoration: none; 
  }
  
  .nacnad_shop_page-catlist li {
    padding: 0; 
    margin: 0; 
  }
  
  
  .nacnad_shop_page-catlist li a:hover {
    color: #7DA908; 
    
  }








  /* left side panel Porpular products*/
  .nacnad_shop_page-latestprod {
    margin-top: 30px;
  }
  .nacnad_shop_page-latestlist {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nacnad_shop_page-latestlist li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 9px;
  }
  .nacnad_shop_page-latestlist img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 7px;
    background: #f3f9eb;
    margin-right: 6px;
  }
  .nacnad_shop_page-prodname {
    font-size: 1.02rem;
    font-weight: 700;
    color: #222;
  }
  .nacnad_shop_page-prodprice {
    color: #1f1f1f;
    font-size: 0.97rem;
    font-weight: 500;
  }













  .nacnad_shop_page-products {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 32px;
    justify-content: flex-start;
  }
  .nacnad_shop_page-product {
    background: #f5f5f5;
    border-radius: 9px;
    padding: 24px 16px 18px 16px;
    text-align: center;
    width: 230px;
    box-shadow: 0 2px 12px 0 rgba(140,180,80,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.13s;
  }
  .nacnad_shop_page-product:hover {
    box-shadow: 0 6px 22px 0 rgba(140,180,80,0.14);
  }
  .nacnad_shop_page-product img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
  }






  .nacnad_product_link_wrapper {
    text-decoration: none !important; 
    color: #222 !important; 
    transition: color 0.2s ease-in-out; 
}

.nacnad_product_link_wrapper:hover {
    color: #7DA908 !important; 
}

.nacnad_shop_page-prodname,
.nacnad_shop_page-prodprice {
    color: inherit; 
}









  .nacnad_shop_page-pagination {
    display: flex;
    gap: 7px;
    justify-content: flex-start;
  }
  .nacnad_shop_page-pagination button {
    background: #fff;
    border: 1.5px solid #7faa26;
    color: #7faa26;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 4px 12px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
  }
  .nacnad_shop_page-pagination button:hover {
    background: #7faa26;
    color: #fff;
  }
  
  @media (max-width: 1100px) {
    .nacnad_shop_page-main,
    .nacnad_shop_page-headerbar-inner {
      max-width: 97vw;
    }
  }
  @media (max-width: 900px) {
    .nacnad_shop_page-main {
      flex-direction: column;
      gap: 22px;
      padding: 18px 0 28px 0;
    }
    .nacnad_shop_page-sidebar {
      width: 100%;
      min-width: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: flex-start;
    }
    .nacnad_shop_page-sidebar-block {
      min-width: 200px;
      margin-bottom: 0;
    }
    .nacnad_shop_page-productarea {
      width: 100%;
    }
    .nacnad_shop_page-products {
      justify-content: flex-start;
      gap: 14px;
    }
    .nacnad_shop_page-product {
      width: 44vw;
      min-width: 150px;
      max-width: 99vw;
      margin-bottom: 12px;
    }
  }
  @media (max-width: 600px) {
    .nacnad_shop_page-headerbar-inner,
    .nacnad_shop_page-main {
      flex-direction: column;
      gap: 10px;
      padding: 0 3vw;
    }
    .nacnad_shop_page-sidebar {
      flex-direction: column;
      gap: 18px;
    }
    .nacnad_shop_page-products {
      flex-direction: column;
    }
    .nacnad_shop_page-product {
      width: 94vw;
      min-width: 0;
      margin: 0 auto 10px auto;
    }
  }







/* the sort by price button on the right side */
.nacnad-store-sort {
    margin-top: 30px;
    text-align: center; /* Align the content to the right */
    margin-left: 250px; /* Add a 30px right margin */
  }
  
  .nacnad-store-sort-by {
    display: inline-block; /* Prevent form from taking full width */
  }
  
  .nacnad-store-sorting {
    padding: 8px 12px;
    border: 3px solid #A37E2D;
    border-radius: 4px;
    font-size: 16px;
  }




  /* --- Mobile Categories Dropdown Styling --- */
.mobile-categories-wrapper {
  display: none;
}

/* Only show dropdown on small screens */
@media (max-width: 768px) {
  .desktop-categories {
    display: none;
  }

  .mobile-categories-wrapper {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .mobile-categories {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    background-color: #ffffff;
    border: 2px solid #A37E2D; /* Gold accent */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(125, 169, 8, 0.15); /* Soft green shadow */
    appearance: none; /* Hide native dropdown arrow (for consistent style) */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #7DA908 50%), 
                      linear-gradient(135deg, #7DA908 50%, transparent 50%);
    background-position: calc(100% - 25px) calc(1em + 2px), calc(100% - 20px) calc(1em + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  .mobile-categories:focus {
    outline: none;
    border-color: #7DA908; /* Green focus */
    box-shadow: 0 0 0 3px rgba(125, 169, 8, 0.2);
  }

  /* Add touch-friendly spacing */
  .mobile-categories option {
    padding: 12px;
    font-size: 1rem;
  }

  /* Hide the popular products section on mobile */
  .nacnad_shop_page-latestprod {
    display: none !important;
  }
}


















/* Nacnad Store Products details */
/* on the shop/search/ product details shop, the bar on the left
the bar showing categories, concepts and inspirations */



/* categories */

.nacnad-store-products-categories-widget h4 {
    font-size: 16px; /* Adjust font size as needed */
    font-weight: 600; /* Adjust font weight (e.g., bold, 600, 700) */
    color: #A37E2D; /* Adjust text color */
    text-transform: uppercase; /* Optional: Uppercase text */
    letter-spacing: 1.5px; /* Optional: Adjust letter spacing */
    margin-bottom: 15px; /* Optional: Add space below the heading */
    /* Add any other desired font styles */
  }


.nav-item {
    list-style: none; /* Remove bullet points */
  }
  
  .nav-item .brands {
    font-size: 18px; /* Adjust size */
    font-weight: normal; /* Adjust weight */
    color: #333; /* Adjust color */
    text-decoration: none; /* Remove underlines */
    line-height: 1.6;
    display: block; /* Make the whole area clickable */
  }
  
  .nav-item .brands:hover {
    color: #7DA908; /* Hover color */
    text-decoration: underline; /* Add underline on hover */
  }


  .nav-item .categories {
    font-size: 18px; /* Adjust size */
    font-weight: normal; /* Adjust weight */
    color: #333; /* Adjust color */
    text-decoration: none; /* Remove underlines */
    line-height: 1.6;
    display: block; /* Make the whole area clickable */
  }
  
  .nav-item .categories:hover {
    color: #7DA908; /* Hover color */
    text-decoration: underline; /* Add underline on hover */
  }

body {
    margin: 0;
    padding: 10;
}

.nacnad-store-products-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.nacnad-store-products-breadcrumb nav ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

form select.nacnad-store-products-select {
    margin-left: auto; /* Align to the right */
    margin-right: 30px; /* Add 30px right margin */
}

.nacnad-store-products-breadcrumb nav ol li {
    margin-right: 10px;
}

.nacnad-store-products-shop-page {
    display: flex;
    flex-direction: column;
}

.nacnad-store-products-shop-sorting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nacnad-store-products-search-by-terms {
    text-align: right;
    margin-right: 30px;
}


.nacnad-store-products-shop-content {
    display: flex;
}

.nacnad-store-products-sidebar {
    width: 22%;
    padding-right: 20px;
}

.nacnad-store-products-price-widget h4 {
    padding-bottom: 15px; 
    font-size: 18px;
    color: #A37E2D;
    letter-spacing: 1px;

  }

.nacnad-store-products-slider-range {
    position: relative;
    height: 5px;
    background-color: #f5f5f5;
    border-radius: 3px;
    margin-bottom: 10px;
}

.nacnad-store-products-slider-range-bar {
    position: absolute;
    height: 5px;
    background-color: #A37E2D;
    border-radius: 3px;
    left: 0;
    right: 0;
}

.nacnad-store-products-slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #7DA908;
    border: 2px solid #000000;
    border-radius: 50%;
    top: -8px;
    cursor: pointer;
}

.nacnad-store-products-categories-widget h4 {
    padding-top: 15px;
    padding-bottom: px;
    font-size: 20px;
    line-height: 1.2;
  }


.nacnad-store-products-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 76%;
}























/* Nacnad Store Products designs */
/* products that appear on shop/search/product detail...etc */
.col {
    display: inline-block;
    text-align: center;
    margin: 10px;
  }
  
  .card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 10px #A37E2D;
    width: 290px;
  }
  
  .card img.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #7ea9086c;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
  }
  
  .card:hover::before {
    opacity: 1;
  }
  
  .card-body {
    padding: 15px;
    text-align: center;
    position: relative; /* Needed for z-index */
    z-index: 2; /* Set a z-index for the card body */
  }
  
  .card-title {
    font-size: 20PX;
    font-weight: 550;
    margin-bottom: 8px;
    color: #333;
  }
  
  .card-title:last-of-type {
    color: #A37E2D;
    margin-bottom: 15px;
  }
  
  .btn {
    padding: 10px 15px;
    border: 2px #000000;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
    font-size: 16px;
    font-weight: 500;
    position: relative; /* Needed for z-index */
    z-index: 3; /* Set a z-index for the buttons */
  }
  
  .btn-info {
    background-color: #A37E2D;
    color: white;
    text-decoration: none;    
  }
  
  .btn-info:hover {
    background-color: #7DA908;
    color: #000000;
  }
  
  .btn-secondary {
    background-color: #7DA908;
    color: white;
    text-decoration: none;
  }
  
  .btn-secondary:hover {
    background-color: #A37E2D;
    color: #000000;
  }



















  



/* PRODUCTS_DETAILS.PHP */
.nacnad_product_details-container {
  width: 100%;
  margin: 30px auto 0 auto;
  padding: 0 10px 44px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
}

.nacnad_product_details-toprow {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.nacnad_product_details-imgwrap {
    flex: 1.25;
    margin-left: 100px;
    max-width: 430px;
    min-width: 300px;
    height: auto; 
}

.nacnad_product_details-mainimg {
    box-sizing: border-box; 
    width: 100%;
    height: 100%; 
    padding: 10px; 
    object-fit: cover; 
    max-width: 430px; 
    border-radius: 10px;
    box-shadow: 0 8px 36px 0 rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
}

.nacnad_product_details-content {
  margin-left: 30px;
  flex: 1.1;
  margin-right: 100px;
  min-width: 270px;
  padding-top: 15px;
}

.nacnad_product_details-meta {
  color: #6d6d6d;
  font-size: 1rem;
  margin-bottom: 7px;
}

.nacnad_product_details-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.nacnad_product_details-price {
  font-size: 1.28rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.nacnad_product_details-shortdesc {
  color: #232e23;
  font-size: 1.07rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.nacnad_product_details-variations {
  margin-bottom: 15px;
}

.nacnad_product_color {
  margin-top: 40px;
  font-size: 1.28rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.nacnad_product_details-variations button {
  background: #f5f5f5;
  border: 1.2px solid #7DA908;
  color: #232e23;
  border-radius: 4px;
  font-size: 1rem;
  padding: 6px 17px;
  margin: 0 4px 7px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nacnad_product_details-variations button:hover {
  background: #ffffff;
  border-color: #A37E2D;
}

.nacnad_product_details-variations button.active {
  background: #7DA908;
  color: #fff;
  border-color: #A37E2D;
}

.nacnad_product_pieces {
  margin-top: 40px;
  font-size: 1.28rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.nacnad_product_details-cartrow {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.nacnad_product_details-qty {
  display: flex;
  align-items: center;
  border: 1.2px solid #A37E2D;
  border-radius: 4px;
  overflow: hidden;
}

.nacnad_product_details-qtybtn {
  background: #f5f5f5;
  border: none;
  font-size: 1.16rem;
  width: 32px;
  height: 36px;
  cursor: pointer;
  color: #333;
  transition: background 0.13s;
}

.nacnad_product_details-qtybtn:hover {
  background: #ffffff;
}

.nacnad_product_details-qty input {
  width: 38px;
  text-align: center;
  border: none;
  font-size: 1.09rem;
  font-weight: 600;
  background: transparent;
  height: 36px;
  outline: none;
}

.nacnad_product_details-tabs {
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  border-bottom: 1.5px solid #222;
  padding: 0 20px;
  flex-wrap: wrap;
}

.nacnad_product_details-tabs button {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  padding: 13px 12px 9px 0;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: border 0.12s, color 0.12s;
}

.nacnad_product_details-tabs button.active,
.nacnad_product_details-tabs button:hover {
  color: #7DA908;
  border-bottom: 4px solid #A37E2D;
}

.nacnad_product_details-desc {
  padding: 19px 20px;
  color: #232e23;
  font-size: 1.09rem;
  line-height: 1.6;
  border-bottom: 1.5px solid #222;
}

/* RELATED PRODUCTS TITLE */
.nacnad_product_details-related-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.8rem;
  padding: 40px 0 20px 0;
  text-transform: uppercase;
  color: #000;
}

/* ---------- MEDIA QUERIES ---------- */

/* Tablets (<=900px) */
@media (max-width: 900px) {
  .nacnad_product_details-toprow {
    flex-direction: column;
    gap: 20px;
  }

  .nacnad_product_details-imgwrap {
    margin: 0 auto;
    max-width: 90vw;
  }

  .nacnad_product_details-mainimg {
    height: auto;
    max-height: 420px;
  }

  .nacnad_product_details-content {
    margin: 0 auto;
    padding: 10px 20px;
    text-align: left;
  }

  .nacnad_product_details-title {
    font-size: 1.8rem;
  }

  .nacnad_product_details-price {
    font-size: 1.2rem;
  }
}

/* Phones (<=600px) */
@media (max-width: 600px) {
  .nacnad_product_details-container {
    padding: 10px;
  }

  .nacnad_product_details-toprow {
    gap: 10px;
  }

  .nacnad_product_details-mainimg {
    width: 100%;
    border-radius: 8px;
  }

  .nacnad_product_details-content {
    padding: 5px;
  }

  .nacnad_product_details-title {
    font-size: 1.6rem;
  }

  .nacnad_product_details-shortdesc {
    font-size: 1rem;
  }

  .nacnad_product_details-cartrow {
    flex-direction: column;
    gap: 10px;
  }

  .custom-button {
    width: 100%;
    text-align: center;
  }

  .nacnad_product_details-tabs {
    justify-content: center;
    padding: 0 10px;
  }

  .nacnad_product_details-desc {
    font-size: 1rem;
  }
}

/* Small Phones (<=400px) */
@media (max-width: 400px) {
  .nacnad_product_details-title {
    font-size: 1.4rem;
  }

  .nacnad_product_details-shortdesc {
    font-size: 0.95rem;
  }

  .nacnad_product_color,
  .nacnad_product_pieces {
    font-size: 1.05rem;
  }

  .nacnad_product_details-mainimg {
    max-height: 340px;
  }

  .nacnad_product_details-variations button {
    padding: 5px 10px;
    font-size: 0.9rem;
  }
}








