.product_meta{display:none;}
.wp-block-image {
    text-align: center;           /* Center the image inside the figure */
    width: 100%;                  /* Let the container take full width */
    margin: 0 auto;               /* Center the figure itself */
}

.wp-block-image img {
    max-width: 100%;              /* Responsive scaling */
    height: auto;                  /* Maintain aspect ratio */
    display: inline-block;         /* Allows centering inside text-align center */
}



/* Optional: add horizontal scroll on small screens */
@media only screen and (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    table td, table th {
        white-space: normal; /* allows wrapping inside cells */
    }
}


html {
  scroll-behavior: smooth;
}

.sidebar ul li a.active {
  font-weight: bold;
  color: #007BFF;
}
/* Remove WooCommerce default float layout */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none !important;
  width: auto !important;
}
/* Cart Page - Two Column Layout */
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 40px;
  align-items: flex-start;
}
.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
}
.woocommerce-cart .cart-collaterals {
  grid-column: 2;
}


/* Checkout two-column layout fix for Blocksy + WooCommerce */
.woocommerce-checkout form.checkout {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 40px;
}

/* Left column - Billing & Shipping */
#customer_details {
    flex: 0 0 58%;
    max-width: 58%;
}

/* Right column - Order Review + Payment */
#order_review {
    flex: 0 0 40%;
    max-width: 40%;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure order table + payment fit inside */
#order_review .woocommerce-checkout-review-order-table,
#order_review #payment {
    width: 100%;
}


@media screen and (max-width: 480px) {
  /* Turn off flex and stack sections */
  .woocommerce-checkout form.checkout {
    display: block !important;
    padding: 10px;
  }

  .woocommerce .woocommerce-checkout #customer_details,
  .woocommerce .woocommerce-checkout #order_review,
  .woocommerce .woocommerce-checkout #order_review_heading {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Neutralize old float-based widths if any remain */
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  /* Make all fields full width */
  .woocommerce .woocommerce-checkout form .form-row,
  .woocommerce .woocommerce-checkout form .form-row-first,
  .woocommerce .woocommerce-checkout form .form-row-last {
    width: 100% !important;
    float: none !important;
    clear: both;
  }

  /* Payment area + sticky/overflow fixes */
  .woocommerce .woocommerce-checkout .woocommerce-checkout-payment {
    width: 100% !important;
  }
  .woocommerce .woocommerce-checkout #order_review {
    position: static !important;
    top: auto !important;
  }

  /* Spacing for the order heading */
  .woocommerce .woocommerce-checkout #order_review_heading {
    margin-top: 24px !important;
  }
}

/* (Optional) Remove any leftover custom rule that tries to lock widths */
.woocommerce-checkout #customer_details + #ship-to-different-address {
  flex: none !important;
  max-width: 100% !important;
}

#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
    width: 25px;
}


  .container_product {
    padding: 20px;
  }

  .layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .sidebar {
    position: sticky;
    top: 100px;
    flex: 0 0 250px;
    background-color: #f5fdf9;
    border: 1px solid #d9e8dd;
    border-radius: 8px;
    padding: 10px;
    height: fit-content;
  }

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

  .sidebar li {
    margin-bottom: 8px;
  }

  .sidebar a {
    display: block;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
  }

  .sidebar a:hover {
    background-color: #e0f3e8;
  }

  .sidebar a.active {
    background-color: #d9e8dd;
    font-weight: bold;
  }

  .content {
    flex: 1;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
  }

  .content section {
    margin-bottom: 40px;
  }

  .content h2 {
    margin-top: 0;
    font-size: 1.5em;
  }

  @media (max-width: 768px) {
    .layout {
      flex-direction: column;
    }

    .sidebar {
      position: relative;
      top: auto;
      width: 100%;
    }
  }






.icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 5% 0px 5% 0px;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}
.icon-box {
    text-align: center;
}
.icon-box img {
    width: 50px;
    height: auto;
}
.icon-box p {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    color: #004d30;
}
.category-layout .category-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.category-layout .category-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
   margin-top: 40px;
}

.category-layout .col-left {
    font-size: 16px;
    line-height: 1.6;
	text-align:justify;
}

.category-layout .col-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* 🔹 Responsive for tablets and mobiles */
@media (max-width: 768px) {
    .category-layout .category-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-layout .col-left {
        order: 2; /* show description below image */
        margin-top: 15px;
    }

    .category-layout .col-right {
        order: 1;
    }

    .category-layout .category-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .category-layout .category-title {
        font-size: 20px;
    }

    .category-layout .col-left {
        font-size: 15px;
        line-height: 1.5;
    }
}


.about-author-box {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.about-author-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.author-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar img {
    border-radius: 50%;
    width: 130px;
    height: auto;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.author-link {
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
}

.author-link:hover {
    text-decoration: underline;
}

/* Reset default list numbering */
.toc {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
}
.toc h3 {
  margin-top: 0;
}
.toc ol {
  list-style: decimal;
  margin-left: 20px;
  padding-left: 15px;
}
.toc li {
  margin: 5px 0;
}
.toc a {
  text-decoration: none;
  color: #00b894;
}
.toc a:hover {
  text-decoration: underline;
}

.toc ul, .toc ol {
    list-style: none;
    counter-reset: item;
    margin-left: 0;
    padding-left: 20px;
}

.toc li {
    display: block;
    margin: 4px 0;
}

/* Generate hierarchical numbering like 1.1, 1.2, 1.3 */
.toc li:before {
    content: counters(item, ".") " ";
    counter-increment: item;
    margin-right: 6px;
}

/* Contact form css */
/* ===== Contact Form 7 Styling ===== */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.wpcf7-form p {
  margin-bottom: 18px;
}

.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.wpcf7-form .required-item::after {
  content: " *";
  color: red;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.15);
  outline: none;
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  background: #0073e6;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #005bb5;
}

/* Spinner next to button */
.wpcf7-spinner {
  margin-left: 12px;
  vertical-align: middle;
}

/* Success/Error messages */
.wpcf7-response-output {
  margin-top: 15px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #e6ffed;
  border: 1px solid #34d058;
  color: #22863a;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-aborted {
  background: #fff5f5;
  border: 1px solid #e55353;
  color: #a71d2a;
}

/* Contact form css */
/* Blog Style */
/* Blog Style */
.pagination {
  margin: 30px 0px 30px 0px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}

.pagination .page-numbers.current {
  background: #333;
  color: #fff;
  border-color: #333;
}

.pagination .page-numbers:hover {
  background: #f0f0f0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
}

.blog-post-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.blog-post-box img {
  width: 100%;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

/* Blog Style */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
  line-height: 1.4em;
}

/* Table Head */
thead {
  background-color: #f5f5f5;
}

thead th {
  font-weight: 600;
  text-align: left;
  padding: 10px;
  border: 1px solid #ddd;
}

/* Table Body */
tbody td {
  padding: 10px;
  border: 1px solid #ddd;
}

/* Table Row */
tr:nth-child(even) {
  background-color: #fafafa;
}

/* Table Footer (if used) */
tfoot td {
  font-weight: bold;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px;
}



.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    color: #000;
    font-weight: 600;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    margin-bottom: 3%;
}
body {
    background-color: #fff !important;
}
.woocommerce div.product .product_title {font-size:24px;font-weight:600;
}
.post-title a {
    color: #000;       /* Customize the link color */
    font-size: 18px;      /* Set font size */
    text-decoration: none; /* Optional: remove underline */
}

.post-title a:hover {
    color: #005bb5;        /* Optional: hover color */
    text-decoration: underline; /* Optional: hover underline */
}
