/*
Theme Name: Soljus
Theme URI: http://zarrtechnologies.com
Author: Zarr Technologies
Author URI: http://zarrtechnologies.com/
Description: Soljus
Version: 1.0
*/

#contents p {
  margin-bottom: 20px;
}

#contents .page-enquiry p {
  margin-bottom: 0px;
}

.inner-pages {
  min-height: 200px;
  line-height: 1.6;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.contact-enquiry {
  /* Contact enquiry styles */
}

.contact-enquiry h1 {
  text-align: left;
}

.ce-details {
  float: left;
  width: 50%;
}

.ce-form {
  float: left;
  width: 50%;
}

/* .header-nav ul li.menu-item-has-children > a {
  pointer-events: none;
  cursor: pointer;
} */

/*or*/

/* .header-nav ul li.page_item_has_children > a {
  pointer-events: none;
  cursor: pointer;
} */

.inner-page-text img {
  max-width: 100%;
  height: auto;
}

.since1996 {
  text-align: right;
  margin-top: 10px;
}

.contact-page-sec {
  display: flex;
  gap: 30px;
}

.cps-col-sec {
  width: 50%;
}

@media (max-width: 768px) {
  .contact-page-sec {
    flex-direction: column;
  }
  .cps-col-sec {
    width: 100%;
  }
}

.wp-cat-id-30,
.wp-cat-id-31 {
  display: none;
}

.collapse{
  visibility: unset !important;
}

/* mega menu full width */

#header .header-inner {
  position: relative !important;
}

@media (max-width: 767px) {
  #header .header-inner {
    position: unset !important;
  }
}

#mega-menu-wrap-header-nav #mega-menu-header-nav > li.mega-menu-megamenu > ul.mega-sub-menu,
#mega-menu-wrap-header-nav #mega-menu-header-nav > li.mega-menu-flyout ul.mega-sub-menu
{
  top: 79px;
}

.menu-menu2-container .menu-menu2 li {
  padding: 10px 0;
}

/* wc  */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  display: none;
}

.woocommerce-Tabs-panel--description {
  display: unset !important;
}
 
.cart_item .product-thumbnail img {
  max-width: 100px;
}


.woocommerce .cart_item  .quantity .qty
{
  border: 1px solid #ccc !important;
}

.woocommerce table.shop_table td {
  border: 1px solid rgba(0, 0, 0, .1);
}

.woocommerce form .form-row label {
  color: #000;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
  border: 1px solid #ccc !important;
  padding: 10px !important;
}

.button.raq-send-request{
  background: #EC1F26 !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  border-radius: 20px !important;
  color: #fff !important;
}
.button.raq-send-request:hover {
  background: rgb(185 28 28 / var(--tw-bg-opacity, 1)) !important;
}

.select2-container .select2-selection--single {
  height: unset !important;
}

.button.wc-backward.yith-ywraq-before-table-wc-backward, .update-list-wrapper .button, .return-to-shop
{
  display: none !important;
}

.yith_ywraq_add_item_browse_message a {
  color: #EC1F26 !important;
}

.yith_ywraq_add_item_browse_message a:hover {
  color:  rgb(185 28 28 / var(--tw-bg-opacity, 1)) !important;
}

.add-request-quote-button.button
{
  background: #EC1F26 !important;
  font-weight: 600 !important;
  padding: 11px 26px !important;
  border-radius: 0 !important;
  color: #fff !important;}


  /*  */
.yith-ywraq-add-to-quote {
  display: flex !important;
  align-items: center;
}

.add-request-quote-button {
  flex: none;
}

/* .duplicate-enquiry-button {
  order: 3;
} */

.yith-ywraq-add-to-quote
{
  flex-wrap: wrap;
  place-items: flex-end;
}

  /*  */

#mega-menu-wrap-header-nav #mega-menu-header-nav > li.mega-menu-flyout ul.mega-sub-menu {
  top: 47px !important;
}


.related.products {
  width: 100%;
  float:left;
}


/* google translate  */
.goog-te-gadget-simple {
  border-radius: 10px;
}

.goog-te-gadget-simple,
.goog-te-gadget-simple span a {
  display: flex !important;
  align-items: center;
}

.woocommerce ul.products li.product a img, .woocommerce-product-gallery__image {
  border: 1px solid #cecece;
}

/* Category Page Styles */
.category-sidebar {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.category-sidebar h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.category-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-tree ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 20px;
}

.category-item {
  margin-bottom: 8px;
}

.category-link {
  display: block;
  padding: 8px 12px;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.category-link:hover {
  background-color: #EC1F26;
  color: #fff;
  text-decoration: none;
}

.current-category .category-link {
  background-color: #EC1F26;
  color: #fff;
  font-weight: 600;
}

.subcategory-tree .category-link {
  font-size: 13px;
  padding: 6px 10px;
}

.sub-subcategory-tree .category-link {
  font-size: 12px;
  padding: 4px 8px;
}

/* Category Content Styles */
.category-content {
  padding-left: 20px;
}

.category-header {
  margin-bottom: 30px;
}

.category-header h1 {
  color: #333;
  font-size: 28px;
  margin-bottom: 15px;
}

.category-description {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.product-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 15px;
}

.product-info h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.product-info h3 a {
  color: #333;
  text-decoration: none;
}

.product-info h3 a:hover {
  color: #EC1F26;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #EC1F26;
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-actions .btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.product-actions .btn-primary {
  background-color: #EC1F26;
  color: #fff;
}

.product-actions .btn-primary:hover {
  background-color: #c41e3a;
  color: #fff;
}

.product-actions .btn-secondary {
  background-color: #6c757d;
  color: #fff;
}

.product-actions .btn-secondary:hover {
  background-color: #5a6268;
  color: #fff;
}

/* Pagination Styles */
.pagination-wrapper {
  text-align: center;
  margin-top: 30px;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background-color: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
  background-color: #EC1F26;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-sidebar {
    margin-bottom: 20px;
  }
  
  .category-content {
    padding-left: 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .category-header h1 {
    font-size: 24px;
  }
}

/* Mobile Category Tree Styles */
.mobile-category-toggle {
  display: none;
  width: 100%;
  padding: 12px 16px;
  background-color: #EC1F26;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
}

.mobile-category-toggle span {
  float: right;
  transition: transform 0.3s ease;
}

.mobile-sidebar .mobile-category-toggle {
  display: block;
}

.mobile-sidebar .category-tree {
  display: none;
}

.mobile-sidebar.mobile-open .category-tree {
  display: block;
}

.mobile-sidebar.mobile-open .mobile-category-toggle span {
  transform: rotate(180deg);
}

/* Toggle functionality styles */
.toggle-category {
  float: right;
  background-color: #EC1F26;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.toggle-category:hover {
  background-color: #c41e3a;
}

/* Enhanced category tree styles */
.category-tree li {
  position: relative;
}

.category-tree li.has-children > .category-link {
  padding-right: 40px;
}

.category-tree li.has-children::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.3s ease;
}

.category-tree li.has-children.expanded::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Widget styles */
.category-widget {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.widget-title {
  color: #333;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.skiptranslate.goog-te-gadget {
  font-size: 0px;
}

.skiptranslate.goog-te-gadget a {
  display:none;
}


.skiptranslate.goog-te-gadget select {
  padding: 5px;
  border-radius: 10px;
}