/*
Theme Name: Ecosoap
Theme URI: https://mygoalthemes.com/demo/ecosoap
Author: GoalTheme
Author URI: #
Description: Ecosoap is clean theme, it's used Goalthemes Framework.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: ecosoap
Tested up to: 5.4
Requires PHP: 7.0
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root {
  --btn-type-color: #000;
  --extra-font-color: #fff;
  --primary: #d9a41f;
  --primary-dark: #d9a41f;
  --primary-light: #a5a1ff;
  --secondary: #ff6584;
  --dark: #000;
  --darker: #000;
  --light: #f8f9fa;
  --lighter: #ffffff;
  --gray: #adb5bd;
  --dark-gray: #495057;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
  max-width: 100%;
  height: auto;
}
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  clear: both;
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 32px 2em;
}
.wp-block-image .alignright {
  margin-left: 2em;
}
.alignleft {
  float: left;
  margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft {
  margin-right: 2em;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
  box-sizing: border-box;
}
.bypostauthor {
  box-sizing: border-box;
}
.wp-block-pullquote {
  border: none;
}
.wp-block-categories-list.aligncenter {
  text-align: center;
}

rs-module-wrap {
  z-index: 0;
}

/* diamond page css */

.shape-section {
  margin-bottom: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.shape-section::-webkit-scrollbar {
  height: 6px;
}

.shape-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.shape-section::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.shape-section::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.shape-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  min-width: min-content;
  justify-content: center;
}

.shape-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 110px;
  min-width: 110px;
}

.shape-item:hover {
  background-color: #f5f5f5;
  transition: all 0.5s ease;
}

.shape-item.active {
  border: 1px solid #000;
}

.shape-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 8px;
  border-radius: 50%;
}

.shape-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.stone-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  justify-content: center;
}

.stone-btn {
  padding: 12px 40px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.stone-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.stone-btn:last-child {
  border-radius: 0 8px 8px 0;
  border-left: none;
}

.stone-btn.active {
  background: #000;
  color: white;
  border-color: #000;
}

.filter-row {
  display: grid;
  column-gap: 40px;
  margin-bottom: 24px;
  grid-template-columns: auto auto auto;
}

.filter-row .filter-group {
  margin-bottom: 10px;
}

.filter-label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #000;
  line-height: 1;
  font-size: 14px;
}

.range-container.budget-wrap {
  padding: 0px;
}

.range-slider {
  width: 100%;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  position: relative;
  margin: 20px 0;
}

.range-track {
  height: 100%;
  background: #000;
  border-radius: 2px;
  position: absolute;
  top: 0;
}

.slider-handle {
  width: 24px;
  height: 24px;
  background: white;
  border: 2px solid #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.slider-handle:hover {
  border-width: 3px;
}

.range-inputs {
  display: flex;
  gap: 15px;
  align-items: center;
}

.range-input {
  flex: 1;
}

.range-input label {
  font-size: 10px;
  color: #666;
  display: block;
  margin-bottom: 2px;
  line-height: 1;
}

.range-container .range-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  position: relative;
}

.range-container .range-input input {
  background: transparent;
  border: none;
  width: 85%;
  padding: 0;
}

.button-group {
  display: flex;
  gap: 0;
  border: 1px #dedede solid;
  border-radius: 8px;
  justify-content: space-around;
  height: 40px;
}

.filter-btn {
  border-width: 0;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0;
  border-right: 1px solid #dedede;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: #4b2e2e;
}

.filter-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.filter-btn:last-child {
  border-radius: 0 8px 8px 0;
  border: none;
}

.filter-btn:hover {
  border-color: #3498db;
}

.filter-btn.active {
  background: #000;
  color: white;
  border-color: #fff;
}

.filter-group .dropdown {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.color-stone-filters {
  display: none;
}

.color-stone-filters.active {
  display: block;
}

.search-btn {
  width: 100%;
  padding: 15px;
  background: #000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.search-btn:hover {
  background: #34495e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.budget-input-wrapper input {
  width: 100%;
  padding: 10px;
  padding-right: 30px;
  border: 2px solid #333;
  border-radius: 4px;
  font-size: 14px;
}

.spinner-controls {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 24px;
  border-left: 1px solid #ddd;
}

.spinner-btn {
  flex: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666;
  transition: background 0.2s;
}

.spinner-btn:hover {
  background: #f0f0f0;
}

.spinner-btn:first-child {
  border-bottom: 1px solid #ddd;
  border-radius: 0 2px 0 0;
}

.spinner-btn:last-child {
  border-radius: 0 0 2px 0;
}

.woocommerce,
.woocommerce-page {
  overflow-y: scroll !important;
}

.certificate-btn .button-group {
  gap: 10px;
  border: none;
}

.certificate-btn .button-group .filter-btn {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px;
}

.grid-inner .meta-top {
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  margin: 0 0 4px;
}

.grid-inner .meta-top .product-name,
.grid-inner .meta-top .woocommerce-Price-amount {
  color: var(--ecosoap-link-color);
  font-size: 12px;
}

.grid-inner .meta-top del .woocommerce-Price-amount {
  color: var(--ecosoap-text-color);
}

.grid-inner .meta-top .product-name {
  font-size: 14px;
  text-transform: uppercase;
}

.grid-inner .meta-top .title-sku {
  line-height: 1.2;
}

.grid-inner .meta-top .title-sku .sku {
  display: none;
}

.grid-inner .meta-top .price {
  text-align: right;
  line-height: 1.2;
}

.grid-inner .meta-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0px 0 10px;
  align-items: center;
}

.grid-inner .meta-middle .left div {
  font-size: 10px;
}

.grid-inner .meta-middle .right span {
  background: #149814;
  color: #fff;
  border-radius: 50px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
}

.product-block.grid .metas {
  padding-top: 14px;
}

.grid-inner {
  text-align: left;
}

.grid-inner .meta-specs {
  display: flex;
}

.grid-inner .meta-specs div {
  border-right: 1px solid #ccc;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding-inline: 4px;
  width: 100%;
}

.grid-inner .meta-specs div:last-child {
  border-right: none;
}

.grid-inner .meta-specs div strong,
.grid-inner .meta-specs div span {
  font-size: 12px;
}

.inquiry-btn {
  text-align: center;
  padding-top: 24px;
}

html .woocommerce .inquiry-btn a {
  height: auto;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  color: var(--extra-font-color);
  background-color: #111509 ;
  border: 1px solid var(--btn-type-color);
  border-radius: 8px;
  margin: auto;
  line-height: 1;
}

html .woocommerce .inquiry-btn a:hover {
  background-color: var(--extra-font-color);
  color: var(--btn-type-color);
}

#goal-shop-products-wrapper .product-block.grid {
  border: 1px solid #e6e6e6;
  padding: 12px;
  margin: 0 0 16px;
  border-radius: 8px;
  height: 100%;
}

#goal-shop-products-wrapper .row-products-wrapper .product {
  padding-left: 8px;
  padding-right: 8px;
}

.product-block.grid .block-inner .add-cart.inquiry-button {
  display: none;
}

body .goal-breadscrumb .wrapper-breads {
  padding: 50px 0 50px;
}

body .goal-breadscrumb {
  background-color: #000;
  background-image: none !important;
}

html .wp-singular.header_transparent .goal-header {
  position: unset;
  background-color: #000;
}

body .header-default {
  background-color: #000;
  padding-block: 10px;
}

html .wp-singular .goal-header .megamenu > li > a,
html .goal-header .megamenu > li > a {
  color: #fff;
}

html .wp-singular .goal-header.megamenu > li:hover > a,
html .wp-singular .goal-header .megamenu > li.active > a,
html .goal-header.megamenu > li:hover > a,
html .goal-header .megamenu > li.active > a {
  color: #d9a41f;
}

html .home.wp-singular.header_transparent .goal-header {
  position: absolute;
  background-color: transparent;
}

body .goal-footer-mobile {
  display: none;
}

body .goal-breadscrumb .breadcrumb .active {
  color: #d9a41f;
}

.logo-in-theme img {
  width: 100%;
  max-width: 145px;
}

.home.header_transparent .goal-header .elementor-element:not(.no-transparent) {
  border: none;
}

.elementor-widget-ecosoap_user_info,
.elementor-widget-ecosoap_woo_header {
  display: none;
}

#goal-header-mobile .flex-middle .box-left i,
.goal-offcanvas-body .btn-toggle-canvas i {
  color: #fff;
}

body .header-mobile {
  background: #000;
}

#goal-header-mobile .logo img {
  width: 90px;
}

#goal-mobile-menu .header-offcanvas {
  background: #000;
}

#goal-mobile-menu .sliding-menu__panel li a {
  color: #000;
}

#goal-mobile-menu .sliding-menu__panel li.active a {
  border-color: #d9a41f;
  color: #d9a41f;
}

body .text-theme {
  color: #fff !important;
}

#goal-mobile-menu .middle-offcanvas .my-account {
  display: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--darker), var(--dark));
  color: var(--lighter);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.footer-grid {
  /* display: grid; */
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  /* gap: 3rem; */
  margin-bottom: 3rem;
}

.footer-column {
  position: relative;
  z-index: 1;
}

.footer-column h3 {
  font-weight: 600;
  margin: 0;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: 18px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 2px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-column p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  display: inline-block;
  transition: var(--transition);
  position: relative;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -5px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary);
}

.footer-links a:hover {
  color: var(--lighter);
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

/* Contact Info */
.contact-info {
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--gray);
}

.contact-item i {
  margin-right: 0.75rem;
  color: #fff;
  font-size: 1.4rem;
  margin-top: 3px;
}

.contact-item span {
  font-size: 1.4rem;
  line-height: 1.5;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lighter);
  transition: var(--transition);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.social-link:hover::after {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* Newsletter */
.newsletter {
  margin-top: 1.5rem;
}

.newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--lighter);
  font-size: 0.95rem;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.newsletter-btn {
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  border: none;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Copyright */
.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.85rem;
}

.copyright a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column {
  animation: fadeIn 0.6s ease forwards;
}

.footer-column:nth-child(1) {
  animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
  animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
  animation-delay: 0.4s;
}

.copyright p {
  font-size: 14px;
  margin: 0;
}

.footer-logo img {
  max-width: 130px;
  margin-bottom: 24px;
}

.play-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 99;
}

.play-btn svg {
  width: 24px;
  height: 24px;
}

.goal-shop-products-wrapper .product-block .sale-perc {
  background-color: transparent;
  color: #000;
  display: none;
}

.goal-shop-products-wrapper {
  margin: 0 0 60px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    /* gap: 2rem; */
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    /* grid-template-columns: 1fr 1fr; */
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    /* grid-template-columns: 1fr; */
  }

  .footer-column h3::after {
    width: 40px;
  }
}

/* Mobile Responsive */

@media (max-width: 1024px) {
  .grid-inner .meta-specs div strong,
  .grid-inner .meta-specs div span {
    font-size: 10px;
  }
}

@media (max-width: 991px) {
  html body.body-footer-mobile {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .shape-grid {
    gap: 8px;
  }

  .shape-item {
    padding: 10px 5px;
  }

  .shape-icon {
    width: 30px;
    height: 30px;
  }

  .shape-name {
    font-size: 10px;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .stone-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .filter-btn {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .grid-inner .meta-top .product-name,
  .grid-inner .meta-top .woocommerce-Price-amount {
    font-size: 12px;
  }

  .inquiry-btn a,
  .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles))
    .inquiry-btn
    a.button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .footer-grid .col-md-4 {
    margin-bottom: 0.75rem;
  }

  .goal-shop-products-wrapper {
  margin: 0 0 30px;
}
}

@media (max-width: 576px) {
  .grid-inner .meta-middle {
    flex-direction: column;
    align-items: flex-start;
  }

  #goal-shop-products-wrapper .product-block.grid {
    padding: 6px;
  }

  .shape-item {
    max-width: 90px;
    min-width: 90px;
  }
}
